/* Swiftalys — direction 3 "bleu nuit". Font: Archivo (variable, wdth + wght), SIL Open Font License, self-hosted. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; src: url('fonts/archivo-latin-var.woff2') format('woff2'); }

:root {
  --bg: #F5F4F0; --surface: #FFFFFF; --ink: #0A1A33; --ink-2: #46506A; --mist: #E4E9F2;
  --night: #0A1A33; --night-2: #13284A; --on-night: #FFFFFF; --on-night-2: rgba(255,255,255,.75); --on-night-3: rgba(255,255,255,.62);
  --ember: #EC6100; --ember-2: #FF8A3D; --accent: #B34700; --ok: #2BB673;
  --line: rgba(10,26,51,.12); --line-night: rgba(255,255,255,.14);
  --btn-bg: #0A1A33; --btn-fg: #FFFFFF; --btn-hover: #13284A;
  --header-bg: rgba(245,244,240,.9);
  --font: 'Archivo', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --pad: 48px; --max: 1360px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B111C; --surface: #111A2B; --ink: #ECEEF1; --ink-2: #AEB6C4; --mist: #16213A;
    --night: #131D31; --night-2: #1F2D4A; --accent: #FF8A3D;
    --line: rgba(255,255,255,.12); --line-night: rgba(255,255,255,.12);
    --btn-bg: #ECEEF1; --btn-fg: #0A1A33; --btn-hover: #FFFFFF;
    --header-bg: rgba(11,17,28,.9);
  }
  .team-band, .contact, .door-project { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  .device { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -24px rgba(0,0,0,.7); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; overflow-x: clip; } /* the slanted planes run past the edge: keep the page from scrolling sideways */
