/* OTHRIL public site. Shared brand tokens: /brand/brand.css.
   Art direction: the business card, scaled up : black stock, bronze and champagne, almost no white. */
:root {
  --stock: #070606;
  --stock-2: #0b0a09;
  --stock-3: #12100e;
  --head: #e8d4b0;
  --body: #b8ab96;
  --quiet: #8a7f6e;
  --accent-ivory: #efe4d0;
  --display-grad: linear-gradient(180deg, #f2e2c4 0%, #e0c497 46%, #b48c63 100%);
  --deep-grad: linear-gradient(180deg, #d9b98c 0%, #a37c53 100%);
  --rule: rgba(196, 160, 118, .18);
  --rule-strong: rgba(196, 160, 118, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--stock); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  font: 400 1.0625rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  /* Static fallback when the live background is unavailable. */
  background:
    radial-gradient(80% 60% at 78% 8%, rgba(150, 110, 70, .14), transparent 70%),
    radial-gradient(70% 55% at 8% 62%, rgba(120, 88, 56, .10), transparent 70%),
    radial-gradient(90% 60% at 60% 100%, rgba(150, 110, 70, .08), transparent 70%),
    var(--stock);
  background-attachment: fixed;
}
html.webgl body { background: transparent; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; color: var(--head); font-feature-settings: "kern", "liga", "onum"; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(196, 160, 118, .4); color: #fff6e6; }
:focus-visible { box-shadow: 0 0 0 2px var(--stock), 0 0 0 3px var(--head); }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--head); color: var(--stock); padding: .7rem 1rem; border-radius: 2px; font-weight: 700; }
.skip:focus { top: 12px; }
.eyebrow { color: var(--bronze-400); }

/* Display gradient fill (like the foil wordmark). When SplitText splits a line the fill moves onto each line. */
.grad { background: var(--display-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad.is-split { background: none; color: var(--head); }
.grad.is-split .ln { background: var(--display-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.ln-mask { padding-bottom: .12em; margin-bottom: -.12em; }

/* ---------- Living background ---------- */
#silk { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
html.webgl #silk { opacity: 1; }
.cursor-light { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease);
  background: radial-gradient(520px circle at var(--cx, 50%) var(--cy, 30%), rgba(222, 190, 142, .075), transparent 62%); }
html.has-pointer .cursor-light { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .6s var(--ease), border-color .6s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 6, 6, .95); border-bottom-color: var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 0 clamp(20px, 4.2vw, 64px); }
.nav .emblem { width: 30px; }
.nav .brand-lockup .wordmark { font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a { position: relative; display: inline-block; padding: 6px 0; text-decoration: none; color: var(--body); font: 700 .66rem var(--sans); letter-spacing: .24em; text-transform: uppercase; transition: color .4s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-400); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-slow); }
.nav-links a:hover { color: var(--head); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-login { padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--rule-strong); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 42px; padding: .6rem 1.2rem; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: 2px; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--bronze-300); transition: transform .5s var(--ease-slow), top .5s var(--ease-slow); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Card frame + corner arcs ---------- */
.frame-border { position: absolute; inset: clamp(12px, 1.8vw, 26px); border: 1px solid rgba(180, 140, 99, .6); border-radius: 6px; pointer-events: none; }
.frame-lines { position: absolute; width: clamp(170px, 24vw, 360px); height: auto; pointer-events: none; overflow: visible; }
.frame-lines.tl { top: 0; left: 0; }
.frame-lines.br { right: 0; bottom: 0; transform: rotate(180deg); }
.frame-lines .arc { fill: none; stroke: rgba(196, 160, 118, .24); stroke-width: 1; vector-effect: non-scaling-stroke; }
.depth.arcs-tl, .depth.arcs-br { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Hero: card front ---------- */
.hero { min-height: 100svh; display: flex; padding: 92px clamp(14px, 3vw, 44px) clamp(14px, 3vw, 44px); }
.hero-frame {
  position: relative; flex: 1; min-height: 620px; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  padding: clamp(56px, 8vh, 96px) 28px clamp(52px, 8vh, 84px);
  border-radius: 8px;
  background: radial-gradient(70% 60% at 50% 42%, rgba(196, 160, 118, .07), transparent 70%), rgba(5, 4, 4, .66);
  box-shadow: 0 0 0 1px rgba(196, 160, 118, .08), 0 40px 120px -40px rgba(0, 0, 0, .9);
}
.hero-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.depth { will-change: transform; }
.tilt { perspective: 700px; transform-style: preserve-3d; }
.hero-emblem {
  display: block;
  width: clamp(92px, 9.5vw, 136px);
  background: linear-gradient(var(--sheen-angle, 115deg), #8c6640 0%, #b48c63 25%, #ecd9b9 42%, #fff3dd 48%, #ecd9b9 54%, #c7a57b 70%, #8c6640 100%);
  background-size: 300% 100%; background-position: 0% 0;
  filter: drop-shadow(0 18px 40px rgba(180, 140, 99, .22));
}
.hero-word { margin-top: clamp(22px, 3vh, 34px); line-height: 1; }
.hero-word .wordmark { display: block; font-size: clamp(3.1rem, 9.2vw, 7.8rem); letter-spacing: .22em; padding-left: .22em; }
.hero-tag { margin-top: clamp(18px, 2.6vh, 28px); font: 700 clamp(.66rem, 1.05vw, .86rem) var(--sans); letter-spacing: .36em; padding-left: .36em; text-transform: uppercase; color: var(--bronze-300); }
.hero-foot { display: grid; justify-items: center; gap: 26px; text-align: center; }
.hero-foot p { max-width: 34rem; color: var(--body); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(22px, 3vw, 40px); width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--rule-strong); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze-400); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* Hero entrance (CSS only, independent of JS) */
.hero .frame-border { animation: frameIn 1.6s var(--ease-slow) backwards; }
.hero .arc { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s var(--ease-slow) .5s forwards; }
.hero-emblem { animation: rise 1.1s var(--ease-slow) .1s backwards, sheen 2.4s var(--ease) .6s backwards; }
.hero-word .wordmark { animation: track 1.4s var(--ease-slow) .2s backwards; }
.hero-tag { animation: rise 1.1s var(--ease-slow) .35s backwards; }
.hero-foot { animation: rise 1.1s var(--ease-slow) .5s backwards; }
.scroll-cue { animation: rise 1.1s var(--ease-slow) .9s backwards; }
/* Repeat visits in the same tab skip the intro. */
html.seen .hero :is(.frame-border, .hero-emblem, .hero-word .wordmark, .hero-tag, .hero-foot, .scroll-cue) { animation: none; }
html.seen .hero .arc { animation: none; stroke-dashoffset: 0; }
@keyframes frameIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes track { from { opacity: 0; letter-spacing: .38em; } to { opacity: 1; letter-spacing: .22em; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rule-strong) 20%, var(--rule-strong) 80%, transparent); }
.sec-head { margin-bottom: clamp(36px, 4.5vw, 60px); }
.sec-head h2 { margin-top: 0; font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 72px; align-items: end; }
.sec-head-split > p { max-width: 30rem; }

/* Statement + constellation */
.statement { position: relative; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.statement-text { margin-top: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.28; max-width: 30ch; }
.statement-aside { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 2.2rem; max-width: 38rem; }
.statement-aside::before { content: ""; height: 1px; margin-top: .85rem; background: var(--bronze-500); }
.constellation { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.constellation canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation .orbit { position: absolute; border-radius: 50%; border: 1px solid var(--rule); pointer-events: none; }
.constellation .o1 { inset: 4%; }
.constellation .o2 { inset: 22%; border-style: dashed; border-color: rgba(196, 160, 118, .12); animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Services index */
.index { border-bottom: 1px solid var(--rule); }
.index li { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 88px minmax(0, 1.05fr) minmax(0, 1fr); gap: 12px 40px; align-items: baseline; padding: clamp(22px, 2.4vw, 32px) 12px; border-top: 1px solid var(--rule); }
.index li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(196, 160, 118, .1), rgba(196, 160, 118, .02) 60%, transparent); transform: translateX(-101%); transition: transform .9s var(--ease-slow); }
.index li:hover::before { transform: none; }
.index .num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--bronze-400); transition: transform .7s var(--ease-slow), color .5s; }
.index li:hover .num { transform: translateX(10px); color: var(--bronze-300); }
.index h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); transition: color .5s var(--ease); }
.index p { color: var(--quiet); transition: color .5s var(--ease); max-width: 32rem; }
.index li:hover h3 { color: #f4e6cb; }
.index li:hover p { color: var(--body); }

/* Approach path */
.path-wrap { position: relative; }
.path-line { position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: rgba(180, 140, 99, .22); overflow: hidden; }
.path-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bronze-300), var(--bronze-500)); transform-origin: left; transform: scaleX(1); }
html.motion .path-fill { transform: scaleX(0); }
.path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.path li { position: relative; padding-top: 42px; }
.path .star { position: absolute; top: 0; left: 0; width: 15px; height: 15px; background: var(--bronze-grad); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); transition: transform .8s var(--ease-slow), filter .8s; }
html.motion .path .star { background: #4a3a29; transform: scale(.7); }
html.motion .path li.lit .star { background: var(--bronze-grad); transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(236, 217, 185, .55)); }
.path h3 { font-size: 1.6rem; }
.path p { margin-top: .55rem; color: var(--quiet); font-size: .98rem; max-width: 24ch; }
html.motion .path li h3, html.motion .path li p { opacity: .35; transition: opacity .8s var(--ease); }
html.motion .path li.lit h3, html.motion .path li.lit p { opacity: 1; }
.principle { margin-top: clamp(52px, 6vw, 80px); max-width: 52rem; padding-left: 28px; border-left: 1px solid var(--bronze-500); font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; color: var(--head); }

