/* ============================================================
   MAINSTREET MODERN — "Built on Main Street" v5
   The studio site as the portfolio piece.
   Deep roasted ink, marigold gold, warm cream. Type-driven,
   motion-rich, hand-made. No frameworks, no build step.
   ------------------------------------------------------------
   1.  Tokens
   2.  Reset & base + grain
   3.  Typography
   4.  Layout + section colors + arcs
   5.  Buttons / links
   6.  Custom cursor
   7.  Loader
   8.  Header / nav / mobile menu
   9.  Marquee
   10. Logo hero (animated shop sign)
   11. Rise stack (statement → marigold → recent looks)
   12. Spinning emblem
   13. Reveals / word-rise / scroll-scrub
   14. Carousel (recent looks)
   15. Services (interactive ledger + cursor peek)
   16. Process (stacking step cards)
   17. Stats
   18. CTA + animated storefront scene
   19. Footer (dark, giant wordmark)
   20. Page components (pricing / about / contact)
   21. Page-wipe transitions
   22. Responsive + reduced motion
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* the charcoal (greyish-black — the dark end of the palette) */
  --ink:        #17181b;   /* near-black — dark sections, footer, header */
  --ink-2:      #212228;   /* elevated surfaces on ink */
  --espresso:   #26272d;   /* charcoal — cards, buttons */
  --espresso-d: #1d1e22;
  --espresso-l: #34353d;
  --walnut:     #24252b;   /* the logo-hero + statement charcoal */

  /* the gold */
  --honey:      #f5ae35;   /* marigold — the one loud color */
  --honey-d:    #e69a1b;
  --honey-deep: #b97e12;
  --gold:       #e2a339;   /* logo artwork gold */

  /* the paper */
  --cream:      #f4ecd9;
  --cream-2:    #e9dfc2;
  --parchment:  #faf5e9;

  /* supporting cast (artwork + rare accents only) */
  --brick:      #8a2e1d;
  --brick-d:    #6f2315;
  --sky:        #6aacc2;
  --sky-d:      #4f93aa;

  --ink-text:  #1f2024;
  --muted:     rgba(31, 32, 36, 0.64);
  --on-dark:       #f4ecd9;
  --on-dark-muted: rgba(244, 236, 217, 0.60);

  --display: "Rozha One", Georgia, "Times New Roman", serif;
  --body: "Satoshi", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius-card: 22px;
  --radius-arc: clamp(2.5rem, 6vw, 6rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.44, 1);

  --shadow-sm: 0 2px 8px rgba(26, 13, 7, 0.10);
  --shadow-md: 0 14px 34px rgba(26, 13, 7, 0.16);
  --shadow-lg: 0 40px 80px -24px rgba(20, 10, 5, 0.55);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--ink-text);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden): stops sideways scroll without breaking position: sticky */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 3px; }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.055; mix-blend-mode: overlay; background-image: var(--grain);
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-weight: 400; line-height: 1; }
.display { font-family: var(--display); font-weight: 400; line-height: 0.94; letter-spacing: -0.012em; }
.display--up { text-transform: uppercase; }

h1.display { font-size: clamp(3rem, 1rem + 10vw, 9rem); }
h2.display { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.5rem); }
h3.display { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); }

.label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.label--muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: "✦"; color: var(--honey-deep); }
.s-espresso .eyebrow::before, .s-ink .eyebrow::before, .s-brick .eyebrow::before { color: var(--honey); }

.lede {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.5;
  max-width: 52ch;
  font-weight: 500;
}
.muted { color: var(--muted); }
.on-dark .muted, .s-espresso .muted, .s-ink .muted, .s-brick .muted { color: var(--on-dark-muted); }

/* italic serif accent — for one warm word inside a headline */
.swash { font-style: italic; color: var(--honey); }

/* ---------- 4. LAYOUT + SECTIONS ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 940px; }

.section { position: relative; padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }

.s-espresso { background: var(--ink); color: var(--on-dark); }
.s-ink      { background: var(--ink); color: var(--on-dark); }
.s-honey    { background: var(--honey); color: var(--ink-text); }
.s-cream    { background: var(--cream); color: var(--ink-text); }
.s-brick    { background: var(--brick); color: var(--on-dark); }
.s-sky      { background: var(--sky); color: var(--ink-text); }
.s-parchment{ background: var(--parchment); color: var(--ink-text); }

/* arc/dome transition: a section that curves over the previous one */
.arc-top { border-radius: var(--radius-arc) var(--radius-arc) 0 0; margin-top: calc(-1 * var(--radius-arc)); position: relative; z-index: 2; }
.arc-bottom { border-radius: 0 0 var(--radius-arc) var(--radius-arc); }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: 1rem; }
.section__head p { margin-top: 1.2rem; }

