/* ===========================================================================
   KORAH'S BRAIDING SALON — DESIGN SYSTEM
   ---------------------------------------------------------------------------
   Shared by all five pages. Read CLAUDE.md before changing anything here.

   Palette and type follow the owner's mockup: black and plum grounds, hot
   pink accent, script for the flourishes. Components reference tokens —
   never write a raw hex value, font stack or pixel size in a component rule.

     1. Tokens          6. Services
     2. Reset           7. Gallery
     3. Primitives      8. Reviews & stats
     4. Header          9. Forms
     5. Hero           10. Footer & motion
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------------- */

:root {
  /* Grounds */
  --black:      #0B0A0C;
  --noir:       #16131A;   /* cards sitting on black */
  --plum-deep:  #1C0F26;
  --plum:       #3A1B47;
  --purple:     #5B2A6E;

  /* Accent — the mockup's hot pink */
  --pink:       #D91E7B;
  --pink-soft:  #F76FB0;
  --pink-deep:  #C81A70;   /* safe for small text on white */

  /* Light grounds */
  --white:      #FFFFFF;
  --paper:      #FDFBFD;
  --paper-alt:  #F8F3F8;

  /* Text */
  --ink:        #1A1419;
  --ink-soft:   #574C55;
  --ink-mute:   #8B7F88;
  --on-dark:    rgba(255, 255, 255, 0.78);

  --line:       rgba(26, 20, 25, 0.12);
  --line-soft:  rgba(26, 20, 25, 0.07);
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* Type */
  --script:  "Great Vibes", cursive;
  --display: "Playfair Display", Georgia, serif;
  --sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap:    1.75rem;
  --gap-lg: 3.5rem;
  --gap-xl: 6rem;

  --shell: 1240px;
  --pad:   clamp(1.25rem, 5vw, 3.5rem);
  --header-h: 82px;

  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow:    0 10px 30px rgba(26, 20, 25, 0.1);
  --shadow-lg: 0 22px 50px rgba(26, 20, 25, 0.18);
  --glow:      0 12px 30px rgba(217, 30, 123, 0.35);
}

/* ---------------------------------------------------------------------------
   2. RESET
   --------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* This site is deliberately animated, so the escape hatch has to be thorough. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------------------
   3. PRIMITIVES
   --------------------------------------------------------------------------- */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(3.5rem, 8vw, var(--gap-xl)); position: relative; }
.section--alt   { background: var(--paper-alt); }
.section--dark  { background: var(--black); color: var(--white); }
.section--plum  { background: linear-gradient(135deg, var(--plum-deep), var(--plum) 55%, var(--purple)); color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Section headers — every section opens this way. Do not invent another. */
.section__head { text-align: center; max-width: 60ch; margin: 0 auto var(--gap-lg); }
.section__head--left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 0.75rem;
}
.section--dark .eyebrow, .section--plum .eyebrow { color: var(--pink-soft); }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--pink);
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
h1.display { font-size: clamp(2.6rem, 6.5vw, 4.75rem); text-transform: uppercase; letter-spacing: 0.03em; }
h2.display { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: 0.06em; }
h3.display { font-size: clamp(1.1rem, 1.8vw, 1.35rem); text-transform: uppercase; letter-spacing: 0.1em; }

.display em { font-style: normal; color: var(--pink); }

.lede { font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--ink-soft); }
.section--dark .lede, .section--plum .lede { color: var(--on-dark); }

/* A short pink rule used under centred headings, like the mockup's divider. */
.rule { width: 64px; height: 2px; background: var(--pink); margin: var(--gap-sm) auto; position: relative; }
.rule::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; background: var(--pink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.section__head--left .rule { margin-inline: 0; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* Colour wipes in from the bottom rather than swapping flat. */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--plum);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: var(--plum); }
.btn:hover::before { transform: translateY(0); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline::before { background: var(--pink); }
.btn--outline:hover { color: var(--white); border-color: var(--pink); }

.btn--light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--ink); border-color: var(--white); box-shadow: none; }

.btn--sm  { padding: 0.68rem 1.4rem; font-size: 0.66rem; border-width: 1.5px; }
.btn--block { width: 100%; }

.btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--pink); color: var(--white); padding: 0.85rem 1.5rem;
}
.skip:focus { left: 0; }

.stars { display: inline-flex; gap: 0.1rem; color: var(--pink); }
.stars svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------------------------------------------------------------------------
   4. HEADER
   --------------------------------------------------------------------------- */

.topbar {
  background: var(--black);
  color: var(--on-dark);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  padding: 0.55rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; transition: color 0.3s var(--ease); }
.topbar a:hover { color: var(--pink-soft); }
.topbar__mid { display: flex; align-items: center; gap: 0.45rem; }
.topbar__social { display: flex; gap: 0.9rem; }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 760px) { .topbar { justify-content: center; font-size: 0.68rem; } .topbar__mid { display: none; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.4s var(--ease);
}
.header[data-scrolled] { box-shadow: 0 4px 26px rgba(26, 20, 25, 0.1); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; line-height: 1; }
.logo__png { height: 56px; width: auto; }
/* The vector monogram. Always present, so the brand shows even before the real
   logo file is added; initLogo() hides it once assets/logo.png loads. */
.logo__mark { height: 48px; width: auto; flex-shrink: 0; transition: transform 0.4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }
.logo__text { display: grid; }
.logo__name {
  font-family: var(--display);
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pink-deep);
}
.logo__sub {
  font-size: 0.48rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 0.2rem;
}

.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.85rem); }
.nav a {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding-block: 0.4rem; position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--pink);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--pink-deep); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
/* Marks the current page. Set aria-current="page" in each page's markup. */
.nav a[aria-current="page"] { color: var(--pink-deep); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav .btn { display: none; color: var(--white); }
.nav .btn:hover { color: var(--white); }

.header__cta { display: flex; align-items: center; gap: 0.7rem; }

.burger {
  display: none; width: 46px; height: 46px;
  background: none; border: none; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: var(--ink); transition: transform 0.35s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: var(--pink); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); background: var(--pink); }

@media (max-width: 1040px) {
  .burger { display: flex; }
  .header__cta .btn { display: none; }
  .nav {
    /* .header has a backdrop-filter, which makes it the containing block for
       fixed children. 100% is exactly the header's height, so the panel hangs
       off its bottom edge regardless of the topbar above. */
    position: fixed; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: var(--gap-sm) var(--pad) var(--gap);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav[data-open] { transform: translateY(0); visibility: visible; transition: transform 0.5s var(--ease), visibility 0s; }
  .nav a { font-size: 1rem; letter-spacing: 0.08em; padding-block: 1rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: var(--gap-sm); }
}

/* ---------------------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(115deg, var(--black) 0%, var(--plum-deep) 45%, var(--plum) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: min(80vh, 640px);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; text-align: center; min-height: 0; } }

.hero h1 { margin-block: 0.35rem 0.9rem; }
.hero .script { display: block; color: var(--pink); font-size: clamp(2.4rem, 6vw, 4rem); }
.hero__lede { color: var(--on-dark); max-width: 40ch; margin-bottom: var(--gap); font-size: 1.05rem; }
@media (max-width: 900px) { .hero__lede { margin-inline: auto; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 900px) { .hero__actions { justify-content: center; } }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--noir);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

/* Soft pink bloom behind the hero art */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  right: -12%; top: -18%;
  background: radial-gradient(circle, rgba(217, 30, 123, 0.32), transparent 68%);
  pointer-events: none;
}

/* Compact hero used by the inner pages */
.pagehead {
  background: linear-gradient(115deg, var(--black), var(--plum-deep) 60%, var(--plum));
  color: var(--white);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.pagehead .script { color: var(--pink-soft); }
.pagehead .lede { margin-inline: auto; max-width: 52ch; }

/* Features strip ----------------------------------------------------------- */
.features { background: var(--black); color: var(--on-dark); padding-block: var(--gap); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap-sm);
  text-align: center;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }

.feature { display: grid; justify-items: center; gap: 0.5rem; padding: 0.5rem; }
.feature svg { width: 26px; height: 26px; fill: none; stroke: var(--pink); stroke-width: 1.6; }
.feature span {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   6. SERVICES
   --------------------------------------------------------------------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: var(--gap-sm);
}

