@font-face { font-family: "RC"; src: url("fonts/RobotoCondensed-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --red: #FF3D19;      /* Spiritstone Red: the brand's ground, used as whole fields */
  --coral: #FF8A75;    /* Play 'til Dawn */
  --navy: #030616;     /* Obsidian Shard */
  --grey: #ECECEC;     /* Coronation */
  --white: #FFFFFF;
  --ink-soft: #4a4d5a;
  --gutter: clamp(20px, 4vw, 64px);
  --measure: 62ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "RC", "Roboto Condensed", system-ui, sans-serif; font-weight: 340; color: var(--navy); background: var(--white); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.hero :focus-visible, .agents-sec :focus-visible, .book-sec :focus-visible, .fit-copy :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; max-width: 18ch; }
h3 { font-size: 24px; line-height: 1.15; }
.sec-lede { font-size: 20px; max-width: 46ch; margin-top: 18px; color: var(--ink-soft); }
.aside { margin-top: 48px; font-size: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; font-size: 17px; font-weight: 500; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #151a33; }
.btn-line { border-color: var(--white); color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--red); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #e83515; }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); color: var(--white); }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup .glyph { display: block; }
.brand { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.top nav a:not(.btn) { text-decoration: none; opacity: .92; }
.top nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* hero: the red field, and the one moment of motion */
.hero { position: relative; min-height: 100svh; background: var(--red); color: var(--white); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 4vw; padding: 120px var(--gutter) 90px; overflow: hidden; }
.hero h1 { font-size: clamp(46px, 6.4vw, 108px); line-height: .96; letter-spacing: -0.025em; max-width: 14ch; }
.hero .lede { font-size: clamp(18px, 1.5vw, 22px); max-width: 44ch; margin-top: 30px; opacity: .95; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-art { display: flex; justify-content: center; transform: translateY(var(--drift, 0px)); }
.hero-mark { width: 100%; max-width: 560px; overflow: visible; }
.px { fill: var(--white); transform-box: fill-box; transform-origin: center; animation: snap 1.3s cubic-bezier(.16, .9, .2, 1) var(--d) both; }
.px.dot { animation: dot .5s cubic-bezier(.3, 1.6, .5, 1) var(--d) both; }
@keyframes snap { from { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes dot { from { transform: scale(0); } to { transform: scale(1); } }
.hero-foot { position: absolute; left: var(--gutter); bottom: 28px; font-size: 15px; opacity: .8; }

/* the gap */
.gap-sec { position: relative; padding: clamp(80px, 10vw, 150px) 0; background: var(--white) url("img/sketch.jpg") left bottom / 900px auto no-repeat; }
.gap-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }
.gap-intro { position: sticky; top: 40px; }
.gap-intro p { margin-top: 24px; max-width: 44ch; color: var(--ink-soft); }
.gaps { border-top: 1.5px solid var(--navy); }
.gap { padding: 30px 0 32px; border-bottom: 1px solid #c9cad0; display: grid; grid-template-columns: 200px 1fr; column-gap: 28px; row-gap: 8px; }
.gap h3 { grid-row: span 2; font-size: 26px; }
.gap p { max-width: 48ch; color: var(--ink-soft); }
.gap .fix { color: var(--red); font-weight: 500; }
.gap-close { margin-top: 70px; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; max-width: 40ch; }

/* photo band */
.photo-band { display: grid; grid-template-columns: 1fr 1fr; }
.photo-band .unveil { overflow: hidden; }
.photo-band img { width: 100%; height: clamp(300px, 46vw, 680px); object-fit: cover; }

/* agents */
.agents-sec { background: var(--navy); color: var(--white); padding: clamp(80px, 10vw, 150px) 0; }
.agents-sec .sec-lede { color: #b9bccb; }
.agents { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.agent { padding: 34px 34px 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.agent:not(:nth-child(3n + 1)) { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .18); }
.agent-name { display: block; font-size: clamp(44px, 4vw, 64px); line-height: 1; color: var(--red); letter-spacing: -0.02em; }
.agent-job { display: block; margin-top: 10px; font-size: 20px; }
.agent p { margin-top: 12px; color: #b9bccb; max-width: 34ch; }
.agents-sec .aside { color: var(--coral); }

/* process: a real sequence, so it is numbered */
.process-sec { background: var(--grey); padding: clamp(80px, 10vw, 150px) 0; }
.process-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }
.process-img { margin-top: 48px; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.steps li { display: grid; grid-template-columns: 90px 1fr; column-gap: 20px; padding: 26px 0; border-bottom: 1px solid #c4c5ca; }
.steps li:first-child { border-top: 1.5px solid var(--navy); }
.step-n { grid-row: span 2; font-size: 64px; line-height: .9; color: var(--red); letter-spacing: -0.03em; }
.steps p { margin-top: 6px; color: var(--ink-soft); max-width: 46ch; }

/* results */
.results-sec { padding: clamp(80px, 10vw, 150px) 0; }
.case { margin-top: 80px; padding-top: 40px; border-top: 1.5px solid var(--navy); }
.case header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.case h3 { font-size: clamp(32px, 3.2vw, 48px); letter-spacing: -0.02em; }
.where { color: var(--ink-soft); }
.case-body { margin-top: 32px; display: grid; grid-template-columns: 7fr 5fr; gap: 6vw; }
.case h4 { font-size: 15px; font-weight: 500; color: var(--red); margin: 0 0 8px; }
.case h4 + p { max-width: 54ch; margin-bottom: 26px; }
.built li { padding: 7px 0; border-bottom: 1px solid #e0e1e4; }
.stats { display: grid; gap: 26px; align-content: start; }
.stat-n { display: block; font-size: clamp(42px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.03em; }
.stat-l { display: block; margin-top: 6px; color: var(--ink-soft); }
.case blockquote { margin-top: 44px; padding: 34px 40px; background: var(--grey); }
.case blockquote p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; max-width: 56ch; }
.case cite { display: block; margin-top: 16px; font-style: normal; color: var(--ink-soft); }

/* fit */
.fit-sec { display: grid; grid-template-columns: 5fr 7fr; background: var(--red); color: var(--white); }
.fit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit-photo { position: relative; background: var(--red); min-height: 420px; }
.fit-copy { padding: clamp(60px, 7vw, 120px) var(--gutter); }
.industries { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 21px; }
.fit-copy h3 { margin-top: 56px; font-size: 26px; }
.tools { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .55); font-size: 15px; }
.fit-copy .aside { margin-top: 22px; }

/* booking */
.book-sec { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(90px, 11vw, 170px) 0; }
.book-mark { position: absolute; right: -260px; top: 50%; transform: translateY(calc(-50% + var(--drift, 0px))); opacity: .95; }
.book-copy { position: relative; }
.book-copy .sec-lede { color: #c9cbd6; }
.book-list { margin: 36px 0 40px; max-width: 52ch; }
.book-list li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.book-list strong { font-weight: 500; }
.small { margin-top: 22px; font-size: 16px; color: #c9cbd6; }

/* footer: the pattern made from the mark */
.foot { position: relative; overflow: hidden; background: var(--red); color: var(--white); }
.foot-pattern { position: absolute; inset: 0; opacity: .35; }
.foot-pattern svg { width: 100%; height: 120%; transform: translateY(calc(-8% + var(--drift, 0px))); }
.foot-inner { position: relative; padding-top: 110px; padding-bottom: 50px; }
.foot-line { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; }
.foot-row { margin-top: 90px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; }

/* narrow screens */
@media (max-width: 960px) {
  .top nav a:not(.btn) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-art { order: -1; }
  .hero-mark { max-width: 220px; }
  .gap-grid, .process-grid, .case-body, .fit-sec { grid-template-columns: 1fr; }
  .gap-intro { position: static; }
  .gap { grid-template-columns: 1fr; }
  .gap h3 { grid-row: auto; }
  .agents { grid-template-columns: 1fr; }
  .agent, .agent:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }
  .photo-band { grid-template-columns: 1fr; }
  .book-mark { display: none; }
  .case blockquote { padding: 26px 22px; }
}

/* ---------- motion (only with the "js" class, which is skipped when reduced motion is asked for) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-curtain: cubic-bezier(.77, 0, .18, 1); }

/* headings: each word rises out of its own line */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.js .split.in .w > span { transform: none; }
.js .hero h1 .w > span { transition-delay: calc(180ms + var(--i) * 70ms); transition-duration: 1.15s; }

/* quiet fade and lift for supporting copy */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* photos unveil upward like a curtain, settling from a slight zoom */
.js .unveil[data-reveal] { opacity: 1; transform: none; overflow: hidden; }
.js .unveil[data-reveal] img { clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.3s var(--ease-curtain), transform 1.9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .unveil[data-reveal].in img { clip-path: inset(0 0 0 0); transform: none; }

/* dividing lines draw across from the left */
.line { position: relative; }
.js .line { border-bottom-color: transparent; }
.js .line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule, #c9cad0); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-curtain); transition-delay: calc(var(--d, 0ms) + 120ms); }
.js .line.in::after { transform: scaleX(1); }
.steps .line { --rule: #c4c5ca; }
.built .line { --rule: #e0e1e4; }

/* header turns solid navy once the red opening has scrolled away */
.top { position: fixed; transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease; }
.top.solid { background: var(--navy); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.js .top { animation: header-in .9s var(--ease-out) .9s both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-12px); } }

/* icons from the brand library */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gap h3 { display: flex; align-items: center; gap: 12px; }
.gap h3 .ic { color: var(--red); }
.agent .ic { display: block; width: 30px; height: 30px; margin-bottom: 20px; color: var(--coral); }

/* buttons: a fill that slides in on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn-navy::before { background: var(--white); }
.btn-navy:hover { background: var(--navy); color: var(--navy); }
.btn-line::before { background: var(--white); }
.btn-line:hover { background: transparent; color: var(--red); }
.btn-red::before { background: var(--white); }
.btn-red:hover { background: var(--red); color: var(--red); }
.btn:hover::before { transform: none; }
.btn { transition: color .3s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .px, .px.dot { animation: none; }
}

/* once the header is navy, its button switches to red so it still stands out */
.top.solid .btn-navy { background: var(--red); }
.top.solid .btn-navy:hover { color: var(--red); }

/* ---------- V2 ---------- */
/* proof right under the opening */
.proof { background: var(--white); border-bottom: 1px solid #e0e1e4; }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 44px 28px 40px 0; }
.proof-item + .proof-item { padding-left: 28px; border-left: 1px solid #e0e1e4; }
.proof-n { display: block; font-size: clamp(38px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.proof-l { display: block; margin-top: 10px; max-width: 24ch; }
.proof-src { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* the rule every build has to pass, said early and large */
.rule-sec { background: var(--white); padding: clamp(90px, 11vw, 170px) 0 clamp(40px, 5vw, 70px); }
.rule-line { font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -0.025em; max-width: 19ch; }
.rule-sub { margin-top: 30px; font-size: clamp(19px, 1.5vw, 22px); max-width: 52ch; color: var(--ink-soft); }
.gap-sec { padding-top: clamp(50px, 6vw, 90px); }

/* agents: the job first, the name as a small tag, then what it changes */
.agent-job { margin-top: 0; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; color: var(--white); letter-spacing: -0.015em; }
.agent-name { display: inline-block; margin-top: 12px; font-size: 14px; line-height: 1; color: var(--red); letter-spacing: .02em; padding: 5px 9px; border: 1px solid rgba(255, 61, 25, .6); }
.agent-change { margin-top: 16px !important; color: var(--coral) !important; font-weight: 500; }

@media (max-width: 960px) {
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 28px 16px 26px 0; border-left: 0; }
  .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid #e0e1e4; }
  .proof-item:nth-child(-n + 2) { border-bottom: 1px solid #e0e1e4; }
}

/* a featured client quote, used where a case has words rather than numbers */
.feature-quote { background: var(--navy); color: var(--white); padding: 40px 38px 34px; align-self: start; }
.feature-quote blockquote { margin: 0; padding: 0; background: none; }
.feature-quote blockquote p { font-size: clamp(22px, 2vw, 30px); line-height: 1.22; letter-spacing: -0.01em; }
.feature-quote blockquote p::before { content: "“"; display: block; font-size: 64px; line-height: .6; height: 26px; color: var(--red); }
.feature-quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: #c9cbd6; }
.feature-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.feature-quote figcaption strong { display: block; color: var(--white); font-weight: 500; font-size: 17px; }

/* the live 3D code logo (approved "noise code" effect) under Diagnose, design, build */
.logo3d { position: relative; margin-top: 48px; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; cursor: grab; }
.logo3d:active { cursor: grabbing; }
.logo3d.dark { background: radial-gradient(ellipse 75% 70% at 50% 45%, #221f4f 0%, #120f30 50%, #07061a 100%); }
.logo3d.white { background: #fff; }
.logo3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo3d-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s ease; }
.logo3d.ready .logo3d-still { opacity: 0; pointer-events: none; }
.logo3d-hint { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
@media (hover: none) { .logo3d-hint { display: none; } }

/* ---------- V2 round 2 ---------- */
/* every case: the quote card sits beside the build, results run along the bottom */
.case-stats { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e0e1e4; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 36px; }
.case-stats .stat-n { font-size: clamp(36px, 3.4vw, 54px); color: var(--red); }
.case-stats .stat-l { max-width: 26ch; }
.case-body > .feature-quote { align-self: start; }

/* industries: an even grid instead of a ragged run, then a line so no one feels left out */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; font-size: 20px; }
.industries-more { margin-top: 22px; font-size: 18px; opacity: .92; }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 18px; } }

/* tools: a soft white highlight that comes on quickly and fades away slowly */
.tools li { transition: background-color 1s ease, border-color 1s ease; }
.tools li:hover { background-color: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .95); transition-duration: .25s; }
/* tools: an even grid of equal chips (18 = 6 x 3), so no single chip sits alone on a last line */
.tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tools li { text-align: center; }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- V2 round 3 ---------- */
/* hero headline: a little more room between lines, so "They" clears the "g" in "growth" */
.hero h1 { line-height: 1.05; }
/* hero logo: sits a little further in from the right edge */
.hero-art { padding-right: 5vw; }
@media (max-width: 960px) { .hero-art { padding-right: 0; } }
/* hero logo squares: once they have flown in, each one grows slightly under the mouse and eases back */
/* the squares near the mouse swell (set by motion.js); they follow quickly and ease back slowly */
.hero-mark .px { stroke: #fff; stroke-width: 0.6; stroke-opacity: 0; vector-effect: non-scaling-stroke; }
.hero-mark.settled .px { animation: none; transition: transform .22s cubic-bezier(.34, 1.4, .64, 1), fill-opacity .22s ease, stroke-opacity .22s ease; }   /* quick pop */
.hero-mark.settled.easing-back .px { transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), fill-opacity 1.2s ease, stroke-opacity 1.2s ease; }        /* slow settle */
/* hero logo 20% larger, growing towards the headline side so it stays clear of the right edge */
.hero-mark { transform: scale(1.2); transform-origin: 72% 50%; }
@media (max-width: 960px) { .hero-mark { transform-origin: 50% 50%; } }
/* the 3D code logo: rounded corners instead of a hard rectangle */
.logo3d { border-radius: 18px; }

/* ---------- V2 round 4 ---------- */
/* "They have a friction problem." starts on its own line, with clear space above it */
.sentence-break { display: block; height: .32em; }
/* the logo lines up with the middle of the headline, not with the whole column of copy */
.hero { grid-template-rows: auto auto auto; row-gap: 0; align-content: center; }
.hero-copy { display: contents; }
.hero h1 { grid-column: 1; grid-row: 1; }
.hero .lede { grid-column: 1; grid-row: 2; }
.hero .actions { grid-column: 1; grid-row: 3; }
.hero-art { grid-column: 2; grid-row: 1; align-self: center; }
@media (max-width: 960px) {
  .hero-art { grid-column: 1; grid-row: 1; margin-bottom: 28px; }
  .hero h1 { grid-row: 2; } .hero .lede { grid-row: 3; } .hero .actions { grid-row: 4; }
}
/* keep the buttons on screen on a laptop now the headline is taller */
.hero { padding-top: 104px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(44px, 5.9vw, 100px); }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 28px; }

/* ---------- V2 round 5 ---------- */
/* no sketch behind "The gap" section */
.gap-sec { background-image: none; }
/* the closing line of "The gap": centred, larger, lines balanced so no word sits alone */
.gap-close { margin: 90px auto 0; max-width: 34ch; text-align: center; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.14; letter-spacing: -0.015em; text-wrap: balance; }

/* ---------- V2 round 6: "The gap" closing line on a tilting card ---------- */
/* fill only, no border: the dark purple from the 3D code logo as a subtle gradient, white text */
.gap-card { position: relative; margin: 90px auto 0; max-width: 1080px; padding: clamp(56px, 7vw, 100px) clamp(28px, 6vw, 90px);
  border-radius: 22px; color: #fff; text-align: center;
  background: radial-gradient(120% 140% at 30% 20%, #2a2660 0%, #1a1745 38%, #0f0d2c 75%, #0a0920 100%);
  box-shadow: 0 2px 4px rgba(10, 9, 32, .08), 0 30px 60px -30px rgba(10, 9, 32, .45);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.gap-card .gap-close { margin: 0 auto; color: #fff; }
/* the tilt: leans into the corner under the mouse, lifts, and a soft light follows the pointer */
.tilt { will-change: transform; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 46%); }
.tilt:hover { --lift: -6px; box-shadow: 0 4px 8px rgba(10, 9, 32, .1), 0 44px 80px -30px rgba(10, 9, 32, .6); }
.tilt:hover::after { opacity: 1; }
/* the reveal fade must not fight the tilt transform */
.js .gap-card[data-reveal] { transform: perspective(900px) translateY(22px); }
.js .gap-card[data-reveal].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
@media (prefers-reduced-motion: reduce) { .tilt { transform: none !important; } .tilt::after { display: none; } }

/* ---------- V2 round 6b ---------- */
/* card hugs the phrase */
.gap-card { width: fit-content; max-width: min(100%, 1080px); padding: 52px 64px; }
.gap-card .gap-close { max-width: 25ch; font-weight: 280; }
/* no light following the pointer */
.tilt::after { display: none; }
/* shadow: soft at rest, half as strong as before on hover, easing in and out */
.gap-card { box-shadow: 0 2px 4px rgba(10, 9, 32, .04), 0 22px 44px -30px rgba(10, 9, 32, .18); }
.tilt:hover { box-shadow: 0 4px 8px rgba(10, 9, 32, .05), 0 44px 80px -30px rgba(10, 9, 32, .3); }
.js .gap-card[data-reveal] { transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease; }
@media (max-width: 960px) { .gap-card { padding: 40px 26px; } }

/* ---------- V2 round 6c ---------- */
/* same purple, at 15% strength over white, with near-black text */
.gap-card { background: radial-gradient(120% 140% at 30% 20%, rgba(42, 38, 96, .15) 0%, rgba(26, 23, 69, .15) 38%, rgba(15, 13, 44, .15) 75%, rgba(10, 9, 32, .15) 100%); color: var(--navy); }
.gap-card .gap-close { color: var(--navy); }
/* smooth tilt: once live, the script moves the card frame by frame, so no CSS transition on it */
.gap-card.tilt-live { transition: none; }
.tilt:hover { box-shadow: 0 2px 4px rgba(10, 9, 32, .04), 0 22px 44px -30px rgba(10, 9, 32, .18); }
/* the hover shadow is its own layer that only fades in and out (cheap for the browser) */
.gap-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  box-shadow: 0 4px 8px rgba(10, 9, 32, .05), 0 44px 80px -30px rgba(10, 9, 32, .3); opacity: 0; transition: opacity .6s ease; }
.gap-card.hovering::before { opacity: 1; }
/* the drop shadow stays on all the time (Michael, 2026-11-11), so nothing fades in or out */
.gap-card, .tilt:hover { box-shadow: 0 4px 8px rgba(10, 9, 32, .05), 0 44px 80px -30px rgba(10, 9, 32, .3); }
.gap-card::before { display: none; }

/* ---------- V2 round 6d ---------- */
.gap-card { padding: 40px 48px; border-radius: 0;
  /* a white wash on top of the purple: 15% at the bottom fading to nothing at the top */
  background: linear-gradient(to top, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0)),
              radial-gradient(120% 140% at 30% 20%, rgba(42, 38, 96, .15) 0%, rgba(26, 23, 69, .15) 38%, rgba(15, 13, 44, .15) 75%, rgba(10, 9, 32, .15) 100%); }
.gap-card .gap-close { font-size: clamp(26px, 2.6vw, 40px); }
/* shadow halved again, still on all the time */
.gap-card, .tilt:hover { box-shadow: 0 4px 8px rgba(10, 9, 32, .025), 0 44px 80px -30px rgba(10, 9, 32, .15); }
@media (max-width: 960px) { .gap-card { padding: 32px 22px; } }
/* one phrase per line, breaking at the natural pauses (each may still wrap on a phone) */
.gap-close .phrase { display: block; }
.gap-card .gap-close { max-width: 32ch; }

/* agent name tags in teal (#91C9C4, sampled from Michael's screenshot): thin teal border, soft teal fill, teal text */
:root { --teal: #91C9C4; }
.agent-name { color: var(--teal); border: 1px solid var(--teal); background: rgba(145, 201, 196, .12); border-radius: 6px; padding: 5px 10px; }
.agent-name { border-radius: 0; }
/* tools: keep every name inside its box; three columns (six even rows) on narrower windows */
.tools li { padding-left: 4px; padding-right: 4px; white-space: nowrap; }
@media (max-width: 1200px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* booking calendar shown on the page on phones (white panel so the calendar reads cleanly on navy) */
.book-calendar:empty { display: none; }
.book-calendar { margin-top: 28px; background: #fff; border-radius: 4px; overflow: hidden; }
@media (max-width: 960px) { .book-btn { display: none; } }

/* ---------- round 7 (preview) ---------- */
/* pure white fill with a 0.5px outline in the card's previous lavender (#DEDEE5) */
.gap-card { background: #fff; border: 0.5px solid #DEDEE5; }
/* phones: the calendar sits high up, under "The goal isn't to automate everything"; the booking section keeps its button */
.book-calendar-top { display: none; }
@media (max-width: 960px) {
  .book-calendar-top { display: block; margin-top: 30px; }
  .book-calendar-top h3 { font-size: 22px; margin-bottom: 12px; }
  .book-calendar-top iframe { background: #fff; border: 0.5px solid #DEDEE5; }
  .book-btn { display: inline-flex; }
}

/* round 8: gap card shadow 40% less visible; outline colour 50% stronger (#DEDEE5 -> #CDCDD8) */
.gap-card, .tilt:hover { box-shadow: 0 4px 8px rgba(10, 9, 32, .015), 0 44px 80px -30px rgba(10, 9, 32, .09); }
.gap-card { border-color: #CDCDD8; }
/* round 9: "It's systems." in the brand red; outline a clear lavender (#ACA8EC) instead of grey */
.gap-card .gap-close .accent { color: var(--red); }
.gap-card { border-color: #ACA8EC; }
.gap-card { border-color: var(--red); }   /* outline the same orange-red as "It's systems." */

/* ---------- Dunes band (experiment, 2026-11-12): the approved silk dunes edge to edge under the gap card,
   in a deeper band-only orange. The band holds on screen while you scroll through it: the first phrase rises in,
   then lifts away as the second rises into its place (dunes-band.js toggles .phase-b). ---------- */
/* round 3: a shorter band (about 60% of the screen) that holds centred under the menu bar, white page above and below it */
.dunes-band { --stage-h: clamp(400px, 60svh, 660px); --nav-h: 66px; position: relative; height: calc(var(--stage-h) + 120svh); }
.dunes-stage { position: sticky; top: calc(var(--nav-h) + (100svh - var(--nav-h) - var(--stage-h)) / 2); height: var(--stage-h); overflow: hidden; display: flex; align-items: center; background: #ff6a40; }
.dunes-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dunes-lines { position: relative; z-index: 1; display: grid; }
.dunes-band .dunes-line { grid-area: 1 / 1; margin: 0 auto; max-width: 14ch; text-align: center; color: #fff; font-weight: 700;
  font-size: clamp(48px, min(8.4vw, 13svh), 156px); line-height: .94; letter-spacing: -0.03em; text-wrap: balance;
  /* on the whole line: each word is clipped in its own box for the rise, which would cut a text-shadow into rectangles */
  filter: drop-shadow(0 2px 3px rgba(150, 32, 6, .2)) drop-shadow(0 6px 22px rgba(170, 40, 10, .3)); }
/* the second phrase waits below its line until the swap; the first lifts up and out when it happens */
/* round 4: moved further (140%, was 108%) so the tails of g, y and p never peek out of their boxes */
.js .dunes-band .dunes-line .w > span { --out: 140%; }
.js .dunes-band .dl-a:not(.in) .w > span { transform: translateY(var(--out)); }
.js .dunes-band:not(.phase-b) .dl-b .w > span { transform: translateY(var(--out)); }
.js .dunes-band.phase-b .dl-a .w > span { transform: translateY(calc(var(--out) * -1)); transition-duration: .8s; }
.js .dunes-band.phase-b .dl-b .w > span { transition-delay: calc(260ms + var(--i) * 55ms); }
@media (prefers-reduced-motion: reduce) { .js .dunes-band .dunes-line .w > span { transition: none; } }
/* round 5 (review before going live): visitors who ask for reduced motion (or have no JavaScript) get no
   animation at all, so show both phrases stacked in an ordinary band with no scroll hold */
html:not(.js) .dunes-band { height: auto; }
html:not(.js) .dunes-stage { position: relative; top: auto; height: auto; padding: clamp(60px, 8vw, 110px) 0; }
html:not(.js) .dunes-band .dl-b { grid-area: 2 / 1; margin-top: .45em; }
/* browsers without the newer screen-height unit (Safari before 15.4) */
@supports not (height: 100svh) {
  .dunes-band { --stage-h: clamp(400px, 60vh, 660px); height: calc(var(--stage-h) + 120vh); }
  .dunes-stage { top: calc(var(--nav-h) + (100vh - var(--nav-h) - var(--stage-h)) / 2); }
  .dunes-band .dunes-line { font-size: clamp(48px, min(8.4vw, 13vh), 156px); }
}
/* round 6 (Michael, 2026-11-12): text about 20% larger */
.dunes-band .dunes-line { font-size: clamp(56px, min(10vw, 16svh), 184px); }
@supports not (height: 100svh) { .dunes-band .dunes-line { font-size: clamp(56px, min(10vw, 16vh), 184px); } }

/* ---------- 2026-11-14: hero logo centred in the orange space to the right of the copy, 15% larger ---------- */
@media (min-width: 961px) {
  .hero-art { grid-row: 1 / 4; align-self: center; }   /* centred on the whole copy block, not just the headline */
  .hero-mark { transform: translateX(-1.9vw) scale(1.38); }   /* was 1.2, so 15% larger; nudged left to sit on the centre of the orange space */
}
@media (min-width: 1700px) {
  .hero-mark { transform: translateX(-5vw) scale(1.38); }     /* big monitors: the logo hits its size cap, so it needs a larger nudge to stay centred */
}

/* ---------- 2026-11-15: agent cards open their own pages ---------- */
.agent { position: relative; transition: background-color .3s ease; }
.agent-more { display: inline-flex; gap: 8px; margin-top: 22px; font-size: 16px; font-weight: 500; color: var(--white); text-decoration: none; }
.agent-more span { transition: transform .3s var(--ease-out); }
.agent-more::after { content: ""; position: absolute; inset: 0; }          /* the whole card is clickable */
.agent:hover { background: rgba(255, 255, 255, .035); }
.agent:hover .agent-more span { transform: translateX(5px); }
.agent:hover .agent-job { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.agent-more:focus-visible { outline: none; }
.agent-more:focus-visible::after { outline: 3px solid var(--white); outline-offset: -3px; }   /* ring drawn on the card-sized overlay */
