/* AI Orbiting · "Signal & Paper"
   Graphite and bone, one sparing signal colour, hairline rules and a visible editorial grid. Type does the work:
   Inter Tight for structure, Instrument Serif italic for emphasis, JetBrains Mono for labels and data.
   Signal (vermilion) means "automated, moving"; cool blue means "a person handles this". Nothing else is coloured. */

:root {
  /* Light "paper" theme: --ink is the page and --bone the type (the names date from the dark theme). */
  --ink: #f5f1ea; --ink-2: #ede8de; --ink-3: #e4ddd0;
  --bone: #17150f; --bone-rgb: 23,21,15;
  --muted: #5d5a53; --dim: rgba(23,21,15,.5);
  --line: rgba(23,21,15,.11); --line-2: rgba(23,21,15,.2);
  --signal: #b8380f; --signal-a: rgba(184,56,15,.1); --cool: #3f6f97;
  --night: #0d0e10; --paper: #f5f1ea;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  --max: 1440px; --g: clamp(20px, 4vw, 56px); --gap: clamp(16px, 2vw, 32px);
  --top: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; text-rendering: optimizeLegibility; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--signal); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.mono { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
html:not(.js) .needs-js { display: none !important; }
.eyebrow { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin: 0 0 18px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.disclose { display: flex; gap: 10px; align-items: baseline; margin-top: 22px; }
.disclose::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--signal); transform: translateY(-1px); }

/* ---- buttons and links ---- */
.btn { --tx: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; background: var(--bone); color: var(--ink); border: 0; border-radius: 2px; font: 500 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--signal); color: #fff; }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--bone); background: transparent; color: var(--bone); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.link:hover { border-color: var(--signal); }
.link .arrow { transition: transform .4s var(--ease); }