.svc-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.svc-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-alt); position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }

.svc-card__body { padding: var(--gap-sm); display: flex; flex-direction: column; gap: 0.4rem; flex: 1; text-align: center; }
.svc-card__name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.svc-card__desc { font-size: 0.85rem; color: var(--ink-mute); flex: 1; }
.svc-card__price { font-family: var(--display); font-size: 1.05rem; color: var(--pink-deep); font-weight: 600; }
.svc-card .btn { margin-top: 0.5rem; }

/* Horizontal scroller used for "Our popular services" on the home page */
.rail { position: relative; }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: var(--gap-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail__track { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(6, 1fr); overflow-x: visible; } }

.rail__btn {
  position: absolute; top: 40%; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
}
.rail__btn:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }
.rail__btn--prev { left: -14px; }
.rail__btn--next { right: -14px; }
.rail__btn svg { width: 15px; height: 15px; fill: currentColor; }
@media (min-width: 1100px) { .rail__btn { display: none; } }

/* CTA band ----------------------------------------------------------------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  padding: var(--gap);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}
.cta-band strong { display: block; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.cta-band span { color: var(--pink-soft); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   7. GALLERY
   --------------------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: var(--gap); }
.chip {
  padding: 0.5rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--pink); color: var(--white); border-color: var(--pink); box-shadow: var(--glow); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0.85rem; }

.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-alt);
  border-radius: 5px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tile[hidden] { display: none; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile:hover img { transform: scale(1.07); }

/* Shown until a real photo exists at that path — intended, not a bug. */
.tile[data-missing]::after,
.ribbon figure[data-missing]::after,
.svc-card__media[data-missing]::after,
.hero__media[data-missing]::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1.25rem;
  background: repeating-linear-gradient(45deg, var(--paper-alt) 0 12px, #EEE3EE 12px 24px);
  color: var(--ink-mute);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}

.tile__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(11, 10, 12, 0.9), transparent);
  color: var(--white);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: all 0.45s var(--ease);
}
.tile:hover .tile__caption, .tile:focus-within .tile__caption { opacity: 1; transform: none; }

.gallery__empty { grid-column: 1 / -1; padding: var(--gap-lg) 0; text-align: center; color: var(--ink-mute); }

/* ---------------------------------------------------------------------------
   8. REVIEWS, STATS, MARQUEE
   --------------------------------------------------------------------------- */

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--gap-sm); }
.review {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: var(--gap);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: var(--pink); background: rgba(217, 30, 123, 0.1); }
.review p { font-size: 0.95rem; color: var(--on-dark); flex: 1; }
.review__who { font-size: 0.8rem; color: var(--pink-soft); font-weight: 500; }

.score { display: flex; align-items: center; justify-content: center; gap: 0.85rem; flex-wrap: wrap; margin-bottom: var(--gap); }
.score__num { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1; color: var(--pink); }
.score__meta { font-size: 0.85rem; color: var(--on-dark); text-align: left; }
.score__meta .stars { display: flex; font-size: 1rem; margin-bottom: 0.15rem; }

/* About page: text beside a photo, stacked on narrow screens */
[data-about-grid] { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { [data-about-grid] { grid-template-columns: 1fr; } }

.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--gap-sm); text-align: center; }
.stat__num { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--pink); line-height: 1; }
.stat__label { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-top: 0.5rem; }

/* Marquee — the track holds the unit twice and slides exactly -50%. Each half
   must be at least as wide as the viewport; initMarquees() clones until it is. */