/* ---------- 5. BUTTONS / LINKS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.05rem 1.9rem; font-family: var(--body); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px;
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.25s 0.08s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 0.4s var(--ease); display: inline-flex; }
.btn:hover .arrow { transform: translateX(5px); }

/* the fill: a contrasting wave rises from the bottom on hover */
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; transform: translateY(102%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }

.btn--espresso { background: var(--espresso); color: var(--cream); }
.btn--espresso::before { background: var(--honey); }
.btn--espresso:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey::before { background: var(--ink); }
.btn--honey:hover { color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream::before { background: var(--honey); }
.btn--cream:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--brick { background: var(--brick); color: var(--cream); }
.btn--brick::before { background: var(--honey); }
.btn--brick:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--outline::before { background: var(--honey); }
.btn--outline:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--honey); transform: translateY(-2px); }
.btn--lg { padding: 1.2rem 2.3rem; font-size: 0.92rem; }

/* serif button ("Start now") */
.btn--serif { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: 0.005em; }
.btn--serif.btn--lg { font-size: 1.4rem; padding: 1rem 2.5rem; }

.link-line { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; position: relative; }
.link-line .arrow { transition: transform 0.4s var(--ease); }
.link-line:hover .arrow { transform: translateX(6px); }

/* ---------- 7. LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10001;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease) 0.2s;
}
.loader.done { transform: translateY(-100%); }
.loader__inner { text-align: center; display: grid; gap: 1.6rem; justify-items: center; width: min(420px, 80vw); }
.loader__mark { width: 78px; height: 78px; animation: spin 3.2s linear infinite; }
.loader__word { font-family: var(--display); font-size: clamp(1.6rem, 1rem + 3vw, 2.6rem); letter-spacing: 0.01em; }
.loader__bar { width: 100%; height: 3px; background: rgba(244, 236, 217, 0.16); border-radius: 3px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--honey-deep), var(--honey), var(--honey-deep)); }
.loader__pct { font-family: var(--body); font-weight: 700; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--on-dark-muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.no-loader .loader { display: none; }

/* ---------- 8. HEADER / NAV ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; padding-block: 1.1rem;
  transition: transform 0.55s var(--ease), background-color 0.4s var(--ease-soft), box-shadow 0.4s, padding 0.4s, color 0.4s;
  color: var(--cream);
}
.site-header.is-scrolled {
  background: rgba(23, 24, 27, 0.86);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: var(--shadow-sm); padding-block: 0.6rem;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; }
.brand__mark { width: 44px; height: 44px; flex: none; transition: transform 0.5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-10deg); }
.brand__lines { line-height: 0.95; }
.brand strong { font-family: var(--display); font-weight: 400; font-size: 1.32rem; letter-spacing: 0.01em; display: block; }
.brand small { font-family: var(--body); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; opacity: 0.7; margin-top: 3px; display: block; }

.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__links a { position: relative; padding: 0.5rem 0.95rem; font-family: var(--body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.25s; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: 0.3rem; width: 0; height: 2px; background: var(--honey); transform: translateX(-50%); transition: width 0.3s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 1.2rem; }
.nav__links a[aria-current="page"] { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; width: 46px; height: 46px; position: relative; z-index: 1100; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 1050; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); transform: translateY(-100%); transition: transform 0.5s var(--ease); visibility: hidden; }
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu nav { counter-reset: mnav; }
.mobile-menu a { font-family: var(--display); font-size: clamp(2.2rem, 9vw, 3.6rem); text-transform: uppercase; padding: 0.3rem 0; border-bottom: 1px solid rgba(244, 236, 217, 0.14); display: flex; justify-content: space-between; align-items: center; gap: 1rem; opacity: 0; transform: translateY(18px); transition: color 0.3s; }
.mobile-menu a::before { counter-increment: mnav; content: counter(mnav, decimal-leading-zero); font-family: var(--body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--honey); flex: none; }
.mobile-menu a span:last-of-type { margin-left: auto; }
.mobile-menu a:hover { color: var(--honey); }
.mobile-menu.is-open a { animation: menuIn 0.5s var(--ease) forwards; }
.mobile-menu.is-open a:nth-child(1){animation-delay:.08s}
.mobile-menu.is-open a:nth-child(2){animation-delay:.14s}
.mobile-menu.is-open a:nth-child(3){animation-delay:.20s}
.mobile-menu.is-open a:nth-child(4){animation-delay:.26s}
.mobile-menu.is-open a:nth-child(5){animation-delay:.32s}
.mobile-menu .arrow { color: var(--honey); }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }

.nav-toggle:hover span { background: var(--honey); }

/* homepage: the full nav bar starts hidden above the logo hero, then slides
   down into view once you scroll past the first (logo) section. JS toggles
   .is-revealed at the end of that section. */
.site-header--home { transform: translateY(-105%); }
.site-header--home.is-revealed {
  transform: translateY(0);
  background: rgba(23, 24, 27, 0.92);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: var(--shadow-sm);
}

