/* andrewctf.tech
   Type, header and FAQ rows: astraholding.uk. Button: markups.ai, in the site's blue. Scope cards, photo strip and
   colour field: artorius.com.
   Close band: dicksmedia.com. Stats: flo-corp.com. Footer: slopesbio.com. House kit: his 15 builds that share it.
   Device: the clearing, a sky-blue window framing the one thing that matters: the Velocity screenshot, the mark,
   the caption marker. The owner struck it from the hero (2026-10-18), so the hero carries none. */

@font-face {
  font-family: "Inter Tight";
  src: url(fonts/inter-tight-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #033e5c;
  --navy-2: #022f47;
  --sky: #3293d7;
  --sky-lt: #7cc2f2;
  /* astraholding.uk's #3293d7 is 3.3:1 on white; small blue text uses this */
  --sky-ink: #1f6fa8;
  --mist: #f2f5f7;
  --pale: #eaf4fb;
  --grey: #a4b9c4;
  --slate: #3d6378;
  --white: #fff;
  /* the pill's fill: Astra's sky blue, deepened until white text clears 4.5:1 */
  --pill: #2878b8;
  --pill-dk: #1f6fa8;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.22, 1, .36, 1);  /* long, soft landings: reveals, the FAQ, the menu */

  /* astraholding.uk, read at 390 and 1440; it keeps growing past 1440 for the 2560 screen */
  /* 390 → 1440: h1 46.4 → 85.1, h2 34.2 → 71.3, h3 20.1 → 26.4, body 17.0 → 21.2, small 15.0 → 17.7.
     The phone end is markups.ai's 390 scale (h1 and h2 shared by five of his builds), body slopesbio.com's,
     small astraholding.uk's; the 1440 end is astraholding.uk's, as before. */
  --fs-h1: clamp(40px, calc(31.997px + 3.6891vw), 116px);
  --fs-h2: clamp(30px, calc(20.463px + 3.5302vw), 96px);
  --fs-h3: clamp(18px, calc(17.705px + .6016vw), 31px);
  --fs-body: clamp(16px, calc(15.465px + .3968vw), 23.5px);
  --fs-lead: clamp(18px, calc(17.938px + .2821vw), 22px);
  --fs-small: clamp(14px, calc(13.97px + .2608vw), 18.5px);
  --fs-nav: 17.728px;

  --g: clamp(24px, 4vw, 102px);
  --wrap: min(100% - 2 * var(--g), 1800px);
  --head: clamp(64px, 6.6vw, 112px);
  --pad: clamp(64px, 7.4vw, 150px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--fs-body)/1.5 "Inter Tight", system-ui, sans-serif; color: var(--navy); background: var(--white); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--white); color: var(--navy); padding: 12px 18px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* type */
h1 { font-weight: 500; font-size: var(--fs-h1); line-height: 1.01; letter-spacing: -.01em; }
h2 { font-weight: 500; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.01em; }
h3 { font-weight: 500; font-size: var(--fs-h3); line-height: 1.17; }
h1, h2, h3, summary { text-wrap: balance; }
p, figcaption { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.21; }
.small { font-size: var(--fs-small); }
.head-c { text-align: center; }

/* the button: markups.ai's pill with a white disc; on hover the disc runs to the far end and the label steps
   left into the space it left. The two paddings swap, so the pill keeps its width. */
.btn {
  --disc: clamp(40px, 2.78vw, 52px);
  --edge: clamp(24px, 1.67vw, 32px);
  --lane: calc(6px + var(--disc) + 14px);
  display: inline-flex; align-items: center; min-height: calc(var(--disc) + 12px);
  padding: 6px var(--edge) 6px var(--lane); border-radius: 999px; border: 0;
  background: var(--pill); color: var(--white);
  font-size: clamp(16px, 1.11vw, 20px); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  position: relative; transition: background-color .3s var(--ease), padding .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: var(--disc); height: var(--disc); margin-top: calc(var(--disc) / -2);
  border-radius: 50%; background: var(--white);
  transition: left .45s var(--ease);
}
.btn::after {
  content: ""; position: absolute; left: calc(6px + var(--disc) / 2 - 5px); top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid var(--pill); border-right: 2px solid var(--pill); transform: rotate(45deg);
  transition: left .45s var(--ease);
}
.btn:focus-visible, .btn.go { background: var(--pill-dk); padding-left: var(--edge); padding-right: var(--lane); }
.btn:focus-visible::before, .btn.go::before { left: calc(100% - 6px - var(--disc)); }
.btn:focus-visible::after, .btn.go::after { left: calc(100% - 6px - var(--disc) / 2 - 5px); }
/* :hover is for a mouse only, since a phone keeps a tapped link "hovered"; on a touch screen site.js adds .go
   on tap, lets the disc run, then follows the link */
@media (hover: hover) {
  .btn:hover { background: var(--pill-dk); padding-left: var(--edge); padding-right: var(--lane); }
  .btn:hover::before { left: calc(100% - 6px - var(--disc)); }
  .btn:hover::after { left: calc(100% - 6px - var(--disc) / 2 - 5px); }
}

/* astraholding.uk's text link: blue, underlined */
.tlink { display: inline-block; color: var(--sky-ink); font-weight: 400; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 14px 4px; transition: opacity .3s var(--ease); }
.tlink:hover { opacity: .7; }
.on-dark .tlink { color: var(--sky-lt); }
.copy { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 12px 0 3px; min-height: 44px; color: var(--navy); cursor: pointer; font-size: var(--fs-body); font-weight: 400; line-height: 1.5; transition: opacity .3s var(--ease); }
.copy:hover { opacity: .7; }
.copy[data-done] { border-bottom-color: transparent; }

/* the mark: the clearing at its smallest */
.mark { display: inline-block; flex: none; width: .78em; height: .78em; border: 2px solid var(--sky-lt); position: relative; }
.mark::after { content: ""; position: absolute; inset: 3px; background: var(--sky-lt); opacity: .35; }

/* header: astraholding.uk's nav row, transparent over the photograph with a hairline under it */
/* static, like his: it lies over the hero and scrolls away with it */
.site-head { height: var(--head); margin-bottom: calc(-1 * var(--head)); color: var(--white); }
.site-head .scrim { position: relative; z-index: 50; background-image: linear-gradient(rgba(3, 30, 46, .5), rgba(3, 30, 46, .18)); border-bottom: 1px solid rgba(255, 255, 255, .28); }
.page-light .site-head .scrim { background: var(--navy); border-bottom-color: transparent; }
.bar { width: var(--wrap); margin-inline: auto; height: calc(var(--head) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(15px, 1.25vw, 22px); font-weight: 600; text-transform: uppercase; letter-spacing: .28em; text-decoration: none; white-space: nowrap; }
#sitenav ul { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 48px); font-size: var(--fs-nav); }
#sitenav a { text-decoration: none; transition: opacity .1s var(--ease); }
#sitenav a:hover { opacity: .5; transition-duration: .5s; }
#sitenav .contact a { display: inline-block; background: rgba(242, 245, 247, .3); border-radius: 999px; padding: 13px 30px; }
#sitenav .contact a:hover { opacity: 1; background: rgba(242, 245, 247, .55); }
.page-light #sitenav .contact a { background: rgba(242, 245, 247, .16); }
.page-light #sitenav .contact a:hover { background: rgba(242, 245, 247, .28); }
#sitenav .menu-only { display: none; }
.navtoggle { display: none; }

/* hero */
.hero { position: relative; height: min(100svh, 62.5vw); min-height: 640px; color: var(--white); overflow: hidden; background: #01202f; }
.hero > picture img, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 30, 46, .3), rgba(3, 30, 46, 0) 65%), linear-gradient(180deg, rgba(3, 30, 46, .78) 0%, rgba(3, 30, 46, .5) 50%, rgba(3, 30, 46, .35) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--head) + clamp(72px, 9.6vw, 190px)); }
.hero h1 { max-width: 11.6em; }
.hero h1 span, .on-dark h2 span { color: var(--sky-lt); }
.hero .lede { max-width: 22em; margin-top: 1.1em; }
.hero .btn { margin-top: 2em; }

