/* ==========================================================================
   DESIGN BEE STUDIO | editorial dark theme for the 3D landing page
   ========================================================================== */
:root {
  --ink: #0b0a09;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --bone: #efe9df;
  --bone-2: #d9d1c4;
  --muted: #8f877b;
  --brass: #c9a56b;
  --line: rgba(239, 233, 223, .14);
  --line-dark: rgba(11, 10, 9, .14);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 16px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; }
::selection { background: var(--brass); color: var(--ink); }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.display {
  font: 400 clamp(44px, 6.4vw, 112px)/.95 var(--serif); letter-spacing: -.02em; margin: 18px 0 0;
}
.display em { color: var(--brass); }
.sl-mask { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- grain ---------- */
/* Film grain removed: a 2x-viewport SVG-turbulence layer cost ~400 ms of GPU raster
   on integrated graphics. Kept as an opt-in class for static pages. */
.grain { display: none; }
.grain--on {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad);
}
.loader__top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.loader__brand { color: var(--bone); }
.loader__count { font: 400 clamp(120px, 24vw, 380px)/.8 var(--serif); letter-spacing: -.04em; }
.loader__count sup { font-size: .25em; vertical-align: top; color: var(--brass); margin-left: .1em; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.loader__bar span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* ---------- cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--bone); mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s;
  opacity: 0;   /* hidden until the pointer has really moved (else it sits at 0,0) */
}
.has-cursor .cursor.is-live { opacity: 1; }
.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(239,233,223,.9); }
.has-cursor .cursor.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--brass); mix-blend-mode: normal; }
.cursor__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor__label { opacity: 1; }
.is-dragging .cursor { transform: scale(.8); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad); transition: background .5s, padding .5s, color .4s;
}
.nav.scrolled { padding-top: 14px; padding-bottom: 14px; background: linear-gradient(rgba(11,10,9,.65), rgba(11,10,9,0)); }
.nav.on-light.scrolled { background: rgba(11,10,9,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__logo { height: 44px; width: auto; filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__link { position: relative; font-size: 13px; letter-spacing: .04em; color: rgba(239,233,223,.82); transition: color .3s; }
.nav__link sup { font-size: 9px; color: var(--brass); margin-right: 4px; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover { color: var(--bone); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(239,233,223,.35);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .4s, color .4s, border-color .4s;
}
.nav__cta:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.nav-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   3D EXPERIENCE
   ========================================================================== */
.exp { position: relative; height: 900vh; background: var(--ink); }
.exp__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.exp__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.is-dragging .exp__canvas { cursor: grabbing; }
.exp__fallback { position: absolute; inset: 0; display: none; }
.exp__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.exp__fallback img.is-on { opacity: 1; }
.no-webgl .exp__fallback { display: block; }
.no-webgl .exp__canvas, .no-webgl .compass { display: none; }
.exp__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(8,7,6,.62) 0%, rgba(8,7,6,.12) 42%, transparent 60%),
    linear-gradient(0deg, rgba(8,7,6,.5) 0%, transparent 28%),
    linear-gradient(180deg, rgba(8,7,6,.55) 0%, transparent 18%);
}

/* chapters */
.chapter { position: absolute; pointer-events: none; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.chapter.is-active { opacity: 1; visibility: visible; }
.warm-captions .chapter { visibility: visible !important; opacity: 1 !important; }
.chapter.is-active a, .chapter.is-active button { pointer-events: auto; }

.hero { left: var(--pad); right: var(--pad); bottom: clamp(48px, 10vh, 120px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-2); }
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(201,165,107,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(201,165,107,0); } 100% { box-shadow: 0 0 0 0 rgba(201,165,107,0); } }
.hero__title { margin: 0; font: 400 clamp(52px, 9.4vw, 176px)/.88 var(--serif); letter-spacing: -.035em; text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero__title .line { display: block; overflow: hidden; padding: .04em .08em .22em 0; margin-bottom: -.2em; }   /* room for g/y descenders inside the reveal mask */
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--brass); padding-left: .9em; }
.hero__foot { display: flex; align-items: flex-end; gap: 48px; margin-top: 36px; }
.hero__sub { max-width: 440px; margin: 0; font-size: 15px; color: var(--bone-2); }
.hero__link { position: relative; padding-bottom: 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--brass); white-space: nowrap; }
.scrollcue { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--bone-2); }
.scrollcue__wheel { width: 22px; height: 36px; border: 1px solid rgba(239,233,223,.5); border-radius: 12px; position: relative; }
.scrollcue__wheel i { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--bone); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