/* ---------- 9. MARQUEE ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee--sky { background: var(--sky); color: var(--ink-text); }
.marquee--honey { background: var(--honey); color: var(--ink); }
.marquee--espresso { background: var(--ink); color: var(--cream); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 1.4rem; padding: 0.9rem 0; font-family: var(--display); font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem); text-transform: uppercase; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: 0.55em; margin-inline: 1.6rem; opacity: 0.7; }
.marquee__track em { font-style: italic; color: var(--brick); }
/* when an arc-top section follows, give the band room so the arc bites into padding, not the words */
.marquee--pad { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) calc(var(--radius-arc) + clamp(1.5rem, 1rem + 2vw, 3rem)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. LOGO HERO — the animated shop sign ---------- */
.hero-logo {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--walnut);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem var(--gutter) 4rem; overflow: hidden;
}
/* warm gold spotlight from above (no dark pool at the bottom, so the hero
   blends seamlessly into the walnut section below) */
.hero-logo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% -10%, rgba(245, 174, 53, 0.16), transparent 60%);
}
.hero-logo__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap;
  will-change: transform, opacity;
}

/* the hanging sign (SVG) — the sign and its bracket drop in together, and as
   they land the sign swings gently FRONT-TO-BACK on the bracket (rotateX +
   perspective), not side to side */
.hero-sign { width: clamp(180px, 24vw, 320px); flex: none; overflow: visible; }
.hero-sign * { transform-box: fill-box; }
.sign-drop { transform: translateY(-150%); opacity: 0; }
.sign-swing { transform-origin: 50% -2%; }
.is-ready .sign-drop { animation: signDrop 0.9s cubic-bezier(0.3, 1.15, 0.42, 1) 0.15s forwards; }
.is-ready .sign-swing { animation: signSwing 3.6s var(--ease-soft) 0.75s both; }
@keyframes signDrop {
  0%   { transform: translateY(-150%); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
/* front-to-back pendulum: the sign tilts toward then away from the viewer,
   decaying to rest. perspective sells the depth */
@keyframes signSwing {
  0%   { transform: perspective(620px) rotateX(-15deg); }
  20%  { transform: perspective(620px) rotateX(23deg); }
  40%  { transform: perspective(620px) rotateX(-8deg); }
  60%  { transform: perspective(620px) rotateX(8deg); }
  80%  { transform: perspective(620px) rotateX(-2.5deg); }
  100% { transform: perspective(620px) rotateX(0deg); }
}
/* give it a friendly push on hover — but ONLY once the intro swing has settled,
   so hovering during the drop-in can't restart/glitch the entrance animation
   (JS adds .swing-ready to .hero-sign when the intro finishes) */
.hero-sign.swing-ready:hover .sign-swing { animation: signSwing 3.6s var(--ease-soft) both; }

/* the wordmark — letters rise from a mask, then MODERN tracks in (original, unchanged) */
.hero-word { text-align: left; }
.logo-word {
  font-family: var(--display); color: var(--cream);
  font-size: clamp(3.2rem, 1.4rem + 8.4vw, 8.6rem);
  line-height: 0.94; letter-spacing: 0.005em; display: block; white-space: nowrap;
}
.logo-word .lmask { display: inline-block; overflow: hidden; vertical-align: top; }
.logo-word .l { display: inline-block; transform: translateY(115%); }
.is-ready .logo-word .l { animation: letterUp 0.8s var(--ease) forwards; animation-delay: calc(0.62s + var(--i) * 0.05s); }
@keyframes letterUp { to { transform: translateY(0); } }
.logo-modern {
  display: block; font-family: var(--body); font-weight: 700; color: var(--gold);
  font-size: clamp(0.95rem, 0.5rem + 2.1vw, 2.2rem);
  letter-spacing: 0.58em; text-transform: uppercase; text-indent: 0.29em;
  margin-top: clamp(0.5rem, 1.2vw, 1rem);
  opacity: 0; transform: translateY(12px);
}
.is-ready .logo-modern { animation: modernIn 0.9s var(--ease) 1.5s forwards; }
@keyframes modernIn { from { letter-spacing: 0.85em; } to { opacity: 1; transform: translateY(0); letter-spacing: 0.58em; } }
.logo-tag {
  display: flex; align-items: center; gap: 0.9rem; margin-top: clamp(0.9rem, 1.6vw, 1.4rem);
  font-family: var(--body); font-weight: 700; font-size: clamp(0.58rem, 0.5rem + 0.35vw, 0.78rem);
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-dark-muted);
  opacity: 0;
}
.logo-tag::before, .logo-tag::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: 0.4; }
.is-ready .logo-tag { animation: fadeUp 0.9s var(--ease) 2s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.hero-logo .scroll-cue { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); margin: 0; transition: opacity 0.5s var(--ease); opacity: 0; }
.is-ready .scroll-cue { animation: fadeIn 0.9s var(--ease) 2.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.scroll-cue.is-hidden { opacity: 0 !important; animation: none !important; }

.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-top: 2.5rem; color: var(--on-dark-muted); font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--honey), transparent); animation: cue 2s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 11. RISE STACK ---------- */
.stack { position: relative; }
.stack__panel {
  position: sticky; top: 0;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(5rem, 4rem + 5vw, 8rem);
  border-radius: var(--radius-arc) var(--radius-arc) 0 0;
}
.stack__panel:first-child { border-top-left-radius: 0; border-top-right-radius: 0; }