/* Industries band + marquee */
.band { position: relative; padding: clamp(48px, 6vw, 72px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, rgba(196, 160, 118, .035), rgba(196, 160, 118, 0)); }
.band-label { margin-bottom: clamp(22px, 3vw, 34px); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 42s linear infinite; }
html.motion .marquee-track { animation: none; }
.marquee-list { display: flex; align-items: center; flex: none; }
.marquee-list li { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.2; color: var(--head); padding-right: clamp(28px, 3.6vw, 56px); }
.marquee-list li:nth-child(even) { font-style: italic; background: var(--deep-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee-list li::after { content: ""; width: 14px; height: 14px; margin-left: clamp(28px, 3.6vw, 56px); background: var(--bronze-grad); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band-note { margin-top: clamp(22px, 3vw, 32px); color: var(--quiet); }
.band-note a { color: var(--head); text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--bronze-500); }

/* Work plates */
.plate-media { display: block; position: relative; padding: clamp(10px, 1.3vw, 16px); border: 1px solid var(--rule-strong); border-radius: 4px; background: rgba(5, 4, 4, .75); overflow: hidden; }
.plate-media img { width: 100%; height: auto; border-radius: 2px; transition: filter 1.2s var(--ease), transform 1.6s var(--ease-slow); }
.plate-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 4, 4, .65)); }
.plate-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.plate-feature .plate-media img { filter: saturate(.9) brightness(.95); }
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.plates .plate-media { aspect-ratio: 16 / 10; }
.plates .plate-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* Wide strip screenshot: show all of it rather than a cropped corner. */
.plates .plate-media img.fit { object-fit: contain; object-position: center; }
/* Bronze duotone: light UI screenshots become warm monochrome plates instead of white rectangles. */
.duo { isolation: isolate; }
.duo img { filter: grayscale(1) invert(1) contrast(1.15) brightness(.82); }
.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, #e2c497 0%, #a37c53 100%); mix-blend-mode: color; opacity: 1; transition: opacity 1.2s var(--ease); }
.duo::after { z-index: 2; }
.plate:hover .duo img { filter: grayscale(1) invert(1) contrast(1.2) brightness(1); transform: scale(1.015); }
.plate-copy { display: grid; gap: .7rem; align-content: start; }
.plates .plate-copy { margin-top: 24px; }
.plate-copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.plate-copy .caveat { color: var(--quiet); font-size: .82rem; }
.link { justify-self: start; position: relative; margin-top: .5rem; padding-bottom: 6px; text-decoration: none; color: var(--bronze-300); font: 700 .7rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .7s var(--ease-slow); }
.link:hover::after { transform: scaleX(.35); }