.chapter--room { left: var(--pad); bottom: clamp(48px, 11vh, 130px); display: flex; gap: 28px; align-items: flex-start; max-width: 620px; }
.chapter__no { font: italic 400 clamp(64px, 8vw, 128px)/.8 var(--serif); color: rgba(239,233,223,.32); }
.chapter__tag { display: inline-block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.chapter__name { margin: 10px 0 10px; font: 400 clamp(40px, 5vw, 84px)/.95 var(--serif); letter-spacing: -.02em; }
.chapter__text { margin: 0; max-width: 380px; color: var(--bone-2); font-size: 15px; }

/* compass */
.compass {
  position: absolute; right: var(--pad); bottom: clamp(40px, 9vh, 110px); display: grid; justify-items: center; gap: 12px;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.compass.is-on { opacity: 1; transform: none; pointer-events: auto; }
.compass__title, .compass__hint { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-2); }
.compass__dial {
  position: relative; width: 176px; height: 176px; border-radius: 50%;
  border: 1px solid var(--line); background: radial-gradient(circle, rgba(11,10,9,.62), rgba(11,10,9,.42));
}
.compass__dial::before { content: ''; position: absolute; inset: 34px; border-radius: 50%; border: 1px dashed rgba(239,233,223,.18); }
.compass__needle { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: transform .2s linear; }
.compass__needle::before {
  content: ''; position: absolute; left: -26px; top: -54px; width: 52px; height: 54px;
  background: conic-gradient(from -25deg at 50% 100%, rgba(201,165,107,.55), rgba(201,165,107,0) 50deg, transparent 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.compass__needle::after { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.compass__btn {
  position: absolute; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2);
  padding: 6px 8px; border-radius: 999px; transition: color .3s, background .3s;
}
.compass__btn:hover { color: var(--bone); }
.compass__btn.is-active { background: var(--brass); color: var(--ink); }
.compass__btn--front { top: 6px; left: 50%; transform: translateX(-50%); }
.compass__btn--back { bottom: 6px; left: 50%; transform: translateX(-50%); }
.compass__btn--left { left: 4px; top: 50%; transform: translateY(-50%); }
.compass__btn--right { right: 4px; top: 50%; transform: translateY(-50%); }

/* progress rail */
.rail { position: absolute; right: calc(var(--pad) / 2); top: 22vh; bottom: 22vh; width: 1px; background: var(--line); }
.rail__fill { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
.rail__tick { position: absolute; left: -3px; top: calc(var(--at) * 100%); width: 7px; height: 1px; background: rgba(239,233,223,.5); }
.exp__count { position: absolute; top: 50%; right: calc(var(--pad) / 2 + 16px); transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-size: 11px; letter-spacing: .3em; color: var(--bone-2); }
.exp__count span { color: var(--bone); }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { position: relative; padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 12vh, 140px); background: var(--ink); overflow: hidden; }
.manifesto__text { margin: 34px 0 0; max-width: 1180px; font: 400 clamp(34px, 4.6vw, 78px)/1.08 var(--serif); letter-spacing: -.015em; }
.marquee { margin-top: clamp(80px, 12vh, 150px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; white-space: nowrap; overflow: hidden; }
.marquee__track { display: inline-flex; align-items: center; gap: 48px; font: 400 clamp(48px, 7vw, 120px)/1 var(--serif); }
.marquee__track i { font-style: normal; color: var(--brass); font-size: .4em; }
.marquee__track em { color: transparent; -webkit-text-stroke: 1px var(--bone-2); }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
/* ---------- 3D portfolio gallery ---------- */
.pf { position: relative; background: #0d0c0a; color: var(--bone); }
.pf__pin { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.pf__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 46%, rgba(201,165,107,.16), transparent 70%),
              linear-gradient(180deg, #0d0c0a 0%, #15130f 55%, #0b0a08 100%); }
.pf__head { position: absolute; z-index: 3; top: clamp(110px, 15vh, 150px); left: var(--pad); width: min(360px, 27vw); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; pointer-events: none; }
.pf__head .eyebrow { position: absolute; top: -34px; left: 0; }
.pf__title { margin: 0; font: 400 clamp(44px, 5.6vw, 92px)/.92 var(--serif); letter-spacing: -.02em; }
.pf__title em { color: var(--brass); }
.pf__lead { margin: 0; color: var(--bone-2); font-size: 14px; line-height: 1.65; }

.pf__stage { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 42%; }
.pf__world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.pf__floor { position: absolute; left: 50%; top: 50%; width: 5200px; height: 5200px; margin: -2600px 0 0 -2600px; pointer-events: none;
  transform: translateY(calc(var(--card-h) / 2 + 26px)) rotateX(90deg);
  background:
    repeating-linear-gradient(90deg, rgba(201,165,107,.14) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(0deg, rgba(201,165,107,.14) 0 1px, transparent 1px 160px);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 72%); mask-image: radial-gradient(closest-side, #000 18%, transparent 72%); }
/* Photo size follows the free space (both axes) so it never runs into the text column. */
.pf { --card-w: min(54vw, 980px, calc((100vh - 230px) * 1.5)); --card-h: calc(var(--card-w) * 2 / 3); }
.pf__card { position: absolute; left: 50%; top: 50%; width: var(--card-w); height: var(--card-h); margin: calc(var(--card-h) / -2 + 3vh) 0 0 calc(var(--card-w) / -2);
  transform-style: preserve-3d; will-change: transform, opacity; cursor: pointer; text-align: left; }
.pf__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: #2a2622;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(239,233,223,.08);
  -webkit-box-reflect: below 22px linear-gradient(transparent 62%, rgba(0,0,0,.28)); }
.pf__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.pf__card.is-active .pf__frame img { transform: scale(1); }
.pf__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.10), transparent 38%); pointer-events: none; }
.pf__plate { position: absolute; left: 18px; top: 16px; display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 40px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); background: rgba(11,10,9,.62); transition: opacity .5s; }
.pf__plate b { color: var(--brass); font-weight: 500; }
.pf__card.is-active .pf__plate { opacity: 0; }

.pf__info { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(30px, 6vh, 70px); width: min(360px, 27vw); min-height: 170px; }
.pf__item { position: absolute; left: 0; bottom: 72px; width: 100%; opacity: 0; visibility: hidden; }
.pf__item.is-active { opacity: 1; visibility: visible; }
.pf__no { font: italic 400 22px/1 var(--serif); color: var(--brass); }
.pf__no i { color: var(--muted); font-size: .7em; }
.pf__name { margin: 10px 0 10px; width: 100%; font: 400 clamp(32px, 3.3vw, 54px)/1 var(--serif); letter-spacing: -.015em; }
.pf__meta { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); }
.pf__meta span { color: var(--brass); margin: 0 6px; }
.pf__open { position: absolute; left: 0; bottom: 0; display: inline-flex; gap: 12px; align-items: center; padding: 13px 24px; border: 1px solid rgba(201,165,107,.55); border-radius: 40px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); transition: background .4s, color .4s; }
.pf__open:hover { background: var(--brass); color: var(--ink); }

.pf__index { position: absolute; z-index: 3; left: 38vw; right: var(--pad); bottom: 30px; margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pf__index button { display: inline-flex; gap: 10px; align-items: baseline; padding: 14px 0 6px; font-size: 12px; white-space: nowrap; color: rgba(239,233,223,.42); transition: color .4s, transform .5s var(--ease); }
.pf__index button b { font: italic 400 15px var(--serif); color: inherit; }
.pf__index button:hover { color: var(--bone); }
.pf__index button.is-active { color: var(--bone); }
.pf__index button.is-active b { color: var(--brass); }
.pf__progress { position: absolute; z-index: 3; left: 38vw; right: var(--pad); bottom: 62px; height: 1px; background: rgba(239,233,223,.12); }
.pf__progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.no-js .pf__card { position: relative; left: auto; top: auto; margin: 20px auto; }

/* ---------- End-to-end solutions: 3D tilt cards ---------- */
.sol { position: relative; min-height: 100vh; display: flex; align-items: center; padding: clamp(96px, 12vh, 130px) 0 clamp(36px, 5vh, 60px); overflow: hidden;
  background: radial-gradient(70% 55% at 50% 0%, rgba(201,165,107,.10), transparent 70%), #0f0e0c; }
.sol > .wrap { width: 100%; }
.sol__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(28px, 5vh, 60px); }
.sol__title { margin: 14px 0 0; font: 400 clamp(40px, min(5vw, 8vh), 84px)/1.02 var(--serif); letter-spacing: -.02em; }
.sol__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); perspective: 1400px; }
.sol__item { perspective: 900px; }
.sol__card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-height: clamp(118px, calc((100vh - 390px) / 3), 240px); padding: 22px 12px 18px; border-radius: 14px; color: rgba(239,233,223,.82);
  background: linear-gradient(160deg, rgba(239,233,223,.065), rgba(239,233,223,.015));
  border: 1px solid rgba(239,233,223,.08); box-shadow: 0 30px 50px -35px rgba(0,0,0,.9);
  transform-style: preserve-3d; will-change: transform; outline: none;
  transition: border-color .5s, background .5s, box-shadow .5s; }
.sol__card:hover, .sol__card:focus-visible { border-color: rgba(201,165,107,.45);
  background: linear-gradient(160deg, rgba(201,165,107,.15), rgba(239,233,223,.02));
  box-shadow: 0 44px 70px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(201,165,107,.12); }
.sol__icon { width: clamp(42px, min(4.4vw, 7.5vh), 76px); transform: translateZ(46px); transition: transform .6s var(--ease), color .4s; }
.sol__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sol__svg .a { stroke: var(--brass); stroke-dasharray: 130; stroke-dashoffset: 0; }
.sol__card:hover .sol__icon, .sol__card:focus-visible .sol__icon { color: var(--bone); transform: translateZ(72px) scale(1.06); }
.sol__card:hover .sol__svg .a, .sol__card:focus-visible .sol__svg .a { animation: solDraw 1.1s var(--ease); }
@keyframes solDraw { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
.sol__label { font-size: 14px; letter-spacing: .02em; text-align: center; transform: translateZ(28px); }
.sol__no { position: absolute; top: 14px; left: 16px; font: italic 400 15px var(--serif); color: rgba(201,165,107,.6); transform: translateZ(18px); }
.sol__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,236,200,.14), transparent 60%); }
.sol__card:hover .sol__shine { opacity: 1; }
.sol__lit { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  border: 1px solid rgba(201,165,107,.75); background: radial-gradient(90% 90% at 50% 40%, rgba(201,165,107,.24), rgba(201,165,107,.04) 70%);
  box-shadow: 0 0 40px -6px rgba(201,165,107,.45); }
@media (max-width: 1100px) { .sol__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .sol__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px)  { .sol { min-height: 0; padding: clamp(90px, 12vh, 140px) 0; } .sol__card { min-height: 170px; } }
@media (max-width: 560px)  { .sol__grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) {
  .pf { --card-w: 84vw; }
  .pf__head { width: auto; right: var(--pad); top: 96px; gap: 12px; }
  .pf__progress { left: var(--pad); bottom: 22px; }
  .pf { --card-w: min(84vw, calc((100vh - 420px) * 1.5)); }
  .pf__lead { display: none; }
  .pf__index { display: none; }
  .pf__info { width: auto; right: var(--pad); }
  .pf__name { width: auto; }
  .pf__card { margin-top: calc(var(--card-h) / -2 - 2vh); }
}

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */
.philo { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: clamp(92px, 11vh, 120px) 0 clamp(28px, 5vh, 56px);
  background: radial-gradient(50% 60% at 22% 55%, rgba(201,165,107,.09), transparent 70%), var(--ink-2); }
