/* ============================================================
   MANGO'S PHOTO BOOTH COMPANY — Stylesheet
   Luxury / minimalist interpretation of a playful brand.
   Brand tokens + all component styling, in one file.
   (Converted from the design handoff to a static, no-build site.)
   ============================================================ */

/* Fonts (Cormorant Garamond + Jost) are loaded via <link> in index.html <head>,
   not @import here, so they don't render-block behind this stylesheet. */

:root {
  /* ---- Core brand colors (sampled from swatch) ---- */
  --azure:        #048CFD;   /* bright booth blue — cool pop accent */
  --azure-soft:   #3FA8FF;
  --navy:         #113458;   /* deep brand navy — section grounds */
  --navy-deep:    #0B2340;
  --gold-pop:     #FFD907;   /* electric brand yellow — rare emphasis */

  /* ---- Luxury extensions ---- */
  --gold:         #C8A24A;   /* metallic luxury gold — primary accent */
  --gold-bright:  #E4C16B;
  --gold-deep:    #9C7A2E;

  /* ---- Neutrals (warm-cool near-black scale) ---- */
  --ink:          #080A0D;   /* page background */
  --ink-2:        #0E1217;   /* raised surface */
  --ink-3:        #161B22;   /* cards */
  --line:         rgba(255,255,255,0.10);
  --line-strong:  rgba(255,255,255,0.18);

  /* ---- Text ---- */
  --paper:        #F6F4EE;   /* warm off-white — primary text */
  --paper-dim:    #BFC3CA;   /* secondary text */
  --paper-faint:  #7E848E;   /* tertiary / captions */

  /* ---- Type families ---- */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, 'Segoe UI', system-ui, sans-serif;

  /* ---- Semantic type tokens (fluid) ---- */
  --display:  clamp(2.7rem, 6vw, 5.6rem);  /* hero serif */
  --h1:       clamp(2.4rem, 5vw, 4.5rem);
  --h2:       clamp(1.9rem, 3.4vw, 3.2rem);
  --h3:       clamp(1.3rem, 1.8vw, 1.7rem);
  --body:     clamp(1rem, 1.1vw, 1.125rem);
  --small:    0.8125rem;

  /* ---- Wide-tracked label (luxury nav / eyebrows) ---- */
  --track-wide:   0.42em;
  --track-mid:    0.22em;

  /* ---- Spacing rhythm ---- */
  --gut:      clamp(1.25rem, 5vw, 6rem);
  --section:  clamp(5rem, 12vh, 11rem);

  --radius:   2px;   /* near-sharp, editorial */
  --radius-lg: 4px;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);

  --marquee-dur: 44s;  /* photo-wall scroll speed (slow 64s / medium 44s / fast 28s) */
}

/* ---- Semantic type helpers ---- */
.t-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--small);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--gold);
}
.t-display { font-family: var(--serif); font-weight: 500; font-size: var(--display); line-height: 0.96; letter-spacing: -0.01em; }
.t-h1 { font-family: var(--serif); font-weight: 500; font-size: var(--h1); line-height: 1.02; }
.t-h2 { font-family: var(--serif); font-weight: 500; font-size: var(--h2); line-height: 1.05; }
.t-h3 { font-family: var(--sans);  font-weight: 500; font-size: var(--h3); letter-spacing: 0.01em; }
.t-body { font-family: var(--sans); font-weight: 300; font-size: var(--body); line-height: 1.7; color: var(--paper-dim); }
.t-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