/* the clearing: a framed window drawn round the one thing that matters on a screenshot */
.clear { position: absolute; z-index: 1; pointer-events: none; border: 2px solid var(--sky-lt); box-shadow: 0 0 0 1px rgba(3, 30, 46, .6); }

/* sections */
.band { padding-block: var(--pad); }
.head-c h2 { max-width: 20em; margin-inline: auto; }
.lead.center { max-width: 40em; margin-inline: auto; }
.on-dark { background: var(--navy); color: var(--white); }
.on-mist { background: var(--mist); }

/* scope: artorius.com's light square cards, a photograph on top, a title and one line */
.scope { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: clamp(48px, 5vw, 96px); }
.scard { grid-column: span 2; background: var(--mist); padding: 22px; }
.scard.wide { grid-column: span 3; }
.scard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scard .txt { padding: 20px 4px 4px; }
.scard p { margin-top: .35em; color: var(--slate); font-size: var(--fs-small); }

/* artorius.com's strip of tall photographs */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 5vw, 96px); }
.step { position: relative; aspect-ratio: 239 / 420; overflow: hidden; color: var(--white); }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 30, 46, .25), rgba(3, 30, 46, .82)); }
.step .txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(18px, 1.8vw, 32px); }
.step h3 { font-size: var(--fs-h3); }
.step p { margin-top: .45em; font-size: var(--fs-small); color: rgba(255, 255, 255, .88); }