.philo__ghost { position: absolute; left: 0; bottom: -0.18em; white-space: nowrap; pointer-events: none; font: italic 400 clamp(140px, 22vw, 360px)/1 var(--serif); color: rgba(201,165,107,.045); letter-spacing: -.03em; will-change: transform; }
.philo__grid { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.philo__portrait { margin: 0; perspective: 1400px; perspective-origin: 50% 40%; }
.philo__stage, .philo__tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.philo__frame { position: absolute; inset: 0; border: 1px solid rgba(201,165,107,.55); border-radius: 6px; transform: translate3d(26px, 26px, -70px); pointer-events: none; }
.philo__img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; height: min(calc(100vh - 230px), 640px); min-height: 340px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.philo__img img { width: 100%; height: 100%; object-fit: cover; }
.philo__cap { position: absolute; left: -28px; bottom: 34px; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: 6px;
  background: rgba(18,16,13,.92); border: 1px solid rgba(201,165,107,.35); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); transform: translateZ(80px); }
.philo__cap strong { font: 400 clamp(22px, 3vh, 30px)/1.05 var(--serif); }
.philo__cap span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.philo__body .display { margin: 12px 0 0; font-size: clamp(40px, min(5vw, 9vh), 96px); }
.philo__lead { margin: clamp(18px, 3.4vh, 36px) 0 0; max-width: 700px; font: 400 clamp(21px, min(2vw, 3.5vh), 34px)/1.32 var(--serif); color: var(--bone); }
.philo__lead .w { opacity: .18; }
.philo .tags { margin-top: clamp(18px, 3vh, 32px); gap: 8px; }
.philo .tags li { padding: 7px 14px; font-size: 12px; }
.philo__more { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(20px, 3.4vh, 36px); padding: 15px 28px; border-radius: 999px; border: 1px solid var(--brass);
  color: var(--bone); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; transition: background .4s, color .4s; }
.philo__more i { font-style: normal; transition: transform .5s var(--ease); }
.philo__more:hover, .philo__more:focus-visible { background: var(--brass); color: var(--ink); }
.philo__more:hover i { transform: translateX(6px); }
.philo__dlg { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 820px); padding: 0; border: 1px solid rgba(201,165,107,.3); border-radius: 14px;
  background: linear-gradient(160deg, #1e1a16, #12100d 70%); color: var(--bone); overflow: auto; overscroll-behavior: contain; }
.philo__dlg::backdrop { background: rgba(8,7,6,.78); }
.philo__dlg[open] { animation: philoDlg .6s var(--ease) both; }
@keyframes philoDlg { from { opacity: 0; transform: perspective(1200px) translateY(40px) rotateX(-10deg); } to { opacity: 1; transform: none; } }
.philo__dlg-close { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 18px 18px 0; margin: 0; }
.philo__dlg-close .circle-btn { width: 46px; height: 46px; font-size: 22px; background: rgba(18,16,13,.9); }
.philo__dlg-in { padding: 0 clamp(24px, 5vw, 60px) clamp(30px, 5vw, 56px); margin-top: -20px; }
.philo__dlg-in h3 { margin: 14px 0 22px; font: 400 clamp(32px, 4vw, 48px)/1.05 var(--serif); }
.philo__dlg-in h3 em { color: var(--brass); }
.philo__dlg-in p { margin: 0 0 1.1em; color: var(--bone-2); font-size: 16px; line-height: 1.75; }
.philo__dlg-by { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.philo__dlg-by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,165,107,.55); }
.philo__dlg-by strong { display: block; font: 400 22px var(--serif); }
.philo__dlg-by small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 40px 0 0; }
.tags li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--bone-2); transition: border-color .3s, color .3s; }
.tags li:hover { border-color: var(--brass); color: var(--bone); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding: clamp(110px, 16vh, 200px) 0; background: var(--ink); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.process__head { position: sticky; top: 110px; align-self: start; }
.process__big { margin-top: 30px; height: clamp(160px, 20vw, 300px); overflow: hidden; font: 400 clamp(160px, 20vw, 300px)/1 var(--serif); color: rgba(201,165,107,.07); -webkit-text-stroke: 1.5px rgba(201,165,107,.9); }
.process__big span { display: inline-block; }
.process__label { margin: 14px 0 0; min-height: 1.3em; font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: var(--brass); }
.process__bars { display: flex; gap: 8px; margin-top: 22px; }
.process__bars span { width: 34px; height: 2px; background: rgba(239,233,223,.16); transition: background .5s, width .6s var(--ease); }
.process__bars span.is-active { width: 64px; background: var(--brass); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 42px 0 46px 34px; border-top: 1px solid var(--line); opacity: .28; transition: opacity .6s var(--ease); }
.step:hover { opacity: .6; }
.step.is-active { opacity: 1; }
.step::before { content: ''; position: absolute; left: 0; top: 42px; bottom: 46px; width: 2px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease); }
.step.is-active::before { transform: scaleY(1); }
.step__title { transition: color .6s; }
.step.is-active .step__title { color: var(--bone); }
.step.is-active .step__body { color: rgba(239,233,223,.86); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no { font-size: 12px; letter-spacing: .26em; color: var(--brass); }
.step__title { margin: 12px 0 14px; font: 400 clamp(32px, 3.4vw, 54px)/1 var(--serif); letter-spacing: -.01em; }
.step__body { margin: 0; color: var(--bone-2); max-width: 600px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
/* ---------- Video: a tilted screen that opens into a full-bleed film ---------- */
.vs { position: relative; height: 100vh; overflow: hidden; background: radial-gradient(70% 60% at 50% 55%, #2a231b, #0d0b09 72%); }
.vs__scene { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 50%; }
.vs__title { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 46vw; pointer-events: none; z-index: 1; }
.vs__half { font: 400 clamp(30px, min(3.7vw, 7.5vh), 80px)/1 var(--serif); letter-spacing: -.025em; color: var(--bone); white-space: nowrap; will-change: transform; }
.vs__half--l { font-style: italic; color: var(--brass); }
.vs__floats { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.vs__float { position: absolute; margin: 0; width: clamp(150px, 15vw, 280px); will-change: transform; }
.vs__float img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.95); }
.vs__float figcaption { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(236,228,214,.55); }
.vs__float--1 { left: 7%; top: 14%; }
.vs__float--2 { right: 8%; top: 9%; width: clamp(130px, 12vw, 230px); }
.vs__float--3 { left: 13%; bottom: 7%; width: clamp(120px, 11vw, 210px); }
.vs__float--4 { right: 12%; bottom: 10%; }
.vs__tilt { position: absolute; inset: 0; z-index: 2; transform-style: preserve-3d; will-change: transform; }
.vs__frame { position: absolute; inset: 0; overflow: hidden; background: #000; clip-path: inset(0 round 0); will-change: clip-path; }
.vs__thumb, .vs__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vs__thumb { transform-origin: 50% 50%; will-change: transform; }
.vs__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,6,.55), transparent 30%, transparent 55%, rgba(10,8,6,.85)), radial-gradient(80% 80% at 50% 50%, transparent 55%, rgba(10,8,6,.55)); }
.vs__meta { position: absolute; left: var(--pad); bottom: clamp(22px, 5vh, 48px); margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--bone); }
.vs__meta strong { font: 400 clamp(22px, 2.2vw, 34px)/1.05 var(--serif); }
.vs__meta span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(236,228,214,.6); }
/* muted background loop: sized to cover the frame, under the shade; thumbnail fades away once it runs */
.vs__frame .vs__bg { position: absolute; inset: auto; left: 50%; top: 50%; border: 0; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity 1.2s ease; }
.vs__frame.is-looping .vs__bg { opacity: 1; }
.vs__frame.is-looping .vs__thumb { opacity: 0; transition: opacity 1.2s ease; }
.vs__ctrl { position: absolute; right: var(--pad); bottom: clamp(22px, 5vh, 48px); display: flex; gap: 10px; }
.vs__ctrl[hidden] { display: none; }
.vs__btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(236,228,214,.4);
  background: rgba(13,11,9,.45); color: var(--bone); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: background .3s, border-color .3s; }
