/* ════════════════════════════════════════════════════════════
   JayCraft Digital — Fable 5 redesign
   Dark editorial theme · Fraunces / Inter / JetBrains Mono
   ════════════════════════════════════════════════════════════ */

/* Skip layout work for below-the-fold sections until the visitor
   scrolls near them, instead of Chrome laying out all ~900 elements
   on the page before it can paint the first pixel. contain-intrinsic-size
   is a real measured placeholder height per section (mobile, the
   PageSpeed test target) so there's no visible jump when a section's
   real layout kicks in. main.js pairs this with a ResizeObserver that
   calls ScrollTrigger.refresh() when a section's real size replaces
   its placeholder, since #problem/#process/#quote/footer have
   ScrollTrigger triggers whose position depends on real geometry. */
#problem   { content-visibility: auto; contain-intrinsic-size: auto 1550px; }
#process   { content-visibility: auto; contain-intrinsic-size: auto 1300px; }
#range     { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
#pricing   { content-visibility: auto; contain-intrinsic-size: auto 2300px; }
#work      { content-visibility: auto; contain-intrinsic-size: auto 1110px; }
#quote     { content-visibility: auto; contain-intrinsic-size: auto 500px; }
#about     { content-visibility: auto; contain-intrinsic-size: auto 2010px; }
#faq       { content-visibility: auto; contain-intrinsic-size: auto 870px; }
#contact   { content-visibility: auto; contain-intrinsic-size: auto 1560px; }
#cta       { content-visibility: auto; contain-intrinsic-size: auto 500px; }
footer     { content-visibility: auto; contain-intrinsic-size: auto 750px; }

:root {
  --bg:       #0A1310;
  --bg-2:     #0D1915;
  --panel:    #11201A;
  --panel-2:  #152722;
  --line:     rgba(244, 239, 228, 0.09);
  --line-2:   rgba(244, 239, 228, 0.18);
  --cream:    #F4EFE4;
  --cream-2:  #F8F5EE;
  --muted:    rgba(244, 239, 228, 0.58);
  --muted-2:  rgba(244, 239, 228, 0.38);
  --coral:    #E2572B;
  --coral-2:  #EF7950;
  --coral-btn:       #BC431E;
  --coral-btn-hover: #C2461F;
  --ink:      #142421;
  --ink-mut:  #5d6b65;
  --ink-line: #E5E0D3;
  --serif:    'General Sans', Georgia, serif;
  --sans:     'General Sans', system-ui, sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.76, 0, 0.24, 1);
}

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

html { font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: var(--coral-btn); color: var(--cream-2); }

img { max-width: 100%; height: auto; }

/* subtle custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #24352e; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--coral); }

/* ── film grain overlay ── */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 2000; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ════════════════ PRELOADER ════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--bg);
  display: none;
  align-items: center; justify-content: center;
  /* Pure-CSS safety net: reveal the real page even if the JS that normally
     hides this (GSAP + main.js) is slow to arrive or never arrives at all.
     No-op in the normal case, since the JS path hides this well before 1.5s. */
  animation: loaderAutoReveal 0.01s linear 1.5s forwards;
}
html.js .loader { display: flex; }
.loader.done { pointer-events: none; }
@keyframes loaderAutoReveal {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-inner { text-align: center; }
.loader-word {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5vw, 54px); color: var(--cream);
  letter-spacing: -0.5px; overflow: hidden; display: inline-block;
}
.loader-word span { display: inline-block; transform: translateY(120%); }
.loader-word .lc { color: var(--coral); }
.loader-bar {
  width: min(240px, 50vw); height: 2px; margin: 26px auto 0;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--coral); border-radius: 2px;
}

/* ════════════════ CUSTOM CURSOR ════════════════ */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  html.js .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 4000;
    width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
    background: var(--coral); border-radius: 50%;
    pointer-events: none; opacity: 0;
  }
  html.js .cursor-ring {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 3999;
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1.2px solid rgba(244, 239, 228, 0.45);
    border-radius: 50%; pointer-events: none; opacity: 0;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                margin 0.3s var(--ease-out), background 0.3s, border-color 0.3s;
  }
  html.js .cursor-ring.is-active {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border-color: var(--coral);
    background: rgba(226, 87, 43, 0.08);
  }
  html.js .cursor-ring.has-label {
    width: 74px; height: 74px; margin: -37px 0 0 -37px;
    background: var(--coral); border-color: var(--coral);
  }
  .cursor-label {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; color: var(--cream-2);
    opacity: 0; transition: opacity 0.2s;
  }
  .cursor-ring.has-label .cursor-label { opacity: 1; }
}