/* brown statement panel — same walnut as the logo screen, so it reads as one scene */
.stack__panel.stack__panel--brown { background: var(--walnut); color: var(--cream); min-height: 135vh; justify-content: flex-start; padding-block: 0; }
.hero-statement {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 1500px; margin-inline: auto; padding-inline: var(--gutter); text-align: center;
}
.hero-statement__text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 0.9rem + 3.6vw, 4.6rem);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--cream);
}
.hero-statement__text .honey { color: var(--honey); font-style: italic; }

/* line-by-line reveal (each line rises out from a mask, staggered by --i) */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span {
  display: block; transform: translateY(115%);
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.28s);
}
.reveal-lines.in .line > span { transform: translateY(0); }
.hero-statement__cta {
  margin-top: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 1.6s, transform 0.8s var(--ease) 1.6s;
}
.reveal-lines.in .hero-statement__cta { opacity: 1; transform: none; }

/* ---------- 11b. FOLK SHOWCASE (person cutouts, ambient crossfade) ----------
   Lives inside the charcoal statement panel. One person at a time on the stage,
   crossfading to the next on a calm timer (pauses off-screen and on hover, dots
   jump directly). Each person is the real photo with a LIGHT duotone wash on top
   (50% #folk-duotone) so the set feels intentional while the original colours stay
   visible. The bottom ~20% is feathered to transparent (mask) so the cut-out edge
   melts into the stage with no sharp seam. No scroll hijack. */
.folk-inner {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
}

.folk-left { display: flex; flex-direction: column; align-items: center; }

/* the stage */
.folk-figure {
  position: relative; width: min(460px, 82vw); aspect-ratio: 4/5;
  isolation: isolate;
}

/* each person crossfades in; only one is active. The bottom is masked to
   transparent so the cutout's base dissolves into whatever sits behind it. */
.folk-person {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; transition: opacity 1.1s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
}
.folk-person.is-active {
  opacity: 1;
  /* MOVEMENT (interim): a gentle vertical bob — replaces the Ken Burns zoom */
  animation: folkFloat 6s ease-in-out infinite;
}
@keyframes folkFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.4%); }
}

/* two stacked copies: the real photo, plus a 50%-opacity duotone wash so the
   people read as a designed set without going full-marigold */
.folk-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
}
.folk-img--duo { filter: url(#folk-duotone); opacity: 0.1; }

/* caption under the figure (crossfades with the person) */
.folk-caption { position: relative; width: min(460px, 82vw); margin-top: 1.8rem; min-height: 6.5rem; }
.folk-cap { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); text-align: center; }
.folk-cap.is-active { opacity: 1; transform: none; }
.folk-trade { display: block; font-family: var(--body); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--honey); }
.folk-name { display: block; font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--cream); margin-top: 0.5rem; }
.folk-name em { font-style: normal; color: var(--on-dark-muted); font-size: 0.7em; }
.folk-blurb { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 40ch; margin: 0.6rem auto 0; }

/* people progress dots (also click-to-jump) */
.folk-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.6rem; }
.folk-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); opacity: 0.28; cursor: pointer; transition: opacity 0.4s, width 0.4s; }
.folk-dots span.on { opacity: 1; width: 24px; border-radius: 4px; background: var(--honey); }

/* right-hand statement */
.folk-right { min-width: 0; }   /* let the grid column bound it (no squished 18ch cap) */
.folk-right .eyebrow { color: var(--honey); }
.folk-right .eyebrow::before { color: var(--honey); }
/* smaller than the default huge display h2 so the long words wrap nicely and
   never overflow the column into the figure at medium widths */
.folk-right h2 { margin-top: 1.1rem; color: var(--cream); font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); overflow-wrap: break-word; }
.folk-sub { margin-top: 1.4rem; max-width: 40ch; color: var(--on-dark-muted); }

@media (max-width: 899px) {
  .folk-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding-block: clamp(3rem,2rem+6vw,5rem); }
  .folk-right { max-width: none; margin-inline: auto; }
  .folk-right h2 { margin-inline: auto; }
  .folk-sub { margin-inline: auto; }
}

