/* ==========================================================================
   Lucie's Face Painting — main.css
   Inspired by the Firma Framer template: serif display, generous whitespace,
   horizontal scroll runway, soft cream background, vibrant playful accents.
   ========================================================================== */

/* ---------- Tokens — exact match to Firma Framer template ---------- */
:root {
  /* Palette (from Figma variables) */
  --white:        #FFFFFF;
  --grey-light:   #EEEEEE;
  --grey:         #CCCCCC;
  --grey-dark:    #777777;
  --black:        #000000;
  --red:          #FF7A6E;            /* Firma accent */

  /* Aliases used in section selectors */
  --cream:        #FFFFFF;            /* main background */
  --cream-2:      #F7F5F1;            /* subtle off-white for alt panels */
  --ink:          #000000;
  --ink-2:        #1A1A1A;
  --muted:        var(--grey-dark);
  --line:         var(--grey-light);

  /* Playful colour pops kept for the kids/face-painting subject */
  --pink:         #FF7A6E;            /* main accent — Firma's Red */
  --teal:         #2DBFAE;
  --yellow:       #F7C948;
  --lilac:        #B89BFF;
  --coral:        #FF7A59;

  /* Type — Firma uses Playfair Display + Geist + Caveat */
  --font-display: "Playfair Display", "Playfair", Georgia, serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-script:  "Caveat", "Comic Sans MS", cursive;

  /* Sizing */
  --nav-h: 76px;
  --panel-pad-x: clamp(32px, 6vw, 120px);
  --panel-pad-y: clamp(96px, 12vh, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;          /* Firma Body: 16/1.65 */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; top: -100px; left: 12px; z-index: 999;
  background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white);
  font-family: var(--font-script); font-size: 26px; line-height: 1;
  font-weight: 700;
  padding-top: 2px;
}
.nav__brand-name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--red); color: var(--white);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav__cta:hover { background: var(--ink); transform: translateY(-1px); }
.nav__cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45,191,174,.6);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,191,174,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(45,191,174,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,191,174,0); }
}

/* ---------- Horizontal runway ----------
   Body gets a tall explicit height (set in JS) so the page is "vertically scrollable",
   and the runway is pinned to the viewport. As the user scrolls down, JS translates
   the track horizontally. This gives the trackpad/wheel/space-bar a familiar feel
   while the user sees pure horizontal motion. */
.runway {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.runway__track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.panel {
  flex: 0 0 100vw;
  height: 100vh;
  padding: calc(var(--nav-h) + 64px) var(--panel-pad-x) 64px;
  position: relative;
  display: flex; flex-direction: column;
  /* `safe center` centres the content when it fits, but falls back to flex-start
     when it doesn't — so long open FAQ answers can't be clipped off the top. */
  justify-content: safe center;
  overflow: hidden;
}

.panel__index { display: none; }

/* Panel background variations — Firma-style: clean white with subtle off-whites */
.panel--hero     { background: var(--white); }
.panel--showcase { background: var(--cream-2); }
.panel--about    { background: var(--grey-light); }
.panel--themes   { background: var(--white); }
.panel--dressup  { background: var(--black); color: var(--white); }
.panel--gallery  { background: var(--cream-2); }
.panel--areas    { background: var(--white); }
.panel--faq      { background: var(--grey-light); }
.panel--book     { background: var(--red); color: var(--white); }

.panel--dressup .panel__index,
.panel--book .panel__index { color: rgba(255,255,255,.6); }
.panel--dressup .panel__index { color: rgba(255,255,255,.7); position: relative; z-index: 3; }

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.hero__text { min-width: 0; }
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
  font-weight: 500;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  color: var(--ink);
}