/* Workspace story: selectable annotations show where connected workflows surface. */
.workspace-story { align-items: center; }
.workspace-scene { min-width: 0; overflow: hidden; }
.workspace-screenshot { display: block; position: relative; }
.workspace-screenshot img { display: block; }
.workspace-pin {
  position: absolute; z-index: 3;
  left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(236, 217, 185, .82);
  color: var(--head); background: rgba(12, 10, 9, .94);
  font: 700 .76rem var(--sans); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(5, 4, 4, .68), 0 2px 14px rgba(0,0,0,.75);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.workspace-pin:is(:hover, :focus-visible, [aria-pressed="true"]) {
  background: #d9b991; color: #17110d;
  box-shadow: 0 0 0 5px rgba(185, 143, 99, .24), 0 0 22px rgba(185, 143, 99, .35);
}
.workspace-pin:focus-visible, .workspace-step:focus-visible, .workspace-screenshot:focus-visible {
  outline: 2px solid var(--head); outline-offset: 5px;
}
.workspace-copy { gap: 12px; min-width: 0; }
.workspace-copy h3 { font-size: clamp(1.95rem, 3vw, 2.65rem); }
.workspace-lede { font: 400 clamp(1.13rem, 1.45vw, 1.35rem)/1.28 var(--serif); color: var(--head); }
.workspace-steps { display: grid; border-top: 1px solid var(--rule-strong); margin-top: 7px; }
.workspace-step {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start;
  width: 100%; gap: 11px; padding: 11px 8px 11px 0;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  background: transparent; text-align: left; color: var(--body); cursor: pointer;
  transition: background .2s ease, padding-left .2s ease;
}
.workspace-step:hover, .workspace-step[aria-pressed="true"] { background: rgba(185, 143, 99, .065); padding-left: 8px; }
.workspace-step-num { padding-top: 3px; color: var(--bronze-300); font: 700 .75rem var(--sans); letter-spacing: .08em; }
.workspace-step strong { display: block; color: var(--head); font: 400 clamp(1.22rem, 1.65vw, 1.45rem)/1.16 var(--serif); }
.workspace-step small { display: block; color: var(--quiet); font: 400 .85rem/1.42 var(--sans); margin-top: 4px; }
.workspace-outcome { border-left: 2px solid var(--bronze-400); padding: 8px 0 8px 13px; }
.workspace-outcome > span { display: block; color: var(--bronze-300); font: 700 .65rem var(--sans); text-transform: uppercase; letter-spacing: .17em; margin-bottom: 5px; }
.workspace-outcome p { color: var(--head); font: 400 1.14rem/1.3 var(--serif); }
.workspace-copy .link { margin-top: 8px; }
@media (max-width: 1040px) {
  .workspace-story { gap: 26px; }
  .workspace-copy { max-width: 680px; }
}
@media (max-width: 620px) {
  .workspace-pin { width: 30px; height: 30px; }
  .workspace-steps { margin-top: 4px; }
  .workspace-step { padding-block: 12px; }
  .workspace-step strong { font-size: 1.35rem; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 72px; align-items: start; }
.faq-grid .sec-head { margin-bottom: 0; }
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--head); transition: color .4s var(--ease), padding-left .6s var(--ease-slow); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--bronze-400); transition: transform .5s var(--ease-slow); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: #f4e6cb; padding-left: 8px; }
.faq details p { padding: 0 48px 24px 0; max-width: 40rem; animation: rise .7s var(--ease-slow); }