/* ---- header ---- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top); transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* the header steps out of the way while you read down the page and comes back as soon as you scroll up */
.top { transition: transform .45s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.top.tuck { transform: translate3d(0, -100%, 0); box-shadow: none; }
.top-tucked .case-nav { top: 0; }
.case-nav { transition: top .45s var(--ease); }
.top.scrolled { background: rgba(245,241,234,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
.logo .mark { width: 28px; height: 28px; color: var(--bone); }
#nav { display: flex; align-items: center; gap: 30px; }
#nav a:not(.btn) { position: relative; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .25s; padding: 6px 0; }
#nav a:not(.btn):hover, #nav a[aria-current] { color: var(--bone); }
#nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); }
.menu { display: none; }

/* ---- reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- section rhythm: hairline rules between sections, a 12-column editorial grid in every head ---- */
main > section { padding: clamp(64px, 7vw, 112px) 0; position: relative; }
main > section + section { border-top: 1px solid var(--line); }
.label-row { display: flex; gap: 14px; align-items: baseline; margin: 0 0 22px; }
.label-row .num { color: var(--signal); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.sec-head .label-row { grid-column: 1 / 4; padding-top: .9em; }
.sec-head h2, .sec-head .lead, .sec-head .disclose { grid-column: 4 / 13; }
.sec-head .lead { grid-column: 4 / 11; margin: 28px 0 0; }
h2 { font-size: clamp(40px, 5.6vw, 88px); line-height: .98; letter-spacing: -.045em; max-width: 17ch; }

/* =======================================================================================================
   HOME · the opening sequence
   ======================================================================================================= */
.hero { padding: 0 !important; min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(to bottom, rgba(245,241,234,0), var(--ink)); z-index: 1; pointer-events: none; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-rules { position: absolute; inset: 0; z-index: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.hero-rules i { border-left: 1px solid var(--line); transform-origin: top; }
.hero-rules i:last-child { border-right: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding-top: calc(var(--top) + 28px); padding-bottom: 28px; }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 0; }
.hero-meta span { padding-left: 14px; }
.hero-meta span:first-child { color: var(--bone); padding-left: 0; }
.hero-meta .field-label { grid-column: 4; text-align: right; padding-right: 0; }
.hero-title { align-self: end; font-size: clamp(60px, 12.4vw, 214px); line-height: .86; letter-spacing: -.06em; margin: 48px 0 clamp(36px, 5vw, 64px); font-weight: 500; }
.hero-title em { display: block; width: fit-content; margin-left: 25%; position: relative; font-size: 1.04em; letter-spacing: -.035em; line-height: .92; padding-right: .06em; }
.hero-title em::after { content: ""; position: absolute; left: .04em; right: .1em; bottom: .02em; height: max(2px, .028em); background: var(--signal); transform-origin: left; }
.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.hero-prop { grid-column: 1 / 6; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted); margin: 0; max-width: 40ch; }
.hero-prop b { color: var(--bone); font-weight: 500; }
.hero .btn.ghost { background: rgba(245,241,234,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-acts { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.hero-index a { display: flex; gap: 12px; align-items: baseline; padding: 16px 14px 4px; text-decoration: none; color: var(--muted); font-size: 15px; transition: color .25s; }
.hero-index a:first-child { padding-left: 0; }
.hero-index a .mono { color: var(--dim); transition: color .25s; }
.hero-index a:hover { color: var(--bone); }
.hero-index a:hover .mono { color: var(--signal); }

/* the choreography: rules draw down, the meta row settles, the headline rises through a mask, the signal line
   sweeps under the italic line, then the supporting copy arrives. Without JS or with reduced motion it is simply there. */
@keyframes ruleDown { from { transform: scaleY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes maskUp { from { clip-path: inset(0 0 100% 0); transform: translate3d(0, .22em, 0); } to { clip-path: inset(-.2em -.2em -.3em -.2em); transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-rules i { animation: ruleDown 1.4s var(--ease) both; }
  .js .hero-rules i:nth-child(2) { animation-delay: .08s; } .js .hero-rules i:nth-child(3) { animation-delay: .16s; } .js .hero-rules i:nth-child(4) { animation-delay: .24s; }
  .js .hero-meta { animation: fade 1s var(--ease) .35s both; }
  .js .hero-title { animation: maskUp 1.25s var(--ease) .45s both; }
  .js .hero-title em { animation: fadeUp 1.2s var(--ease) .85s both; }
  .js .hero-title em::after { animation: sweep 1s var(--ease) 1.55s both; }
  .js .hero-foot { animation: fadeUp 1s var(--ease) 1.25s both; }
  .js .hero-index { animation: fadeUp 1s var(--ease) 1.45s both; }
  .js .top { animation: fade .8s var(--ease) .2s both; }
}

/* ---- 01 · positioning ---- */
.pos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.pos > div:first-child { grid-column: 1 / 4; padding-top: .7em; }
.pos > div:last-child { grid-column: 4 / 13; }
.pos-statement { font-size: clamp(28px, 3.5vw, 54px); line-height: 1.12; letter-spacing: -.03em; font-weight: 400; max-width: 26ch; }
.sw { color: rgba(var(--bone-rgb), .42); transition: color .5s var(--ease); }
.sw.on { color: var(--bone); }
.sw.sig { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }
.sw.sig.on { color: var(--signal); }
.pos-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 4.5vw, 64px); }
.pos-cols > div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.pos-cols ul { list-style: none; margin-top: 14px; }
.pos-cols li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.text-links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 52px; }

/* ---- 02 · the enquiry engine ---- */
.engine-sec { background: var(--ink-2); }
.engine { position: relative; margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 6fr) minmax(280px, 3.6fr); border: 1px solid var(--line-2); background: var(--ink); }
.engine::before, .engine::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; }
.engine::before { top: -1px; left: -1px; border-top: 2px solid var(--signal); border-left: 2px solid var(--signal); }
.engine::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--signal); border-right: 2px solid var(--signal); }
.eng-scen { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.eng-scen button { display: grid; gap: 4px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 24px; color: var(--muted); cursor: pointer; transition: background-color .3s, box-shadow .3s; }
.eng-scen button b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--dim); transition: color .3s; }
.eng-scen button .who { font-size: 14px; }
.eng-scen button:hover b { color: var(--bone); }
.eng-scen button[aria-selected="true"] { background: var(--ink-3); box-shadow: inset 2px 0 0 var(--signal); }
.eng-scen button[aria-selected="true"] b { color: var(--bone); }
.eng-main { padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-width: 0; }
.eng-msg { border: 1px solid var(--line); padding: 18px 20px; background: var(--ink-2); }
.eng-msg p { font: italic 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); margin: 8px 0 0; color: var(--bone); }
.eng-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 22px 0 8px; }
.eng-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.eng-wires .wire { stroke: var(--line-2); stroke-width: 1; fill: none; stroke-dasharray: 2 4; }
.eng-wires .wire-lit { stroke: var(--signal); stroke-width: 1.5; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.eng-wires .wire-lit.on { stroke-dashoffset: 0; }
.engine.person-route .wire-lit[data-seg="3"], .engine.person-route .wire-lit[data-seg="4"] { stroke: var(--cool); }
.engine.person-route .node.done:nth-of-type(n+4), .engine.person-route .node.now:nth-of-type(n+4) { border-color: rgba(127,167,201,.6); }
.engine.person-route .node.now:nth-of-type(n+4) { box-shadow: 0 0 0 4px rgba(127,167,201,.16); }
.engine.person-route .node.now:nth-of-type(n+4) .mono { color: var(--cool); }
.node { position: relative; z-index: 1; display: grid; gap: 6px; align-content: space-between; text-align: left; min-height: 96px; padding: 14px 12px; background: var(--ink); border: 1px solid var(--line-2); border-radius: 2px; color: var(--muted); cursor: pointer; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.node b { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; transition: color .4s; }
.node:hover b { color: var(--bone); }
.node.done { border-color: rgba(255,91,46,.45); }
.node.done b, .node.now b { color: var(--bone); }
.node.now { border-color: var(--signal); background: var(--ink-3); box-shadow: 0 0 0 4px var(--signal-a); }
.node.now .mono { color: var(--signal); }
.node.fork.now { border-color: var(--cool); box-shadow: 0 0 0 4px rgba(127,167,201,.16); }
.node.fork.now .mono { color: var(--cool); }
.packet { display: none; position: absolute; left: 0; top: 0; z-index: 2; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--signal); box-shadow: 0 0 0 5px var(--signal-a); transition: transform .9s var(--ease), background-color .4s; pointer-events: none; }
.engine.live .packet { display: block; }
.packet.instant { transition: none; }
.packet.person { background: var(--cool); box-shadow: 0 0 0 5px rgba(127,167,201,.18); }
.eng-route { color: var(--muted); }
.eng-route b { color: var(--signal); font-weight: 500; }
.eng-route.person b { color: var(--cool); }
.eng-sats { display: flex; flex-wrap: wrap; gap: 8px; }
.sat { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 9px 11px; border: 1px solid var(--line); color: var(--muted); opacity: .4; transition: all .5s var(--ease); }
.sat.used { opacity: 1; }
.sat.on { border-color: var(--signal); color: var(--bone); background: var(--signal-a); }
.eng-inspect { border-left: 1px solid var(--line); padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ins-what { font-size: 17px; line-height: 1.5; margin: 0; }
.ins-data { margin: 0; border-top: 1px solid var(--line); }
.ins-data div { display: grid; grid-template-columns: minmax(96px, 40%) 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ins-data dt { font: 500 11px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ins-data dd { margin: 0; font-size: 15px; line-height: 1.45; }
.eng-controls { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.ctl { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); background: none; border-radius: 2px; cursor: pointer; transition: border-color .25s, background-color .25s; }
.ctl:hover { border-color: var(--bone); }
.ctl.play { padding: 0 18px; font-weight: 500; min-width: 84px; }
.engine.playing .ctl.play { background: var(--bone); color: var(--ink); }
.eng-progress { flex: 1; height: 1px; background: var(--line-2); margin-left: 8px; }
.eng-progress i { display: block; height: 100%; width: 20%; background: var(--signal); transition: width .7s var(--ease); }
.eng-static { margin-top: 28px; padding-left: 1.2em; color: var(--muted); }
.eng-static li { margin: 6px 0; }
.eng-static b { color: var(--bone); font-weight: 500; }
.js .eng-static { display: none; }
@keyframes swapIn { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .eng-inspect.swap > *:not(.eng-controls), .eng-msg.swap, .cap-view.swap > * { animation: swapIn .6s var(--ease) both; }
  .eng-inspect.swap > .ins-data { animation-delay: .06s; }
  .cap-view.swap > *:nth-child(2) { animation-delay: .04s; } .cap-view.swap > *:nth-child(3) { animation-delay: .08s; } .cap-view.swap > *:nth-child(4) { animation-delay: .12s; }
}

/* ---- 03 · capabilities ---- */
.caps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.cap { border-bottom: 1px solid var(--line); }
.cap-head { width: 100%; display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "n name" ". line"; row-gap: 6px; text-align: left; background: none; border: 0; padding: 28px 0; cursor: pointer; color: var(--muted); }
.cap-head .num { grid-area: n; padding-top: .9em; transition: color .3s; }
.cap-name { grid-area: name; font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: var(--dim); transition: color .4s var(--ease); }
.cap-line { grid-area: line; font-size: 15px; }
.cap-head:hover .cap-name, .cap.on .cap-name { color: var(--bone); }
.cap.on .num { color: var(--signal); }
.cap-body { padding: 0 0 30px 64px; }
.js .cap-body { display: none; }
.cap-body p { color: var(--muted); max-width: 52ch; margin: 18px 0 20px; }
.cap-body ul { list-style: none; margin: 0 0 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.cap-body li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.cap-body li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 1px; background: var(--signal); }
.cap-view { display: none; }
.js .cap-view { display: block; position: sticky; top: calc(var(--top) + 32px); align-self: start; margin-left: clamp(32px, 5vw, 80px); padding: 32px 0 32px clamp(32px, 4vw, 56px); border-left: 1px solid var(--line); min-height: 440px; }
.cap-view .num { color: var(--signal); }
.cap-view h3 { font-size: clamp(44px, 4.6vw, 76px); letter-spacing: -.045em; margin: 14px 0 12px; }
.cap-view-line { font: italic 400 clamp(22px, 2vw, 30px)/1.25 var(--serif); color: var(--muted); max-width: 30ch; margin: 0 0 28px; }
.cap-view .cap-body { display: block; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.tag-available { color: var(--signal); border-color: rgba(255,91,46,.45); }
.tag-on-request { color: var(--cool); border-color: rgba(127,167,201,.4); }

/* ---- 04 · the project reel ---- */
.reel { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(32px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.reel-stage { display: grid; }
.reel.live .reel-stage > .reel-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.reel.live .reel-stage > .reel-item.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
html:not(.js) .reel-item + .reel-item { margin-top: 80px; }
.reel-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 3vw, 48px); align-items: end; }
.reel-meta h3 { font-size: clamp(34px, 3.4vw, 54px); letter-spacing: -.04em; margin: 16px 0 16px; }
.reel-meta > p { color: var(--muted); font-size: 16px; }
.reel-meta .type { margin-top: 14px; }
.reel-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .reel.live .reel-item.on .device { animation: deviceIn 1s var(--ease) both; }
  .reel.live .reel-item.on .reel-meta > * { animation: swapIn .7s var(--ease) both; }
}
@keyframes deviceIn { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.985); } }
.reel-index { list-style: none; border-left: 1px solid var(--line); counter-reset: none; }
.reel-index a { position: relative; display: flex; gap: 14px; align-items: baseline; padding: 12px 0 12px 20px; color: var(--muted); text-decoration: none; font-size: 15.5px; transition: color .3s; }
.reel-index a::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--signal); transform: scaleY(0); transition: transform .5s var(--ease); }
.reel-index a:hover, .reel-index a[aria-current] { color: var(--bone); }
.reel-index a[aria-current]::before { transform: none; }
.reel-index a .mono { color: var(--dim); }