/* ---------- 12. SPINNING EMBLEM ---------- */
.emblem { position: relative; width: clamp(120px, 14vw, 168px); aspect-ratio: 1; }
.emblem__spin { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.emblem__center { position: absolute; inset: 0; display: grid; place-items: center; }
.emblem__center svg { width: 38%; }

/* ---------- 13. REVEALS / SCRUB ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--scale { transform: scale(0.92); }
.reveal.in { opacity: 1; transform: none; }

/* per-word rise for big headlines */
.rise .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.rise .word > span { display: inline-block; transform: translateY(110%); transition: transform 0.85s var(--ease); transition-delay: calc(var(--i, 0) * 0.06s); }
.rise.in .word > span { transform: translateY(0); }

/* "Real sites, real results" manifesto — shown static (no scroll-scrub) */
.scrub {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 1rem + 3.4vw, 4.2rem);
  line-height: 1.25; letter-spacing: -0.01em; max-width: 24ch;
}
.scrub em { font-style: italic; color: var(--honey); }

/* ---------- 13b. STATEMENT BLOCKS ---------- */
.statement { text-align: center; }
.statement h2 { max-width: 20ch; margin-inline: auto; }
.statement p { margin: 1.6rem auto 2.2rem; }
.statement__row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split--center { align-items: center; }

/* ---------- 14. CAROUSEL ---------- */
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.carousel__nav { display: flex; gap: 0.6rem; flex: none; }
.carousel-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--cream);
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, opacity 0.3s;
}
.carousel-arrow:hover { transform: translateY(-2px); background: var(--honey); color: var(--ink); }
.carousel-arrow:active { transform: scale(0.95); }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow[disabled] { opacity: 0.28; cursor: default; transform: none; }
/* padding-top leaves room for the card's hover-lift + shadow; without it the
   overflow-x:auto scroll container clips the top of the raised card */
.carousel { display: flex; gap: 1.5rem; overflow-x: auto; padding-block: 1.4rem 1rem; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.card-work { flex: 0 0 clamp(280px, 78vw, 400px); scroll-snap-align: center; }
.card-work__art { display: block; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-md); background: var(--espresso); position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card-work:hover .card-work__art { transform: translateY(-8px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }
.card-work__art svg { width: 100%; height: 100%; }
.card-work__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-work h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 1.1rem; }
.card-work p { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 1rem; }
.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: 0.28; transition: opacity 0.3s, transform 0.3s; }
.carousel-dots button.is-active { opacity: 1; transform: scale(1.35); width: 26px; border-radius: 5px; }

/* ---- Recent Looks: pin + horizontal scroll-jack (desktop, JS-driven) ----
   Once the cream panel has risen to fill the screen it pins, and scrolling
   drives the cards left→right. When the last card lands, the page moves on.
   The .is-jack class is added by JS only on hover/fine + non-reduced-motion,
   so touch, keyboard, and reduced-motion users keep a normal swipe carousel. */
.work-pin { width: 100%; }
.stack__panel--work.is-jack { min-height: 300vh; justify-content: flex-start; padding-block: 0; }
.stack__panel--work.is-jack .work-pin {
  position: sticky; top: 0;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(5rem, 4rem + 5vw, 8rem);
}
.carousel.is-jacked { scroll-snap-type: none; cursor: default; overflow-x: hidden; }
/* progress rail under the cards while jacked */
.work-progress { display: none; height: 3px; border-radius: 3px; background: rgba(41,26,18,0.14); margin-top: 2rem; overflow: hidden; }
.stack__panel--work.is-jack .work-progress { display: block; }
.stack__panel--work.is-jack .carousel-dots { display: none; }
.work-progress span { display: block; height: 100%; width: 0%; background: var(--honey-deep); border-radius: 3px; }
.work-hint { display: none; margin-top: 1.1rem; font-family: var(--body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); align-items: center; gap: 0.6rem; }
.stack__panel--work.is-jack .work-hint { display: inline-flex; }
.work-hint svg { width: 15px; height: 15px; animation: hintNudge 1.8s var(--ease-soft) infinite; }
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ---------- 15. SERVICES — the ledger ---------- */
.svc-ledger { border-top: 1.5px solid rgba(41, 26, 18, 0.22); }
.svcrow {
  position: relative; border-bottom: 1.5px solid rgba(41, 26, 18, 0.22);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem) 0.2rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: clamp(1rem, 3vw, 2.6rem);
  transition: padding-left 0.45s var(--ease);
}
.svcrow:hover { padding-left: clamp(0.6rem, 1.5vw, 1.4rem); }
.svcrow__num { font-family: var(--display); font-size: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); color: var(--honey-deep); }
.svcrow__title { font-family: var(--display); font-size: clamp(1.9rem, 1.2rem + 3vw, 4rem); text-transform: uppercase; line-height: 1; transition: color 0.3s; }
.svcrow:hover .svcrow__title { color: var(--brick); }
.svcrow__plus { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); color: var(--honey-deep); transition: transform 0.45s var(--ease); }
.svcrow:hover .svcrow__plus { transform: rotate(135deg); }
.svcrow__body { grid-column: 2 / 4; overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.svcrow:hover .svcrow__body, .svcrow:focus-within .svcrow__body { grid-template-rows: 1fr; }
.svcrow__body > div { overflow: hidden; }
.svcrow__body p { color: var(--muted); max-width: 58ch; padding-top: 0.9rem; font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem); }