/* Contact: card back */
.contact { padding-bottom: clamp(80px, 10vw, 128px); }
.card-back {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) 1px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(52px, 7vw, 92px) clamp(36px, 6vw, 88px);
  border-radius: 8px;
  background: radial-gradient(60% 80% at 85% 20%, rgba(196, 160, 118, .08), transparent 70%), rgba(5, 4, 4, .72);
  box-shadow: 0 0 0 1px rgba(196, 160, 118, .08), 0 40px 120px -40px rgba(0, 0, 0, .9);
  transform-style: preserve-3d;
}
.card-back .foil { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease);
  background: radial-gradient(420px circle at var(--fx, 50%) var(--fy, 50%), rgba(236, 217, 185, .1), transparent 60%); }
.card-back:hover .foil { opacity: 1; }
.cb-word .wordmark { display: block; font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: .2em; line-height: 1; }
.cb-tag { margin-top: 18px; font: 700 clamp(.62rem, 1vw, .76rem) var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-300); }
.cb-rule { display: block; height: 1px; max-width: 420px; margin: 30px 0 28px; background: linear-gradient(90deg, var(--bronze-500), rgba(180, 140, 99, .3)); }
.cb-list { display: grid; gap: 16px; }
.cb-list li { display: flex; align-items: center; gap: 16px; }
.cb-list svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--bronze-400); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.cb-list a { text-decoration: none; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--accent-ivory); transition: color .4s var(--ease); }
.cb-list a:hover { color: var(--bronze-300); }
.cb-divider { align-self: stretch; width: 1px; background: linear-gradient(180deg, transparent, var(--bronze-500) 20%, var(--bronze-500) 80%, transparent); opacity: .7; }
.cb-right { display: grid; justify-items: start; gap: 18px; }
.cb-lede { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--head); }
.cb-fallback { color: var(--quiet); font-size: .86rem; text-decoration: none; }
.cb-fallback:hover { color: var(--bronze-300); }

