/* Etm. Black, warm white and a little gold. A serif that does the talking, mono for the fine print.
   Layout idea: a calm centered opening like a printed card, then an editorial column,
   with the work floating in perspective as you scroll. */
:root {
  --bg: #141414;
  --bg-2: #1C1C1C;
  --black: #070707;
  --ink: #F7F4EE;
  --mute: #BDB8AE;
  --faint: #8F8A80;
  --hair: rgba(247, 244, 238, .12);
  --line: rgba(247, 244, 238, .5);
  --paper: #F7F4EE;
  --paper-ink: #0B0B0B;
  --gold: #C9A84C;
  --gold-hi: #E2C46A;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
/* fine grain, so the gray reads like a material instead of a flat fill */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; text-wrap: balance; }
em { font-style: italic; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--black); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 90; background: var(--ink); color: var(--black); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.eyebrow { font: 500 11.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.7; color: var(--mute); max-width: 54ch; }
.big-lead { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.muted { color: var(--mute); }
.rule { display: block; width: 56px; height: 1px; background: var(--line); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; padding: 12px 26px; font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn.light, .btn.primary { background: var(--ink); color: var(--paper-ink); }
.btn.light:hover, .btn.primary:hover { background: #fff; }
.btn.ghost { border-color: rgba(236, 235, 230, .35); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(236, 235, 230, .05); }
.btn.dark { background: var(--paper-ink); color: var(--ink); }
.btn.dark:hover { background: #000; }
.btn .dot { display: none; }
.arrow-link { text-decoration: none; font-weight: 500; font-size: 15px; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.arrow-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(20, 21, 23, .8); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); border-color: var(--hair); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.logo { justify-self: start; display: block; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 34px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--mute); transition: color .25s; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.right { justify-self: end; display: flex; gap: 14px; align-items: center; }
.right .btn { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(236,235,230,.3); border-radius: 999px; min-height: 40px; padding: 8px 18px; font-size: 14px; cursor: pointer; }
.mnav { padding-block: 8px 26px; }
.mnav a { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.top.minimal .bar { grid-template-columns: 1fr auto; }

/* floating audit link */
.float { position: fixed; z-index: 55; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(17, 17, 19, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14.5px; white-space: nowrap; border: 1px solid var(--hair); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transition: transform .5s var(--ease), opacity .5s var(--ease); }
.float span { width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center; background: var(--ink); color: var(--paper-ink); }
.float.away { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* sections */
.sec { padding-block: clamp(90px, 12vw, 170px); position: relative; }
.alt, .deep { --fade: clamp(120px, 14vw, 220px); background: linear-gradient(180deg, var(--bg) 0, var(--black) var(--fade), var(--black) calc(100% - var(--fade)), var(--bg) 100%); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 18px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 68px); }

/* opening */
.hero { min-height: min(880px, calc(100svh - 84px)); display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding-block: 60px 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(50% 40% at 50% 38%, rgba(236,235,230,.075), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; justify-items: center; gap: 28px; }
.hero h1 { font-size: clamp(62px, 9.2vw, 136px); line-height: .96; letter-spacing: -.02em; }
.hero h1 em { color: var(--mute); }
.hero .lead { margin-inline: auto; text-align: center; max-width: 46ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta-row { justify-content: center; margin-top: 6px; }
.scroll-cue { display: grid; justify-items: center; gap: 12px; margin-top: clamp(30px, 6vh, 64px); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); text-decoration: none; }
.scroll-cue i { width: 1px; height: 64px; background: linear-gradient(var(--line), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--ink); animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* statement */
.statement { text-align: center; display: grid; justify-items: center; gap: 30px; }
.statement h2 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; }
.statement h2 em { color: var(--mute); }
.statement p { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 48ch; }

/* work showcase: frames swing in from an angle and settle flat as you scroll */
.show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3.4vw, 48px); align-items: start; }
.show.solo { grid-template-columns: 1fr; row-gap: clamp(80px, 11vw, 150px); }
.item { --p: 1; perspective: 1700px; display: grid; gap: 22px; text-decoration: none; color: inherit; }
.item.r { margin-top: clamp(40px, 8vw, 120px); }
.tilt { transform-style: preserve-3d; will-change: transform; }
.l .tilt { transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--p)) * 34deg)) rotateX(calc((1 - var(--p)) * 6deg)) translate3d(calc((1 - var(--p)) * 10%), 0, 0); }
.r .tilt { transform-origin: 0 50%; transform: rotateY(calc((1 - var(--p)) * -34deg)) rotateX(calc((1 - var(--p)) * 6deg)) translate3d(calc((1 - var(--p)) * -10%), 0, 0); }
.c .tilt { transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.9 + var(--p) * .1)); }
.lean { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.browser { border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 60px 100px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(236,235,230,.1); }
.browser .chrome { height: 30px; display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: #141416; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser .chrome i { width: 8px; height: 8px; border-radius: 8px; background: #36373c; }
.browser .chrome span { margin-left: 10px; font-size: 11px; color: var(--faint); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #19191c; }
.mini-phone { position: absolute; bottom: -12%; width: 22%; border-radius: 22px; padding: 5px; background: #000; box-shadow: 0 40px 70px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(236,235,230,.14); transform: translateZ(70px); }
.l .mini-phone, .c .mini-phone { left: -3%; }
.r .mini-phone { right: -3%; }
.c .mini-phone { left: auto; right: 5%; width: 18%; border-radius: 30px; padding: 7px; }
.mini-phone img { border-radius: 18px; width: 100%; aspect-ratio: 400 / 865; object-fit: cover; background: #19191c; }
.c .mini-phone img { border-radius: 24px; }
.label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid var(--hair); margin-top: clamp(30px, 5vw, 70px); }
.label b { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); }
.label span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
a.item:hover .label b { color: #fff; }

/* services, editorial grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); row-gap: 56px; }
.svc { text-decoration: none; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--hair); transition: border-color .4s var(--ease); }
.svc:hover { border-color: var(--line); }
.svc h3 { font-size: clamp(28px, 2.6vw, 36px); }
.svc p { color: var(--mute); font-size: 15.5px; }
.svc .more { font-size: 14px; color: var(--ink); opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.svc:hover .more, .svc:focus-visible .more { opacity: 1; transform: none; }

/* process line */
.path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 36px; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--line), rgba(236,235,230,.12)); }
.path > div { position: relative; display: grid; gap: 10px; align-content: start; }
.path > div::before { content: ""; position: absolute; top: -41px; left: 0; width: 9px; height: 9px; border-radius: 9px; background: var(--black); border: 1px solid var(--ink); }
.path h3 { font-size: 30px; }
.path p { color: var(--mute); font-size: 15.5px; }

/* the one off-white moment */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: #5D5F64; }
.paper .closing h2 { color: var(--paper-ink); }
.paper .closing h2 em { color: #6C6E73; }
.paper .closing p { color: #4A4C51; }
.paper .btn.ghost { border-color: rgba(29,30,33,.3); color: var(--paper-ink); }
.paper .btn.ghost:hover { border-color: var(--paper-ink); background: rgba(29,30,33,.04); }
.closing { text-align: center; display: grid; justify-items: center; gap: 26px; }
.closing h2 { font-size: clamp(46px, 6.6vw, 98px); line-height: .98; }
.closing p { max-width: 46ch; font-size: 18px; color: var(--mute); }
.closing .cta-row { justify-content: center; }

/* inner page opening */
.page-top { padding-block: clamp(70px, 10vw, 140px) clamp(40px, 6vw, 80px); display: grid; gap: 26px; justify-items: start; }
.page-top h1 { font-size: clamp(52px, 7.4vw, 108px); line-height: .98; letter-spacing: -.02em; max-width: 15ch; }
.page-top h1 em { color: var(--mute); }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.split h2 { font-size: clamp(36px, 4.4vw, 60px); }
.stack { display: grid; gap: 22px; align-content: start; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ticks li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--hair); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 1px; background: var(--line); }

/* cards and rows used across content pages */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 70px); row-gap: 56px; }
.card { display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--hair); }
.card h3 { font-size: clamp(28px, 2.6vw, 36px); }
.card p { color: var(--mute); }
.card .arrow-link, .stack .arrow-link { justify-self: start; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { padding-left: 24px; position: relative; font-size: 15px; color: #CFCFCB; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 11px; height: 1px; background: var(--line); }
.rows { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.row h3 { font-size: clamp(26px, 2.6vw, 36px); transition: transform .4s var(--ease); }
.row:hover h3 { transform: translateX(8px); }
.row p { color: var(--mute); }
.row .go { font-size: 18px; color: var(--mute); transition: color .3s, transform .4s var(--ease); }
.row:hover .go { color: var(--ink); transform: translateX(4px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { border-top: 1px solid var(--hair); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.step h3 { font-size: 28px; }
.step p { color: var(--mute); font-size: 15.5px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

/* engagement models */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.plan { padding: 40px clamp(20px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.plan + .plan { border-left: 1px solid var(--hair); }
.plan.feature { background: rgba(236,235,230,.03); }
.plan h3 { font-size: 36px; }
.plan .for { color: var(--mute); font-size: 15.5px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { padding-left: 24px; position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 11px; height: 1px; background: var(--line); }
.plan .out { border-top: 1px solid var(--hair); padding-top: 18px; color: var(--mute); font-size: 15px; font-style: italic; font-family: var(--serif); font-size: 19px; line-height: 1.35; }

/* forms */
.form { display: grid; gap: 22px; background: var(--bg-2); border: 1px solid var(--hair); border-radius: 18px; padding: clamp(24px, 3.4vw, 44px); }
.form h2 { font-size: 34px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: 12.5px; color: var(--mute); }
.fld input, .fld select, .fld textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(236,235,230,.25); border-radius: 0; padding: 10px 0 12px; font-size: 16.5px; transition: border-color .3s; }
.fld select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A2A4A9' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.fld select option { background: var(--bg); color: var(--ink); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); }
.form .fine { font-size: 13px; color: var(--faint); }
.form .btn { justify-self: start; }

/* contact details */
.info { border-top: 1px solid var(--hair); }
.info div { padding: 20px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.info span { font-size: 12.5px; color: var(--mute); }
.info a, .info b { font-family: var(--serif); font-size: 26px; font-weight: 400; text-decoration: none; line-height: 1.2; }

/* team */
.team-x { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 70px); }
.person { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--hair); }
.person .mono { display: none; }
.person b { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; }
.person span { color: var(--mute); }

/* blog + long reading */
.prose { max-width: 700px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 1.9em; }
.prose h3 { font-size: 26px; margin-top: 1.6em; }
.prose p, .prose li { color: #D0D0CC; font-size: 17.5px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--ink); text-decoration-color: rgba(236,235,230,.4); text-underline-offset: 4px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding-left: 22px; border-left: 1px solid var(--line); font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.meta-line { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute); }
.crumbs { font-size: 13.5px; color: var(--mute); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 70px); row-gap: 60px; }
.post { text-decoration: none; display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--hair); }
.post h3 { font-size: clamp(28px, 2.8vw, 38px); transition: color .3s; }
.post:hover h3 { color: #fff; }
.post p { color: var(--mute); }

/* footer */
.foot { background: var(--black); padding-block: 90px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand { display: grid; gap: 20px; align-content: start; }
.foot-brand img { height: 84px; width: auto; }
.foot-brand p { color: var(--mute); max-width: 30ch; font-size: 15px; }
.foot h4 { font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot a, .foot li { display: block; text-decoration: none; color: var(--mute); font-size: 15px; padding-block: 4px; transition: color .25s; }
.foot a:hover { color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-base { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.foot-base a { display: inline; font-size: 13px; color: var(--faint); }

/* motion: content is visible by default; JS only softens what is below the fold */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .bar { grid-template-columns: 1fr auto; height: 72px; }
  .menu-btn { display: inline-block; }
  .split { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path, .steps, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .path::before { display: none; }
  .path > div { border-top: 1px solid var(--hair); padding-top: 22px; }
  .path > div::before { top: -5px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--hair); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row p { grid-column: 1; }
  .row .go { grid-row: 1; grid-column: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .right .btn { display: none; }
  .logo img { height: 38px; }
  .svc-grid, .cards, .post-list, .team, .two { grid-template-columns: 1fr; }
  .path, .steps, .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .svc-grid, .cards, .post-list { row-gap: 36px; }
  .show { grid-template-columns: 1fr; row-gap: 70px; }
  .item.r { margin-top: 0; }
  .l .tilt, .r .tilt { transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.9 + var(--p) * .1)); }
  .mini-phone, .c .mini-phone { width: 24%; bottom: -12%; border-radius: 16px; padding: 4px; }
  .mini-phone img, .c .mini-phone img { border-radius: 12px; }
  .browser .chrome { height: 26px; } .browser .chrome span { display: none; }
  .float { left: 50%; right: auto; transform: translateX(-50%); }
  .float.away { transform: translate(-50%, 24px); }
  .hero { min-height: auto; padding-block: 70px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .tilt, .lean { transform: none !important; }
}

.paper .sig { height: clamp(46px, 5vw, 60px); width: auto; margin-bottom: 6px; opacity: .92; }

/* accent: one quiet color, used only on italic words, a few hairlines and hover states */
:root { --accent: var(--gold); --accent-paper: #7A6530; }
.hero h1 em, .statement h2 em, .page-top h1 em, .sec-head h2 em { color: var(--accent); }
.paper .closing h2 em { color: var(--accent-paper); }
.scroll-cue i::after { background: var(--accent); }
.nav a::after { background: var(--accent); }
.path > div::before { border-color: var(--accent); }
.statement .rule { background: var(--accent); }
.arrow-link:hover { color: var(--accent); }
a.item:hover .label span { color: var(--accent); }
.ticks li::before, .card li::before, .plan li::before { background: var(--accent); }

/* black and gold */
.top.scrolled { background: rgba(7, 7, 7, .82); }
.hero::before { background: radial-gradient(50% 40% at 50% 38%, rgba(201, 168, 76, .07), transparent 70%); }
.btn.light { background: var(--gold); color: #0B0B0B; }
.btn.light:hover { background: var(--gold-hi); }

/* precision details: mono for the fine print */
.eyebrow, .tag, .label span, .foot h4, .scroll-cue, .meta-line, .crumbs, .readout, .specs, .browser .chrome span, .info span, .fld > span { font-family: var(--mono); }
.eyebrow { font-size: 11px; font-weight: 400; letter-spacing: .14em; }
.foot h4 { font-size: 11px; font-weight: 400; letter-spacing: .14em; }
.label span { font-size: 11px; letter-spacing: .12em; }

.fld > span { font-size: 11.5px; letter-spacing: .04em; }
.info span { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -8px; font-size: 11.5px; letter-spacing: .04em; color: var(--faint); }
.specs i { font-style: normal; color: var(--gold); margin-right: 6px; }

/* live readout in the opening */
.readout { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.readout .live { display: inline-flex; align-items: center; gap: 10px; }
.readout .live::before { content: ""; width: 7px; height: 7px; border-radius: 7px; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,168,76,.5); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201,168,76,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(201,168,76,0); } }
.readout time { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .readout { position: static; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: 10.5px; }
  .hero .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .readout .live::before { animation: none; } }

/* ---------- the gold mark in the opening ---------- */
.mark { position: relative; width: min(330px, 62vw); aspect-ratio: 1.359; margin: 0 auto -6px; display: grid; place-items: center; }
.mark img { width: 77%; height: auto; transition: opacity .9s var(--ease); filter: drop-shadow(0 18px 40px rgba(201,168,76,.12)); }
.mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.mark.lit canvas { opacity: 1; }
.mark.lit img { opacity: 0; }
.hero.has-mark h1 { font-size: clamp(50px, 6.6vw, 98px); }
.hero.has-mark { padding-top: 30px; }
.hero.has-mark .hero-in { gap: 24px; }

/* ---------- headline reveals, word by word ---------- */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .24em 0; margin: 0 -.08em -.24em 0; }
.wsplit .w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.wsplit.in .w > span { transform: none; }

/* ---------- magnetic buttons ---------- */
.btn, .float { will-change: transform; }
.btn { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease); }

/* ---------- smooth scroll (desktop) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- page to page ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- first visit: the mark writes itself ---------- */
.veil { display: none; }
.intro .veil { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; background: var(--black); animation: veil-out .9s var(--ease) 2.15s forwards; }
.veil svg { width: min(260px, 52vw); height: auto; overflow: visible; }
.veil path { fill: var(--gold); fill-opacity: 0; stroke: var(--gold); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.6,.05,.3,1) .15s forwards, fill-in .6s ease 1.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; stroke-width: 0; } }
@keyframes veil-out { to { opacity: 0; visibility: hidden; transform: translateY(-2%); } }

@media (prefers-reduced-motion: reduce) {
  .wsplit .w > span { transform: none !important; }
  .intro .veil { display: none; }
  .mark canvas { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- inner pages ---------- */
.tag.gold, .eyebrow.gold { color: var(--gold); }
.crumbs { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.crumbs [aria-current] { color: var(--ink); }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 400 12px/1.6 var(--mono); letter-spacing: .03em; color: var(--faint); }
.spec-row span::before { content: "+"; color: var(--gold); margin-right: 8px; }
.page-top .cta-row { margin-top: 6px; }
.statement h2.quote { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.12; }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(30px, 6vw, 90px); }
.group { display: grid; gap: 16px; align-content: start; padding-top: 22px; border-top: 1px solid var(--hair); }
.group .g-line { font: 400 clamp(23px, 2.1vw, 29px)/1.25 var(--serif); color: var(--ink); max-width: 30ch; }
.group .ticks { border-top: 0; }
.group .ticks li { padding-block: 11px; font-size: 15.5px; color: #D9D5CC; }

.path.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.faq { border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 clamp(21px, 1.9vw, 26px)/1.25 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .45s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 0 24px; color: var(--mute); max-width: 60ch; }
.qa summary:hover { color: #fff; }

.pairs { border-top: 1px solid var(--hair); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1.15fr); align-items: baseline; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.pair.head { padding: 14px 0; }
.pair .was { color: var(--faint); font-size: 16px; text-decoration: line-through; text-decoration-color: rgba(201,168,76,.45); text-decoration-thickness: 1px; }
.pair .to { color: var(--gold); text-align: center; }
.pair .now { font: 400 clamp(21px, 2vw, 27px)/1.25 var(--serif); }

.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.ind { display: grid; gap: 16px; align-content: start; padding: 28px 0 0; border-top: 1px solid var(--hair); text-decoration: none; transition: border-color .4s var(--ease); }
.ind:hover { border-color: var(--gold); }
.ind h3 { font-size: clamp(30px, 2.8vw, 40px); }
.ind p { color: var(--mute); }
.ind .arrow-link { justify-self: start; }

.svc-list { border-top: 1px solid var(--hair); }
.svc-row { display: grid; grid-template-columns: 180px minmax(0, 1.1fr) minmax(0, 1fr) 30px; gap: 28px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.svc-row h3 { font-size: clamp(28px, 2.7vw, 38px); transition: transform .5s var(--ease); }
.svc-row p { color: var(--mute); font-size: 15.5px; }
.svc-row .go { color: var(--mute); transition: transform .4s var(--ease), color .3s; }
.svc-row:hover h3 { transform: translateX(8px); }
.svc-row:hover .go { color: var(--gold); transform: translateX(4px); }

/* ---------- case study ---------- */
.case-top h1 { font-size: clamp(64px, 10vw, 150px); }
.spec-table { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--hair); margin-top: 20px; }
.spec-table div, .facts div { display: grid; gap: 6px; padding: 18px 18px 18px 0; }
.spec-table span, .facts span { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.spec-table b, .facts b { font: 400 17px/1.4 var(--sans); }
.spec-table a { text-decoration: none; color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.facts div { border-bottom: 1px solid var(--hair); padding: 26px 18px 26px 0; }
.facts b { font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); }

.scrub { height: 260vh; position: relative; background: var(--bg); }
.scrub-pin { position: sticky; top: 84px; height: calc(100vh - 84px); display: grid; align-items: center; }
.scrub-frame { max-width: 980px; margin: 0 auto; }
.scrub-view { height: min(62vh, 600px); overflow: hidden; background: #0a0a0b; }
.scrub-view img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; will-change: transform; }
.scrub-cap { max-width: 980px; margin: 18px auto 0; display: flex; justify-content: space-between; }

.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: clamp(18px, 4vw, 56px); perspective: 1600px; }
.ph { --p: 1; border-radius: 34px; padding: 8px; background: #000; box-shadow: 0 50px 80px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(247,244,238,.12); }
.ph img { border-radius: 27px; width: 100%; height: auto; }
.ph:nth-child(1) { transform: rotateY(calc((1 - var(--p)) * 38deg)) translateX(calc((1 - var(--p)) * 30%)); transform-origin: right center; }
.ph:nth-child(2) { transform: translateY(calc((1 - var(--p)) * 60px + -24px)); }
.ph:nth-child(3) { transform: rotateY(calc((1 - var(--p)) * -38deg)) translateX(calc((1 - var(--p)) * -30%)); transform-origin: left center; }

.next-case { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); text-decoration: none; }
.next-case b { font: 400 clamp(36px, 4.4vw, 62px)/1 var(--serif); transition: color .3s; }
.next-case:hover b { color: var(--gold); }

/* reading progress on articles */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 75; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 980px) {
  .groups { grid-template-columns: 1fr; gap: 44px; }
  .path.three { grid-template-columns: 1fr; }
  .inds { grid-template-columns: 1fr; gap: 50px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 30px; gap: 12px; }
  .svc-row .tag { grid-column: 1 / -1; }
  .svc-row h3 { grid-column: 1; }
  .svc-row p { grid-column: 1 / -1; }
  .svc-row .go { grid-column: 2; grid-row: 2; }
  .spec-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair { grid-template-columns: 1fr; gap: 8px; }
  .pair .to { display: none; }
  .pair.head { display: none; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ph { border-radius: 18px; padding: 4px; }
  .ph img { border-radius: 14px; }
  .scrub { height: 200vh; }
  .scrub-pin { top: 72px; height: calc(100vh - 72px); }
  .scrub-view { height: 58vh; }
}
@media (prefers-reduced-motion: reduce) { .ph { transform: none !important; } .scrub { height: auto; } .scrub-pin { position: static; height: auto; padding: 60px 0; } .scrub-view { height: auto; } }