/* Hero media collage — tilted Polaroid-style cards */
.hero__media {
  position: relative;
  height: min(60vh, 560px);
  min-height: 420px;
}
.hero__card {
  position: absolute;
  margin: 0;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 8px 20px -8px rgba(0,0,0,.2);
  overflow: hidden;
  background-color: #f3eee8;
  transition: transform .55s var(--ease);
}
.hero__card--1 { width: 58%; aspect-ratio: 3/4; top: 0;   left: 4%;  transform: rotate(-6deg); z-index: 1; }
.hero__card--2 { width: 50%; aspect-ratio: 3/4; top: 22%; right: 0;  transform: rotate(5deg);  z-index: 2; }
.hero__card--3 { width: 42%; aspect-ratio: 3/4; bottom: 0; left: 26%; transform: rotate(-2deg); z-index: 3; }
.hero__media:hover .hero__card--1 { transform: rotate(-8deg) translate(-4px, -4px); }
.hero__media:hover .hero__card--2 { transform: rotate(7deg)  translate(4px, -4px); }
.hero__media:hover .hero__card--3 { transform: rotate(-1deg) translate(0, 4px); }

.hero__sticker {
  position: absolute;
  top: -8px; right: -2%;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-script);
  font-size: 20px; line-height: 1.05;
  font-weight: 700;
  transform: rotate(12deg);
  z-index: 5;
  box-shadow: 0 12px 30px -8px rgba(255,122,110,.6);
  animation: spinSlow 18s linear infinite;
  padding: 8px;
}
.hero__tag {
  position: absolute;
  bottom: 6%; right: -2%;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
  transform: rotate(3deg);
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero__title-italic {
  font-family: var(--font-script);        /* Caveat handwritten — Firma's signature move */
  font-style: normal;
  font-weight: 400;
  color: var(--red);
  font-size: 0.95em;                       /* Caveat runs wider than Playfair — keep ≤1em */
  letter-spacing: -0.01em;
  line-height: 0.9;
  white-space: nowrap;
}
.hero__sub {
  max-width: 640px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute; bottom: 48px; right: var(--panel-pad-x);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-script);
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--red);
  transform: rotate(-4deg);
  padding: 6px 18px;
  z-index: 6;                      /* sit above the photo collage (cards go up to 5) */
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.3);
}
.hero__scroll-hint::before,
.hero__scroll-hint::after {
  content: "✦";
  display: inline-block;
  color: var(--red);
  animation: twinkle 1.4s var(--ease) infinite;
  transform-origin: center;
}
.hero__scroll-hint::before { font-size: 18px; }
.hero__scroll-hint::after  { font-size: 12px; animation-delay: .5s; animation-duration: 1.8s; }
.hero__scroll-arrow {
  display: inline-block;
  font-size: 22px;
  color: var(--red);
  animation: nudge 1.6s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(8px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.3) rotate(45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 28px -10px rgba(255,122,110,.7);
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: skewX(-16deg);
  animation: btnShine 3.6s var(--ease) infinite;
  pointer-events: none;
  z-index: 0;
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.55);
}
@keyframes btnShine {
  0%          { left: -80%; }
  55%, 100%   { left: 140%; }
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--big { padding: 20px 30px; font-size: 17px; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.panel--dressup .btn--ghost,
.panel--book .btn--ghost { color: var(--white); border-color: var(--white); }
.panel--dressup .btn--ghost:hover,
.panel--book .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- Section title ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.italic {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--red);
  font-size: 0.95em;
  letter-spacing: -0.01em;
  line-height: 0.9;
  white-space: nowrap;
}
.panel--dressup .italic,
.panel--book .italic { color: var(--yellow); }

/* ---------- About ---------- */
.about { max-width: 1500px; width: 100%; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about__copy { min-width: 0; display: grid; gap: 40px; }
.about__photos {
  position: relative;
  height: clamp(420px, 60vh, 600px);
}
.about__photo {
  position: absolute; margin: 0;
  background-size: cover; background-position: center;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.about__photo--big   { width: 78%; aspect-ratio: 4/5; top: 0; right: 0; transform: rotate(3deg); }
.about__photo--small { width: 52%; aspect-ratio: 3/4; bottom: 0; left: 0; transform: rotate(-5deg); z-index: 2; }
.about__sticker {
  position: absolute;
  bottom: 10%; right: 4%;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-script);
  font-size: 17px; line-height: 1.05;
  font-weight: 700;
  transform: rotate(-8deg);
  z-index: 3;
  padding: 6px;
}
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.about__lead em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--red);
  font-size: 1.1em;
}
.about__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.about__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.4;
}
.about__list li span {
  font-family: var(--font-script);
  font-size: 36px;
  color: var(--red);
  line-height: 1;
}