/* Footer */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--rule); padding: 56px 0 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.foot-nav a { text-decoration: none; color: var(--quiet); font: 700 .64rem var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: color .4s var(--ease); }
.foot-nav a:hover { color: var(--head); }
.legal { color: var(--quiet); font-size: .8rem; }
.legal i { font-style: normal; margin: 0 .5em; color: var(--bronze-600); }
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { color: var(--bronze-300); }
.foot-word {
  margin: clamp(28px, 4vw, 56px) 0 -0.16em; text-align: center; line-height: .82; user-select: none; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(3.6rem, 16.5vw, 17rem); letter-spacing: .1em; padding-left: .1em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(196, 160, 118, .36);
  background: linear-gradient(180deg, rgba(196, 160, 118, .2), rgba(196, 160, 118, 0) 85%); -webkit-background-clip: text; background-clip: text;
}
.foot-word .ch { display: inline-block; }

/* Booking dialog: a dark sheet around Google's calendar */
dialog.booking { width: min(940px, 100% - 24px); max-height: min(880px, 100% - 24px); padding: 0; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--stock-2); color: var(--body); box-shadow: 0 50px 140px rgba(0, 0, 0, .8); }
dialog.booking[open] { animation: rise .6s var(--ease-slow); }
dialog.booking::backdrop { background: rgba(5, 4, 4, .82); backdrop-filter: blur(8px); }
.booking-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.booking-head h2 { font-size: 1.8rem; margin-top: .25rem; }
.booking-close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 2px; border: 1px solid var(--rule-strong); background: none; cursor: pointer; }
.booking-close svg { width: 16px; height: 16px; fill: none; stroke: var(--bronze-300); stroke-width: 1.5; }
.booking-frame { position: relative; margin: 14px; padding: 6px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--stock); height: min(620px, 66vh); }
.booking-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; border-radius: 2px; background: #fff; opacity: 0; transition: opacity .8s var(--ease); }
.booking-frame.loaded { background: #fff; }
.booking-frame.loaded iframe { opacity: 1; }
.booking-frame.loaded .booking-loading { opacity: 0; visibility: hidden; }
html:has(dialog.booking[open]) { overflow: hidden; }
.booking-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--quiet); font-size: .9rem; }
.booking-loading .emblem { width: 40px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; transform: scale(.95); } }
.booking-foot { padding: 0 22px 14px; font-size: .85rem; color: var(--quiet); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.booking-foot a { color: var(--bronze-300); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { gap: 22px; }
  .path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .path-line { display: none; }
  .plate-feature { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(7, 6, 6, .97); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font: 400 2rem var(--serif); letter-spacing: .04em; text-transform: none; color: var(--head); padding: 10px 0; }
  .nav-links a::after { display: none; }
  .nav-login { border-left: 0; padding-left: 0; margin-top: 14px; }
  .nav-login a { font: 700 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300); }
  body.menu-open { overflow: hidden; }
  .sec-head-split, .faq-grid { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; }
  .constellation { max-width: 340px; order: -1; margin-bottom: -12px; }
  .card-back { grid-template-columns: 1fr; }
  .cb-divider { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--bronze-500) 20%, var(--bronze-500) 80%, transparent); }
  .index li { grid-template-columns: 56px minmax(0, 1fr); }
  .index p { grid-column: 2; }
  .foot { justify-content: center; text-align: center; }
  .foot-nav { justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { width: min(1180px, 100% - 36px); }
  .nav { height: 68px; }
  .nav-cta .btn { display: none; }
  .hero { padding-top: 76px; }
  .hero-frame { min-height: 560px; padding: 64px 18px 64px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .constellation { max-width: 260px; }
  .path { grid-template-columns: 1fr; row-gap: 0; padding-left: 4px; }
  .path-wrap::before { content: ""; position: absolute; top: 0; bottom: 34px; left: 11px; width: 1px; background: linear-gradient(180deg, var(--bronze-500), rgba(180, 140, 99, .2)); }
  .path li { padding: 0 0 30px 44px; }
  .path .star { left: 0; top: 6px; }
  .path p { max-width: none; }
  .plates { grid-template-columns: 1fr; }
  .index li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; padding-inline: 4px; }
  .principle { padding-left: 20px; }
  .card-back { padding: 56px 28px 48px; }
  .faq summary { padding-right: 40px; }
  .booking-frame { margin: 8px; height: calc(100dvh - 190px); min-height: 420px; }
}
@media (hover: none) { .cursor-light { display: none; } }
@media (max-height: 980px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .arc { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list li { font-size: clamp(1.4rem, 2.6vw, 2rem); }
}

/* Hero balance: center logo, slogan and calls to action as a coherent group. */
.hero-frame { grid-template-rows: auto auto; align-content: center; row-gap: clamp(36px, 4.6svh, 52px); }
@media (max-width: 620px) {
  .hero-frame { row-gap: clamp(28px, 4.5svh, 42px); }
}
/* Readability: concise copy, visible hierarchy, and comfortable reading width. */
.hero-foot { gap: 14px; }
.hero-promise { font: 400 clamp(1.9rem, 3.6vw, 3.25rem)/1.06 var(--serif) !important; letter-spacing: -.02em; color: var(--head) !important; }
.cb-tag { font: 400 clamp(1.35rem, 2vw, 1.8rem)/1.24 var(--serif); letter-spacing: .008em; text-transform: none; color: var(--head); }
.hero-actions { margin-top: 10px; }
.statement-text { max-width: 16ch; font-size: clamp(2.75rem, 5.2vw, 4.8rem); line-height: 1.08; letter-spacing: -.025em; }
.statement-points { display: grid; gap: 0; max-width: 34rem; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule-strong); }
.statement-points p { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: baseline; gap: 12px 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.statement-points strong { font: 400 clamp(1.28rem, 1.9vw, 1.65rem)/1.2 var(--serif); color: var(--head); }
.statement-points span { font-size: .94rem; color: var(--body); }
.statement-aside { margin-top: 26px; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; font-size: .94rem; color: var(--body); line-height: 1.55; }
.statement-aside::before { margin-top: .7rem; }
.sec-head-split > p { max-width: 25rem; line-height: 1.5; }
.index li { align-items: center; }
.index h3 { font-size: clamp(1.72rem, 2.65vw, 2.3rem); line-height: 1.15; }
.index p { color: var(--body); line-height: 1.48; max-width: 25rem; }
.path h3 { font-size: clamp(1.65rem, 2vw, 2rem); }
.path p { max-width: 18ch; line-height: 1.5; }
.principle { max-width: 56rem; font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.25; }
.principle span { display: block; font: 400 clamp(.9rem, 1.3vw, 1rem)/1.5 var(--sans); font-style: normal; color: var(--body); margin-top: 12px; }
.plate-copy h3 { font-size: clamp(2rem, 3.1vw, 2.7rem); }
.plate-copy > p:not(.eyebrow):not(.caveat):not(.work-proof) { line-height: 1.52; }
.work-proof { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; }
.work-proof strong { font: 400 2.3rem/1 var(--serif); color: var(--head); }
.work-proof span { font: 400 .8rem/1.4 var(--sans); max-width: 17rem; }
.faq details p { line-height: 1.55; }
.booking-close { width: 44px; height: 44px; }
@media (max-width: 620px) {
  .hero-frame { padding-top: 48px; padding-bottom: 42px; }
  .hero-mark .hero-emblem { width: clamp(72px, 22vw, 95px); }
  .hero-word { margin-top: 14px; }
  .hero-tag { margin-top: 12px; letter-spacing: .22em; padding-left: .22em; }
  .hero-foot { gap: 11px; }
  .hero-promise { font-size: clamp(1.7rem, 8vw, 2.25rem) !important; }
  .hero-actions { gap: 9px; margin-top: 5px; }
  .statement { padding-top: 68px; }
  .statement-text { font-size: clamp(2.6rem, 11vw, 3.7rem); }
  .statement-points p { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .statement-points strong { font-size: 1.6rem; }
  .statement-points span { font-size: .91rem; }
  .statement-aside { margin-top: 22px; }
  .index h3 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .index p { font-size: .92rem; }
  .path h3 { font-size: 1.85rem; }
  .work-proof strong { font-size: 2rem; }
}
