/* ---------- Tokens ---------- */
:root{
  --cream: #FBF3EF;
  --cream-2: #F5E7E1;
  --ink: #2B1620;
  --ink-soft: #5C4650;
  --berry: #7A2E4A;
  --accent: #D88C9A;   /* changes live via JS */
  --accent-ink: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px -14px rgba(43,22,32,0.35);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,svg{ max-width:100%; display:block; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a{ color: inherit; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:#fff;
  padding:10px 16px; z-index:200; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

:focus-visible{
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}

/* ---------- Type ---------- */
h1,h2,h3{
  font-family: var(--font-display);
  color: var(--berry);
  line-height: 1.05;
  margin: 0 0 0.4em;
  font-weight: 600;
}
h1{ font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 500; letter-spacing: -0.01em; }
h1 em{ font-style: italic; color: var(--accent); transition: color .35s ease; }
h2{ font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.8em;
  transition: color .35s ease;
}
.eyebrow-light{ color: var(--accent); }

.section-title{ max-width: 30ch; }
.section-title.light{ color: #fff; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.btn-ghost{
  background: transparent;
  border-color: var(--berry);
  color: var(--berry);
}
.btn-small{ padding: 10px 18px; font-size: 0.85rem; }
.btn-block{ width: 100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(251,243,239,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43,22,32,0.08);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration:none;
  color: var(--ink);
}
.logo span{ color: var(--accent); transition: color .35s ease; }

.main-nav{ display:flex; gap: 32px; }
.main-nav a{
  text-decoration:none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover{ color: var(--berry); }

.header-actions{ display:flex; align-items:center; gap: 14px; }

.nav-toggle{
  display:none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display:block; width: 100%; height: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 40px; overflow: hidden; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items:center;
}
.hero-sub{ max-width: 46ch; font-size: 1.08rem; }
.hero-hours-card{
  display:inline-block;
  min-width: min(100%, 320px);
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(122,46,74,0.08);
  border: 1px solid rgba(122,46,74,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.hero-hours-card__title{
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 8px;
}
.hero-hours-card__row{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 0.95rem;
  color: var(--ink);
  border-top: 1px solid rgba(43,22,32,0.08);
}
.hero-hours-card__row:first-of-type{ border-top: 0; }
.hero-hours-card__row span:first-child{
  font-weight: 700;
  color: var(--berry);
}
.hero-hours-card__row span:last-child{
  text-align: right;
  color: var(--ink-soft);
}
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.hero-picker{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align:center;
}
.hero-picker--welcome{
  text-align: left;
  background: linear-gradient(135deg, rgba(251,243,239,0.95), rgba(255,255,255,0.95));
}
.hero-picker--welcome h2{
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  margin-bottom: 12px;
  color: var(--ink);
}
.welcome-copy{
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
.welcome-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.welcome-list li{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(122,46,74,0.08);
  color: var(--berry);
  font-weight: 700;
}
.nail-preview{ margin: 0 auto 18px; width: 96px; }
.nail-shape{ width: 100%; }
.nail-fill{ fill: var(--accent); transition: fill .35s ease; }
.nail-shine{ fill:none; stroke: rgba(255,255,255,0.55); stroke-width: 8; stroke-linecap: round; }

.picker-label{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--berry);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

/* ---------- Marquee ---------- */
.marquee{
  border-top: 1px solid rgba(43,22,32,0.1);
  border-bottom: 1px solid rgba(43,22,32,0.1);
  overflow: hidden;
  background: var(--cream-2);
  padding: 14px 0;
}
.marquee-track{
  display:flex;
  width: max-content;
  animation: scroll-left 26s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--berry);
  white-space: nowrap;
}
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section{ padding: 96px 0; }
.section-tint{ background: var(--cream-2); }

/* ---------- Services ---------- */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.service-card:hover{ transform: translateY(-4px); }
.service-icon{
  width: 34px; height: 40px;
  fill: var(--accent);
  margin-bottom: 16px;
  transition: fill .35s ease;
}
.service-icon .dot{ fill: #fff; }
.service-card p{ font-size: 0.95rem; margin-bottom: 14px; }
.price{
  display:inline-block;
  font-weight: 800;
  color: var(--berry);
  font-size: 0.9rem;
}
.service-note{
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Gallery ---------- */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.photo-grid--placeholder{
  grid-template-columns: repeat(4, 1fr);
}
.photo-card{
  min-height: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border: 1px solid rgba(43,22,32,0.06);
}
.photo-card--nails{
  background: linear-gradient(135deg, rgba(251,243,239,0.95), rgba(255,255,255,0.98));
}
.photo-card__accent{
  width: 100%;
  height: 110px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4c5d0 0%, #e8b2c4 100%);
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.35);
}
.photo-card__accent--rose{ background: linear-gradient(135deg, #efc8c9 0%, #d9a8b0 100%); }
.photo-card__accent--berry{ background: linear-gradient(135deg, #a54768 0%, #7a2e4a 100%); }
.photo-card__accent--sage{ background: linear-gradient(135deg, #b8d0b1 0%, #8aa788 100%); }
.photo-card p{
  margin: 0;
  font-weight: 700;
  color: var(--berry);
  text-align: center;
}

/* ---------- Visit / booking ---------- */
.section-dark{
  background: var(--ink);
  color: #fff;
}
.visit-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:start;
}
.info-list{ margin: 28px 0 32px; display:grid; gap: 20px; }
.info-list dt{
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}
.info-list dd{ margin:0; color: rgba(255,255,255,0.85); line-height: 1.5; }
.info-list a{ text-decoration: underline; }

.visit-hours-card{
  display:grid;
  gap: 4px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.visit-hours-card__row{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.visit-hours-card__row span:first-child{
  font-weight: 700;
  color: var(--accent);
}
.visit-hours-card__row span:last-child{
  text-align: right;
}
.map-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.map-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,0.7); padding: 28px 0 40px; }
.footer-row{
  display:flex; align-items:center; justify-content:space-between; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.logo-footer{ color:#fff; }
.footer-row p{ margin:0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .shade-grid{ grid-template-columns: repeat(4, 1fr); }
  .review-grid{ grid-template-columns: 1fr; }
  .visit-grid{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-picker{ max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px){
  .main-nav{
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(43,22,32,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.is-open{ max-height: 300px; }
  .main-nav a{
    padding: 16px 24px;
    border-top: 1px solid rgba(43,22,32,0.06);
  }
  .nav-toggle{ display:flex; }
  .header-actions .btn-small{ display:none; }
  .service-grid{ grid-template-columns: 1fr; }
  .shade-grid{ grid-template-columns: repeat(3, 1fr); }
  .section{ padding: 64px 0; }
}