/* the peek — a little scene that chases the cursor over the ledger.
   The outer element is positioned by JS (translate only); the inner
   wrapper owns the pop-in scale/rotate so the two don't fight. */
.svc-peek {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none;
  width: 230px; aspect-ratio: 5/3.6;
}
.svc-peek__inner {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); opacity: 0; transform: scale(0.75) rotate(-3deg);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.svc-peek.show .svc-peek__inner { opacity: 1; transform: scale(1) rotate(-3deg); }
.svc-peek__pane { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s; }
.svc-peek__pane.on { opacity: 1; }
.svc-peek svg { width: 100%; height: 100%; }

/* legacy service cards (still used on the contact page) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.svc { position: relative; border-radius: var(--radius-card); padding: 2rem 1.8rem 1.9rem; background: var(--parchment); color: var(--ink-text); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); border: 1px solid rgba(41,26,18,0.08); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc__num { font-family: var(--display); font-size: 1.2rem; color: var(--honey-deep); }
.svc__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--honey); color: var(--ink); margin: 0.6rem 0 1.2rem; transition: transform 0.5s var(--ease); }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.06); }
.svc h3 { font-family: var(--display); font-size: 1.7rem; margin-bottom: 0.5rem; }
.svc p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 16. PROCESS — stacking step cards ---------- */
.steps-stack { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
.step-card {
  border-radius: 26px; padding: clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start;
  position: relative; overflow: hidden;
  transform: scale(calc(1 - var(--cov, 0) * 0.05)) translateY(calc(var(--cov, 0) * -6px));
  transform-origin: 50% 0;
}
.step-card::after { content: ""; position: absolute; inset: 0; background: rgba(18, 10, 5, 0.7); opacity: calc(var(--cov, 0) * 0.4); pointer-events: none; transition: opacity 0.1s linear; border-radius: inherit; }
.step-card--cream { background: var(--cream); color: var(--ink-text); }
.step-card--honey { background: var(--honey); color: var(--ink-text); }
.step-card--parchment { background: var(--parchment); color: var(--ink-text); }
.step-card--walnut { background: var(--walnut); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 236, 217, 0.18); }
.step-card__num {
  font-family: var(--display); font-size: clamp(3.4rem, 2.4rem + 5vw, 8rem); line-height: 0.8;
  /* hollow numerals — stroke must be an explicit color, NOT currentColor
     (color is transparent, so currentColor would make the stroke invisible too) */
  color: transparent; -webkit-text-stroke: 2px var(--ink-text); opacity: 0.5;
}
.step-card--honey .step-card__num { -webkit-text-stroke: 2px var(--espresso); }
.step-card--walnut .step-card__num { -webkit-text-stroke: 2px var(--cream); }
.step-card h3 { font-family: var(--display); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.8rem); margin-bottom: 0.6rem; }
.step-card p { max-width: 58ch; opacity: 0.82; font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.15rem); }
.step-card__eyebrow { font-family: var(--body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; display: block; margin-bottom: 0.8rem; }
@media (min-width: 900px) {
  .steps-stack { display: block; }
  .steps-stack .step-card { position: sticky; min-height: 46vh; margin-bottom: clamp(1.2rem, 2vw, 1.8rem); }
  .steps-stack .step-card:nth-child(1) { top: calc(50vh - 23vh - 33px); }
  .steps-stack .step-card:nth-child(2) { top: calc(50vh - 23vh - 11px); }
  .steps-stack .step-card:nth-child(3) { top: calc(50vh - 23vh + 11px); }
  .steps-stack .step-card:nth-child(4) { top: calc(50vh - 23vh + 33px); }
}

/* legacy process rows (kept for safety) */
.process { display: grid; gap: 0; max-width: 920px; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 1.6rem; padding: 1.8rem 0; align-items: start; border-top: 1px solid rgba(244, 236, 217, 0.16); }
.step:last-child { border-bottom: 1px solid rgba(244, 236, 217, 0.16); }
.step__num { font-family: var(--display); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.4rem); line-height: 0.8; color: var(--honey); }
.step h3 { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 0.4rem; }
.step p { color: var(--on-dark-muted); max-width: 56ch; }

