/* Gregory Group. Dark navy from top to bottom, white type, lime as the one accent.
   No grey and no white sections: where a quieter tone is needed it is a blue.
   The canvas (#field) sits behind everything and draws the mark and every form it turns into,
   so sections stay see-through; the colour of the page is the long wash on <body>. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.693b77d4f3.woff2") format("woff2");
}

:root {
  --navy: #0e121a;
  --ink: #f5f7fb;
  --ink-2: #a9b9e6;
  --ink-3: #7689c4;
  --dim: rgba(169, 185, 230, .2);
  --line: rgba(120, 150, 255, .2);
  --line-2: rgba(120, 150, 255, .4);
  --glass: rgba(17, 27, 62, .58);
  --lime: #a1f807;
  --warn: #ffb199;
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --out: cubic-bezier(.16, 1, .3, 1);
  --inout: cubic-bezier(.65, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--navy); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(180deg, #0e121a 0%, #0e121a 7%, #101833 20%, #131f47 34%, #0f1630 47%, #121d42 60%, #15224c 72%, #0f162f 86%, #0e121a 100%);
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ol, ul { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 50; padding: .7rem 1.1rem; border-radius: 999px; background: var(--lime); color: var(--navy); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
.no-field #field { display: none; }

.wrap { width: 100%; max-width: 116rem; margin-inline: auto; padding-inline: var(--pad); }
.slot { pointer-events: none; }

/* The still logo that stands in where the field cannot run. */
.mark-static { width: 100%; height: 100%; object-fit: contain; }
.js .mark-static { opacity: 0; }
.js.no-field .mark-static { opacity: 1; }

/* ---------- Small pieces ---------- */
.label { display: flex; align-items: center; gap: .9em; font-size: .72rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.label b { display: inline-flex; align-items: center; gap: .9em; color: var(--lime); font-weight: 600; font-variant-numeric: tabular-nums; }
.label b::after { content: ""; width: 2.6em; height: 1px; background: var(--line-2); }
.label i { width: .6em; height: .6em; border-radius: 50%; background: var(--lime); }

.lead { font-size: clamp(1.06rem, .9rem + .62vw, 1.45rem); line-height: 1.45; letter-spacing: -.012em; color: var(--ink-2); max-width: 34em; }

.btn { position: relative; display: inline-flex; align-items: center; gap: .7em; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; line-height: 1; padding: 1.1em 1.75em; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--ink); }
.btn--sm { padding: .78em 1.25em; font-size: .86rem; }
.btn--wide { width: 100%; justify-content: space-between; padding: 1.3em 1.7em; font-size: 1.08rem; }
.btn[disabled] { cursor: progress; background: var(--ink-2); }
.arr { display: inline-block; transition: transform .45s var(--out); }
.btn:hover .arr { transform: translateX(.35em); }

.link { color: var(--ink); font-weight: 520; text-decoration: none; padding-bottom: .3em; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem var(--pad); border-bottom: 1px solid transparent; transition: background-color .35s, padding .35s, border-color .35s; }
.top.is-stuck { padding-block: .7rem; background: rgba(14, 18, 26, .74); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 30px; height: 32px; }
.brand__word { width: auto; height: 30px; }
.nav { display: flex; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.nav a { position: relative; padding: .45rem 0; font-size: .88rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); }
.nav a:hover, .nav a.is-now { color: var(--ink); }
.nav a:hover::after, .nav a.is-now::after { transform: scaleX(1); }

/* ---------- Opening ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 7.5rem 0 2rem; }
.hero__slot { position: absolute; right: 5.5vw; top: 43%; height: min(60vh, 41vw); aspect-ratio: 1031 / 1099; transform: translateY(-50%); }
.hero__in { position: relative; }
.hero__label { margin-bottom: clamp(1.2rem, 2.4vw, 2.2rem); }
.display { font-size: clamp(4rem, 6.9vw, 9.6rem); font-weight: 600; letter-spacing: -.05em; line-height: .93; text-wrap: nowrap; }
.display em { font-style: normal; color: var(--ink); background: linear-gradient(var(--lime), var(--lime)) 0 92% / 100% .07em no-repeat; }
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.line > span { display: block; }
.hero__foot { display: flex; align-items: flex-end; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1.6rem, 3vw, 2.8rem); }
.hero__foot .lead { max-width: 30em; }
.hero__cta { display: flex; align-items: center; gap: 1.6rem; flex-shrink: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.6rem); padding-top: 1.1rem; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: .15rem; font-size: .86rem; }
.facts b { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.facts span { color: var(--ink-3); }
.facts:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- In one breath ---------- */
.creed { position: relative; padding-block: clamp(7rem, 20vw, 18rem) clamp(9rem, 26vw, 24rem); }
.creed__slot { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; }
.creed .wrap { position: relative; }
.creed__text { font-size: clamp(1.75rem, 4.3vw, 5rem); font-weight: 560; letter-spacing: -.04em; line-height: 1.07; max-width: 21em; text-wrap: pretty; }
.js [data-read] .w { color: var(--dim); transition: color .5s; }
.js [data-read] .w.on { color: var(--ink); }