/* ---------- Themes ---------- */
.themes { max-width: 1500px; width: 100%; }
.themes__intro {
  max-width: 600px;
  font-size: 18px; color: var(--ink-2); line-height: 1.5;
  margin: 0 0 56px;
}
.themes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.theme {
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; gap: 10px;
  justify-content: flex-end;
  min-height: 260px;
  transition: transform .35s var(--ease);
  cursor: default;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  isolation: isolate;
}
.theme::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%);
  z-index: -1;
  transition: background .35s var(--ease);
  border-radius: inherit;
}
.theme:hover { transform: translateY(-4px); }
.theme:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.8) 100%);
}
.theme:hover h3 { color: var(--red); }
.theme__num { display: none; }
.theme h3 {
  font-family: var(--font-display);
  font-weight: 500; font-style: italic;
  font-size: 28px; line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
  transition: color .35s var(--ease);
}
.theme p { font-size: 13px; color: rgba(255,255,255,.85); margin: 0; line-height: 1.4; }

/* ---------- Dress up ---------- */
.dressup {
  max-width: 1500px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.dressup__copy { min-width: 0; }
.dressup__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.1);
  z-index: 0;
  pointer-events: none;
}
.dressup__backdrop--2 {
  inset: auto -10% -10% auto;
  width: 65%; height: 80%;
  opacity: 0.35;
  mix-blend-mode: screen;
  filter: blur(1px);
  border-radius: 50% 30% 60% 40%;
}
.dressup__cards {
  position: relative;
  height: 540px;
}
.dressup__card {
  position: absolute;
  margin: 0;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7);
}
.dressup__card--1 { width: 78%; aspect-ratio: 3/4; top: 0;   right: 0;  transform: rotate(4deg); z-index: 2; }
.dressup__card--2 { width: 60%; aspect-ratio: 3/4; bottom: 0; left: 0;  transform: rotate(-6deg); z-index: 1; }
.dressup__lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
  max-width: 620px;
  margin: 0 0 36px;
  color: rgba(255,255,255, 0.88);
}
.dressup__pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.pill:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-2px); }
.pill:nth-child(3n)   { color: var(--red); border-color: rgba(255,122,110,.5); }
.pill:nth-child(3n+1) { color: var(--teal); border-color: rgba(45,191,174,.4); }

/* ---------- Gallery ---------- */
.gallery { max-width: 1600px; width: 100%; display: grid; gap: 32px; }
.gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
.gallery__head .section-title { margin: 0; }
.gallery__intro {
  font-size: 17px; color: var(--ink-2); margin: 0; max-width: 520px;
}
.gallery__intro a { color: var(--red); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__grid--bento {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 14px;
}
.gallery__grid--bento .gallery__item { margin: 0; display: flex; flex-direction: column; }
.gallery__grid--bento .gallery__item .gallery__ph { aspect-ratio: auto; height: 100%; flex: 1; min-height: 180px; }
/* Bento sizing: 6-col grid with mixed spans */
.gallery__grid--bento .gallery__item--xl { grid-column: span 3; grid-row: span 2; }
.gallery__grid--bento .gallery__item--lg { grid-column: span 3; grid-row: span 2; }
.gallery__grid--bento .gallery__item--sm { grid-column: span 2; grid-row: span 1; }

.gallery__item { margin: 0; }
.gallery__ph {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,17,15,.25);
  transition: transform .4s var(--ease);
}
.gallery__item:hover .gallery__ph { transform: scale(1.02) translateY(-4px); }
.gallery__item figcaption {
  margin-top: 10px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}