/* device frames around live previews */
.device { border: 1px solid var(--line-2); border-radius: 6px 6px 3px 3px; background: #000; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(40,30,15,.45), 0 2px 0 rgba(23,21,15,.04); }
.device-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--ink-3); border-bottom: 1px solid var(--line); }
.device-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.device-bar span { font: 500 10.5px var(--mono); letter-spacing: .04em; color: var(--muted); margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.screen::before { content: "Loading preview"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html:not(.js) .screen::before { content: "Open the live concept to view it"; }
.screen iframe { position: absolute; top: 0; left: 0; max-width: none; width: 100%; height: 100%; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .6s var(--ease); background: transparent; pointer-events: none; }
.screen.loaded iframe, html:not(.js) .screen iframe[src] { opacity: 1; }
.phone { width: 100%; max-width: 230px; padding: 8px; border: 1px solid var(--line-2); border-radius: 30px; background: #000; box-shadow: 0 50px 90px -40px rgba(40,30,15,.45); }
.phone .screen { aspect-ratio: 390 / 820; border-radius: 22px; }

.swatches { display: inline-flex; margin-top: 4px; }
.swatches i { width: 26px; height: 26px; display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* ---- 05 · process ---- */
.proc { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 4.5vw, 64px); padding-top: 44px; }
.proc-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.proc-line i { display: block; height: 100%; background: var(--signal); transform-origin: left; }
.proc li { position: relative; }
.proc li::before { content: ""; position: absolute; left: 0; top: -48px; width: 9px; height: 9px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .5s, box-shadow .5s; }
.proc li.lit::before { background: var(--signal); box-shadow: none; }
.proc .num { transition: color .5s; }
.proc li.lit .num { color: var(--signal); }
.proc h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0 10px; }
.proc p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---- 06 · commitments ---- */
.trust { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.trust > div:first-child { grid-column: 1 / 4; padding-right: 12px; }
.trust > div:last-child, .trust > .commit { grid-column: 4 / 13; }
.commit { list-style: none; border-top: 1px solid var(--line-2); }
.commit li { display: grid; grid-template-columns: 64px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); }
.commit .num { padding-top: .7em; }
.commit p { font-size: clamp(21px, 2.2vw, 34px); line-height: 1.22; letter-spacing: -.025em; color: var(--muted); margin: 0; max-width: 34ch; }
.commit b { color: var(--bone); font-weight: 500; }

/* ---- 07 · planner ---- */
.config { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.config fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.config legend { display: flex; gap: 14px; align-items: baseline; font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.config legend .mono { color: var(--signal); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 15px; transition: background-color .25s, color .25s, border-color .25s; cursor: pointer; }
.pill:hover span { border-color: var(--bone); }
.pill input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pill input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.brief { position: sticky; top: calc(var(--top) + 24px); border: 1px solid var(--line-2); padding: clamp(24px, 2.4vw, 36px); background: var(--ink-2); }
.brief-tier { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.brief-tier b { font: italic 400 clamp(32px, 3vw, 44px)/1 var(--serif); }
.brief dl { margin: 0 0 18px; }
.brief dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.brief dd { margin: 6px 0 0; font-size: 16px; }

/* ---- closing ---- */
.end-title { font-size: clamp(60px, 11vw, 190px); line-height: .88; letter-spacing: -.06em; margin: 24px 0 clamp(36px, 5vw, 64px); max-width: none; }
.end-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.end-row .lead { grid-column: 1 / 6; margin: 0; }
.end-row .ctas { grid-column: 7 / 13; justify-content: flex-end; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.foot-top > div:first-child { grid-column: 1 / 6; }
.foot-line { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -.02em; margin: 14px 0 0; max-width: 28ch; }
.foot-links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; align-content: start; }
.foot-links a { color: var(--muted); text-decoration: none; padding: 4px 0; transition: color .25s; }
.foot-links a:hover { color: var(--bone); }
.foot-mark { font-size: clamp(56px, 13.4vw, 232px); font-weight: 500; letter-spacing: -.065em; line-height: .8; white-space: nowrap; overflow: hidden; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-top: clamp(36px, 4.5vw, 64px); padding-bottom: .08em; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; margin: 24px auto 0; background: linear-gradient(var(--line), var(--line)) var(--g) 0 / calc(100% - 2 * var(--g)) 1px no-repeat; }
.foot-base a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }

/* =======================================================================================================
   INNER PAGES
   ======================================================================================================= */
.page-head { padding: calc(var(--top) + clamp(40px, 5vw, 80px)) 0 clamp(32px, 4vw, 56px) !important; }
.page-head h1 { font-size: clamp(48px, 7.4vw, 124px); line-height: .9; letter-spacing: -.055em; margin: 8px 0 20px; max-width: 14ch; }
.page-head .lead { margin-bottom: 20px; }
.page-head.center .lead, .center .lead { margin-left: auto; margin-right: auto; }
.center h1 { margin-left: auto; margin-right: auto; }

/* work · case studies */
.case-nav { position: sticky; top: var(--top); z-index: 20; background: rgba(245,241,234,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-nav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.case-nav .wrap::-webkit-scrollbar { display: none; }
.case-nav a { display: flex; gap: 8px; align-items: baseline; padding: 15px 0; white-space: nowrap; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .25s; }
.case-nav a:hover { color: var(--bone); }
.case-nav a .mono { color: var(--signal); font-size: 10.5px; }
.case { padding: clamp(44px, 5vw, 76px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 52px); }
.case:first-of-type { border-top: 0; }
.case-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.case-head .num { color: var(--signal); padding-bottom: 1.4em; }
.case-head h2 { font-size: clamp(44px, 6.4vw, 104px); letter-spacing: -.05em; margin-top: 12px; max-width: none; }
.case-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 16vw, 230px); gap: clamp(20px, 3vw, 44px); align-items: end; margin-top: clamp(22px, 2.6vw, 36px); }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin: clamp(22px, 2.6vw, 32px) 0 0; }
.case-meta div { border-top: 1px solid var(--line-2); padding: 12px 0 0; }
.case-meta dt { margin-bottom: 6px; }
.case-meta dd { margin: 0; font-size: 15px; line-height: 1.45; }

/* services */
.svc-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); }
.svc-group > .mono { margin-bottom: 14px; color: var(--bone); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 24px); }
.svc h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.svc .tag { align-self: start; }
.svc p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin: 0; max-width: 56ch; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.tier { padding: 32px clamp(20px, 2.4vw, 36px) 36px; border-right: 1px solid var(--line); }
.tier:first-child { padding-left: 0; }
.tier:last-child { border-right: 0; padding-right: 0; }
.tier h3 { font-size: clamp(34px, 3.2vw, 50px); letter-spacing: -.04em; margin: 14px 0 12px; }
.tier.featured .mono { color: var(--signal); }
.tier > .muted { min-height: 3.2em; }
.tier ul { list-style: none; margin-top: 18px; }
.tier li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
.split > :first-child { grid-column: 1 / 6; }
.split > :last-child { grid-column: 7 / 13; }
.split .lead { margin-bottom: 28px; }