/* ════════════════ NAV ════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 80px;
  transition: transform 0.45s var(--ease-out), background 0.35s, border-color 0.35s, height 0.35s;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.nav.scrolled {
  height: 66px;
  background: rgba(10, 19, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-logo {
  font-family: var(--serif); font-size: 21px; font-weight: 700;
  color: var(--cream); letter-spacing: -0.4px; text-decoration: none;
}
.nav-logo em { font-style: italic; color: var(--coral); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta {
  background: var(--coral-btn); color: var(--cream-2);
  padding: 11px 22px; font-size: 13.5px; font-weight: 600;
  border-radius: 100px; text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.14s var(--ease-out);
  display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background: var(--coral-btn-hover); box-shadow: 0 8px 28px rgba(226, 87, 43, 0.4); }
}

/* letter-roll link */
.rlink {
  position: relative; display: inline-block; overflow: hidden;
  font-size: 13.5px; font-weight: 500; color: var(--cream);
  text-decoration: none; line-height: 1.4; vertical-align: top;
}
.rlink span { display: inline-block; transition: transform 0.45s var(--ease-io); }
.rlink::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%; width: 100%;
  color: var(--coral-2); white-space: nowrap;
  transition: transform 0.45s var(--ease-io);
}
.rlink:focus-visible span { transform: translateY(-100%); }
.rlink:focus-visible::after { transform: translateY(-100%); }
@media (hover: hover) and (pointer: fine) {
  .rlink:hover span { transform: translateY(-100%); }
  .rlink:hover::after { transform: translateY(-100%); }
}

/* burger */
.burger {
  display: none; position: relative; z-index: 1200;
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.6px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.4s var(--ease-io), top 0.4s var(--ease-io);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
}

/* mobile menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 9%;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-io), visibility 0.65s;
}
.menu-overlay.open { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 6px; }
.menu-links a {
  font-family: var(--serif); font-weight: 600; text-decoration: none;
  color: var(--cream); font-size: clamp(32px, 8vw, 52px);
  display: flex; align-items: baseline; gap: 18px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: color 0.25s;
}
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-links a small {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--coral);
}
@media (hover: hover) and (pointer: fine) {
  .menu-links a:hover { color: var(--coral-2); }
}
.menu-links a { transition: color 0.25s, opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: 0.15s, 0.15s, 0.15s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: 0.21s, 0.21s, 0.21s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: 0.27s, 0.27s, 0.27s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: 0.33s, 0.33s, 0.33s; }
.menu-overlay.open .menu-links a:nth-child(5) { transition-delay: 0.39s, 0.39s, 0.39s; }
.menu-overlay.open .menu-links a:nth-child(6) { transition-delay: 0.45s, 0.45s, 0.45s; }
.menu-links .menu-cta { color: var(--coral-2); }
.menu-foot {
  position: absolute; bottom: 34px; left: 9%;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* ════════════════ BUTTONS ════════════════ */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral-btn); color: var(--cream-2);
  padding: 17px 32px; font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: 100px; border: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: box-shadow 0.3s, transform 0.14s var(--ease-out);
}
.btn-primary:active, .btn-ghost:active, .nav-cta:active, .form-submit:active, .price-cta:active {
  transform: scale(0.97);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #c94a22;
  transform: translateY(101%); border-radius: 100px 100px 0 0;
  transition: transform 0.45s var(--ease-io), border-radius 0.45s var(--ease-io);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::before { transform: translateY(0); border-radius: 0; }
  .btn-primary:hover { box-shadow: 0 16px 44px rgba(226, 87, 43, 0.45); }
}
.btn-arrow { display: inline-block; transition: transform 0.35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover .btn-arrow { transform: translateX(5px); }
}
.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--cream);
  padding: 17px 32px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.2px solid var(--line-2); border-radius: 100px;
  transition: border-color 0.3s, background 0.3s, transform 0.14s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: var(--cream); background: rgba(244, 239, 228, 0.05); }
}

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: 100vh;
  padding: 160px 5% 90px;
  display: flex; align-items: center;
  overflow: hidden;
}
#webgl {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; z-index: 2;
}
.hero-glow {
  position: absolute; top: -30%; right: -15%;
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(226, 87, 43, 0.13) 0%, transparent 62%);
  animation: heroGlowBreathe 7s ease-in-out infinite;
}
@keyframes heroGlowBreathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  animation: heroOrbDrift ease-in-out infinite;
}
.hero-orb.o1 {
  width: 480px; height: 480px; top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(226, 87, 43, 0.22) 0%, transparent 70%);
  animation-duration: 16s;
}
.hero-orb.o2 {
  width: 300px; height: 300px; top: 42%; left: 6%;
  background: radial-gradient(circle, rgba(248, 245, 238, 0.12) 0%, transparent 70%);
  animation-duration: 13s; animation-delay: -4s;
}
.hero-orb.o4 {
  width: 200px; height: 200px; top: 8%; left: 38%;
  background: radial-gradient(circle, rgba(248, 245, 238, 0.14) 0%, transparent 70%);
  animation-name: heroOrbPulseBig; animation-duration: 6.5s; animation-delay: -2s;
}
@keyframes heroOrbDrift {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.05); }
}
@keyframes heroOrbPulseBig {
  0%, 100% { transform: translate(0px, 0px) scale(0.85); opacity: 0.6; }
  50% { transform: translate(8px, -10px) scale(1.35); opacity: 1; }
}
.hero-dot {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: heroDotDrift 9s ease-in-out infinite;
}
.hero-dot.d2 { width: 6px; height: 6px; top: 60%; left: 41%; background: rgba(248, 245, 238, 0.35); animation-duration: 10s; animation-delay: -3s; }
@keyframes heroDotDrift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-orb, .hero-dot { animation: none; }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px;
  align-items: center; max-width: 1340px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral-2); margin-bottom: 28px;
}
.hero-eyebrow .tick { width: 30px; height: 1.5px; background: var(--coral); display: inline-block; }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 58px); font-weight: 700;
  line-height: 1.04; letter-spacing: -1.5px;
  color: var(--cream); margin-bottom: 28px;
}
.hero-h1 em { font-style: italic; color: var(--coral-2); }
/* split-text pieces (added by JS) */
.hero-h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.hero-h1 .wi { display: inline-block; transition: color 0.3s; }
@media (hover: hover) and (pointer: fine) {
  .hero-h1 .w:hover .wi { color: var(--coral-2); }
}
.hero-sub {
  font-size: 17.5px; line-height: 1.75; color: var(--muted);
  max-width: 480px; margin-bottom: 38px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-proof {
  display: flex; gap: 44px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.proof-num {
  font-family: var(--serif); font-size: 32px; font-weight: 700;
  color: var(--cream); line-height: 1;
}
.proof-num .count, .proof-num > span { color: var(--coral-2); }
.proof-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-2); margin-top: 8px;
}