/* Gallery images */
.gallery__ph[data-ph="01"] { background-image: url('/images/01.jpg'); background-color: #FF7A6E; }
.gallery__ph[data-ph="02"] { background-image: url('/images/02.jpg'); background-color: #F7C948; }
.gallery__ph[data-ph="03"] { background-image: url('/images/03.jpg'); background-color: #B89BFF; }
.gallery__ph[data-ph="04"] { background-image: url('/images/04.jpg'); background-color: #2DBFAE; }
.gallery__ph[data-ph="05"] { background-image: url('/images/05.jpg'); background-color: #1A1A1A; }
.gallery__ph[data-ph="06"] { background-image: url('/images/06.jpg'); background-color: #FF7A6E; }
.gallery__ph[data-ph="07"] { background-image: url('/images/07.jpg'); background-color: #F7C948; }
.gallery__ph[data-ph="08"] { background-image: url('/images/08.jpg'); background-color: #2DBFAE; }

/* ---------- Areas ---------- */
.areas {
  max-width: 1500px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.areas__copy { min-width: 0; }
.areas__photos {
  position: relative;
  height: clamp(440px, 60vh, 600px);
}
.areas__photo {
  position: absolute; margin: 0;
  background-size: cover; background-position: center;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.3);
}
.areas__photo--1 { width: 60%; aspect-ratio: 3/4; top: 0;   left: 0;  transform: rotate(-4deg); z-index: 2; }
.areas__photo--2 { width: 50%; aspect-ratio: 4/5; top: 18%; right: 0; transform: rotate(5deg);  z-index: 3; }
.areas__photo--3 { width: 46%; aspect-ratio: 3/4; bottom: 0; left: 22%; transform: rotate(-2deg); z-index: 1; }
.areas__lead { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 0 0 40px; }
.areas__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.areas__columns ul { list-style: none; padding: 0; margin: 0; }
.areas__columns li {
  font-family: var(--font-display); font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 26px);
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 1500px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.faq__copy { min-width: 0; }
.faq__photos {
  position: relative;
  height: clamp(480px, 70vh, 640px);
}
.faq__photo {
  position: absolute;
  margin: 0;
  background-size: cover; background-position: center;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.3);
}
.faq__photo--1 { width: 80%; aspect-ratio: 3/4; top: 0;     left: 0;   transform: rotate(-4deg); z-index: 2; }
.faq__photo--2 { width: 60%; aspect-ratio: 3/4; bottom: 0;  right: 0;  transform: rotate(6deg);  z-index: 3; }
.faq__list { display: grid; gap: 0; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  font-size: 22px; font-family: var(--font-body); font-weight: 300;
  transition: transform .3s var(--ease);
  color: var(--red);
  line-height: 1;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__body {
  padding-top: 10px;
  max-width: 760px;
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.faq__body a { color: var(--red); border-bottom: 1px solid currentColor; }

/* ---------- Book ---------- */
.book { max-width: 1300px; width: 100%; display: flex; flex-direction: column; height: 100%; }
.book__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--white);
}
.book__lead {
  font-size: clamp(18px, 1.4vw, 22px);
  color: rgba(255,255,255,.78);
  margin: 0 0 40px;
  max-width: 640px;
}
.book__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer (lives inside book panel) ---------- */
.footer {
  margin-top: auto;
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
  gap: 32px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.footer p { margin: 4px 0; }
.footer__label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px !important;
}
.footer a { border-bottom: 1px solid rgba(255,255,255,.3); }
.footer a:hover { color: var(--yellow); border-color: var(--yellow); }
.footer__col--small { text-align: right; align-self: end; font-size: 12px; }

/* ---------- Progress bar ---------- */
.progress {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 3px; background: rgba(20,17,15,.08);
  z-index: 40;
}
.progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--coral), var(--yellow));
  transition: width .12s linear;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal-stagger].is-in > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: 0.10s; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: 0.20s; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: 0.30s; }
[data-reveal-stagger].is-in > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger].is-in > *:nth-child(8) { transition-delay: 0.40s; }

/* ---------- Showcase panel (marquee) ---------- */
.panel--showcase {
  padding-left: 0;
  padding-right: 0;
}
.showcase {
  width: 100%;
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  align-content: center;
}
.showcase__phrase {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0 0.35em;
}
.showcase__phrase .italic {
  color: var(--red);
  font-size: 1em;
}

/* ---------- Marquee (image strip, used in Showcase + Book) ---------- */
.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
  will-change: transform;
}
.marquee__track--reverse { animation-direction: reverse; animation-duration: 56s; }
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee__item {
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 280px);
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
}
.marquee--book {
  /* Full-bleed: break out of both the panel padding AND the book max-width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: calc(-1 * (var(--nav-h) + 64px));
  margin-bottom: 40px;
  flex: 0 0 auto;              /* don't let the flex column squash it */
}
.panel--book .marquee {
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.panel--book .marquee__item {
  /* size by height so images always show a full face, never a squashed slice */
  height: clamp(180px, 24vh, 260px);
  width: auto;
  aspect-ratio: 4 / 5;
  border: 4px solid rgba(255,255,255,.85);
  background-position: center 25%;   /* bias toward the face, not the chin */
}

/* ---------- Responsive ---------- */
/* Tablet: 3-col theme/gallery, looser nav */
@media (max-width: 1100px) {
  .themes__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid--bento { grid-template-columns: repeat(4, 1fr); }
  .gallery__grid--bento .gallery__item--xl,
  .gallery__grid--bento .gallery__item--lg { grid-column: span 2; }
  .gallery__grid--bento .gallery__item--sm { grid-column: span 2; }
  .gallery__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photos { height: 380px; }
  .dressup { grid-template-columns: 1fr; gap: 40px; }
  .dressup__cards { height: 360px; }
  .areas { grid-template-columns: 1fr; gap: 40px; }
  .areas__photos { height: 380px; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq__photos { height: 360px; }
  .areas__columns { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: repeat(2, 1fr); }
  .footer__col--small { text-align: left; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { height: 420px; }
}

/* Mobile: collapse to vertical scrolling, hide nav links */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --panel-pad-y: 110px; }
  .nav__links { display: none; }
  .nav__brand-name { font-size: 18px; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
  .runway { position: static; height: auto; width: 100%; overflow: visible; }
  .runway__track { flex-direction: column; height: auto; width: 100%; transform: none !important; will-change: auto; }
  .panel { flex: 0 0 auto; width: 100%; height: auto; min-height: 100vh; padding-top: calc(var(--nav-h) + 40px); }
  .panel__index { position: static; margin-bottom: 16px; }
  .themes__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid--bento { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid--bento .gallery__item--xl,
  .gallery__grid--bento .gallery__item--lg,
  .gallery__grid--bento .gallery__item--sm { grid-column: span 1; grid-row: span 1; }
  .areas__columns { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .hero__scroll-hint { display: none; }
  .hero__media { height: 360px; }
  .hero__sticker { width: 88px; height: 88px; font-size: 16px; }
  .about__photos, .areas__photos, .faq__photos, .dressup__cards { height: 320px; }
  .showcase__phrase { font-size: clamp(40px, 12vw, 80px); }
  .italic, .hero__title-italic { white-space: normal; }   /* long phrases must wrap on phones */
  .marquee__item { width: 140px; }
  .progress { display: none; }
  body { overflow-x: hidden; overflow-y: auto; }
}

@media (max-width: 480px) {
  .themes__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .btn--big { padding: 16px 22px; font-size: 15px; }
  .hero__actions, .book__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