/* about, contact, legal */
.prose p { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 62ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; margin: 52px 0 16px; max-width: none; }
.prose h3, .h3 { font-size: 20px; letter-spacing: -.015em; margin: 32px 0 10px; }
.prose ul { padding-left: 1.2em; color: var(--muted); margin-bottom: 1em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--bone); }
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.contact-main { grid-column: 1 / 8; border-top: 1px solid var(--line-2); padding-top: 24px; }
.contact-main h2 { font-size: clamp(36px, 4vw, 60px); margin: 14px 0 18px; }
.contact-main .muted { max-width: 48ch; margin-bottom: 28px; }
.contact-side { grid-column: 9 / 13; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-side p:not(.mono) { margin-top: 14px; }

/* the request form */
.wizard fieldset { border: 1px solid var(--line-2); padding: clamp(22px, 3vw, 36px); margin: 0 0 18px; min-width: 0; background: var(--ink-2); }
.wizard legend { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; padding: 0 10px; margin-left: -10px; }
.wizard label { display: block; margin: 0 0 18px; font-weight: 500; font-size: 15px; }
.label { font-weight: 500; font-size: 15px; margin: 0 0 10px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 8px; min-height: 48px; padding: 12px 14px; background: var(--ink); border: 1px solid var(--line-2); border-radius: 2px; font-size: 16px; font-weight: 400; transition: border-color .25s; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { border-color: var(--bone); outline: none; box-shadow: 0 0 0 3px var(--signal-a); }
textarea { resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
::placeholder { color: rgba(var(--bone-rgb), .35); }
.choices { display: grid; gap: 8px; }
label.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); padding: 14px 16px; margin: 0; cursor: pointer; font-weight: 400; transition: border-color .25s, background-color .25s; }
label.choice:hover { border-color: var(--bone); }
label.choice:has(input:checked) { border-color: var(--signal); background: var(--signal-a); }
label.choice input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--signal); }
.wizard .choice + .choice { margin-top: 8px; }
.req { color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid-2 { display: grid; gap: 16px; }
.grid-2.tight { gap: 12px; margin-top: 18px; }
.progress { display: none; }
.js .progress { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.js .progress li { flex: 1; min-width: 72px; border-top: 2px solid var(--line-2); padding-top: 10px; transition: border-color .4s, color .4s; }
.js .progress li.on { border-color: var(--signal); color: var(--bone); }
.js .wizard fieldset[data-step] { display: none; }
.js .wizard fieldset[data-step].on { display: block; animation: swapIn .5s var(--ease); }
.wizard-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.form-status { margin-top: 16px; }
.form-status .err, .errors li { color: #ffb39c; }
.errors { border: 1px solid rgba(255,91,46,.5); padding: 14px 18px 14px 36px; margin: 0 0 18px; }
.summary dl { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 10px 18px; margin: 0 0 18px; }
.summary dt { font: 500 11px/1.8 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.notice { border: 1px solid rgba(127,167,201,.5); padding: 14px 16px; margin-bottom: 18px; color: var(--cool); }
.field-error { border-color: #ffb39c !important; }

/* ---- the instant preview builder ---- */
.pv-head { padding-bottom: clamp(40px, 5vw, 64px) !important; }
.pv-sec { padding-top: 0 !important; border-top: 0 !important; }
.pv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.pv-form fieldset { border: 0; border-top: 1px solid var(--line-2); padding: 26px 0 8px; margin: 0; min-width: 0; }
.pv-form legend { display: flex; gap: 14px; align-items: baseline; font-size: 22px; font-weight: 500; letter-spacing: -.02em; padding: 0 0 4px; float: left; width: 100%; margin-bottom: 14px; }
.pv-form legend + * { clear: both; }
.pv-form legend .mono { color: var(--signal); }
.pv-field { display: block; margin: 0 0 18px; font-weight: 500; font-size: 15px; }
.pv-form .pills { margin-bottom: 18px; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.look { position: relative; }
.look input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.look-card { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; transition: border-color .25s, background-color .25s; height: 100%; }
.look-card b { font-weight: 500; font-size: 15px; }
.look-card .small { font-size: 13px; line-height: 1.4; }
.look-pal { display: flex; margin-bottom: 6px; }
.look-pal i { flex: 1; height: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.look:hover .look-card { border-color: var(--bone); }
.look input:checked + .look-card { border-color: var(--signal); background: var(--signal-a); }
.look input:focus-visible + .look-card { outline: 2px solid var(--signal); outline-offset: 2px; }
.pv-ai { margin: 4px 0 18px; }
.pv-ai b { font-weight: 500; }
.pv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.pv-actions p { margin: 0; }
.pv-error { color: #ffb39c; margin: 14px 0 0; }
.pv-stage { position: sticky; top: calc(var(--top) + 20px); }
.pv-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.pv-toggle { display: flex; gap: 6px; }
.pv-toggle .ctl { height: 34px; font-size: 13px; }
.pv-toggle .ctl[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pv-frame[data-size="phone"] .device { max-width: 330px; margin: 0 auto; border-radius: 28px; padding: 8px; }
.pv-frame[data-size="phone"] .device-bar { display: none; }
.pv-frame[data-size="phone"] .pv-screen { aspect-ratio: 390 / 760; border-radius: 20px; }
.pv-screen { aspect-ratio: 16 / 11; }
.pv-screen::before { content: none; }
.pv-screen iframe { opacity: 1; pointer-events: auto; background: #fff; }
.pv-steps { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0 clamp(20px, 6%, 64px); display: grid; align-content: center; gap: 4px; }
.pv-steps li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); transition: color .4s; }
.pv-steps li .mono { color: var(--muted); }
.pv-steps li.now { color: var(--bone); }
.pv-steps li.now .mono { color: var(--signal); }
.pv-steps li.done { color: var(--muted); }
.pv-steps li.done .mono { color: var(--signal); }
.pv-steps li.done::after { content: "✓"; margin-left: auto; color: var(--signal); }
.pv-stage.ready .pv-steps { display: none; }
.pv-next { margin-top: 22px; }
.pv-note { color: var(--muted); max-width: 62ch; }
.pv-ai-note { margin: 10px 0 0; max-width: 60ch; }
.pv-ai-status { display: flex; gap: 10px; align-items: baseline; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line-2); color: var(--bone); max-width: 62ch; }
.pv-ai-status::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--cool); transform: translateY(-1px); }
.pv-ai-status[data-kind=busy]::before { background: var(--signal); }
.pv-ai-status[data-kind=done]::before { background: var(--signal); border-radius: 50%; }
.pv-ai-status[data-kind=error] { color: var(--muted); }
.pv-stage.scripting .device { box-shadow: 0 0 0 1px var(--signal-a), 0 0 60px -10px var(--signal-a); }
@media (prefers-reduced-motion: no-preference) {
  .pv-ai-status[data-kind=busy]::before { animation: pvPulse 1.1s ease-in-out infinite alternate; }
  .pv-stage.scripting .device { animation: pvGlow 1.6s ease-in-out infinite alternate; }
}
@keyframes pvPulse { to { opacity: .25; } }
@keyframes pvGlow { to { box-shadow: 0 0 0 1px var(--signal), 0 0 80px -6px rgba(255,91,46,.35); } }
.pv-building { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; background: rgba(245,241,234,.92); backdrop-filter: blur(6px); text-align: center; }
.pv-building-in { width: 100%; max-width: 440px; display: grid; justify-items: center; gap: 10px; }
.pv-building-k { color: var(--signal); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pv-building-h { margin: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; color: var(--bone); }
.pv-building-what { margin: 0; min-height: 1.6em; color: var(--bone); opacity: .8; }
.pv-building-bar { width: min(320px, 80%); height: 3px; background: var(--line); overflow: hidden; }
.pv-building-bar i { display: block; height: 100%; width: 35%; background: var(--signal); }
.pv-building-bar.count i { width: var(--done, 4%); animation: none !important; transition: width .6s var(--ease); }
.pv-building-sub { margin: 4px 0 6px; color: var(--muted); font-size: 14px; }
.pv-building .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 8px; }
.pv-frame[data-size="phone"] .pv-building-h { font-size: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .pv-building-bar i { animation: pvSlide 1.4s var(--ease) infinite; }
  .pv-building-what { transition: opacity .3s; }
}
@keyframes pvSlide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.pv-next .ctas { margin: 18px 0; }
.pv-photo { margin: 0 0 14px; padding: 14px; border: 1px solid var(--signal-a); max-width: 62ch; }
.pv-photo p { margin: 0 0 12px; }
.pv-photo .btn[disabled] { opacity: .6; cursor: progress; }
.pv-refs { margin: 0 0 14px; }
.pv-refs-pick { display: flex; gap: 12px; align-items: flex-start; border: 1px dashed var(--line-2); padding: 12px 14px; cursor: pointer; font-weight: 400; transition: border-color .25s; }
.pv-refs-pick:hover { border-color: var(--bone); }
.pv-refs-pick b { font-weight: 500; }
.pv-refs-pick input { width: 1px; height: 1px; opacity: 0; position: absolute; }
.pv-refs-pick::before { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--signal); font-size: 18px; line-height: 1; }
.pv-refs-pick:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.pv-refs-pick.full { opacity: .55; cursor: default; }
.pv-refs-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pv-refs-list:empty { display: none; }
.pv-refs-list li { display: grid; gap: 6px; width: 104px; }
.pv-refs-list img { width: 104px; height: 78px; object-fit: cover; display: block; border: 1px solid var(--line-2); }
.pv-refs-list .ctl { height: 28px; font-size: 12px; }
button.link { background: none; border: 0; border-bottom: 1px solid var(--line-2); font: inherit; font-weight: 500; cursor: pointer; padding: 0 0 4px; }
.pv-ideas-open { margin: -4px 0 18px; font-size: 15px; }
.pv-ideas { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 7, .55); display: flex; justify-content: flex-end; }
.pv-ideas[hidden] { display: none !important; }
.pv-ideas-in { width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--ink, #0d0e10); border-left: 1px solid var(--line-2); padding: 22px 20px 32px; box-sizing: border-box; }
.pv-ideas-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.pv-ideas-h { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.pv-ideas-g { color: var(--signal); margin: 22px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pv-ideas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pv-idea { width: 100%; text-align: left; display: grid; gap: 4px; padding: 12px 14px; background: none; color: var(--bone); border: 1px solid var(--line-2); font: inherit; cursor: pointer; transition: border-color .25s, background-color .25s; }
.pv-idea:hover, .pv-idea:focus-visible { border-color: var(--signal); background: var(--signal-a); }
.pv-idea b { font-weight: 500; }
body.pv-ideas-on { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .pv-ideas:not([hidden]) .pv-ideas-in { animation: pvIdeasIn .35s var(--ease) both; } }
@keyframes pvIdeasIn { from { transform: translateX(40px); opacity: 0; } }
@media (max-width: 980px) {
  .pv { grid-template-columns: 1fr; }
  .pv-stage { position: static; }
}
@media (max-width: 560px) {
  .looks { grid-template-columns: 1fr; }
  .pv-screen { aspect-ratio: 4 / 5; }
}

/* =======================================================================================================
   RESPONSIVE
   ======================================================================================================= */
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

@media (max-width: 1180px) {
  .engine { grid-template-columns: 1fr; }
  .eng-scen { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .eng-scen button { flex: 1; border-bottom: 0; border-right: 1px solid var(--line); }
  .eng-scen button:last-child { border-right: 0; }
  .eng-scen button[aria-selected="true"] { box-shadow: inset 0 2px 0 var(--signal); }
  .eng-inspect { border-left: 0; border-top: 1px solid var(--line); }
  .ins-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}

@media (max-width: 980px) {
  .sec-head .label-row, .sec-head h2, .sec-head .lead, .sec-head .disclose, .sec-head .addon { grid-column: 1 / -1; }
  .sec-head .label-row { padding-top: 0; }
  .pos > div:first-child, .pos > div:last-child, .trust > div:first-child, .trust > div:last-child, .trust > .commit { grid-column: 1 / -1; }
  .trust > div:first-child { margin-bottom: 24px; }
  .caps { grid-template-columns: 1fr; }
  .js .cap-view { display: none; }
  .js .cap.on .cap-body { display: block; }
  .cap-head { padding: 24px 0; }
  .reel { grid-template-columns: 1fr; }
  .reel-index { order: -1; display: flex; gap: 0 22px; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .reel-index::-webkit-scrollbar { display: none; }
  .reel-index a { padding: 10px 0 14px; white-space: nowrap; }
  .reel-index a::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); }
  .reel-index a[aria-current]::before { transform: none; }
  .reel-item { grid-template-columns: 1fr; }
  .reel-item .device { order: -1; }
  .proc { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .proc-line { display: none; }
  .proc li { padding: 22px 0 22px 32px; border-top: 1px solid var(--line); }
  .proc li::before { top: 30px; }
  .config { grid-template-columns: 1fr; }
  .brief { position: static; }
  .end-row .lead, .end-row .ctas { grid-column: 1 / -1; }
  .end-row .ctas { justify-content: flex-start; margin-top: 28px; }
  .hero-prop { grid-column: 1 / 8; }
  .hero-acts { grid-column: 8 / 13; }
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > :first-child, .split > :last-child { grid-column: 1 / -1; }
  .contact-main, .contact-side { grid-column: 1 / -1; }
  .svc-table { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: none; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; font-size: 14px; position: relative; z-index: 2; }
  .menu::after { content: ""; width: 14px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform .3s var(--ease); }
  .menu[aria-expanded="true"]::after { transform: scaleY(0); }
  #nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: calc(var(--top) + 24px) var(--g) 40px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
  #nav.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
  #nav a:not(.btn) { font-size: clamp(36px, 10vw, 56px); letter-spacing: -.04em; color: var(--bone); padding: 4px 0; }
  #nav a[aria-current]::after { bottom: 6px; }
  #nav .btn { margin-top: 28px; }
  .menu-open body { overflow: hidden; }
  .menu-open .top { background: var(--ink); }
  .logo { position: relative; z-index: 2; }
  .hero-meta { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .hero-rules { grid-template-columns: repeat(2, 1fr); }
  .hero-rules i:nth-child(n+3) { display: none; }
  .hero-rules i:nth-child(2) { border-right: 1px solid var(--line); }
  .hero-title em { margin-left: 12%; }
  .hero-foot { grid-template-columns: 1fr; row-gap: 28px; }
  .hero-prop, .hero-acts { grid-column: 1 / -1; }
  .hero-acts { align-items: flex-start; }
  .hero-index { grid-template-columns: repeat(2, 1fr); }
  .hero-index a, .hero-index a:first-child { padding: 14px 0 6px; }
  .hero-index a:nth-child(even) { padding-left: 14px; }
  .pos-cols { grid-template-columns: 1fr; gap: 28px; }
  .eng-track { grid-template-columns: 1fr; gap: 10px; padding: 8px 0 8px 0; }
  .node { min-height: 0; grid-template-columns: 36px 1fr; align-items: baseline; padding: 12px 14px; }
  .case-head { grid-template-columns: 1fr; gap: 14px; }
  .case-head .num { padding: 0; }
  .case-head .btn { justify-self: start; }
  .case-stage { grid-template-columns: 1fr; }
  .case-stage .phone { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .tier, .tier:first-child, .tier:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-top > div:first-child, .foot-links { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .eng-scen { overflow-x: auto; scrollbar-width: none; }
  .eng-scen::-webkit-scrollbar { display: none; }
  .eng-scen button { flex: 0 0 72%; padding: 16px 18px; }
  .eng-scen button b { font-size: 17px; }
  .ins-data { grid-template-columns: 1fr; }
  .eng-msg p { font-size: 20px; }
  .cap-body { padding-left: 0; }
  .cap-body ul { grid-template-columns: 1fr; }
  .cap-head { grid-template-columns: 44px 1fr; }
  .case-meta { grid-template-columns: 1fr; }
  .commit li { grid-template-columns: 44px 1fr; }
  .summary dl { grid-template-columns: 1fr; gap: 2px; }
  .summary dd { margin-bottom: 10px; }
  .btn { padding: 0 20px; }
  .ctas .btn { flex: 1 1 auto; }
  .text-links { gap: 20px; flex-direction: column; align-items: flex-start; }
}

/* Phones: shorter pages. Less padding, one line where a paragraph would repeat the heading, and the longer
   extras (the brief builder, the full case study notes) stay on the bigger screens and their own pages. */
@media (max-width: 640px) {
  main > section { padding: 60px 0; }
  .case { padding: 56px 0; }
  .foot { padding-top: 48px; }
  .no-phone, .pos-cols, .reel-sec .sec-head .lead, .reel-meta > p, .reel-meta .swatches, .ins-data,
  .proc li p, .commit .more, .engine-sec .sec-head .lead, .eng-route, .eng-sats, .cap-body > p, .trust .small.muted, .svc p, .case-meta > div:not(.keep), .case-stage { display: none !important; }
  .proc { margin-top: 28px; }
  .proc li { padding: 14px 0 14px 32px; }
  .proc li::before { top: 22px; }
  .proc li { display: flex; gap: 14px; align-items: baseline; }
  .proc li h3 { font-size: 19px; margin: 0; }
  .cap-body ul { margin-top: 12px; }
  .svc { padding: 14px 0; }
  .case-meta { margin-top: 18px; }
  .case-meta div { padding-bottom: 8px; }
  .reel-meta h3 { margin: 10px 0 12px; }
  .tier ul { margin-top: 10px; }
  .page-head .lead, .sec-head .lead { font-size: 17px; }
}

/* ---- trust and buying: the person behind the business, prices, contact details ---- */
.ctas { align-items: center; }
.ctas .link { margin-left: 8px; }
.hero-title.hero-long { font-size: clamp(46px, 8.2vw, 148px); }
.hero-title.hero-long em { margin-left: 18%; }
.sec-head .addon { grid-column: 4 / 13; margin: 0 0 18px; font-size: clamp(17px, 1.35vw, 20px); color: var(--bone); }
.sec-head .addon::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--signal); vertical-align: middle; transform: translateY(-2px); }
.reel-meta .helps { margin-top: 14px; color: var(--bone); }
.tier-price { font-size: 20px; letter-spacing: -.01em; color: var(--bone); margin: -2px 0 10px; }
.price-list { margin: 0 0 18px; border-top: 1px solid var(--line-2); }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list dt { color: var(--muted); }
.price-list dd { margin: 0; color: var(--bone); white-space: nowrap; }
.split .price-list + .small { margin-bottom: 28px; max-width: 54ch; }
.owner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
.owner .owner-text { grid-column: 1 / 10; }
.owner.has-photo .owner-photo { grid-column: 1 / 5; margin: 0; border: 1px solid var(--line-2); }
.owner.has-photo .owner-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.owner.has-photo .owner-text { grid-column: 6 / 13; }
.owner h2 { font-size: clamp(34px, 4vw, 60px); margin: 18px 0 24px; }
.owner .prose a { color: var(--bone); }
.contact-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: var(--gap); margin: 0; }
.contact-details div { border-top: 1px solid var(--line-2); padding: 16px 0 20px; }
.contact-details dt { margin-bottom: 8px; }
.contact-details dd { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.contact-details a { color: var(--bone); }
.foot-contact { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-contact a { text-transform: none; letter-spacing: .02em; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-top: 40px; }
.client { margin: 0; border-top: 1px solid var(--line-2); padding-top: 20px; }
.client blockquote { margin: 0 0 14px; font-size: 20px; line-height: 1.45; }
@media (max-width: 980px) {
  .sec-head .addon { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .owner .owner-text, .owner.has-photo .owner-text, .owner.has-photo .owner-photo { grid-column: 1 / -1; }
  .owner.has-photo .owner-photo { max-width: 320px; }
  .hero-title.hero-long em { margin-left: 8%; }
}
@media (max-width: 640px) {
  .ctas .link { margin: 6px 0 0; }
  .plan-sec .brief, .plan-sec .sec-head .lead { display: none; }
  .plan-sec .sec-head h2 { font-size: 34px; }
  .foot-base a { min-height: 44px; }
}
.plan-skip { margin-top: 18px; }
.sec-head .plan-skip { grid-column: 4 / 13; }
@media (max-width: 980px) { .sec-head .plan-skip { grid-column: 1 / -1; } }
.next-steps { list-style: none; margin: 36px auto 32px; padding: 0; max-width: 560px; text-align: left; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.next-steps li::before { content: "0" counter(n); font: 500 11.5px/1.9 var(--mono); color: var(--signal); }
.next-steps b { color: var(--bone); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .packet, .disclose::before, .tag::before { forced-color-adjust: none; }
  .btn { border: 1px solid ButtonText; }
}
@media print {
  .top, #field, .hero-rules, .eng-controls, .foot-mark { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---- Website builder (/build): a chat beside a live preview ---- */
.bd-hero { padding: calc(var(--top) + clamp(56px, 7vw, 110px)) 0 clamp(36px, 4vw, 56px) !important; }
.bd-hero h1 { font-size: clamp(46px, 7.4vw, 118px); letter-spacing: -.045em; margin: 18px 0 24px; max-width: 13ch; }
.bd-kick { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.bd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-a); }
.bd-sec { padding-top: 0 !important; border-top: 0 !important; }
.bd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.bd-chat { border: 1px solid var(--line-2); background: var(--ink-2); border-radius: 4px; display: flex; flex-direction: column; min-height: 620px; max-height: min(820px, calc(100vh - var(--top) - 32px)); position: sticky; top: calc(var(--top) + 16px); }
.bd-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bd-chat-head b { display: block; font-weight: 500; font-size: 15px; }
.bd-ai { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-2); }
.bd-ai .mark { width: 22px; height: 22px; }
.bd-restart { margin-left: auto; height: 32px; font-size: 13px; }
.bd-log { list-style: none; flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.bd-msg { max-width: 88%; position: relative; }
.bd-msg p { margin: 0; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bd-msg.ai p { background: var(--ink-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bd-msg.you { align-self: flex-end; text-align: right; }
.bd-msg.you p { background: var(--bone); color: var(--ink); border-bottom-right-radius: 4px; text-align: left; display: inline-block; }
.bd-msg.fresh { animation: bd-in .5s var(--ease) both; }
@keyframes bd-in { from { opacity: 0; transform: translateY(8px); } }
.bd-edit { background: none; border: 0; padding: 4px 2px 0; font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.bd-edit:hover { color: var(--bone); }
.bd-input { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.bd-row { display: flex; gap: 8px; align-items: flex-end; }
.bd-row input, .bd-row textarea { margin: 0 !important; flex: 1; }
.bd-row .btn { min-height: 48px; }
.bd-skip { background: none; border: 0; padding: 8px 0 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.bd-skip:hover { color: var(--bone); }
.bd-hint { color: #b4330c; font-size: 14px; margin: 10px 0 0; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chip { padding: 10px 14px; border: 1px solid var(--line-2); background: none; border-radius: 999px; cursor: pointer; font-size: 14.5px; transition: background-color .25s, color .25s, border-color .25s; }
.bd-chip:hover, .bd-chip.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.bd-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; }
.bd-look { display: grid; gap: 3px; text-align: left; padding: 10px; border: 1px solid var(--line-2); background: none; border-radius: 3px; cursor: pointer; transition: border-color .25s, background-color .25s; }
.bd-look b { font-weight: 500; font-size: 14.5px; }
.bd-look .small { font-size: 12.5px; line-height: 1.35; }
.bd-look:hover, .bd-look.on { border-color: var(--signal); background: var(--signal-a); }
.bd-look .look-pal i { height: 18px; }
.bd-details label { display: block; font-size: 14px; font-weight: 500; }
.bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.bd-grid label:last-child { grid-column: 1 / -1; }
.bd-grid input { margin-top: 6px !important; min-height: 44px !important; }
.bd-terms { display: flex !important; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 400 !important; font-size: 13.5px !important; color: var(--muted); }
.bd-terms input { margin-top: 3px; accent-color: var(--signal); width: 16px; height: 16px; flex: none; }
.bd-pay .btn { width: 100%; }
.bd-pay p { margin: 10px 0 0; }
.bd-noscript { padding: 18px 16px; }
.bd-preview .pv-bar { margin-bottom: 10px; }
.bd-frame[data-size="phone"] .device { max-width: 340px; margin: 0 auto; border-radius: 28px; padding: 8px; }
.bd-frame[data-size="phone"] .device-bar { display: none; }
.bd-frame[data-size="phone"] .bd-screen { aspect-ratio: 390 / 760; border-radius: 20px; }
.bd-screen { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-3); }
.bd-screen iframe { position: absolute; top: 0; left: 0; max-width: none; width: 100%; height: 100%; border: 0; transform-origin: 0 0; background: #fff; }
.bd-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; background: radial-gradient(60% 60% at 50% 40%, rgba(255,91,46,.08), transparent 70%), repeating-linear-gradient(90deg, transparent 0 63px, var(--line) 63px 64px), repeating-linear-gradient(0deg, transparent 0 63px, var(--line) 63px 64px); }
.bd-empty-h { font: 400 clamp(28px, 3vw, 42px)/1.1 var(--serif); font-style: italic; margin: 0 0 6px; }
.bd-pv-note { margin: 12px 0 0; }
.bd-plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap) clamp(32px, 6vw, 96px); align-items: start; }
.bd-plan h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 28px; }
.bd-price { font: 500 clamp(56px, 7vw, 104px)/1 var(--sans); letter-spacing: -.05em; margin: 0 0 10px; display: flex; align-items: baseline; gap: 12px; }
.bd-price small { font: 400 18px var(--sans); letter-spacing: 0; color: var(--muted); }
.bd-plan .btn { margin-top: 18px; }
.bd-inc { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--line-2); }
.bd-inc li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.bd-inc .num { color: var(--signal); padding-top: 3px; }
.bd-inc b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.bd-inc p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.bd-faq details { border-top: 1px solid var(--line-2); }
.bd-faq details:last-child { border-bottom: 1px solid var(--line-2); }
.bd-faq summary { cursor: pointer; padding: 20px 32px 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; list-style: none; position: relative; }
.bd-faq summary::-webkit-details-marker { display: none; }
.bd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 26px var(--sans); color: var(--muted); transition: transform .3s var(--ease); }
.bd-faq details[open] summary::after { transform: rotate(45deg); }
.bd-faq details p { color: var(--muted); max-width: 60ch; padding-bottom: 18px; }
@media (max-width: 980px) {
  .bd, .bd-plan { grid-template-columns: 1fr; }
  .bd-chat { position: relative; top: 0; min-height: 0; max-height: none; }
  .bd-log { max-height: 52vh; }
  .bd-inc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .bd-grid, .bd-looks { grid-template-columns: 1fr; } .bd-screen { aspect-ratio: 4 / 5; } }

/* ---- Homepage: the website builder in four steps ---- */
.bh-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 3.5vw, 48px); }
.bh-steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.bh-steps .num { color: var(--signal); }
.bh-steps h3 { font-size: clamp(22px, 2vw, 28px); margin: 14px 0 12px; }
.bh-steps p { color: var(--muted); font-size: 15.5px; }
.bh-foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; margin-top: clamp(36px, 4vw, 56px); padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ink-2); }
.bh-price { margin: 0; color: var(--muted); }
.bh-price b { color: var(--bone); font-size: 22px; font-weight: 500; margin-right: 4px; }
@media (max-width: 980px) { .bh-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bh-steps { grid-template-columns: 1fr; } .bh-foot .btn { width: 100%; } }

/* ---- dark "cinema" bands inside the light site: the footer, and photography sections ---- */
.dark { --ink: #0d0e10; --ink-2: #141518; --ink-3: #1b1d21; --bone: #ece8df; --bone-rgb: 236,232,223; --muted: #a3a5aa; --dim: rgba(236,232,223,.45); --line: rgba(236,232,223,.12); --line-2: rgba(236,232,223,.24); --signal: #ff6a3d; --signal-a: rgba(255,106,61,.14); background: var(--ink); color: var(--bone); color-scheme: dark; }
.dark .btn:hover { color: var(--night); }

/* ---- Homepage: light editorial hero ---- */
.hero2 { padding: calc(var(--top) + clamp(40px, 6vw, 96px)) 0 clamp(32px, 4vw, 56px) !important; }
.hero2-kick { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero2-title { font-size: clamp(54px, 10.4vw, 176px); line-height: .9; letter-spacing: -.055em; max-width: 12ch; }
.hero2-title em { display: block; padding-left: .55em; color: #3a3328; }
.hero2-foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-top: clamp(32px, 4vw, 56px); }
.hero2-prop { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--muted); max-width: 44ch; margin: 0; }
.hero2 .hero-acts { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
/* ---- the builder, shown for real ---- */
.bh-shot { margin: clamp(28px, 3.5vw, 48px) 0 0; }
.bh-shot img { display: block; width: 100%; height: auto; }
.bh-shot figcaption { margin-top: 14px; }
/* ---- the gallery band ---- */
main > section.gal-sec { padding: clamp(64px, 7vw, 104px) 0; border-top: 0; overflow: hidden; }
.gal-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.gal-head h2 { font-size: clamp(40px, 5.6vw, 88px); }
.gal-head .lead { margin: 0; }
.gal { display: flex; width: max-content; }
.gal-track { list-style: none; display: flex; gap: 16px; padding-right: 16px; animation: gal 70s linear infinite; }
.gal.held .gal-track { animation-play-state: paused; }
@keyframes gal { to { transform: translateX(-100%); } }
.gal li a { position: relative; display: block; width: clamp(240px, 24vw, 360px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; text-decoration: none; color: #f3efe6; }
.gal li img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gal li a:hover img, .gal li a:focus-visible img { transform: scale(1.05); }
.gal li a > span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(8,10,14,.75)); }
.gal li b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.gal li .mono { color: rgba(243,239,230,.75); }
.gal-sec .disclose { margin-top: 28px; }
@media (max-width: 860px) { .gal-head { grid-template-columns: 1fr; } .hero2-title em { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .gal { width: auto; overflow-x: auto; } .gal-track { animation: none; } .gal-track[aria-hidden] { display: none; } }
.bh-shot img { border-radius: 6px; box-shadow: 0 0 0 1px var(--line-2), 0 60px 100px -50px rgba(40,30,15,.4); }

/* Done-for-you band: one short line, the services as tags, one button */
.dfy-sec { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.dfy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; }
.dfy > :first-child { grid-column: 1 / 7; }
.dfy > :last-child { grid-column: 8 / 13; }
.dfy .lead { margin-bottom: 22px; }
.dfy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dfy-tags a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--bone); text-decoration: none; transition: border-color .2s, background .2s; }
.dfy-tags a:hover, .dfy-tags a:focus-visible { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 8%, transparent); }
@media (max-width: 860px) { .dfy > :first-child, .dfy > :last-child { grid-column: 1 / -1; } }

/* ---- Homepage entrance (assets/entrance-gate.js + entrance.js): a 3D flight down a tunnel of websites, through
   "Orbiting designs", into a curved gallery of sites. The headline sits on the gallery. ---- */
main > section.ent { padding: 0; border-top: 0; position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #f3eee4;
  background: #07070a url(/assets/wall-poster.jpg) center / cover no-repeat; isolation: isolate; }
.ent.has3d { background-image: none; }
.ent-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.ent-veil { position: absolute; inset: 0; background: #07070a; opacity: 0; pointer-events: none; z-index: 1; }
.ent-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 90%; margin: 0; text-align: center; pointer-events: none;
  font: 400 clamp(34px, 6vw, 92px)/1 var(--serif); letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.9), 0 4px 40px rgba(0,0,0,.8); opacity: 0; transition: opacity .6s ease; }
.ent-tag em { font-style: italic; }
.ent-tag.on { opacity: 1; }
.ent-over { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(24px, 5vh, 64px);
  background: linear-gradient(0deg, rgba(7,7,10,.94) 0%, rgba(7,7,10,.82) 24%, rgba(7,7,10,0) 56%); pointer-events: none; transition: opacity .8s ease 1s; }
.ent-over a, .ent-over button { pointer-events: auto; }
.ent .hero2-kick { color: rgba(243,238,228,.72); margin-bottom: 16px; }
.ent .hero2-title { font-size: clamp(42px, 7.4vw, 124px); color: #f3eee4; margin: 0; }
.ent .hero2-title em { color: #ead8c2; }
.ent-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.ent-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 380px; }
.ent .hero2-prop { color: rgba(243,238,228,.8); font-size: clamp(15px, 1.2vw, 18px); }
.ent-now { color: rgba(243,238,228,.55); margin: 0; }
.ent-now b { color: #f3eee4; font-weight: 400; }
.ent .hero-acts { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ent .btn { background: #f3eee4; color: #07070a; }
.ent .btn:hover { background: var(--signal); color: #fff; }
.ent .link { color: #f3eee4; border-color: rgba(243,238,228,.35); }
.ent-note { margin: 18px 0 0; color: rgba(243,238,228,.42); font-size: 11px; }
.ent-skip { position: absolute; right: var(--g); bottom: 18px; z-index: 3; background: none; border: 0; color: rgba(243,238,228,.6); cursor: pointer; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; display: none; }
/* the flight: headline and header wait until it lands (the bail-out shows them anyway if the script never runs) */
html.ent-intro .ent-over { opacity: 0; transition: none; animation: ent-bail .6s ease 9s forwards; }
html.ent-intro .ent-skip { display: block; }
html.ent-intro .home .top { opacity: 0; pointer-events: none; animation: ent-bail .6s ease 9s forwards; }
.home .top { transition: opacity .8s ease .8s, transform .45s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s; }
@keyframes ent-bail { to { opacity: 1; pointer-events: auto; } }
/* the header reads light over the dark entrance until the page scrolls */
.home .top:not(.scrolled) { --bone: #f3eee4; --muted: rgba(243,238,228,.72); --ink: #07070a; color: var(--bone); }
.home .top:not(.scrolled) .btn { background: #f3eee4; color: #07070a; }
@media (max-width: 860px) { .ent-row { gap: 18px; } .ent-side { max-width: none; } }

/* ---- /login: business owners get their private link to their bookings ---- */
.login-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.login-form { grid-column: 1 / 7; border-top: 1px solid var(--line-2); padding-top: 24px; display: grid; gap: 14px; }
.login-form label { font-weight: 500; }
.login-form .btn { justify-self: start; }
.login-msg { margin: 0; min-height: 1.5em; }
.login-msg.ok { color: #2f7d4f; font-weight: 500; }
.login-msg.err { color: var(--signal); font-weight: 500; }
.login-side { grid-column: 8 / 13; border-top: 1px solid var(--line-2); padding-top: 24px; }
.login-list { margin: 14px 0 22px; padding-left: 18px; display: grid; gap: 8px; }
@media (max-width: 860px) { .login-form, .login-side { grid-column: 1 / -1; } .login-form .btn { justify-self: stretch; } }
@media (prefers-reduced-motion: reduce) { .top.tuck { transform: none; } html.ent-intro .ent-over, html.ent-intro .home .top { opacity: 1; animation: none; } }