/* hero visual — browser stack */
.hero-visual { position: relative; z-index: 2; }
.hero-stack {
  position: relative; height: 420px; margin-top: 10px;
  perspective: 1400px;
}
.browser-frame {
  background: #101b17; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: top 0.65s var(--ease-out), left 0.65s var(--ease-out),
              right 0.65s var(--ease-out), transform 0.65s var(--ease-out),
              opacity 0.5s ease, filter 0.5s ease, width 0.65s var(--ease-out),
              box-shadow 0.5s ease;
}
.browser-frame:active { transform: scale(0.97) !important; }
.browser-bar {
  background: rgba(244, 239, 228, 0.06); padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--line);
}
.bdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 239, 228, 0.22); }
.browser-frame img { width: 100%; display: block; height: auto; }
.hero-stack .browser-frame { position: absolute; transform-style: preserve-3d; }
.hero-stack .frame-back {
  top: 0; right: -4%; width: 78%;
  transform: rotateZ(7deg) rotateY(14deg) scale(0.92);
  opacity: 0.7; filter: saturate(0.7) brightness(0.96);
  z-index: 1;
}
.hero-stack .frame-mid {
  top: 70px; left: -2%; width: 84%;
  transform: rotateZ(-6deg) rotateY(-10deg) scale(0.96);
  opacity: 0.88; filter: saturate(0.88) brightness(0.98);
  z-index: 2;
}
.hero-stack .frame-front {
  top: 140px; left: 8%; width: 88%;
  transform: rotateZ(2deg) rotateY(0deg) scale(1);
  box-shadow: 0 50px 110px -24px rgba(0, 0, 0, 0.75);
  z-index: 3;
}
.float-tag {
  position: relative; margin: 30px auto 0; width: fit-content; z-index: 10;
  background: rgba(17, 32, 26, 0.85); color: var(--cream);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  padding: 12px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.float-tag .dot {
  width: 8px; height: 8px; background: var(--coral-2); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.65); }
}