.text-gradient-gold {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

/* Offset in-page anchor jumps so the fixed header doesn't cover section tops */
section[id], footer[id] { scroll-margin-top: 72px; }

/* ---------- SmartImg ---------- */
.simg { position: relative; overflow: hidden; background: var(--ink-3); }
.simg-fallback { position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 30% 20%, #1c2230, #0c0f15 70%);
  transition: opacity .6s ease; }
.simg-fallback.simg-ok { opacity: 0; }
.simg-img { position: relative; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.simg-img-ok { opacity: 1; transform: scale(1); }
.simg-img-err { opacity: 0; }
body.bw-gallery .simg-img { filter: grayscale(1) contrast(1.05); }

/* ---------- Gold rule ---------- */
.gold-rule { display: inline-flex; align-items: center; gap: 8px; }
.gold-rule-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.gold-rule-dot { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 0.8rem;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  padding: 1.05em 2.2em; border-radius: var(--radius); cursor: pointer;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a130a; box-shadow: 0 10px 40px -16px var(--gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 50px -16px var(--gold); }

/* Hero "View Packages" — solid gold with an animated shine sweep on hover */
.btn-packages { background: var(--gold); position: relative; overflow: hidden; }
.btn-packages::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 55%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none;
  transition: left .7s var(--ease);
}
.btn-packages:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) { .btn-packages::after { transition: none; } }

.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--section) var(--gut); position: relative; }
.sec-head { max-width: 1340px; margin: 0 auto; }
.sec-head-center { text-align: center; }
.sec-title {
  font-family: var(--serif); font-weight: 500; font-size: var(--h2);
  line-height: 1.04; margin-top: 0.5rem; letter-spacing: -0.01em;
}
.sec-head .t-eyebrow { display: block; margin-bottom: 0.4rem; }
.sec-lede { max-width: 640px; margin: 1.4rem auto 0; color: var(--paper-dim);
  font-weight: 300; font-size: var(--body); line-height: 1.7; }
.sec-head-center .sec-lede { margin-inline: auto; }

/* reveal helper for heads */
.sec-head { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.sec-head.is-shown { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.2rem var(--gut);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s ease;
  border-bottom: 1px solid transparent;
}
.hdr-solid {
  background: rgba(8,10,13,0.82); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line); padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.hdr-brand { flex: none; display: inline-flex; }
.hdr-brand img { height: 156px; width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.hdr-solid .hdr-brand img { height: 126px; }

/* nav spread across the whole width */
.hdr-nav { flex: 1; display: flex; justify-content: space-evenly; align-items: center; gap: 1rem; }
.hdr-link {
  font-size: 0.82rem; letter-spacing: var(--track-mid); text-transform: uppercase;
  font-weight: 400; color: var(--paper-dim); position: relative; padding: 0.4em 0;
  transition: color .3s ease;
}
.hdr-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.hdr-link:hover { color: var(--paper); }
.hdr-link:hover::after { width: 100%; }

.hdr-right { flex: none; display: flex; align-items: center; gap: 1.4rem; }
.hdr-tel { font-size: 0.84rem; letter-spacing: var(--track-mid); color: var(--gold); font-weight: 500; }
.hdr-cta {
  font-size: 0.78rem; letter-spacing: var(--track-mid); text-transform: uppercase; font-weight: 500;
  color: var(--paper); border: 1px solid var(--line-strong); padding: 0.85em 1.4em; border-radius: var(--radius);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.hdr-cta:hover { border-color: var(--gold); color: var(--gold); }
.hdr-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hdr-burger span { width: 24px; height: 1.5px; background: var(--paper); display: block; transition: transform .3s var(--ease), opacity .3s ease; }

.hdr-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 6s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,13,0.66) 0%, rgba(8,10,13,0.28) 35%, rgba(8,10,13,0.55) 70%, rgba(8,10,13,0.96) 100%),
    linear-gradient(90deg, rgba(8,10,13,0.7) 0%, transparent 55%);
}
.hero-grain { position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }

.hero-inner { position: relative; z-index: 2; max-width: 1340px; margin: 0 auto; width: 100%; padding-top: 4rem; }
.hero-inner > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-inner.is-in > * { opacity: 1; transform: none; }
.hero-inner.is-in .hero-eyebrow { transition-delay: .15s; }
.hero-inner.is-in .hero-title { transition-delay: .3s; }
.hero-inner.is-in .hero-sub { transition-delay: .45s; }
.hero-inner.is-in .hero-actions { transition-delay: .6s; }
.hero-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 1.04; letter-spacing: -0.015em; margin: 1.1rem 0 2rem; max-width: none;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero-title .text-gradient-gold { display: inline-block; padding-bottom: 0.08em; }
.hero-sub { max-width: 46ch; color: var(--paper-dim); font-weight: 300; font-size: var(--body);
  line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

.hero-dots { position: absolute; right: var(--gut); bottom: 2.4rem; z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 28px; height: 2px; background: rgba(255,255,255,0.28); border: none; cursor: pointer; padding: 0; transition: background .4s ease; }
.hero-dot.is-active { background: var(--gold); }
.hero-scroll { position: absolute; left: var(--gut); bottom: 2.2rem; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll .t-eyebrow { writing-mode: vertical-rl; letter-spacing: 0.3em; font-size: 0.62rem; color: var(--paper-faint); }
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }

@keyframes scrollPulse { 0%,100% { transform: scaleY(.5); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   EVENTS
   ============================================================ */
.events { background: var(--ink); }
.ev-list { max-width: 1340px; margin: 4rem auto 0; display: flex; flex-direction: column; gap: clamp(4rem, 9vh, 8rem); }
.ev-row { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ev-flip { direction: rtl; }
.ev-flip > * { direction: ltr; }
.ev-media { position: relative; opacity: 0; transform: translateX(-50px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.ev-flip .ev-media { transform: translateX(50px); }
.ev-row.is-shown .ev-media { opacity: 1; transform: none; }
.ev-img { aspect-ratio: 4/5; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.ev-num { position: absolute; top: -1.4rem; left: -1rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 6vw, 5.5rem);
  color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: 0.5; }
.ev-flip .ev-num { left: auto; right: -1rem; }
.ev-text { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s; }
.ev-row.is-shown .ev-text { opacity: 1; transform: none; }
.ev-title { font-family: var(--serif); font-weight: 500; font-size: var(--h2); line-height: 1; margin-bottom: 1.4rem; }
.ev-copy { color: var(--paper-dim); font-weight: 300; font-size: var(--body); line-height: 1.75; margin: 1.4rem 0 1.8rem; max-width: 44ch; }
.ev-link { font-size: 0.74rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 0.6em; }
.ev-arrow { transition: transform .35s var(--ease); }
.ev-link:hover .ev-arrow { transform: translateX(6px); }

/* ============================================================
   MARQUEE (brick wall)
   ============================================================ */
.marquee { padding: var(--section) 0; background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.marquee-head { text-align: center; padding: 0 var(--gut); margin-bottom: 3rem; }
.marquee-title { font-size: var(--h2); margin-top: 0.3rem; }
.marquee-track-wrap { position: relative; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marq var(--marquee-dur, 44s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brick { flex: none; width: clamp(220px, 22vw, 340px); aspect-ratio: 3/4.2; }
.brick-img { width: 100%; height: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 16vw; z-index: 2; pointer-events: none; }
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(270deg, var(--ink-2), transparent); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--ink); }
.how-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.how-left { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.how-left.is-shown { opacity: 1; transform: none; }
.how-left .sec-title { margin-bottom: 2.6rem; }
.how-steps { list-style: none; display: flex; flex-direction: column; }
.how-step { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding: 1.7rem 0; border-top: 1px solid var(--line);
  opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease) var(--d), transform .7s var(--ease) var(--d); }
.how-step:last-child { border-bottom: 1px solid var(--line); }
.how-left.is-shown .how-step { opacity: 1; transform: none; }
.how-step-n { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--gold); min-width: 1.6ch; }
.how-step-title { font-family: var(--sans); font-weight: 500; font-size: 1.2rem; letter-spacing: 0.01em; margin-bottom: 0.4rem; }
.how-step-copy { color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; line-height: 1.65; max-width: 42ch; }

.how-media { position: relative; opacity: 0; transform: translateX(70px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.how-media.is-shown { opacity: 1; transform: none; }
.how-img { aspect-ratio: 4/5; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); }
.how-badge { position: absolute; bottom: -1.5rem; left: -1.5rem; background: var(--ink-3); border: 1px solid var(--gold);
  padding: 1.2rem 1.6rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 0.2rem; box-shadow: 0 30px 60px -30px #000; }
.how-badge-num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.how-badge-label { font-size: 0.7rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--paper-faint); }

/* ============================================================
   PACKAGES
   ============================================================ */
.packages { background: var(--ink-2); }
.pkg-list { max-width: 1240px; margin: 4.5rem auto 0; display: flex; flex-direction: column; }
.pkg-row {
  display: grid; grid-template-columns: 0.9fr auto 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(3rem, 6vh, 5rem) 0; border-top: 1px solid var(--line);
}
.pkg-row:last-child { border-bottom: 1px solid var(--line); }
.pkg-divider { width: 1px; align-self: stretch; background: linear-gradient(var(--line), var(--gold), var(--line)); }

/* visual column */
.pkg-visual { display: flex; align-items: center; justify-content: center; min-height: 300px; perspective: 900px; }
.product { opacity: 0; transform: translateX(-110px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.pkg-row.is-shown .product { opacity: 1; transform: none; }
.product-inner { display: inline-block; }
.pkg-row.is-shown .product-inner { animation: jiggle .7s ease-in-out .9s; }
@keyframes jiggle {
  0% { transform: rotate(0); } 25% { transform: rotate(-2.5deg) scale(1.02); }
  50% { transform: rotate(2deg); } 75% { transform: rotate(-1deg); } 100% { transform: rotate(0); }
}

/* strip (classic) */
.product-strip .strip { background: #f6f4ee; padding: 12px 12px 30px; border-radius: 3px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 40px 70px -30px #000, 0 0 0 1px rgba(0,0,0,.15); width: 150px; transform: rotate(-5deg); }
.strip-cell { width: 100%; aspect-ratio: 1/1; border-radius: 2px; }
.strip-logo { text-align: center; font-family: var(--serif); font-style: italic; color: #1a130a; font-size: 0.95rem; letter-spacing: 0.18em; margin-top: 4px; }

/* frame (glam) */
.product-frame .gframe { padding: 14px; background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep)); border-radius: 3px;
  box-shadow: 0 40px 70px -30px #000; width: 230px; }
.gframe-img { aspect-ratio: 4/5; border-radius: 1px; border: 3px solid #0c0f15; }

/* keychain */
.product-keys-row { display: flex; gap: 26px; padding-top: 30px; }
.keytag { position: relative; width: 92px; transform: rotate(var(--tilt)); transform-origin: top center; }
.pkg-row.is-shown .keytag { animation: swing 3.5s ease-in-out var(--kd) infinite; transform-origin: top center; }
.keytag-ring { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px;
  border: 3px solid var(--gold); border-radius: 50%; background: transparent; }
.keytag-img { width: 92px; aspect-ratio: 3/4; border-radius: 10px; border: 4px solid #f6f4ee;
  box-shadow: 0 20px 40px -16px #000; }
@keyframes swing { 0%,100% { transform: rotate(calc(var(--tilt) - 4deg)); } 50% { transform: rotate(calc(var(--tilt) + 4deg)); } }

/* magnet — scattered squares */
.product-mag-stage { position: relative; width: 230px; height: 230px; }
.magnet { position: absolute; top: 50%; left: 50%; width: 116px; aspect-ratio: 1/1;
  transform: translate(calc(-50% + var(--mx)), calc(-50% + var(--my))) rotate(var(--mr));
  border: 6px solid #f6f4ee; border-radius: 3px; box-shadow: 0 18px 36px -14px #000; }
.magnet-img { width: 100%; height: 100%; }

/* info column */
.pkg-info-head { display: flex; align-items: flex-start; gap: 1.1rem; }
.pkg-info-head > div { flex: 1; min-width: 0; }
.pkg-idx { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); line-height: 1.6; flex: none; }
.pkg-name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.06; }
.pkg-tag { font-size: 0.72rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--paper-faint); margin-top: 0.5rem; }
.pkg-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; margin: 1.8rem 0; }
.pkg-feats li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; font-weight: 300; color: var(--paper-dim);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease) var(--fd), transform .5s var(--ease) var(--fd); }
.pkg-row.is-shown .pkg-feats li { opacity: 1; transform: none; }
.pkg-check { width: 6px; height: 6px; flex: none; transform: rotate(45deg); background: var(--gold); }
.pkg-foot { display: flex; gap: 2.5rem; align-items: flex-end; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pkg-price { display: flex; flex-direction: column; }
.pkg-price-lead { font-size: 0.66rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--paper-faint); }
.pkg-price-val { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--paper); }
.pkg-cur { color: var(--gold); font-size: 1.6rem; vertical-align: 0.5rem; margin-right: 2px; }
.pkg-price-addl { font-size: 0.74rem; color: var(--paper-faint); margin-top: 0.3rem; }
.pkg-best { max-width: 24ch; }
.pkg-best-label { display: block; font-size: 0.66rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.pkg-best-val { font-size: 0.86rem; font-weight: 300; color: var(--paper-dim); line-height: 1.5; }
.pkg-btn { margin-top: 1.8rem; }

/* ============================================================
   BACKDROPS
   ============================================================ */
.backdrops { background: var(--ink); }
.bd-grid { max-width: 1100px; margin: 4rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bd-cell { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .8s var(--ease) var(--bd, 0s), transform .8s var(--ease) var(--bd, 0s);
  border: 1px solid var(--line); }
.bd-cell.is-shown { opacity: 1; transform: none; }
/* staggered reveal across the grid (replaces the prototype's per-cell --bd) */
.bd-cell:nth-child(3n+2) { --bd: 0.08s; }
.bd-cell:nth-child(3n)   { --bd: 0.16s; }
/* swatch placeholder — swap for a real backdrop photo (see HOW-TO-EDIT) */
.bd-ph { position: absolute; inset: 0; background: var(--ink-3); }
.bd-name { position: absolute; left: 0; bottom: 0; right: 0; z-index: 2; padding: 1.4rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(8,10,13,0.92)); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--paper); display: flex; align-items: center; gap: 0.6rem; }
.bd-name-i { font-family: var(--serif); font-style: italic; color: var(--gold); text-transform: none; }
.bd-custom { border: 1px solid var(--gold); }
.bd-custom-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; text-align: center; padding: 1.5rem;
  background: radial-gradient(120% 120% at 50% 0%, rgba(200,162,74,0.16), transparent 70%); transition: background .4s ease; }
.bd-custom-inner:hover { background: radial-gradient(120% 120% at 50% 0%, rgba(200,162,74,0.28), transparent 70%); }
.bd-custom-title { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); line-height: 1.1; }
.bd-custom-arrow { color: var(--gold); font-size: 1.4rem; transition: transform .35s var(--ease); }
.bd-custom-inner:hover .bd-custom-arrow { transform: translateX(8px); }

/* ============================================================
   BOOK (CheckCherry embed)
   ============================================================ */
.book { background: var(--ink-2); border-top: 1px solid var(--line); }
.book-embed { max-width: 1040px; margin: 3.5rem auto 0; }
.book-embed iframe { width: 100%; min-height: 760px; border: 0; border-radius: var(--radius-lg);
  background: var(--ink-3); box-shadow: 0 30px 70px -40px #000; display: block; }
.book-placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 50% 0%, rgba(200,162,74,0.08), transparent 70%);
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 0.9rem; }
.book-placeholder-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--paper); line-height: 1.2; max-width: 24ch; }
.book-placeholder-sub { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; line-height: 1.6; max-width: 48ch; }
.book-placeholder-sub code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--gold); font-size: 0.86em; }
.book-placeholder .btn { margin-top: 0.8rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--ink-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 840px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: block; list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 2.8rem 1.5rem 0;
  font-family: var(--serif); font-weight: 500; line-height: 1.35;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem); color: var(--paper);
  transition: color .3s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--gold); }
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 1.4rem;
  font-family: var(--sans); font-weight: 300; font-size: 1.7rem; line-height: 1;
  color: var(--gold); transition: transform .35s var(--ease);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 2.8rem 1.6rem 0; }