/* ---------- The moving band ---------- */
.band { overflow: hidden; padding-block: clamp(1.2rem, 2.4vw, 2.2rem); border-block: 1px solid var(--line); }
.band__track { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); width: max-content; will-change: transform; font-size: clamp(2.4rem, 6.6vw, 7rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.band__track span { color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.band__track span.solid { color: var(--ink); -webkit-text-stroke: 0; }
.band__track i { flex: none; width: .2em; height: .2em; border-radius: 50%; background: var(--lime); }

/* ---------- Section heads ---------- */
.head { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 6.2rem); max-width: 15em; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.wd > span { display: inline-block; }
.lime { color: var(--lime); }

/* ---------- What I do ---------- */
.work { padding-top: clamp(5.5rem, 13vw, 12rem); }
.work .head h2 { max-width: 12em; }
.work__body { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(2rem, 5vw, 6rem); margin-top: clamp(1rem, 3vw, 3rem); }
.work__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; }
.work__slot { width: min(100%, 60vh); aspect-ratio: 1; }
.count { display: flex; align-items: baseline; gap: .7rem; width: min(100%, 60vh); padding-top: 1rem; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.count b { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.count em { margin-left: auto; font-style: normal; color: var(--ink-2); }
.svc { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding-block: 3.5rem; border-top: 1px solid var(--line); transition: opacity .6s; }
.svc:first-child { border-top-color: transparent; }
.js .svc { opacity: .2; }
.js .svc.is-on { opacity: 1; }
.svc__n { font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: var(--lime); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(2.3rem, 5vw, 5.6rem); letter-spacing: -.048em; line-height: .96; }
.svc__p { font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); line-height: 1.38; letter-spacing: -.015em; color: var(--ink-2); max-width: 26em; }
.svc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.2rem, 3vw, 3rem); margin-top: .8rem; }
.svc__facts > div { padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.svc__facts dt { font-size: .7rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.svc__facts dd { font-size: .98rem; line-height: 1.45; color: var(--ink); }

/* ---------- Who I work with ---------- */
.who { position: relative; padding-block: clamp(6rem, 14vw, 13rem); }
.who__slot { position: absolute; inset: 0; }
.who__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); }
.who__head { position: sticky; top: 7rem; align-self: start; display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
.who__head h2 { font-size: clamp(2.1rem, 4.4vw, 5rem); }
.aud { display: grid; gap: 1.4rem; padding-block: clamp(2.2rem, 4.5vw, 4rem); border-top: 1px solid var(--line); }
.aud:last-child { border-bottom: 1px solid var(--line); }
.aud__k { display: flex; align-items: center; gap: .9em; font-size: .72rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.aud__k::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--lime); }
.aud__you { font-size: clamp(1.7rem, 3.5vw, 3.7rem); font-weight: 560; letter-spacing: -.042em; line-height: 1.03; text-wrap: balance; }
.aud__me { font-size: clamp(1.02rem, .92rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.ticks { display: grid; gap: .65rem; margin-top: .3rem; }
.ticks li { position: relative; padding-left: 1.9em; }
.ticks li::before { content: ""; position: absolute; left: .32em; top: .28em; width: .4em; height: .76em; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(42deg); }

/* ---------- How I work ---------- */
.how { position: relative; padding-block: clamp(5.5rem, 13vw, 11rem); }
.how__pin { position: relative; }
.how__slot { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; }
.how .head { position: relative; }
.how__track { position: relative; display: grid; margin-top: clamp(2.5rem, 6vw, 4rem); padding-inline: var(--pad); }
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem clamp(1.2rem, 4vw, 2.5rem); align-items: start; padding-block: 2rem; border-top: 1px solid var(--line); }
.rule__n { grid-row: 1 / span 2; font-size: clamp(3.4rem, 15vw, 6rem); font-weight: 600; letter-spacing: -.06em; line-height: .86; color: transparent; -webkit-text-stroke: 1px var(--ink-3); font-variant-numeric: tabular-nums; }
.rule h3 { font-size: clamp(1.5rem, 5vw, 2.2rem); letter-spacing: -.035em; line-height: 1.05; }
.rule p { color: var(--ink-2); max-width: 30em; }
.how__bar { display: none; }

/* Wide screens with a mouse: the five rules pass sideways while the section holds still. */
.how.is-pinned { padding-block: 0; }
.how.is-pinned .how__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(5.5rem, 13vh, 8.5rem) clamp(2rem, 6vh, 4rem); }
.how.is-pinned .how__track { display: flex; width: max-content; margin-top: 0; padding-inline: var(--pad) 28vw; will-change: transform; }
.how.is-pinned .rule { display: block; width: clamp(23rem, 36vw, 42rem); padding: 0 clamp(2rem, 4vw, 5rem) 0 0; border-top: 0; }
.how.is-pinned .rule__n { display: block; font-size: clamp(6rem, 13.5vw, 15rem); margin-bottom: clamp(1rem, 3vh, 2.2rem); }
.how.is-pinned .rule h3 { font-size: clamp(1.7rem, 2.7vw, 3rem); margin-bottom: .9rem; }
.how.is-pinned .rule p { font-size: clamp(1rem, .9rem + .35vw, 1.2rem); max-width: 24em; }
.how.is-pinned .how__bar { display: block; }
.how__bar i { display: block; height: 2px; background: linear-gradient(var(--lime), var(--lime)) 0 0 / var(--p, 0%) 100% no-repeat, var(--line); }