/* a short ask, centred, on the mist ground */
.ask { padding-block: clamp(64px, 6.4vw, 120px); text-align: center; }
.ask h2 { max-width: 14em; margin-inline: auto; }
.ask .btn { margin-top: 40px; }

/* the work: a framed screenshot with its clearing round the feature it names */
.shot { position: relative; margin: clamp(48px, 5vw, 96px) auto 0; overflow: hidden; box-shadow: 0 30px 80px rgba(3, 40, 60, .22); }
.shot img { width: 100%; }
.clear-replay { left: 13.6%; top: 85.4%; width: 73.6%; height: 10.6%; }
.clear-prov { left: 87.2%; top: 13%; width: 12.4%; height: 11%; }
.shot-cap { margin: 18px auto 0; display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: var(--fs-small); }
.shot-cap .mark { border-color: var(--sky); font-size: 18px; }
.shot-cap .mark::after { background: var(--sky); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px auto 0; }
.pair figure { position: relative; overflow: hidden; }
.pair img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pair figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--slate); }
.center { text-align: center; margin-top: clamp(32px, 3vw, 56px); }

/* flo-corp.com's numbers: large numerals, label under, hairline dividers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1240px; margin-inline: auto; text-align: center; }
.stats li { padding: 8px 20px; }
.stats li + li { border-left: 1px solid rgba(3, 62, 92, .2); }
.stats b { display: block; font-weight: 500; font-size: var(--fs-h1); line-height: 1.01; letter-spacing: -.01em; }
.stats li > span { display: block; margin-top: .6em; color: var(--slate); }

/* bands laid on a photograph: misty (light) or hazed (dark) */
.photo-band { position: relative; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(242, 245, 247, .84); }
.photo-band.on-dark::before { background: rgba(3, 30, 46, .8); }
.photo-band > .wrap { position: relative; z-index: 2; }
.photo-band.on-dark .stats li > span { color: rgba(255, 255, 255, .85); }
.photo-band.on-dark .stats li + li { border-color: rgba(255, 255, 255, .25); }

/* NET: one line and a link */
.net { padding-top: 0; }
.net .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 14px 32px; text-align: center; padding-top: clamp(32px, 3vw, 56px); border-top: 1px solid rgba(3, 62, 92, .14); }
.net p { line-height: 1.2; }
.net .tlink { padding-block: 16px 6px; line-height: 1.2; }
.net p, .net .tlink { font-size: var(--fs-lead); }
.net img { width: 56px; height: 56px; border-radius: 12px; align-self: center; }
.net p { font-size: var(--fs-lead); }

/* FAQ: astraholding.uk's rows, opened in place */
.faq { max-width: 1100px; margin: clamp(48px, 5vw, 96px) auto 0; border-top: 1px solid rgba(3, 62, 92, .2); }
.faq details { border-bottom: 1px solid rgba(3, 62, 92, .2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(18px, 1.8vw, 30px); font-size: var(--fs-h3); font-weight: 500; line-height: 1.17; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 44px; height: 44px; background: var(--sky); position: relative; transition: background-color .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--white); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
/* navy while open, sky again once closed; hover only with a mouse, because a phone keeps a tapped row "hovered" */
.faq details[open] summary i { background: var(--navy); }
.faq .a { max-width: 44em; color: var(--slate); }
.faq .a > :last-child { padding-bottom: clamp(20px, 2vw, 32px); }
.faq details.anim .a { overflow: hidden; }
/* closing: the toggle turns back at once, while the answer is still sliding shut */
.faq details.closing summary i { background: var(--sky); }
.faq details.closing summary i::after { transform: rotate(90deg); }
/* after .closing, so a row under the mouse stays dark while it shuts */
@media (hover: hover) { .faq details summary:hover i { background: var(--navy); } }

/* dicksmedia.com's closing photograph under a flat scrim, here a light one so the pill holds its edge */
.close { position: relative; color: var(--navy); text-align: center; overflow: hidden; background: var(--mist); }
.close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(242, 245, 247, .74); }
.close .wrap { position: relative; z-index: 2; padding-block: clamp(110px, 12.5vw, 250px); }
.close h2 { max-width: 16em; margin-inline: auto; }
.close .acts { margin-top: 1.8em; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px; }
.close .lead { margin-top: .9em; color: var(--slate); }
.close .addr { margin-top: 1.4em; font-size: var(--fs-lead); }
.close .addr a { display: inline-block; text-decoration: none; border-bottom: 1px solid rgba(3, 62, 92, .45); padding-block: 12px 3px; }