/* coffee overlay (text not baked into photo) */
.coffee-overlay-wrap { position: relative; }
.coffee-overlay-wrap img { display: block; width: 100%; }
.coffee-text-overlay {
  position: absolute; inset: 0; pointer-events: none; user-select: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 8%;
  background: linear-gradient(180deg, rgba(20, 12, 4, 0.05) 0%, rgba(20, 12, 4, 0.35) 100%);
}
.coffee-text-overlay h4 {
  font-family: var(--serif); font-weight: 600; color: #fff;
  font-size: clamp(15px, 2.6vw, 22px); line-height: 1.2; margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.coffee-text-overlay span {
  background: #9C6A28; color: #fff; font-size: clamp(9px, 1vw, 12px); font-weight: 600;
  padding: 6px 14px; border-radius: 4px;
}

.hero-scrollcue {
  position: absolute; bottom: 30px; left: 5%; z-index: 3;
  display: flex; align-items: center; gap: 14px;
}
.cue-line { width: 52px; height: 1.5px; background: var(--line-2); position: relative; overflow: hidden; display: block; }
.cue-line::after {
  content: ''; position: absolute; inset: 0; background: var(--coral);
  transform: translateX(-100%); animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.cue-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted-2);
}
@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stack { height: 360px; }
  .hero-scrollcue { display: none; }
  .hero-h1 { font-size: clamp(34px, 8vw, 74px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions { margin-bottom: 30px; }
  .hero-proof { padding-top: 20px; }
}
@media (max-width: 640px) {
  .hero-h1-break { display: none; }
}
@media (max-width: 520px) {
  .hero-stack { height: 62vw; }
  .hero-proof { gap: 28px; }
  .hero-h1 { font-size: clamp(30px, 9.5vw, 74px); }
}

/* ════════════════ MARQUEE ════════════════ */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 20px 0;
  position: relative; z-index: 2;
}
.marquee-track { display: flex; width: max-content; animation: marq 30s linear infinite; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.mq-item {
  font-size: 14px; color: var(--muted); font-weight: 400;
  padding: 0 30px; white-space: nowrap;
}
.mq-item strong { color: var(--cream); font-weight: 600; }
.mq-sep { color: var(--coral); font-size: 11px; }

/* ════════════════ SECTION BASE ════════════════ */
.section { position: relative; padding: 130px 5%; max-width: 1340px; margin: 0 auto; }
.section-head { margin-bottom: 70px; }
.section-head.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral-2); margin-bottom: 20px;
}
.eyebrow-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 6px;
  border: 1px solid rgba(226, 87, 43, 0.4); border-radius: 100px;
  font-size: 10px; color: var(--coral-2);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 54px); font-weight: 700;
  line-height: 1.08; color: var(--cream); letter-spacing: -0.8px;
}
.section-title em { font-style: italic; color: var(--coral-2); }
.section-sub {
  font-size: 16.5px; color: var(--muted); max-width: 560px;
  margin-top: 18px; line-height: 1.75; font-weight: 300;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* scroll-reveal default state (activated by JS; harmless if JS fails) */
html.js .sr { opacity: 0; transform: translateY(34px); }
html.js .sr.visible { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }

/* ════════════════ PROBLEM ════════════════ */
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 0; overflow: hidden;
  margin-bottom: 60px;
}
.problem-stat {
  background: var(--bg-2); padding: 44px 26px; text-align: center;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.problem-stat::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-io);
}
@media (hover: hover) and (pointer: fine) {
  .problem-stat:hover { background: var(--panel); }
  .problem-stat:hover::after { transform: scaleX(1); }
}
.problem-stat .num {
  font-family: var(--serif); font-size: clamp(40px, 4.4vw, 58px); font-weight: 700;
  color: var(--coral-2); line-height: 1; margin-bottom: 14px;
}
.problem-stat .label { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.problem-turn {
  text-align: center; max-width: 620px; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(19px, 2vw, 23px);
  color: var(--cream); font-weight: 500; line-height: 1.55;
}
.problem-turn span { color: var(--coral-2); font-style: italic; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .problem-grid { grid-template-columns: 1fr; } }

/* ════════════════ PROCESS ════════════════ */
.process { background: transparent; }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  position: relative; padding-top: 10px;
}
.process-line {
  position: absolute; top: 42px; left: 14%; right: 14%; height: 1.5px;
  background: var(--line);
}
.process-line span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--coral), var(--coral-2));
  transform: scaleX(0); transform-origin: left;
}
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-num {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--bg); border: 1.2px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px; position: relative; z-index: 1;
  font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--cream);
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
@media (hover: hover) and (pointer: fine) {
  .process-step:hover .process-num {
    background: var(--coral-btn); border-color: var(--coral-btn); color: var(--cream-2);
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 14px 40px rgba(226, 87, 43, 0.4);
  }
}
.process-step h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--cream); margin-bottom: 12px;
}
.process-step p { font-size: 14.5px; color: var(--muted); line-height: 1.75; max-width: 290px; margin: 0 auto; font-weight: 300; }
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr; gap: 52px; }
  .process-line { display: none; }
}