.vs__btn:hover, .vs__btn:focus-visible { background: rgba(13,11,9,.75); border-color: var(--brass); }
.vs__pause-ic { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
#vsPause[aria-pressed="true"] .vs__pause-ic { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.vs__snd-ic { position: relative; width: 14px; height: 12px; }
.vs__snd-ic::before { content: ''; position: absolute; left: 0; top: 3px; width: 4px; height: 6px; background: currentColor; box-shadow: 3px 0 0 0 currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.vs__snd-ic::after { content: ''; position: absolute; left: 4px; top: 0; border-style: solid; border-width: 6px 6px 6px 0; border-color: transparent currentColor transparent transparent; }
#vsSound[aria-pressed="true"] { border-color: var(--brass); color: var(--brass); }
@media (max-width: 899px) {
  .vs { height: auto; padding: 110px 0 70px; }
  .vs__scene { position: relative; }
  .vs__title { position: relative; flex-direction: column; gap: 6px; padding: 0 var(--pad); align-items: flex-start; }
  .vs__floats { display: none; }
  .vs__tilt { position: relative; margin: 28px var(--pad) 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
  .vs__ctrl { right: 12px; bottom: 12px; gap: 6px; } .vs__btn { padding: 7px 10px; } .vs__btn-tx { display: none; }
  .vs__meta { left: 14px; bottom: 12px; gap: 3px; } .vs__meta strong { font-size: 15px; } .vs__meta span { font-size: 9px; }
}

/* ---------- Testimonials: pinned 3D card deck ---------- */
.tm { position: relative; background: radial-gradient(60% 60% at 75% 50%, rgba(201,165,107,.08), transparent 70%), var(--ink-3); overflow: hidden; }
.tm__pin { min-height: 100vh; display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(30px, 5vw, 90px); align-items: center; padding-top: clamp(96px, 12vh, 130px); padding-bottom: clamp(40px, 6vh, 70px); }
.tm__title { margin: 18px 0 0; font: 400 clamp(38px, min(4.4vw, 8vh), 74px)/1 var(--serif); letter-spacing: -.02em; }
.tm__title em { color: var(--brass); }
.tm__count { margin-top: clamp(20px, 4vh, 40px); font: italic 400 clamp(56px, min(6.5vw, 11vh), 110px)/1 var(--serif); color: var(--brass); }
.tm__count i { margin-left: 10px; font-size: .28em; color: var(--muted); }
.tm__people { list-style: none; margin: clamp(16px, 3vh, 30px) 0 0; padding: 0; display: grid; gap: 8px; }
.tm__people button { display: flex; gap: 12px; align-items: center; text-align: left; opacity: .4; transition: opacity .5s, transform .6s var(--ease); }
.tm__people button:hover { opacity: .75; }
.tm__people button.is-active { opacity: 1; transform: translateX(8px); }
.tm__people img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,165,107,.5); }
.tm__people strong { display: block; font-weight: 500; font-size: 14px; }
.tm__people small { color: var(--muted); font-size: 12px; }
.tm .voices__nav { margin-top: clamp(18px, 3vh, 34px); }
.tm__stage { position: relative; height: min(64vh, 580px); perspective: 1500px; perspective-origin: 50% -10%; }
.tm__deck { position: absolute; inset: 0; transform-style: flat; }
.tm__card { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; padding: clamp(26px, 3.6vw, 56px); border-radius: 18px;
  background: linear-gradient(155deg, #231f1a, #15130f 72%); border: 1px solid rgba(201,165,107,.24);
  box-shadow: 0 60px 100px -45px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,236,200,.06);
  transform-origin: 50% 100%; will-change: transform, opacity; backface-visibility: hidden; }
.tm__no { position: absolute; top: clamp(22px, 3vw, 40px); right: clamp(24px, 3.4vw, 52px); font: italic 400 20px var(--serif); color: rgba(201,165,107,.6); }
.tm__mark { display: block; height: .5em; font: 400 clamp(90px, 9vw, 150px)/.8 var(--serif); color: var(--brass); }
.tm__quote { flex: 1; margin: clamp(10px, 2vh, 22px) 0 0; font: 400 clamp(22px, min(2.3vw, 4.2vh), 40px)/1.26 var(--serif); letter-spacing: -.005em; }
.tm__by { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.tm__by img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,165,107,.55); }
.tm__by strong { display: block; font-weight: 500; }
.tm__by small { color: var(--muted); font-size: 13px; }
.tm__card > * { opacity: var(--inner, 1); }
.no-js .tm__card:not(:first-child) { display: none; }
@media (max-width: 900px) {
  .tm__pin { grid-template-columns: 1fr; gap: 22px; align-content: center; }
  .tm__people, .tm .voices__nav { display: none; }
  .tm__count { position: absolute; top: clamp(96px, 12vh, 130px); right: var(--pad); margin: 0; font-size: 48px; }
  .tm__stage { height: 60vh; }
}
.voices__nav { display: flex; align-items: center; gap: 22px; margin-top: 56px; }
.voices__count { font-size: 12px; letter-spacing: .24em; color: var(--muted); }
.voices__count span { color: var(--bone); }
.circle-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .4s, color .4s, border-color .4s; }
.circle-btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: clamp(96px, 12vh, 130px) 0 clamp(30px, 5vh, 60px); background: var(--bone); color: var(--ink); }
.contact__grid { width: 100%; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.contact .eyebrow { color: #8b6c3c; }
.contact__heading { margin: 14px 0 0; font: 400 clamp(46px, min(5.6vw, 10.5vh), 118px)/.92 var(--serif); letter-spacing: -.035em; perspective: 900px; }
.ct__w { display: inline-block; transform-style: preserve-3d; }
.ct__w > span { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.contact__sub { margin: clamp(16px, 3vh, 30px) 0 0; max-width: 460px; color: #4a443c; font-size: clamp(14px, 1.9vh, 16px); }
.ct__list { margin: clamp(14px, 3vh, 30px) 0 0; display: grid; gap: clamp(8px, 1.4vh, 14px); perspective: 900px; }
.ct__item { padding: clamp(10px, 1.6vh, 16px) 0; border-top: 1px solid var(--line-dark); transform-origin: 50% 0; }
.contact dt { margin: 0 0 4px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #8b6c3c; }
.contact dd { margin: 0; font-size: clamp(15px, 2vh, 17px); }
.ct__stage { perspective: 1600px; perspective-origin: 0% 50%; }
.ct__card { position: relative; padding: clamp(26px, 4.4vh, 50px) clamp(24px, 3vw, 50px); border-radius: 16px; background: #fbf8f2;
  border: 1px solid rgba(26,23,20,.08); box-shadow: 0 60px 100px -50px rgba(40,30,15,.45), 0 2px 0 rgba(255,255,255,.8) inset;
  transform-origin: 0% 50%; transform-style: preserve-3d; will-change: transform; }
.ct__card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(139,108,60,.22); border-radius: 10px; pointer-events: none; }
.ct__formtitle { margin: 0 0 clamp(4px, 1vh, 10px); font: italic 400 clamp(26px, 3.6vh, 36px)/1 var(--serif); color: #8b6c3c; }
.ct__card .field { margin-bottom: clamp(12px, 2.2vh, 24px); }
.ct__card .btn { margin-top: 4px; }
.contact dd a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact dd a:hover { background-size: 100% 1px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { position: relative; display: block; margin-bottom: 26px; }
.field input, .field textarea {
  width: 100%; padding: 24px 0 10px; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent;
  font: 400 17px/1.4 var(--sans); color: var(--ink); border-radius: 0; resize: vertical; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field span { position: absolute; left: 0; top: 24px; color: #6c655b; font-size: 15px; pointer-events: none; transition: transform .35s var(--ease), font-size .35s, color .3s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8b6c3c; }
.field.invalid input, .field.invalid textarea { border-color: #b3402a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 20px 34px; border-radius: 999px;
  background: var(--ink); color: var(--bone); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: background .4s;
}
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover { background: #2a2520; }
.btn:hover i { transform: translateX(6px); }
.btn:disabled { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; margin: 18px 0 0; font-size: 14px; }
.form-status.ok { color: #2f6b3a; } .form-status.err { color: #b3402a; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(110px, 14vh, 150px) 0 30px;
  background: radial-gradient(60% 50% at 50% 100%, rgba(201,165,107,.14), transparent 70%), var(--ink); perspective: 1200px; }
.footer__floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 85%; transform: rotateX(74deg); transform-origin: 50% 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); }
.footer__floor span { position: absolute; inset: 0; will-change: background-position;
  background-image: linear-gradient(rgba(201,165,107,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(201,165,107,.32) 1px, transparent 1px);
  background-size: 120px 120px; background-position: 50% 0; }
.footer__grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; perspective: 900px; }
.footer__col { transform-origin: 50% 0; }
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer__brand p { color: var(--muted); max-width: 320px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--bone-2); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--brass); }
.footer__contact address { font-style: normal; color: var(--muted); }
.footer__word { position: relative; margin: clamp(40px, 8vh, 100px) 0 clamp(10px, 2vh, 24px); text-align: center; white-space: nowrap; font: 400 clamp(56px, 13.5vw, 260px)/.85 var(--serif); letter-spacing: -.04em;
  perspective: 1000px; perspective-origin: 50% 100%; }
.fw__c { display: inline-block; transform-origin: 50% 100%; will-change: transform;
  background: linear-gradient(180deg, #efe9df 0%, #c9a56b 55%, rgba(201,165,107,.25) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__base { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; color: var(--muted); }
.footer__rule { position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; background: rgba(8,7,6,.94); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .5s; }
.lightbox__figure { margin: 0; max-width: min(1200px, 88vw); }
.lightbox__figure img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox__figure figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; text-align: center; }
.lightbox__figure strong { font: 400 32px/1.1 var(--serif); font-weight: 400; }
#lbCat, #lbLoc { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.lightbox__close { position: absolute; top: 22px; right: var(--pad); font-size: 38px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; }
.lightbox__nav--prev { left: var(--pad); } .lightbox__nav--next { right: var(--pad); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__link sup { display: none; }
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 14px; padding: 0 var(--pad);
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s;
  }
  .nav__link { font: 400 44px/1.1 var(--serif); }
  .nav__link sup { display: inline; font: 500 11px var(--sans); }
  .nav-open .nav__links { opacity: 1; visibility: visible; transition: opacity .5s; }
  .philo__grid, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .contact { min-height: 0; display: block; padding: 110px 0 80px; }
  .philo__portrait, .process__head { position: static; }
  .philo__portrait { max-width: 440px; }
  .philo { min-height: 0; display: block; padding: 110px 0 80px; }
  .philo__img { height: auto; min-height: 0; }
  .philo__cap { left: 12px; bottom: 16px; }
  .philo__frame { transform: translate3d(14px, 14px, -40px); }
  .process__big { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .exp { height: 760vh; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__title em { padding-left: 0; }
  .scrollcue { display: none; }
  .chapter--room { bottom: 220px; right: var(--pad); gap: 16px; }
  .chapter__no { display: none; }
  .compass { right: 50%; transform: translate(50%, 20px); bottom: 26px; }
  .compass.is-on { transform: translate(50%, 0); }
  .compass__dial { width: 150px; height: 150px; }
  .compass__title { display: none; }
  .rail, .exp__count { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Reduced motion: keep the scroll-driven walkthrough (user-controlled), drop ambient motion */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__kicker .dot, .scrollcue__wheel i { animation: none; }
}

/* ==========================================================================
   POLISH v2: testimonials / contact / footer
   ========================================================================== */
/* --- testimonials --- */
.tm__bg { position: absolute; inset: 0; pointer-events: none; }
.tm__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.7) blur(2px); transform: scale(1.06); }
.tm__bg::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 72% 50%, rgba(29,26,23,.35), rgba(16,14,12,.94) 72%), linear-gradient(90deg, rgba(16,14,12,.96) 0%, rgba(16,14,12,.6) 45%, rgba(16,14,12,.75) 100%); }
.tm__ghost { position: absolute; left: -2vw; top: 38vh; font: 400 clamp(260px, 34vw, 640px)/1 var(--serif); color: transparent;
  -webkit-text-stroke: 1px rgba(201,165,107,.13); pointer-events: none; user-select: none; }
.tm__pin { position: relative; }
.tm__title em { background: linear-gradient(100deg, #e9d3a8, #c9a56b 55%, #9c7a45); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.tm__rail { position: relative; width: min(240px, 80%); height: 1px; margin-top: 14px; background: rgba(239,233,223,.14); }
.tm__rail i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--tmp, 0) * 100%); background: linear-gradient(90deg, #8b6c3c, var(--brass)); border-radius: 2px; box-shadow: 0 0 12px rgba(201,165,107,.6); }
.tm__people button { padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid transparent; }
.tm__people button.is-active { border-color: rgba(201,165,107,.35); background: linear-gradient(90deg, rgba(201,165,107,.12), rgba(201,165,107,0)); }
.tm__card { background: linear-gradient(155deg, rgba(42,37,31,.94), rgba(20,18,15,.97) 70%);
  border: 1px solid rgba(201,165,107,.32); overflow: hidden;
  box-shadow: 0 70px 120px -50px rgba(0,0,0,1), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,236,200,.1); }
/* brass corner brackets */
.tm__card::before, .tm__card::after { content: ''; position: absolute; width: 34px; height: 34px; pointer-events: none; opacity: var(--inner, 1); }
.tm__card::before { left: 14px; top: 14px; border-left: 1px solid var(--brass); border-top: 1px solid var(--brass); border-top-left-radius: 8px; }
.tm__card::after { right: 14px; bottom: 14px; border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass); border-bottom-right-radius: 8px; }
.tm__glow { position: absolute; right: -18%; top: -40%; width: 70%; height: 90%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,165,107,.16), transparent); }
.tm__mark { background: linear-gradient(180deg, #e9d3a8, #9c7a45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tm__quote { position: relative; }
.tm__by { position: relative; padding-top: 22px; border-top: 1px solid rgba(201,165,107,.2); }
.tm__by img { width: 60px; height: 60px; border: 0; box-shadow: 0 0 0 2px #1a1714, 0 0 0 3px var(--brass), 0 10px 24px rgba(0,0,0,.5); }
.tm__by strong { font-size: 17px; letter-spacing: .01em; }
.tm__by small { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--brass); }

/* --- contact --- */
.contact { background: radial-gradient(50% 60% at 85% 50%, rgba(201,165,107,.14), transparent 70%), var(--bone); }
.ct__panel { position: absolute; left: 0; top: 0; bottom: 0; width: 47%; overflow: hidden; background: var(--ink);
  border-radius: 0 28px 28px 0; }
.ct__panel img { width: 100%; height: 100%; object-fit: cover; opacity: .42; will-change: transform; }
.ct__panel::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.72) 60%, rgba(11,10,9,.5) 100%), radial-gradient(60% 50% at 30% 40%, rgba(201,165,107,.16), transparent 70%); }
.contact__info { position: relative; color: var(--bone); padding-right: clamp(10px, 2vw, 40px); }
.contact .contact__info .eyebrow { color: var(--brass); }
.contact__sub { color: rgba(239,233,223,.72); }
.ct__item { position: relative; padding-left: 62px; border-top-color: rgba(239,233,223,.14); }
.ct__item::before { content: ''; position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  border: 1px solid rgba(201,165,107,.45); background: radial-gradient(circle, rgba(201,165,107,.16), rgba(201,165,107,.02)); }
.ct__item::after { content: ''; position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--brass);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ct__item--pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ct__item--mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5 12 13l8.5-6.5'/%3E%3C/svg%3E"); }
.ct__item--tel { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M5 3.5h3.2l1.6 4.4-2 1.3a11 11 0 0 0 7 7l1.3-2 4.4 1.6V19a1.6 1.6 0 0 1-1.7 1.6C10.6 20.1 3.9 13.4 3.4 5.2A1.6 1.6 0 0 1 5 3.5z'/%3E%3C/svg%3E"); }
.contact .contact__info dt { color: var(--brass); }
.contact .contact__info dd { color: var(--bone); }
.ct__card { background: linear-gradient(170deg, #fffdf9, #f6f0e5); border: 1px solid rgba(139,108,60,.18);
  box-shadow: 0 80px 120px -60px rgba(40,30,15,.55), 0 30px 60px -40px rgba(139,108,60,.35), 0 2px 0 rgba(255,255,255,.9) inset; overflow: hidden; }
.ct__card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #8b6c3c, #e2c48e, #8b6c3c); }
.ct__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(4px, 1vh, 10px); }
.ct__head .ct__formtitle { margin: 0; }
.ct__step { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #9a8a72; }
.ct__card .field input, .ct__card .field textarea { border-bottom-color: rgba(139,108,60,.28); }
.ct__card .field input:focus, .ct__card .field textarea:focus { border-color: #8b6c3c; box-shadow: 0 1px 0 0 #8b6c3c; }
.ct__card .btn { background: linear-gradient(120deg, #1a1714, #2b251e); box-shadow: 0 18px 30px -16px rgba(26,23,20,.7); }
.ct__card .btn i { color: var(--brass); }
.ct__alt { margin: 6px 0 0; font-size: 13px; color: #7a7064; }
.ct__alt a { color: #8b6c3c; font-weight: 500; border-bottom: 1px solid rgba(139,108,60,.35); }
.ct__alt a:hover { border-color: #8b6c3c; }

/* --- footer --- */
.footer__cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: clamp(30px, 6vh, 60px); margin-bottom: clamp(30px, 6vh, 60px); }
.footer__cta::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(201,165,107,.5), rgba(239,233,223,.12) 60%, transparent); }
.footer__ask { margin: 0; font: 400 clamp(34px, 4.4vw, 76px)/1 var(--serif); letter-spacing: -.02em; }
.footer__ask em { display: block; color: var(--brass); }
.footer__go { position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 22px 34px; border-radius: 999px;
  background: linear-gradient(120deg, #e2c48e, #c9a56b 50%, #a17f48); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  box-shadow: 0 20px 40px -18px rgba(201,165,107,.7); transition: transform .5s var(--ease), box-shadow .5s; }
.footer__go i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--brass); font-style: normal; transition: transform .5s var(--ease); }
.footer__go:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -20px rgba(201,165,107,.85); }
.footer__go:hover i { transform: rotate(-45deg); }
.footer__h { margin: 0 0 8px; font: 500 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }
.footer__nav a, .footer__contact a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.footer__nav a:hover, .footer__contact a:hover { background-size: 100% 1px; }
.footer__top { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-2); }
.footer__top i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201,165,107,.45); font-style: normal; color: var(--brass); transition: background .4s, color .4s; }
.footer__top:hover i { background: var(--brass); color: var(--ink); }
.footer__word { margin-top: clamp(24px, 5vh, 70px); }
@media (max-width: 900px) {
  .contact__info { margin-bottom: 34px; padding-right: 0; }
  .ct__card { padding: 26px 18px; }
  .tm__ghost { top: 52vh; left: auto; right: -4vw; font-size: 80vw; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__go { padding: 18px 26px; }
}

/* ==========================================================================
   POLISH v3: dark lead form + richer footer
   ========================================================================== */
.contact { background: var(--ink); color: var(--bone); }
.ct__panel { width: 100%; border-radius: 0; }
.ct__panel img { opacity: .5; }
.ct__panel::after {
  background: linear-gradient(180deg, rgba(11,10,9,.55) 0%, transparent 22%, transparent 68%, var(--ink) 100%),
              linear-gradient(90deg, rgba(11,10,9,.95) 0%, rgba(11,10,9,.8) 42%, rgba(11,10,9,.62) 100%),
              radial-gradient(50% 60% at 78% 50%, rgba(201,165,107,.14), transparent 70%); }
.ct__card { background: linear-gradient(160deg, rgba(38,33,27,.82), rgba(14,12,10,.9)); color: var(--bone);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(201,165,107,.3); box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,236,200,.1); }
.ct__card::before { border-color: rgba(201,165,107,.1); }
.ct__formtitle { color: #e2c48e; }
.ct__step { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(201,165,107,.35); color: #e2c48e; }
.ct__card .form__row { gap: 0 14px; }
.ct__card .field { margin-bottom: clamp(10px, 1.6vh, 14px); }
.ct__card .field input, .ct__card .field textarea, .ct__card .field select {
  width: 100%; padding: 24px 16px 9px; border: 1px solid rgba(239,233,223,.13); border-radius: 12px; background: rgba(239,233,223,.035);
  font: 400 15px/1.4 var(--sans); color: var(--bone); transition: border-color .3s, background .3s, box-shadow .3s; }
.ct__card .field textarea { display: block; min-height: 84px; }
.ct__card .field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background: rgba(239,233,223,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a56b' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat; }
.ct__card .field select option { background: #1a1714; color: var(--bone); }
.ct__card .field input:hover, .ct__card .field textarea:hover, .ct__card .field select:hover { border-color: rgba(201,165,107,.4); }
.ct__card .field input:focus, .ct__card .field textarea:focus, .ct__card .field select:focus {
  outline: none; border-color: var(--brass); background-color: rgba(201,165,107,.06); box-shadow: 0 0 0 4px rgba(201,165,107,.12); }
.ct__card .field span { left: 17px; top: 17px; color: rgba(239,233,223,.55); font-size: 14px; }
.ct__card .field input:focus + span, .ct__card .field input:not(:placeholder-shown) + span,
.ct__card .field textarea:focus + span, .ct__card .field textarea:not(:placeholder-shown) + span,
.ct__card .field--select span { transform: translateY(-10px); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.ct__card .field.invalid input, .ct__card .field.invalid textarea { border-color: #d0674f; box-shadow: 0 0 0 3px rgba(208,103,79,.15); }
.ct__card .btn { width: 100%; justify-content: center; margin-top: 6px; background: linear-gradient(120deg, #e2c48e, #c9a56b 50%, #a17f48); color: var(--ink);
  font-weight: 600; box-shadow: 0 22px 40px -18px rgba(201,165,107,.65); transition: transform .4s var(--ease), box-shadow .4s; }
.ct__card .btn:hover { background: linear-gradient(120deg, #ecd3a3, #d4b077 50%, #ad8a52); transform: translateY(-2px); box-shadow: 0 30px 50px -20px rgba(201,165,107,.8); }
.ct__card .btn i { color: var(--ink); }
.ct__card .form-status { margin-top: 12px; text-align: center; } .ct__card .form-status.ok { color: #9fd3a6; } .ct__card .form-status.err { color: #f08a72; }
.ct__alt { margin: 4px 0 0; text-align: center; color: rgba(239,233,223,.6); }
.ct__alt a { color: #e2c48e; border-bottom-color: rgba(226,196,142,.4); }
.ct__alt a:hover { border-color: #e2c48e; }

/* footer: 4 columns with icons and directions */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(28px, 3vw, 56px); }
.footer__more { margin-top: 4px; color: var(--brass) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.fc { position: relative; padding-left: 30px; }
.fc::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: var(--brass);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.fc--pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.fc--mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5 12 13l8.5-6.5'/%3E%3C/svg%3E"); }
.fc--tel { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M5 3.5h3.2l1.6 4.4-2 1.3a11 11 0 0 0 7 7l1.3-2 4.4 1.6V19a1.6 1.6 0 0 1-1.7 1.6C10.6 20.1 3.9 13.4 3.4 5.2A1.6 1.6 0 0 1 5 3.5z'/%3E%3C/svg%3E"); }
.footer__map { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(201,165,107,.45);
  color: var(--brass) !important; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; background: none !important; transition: background .4s, color .4s !important; }
.footer__map:hover { background: var(--brass) !important; color: var(--ink) !important; }
.footer__map i { font-style: normal; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__credit strong { font-weight: 600; letter-spacing: .04em; background: linear-gradient(100deg, #e9d3a8, #c9a56b); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .footer__base { flex-direction: column; gap: 8px; } }
.footer__credit a { border-bottom: 1px solid rgba(201,165,107,.35); transition: border-color .3s; }
.footer__credit a:hover { border-color: var(--brass); }

/* ==========================================================================
   HEADER 3D: floating glass capsule, cube-roll links, active pill, flip hide
   ========================================================================== */
.nav { top: 0; left: 0; right: 0; transform-origin: 50% 0;
  transition: top .6s var(--ease), left .6s var(--ease), right .6s var(--ease), padding .6s var(--ease), border-radius .6s var(--ease),
              background .5s, border-color .5s, box-shadow .5s, transform .7s var(--ease), opacity .5s; border: 1px solid transparent; }
.nav.scrolled, .nav.on-light.scrolled { top: 12px; left: clamp(10px, 2vw, 28px); right: clamp(10px, 2vw, 28px); padding: 10px 12px 10px clamp(16px, 1.6vw, 26px); border-radius: 20px;
  background: linear-gradient(180deg, rgba(30,26,22,.72), rgba(13,11,9,.78)); border-color: rgba(201,165,107,.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,236,200,.08); }
.nav.scrolled .nav__logo { height: 38px; }
.nav__logo { transition: height .5s var(--ease); }
/* hide on scroll down: the bar folds back on its top hinge */
.nav.is-hidden { transform: perspective(900px) rotateX(-88deg); opacity: 0; pointer-events: none; }
.nav__prog { position: absolute; left: 22px; right: 22px; bottom: -1px; height: 1px; transform-origin: 0 50%; transform: scaleX(var(--np, 0));
  background: linear-gradient(90deg, transparent, var(--brass) 20%, #e9d3a8); opacity: 0; transition: opacity .5s; pointer-events: none; }
.nav.scrolled .nav__prog { opacity: 1; }

/* cube-roll link label */
@media (min-width: 961px) { .nav__links { position: relative; } }
.nav__link { padding: 8px 4px; }
.nav__link::after { display: none; }
/* real text stays in the DOM (for screen readers) but is drawn by two cube faces */
.nav__roll { display: inline-block; perspective: 360px; vertical-align: bottom; }
.nav__roll > span { position: relative; display: inline-block; color: transparent; transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: translateZ(-.6em); transition: transform .6s var(--ease); }
.nav__roll > span::before, .nav__roll > span::after { content: attr(data-t); content: attr(data-t) / ""; position: absolute; left: 0; top: 0; white-space: nowrap;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.nav__roll > span::before { color: rgba(239,233,223,.82); transform: translateZ(.6em); }
.nav__roll > span::after { color: var(--brass); transform: rotateX(-90deg) translateZ(.6em); }
.nav__link.is-active .nav__roll > span::before { color: var(--bone); }
.nav__link:hover .nav__roll > span, .nav__link:focus-visible .nav__roll > span { transform: translateZ(-.6em) rotateX(90deg); }
@media (max-width: 960px) { .nav__roll > span::before { color: var(--bone); } }
.nav__link.is-active { color: var(--bone); }
.nav__ind { position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; width: var(--iw, 0); transform: translateX(var(--ix, 0));
  border-radius: 999px; background: linear-gradient(180deg, rgba(201,165,107,.2), rgba(201,165,107,.06)); border: 1px solid rgba(201,165,107,.35);
  box-shadow: 0 6px 18px -8px rgba(201,165,107,.6), inset 0 1px 0 rgba(255,236,200,.12); opacity: var(--io, 0); pointer-events: none; z-index: -1;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .4s; }
.nav__info { display: none; }

/* CTA: brass with a passing shine */
.nav__cta { position: relative; overflow: hidden; align-items: center; gap: 10px; border-color: rgba(201,165,107,.55); color: #f3e3c3;
  background: linear-gradient(120deg, rgba(201,165,107,.18), rgba(201,165,107,.04)); }
.nav__cta i { font-style: normal; transition: transform .5s var(--ease); }
.nav__cta::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,240,210,.45), transparent); animation: navShine 4.5s ease-in-out infinite; }
@keyframes navShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.nav__cta:hover { background: linear-gradient(120deg, #e2c48e, #c9a56b 55%, #a17f48); color: var(--ink); border-color: transparent; box-shadow: 0 12px 28px -12px rgba(201,165,107,.8); }
.nav__cta:hover i { transform: translateX(4px); }

@media (max-width: 960px) {
  .nav.scrolled, .nav.on-light.scrolled { top: 8px; left: 8px; right: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; }
  .nav__ind, .nav__prog { display: none; }
  .nav__toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201,165,107,.35); background: rgba(239,233,223,.04); }
  .nav__toggle span { left: 13px; right: 13px; }
  .nav__toggle span:first-child { top: 19px; } .nav__toggle span:last-child { top: 26px; }
  /* the open menu must not be trapped inside the capsule (filters/transforms create a containing block) */
  .nav-open .nav, .nav-open .nav.scrolled { transform: none; opacity: 1; pointer-events: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__links { background: radial-gradient(80% 50% at 80% 10%, rgba(201,165,107,.16), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(201,165,107,.1), transparent 70%), var(--ink);
    perspective: 900px; gap: 6px; }
  .nav__link { padding: 6px 0; transform: rotateX(-75deg) translateY(30px); transform-origin: 50% 0; opacity: 0;
    transition: transform .8s var(--ease), opacity .6s; transition-delay: 0s; }
  .nav-open .nav__link { transform: none; opacity: 1; transition-delay: calc(.12s + var(--i, 0) * .07s); }
  .nav__info { display: flex; flex-direction: column; gap: 8px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(201,165,107,.25);
    font-size: 14px; color: var(--brass); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s var(--ease); }
  .nav-open .nav__info { opacity: 1; transform: none; transition-delay: .6s; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.is-hidden { transform: none; opacity: 1; pointer-events: auto; }
  .nav__cta::before { animation: none; }
}

/* ==========================================================================
   LEAD MODAL
   ========================================================================== */
.lead { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: none; height: min(720px, calc(100vh - 40px)); padding: 0; border: 0; background: none; color: var(--bone); overflow: visible; }
.lead::backdrop { background: radial-gradient(60% 60% at 50% 50%, rgba(30,24,16,.6), rgba(6,5,4,.9)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lead[open]::backdrop { animation: leadFade .5s ease both; }
.lead.is-closing::backdrop { animation: leadFade .35s ease reverse both; }
@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
.lead__card { position: relative; height: 100%; display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, #221d18, #0f0d0b 70%); border: 1px solid rgba(201,165,107,.3);
  box-shadow: 0 80px 160px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,236,200,.08);
  transform-origin: 50% 100%; }
.lead[open] .lead__card { animation: leadIn .9s var(--ease) both; }
.lead.is-closing .lead__card { animation: leadOut .35s ease-in both; }
@keyframes leadIn { from { opacity: 0; transform: perspective(1400px) translateY(80px) rotateX(18deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes leadOut { to { opacity: 0; transform: perspective(1400px) translateY(40px) rotateX(10deg) scale(.95); } }
.lead__card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #8b6c3c, #e2c48e, #8b6c3c); z-index: 3; }
/* left: photo panel */
.lead__side { position: relative; overflow: hidden; }
.lead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.lead[open] .lead__img { animation: leadZoom 1.6s var(--ease) both; }
@keyframes leadZoom { from { transform: scale(1.3); } to { transform: scale(1.08); } }
.lead__side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.85) 0%, rgba(11,10,9,.3) 30%, rgba(11,10,9,.92) 100%); }
.lead__side-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(26px, 3vw, 44px); }
.lead__logo { width: 120px; height: auto; filter: brightness(0) invert(1); }
.lead__quote { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.04 var(--serif); letter-spacing: -.01em; }
.lead__sub { margin: 12px 0 0; color: rgba(239,233,223,.72); font-size: 14px; }
.lead__info { list-style: none; margin: 0; padding: 18px 0 0; display: grid; gap: 10px; border-top: 1px solid rgba(201,165,107,.3); font-size: 13px; color: rgba(239,233,223,.8); }
.lead__info a:hover { color: var(--brass); }
/* right: form */
.lead__main { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 3.4vw, 50px) clamp(22px, 3.4vw, 50px); }
.lead__close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,165,107,.4);
  color: var(--bone); font-size: 22px; line-height: 1; background: rgba(239,233,223,.04); transition: background .4s, color .4s, transform .5s var(--ease); }
.lead__close:hover { background: var(--brass); color: var(--ink); transform: rotate(90deg); }
.lead__title { margin: 10px 0 clamp(16px, 2.4vh, 24px); font: 400 clamp(30px, 3vw, 46px)/1.02 var(--serif); letter-spacing: -.015em; }
.lead__title em { background: linear-gradient(100deg, #e9d3a8, #c9a56b 55%, #9c7a45); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead[open] .lead__body > * { animation: leadItem .8s var(--ease) both; }
.lead[open] .lead__body > *:nth-child(2) { animation-delay: .12s; } .lead[open] .lead__body > *:nth-child(3) { animation-delay: .2s; }
@keyframes leadItem { from { opacity: 0; transform: translateY(24px); } }
.lead__chips { border: 0; margin: 0 0 clamp(14px, 2vh, 20px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lead__chips legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(239,233,223,.55); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(239,233,223,.16); background: rgba(239,233,223,.03);
  font-size: 12px; color: rgba(239,233,223,.82); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.chip:hover span { border-color: rgba(201,165,107,.6); transform: translateY(-2px); }
.chip input:checked + span { background: linear-gradient(120deg, #e2c48e, #c9a56b); color: var(--ink); border-color: transparent; box-shadow: 0 10px 20px -10px rgba(201,165,107,.8); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.lead__form .form__row { gap: 0 14px; }
.lead__form .field { margin-bottom: clamp(10px, 1.6vh, 14px); }
.lead__form .field input, .lead__form .field textarea, .lead__form .field select {
  width: 100%; padding: 24px 16px 9px; border: 1px solid rgba(239,233,223,.13); border-radius: 12px; background: rgba(239,233,223,.035);
  font: 400 15px/1.4 var(--sans); color: var(--bone); transition: border-color .3s, background .3s, box-shadow .3s; }
.lead__form .field textarea { display: block; min-height: 84px; }
.lead__form .field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background: rgba(239,233,223,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a56b' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat; }
.lead__form .field select option { background: #1a1714; color: var(--bone); }
.lead__form .field input:hover, .lead__form .field textarea:hover, .lead__form .field select:hover { border-color: rgba(201,165,107,.4); }
.lead__form .field input:focus, .lead__form .field textarea:focus, .lead__form .field select:focus {
  outline: none; border-color: var(--brass); background-color: rgba(201,165,107,.06); box-shadow: 0 0 0 4px rgba(201,165,107,.12); }
.lead__form .field span { left: 17px; top: 17px; color: rgba(239,233,223,.55); font-size: 14px; }
.lead__form .field input:focus + span, .lead__form .field input:not(:placeholder-shown) + span,
.lead__form .field textarea:focus + span, .lead__form .field textarea:not(:placeholder-shown) + span,
.lead__form .field--select span { transform: translateY(-10px); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.lead__form .field.invalid input, .lead__form .field.invalid textarea { border-color: #d0674f; box-shadow: 0 0 0 3px rgba(208,103,79,.15); }

.lead__submit { width: 100%; justify-content: center; margin-top: 6px; background: linear-gradient(120deg, #e2c48e, #c9a56b 50%, #a17f48); color: var(--ink); font-weight: 600;
  box-shadow: 0 22px 40px -18px rgba(201,165,107,.65); transition: transform .4s var(--ease), box-shadow .4s; }
.lead__submit:hover { background: linear-gradient(120deg, #ecd3a3, #d4b077 50%, #ad8a52); transform: translateY(-2px); }
.lead__form .form-status { margin-top: 12px; text-align: center; } .lead__form .form-status.ok { color: #9fd3a6; } .lead__form .form-status.err { color: #f08a72; }
/* success */
.lead__done { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 20px; }
.lead__done[hidden] { display: none; }
.lead__check { width: 84px; height: 84px; margin-bottom: 10px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lead__check circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: leadDraw .9s var(--ease) forwards; }
.lead__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: leadDraw .6s .6s var(--ease) forwards; }
@keyframes leadDraw { to { stroke-dashoffset: 0; } }
.lead__done-msg { max-width: 380px; margin: 0 0 18px; color: rgba(239,233,223,.75); }
.lead__done .lead__submit { width: auto; padding: 16px 40px; }
html.lead-open, html.lead-open body { overflow: hidden; }
/* mobile menu CTA */
.nav__info-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 16px 24px; border-radius: 999px;
  background: linear-gradient(120deg, #e2c48e, #c9a56b 50%, #a17f48); color: var(--ink) !important; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nav__info-cta i { font-style: normal; }
@media (max-width: 860px) {
  .lead { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .lead__card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 0; border: 0; }
  .lead__side { height: 150px; }
  .lead__side-in { padding: 20px; justify-content: flex-end; }
  .lead__logo, .lead__sub, .lead__info { display: none; }
  .lead__quote { font-size: 26px; padding-right: 50px; }
  .lead__close { top: 14px; right: 14px; background: rgba(11,10,9,.6); }
  .lead__main { padding: 22px 18px 30px; }
  .lead__close { position: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  .lead[open] .lead__card, .lead[open] .lead__img, .lead[open] .lead__body > *, .lead.is-closing .lead__card { animation: none; }
}
/* lead modal v2: tidy service grid, compact fit, slim brass scrollbar */
.lead { height: min(760px, calc(100vh - 32px)); }
.lead__main { padding: clamp(22px, 3.4vh, 44px) clamp(22px, 3vw, 46px); scrollbar-width: thin; scrollbar-color: rgba(201,165,107,.5) transparent; }
.lead__main::-webkit-scrollbar { width: 6px; }
.lead__main::-webkit-scrollbar-track { background: transparent; margin: 24px 0; }
.lead__main::-webkit-scrollbar-thumb { background: rgba(201,165,107,.45); border-radius: 6px; }
.lead__main::-webkit-scrollbar-thumb:hover { background: var(--brass); }
.lead__body { min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.lead__title { margin: 8px 0 clamp(12px, 2vh, 22px); font-size: clamp(28px, min(2.8vw, 5vh), 44px); }
.lead__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(12px, 2vh, 18px); }
.lead__chips legend { float: none; grid-column: 1 / -1; margin-bottom: 8px; }
.lead__chips .chip span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: clamp(38px, 5.4vh, 46px); padding: 6px 10px;
  border-radius: 12px; font-size: 12px; line-height: 1.25; text-align: center; }
.lead__chips .chip input:checked + span { box-shadow: 0 8px 18px -10px rgba(201,165,107,.9); }
.lead__form .field { margin-bottom: clamp(8px, 1.3vh, 12px); }
.lead__form .field input, .lead__form .field textarea { padding: clamp(19px, 2.6vh, 22px) 14px clamp(6px, 1vh, 8px); font-size: 14px; }
.lead__form .field span { top: clamp(13px, 2vh, 16px); left: 15px; font-size: 13px; }
.lead__form .field textarea { min-height: clamp(56px, 8vh, 76px); }
.lead__submit { padding-top: clamp(15px, 2.2vh, 19px); padding-bottom: clamp(15px, 2.2vh, 19px); }
@media (max-width: 860px) {
  .lead { height: 100dvh; }
  .lead__body { justify-content: flex-start; }
  .lead__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* larger brand mark */
.nav__logo { height: 62px; }
.nav.scrolled .nav__logo { height: 50px; }
.footer__logo { height: 78px; }
.lead__logo { width: 160px; }
@media (max-width: 960px) {
  .nav__logo { height: 52px; }
  .nav.scrolled .nav__logo { height: 44px; }
}