/* footer: slopesbio.com's flat band, closing line, link columns, hairline, legal row */
.site-foot { background: var(--navy); color: var(--white); padding-block: clamp(56px, 5.5vw, 100px) 32px; font-size: var(--fs-small); }
.site-foot .top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-foot .wordmark { margin-bottom: 14px; }
.site-foot p { color: var(--grey); max-width: 26em; }
.site-foot h4 { margin: 0 0 12px; font-size: var(--fs-small); font-weight: 400; color: var(--grey); }
.site-foot li a { display: inline-block; padding-block: 11px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1px no-repeat; transition: background-size .2s var(--ease); }
.site-foot li a:hover { background-size: 100% 1px; }
.site-foot .legal { margin-top: clamp(40px, 4vw, 72px); padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--grey); }
.site-foot .legal a { text-decoration: none; padding-block: 12px; }
.site-foot .legal a:hover { text-decoration: underline; }

/* inner pages */
.page-hero { background: var(--mist); padding-top: calc(var(--head) + clamp(64px, 7vw, 140px)); }
.page-hero .app-mark { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 28px; }
.page-hero h1 span { color: var(--sky); }
.page-hero .lede { color: var(--slate); }
.page-hero h1 { max-width: 12em; }
.page-hero .lede { max-width: 30em; margin-top: 1em; }
.page-hero .acts { margin-top: 2em; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.page-hero .shot { margin-top: clamp(56px, 5.5vw, 100px); margin-bottom: calc(-1 * clamp(80px, 9vw, 180px)); }
.page-hero + .band { padding-top: calc(var(--pad) + clamp(80px, 9vw, 180px)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.split p + p, .split h2 + p { margin-top: 1em; }
.split p { color: var(--slate); }
.on-dark .split p { color: rgba(255, 255, 255, .85); }
.split figure img { width: 100%; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 5vw, 96px); }
.four figure { overflow: hidden; }
.four img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.four h3 { margin-top: 18px; }
.four p { margin-top: .35em; color: var(--slate); font-size: var(--fs-small); }
/* artorius.com's card: light, square, 20px apart; one row, then two, then one column */
.ftiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 5vw, 96px); }
.ftiles li { background: #fdfdfd; color: var(--navy); padding: 26px; }
.ftiles p, .on-dark .ftiles p { margin-top: .35em; font-size: var(--fs-small); color: var(--slate); }
/* icons drawn for this site: the clearing's square in sky, the subject in navy, one 1.75 stroke */
.ico { display: block; width: 64px; height: 64px; margin-bottom: 26px; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { stroke: var(--sky); fill: var(--pale); }
.ico .s { stroke: var(--navy); }
@media (max-width: 1100px) { .ftiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftiles { grid-template-columns: 1fr; gap: 12px; } .ftiles li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; padding: 20px; } .ftiles .ico { grid-row: span 2; margin-bottom: 0; } .ftiles p { margin-top: .15em; } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: clamp(40px, 4vw, 72px) auto 0; }
.chips li { border: 1px solid rgba(3, 62, 92, .25); padding: 8px 18px; font-size: var(--fs-small); }
.legal-page { padding-top: calc(var(--head) + clamp(56px, 6vw, 120px)); }
.prose { max-width: 760px; }
.prose h1 { font-size: var(--fs-h2); line-height: 1.05; }
.prose h2 { font-size: var(--fs-h3); line-height: 1.17; margin-top: 1.8em; }
.prose p { margin-top: .9em; color: var(--slate); }
.prose a:not(.btn) { display: inline-block; color: var(--sky-ink); padding-block: 11px; margin-block: -11px; }
.nf-acts { margin-top: 2em; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* reveal: fade-up, 150ms stagger, set by site.js; visible without it. Long and soft (owner, 2026-10-18: "make website smoother") */
.reveal .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
  *::before, *::after { transition-duration: .01ms !important; }
}

/* below 960 the nav folds into a full-screen menu (assets/patterns/mobile-menu.html) */
@media (max-width: 960px) {
  .navtoggle { display: inline-grid; place-items: center; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; }
  .navtoggle i, .navtoggle i::before, .navtoggle i::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .3s var(--ease); }
  .navtoggle i { position: relative; }
  .navtoggle i::before, .navtoggle i::after { content: ""; position: absolute; left: 0; }
  .navtoggle i::before { top: -7px; }
  .navtoggle i::after { top: 7px; }
  .nav-open .navtoggle i { background-color: transparent; }
  .nav-open .navtoggle i::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .navtoggle i::after { transform: translateY(-7px) rotate(-45deg); }
  .wordmark { position: relative; z-index: 2; }
  #sitenav { position: fixed; inset: 0; background: var(--navy); padding: calc(var(--head) + 36px) var(--g) 40px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  .nav-open #sitenav { opacity: 1; visibility: visible; transition-delay: 0s; }
  #sitenav ul { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 28px; }
  #sitenav li a { display: block; padding-block: 8px; }
  #sitenav li { opacity: 0; transform: translateY(14px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-open #sitenav li { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  .nav-open #sitenav li:nth-child(2) { transition-delay: .05s; }
  .nav-open #sitenav li:nth-child(3) { transition-delay: .1s; }
  .nav-open #sitenav li:nth-child(4) { transition-delay: .15s; }
  .nav-open #sitenav li:nth-child(5) { transition-delay: .2s; }
  .nav-open #sitenav li:nth-child(n+6) { transition-delay: .25s; }
  #sitenav .contact { margin-top: 24px; }
  #sitenav .contact a { display: inline-flex; font-size: 16px; padding: 16px 32px; }
  #sitenav .menu-only { display: block; margin-top: 18px; font-size: 16px; color: var(--grey); }
  .nav-open { overflow: hidden; }
  .split { grid-template-columns: 1fr; }
  .four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* phones: the words sit low over the dark ridges and the fog shows above them (owner, 2026-10-18) */
  .hero { height: min(100svh, 216vw); min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; }
  .page-hero { min-height: min(100svh, 216vw); }
  .hero .wrap { padding-top: calc(var(--head) + 40px); padding-bottom: clamp(48px, 8svh, 80px); }
  .hero::before { background: linear-gradient(180deg, rgba(3, 30, 46, .5) 0%, rgba(3, 30, 46, .2) 30%, rgba(3, 30, 46, .55) 55%, rgba(3, 30, 46, .88) 100%); }
  /* phone: one rhythm. 24px gutters, 72px bands, 40px from a heading to its content, 12px between cards */
  :root { --pad: 72px; }
  .wordmark { letter-spacing: .24em; }
  .scope, .strip, .shot, .faq, .four, .ftiles { margin-top: 40px; }
  .scope { grid-template-columns: 1fr; gap: 12px; }
  .scard, .scard.wide { grid-column: auto; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 20px; }
  .scard img { aspect-ratio: 1; }
  .scard .txt { padding: 0; }
  .scard p { margin-top: .2em; }
  .strip { grid-template-columns: 1fr; gap: 12px; }
  .step { aspect-ratio: 16 / 9; }
  .step .txt { padding: 18px 20px; }
  .step p { margin-top: .2em; }
  .ask { padding-block: 64px; }
  .ask .btn { margin-top: 28px; }
  .net { padding-bottom: 64px; }
  .net .wrap { padding-top: 32px; }
  .close .wrap { padding-block: 96px; }
  .site-foot { padding-top: 56px; }
  .pair { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid rgba(3, 62, 92, .2); }
  .stats li { display: flex; align-items: center; gap: 18px; padding: 14px 0; text-align: left; }
  .stats b { flex: none; min-width: 3.1em; }
  .stats li > span { flex: 1; min-width: 0; }
  .stats li > span { margin-top: 0; }
  .site-foot .top { grid-template-columns: 1fr 1fr; }
  .site-foot .top > div:first-child { grid-column: 1 / -1; }
  .four { grid-template-columns: 1fr 1fr; gap: 14px; }
  .four h3 { margin-top: 12px; }
  .four p { font-size: 15px; }
}

@media (max-width: 420px) {
  .stats li { display: block; text-align: center; }
  .stats li > span { margin-top: .35em; }
}

/* a phone held sideways: the first screen still ends in the pill */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { height: auto; min-height: 100svh; }
  .hero .wrap { padding-top: calc(var(--head) + 20px); padding-bottom: 28px; }
  .hero h1 { font-size: min(var(--fs-h1), 11vh); }
  .hero .lede { margin-top: .6em; }
  .hero .btn { margin-top: 1em; }
}

/* smoother: pages cross-fade into each other and late images fade in instead of popping. In-page links glide from
   site.js, not from scroll-behavior:smooth, which would also slow every scripted scrollTo (and stranded the reveals
   under the pre-flight's scroll pass). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }
}
.reveal img.wait { opacity: 0; }
.reveal img.wait, .reveal img.shown { transition: opacity .6s var(--ease); }