/* ════════════════ RANGE ════════════════ */
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.range-card {
  position: relative;
  aspect-ratio: 3 / 4; cursor: default;
}
/* GSAP's scroll-parallax owns .range-card's own transform (set continuously
   as an inline style); the hover lift lives on this inner wrapper instead so
   the two never fight over the same transform (inline always wins otherwise). */
.range-card-surface {
  position: relative; width: 100%; height: 100%;
  border-radius: 0; overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.1), 0 1px 0 rgba(0, 0, 0, 0.5), 0 26px 50px -30px rgba(0, 0, 0, 0.65);
}
@media (hover: hover) and (pointer: fine) {
  .range-card-surface:hover { transform: translateY(-10px); box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.14), 0 1px 0 rgba(0, 0, 0, 0.5), 0 40px 70px -30px rgba(0, 0, 0, 0.75); }
}
.range-card img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
  filter: saturate(0.9);
}
@media (hover: hover) and (pointer: fine) {
  .range-card-surface:hover img { transform: scale(1.08); filter: saturate(1.05); }
}
.range-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.range-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; opacity: 0.85;
}
.range-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; color: #fff; }
.range-1 .range-overlay { background: linear-gradient(180deg, rgba(45, 33, 18, 0) 30%, rgba(45, 33, 18, 0.9) 100%); }
.range-1 .range-tag { color: #F2C265; }
.range-2 .range-overlay { background: linear-gradient(180deg, rgba(20, 28, 38, 0) 30%, rgba(20, 28, 38, 0.9) 100%); }
.range-2 .range-tag { color: #8FB7E0; }
.range-3 .range-overlay { background: linear-gradient(180deg, rgba(30, 12, 12, 0) 30%, rgba(30, 12, 12, 0.9) 100%); }
.range-3 .range-tag { color: #E8907A; }
.range-4 .range-overlay { background: linear-gradient(180deg, rgba(18, 30, 24, 0) 30%, rgba(18, 30, 24, 0.9) 100%); }
.range-4 .range-tag { color: #9FCBAE; }
.range-note { text-align: center; margin-top: 42px; font-size: 14.5px; color: var(--muted); font-weight: 300; }
@media (max-width: 900px) { .range-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════ PRICING ════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 56px; align-items: stretch;
  perspective: 1600px;
}
.price-card {
  --mx: 50%; --my: 50%;
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: 0;
  padding: 42px 34px; display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.08), 0 1px 0 rgba(0, 0, 0, 0.4);
}
.price-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(226, 87, 43, 0.12), transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
@media (hover: hover) and (pointer: fine) {
  .price-card:hover::before { opacity: 1; }
  .price-card:hover { border-color: rgba(226, 87, 43, 0.45); box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.1), 0 1px 0 rgba(0, 0, 0, 0.4), 0 36px 64px -34px rgba(0, 0, 0, 0.75); }
}
.price-card.featured { border-color: rgba(226, 87, 43, 0.65); background: var(--panel-2); }
.price-card.featured::after {
  content: ''; position: absolute; inset: -60%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(226, 87, 43, 0.4) 60deg, transparent 130deg);
  animation: spin-border 6s linear infinite;
  opacity: 0.5;
}
@keyframes spin-border { to { transform: rotate(360deg); } }
.featured-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--coral-btn); color: var(--cream-2);
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px;
}
.price-tier {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral-2); margin-bottom: 16px;
}
.price-amount {
  font-family: var(--serif); font-size: 50px; font-weight: 700;
  color: var(--cream); line-height: 1; margin-bottom: 8px;
}
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 30px; line-height: 1.65; font-weight: 300; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; flex-grow: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--cream); line-height: 1.55; font-weight: 300; }
.price-check {
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(226, 87, 43, 0.16); color: var(--coral-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.price-cta {
  display: block; text-align: center; padding: 15px; border-radius: 100px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1.2px solid var(--line-2); color: var(--cream);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.14s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .price-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
}
.price-card.featured .price-cta { background: var(--coral-btn); border-color: var(--coral-btn); color: var(--cream-2); }
@media (hover: hover) and (pointer: fine) {
  .price-card.featured .price-cta:hover { background: var(--coral-btn-hover); border-color: var(--coral-btn-hover); }
}
.care-plan-note {
  text-align: center; margin: 40px auto 0; font-size: 14px; color: var(--muted);
  padding: 18px 26px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 100px; max-width: 640px; line-height: 1.6;
}
.care-plan-note strong { color: var(--cream); }
.care-plan-note.founding {
  margin: 0 auto; max-width: 480px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px;
  color: var(--coral-2); border-color: rgba(226, 87, 43, 0.35);
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .care-plan-note { border-radius: 16px; }
}

/* ════════════════ PORTFOLIO ════════════════ */
.portfolio { max-width: none; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portfolio-head, .portfolio-grid { max-width: 1340px; margin-left: auto; margin-right: auto; }
.portfolio-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px; margin-bottom: 60px;
}
.portfolio-head .section-sub { margin-top: 0; }

/* lit shelf — a shelf you browse, not a grid you scan */
.shelf-wrap { position: relative; margin: 0 -5%; padding: 0 5%; }
.shelf-wrap::before {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 90px;
  z-index: 0; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 100%, rgba(226, 87, 43, 0.14), transparent 75%);
}
.shelf-wrap::after {
  content: ''; position: absolute; left: 5%; right: 5%; bottom: 6px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.shelf-hint {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 20px;
}
.shelf-hint .shelf-hint-arrow { display: inline-block; animation: shelf-hint-drift 1.8s ease-in-out infinite; }
@keyframes shelf-hint-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.portfolio-grid {
  position: relative; z-index: 1;
  display: flex; gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 46px; margin-bottom: -6px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.portfolio-grid::-webkit-scrollbar { display: none; }
.portfolio-card {
  --mx: 50%; --my: 50%;
  flex: 0 0 clamp(300px, 33vw, 400px);
  scroll-snap-align: start;
  position: relative; isolation: isolate;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 0; overflow: hidden; cursor: pointer;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.08), 0 1px 0 rgba(0, 0, 0, 0.4), 0 30px 60px -40px rgba(0, 0, 0, 0.7);
}
.portfolio-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(226, 87, 43, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-card:active { transform: scale(0.98) !important; }
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover::before { opacity: 1; }
  .portfolio-card:hover {
    border-color: rgba(226, 87, 43, 0.4);
    box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.12), 0 1px 0 rgba(0, 0, 0, 0.4), 0 46px 80px -40px rgba(0, 0, 0, 0.8);
  }
}
@media (max-width: 900px) {
  .portfolio-card { flex-basis: min(82vw, 360px); }
}
.portfolio-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.portfolio-thumb img, .portfolio-thumb .coffee-overlay-wrap {
  width: 100%; height: 100%; object-fit: cover;
}
.portfolio-thumb > img, .portfolio-thumb .coffee-overlay-wrap img {
  transition: transform 0.9s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover .portfolio-thumb > img,
  .portfolio-card:hover .coffee-overlay-wrap img { transform: scale(1.07); }
}
.portfolio-thumb .coffee-text-overlay {
  align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(20, 12, 4, 0.08) 0%, rgba(20, 12, 4, 0.3) 70%, transparent 100%);
}
.portfolio-thumb .coffee-text-overlay h4 { font-size: 17px; margin-bottom: 8px; }
.portfolio-thumb .coffee-text-overlay span { font-size: 9px; padding: 5px 11px; }
.portfolio-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
  display: flex; align-items: flex-end; padding: 18px;
}
.portfolio-overlay span {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  color: #fff; letter-spacing: 1.5px; text-transform: uppercase;
}
.portfolio-info { padding: 26px; }
.portfolio-info h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--cream); }
.portfolio-info p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; font-weight: 300; }
.portfolio-link {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--coral-2); text-decoration: none;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px;
}
.portfolio-link span { transition: transform 0.3s var(--ease-out); display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .portfolio-link:hover span { transform: translateX(5px); }
}