/* ---------- 17. STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.5rem 1.5rem; text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; display: flex; justify-content: center; align-items: baseline; }
.stat .suffix { font-size: 0.5em; }
.stat .lbl { margin-top: 0.7rem; font-size: 0.92rem; }
.stats--rule { border-top: 1px solid rgba(244, 236, 217, 0.16); padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ---------- 19. FOOTER — dark, giant gold wordmark ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand p { max-width: 32ch; margin-top: 1rem; font-weight: 500; color: var(--on-dark-muted); }
.footer h4 { font-family: var(--body); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.1rem; color: var(--honey); opacity: 0.9; }
.footer__col a { display: block; padding: 0.32rem 0; font-weight: 600; opacity: 0.75; transition: opacity 0.2s, transform 0.2s, color 0.2s; }
.footer__col a:hover { opacity: 1; transform: translateX(3px); color: var(--honey); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--ink); transition: transform 0.3s var(--ease), background-color 0.3s; }
.footer__social a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--cream); }
.footer__wordmark {
  font-family: var(--display); font-size: clamp(1.9rem, 8.2vw, 7rem); line-height: 0.82;
  text-transform: uppercase; text-align: center; letter-spacing: -0.01em; white-space: nowrap;
  overflow: hidden; -webkit-user-select: none; user-select: none; padding-top: 1rem;
  color: var(--honey);
}
.footer__wordmark .fl { display: inline-block; transition: transform 0.45s var(--ease-spring), color 0.3s; }
.footer__wordmark .fl:hover { transform: translateY(-0.09em) rotate(2deg); color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; border-top: 1px solid rgba(244, 236, 217, 0.16); font-size: 0.82rem; font-weight: 600; color: var(--on-dark-muted); }

/* ============================================================
   20. PAGE COMPONENTS (pricing / about / contact)
   ============================================================ */