main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 40; background: var(--btn-bg); color: var(--btn-fg); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Type */
.display { font-stretch: 112%; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; margin: 0; }
h1.display { font-size: clamp(56px, 8.4vw, 120px); }
h2.display { font-size: clamp(38px, 4.6vw, 60px); }
.display em { font-style: normal; color: var(--accent); }
.kicker { font-size: 16px; color: var(--ink-2); margin: 0; }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--accent); margin: 0; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 600px; margin: 32px 0 0; }
.sector { font-size: 15px; font-weight: 600; color: var(--accent); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 30px; border-radius: 999px; font-size: 17px; font-weight: 600; background: var(--btn-bg); color: var(--btn-fg); transition: background .3s var(--ease); }
.btn::after { content: "→"; transition: translate .3s var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:hover::after { translate: 5px 0; }
.btn.light { background: #FFFFFF; color: #0A1A33; }
.btn.light:hover { background: #E4E9F2; }
.btn.ember { background: var(--ember); color: #0A1A33; }
.btn.ember:hover { background: var(--ember-2); }
.link { font-size: 17px; font-weight: 500; position: relative; padding-bottom: 3px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: scale .35s var(--ease); }
.link:hover::after { scale: 0 1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }

/* Header (shared by every page) */
header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mark { width: 34px; display: flex; flex-direction: column; gap: 4px; }
.mark i { display: block; height: 8px; transform: skewX(-20deg); border-radius: 1px; }
.mark i:first-child { width: 34px; background: var(--ember); }
.mark i:last-child { width: 22px; align-self: flex-end; background: currentColor; }
.wordmark { font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; display: flex; flex-direction: column; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px rgba(10,26,51,.15); }
.menu nav a { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.menu nav a:hover { background: var(--mist); }
.cta { padding: 12px 20px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 15px; transition: background .3s var(--ease); }
.cta:hover { background: var(--btn-hover); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; padding-top: 96px; }
.hero h1 { margin-top: 24px; }
.hero-visual { position: relative; height: 620px; }
.hero-visual .plane { position: absolute; top: 0; bottom: 0; left: 8%; right: -14%; background: var(--night); border-radius: 36px; transform: skewX(-8deg); transform-origin: bottom; }
.hero-visual .bar { position: absolute; top: 54px; right: -6%; width: 46%; height: 64px; border-radius: 16px; background: var(--ember); transform: skewX(-20deg); }
.hero-visual .device { position: absolute; right: 14%; top: 30px; rotate: 6deg; }

/* Phone mock-ups (decorative, hidden from assistive tech) */
.device { width: 270px; height: 560px; border-radius: 46px; background: #0B0F15; padding: 10px; box-shadow: 0 30px 60px -24px rgba(10,20,40,.55); }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #FFFFFF; color: #0A1A33; font-size: 14px; }
.screen.dark { background: #0F1420; color: #FFFFFF; }
.screen .island { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 86px; height: 26px; border-radius: 99px; background: #000; }
.screen .status { display: flex; justify-content: space-between; padding: 14px 28px 0; font-size: 13px; font-weight: 600; }
.screen .status i { display: block; width: 16px; height: 9px; border-radius: 3px; border: 1px solid currentColor; }
.screen .body { padding: 28px 20px 0; }
.screen .muted { margin: 0; font-size: 13px; color: #5A6378; }
.screen.dark .muted { color: rgba(255,255,255,.7); }
.screen .title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.screen .card { margin-top: 16px; height: 132px; border-radius: 18px; background: #0A1A33; color: #FFFFFF; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.screen .card .top { display: flex; justify-content: space-between; font-size: 11px; }
.screen .card .mini { width: 24px; display: flex; flex-direction: column; gap: 3px; }
.screen .card .mini i { display: block; height: 5px; transform: skewX(-20deg); }
.screen .card .mini i:first-child { width: 24px; background: var(--ember); }
.screen .card .mini i:last-child { width: 16px; align-self: flex-end; background: #FFFFFF; }
.screen .card .num { font-size: 15px; letter-spacing: .18em; }
.screen .tile { margin-top: 12px; border-radius: 16px; background: #F1F3F7; padding: 16px; }
.screen .tile .row { display: flex; justify-content: space-between; font-size: 13px; }
.screen .tile .row b { font-weight: 600; }
.screen .tile .big { margin: 4px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.screen .meter { margin-top: 12px; height: 6px; border-radius: 99px; background: #DCE1EA; }
.screen .meter i { display: block; height: 100%; width: 58%; border-radius: 99px; background: var(--ember); }
.screen .list { margin-top: 12px; border-radius: 16px; background: #F1F3F7; }
.screen .list div { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 500; }
.screen .list div + div { border-top: 1px solid #DCE1EA; }
.screen .toggle { width: 40px; height: 24px; border-radius: 99px; background: #C9D0DC; padding: 3px; }
.screen .toggle i { display: block; width: 18px; height: 18px; border-radius: 99px; background: #FFFFFF; }
.screen .xl { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.screen .pill { display: inline-block; margin-top: 12px; border-radius: 99px; background: #E4E9F2; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.screen .acct { margin-top: 12px; border-radius: 16px; background: #F1F3F7; padding: 16px; }
.screen .acct p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.2; }
.screen .acct b { display: block; margin-top: 4px; font-size: 26px; letter-spacing: -.02em; }
.screen .outline { margin-top: 12px; border-radius: 16px; border: 2px solid #0A1A33; padding: 14px; font-size: 19px; font-weight: 600; text-align: center; }
.screen .lock { margin: 32px auto 0; width: 150px; height: 150px; border-radius: 99px; border: 10px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.screen .lock span { width: 104px; height: 104px; border-radius: 99px; background: var(--ember); display: flex; align-items: center; justify-content: center; }
.screen .lock b { position: relative; display: block; width: 34px; height: 26px; border-radius: 6px; background: #0F1420; margin-top: 12px; }
.screen .lock b::before { content: ""; position: absolute; top: -16px; left: 6px; width: 22px; height: 20px; border-radius: 22px 22px 0 0; border: 4px solid #0F1420; border-bottom: 0; }
.screen .hint { margin: 20px 0 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); }
.screen .rows { margin-top: 24px; border-radius: 16px; background: rgba(255,255,255,.07); }
.screen .rows div { display: flex; justify-content: space-between; padding: 14px 16px; }
.screen .rows div + div { border-top: 1px solid rgba(255,255,255,.1); }
.screen .rows span { color: rgba(255,255,255,.7); }

/* Two doors: project or team reinforcement */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.door { display: flex; flex-direction: column; min-height: 300px; padding: 48px; border-radius: 28px; transition: translate .4s var(--ease); }
.door:hover { translate: 0 -6px; }
.door .label { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.door .display { display: block; margin-top: 20px; font-size: clamp(32px, 3.2vw, 46px); }
.door .foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; }
.door .arrow { font-size: 28px; transition: translate .3s var(--ease); }
.door:hover .arrow { translate: 6px 0; }
.door-project { background: var(--night); color: var(--on-night); }
.door-project .label { color: var(--ember-2); }
.door-project .foot { color: var(--on-night-2); }
.door-project .arrow { color: var(--on-night); }
.door-team { background: var(--ember); color: #0A1A33; }
.door-team .label { font-weight: 700; }
.door-team .label::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: #0A1A33; }
.door-team .foot { font-weight: 500; }
.door:focus-visible { outline-color: var(--ink); outline-offset: 4px; }

/* Proof line */
.proof { padding-top: 96px; }
.proof .display { font-size: clamp(30px, 3.4vw, 46px); max-width: 1100px; }
.proof p:last-child { margin: 20px 0 0; font-size: 18px; color: var(--ink-2); }

section.block { padding-top: 128px; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; margin-bottom: 56px; }
.head > p { margin: 0; font-size: 18px; color: var(--ink-2); }

/* Team reinforcement: slanted night band */
.team-band { margin: 128px 0 0 max(16px, 8vw); padding: 112px 0; background: var(--night); color: var(--on-night); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.team-band .inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 0 112px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.team-band .intro p { margin: 24px 0 0; font-size: 19px; color: var(--on-night-2); }
.team-band .actions { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fact { padding: 28px 0; border-top: 1px solid var(--line-night); }
.fact span { font-size: 14px; color: var(--on-night-3); }
.fact b { display: block; margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.fact p { margin: 8px 0 0; font-size: 16px; color: var(--on-night-2); }
.team-band :focus-visible { outline-color: var(--ember-2); }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.services .intro { position: sticky; top: 112px; align-self: start; }
.services .intro p { margin: 24px 0 0; font-size: 18px; color: var(--ink-2); }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; font-stretch: 112%; font-size: 26px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 0; transition: gap .4s var(--ease); }
.svc h3::before { content: ""; flex: none; width: 0; height: 16px; border-radius: 3px; background: var(--ember); transform: skewX(-20deg); transition: width .4s var(--ease); }
.svc:hover h3 { gap: 16px; }
.svc:hover h3::before { width: 36px; }
.svc p { margin: 0; font-size: 18px; color: var(--ink-2); }
.svc p a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Work */
.with-bar { display: flex; align-items: center; gap: 20px; }
.with-bar::before { content: ""; flex: none; width: 44px; height: 20px; border-radius: 3px; background: var(--ember); transform: skewX(-20deg); }
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.show { position: relative; overflow: hidden; height: 480px; padding: 36px; border-radius: 28px; }
.show > h3 { position: relative; z-index: 1; margin: 12px 0 0; font-size: 28px; max-width: 46%; }
.show > p { position: relative; z-index: 1; margin: 12px 0 0; font-size: 16px; max-width: 44%; }
.show .device { position: absolute; right: 6%; top: 48px; }
.show .slab { position: absolute; left: -30px; bottom: 48px; width: 220px; height: 44px; border-radius: 12px; transform: skewX(-20deg); }
.show-light { background: var(--mist); }
.show-light > p { color: var(--ink-2); }
.show-light .slab { background: var(--ember); }
.show-light .device { rotate: -4deg; }
.show-dark { background: var(--night); color: var(--on-night); }
.show-dark > .sector { color: var(--ember-2); }
.show-dark > p { color: var(--on-night-2); }
.show-dark .slab { background: var(--night-2); }
.show-dark .device { rotate: 4deg; }
.ledger { background: var(--surface); border-radius: 28px; padding: 0 40px; }
.ledger article { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 36px 0; }
.ledger article + article { border-top: 1px solid var(--line); }
.ledger h3 { margin: 0; font-stretch: 112%; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ledger p { margin: 0; font-size: 17px; color: var(--ink-2); }

/* Method */
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.track i { height: 16px; border-radius: 3px; transform: skewX(-20deg); background: var(--night); }
.track i:nth-child(3) { background: var(--ember); }
.track i:nth-child(4) { background: var(--night-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { border-radius: 16px; padding: 28px; background: var(--mist); }
.steps .when { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.steps h3 { margin: 32px 0 0; font-stretch: 112%; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin: 12px 0 0; font-size: 16px; color: var(--ink-2); }
.steps .friday { background: var(--ember); color: #0A1A33; }
.steps .friday .when, .steps .friday p { color: #0A1A33; }
.steps .friday .when { font-weight: 700; }
.steps .handoff { background: var(--night); color: var(--on-night); }
.steps .handoff .when { color: var(--on-night-3); }
.steps .handoff p { color: var(--on-night-2); }

/* Founder: the only place the founder is named */
.founder { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.founder .display { max-width: 900px; }
.founder p:not(.eyebrow) { margin: 32px 0 0; font-size: 20px; color: var(--ink-2); max-width: 760px; }
.founder .link { display: inline-block; margin-top: 32px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 80px; }
.qa { padding: 32px 0; border-top: 1px solid var(--line); }
.qa h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.qa p { margin: 12px 0 0; font-size: 17px; color: var(--ink-2); }

/* Contact: full-width night plane with a slanted top */
.contact { margin-top: 128px; background: var(--night); color: var(--on-night); clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.contact .inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 176px var(--pad) 96px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.contact .bars { position: absolute; right: -40px; bottom: 40px; width: 288px; display: flex; flex-direction: column; gap: 12px; opacity: .2; pointer-events: none; }
.contact .bars i { height: 56px; border-radius: 12px; transform: skewX(-20deg); background: var(--ember); }
.contact .bars i:last-child { width: 66%; align-self: flex-end; background: var(--night-2); }
.contact h2.display { font-size: clamp(44px, 5vw, 72px); }
.contact .lede { color: var(--on-night-2); max-width: 560px; margin-top: 24px; }
.contact :focus-visible { outline-color: var(--ember-2); }
.next { list-style: none; margin: 48px 0 0; padding: 0; max-width: 600px; border-top: 1px solid var(--line-night); }
.next li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-night); }
.next b { font-weight: 600; }
.next span { color: var(--on-night-2); }
.channels { list-style: none; margin: 0; padding: 12px 28px; border-radius: 22px; background: var(--night-2); align-self: start; position: relative; }
.channels li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.channels li + li { border-top: 1px solid var(--line-night); }
.channels span { font-size: 14px; color: var(--on-night-3); }
.channels a, .channels b { font-size: 18px; font-weight: 600; }
.channels a:hover { color: var(--ember-2); }
.channels .live { display: flex; align-items: center; gap: 12px; }
.channels .live::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 0 4px rgba(43,182,115,.18); }

/* Footer (shared) */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 40px; font-size: 14px; color: var(--ink-2); }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
footer nav a { display: inline-block; padding: 12px 0; margin: -12px 0; }
footer a:hover { color: var(--ink); }
main:has(> .contact:last-child) + footer { border-top: 0; background: var(--night); }
main:has(> .contact:last-child) + footer .wrap { color: var(--on-night-2); }
main:has(> .contact:last-child) + footer a:hover { color: var(--on-night); }
main:has(> .contact:last-child) + footer :focus-visible { outline-color: var(--ember-2); }

/* Inner pages: legal notice, article, 404 */
.page { padding-top: 72px; padding-bottom: 120px; }
.legal-inner, .article-inner { max-width: 760px; }
.page h1 { font-stretch: 112%; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(40px, 5.6vw, 76px); margin: 0 0 20px; text-wrap: balance; }
.page h2 { font-stretch: 112%; font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 48px 0 12px; }
.page p, .page li, .page dd { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.page .updated { font-size: 15px; color: var(--ink-2); }
.page .lede { font-size: 21px; max-width: none; }
.page a:not([class]) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.page dt { font-weight: 600; }
.page dd { margin: 0; }
.page .callout { margin-top: 56px; padding: 36px; border-radius: 22px; background: var(--mist); }
.page .callout h2 { margin-top: 0; }
.page .cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 20px; }
.page .sources, .page .sources p, .page .sources li { font-size: 15px; }
.page .sources { margin-top: 48px; }
.page .call { font-size: 16px; color: var(--ink-2); }
.nf { min-height: 45vh; }
.nf .code { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.nf .actions { margin-top: 32px; }

/* Motion: CSS only, skipped when the visitor asks for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise.d2 { animation-delay: .12s; }
  .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { translate: 0 28px; } } /* no opacity: the text stays readable if animations never run */
  .hero-visual .device { animation: lift 1.1s var(--ease) .2s both; }
  @keyframes lift { from { margin-top: 40px; } }
}

/* Tablet and phone */
@media (max-width: 1400px) {
  /* panels too narrow for text and phone side by side: the phone goes under the text */
  .show { height: auto; padding: 28px 28px 0; }
  .show > h3, .show > p { max-width: none; }
  .show .device { position: relative; right: auto; top: auto; margin: 36px auto -170px; }
  .show .slab { display: none; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; }
  .hero-visual { height: 640px; max-width: 520px; width: 100%; margin: 0 auto; }
  .services { grid-template-columns: 1fr; }
  .services .intro { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { display: none; } /* the bars line up with four columns only */
  .team-band .inner { grid-template-columns: 1fr; padding-left: 64px; }
  .contact .inner { grid-template-columns: 1fr; }
  .ledger article { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 960px) {
  :root { --pad: 24px; }
  .nav { display: none; }
  .menu { display: block; }
  header .wrap { gap: 12px; height: 68px; }
  .cta { padding: 10px 16px; font-size: 14px; }
  .doors, .showcase, .faq, .facts { grid-template-columns: 1fr; }
  .door { padding: 32px; min-height: 0; }
  .head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .svc { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .founder { grid-template-columns: 1fr; gap: 20px; }
  .ledger { padding: 0 24px; }
}
@media (max-width: 600px) {
  .cta { display: none; }
  .wordmark { font-size: 21px; }
  h1.display { font-size: 56px; }
  h2.display { font-size: 38px; }
  .lede { font-size: 17px; }
  section.block { padding-top: 96px; }
  .proof { padding-top: 72px; }
  .hero-visual .device { right: 50%; translate: 50% 0; }
  .steps { grid-template-columns: 1fr; }
  .team-band { margin: 96px 0 0 16px; padding: 80px 0; }
  .team-band .inner { padding: 0 24px 0 48px; }
  .contact { margin-top: 96px; clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
  .contact .inner { padding-top: 112px; }
  .contact .bars { display: none; }
  .next li { grid-template-columns: 1fr; gap: 4px; }
  .page dl { grid-template-columns: 1fr; }
  .page .callout { padding: 24px; }
}