/* ════════════════ LIGHTBOX ════════════════ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(6, 11, 9, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-box {
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 0; overflow: hidden;
  max-width: 900px; width: 100%; max-height: 88vh; overflow-y: auto;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 60px 140px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-overlay.open .lightbox-box { transform: scale(1) translateY(0); }
.lightbox-img-wrap { width: 100%; background: var(--bg-2); position: relative; }
.lightbox-img-wrap img { width: 100%; display: block; }
.lightbox-photo-overlay.coffee-text-overlay h4 { font-size: clamp(20px, 3.2vw, 30px); margin-bottom: 14px; }
.lightbox-photo-overlay.coffee-text-overlay span { font-size: clamp(11px, 1.3vw, 14px); padding: 8px 18px; }
.lightbox-content { padding: 30px 34px 34px; }
.lightbox-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral-2); margin-bottom: 12px;
}
.lightbox-content h3 { font-family: var(--serif); font-size: 26px; color: var(--cream); margin-bottom: 10px; }
.lightbox-content p { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.lightbox-btn { margin-top: 22px; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(244, 239, 228, 0.1); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; cursor: pointer; border: 1px solid var(--line-2);
  transition: background 0.25s, transform 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .lightbox-close:hover { background: var(--coral); transform: rotate(90deg); }
}
@media (max-width: 700px) { .lightbox-content { padding: 22px 22px 26px; } }

/* ════════════════ LIGHT ZONE (quote + about) ════════════════ */
.light-zone { background: var(--cream-2); color: var(--ink); position: relative; }
.light-zone::before, .light-zone::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink-line);
}
.light-zone::before { top: 0; }
.light-zone::after { bottom: 0; }