.marquee {
  overflow: hidden;
  background: var(--pink);
  color: var(--white);
  padding-block: 0.85rem;
  user-select: none;
}
.marquee--dark { background: var(--black); color: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-inline: 1.4rem;
  display: inline-flex; align-items: center; gap: 1.4rem;
  white-space: nowrap;
}
.marquee__group span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* Instagram photo ribbon — reuses gallery filenames, so it costs no photos. */
.ribbon { overflow: hidden; background: var(--black); padding-block: var(--gap-sm); }
.ribbon__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; gap: 0.6rem; flex-shrink: 0; padding-right: 0.6rem; }
.ribbon figure { width: clamp(140px, 17vw, 200px); aspect-ratio: 1 / 1; overflow: hidden; background: var(--noir); border-radius: 4px; position: relative; }
.ribbon img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ribbon figure:hover img { transform: scale(1.08); }
.ribbon figure[data-missing]::after {
  background: repeating-linear-gradient(45deg, var(--noir) 0 10px, #221D28 10px 20px);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.58rem;
}

/* A broken <img> still paints its alt text, which bleeds over the placeholder
   label. Hide the image itself once its holder is marked missing. */
[data-missing] img { visibility: hidden; }

/* The hero placeholder sits on a dark ground, so it gets the dark treatment. */
.hero__media[data-missing]::after {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 14px, rgba(255,255,255,0.09) 14px 28px);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

/* ---------------------------------------------------------------------------
   9. FORMS & CONTACT
   --------------------------------------------------------------------------- */

.form { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.35rem; }
.field--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 540px) { .field--pair { grid-template-columns: 1fr; } }

.field label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.field label span { color: var(--pink-deep); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(217, 30, 123, 0.15);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: 0.9rem; padding: 0.9rem 1rem; border-radius: 4px; }
.form__status[data-state="ok"]  { background: rgba(217, 30, 123, 0.1); color: var(--pink-deep); border-left: 4px solid var(--pink); }
.form__status[data-state="err"] { background: rgba(200, 26, 112, 0.08); color: var(--pink-deep); border-left: 4px solid var(--pink-deep); }
.form__status[hidden] { display: none; }

.form__fine { font-size: 0.8rem; color: var(--ink-mute); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 700px)  { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--gap-sm); }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; font-size: 0.93rem; }
.contact-list svg { width: 18px; height: 18px; fill: var(--pink); margin-top: 0.2rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.contact-list a:hover { color: var(--pink-deep); border-color: var(--pink); }

.hours { list-style: none; padding: 0; margin-top: 0.6rem; }
.hours li {
  display: flex; justify-content: space-between; gap: var(--gap-sm);
  padding: 0.5rem 0.6rem; margin-inline: -0.6rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem; border-radius: 4px;
}
.hours li[data-today] { background: var(--paper-alt); font-weight: 500; }
.hours li[data-today] span:first-child::after {
  content: "Today"; margin-left: 0.5rem;
  padding: 0.1rem 0.5rem; background: var(--pink); color: var(--white);
  border-radius: 999px; font-size: 0.52rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
}
.hours li:not([data-today]) { color: var(--ink-mute); }

.map { width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 1000px) { .map { aspect-ratio: 16 / 9; } }

.socials { display: flex; gap: 0.55rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  transition: all 0.35s var(--ease);
}
.socials a:hover { background: var(--pink); color: var(--white); border-color: var(--pink); transform: translateY(-4px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer .socials a, .section--dark .socials a { border-color: var(--line-dark); }

/* ---------------------------------------------------------------------------
   10. FOOTER & MOTION
   --------------------------------------------------------------------------- */

.footer { background: var(--black); color: var(--on-dark); padding-block: var(--gap-lg) var(--gap); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: var(--gap-lg); } }

.footer .logo__name { color: var(--pink); }
.footer .logo__sub  { color: rgba(255, 255, 255, 0.55); }
/* Footer lockup: mark sits beside the wordmark rather than above it. */
.footer__lockup { display: flex; align-items: center; gap: 0.7rem; }
.footer__lockup .logo__mark { height: 56px; }
.footer__lockup > span { display: grid; }
.footer h4 { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 0.8rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.footer a { text-decoration: none; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--pink-soft); }
.footer__blurb { font-size: 0.88rem; margin-top: 0.8rem; max-width: 32ch; }

.verse {
  text-align: center; max-width: 44ch;
  margin: var(--gap-lg) auto var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--line-dark);
}
.verse blockquote { font-style: italic; font-size: 1rem; color: rgba(255, 255, 255, 0.82); }
.verse cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); }

.footer__base {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--gap-sm);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.76rem;
}

/* Scroll reveal — --i staggers siblings */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
[data-reveal="in"] { opacity: 1; transform: none; }