.faq-a p { color: var(--paper-dim); font-weight: 300; line-height: 1.75;
  font-size: var(--body); max-width: 66ch; }
@media (prefers-reduced-motion: reduce) { .faq-q::after { transition: none; } }

/* ============================================================
   INNER PAGES (service + location)
   ============================================================ */
.page-hero {
  padding: calc(7.5rem + 2vw) var(--gut) clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200,162,74,0.10), transparent 60%),
    var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 920px; margin: 0 auto; }
.crumb { font-size: 0.74rem; letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--paper-faint); margin-bottom: 1.4rem; }
.crumb a { color: var(--paper-dim); transition: color .3s ease; }
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--gold); }
.page-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 1.4rem; }
.page-h1 .t-italic { color: var(--gold); }
.page-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--paper); font-weight: 300;
  line-height: 1.7; max-width: 60ch; }
.page-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.answer-card {
  max-width: 920px; margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg); background: var(--ink-2);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.answer-card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--paper); margin: 0 0 0.9rem; line-height: 1.2; }
.answer-card p { color: var(--paper-dim); font-weight: 300; line-height: 1.75; font-size: var(--body);
  margin: 0 0 0.9rem; }
.answer-card p:last-child { margin-bottom: 0; }
.answer-card strong { color: var(--paper); font-weight: 500; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--paper); line-height: 1.15; margin: 0 0 1rem; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--paper); margin: 2rem 0 0.6rem; }
.prose p { color: var(--paper-dim); font-weight: 300; line-height: 1.8; font-size: var(--body);
  margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.3rem; padding-left: 1.2rem; color: var(--paper-dim); font-weight: 300; line-height: 1.8; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--gold); border-bottom: 1px solid rgba(200,162,74,0.4); transition: border-color .3s ease; }