.quote-section { padding: 120px 6% 80px; max-width: 940px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 90px; color: var(--coral); opacity: 0.3; line-height: 0.6; }
.quote-text {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px); color: var(--ink);
  line-height: 1.45; margin: 22px 0 30px;
}
.quote-text .qw { opacity: 0.13; }
.quote-author { font-family: var(--mono); font-size: 12.5px; color: var(--ink-mut); font-weight: 500; letter-spacing: 0.5px; }

.about-section { padding: 60px 6% 130px; }
.about-grid {
  display: grid; grid-template-columns: 0.38fr 1fr; gap: 64px; align-items: start;
  max-width: 1020px; margin: 0 auto;
}
.about-avatar-wrap { position: sticky; top: 120px; }
.about-avatar {
  position: relative; width: 100%; max-width: 210px; aspect-ratio: 1;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.about-avatar::before {
  content: ''; position: absolute; inset: 15%;
  background: var(--ink); border-radius: 50%;
  box-shadow: 0 24px 60px -18px rgba(20, 36, 33, 0.45);
}
.avatar-letter {
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 700; font-style: italic;
  color: var(--coral-2); font-size: clamp(44px, 6vw, 64px);
}
.avatar-orbit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: orbit-spin 26s linear infinite;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.avatar-orbit text {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 2.5px; fill: var(--ink-mut);
}
.about-content .eyebrow { color: var(--coral-btn); }
.about-content .eyebrow-num { border-color: rgba(188, 67, 30, 0.5); color: var(--coral-btn); }
.about-title {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink); margin-bottom: 28px; line-height: 1.15; letter-spacing: -0.5px;
}
.about-content p { font-size: 16px; color: var(--ink-mut); line-height: 1.9; margin-bottom: 24px; font-weight: 400; }
.about-content p strong { color: var(--ink); }
.about-strong { margin-bottom: 0 !important; font-size: 17px !important; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-avatar-wrap { position: static; }
  .about-avatar { max-width: 170px; }
  .about-content { text-align: left; }
  .about-content .eyebrow { justify-content: center; width: 100%; }
}

/* ════════════════ FAQ ════════════════ */
.faq { max-width: 880px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 26px 6px; color: var(--cream);
  font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); font-weight: 600;
  transition: color 0.3s, transform 0.35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .faq-q:hover { color: var(--coral-2); transform: translateX(14px); }
}
.faq-icon {
  position: relative; width: 30px; height: 30px; flex-shrink: 0;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease-io);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.5px; background: var(--cream);
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.45s var(--ease-io), background 0.3s; }
.faq-item.open .faq-icon { background: var(--coral); border-color: var(--coral); transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-io);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p {
  padding: 0 6px 28px; max-width: 700px;
  font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300;
}