/* ---- interior page hero ---- */
.hero { position: relative; overflow: hidden; padding-top: clamp(8rem, 7rem + 5vw, 11rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); text-align: center; }
.hero__glow { position: absolute; left: 50%; top: 44%; width: 120vw; max-width: 1100px; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(245, 174, 53, 0.2), rgba(245, 174, 53, 0.05) 38%, transparent 62%); }
.hero__inner { position: relative; z-index: 2; }
.hero__labels { display: flex; justify-content: space-between; max-width: 1000px; margin: 0 auto 1.5rem; color: var(--on-dark-muted); }
.hero h1 { color: var(--cream); margin-bottom: 1.4rem; }
.hero h1 .honey { color: var(--honey); }
.hero__lede { color: var(--on-dark-muted); margin: 0 auto 2.2rem; text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---- pricing tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.tier { position: relative; background: var(--parchment); color: var(--ink-text); border-radius: var(--radius-card); padding: 2.3rem 2rem; display: flex; flex-direction: column; border: 1px solid rgba(41,26,18,0.1); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tier__flag { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); background: var(--honey); color: var(--ink); font-family: var(--body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.tier__name { font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 0.95; }
.tier__tagline { font-size: 0.92rem; margin-top: 0.5rem; min-height: 2.6em; opacity: 0.75; }
.price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.5rem 0 0.3rem; }
.price__from { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.6; }
.price__num { font-family: var(--display); font-size: 3rem; line-height: 1; }
.price__per { font-size: 0.9rem; opacity: 0.7; }
.tier__divider { height: 1px; background: currentColor; opacity: 0.15; margin: 1.5rem 0; }
.tier__features { display: grid; gap: 0.8rem; margin-bottom: 1.8rem; }
.tier__features li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; font-size: 0.94rem; align-items: start; }
.tier__features .tick { color: var(--honey-deep); margin-top: 2px; }
.tier--featured .tier__features .tick { color: var(--honey); }
.tier .btn { margin-top: auto; width: 100%; }

.note-card { text-align: center; background: var(--ink); color: var(--cream); border-radius: var(--radius-card); padding: 1.9rem; margin-top: 2.5rem; }
.note-card h3 { font-family: var(--display); font-size: 1.6rem; }
.note-card p { color: var(--on-dark-muted); max-width: 60ch; margin: 0.6rem auto 0; }

/* ---- add-ons ---- */
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.addon { background: var(--parchment); border: 1px solid rgba(41,26,18,0.1); border-radius: 16px; padding: 1.3rem 1.4rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.addon:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.addon h4 { font-family: var(--display); font-size: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.addon h4 span { color: var(--brick); white-space: nowrap; }
.addon p { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; }

/* ---- FAQ accordion ---- */
.faq { max-width: 840px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid rgba(41,26,18,0.16); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; padding: 1.5rem 0.25rem; font-family: var(--display); font-size: clamp(1.3rem, 1rem + 0.8vw, 1.8rem); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid currentColor; position: relative; transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; top: 50%; left: 50%; transition: transform 0.4s var(--ease), background-color 0.3s; }
.faq__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon { background: var(--honey); border-color: var(--honey); transform: rotate(90deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0.25rem 1.6rem; color: var(--muted); max-width: 64ch; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label { font-family: var(--body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; width: 100%; padding: 0.95rem 1.05rem; background: var(--parchment); border: 2px solid rgba(41,26,18,0.14); border-radius: 12px; color: var(--ink-text); transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(41,26,18,0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--honey-deep); box-shadow: 0 0 0 4px rgba(245,174,53,0.25); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--brick); }
.field__err { font-size: 0.8rem; color: var(--brick); font-weight: 700; display: none; }
.field--error .field__err { display: block; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: 0.84rem; color: var(--muted); }
.form__success { display: none; text-align: center; padding: 3rem 1.5rem; background: var(--parchment); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.form__success.show { display: block; animation: pop 0.5s var(--ease); }
.form__success .check { width: 70px; height: 70px; border-radius: 50%; background: var(--honey); color: var(--ink); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form__success h3 { font-family: var(--display); font-size: 1.7rem; }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.contact-card { background: var(--parchment); border: 1px solid rgba(41,26,18,0.1); border-radius: var(--radius-card); padding: 2rem 1.9rem; }
.contact-card h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 1.2rem; }
.contact-line { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid rgba(41,26,18,0.1); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--honey); color: var(--ink); display: grid; place-items: center; }
.contact-line .lbl { display: block; margin-bottom: 0.2rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.contact-line .val { display: block; font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.92rem; }
.hours-row span:last-child { color: var(--muted); }

/* ---- about ---- */
.portrait { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/4.6; background: var(--espresso); box-shadow: var(--shadow-md); }
.portrait svg { width: 100%; height: 100%; }
.portrait .stamp { position: absolute; bottom: 1.1rem; left: 1.1rem; background: var(--cream); color: var(--ink-text); padding: 0.7rem 1rem; border-radius: 12px; font-size: 0.82rem; box-shadow: var(--shadow-sm); }
.portrait .stamp b { display: block; font-family: var(--display); font-size: 1.1rem; }
.values-list { display: grid; gap: 1.3rem; }
.value-row { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; align-items: start; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(41,26,18,0.12); }
.value-row:last-child { border-bottom: 0; }
.value-row .vi { width: 54px; height: 54px; border-radius: 14px; background: var(--honey); color: var(--ink); display: grid; place-items: center; }
.value-row h4 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 0.25rem; }
.value-row p { color: var(--muted); font-size: 0.94rem; }
.signature { font-family: var(--display); font-size: 2rem; color: var(--brick); margin-top: 1rem; }
.manifesto { font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.3rem); line-height: 1.1; max-width: 19ch; text-transform: uppercase; }

/* ---------- 21. PAGE-WIPE TRANSITIONS ---------- */
.page-wipe {
  position: fixed; inset: -2% 0; z-index: 10002; pointer-events: none;
  background: var(--ink); display: grid; place-items: center;
  transform: translateY(103%); visibility: hidden;
}
.page-wipe svg { width: 74px; height: 74px; opacity: 0; }
.page-wipe.wipe-in { visibility: visible; animation: wipeIn 0.46s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.page-wipe.wipe-in svg { animation: wipeMark 0.4s var(--ease) 0.18s forwards; }
.page-wipe.wipe-out { visibility: visible; transform: translateY(0); animation: wipeOut 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.05s forwards; }
.page-wipe.wipe-out svg { opacity: 1; animation: wipeMarkOut 0.3s var(--ease) forwards; }
@keyframes wipeIn { to { transform: translateY(0); } }
@keyframes wipeOut { to { transform: translateY(-103%); } }
@keyframes wipeMark { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wipeMarkOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- 22. RESPONSIVE + REDUCED MOTION ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .tier--featured { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  /* rise stack: fall back to normal stacked sections that still dome over one another */
  .stack__panel { position: static; min-height: 0; }
  .stack__panel + .stack__panel { margin-top: calc(-1 * var(--radius-arc)); }
  .stack__panel:first-child { border-radius: 0; }
  .stack__panel.stack__panel--brown { min-height: 0; padding-block: clamp(4rem, 3rem + 6vw, 6rem); }
  .hero-statement { min-height: 0; }
  .svc-peek { display: none; }
  /* ledger rows: keep descriptions visible on touch screens */
  .svcrow { grid-template-columns: auto 1fr; }
  .svcrow__plus { display: none; }
  .svcrow__body { grid-column: 1 / -1; grid-template-rows: 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav-toggle { display: block; }
  .hero__labels { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero-logo__inner { flex-direction: column; gap: 2rem; }
  .hero-word { text-align: center; }
  .logo-word { white-space: normal; }
  .logo-tag { justify-content: center; }
}
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .footer__top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .rise .word > span { transform: none !important; }
  .reveal-lines .line > span { transform: none !important; }
  .hero-statement__cta { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .loader { display: none; }
  .sign-drop, .sign-swing, .logo-word .l, .logo-modern, .logo-tag, .hero-logo .scroll-cue { opacity: 1 !important; transform: none !important; animation: none !important; }
  .page-wipe { display: none; }
  .step-card { transform: none !important; }
  .step-card::after { display: none; }
  .svc-peek { display: none; }
  .svcrow__body { grid-template-rows: 1fr; }
}