/* ---------- The Desk ---------- */
.desk { padding-top: clamp(6rem, 14vw, 12rem); }
.desk__hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.desk__copy { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
.desk__copy h2 { font-size: clamp(2.2rem, 5vw, 5.6rem); }
.lead--key { font-size: clamp(1.22rem, 1rem + .9vw, 1.85rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.desk__slot { width: 100%; aspect-ratio: 1; max-height: 74vh; }
.desk__demo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; margin-top: clamp(3rem, 8vw, 7rem); }
.win { border: 1px solid var(--line-2); border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25); box-shadow: 0 50px 90px -50px rgba(4, 7, 20, .9); overflow: hidden; }
.win__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.win__who { display: flex; align-items: center; gap: .6em; }
.win__who i { width: .6em; height: .6em; border-radius: 50%; background: var(--lime); }
.win__who b { color: var(--ink); font-weight: 600; }
.win__dots { display: flex; gap: .4rem; }
.win__dots i { width: .6rem; height: .6rem; border-radius: 50%; border: 1px solid var(--line-2); }
.win__body { display: grid; gap: .9rem; padding: clamp(1.2rem, 2.6vw, 2.2rem); }
.msg { max-width: 84%; padding: .95em 1.2em; border-radius: 18px; font-size: clamp(.98rem, .92rem + .25vw, 1.12rem); line-height: 1.4; }
.msg--you { justify-self: end; background: rgba(120, 150, 255, .2); border-bottom-right-radius: 5px; }
.msg--g { justify-self: start; display: grid; gap: .7rem; justify-items: start; border: 1px solid rgba(161, 248, 7, .55); border-bottom-left-radius: 5px; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .42em .8em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
.chip::before { content: ""; width: .62em; height: .78em; border: 1px solid var(--ink-2); border-radius: 2px; }
.acts { display: flex; gap: .5rem; }
.act { padding: .5em 1.1em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .82rem; font-weight: 560; }
.act--on { border-color: var(--lime); background: var(--lime); color: var(--navy); }
.win__note { padding: 1rem 1.3rem 1.2rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }
.js .win .msg { opacity: 0; transform: translateY(14px); }
.js .win .msg.on { opacity: 1; transform: none; transition: opacity .6s, transform .8s var(--out); }
.features { display: grid; }
.features li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .35rem 0; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features b { grid-row: 1 / span 2; font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--lime); padding-top: .45em; }
.features h3, .features h4 { font-size: clamp(1.3rem, 1.9vw, 1.9rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.features p { color: var(--ink-2); font-size: .98rem; }

/* The tech stack: a line drawing of the five pieces, beside the reason for each.
   The drawing is inline SVG; its lines keep one width at every size. */
.stack { margin-top: clamp(4.5rem, 11vw, 10rem); }
.stack__head { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.stack__head h3 { font-size: clamp(2.1rem, 4.4vw, 5rem); letter-spacing: -.045em; }
.stack__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.stack__fig { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(155deg, rgba(23, 38, 90, .5), rgba(15, 23, 52, .5)); padding: clamp(.9rem, 2.6vw, 2.4rem); }
.stack__fig svg { display: block; width: 100%; height: auto; }
.s-ln, .s-hi, .s-box, .s-lime { vector-effect: non-scaling-stroke; stroke-width: 1.25px; stroke-linecap: round; stroke-linejoin: round; }
.s-ln { fill: none; stroke: var(--line-2); }
.s-hi { fill: none; stroke: var(--ink-2); }
.s-box { stroke: var(--ink-2); }
.s-dash { stroke-dasharray: 4 5; }
.s-lime { fill: none; stroke: var(--lime); stroke-dasharray: 2 11; }
.s-dot { fill: var(--lime); }
.s-led { fill: var(--ink); }
.s-n { fill: var(--lime); font-size: 19px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.stack__fig { position: relative; }
/* The slot tells the field where the drawing is, so the dust behind the page can drift toward it. */
.stack__slot { position: absolute; inset: clamp(.9rem, 2.6vw, 2.4rem); }
.stack__say { display: flex; align-items: baseline; gap: .7em; margin-top: clamp(2.5rem, 6vw, 5rem); padding-top: clamp(1.4rem, 3vw, 2.4rem); border-top: 1px solid var(--line); font-size: clamp(1.5rem, 3.2vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; color: var(--ink-2); text-wrap: balance; }
.stack__say b { display: block; font-weight: 600; color: var(--ink); }
.stack__say i { flex: none; width: .3em; height: .3em; border-radius: 50%; background: var(--lime); transform: translateY(-.2em); }
.js .s-flow { animation: s-flow 3.2s linear infinite; }
@keyframes s-flow { to { stroke-dashoffset: -52; } }

/* What is inside the Desk. A board of modules, each with a small drawing; gregory's panel sits
   between the two rows (by `order`, the list itself keeps the order of the sentence) and every
   module is joined to it by a short lime thread. */
.inside { margin-top: clamp(4.5rem, 11vw, 10rem); }
.inside__head { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.inside__head h3 { font-size: clamp(2.1rem, 4.4vw, 5rem); letter-spacing: -.045em; }
.board { --g: clamp(1.1rem, 2vw, 2rem); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.mod { position: relative; order: 1; display: grid; align-content: space-between; gap: clamp(1rem, 1.8vw, 1.6rem); padding: clamp(1rem, 1.7vw, 1.6rem); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(155deg, rgba(23, 38, 90, .5), rgba(15, 23, 52, .5)); }
.mod:nth-child(n+5) { order: 3; }
.mod--more { grid-column: span 2; border-style: dashed; border-color: var(--line-2); }
.mod svg, .reach__item svg { display: block; width: 100%; height: auto; overflow: visible; }
.mod svg { max-width: 15rem; }
.mod--more svg { max-width: 29.6rem; }
.mod h4 { font-size: clamp(1.05rem, .9rem + .55vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.mod::after { content: ""; position: absolute; left: 50%; width: 2px; height: calc(var(--g) + 2px); margin-left: -1px; background: linear-gradient(to bottom, var(--lime) 2px, transparent 2px) 0 0 / 2px 8px repeat-y; }
.mod:nth-child(-n+4)::after { top: 100%; }
.mod:nth-child(n+5)::after { bottom: 100%; }
.js .mod:nth-child(-n+4)::after { animation: m-down 1.1s linear infinite; }
.js .mod:nth-child(n+5)::after { animation: m-up 1.1s linear infinite; }
@keyframes m-down { to { background-position-y: 8px; } }
@keyframes m-up { to { background-position-y: -8px; } }
.m-lime { vector-effect: non-scaling-stroke; stroke-width: 1.25px; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke: var(--lime); }
.js .m-pulse { animation: m-pulse 2.6s ease-in-out infinite; }
.js .m-d2 { animation-delay: .28s; }
.js .m-d3 { animation-delay: .56s; }
@keyframes m-pulse { 50% { opacity: .2; } }
.js .board > .reveal.is-in:nth-child(2), .js .board > .reveal.is-in:nth-child(6) { transition-delay: .07s; }
.js .board > .reveal.is-in:nth-child(3), .js .board > .reveal.is-in:nth-child(7) { transition-delay: .14s; }
.js .board > .reveal.is-in:nth-child(4) { transition-delay: .21s; }
.thread { position: relative; overflow: hidden; order: 2; grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); padding: clamp(1.2rem, 2.4vw, 2.2rem) clamp(1.2rem, 2.8vw, 2.8rem); border: 1px solid var(--lime); border-radius: 22px; background: linear-gradient(155deg, rgba(23, 38, 90, .78), rgba(15, 23, 52, .78)); }
.thread__mark { width: clamp(2.5rem, 3.8vw, 3.8rem); }
.thread__lead { font-size: clamp(1.25rem, 1rem + 1.2vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.thread__p { margin-top: .55em; color: var(--ink-2); font-size: clamp(1rem, .92rem + .35vw, 1.2rem); max-width: 40em; }
.thread__tag { display: grid; gap: .55em; padding-left: clamp(1.2rem, 2.6vw, 2.6rem); border-left: 1px solid var(--line-2); font-size: clamp(.8rem, .7rem + .32vw, 1.02rem); font-weight: 600; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.thread__tag b { font-size: clamp(3.2rem, 2rem + 4.6vw, 6.6rem); font-weight: 650; letter-spacing: -.05em; line-height: .8; color: var(--lime); }
/* A slow sheen passes over gregory's panel; it rests out of sight, and stays there for a visitor who asks for less motion. */
.thread > * { position: relative; }
.thread::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(161, 248, 7, 0) 44%, rgba(161, 248, 7, .1) 48%, rgba(245, 247, 251, .22) 50%, rgba(161, 248, 7, .1) 52%, rgba(161, 248, 7, 0) 56%) 90% 0 / 300% 100% no-repeat; pointer-events: none; animation: thread-sheen 6.5s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes thread-sheen { 0%, 30% { background-position: 90% 0; } 100% { background-position: 10% 0; } }
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 5rem); margin-top: clamp(2.5rem, 6vw, 5rem); }
.reach__item { display: grid; grid-template-columns: clamp(5.5rem, 9vw, 9rem) minmax(0, 1fr); gap: clamp(1rem, 2.2vw, 2rem); align-items: center; padding-block: clamp(1.4rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.reach__item p { font-size: clamp(1.06rem, .9rem + .62vw, 1.45rem); line-height: 1.4; letter-spacing: -.012em; color: var(--ink-2); max-width: 26em; }
.reach + .stack__say { margin-top: 0; }

/* ---------- About me ---------- */
.about { position: relative; padding-block: clamp(6rem, 14vw, 13rem); }
.about__slot { position: absolute; inset: 0; }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: end; }
.about__head { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
.about__head h2 { font-size: clamp(2.1rem, 4.6vw, 5.2rem); letter-spacing: -.045em; line-height: 1.02; max-width: 13em; }
.about__text { display: grid; gap: clamp(1.2rem, 2vw, 1.7rem); }
.sign { display: grid; gap: .1rem; margin-top: .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sign b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.sign span { font-size: .9rem; color: var(--ink-3); }

/* ---------- Message me ---------- */
.message { padding-block: clamp(6rem, 14vw, 12rem) clamp(4.5rem, 9vw, 8rem); }
.message__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.message__say { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); justify-items: start; }
.display--2 { font-size: clamp(2.7rem, 7.1vw, 8.4rem); text-wrap: balance; max-width: 8em; }
.message__slot { width: min(100%, 21rem); aspect-ratio: 1031 / 1099; justify-self: center; align-self: center; }
.message__form { padding: clamp(1.4rem, 3vw, 2.8rem); border: 1px solid var(--line-2); border-radius: 24px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25); box-shadow: 0 50px 90px -50px rgba(4, 7, 20, .9); }
.first { display: flex; align-items: baseline; gap: .8rem; padding-bottom: 1.4rem; margin-bottom: 1.7rem; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.first i { flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--lime); }
.first b { color: var(--ink); font-weight: 600; }
.field { margin-bottom: 1.6rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .7rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea { display: block; width: 100%; padding: .5rem 0 .75rem; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); letter-spacing: -.015em; outline: none; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--lime); box-shadow: 0 1px 0 var(--lime); }
.field [aria-invalid="true"] { border-bottom-color: var(--warn); box-shadow: 0 1px 0 var(--warn); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 100px #131f47 inset, 0 1px 0 var(--lime); caret-color: var(--ink); }
.field__err { margin-top: .5rem; font-size: .88rem; color: var(--warn); }
.trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 1rem; font-size: .92rem; color: var(--warn); }
.form__fine { margin-top: 1rem; font-size: .8rem; color: var(--ink-3); }
.sent { display: grid; gap: .8rem; padding-block: 1rem; outline: none; }
.sent h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.sent h3::before { content: ""; display: block; width: .5em; height: .5em; margin-bottom: .7em; border-radius: 50%; background: var(--lime); }
.sent p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.foot { overflow: hidden; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.foot__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.7rem; }
.foot__nav a { color: var(--ink-2); font-size: .92rem; text-decoration: none; transition: color .25s; }
.foot__nav a:hover { color: var(--ink); }
.foot__fine { display: grid; gap: .25rem; font-size: .8rem; color: var(--ink-3); text-align: right; }
.foot__big { margin: clamp(2rem, 5vw, 4rem) 0 0; padding-bottom: .16em; font-size: 15.4vw; font-weight: 650; letter-spacing: -.065em; line-height: .86; text-align: center; white-space: nowrap; color: var(--ink); -webkit-user-select: none; user-select: none; }
.foot__big span { color: transparent; -webkit-text-stroke: .012em var(--lime); }

/* ---------- The chat: a bubble at the corner and the window it opens ---------- */
.chat-fab { position: fixed; right: clamp(1rem, 2.2vw, 2rem); bottom: clamp(1rem, 2.2vw, 2rem); z-index: 40; display: grid; place-items: center; width: 4.1rem; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .35s var(--out); }
.chat-fab:hover { transform: translateY(-3px); }
/* The emblem's picture carries its own shadow in the room around the drawing (the G is cut out of both, so the page shows through it): the picture is set wider than the button and pulled back by that room, so the drawing itself is still the button's width. */
.chat-fab img { display: block; width: 158.19%; max-width: none; height: auto; margin: -18.43% -29.1% -39.76%; }
.chat-fab__dust { position: absolute; left: 50%; top: 50%; z-index: -1; width: 7.4rem; height: 7.4rem; margin: -3.7rem 0 0 -3.7rem; pointer-events: none; }
.chat-fab::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -.62rem; height: .6rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); pointer-events: none; }
/* The emblem turns slowly on its upright axis, and stays still for a visitor who asks for less motion. */
@keyframes fab-turn { from { transform: perspective(15rem) rotateY(-26deg); } to { transform: perspective(15rem) rotateY(26deg); } }
@media (prefers-reduced-motion: no-preference) { .chat-fab img { animation: fab-turn 4.5s ease-in-out infinite alternate; } }
.chat-fab__new { position: absolute; right: -.2rem; top: -.2rem; min-width: 1.5rem; height: 1.5rem; padding: 0 .3rem; border: 2px solid var(--navy); border-radius: 1rem; background: var(--ink); color: var(--navy); font-size: .74rem; font-weight: 700; font-style: normal; line-height: calc(1.5rem - 4px); text-align: center; }
.chat { position: fixed; right: clamp(1rem, 2.2vw, 2rem); bottom: calc(clamp(1rem, 2.2vw, 2rem) + 5rem); z-index: 45; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; width: min(26rem, calc(100vw - 2rem)); height: min(41rem, calc(100vh - 8.5rem)); border: 1px solid var(--line-2); border-radius: 22px; background: #111a3a; box-shadow: 0 30px 80px rgba(4, 8, 20, .6); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.98); transform-origin: 100% 100%; transition: opacity .25s, transform .35s var(--out); }
.chat.is-open { opacity: 1; transform: none; }
.chat__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); background: linear-gradient(155deg, #17265a, #0f1734); }
.chat__bar img { width: 2.1rem; }
.chat__bar h2 { font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.25; max-width: none; }
.chat__bar p { display: flex; align-items: center; gap: .5em; font-size: .8rem; color: var(--ink-2); }
.chat__bar p i { flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--lime); }
.chat__bar p b { color: var(--ink); font-weight: 600; }
.chat__x { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.chat__x:hover { border-color: var(--lime); }
.chat__x svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__body { display: grid; align-content: start; gap: 1.3rem; padding: 1.2rem 1.1rem 1.4rem; overflow-y: auto; overscroll-behavior: contain; }
.chat__log { display: grid; gap: .7rem; }
.chat .msg { max-width: 88%; font-size: .98rem; white-space: pre-wrap; overflow-wrap: anywhere; transition: opacity .3s; }
.chat .msg--g { gap: .2rem; }
.chat .msg.is-pending { opacity: .5; }
.msg__who { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--lime); }
.chat__link { display: grid; gap: .9rem; justify-items: start; }
.chat .msg:focus { outline: none; }
.chat .field { margin-bottom: 1rem; }
.chat .field input, .chat .field textarea { font-size: 1rem; }
.chat .field textarea { height: 4.8rem; min-height: 3.6rem; }
.chat .btn--wide { padding: 1.05em 1.3em; font-size: 1rem; }
.chat .chat__wait { display: inline-flex; gap: .32rem; margin-top: -.6rem; padding-block: 1.05em; }
.chat__wait i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--lime); }
.js .chat__wait i { animation: m-pulse 1.2s ease-in-out infinite; }
.js .chat__wait i:nth-child(2) { animation-delay: .2s; }
.js .chat__wait i:nth-child(3) { animation-delay: .4s; }
.chat__send { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .3rem .7rem; padding: .7rem .8rem .7rem 1.1rem; border-top: 1px solid var(--line-2); background: #0f1734; transition: border-color .2s; }
.chat__send:focus-within { border-top-color: var(--lime); }
.chat__send textarea { display: block; width: 100%; max-height: 7.5rem; padding: .6rem 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; resize: none; outline: none; }
.chat__send textarea::placeholder { color: var(--ink-3); opacity: 1; }
.chat__send button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--lime); color: var(--navy); cursor: pointer; transition: background .2s, opacity .2s; }
.chat__send button:hover { background: var(--ink); }
.chat__send button:disabled { opacity: .45; cursor: default; }
.chat__send svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat__send .field__err { grid-column: 1 / -1; margin: 0 0 .2rem; }
.chat__foot { padding: .1rem 1.1rem .75rem; background: #0f1734; font-size: .74rem; color: var(--ink-3); }
.chat__foot button { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.chat__foot button:hover { color: var(--lime); }

/* ---------- The pointer's ring (shown only where there is a mouse) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 30; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--lime); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s, width .35s var(--out), height .35s var(--out), margin .35s var(--out), background-color .3s; }
.has-cursor .cursor.is-live { opacity: .85; }
.cursor.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(161, 248, 7, .14); }

/* ---------- Arriving ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--out), transform 1.1s var(--out); }
.js .hero__cta.reveal.is-in { transition-delay: .12s; }
.js .facts.reveal.is-in { transition-delay: .24s; }
.js [data-lines] .line > span { transform: translateY(112%); }
.js [data-lines].is-in .line > span { transform: none; transition: transform 1.25s var(--out); }
.js [data-lines].is-in .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-lines].is-in .line:nth-child(3) > span { transition-delay: .18s; }
.js [data-split] .wd > span { transform: translateY(112%); }
.js [data-split].is-in .wd > span { transform: none; transition: transform 1s var(--out); transition-delay: calc(var(--i, 0) * 38ms); }
.js .hero__label { opacity: 0; }
.js .is-up .hero__label { opacity: 1; transition: opacity 1s .2s; }

/* ---------- Where the field cannot run: the stage steps aside ---------- */
.no-field .work__body { grid-template-columns: minmax(0, 1fr); }
.no-field .work__stage { display: none; }
.no-field .svc { min-height: 0; opacity: 1; padding-block: clamp(2.5rem, 6vw, 5rem); }
.no-field .svc:first-child { border-top-color: var(--line); }
.no-field .creed { padding-bottom: clamp(7rem, 20vw, 18rem); }
.no-field .desk__hero { grid-template-columns: minmax(0, 1fr); }
.no-field .desk__slot { display: none; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .who__grid, .desk__hero, .desk__demo, .stack__grid, .about__grid, .message__grid { grid-template-columns: minmax(0, 1fr); }
  .who__head { position: static; }
  .thread { grid-template-columns: auto minmax(0, 1fr); }
  .thread__tag { grid-column: 1 / -1; justify-self: stretch; padding: 1.1rem 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .desk__slot { max-width: 30rem; max-height: 52vh; margin-inline: auto; order: -1; }
  .message__slot { width: min(46%, 11rem); }
}

@media (max-width: 760px) {
  .top { padding-block: .85rem; }
  .hero { display: block; padding: 4.8rem 0 2rem; }
  .hero__slot { position: relative; right: auto; top: auto; transform: none; height: 36vh; height: 36svh; margin: 0 auto 1.4rem; }
  .display { font-size: clamp(1.85rem, 9.7vw, 4.2rem); }
  .hero__foot { display: grid; gap: 1.5rem; }
  .facts, .facts:has(> li:nth-child(4)) { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .facts li { grid-template-columns: 7.2rem minmax(0, 1fr); align-items: baseline; gap: .8rem; }
  .foot__fine { text-align: left; }
  .chat { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; transform-origin: 50% 100%; }
  .chat-on .chat-fab { display: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod--more::after { content: none; }

  /* The form stays behind the words: it holds the top of the screen while each kind of work passes. */
  .work__body { display: block; }
  .work__stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; }
  .work__pin { height: 100%; justify-content: flex-start; padding-top: 4.6rem; }
  .work__slot { width: min(82%, 42vh); }
  .count { display: none; }
  .svc { min-height: 100vh; min-height: 100svh; justify-content: flex-end; gap: 1rem; padding-block: 0 2.4rem; border-top: 0; }
  .svc__facts { grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: .2rem; }
  .svc__facts > div { padding-top: .8rem; }
  .no-field .work__stage { display: none; }
  .no-field .svc { border-top: 1px solid var(--line); padding-block: 2.5rem; }
  .msg { max-width: 92%; }
}

/* ---------- The pages beyond the first: one subject each ----------
   Written by tools/build_pages.py from pages/. Same navy, type, field and chat as the homepage;
   each opening gives the plain answer first, then the page goes deeper. */
.svc__more, .thread__more { justify-self: start; align-self: flex-start; font-size: .95rem; }
.thread__more { display: inline-block; margin-top: .9rem; }

.phero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; padding: 8.5rem 0 clamp(2.6rem, 5vw, 4.6rem); }
.phero__slot { position: absolute; right: 4vw; top: 45%; width: min(42vw, 40rem); height: min(60vh, 38vw); transform: translateY(-50%); }
.phero__in { position: relative; display: grid; gap: clamp(1.15rem, 2vw, 1.8rem); }
.phero__h { font-size: clamp(2.7rem, 6.2vw, 7.2rem); letter-spacing: -.05em; line-height: .97; max-width: 11.5em; }
.phero__answer { max-width: 31em; }
.phero .lead:not(.lead--key) { max-width: 36em; }
.phero .facts { margin-top: clamp(.4rem, 1.6vw, 1.4rem); }
.phero--art { min-height: 0; padding-bottom: clamp(2rem, 4vw, 3.4rem); }
.phero--art .phero__h { font-size: clamp(2.4rem, 5vw, 5.6rem); max-width: 14em; }
.crumbs { flex-wrap: wrap; gap: .75em; }
.crumbs a { color: var(--ink-2); text-decoration: none; transition: color .25s; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; font-size: .92rem; color: var(--ink-3); }
.byline b { color: var(--ink); font-weight: 600; }
.byline span { color: var(--ink-2); }

.psec { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
.psec__slot { position: absolute; inset: 0; }
.psec__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-top: clamp(1.8rem, 3.4vw, 2.8rem); border-top: 1px solid var(--line); }
.psec__head { position: sticky; top: 7rem; display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
.psec__head h2 { font-size: clamp(2rem, 3.7vw, 4.1rem); letter-spacing: -.045em; line-height: 1.02; }
.psec__body { display: grid; gap: clamp(1.4rem, 2.6vw, 2.4rem); min-width: 0; }
.psec--wide .psec__grid { grid-template-columns: minmax(0, 1fr); }

.prose { display: grid; gap: 1.05em; max-width: 38em; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .25s; }
.prose a:hover { color: var(--lime); }
.prose h2 { margin-top: 1.3em; font-size: clamp(1.6rem, 2.6vw, 2.6rem); color: var(--ink); letter-spacing: -.035em; line-height: 1.08; max-width: none; }
.prose h3 { margin-top: .7em; font-size: clamp(1.18rem, 1.5vw, 1.45rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.22; }
.prose > :first-child { margin-top: 0; }
.prose .ticks li b { color: var(--ink); }
.prose ol.steps { display: grid; gap: .8em; counter-reset: step; }
.prose ol.steps li { position: relative; padding-left: 2.4em; counter-increment: step; }
.prose ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-size: .78em; font-weight: 600; letter-spacing: .08em; color: var(--lime); }
.prose blockquote { display: grid; gap: .6em; padding: .2em 0 .2em 1.3em; border-left: 2px solid var(--lime); }
.prose blockquote p:first-child { color: var(--ink); font-size: 1.08em; line-height: 1.5; }
.prose blockquote p + p { font-size: .86em; color: var(--ink-3); }
.features + .prose, .prose + .features { margin-top: .4rem; }

.note { display: grid; gap: .8rem; align-content: start; padding: clamp(1.3rem, 2.4vw, 2rem); border: 1px solid var(--line-2); border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.note .label { font-size: .68rem; }
.note p, .note li { color: var(--ink); font-size: 1rem; line-height: 1.5; }
.note .ticks { gap: .55rem; }

.qas { display: grid; gap: clamp(1.7rem, 3vw, 2.6rem); max-width: 56rem; }
.qa { display: grid; gap: .65rem; }
.qa .msg { max-width: 88%; }
.qa h3.msg { font-size: clamp(1.04rem, .97rem + .3vw, 1.22rem); font-weight: 560; letter-spacing: -.015em; line-height: 1.35; text-wrap: pretty; }
.msg--us { justify-self: start; display: grid; gap: .7em; border: 1px solid var(--line-2); border-bottom-left-radius: 5px; background: var(--glass); color: var(--ink-2); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.msg--us b, .msg--us strong { color: var(--ink); font-weight: 600; }
.msg--us a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.msg--us a:hover { color: var(--lime); }
.qa-group { display: grid; gap: clamp(1.5rem, 2.6vw, 2.2rem); }
.qa-group + .qa-group { margin-top: clamp(3rem, 6vw, 5rem); }
.qa-group > h2 { font-size: clamp(1.6rem, 2.8vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; }

.compare { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.compare table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .96rem; line-height: 1.45; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: .7rem; font-weight: 560; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.compare thead th:last-child { color: var(--lime); }
.compare tbody th { width: 24%; font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }

.rows { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: baseline; gap: .45rem 1.2rem; padding-block: clamp(1.3rem, 2.4vw, 2rem); border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.rows b { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--lime); font-variant-numeric: tabular-nums; }
.rows h3 { font-size: clamp(1.45rem, 2.9vw, 2.9rem); letter-spacing: -.04em; line-height: 1.05; transition: transform .6s var(--out); }
.rows p { grid-column: 2; max-width: 40em; color: var(--ink-2); font-size: .98rem; }
.rows .arr { grid-row: 1; grid-column: 3; font-size: 1.4rem; color: var(--ink-3); transition: transform .45s var(--out), color .25s; }
.rows a:hover h3 { transform: translateX(.4rem); }
.rows a:hover .arr { color: var(--lime); transform: translateX(.35em); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.creed--page { padding-block: clamp(5rem, 12vw, 11rem) clamp(6.5rem, 16vw, 14rem); }
.creed--page .creed__text { font-size: clamp(1.6rem, 3.6vw, 4.2rem); max-width: 22em; }

.art { position: relative; padding-block: clamp(2.4rem, 5vw, 4.5rem) clamp(4rem, 9vw, 8rem); }
.art__slot { position: absolute; inset: 0; }
.art__grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-top: clamp(1.8rem, 3.4vw, 2.8rem); border-top: 1px solid var(--line); }
.art__aside { position: sticky; top: 7rem; display: grid; gap: 1rem; }
.art .prose { max-width: 40em; }
.release__end { display: grid; gap: .9em; margin-top: 1.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }

.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 1.6rem clamp(2rem, 5vw, 5rem); }
.foot__cols nav { display: grid; align-content: start; gap: .55rem; }
.foot__k { margin-bottom: .25rem; font-size: .68rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.foot__cols a { color: var(--ink-2); font-size: .92rem; text-decoration: none; transition: color .25s; }
.foot__cols a:hover { color: var(--ink); }

.no-field .phero__slot:not([data-shape="mark"]) { display: none; }
.js .phero .crumbs { opacity: 0; }
.js.is-up .phero .crumbs { opacity: 1; transition: opacity 1s .2s; }

@media (max-width: 1000px) {
  .psec__grid, .art__grid { grid-template-columns: minmax(0, 1fr); }
  .psec__head, .art__aside { position: static; }
  .phero { display: block; min-height: 0; padding: 5.2rem 0 2.6rem; }
  .phero__slot { position: relative; right: auto; top: auto; transform: none; width: min(100%, 34rem); height: 36vh; height: 36svh; margin: 0 auto 1.4rem; }
  .no-field .phero { padding-top: 7rem; }
}
@media (max-width: 760px) {
  .phero__h { font-size: clamp(2.1rem, 10vw, 3.6rem); }
  .phero--art .phero__h { font-size: clamp(1.9rem, 8.6vw, 3.2rem); }
  .rows a { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .qa .msg { max-width: 96%; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .js .phero .crumbs { opacity: 1; }
}

/* ---------- Less motion, when the visitor has asked for it ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .reveal, .js .win .msg, .js .hero__label { opacity: 1; transform: none; }
  .js [data-lines] .line > span, .js [data-split] .wd > span { transform: none; }
  .js [data-read] .w { color: var(--ink); }
  .js .svc { opacity: 1; }
  .cursor { display: none; }
}

@media print {
  #field, .cursor, .top, .band { display: none; }
  body { background: #fff; color: #000; }
}

/* Deskerado: the ™ as a superscript, and the featured card under the homepage's creed (Greg, November 28, 2026) */
sup.tm { font-size: .45em; line-height: 0; vertical-align: super; margin-left: .06em; letter-spacing: 0; font-weight: 600; }
.dsk { position: relative; display: grid; grid-template-columns: minmax(13rem, 24rem) 1fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem);
  margin-top: clamp(3.5rem, 8vw, 7rem); padding: clamp(1.6rem, 3.4vw, 3.2rem) clamp(1.6rem, 3.8vw, 3.6rem);
  border: 1px solid var(--line-2); border-radius: 28px; background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25); box-shadow: 0 50px 90px -50px rgba(4, 7, 20, .9); }
.dsk__logo { display: block; width: 100%; height: auto; }
.dsk__body { display: grid; gap: .9rem; }
.dsk__say { color: var(--ink); font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.45; max-width: 32em; text-wrap: pretty; }
@media (max-width: 960px) {
  .dsk { grid-template-columns: 1fr; justify-items: start; }
  .dsk__logo { max-width: 19rem; }
}
.phero__logo { display: block; width: min(30rem, 78vw); height: auto; margin: clamp(1.2rem, 3vw, 2.4rem) 0 clamp(.6rem, 1.6vw, 1.2rem); }