/* ════════════════ CONTACT ════════════════ */
.contact-section {
  position: relative; padding: 130px 5%;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; bottom: -40%; left: -15%;
  width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(circle, rgba(226, 87, 43, 0.1) 0%, transparent 62%);
}
.contact-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px;
  max-width: 1240px; margin: 0 auto; align-items: flex-start;
}
.contact-list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.65; font-weight: 300; }
.contact-list .num {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(226, 87, 43, 0.16); color: var(--coral-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.lead-form {
  background: rgba(17, 32, 26, 0.65);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 0; padding: 38px;
  box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.08), 0 1px 0 rgba(0, 0, 0, 0.4), 0 40px 90px -46px rgba(0, 0, 0, 0.65);
}
.hp-field { display: none; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-2); border-radius: 8px;
  font-family: var(--sans); font-size: 14.5px; color: var(--cream);
  background: rgba(10, 19, 16, 0.6);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-row select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F4EFE4' stroke-opacity='0.5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form-row select option { background: var(--panel); color: var(--cream); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted-2); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(226, 87, 43, 0.18);
}
.form-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; justify-content: center;
  background: var(--coral-btn); color: var(--cream-2); border: none;
  padding: 16px; font-size: 15px; font-weight: 600; font-family: var(--sans);
  border-radius: 100px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: box-shadow 0.3s, transform 0.14s var(--ease-out);
}
.form-submit::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #c94a22; transform: translateY(101%);
  transition: transform 0.45s var(--ease-io);
}
@media (hover: hover) and (pointer: fine) {
  .form-submit:hover::before { transform: translateY(0); }
  .form-submit:hover { box-shadow: 0 14px 40px rgba(226, 87, 43, 0.4); }
}
.form-note { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.visible { display: block; animation: form-success-in 0.5s var(--ease-out); }
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(226, 87, 43, 0.16); color: var(--coral-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 20px;
}
.form-success h3 { font-family: var(--serif); font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.form-error .check { background: rgba(226, 87, 43, 0.16); color: var(--coral); }
.form-error p { margin-bottom: 20px; }
.form-error p a { color: var(--coral-2); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row-pair { grid-template-columns: 1fr; }
  .lead-form { padding: 28px 22px; }
}

/* ════════════════ CTA BANNER — full-bleed theatrical chapter ════════════════ */
.cta-banner {
  position: relative; margin: 0; max-width: none; width: 100%;
  padding: clamp(90px, 16vw, 190px) 6%;
  background: linear-gradient(175deg, #180b06 0%, #4a1c0c 42%, var(--coral) 128%);
  border: none;
  border-top: 1px solid rgba(226, 87, 43, 0.3);
  border-bottom: 1px solid rgba(226, 87, 43, 0.3);
  border-radius: 0;
  text-align: center; overflow: hidden;
}
.cta-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(50% 60% at 24% 22%, rgba(239, 121, 80, 0.55), transparent 70%),
    radial-gradient(55% 65% at 78% 78%, rgba(226, 87, 43, 0.6), transparent 72%),
    radial-gradient(42% 50% at 50% 105%, rgba(16, 8, 5, 0.9), transparent 70%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
  pointer-events: none; mix-blend-mode: screen;
}
@keyframes aurora-drift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(14deg) scale(1.18); }
}
.cta-banner h2 {
  position: relative; z-index: 2;
  font-family: var(--serif); font-size: clamp(38px, 6vw, 88px); font-weight: 700;
  color: var(--cream-2); margin-bottom: 22px; line-height: 1.04; letter-spacing: -1.4px;
}
.cta-banner h2 em { color: var(--cream); font-style: italic; }
.cta-banner p {
  position: relative; z-index: 2;
  color: rgba(248, 245, 238, 0.82); font-size: 16.5px; margin-bottom: 44px; font-weight: 300;
}
.cta-banner .btn-primary { position: relative; z-index: 2; }
.cta-banner .btn-primary { background: var(--cream-2); color: var(--ink); }
.cta-banner .btn-primary::before { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cta-banner .btn-primary:hover { box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35); }
}
@media (max-width: 700px) {
  .cta-banner { padding: 90px 7% 100px; }
}

/* ════════════════ FOOTER ════════════════ */
footer { position: relative; padding: 40px 5% 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-word {
  display: flex; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(56px, 11.5vw, 170px); line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 50px;
  user-select: none;
}
.footer-word span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 228, 0.28);
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .footer-word:hover span { color: var(--coral); -webkit-text-stroke-color: var(--coral); }
  .footer-word span:hover { transform: translateY(-10px) rotate(-3deg); transition: transform 0.4s var(--ease-out); }
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
  max-width: 1340px; margin-left: auto; margin-right: auto;
}
.footer-brand { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--cream); margin-bottom: 14px; }
.footer-brand span { color: var(--coral-2); font-style: italic; }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 300px; font-weight: 300; }
.footer-col-title {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links .rlink { font-size: 14px; color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted-2);
  max-width: 1340px; margin: 0 auto;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .sr { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .grain { display: none; }
  .quote-text .qw { opacity: 1; }
}