.prose a:hover { border-color: var(--gold); }
.prose strong { color: var(--paper); font-weight: 500; }

.related { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 2.2rem; }
.related-h { font-size: 0.74rem; letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--paper-faint); margin-bottom: 1rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.related-links a { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--paper-dim);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.55em 1em;
  transition: border-color .3s ease, color .3s ease; }
.related-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); padding: var(--section) var(--gut) 2.5rem; position: relative; }
.footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; }
.foot-cta { max-width: 760px; margin: 0 auto clamp(4rem, 9vh, 7rem); text-align: center;
  opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.foot-cta.is-shown { opacity: 1; transform: none; }
.foot-cta-title { font-family: var(--serif); font-weight: 500; font-size: var(--h1); line-height: 1.02; margin: 0.6rem 0 1.2rem; }
.foot-cta-sub { color: var(--paper-dim); font-weight: 300; max-width: 44ch; margin: 0 auto 2.2rem; }
.foot-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.foot-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem;
  padding: clamp(2.5rem, 6vh, 4rem) 0; border-top: 1px solid var(--line); }
.foot-logo { height: 64px; width: auto; margin-bottom: 1.3rem; }
.foot-tagline { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 0.7rem; }
.foot-h { font-size: 0.68rem; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 500; }
.foot-col a, .foot-muted { font-size: 0.9rem; font-weight: 300; color: var(--paper-dim); transition: color .3s ease; }
.foot-col a:hover { color: var(--gold); }
.foot-base { max-width: 1340px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--paper-dim); }
.foot-social { display: flex; gap: 1.4rem; }
.foot-social a { transition: color .3s ease; }
.foot-social a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }
  .hdr-tel { display: none; }
  .hdr-mobile.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: rgba(8,10,13,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 1rem var(--gut) 1.5rem; gap: 0.3rem; }
  .hdr-mobile a { padding: 0.9rem 0; font-size: 0.8rem; letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--paper-dim); border-bottom: 1px solid var(--line); }
  .hdr-mobile-cta { color: var(--gold) !important; }
  /* burger → X when open */
  .hdr-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hdr-burger.is-open span:nth-child(2) { opacity: 0; }
  .hdr-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .pkg-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .pkg-divider { display: none; }
  .pkg-visual { min-height: 240px; }
}
@media (max-width: 760px) {
  .ev-row, .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ev-flip { direction: ltr; }
  .ev-num { font-size: 3rem; }
  .pkg-feats { grid-template-columns: 1fr; }
  .bd-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .how-media { order: -1; }
  .hero-scroll { display: none; }
  .book-embed iframe { min-height: 640px; }
}
@media (max-width: 460px) {
  .bd-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ACCESSIBILITY / FALLBACKS
   ============================================================ */
/* Respect reduced-motion: drop slideshow scale, marquee, and reveal travel. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-slide { transform: none; }
  .marquee-track { animation: none; }
}
/* Visible keyboard focus for links/buttons */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
