/* Tundra Materials. One stylesheet for every page.
   Layout: liminal spaces outside, printed paper inside. An empty plain runs into the mist under
   FOUNDATION; About and Careers are
   plain paper; security is a plain dark sheet. Foundation itself is told on paper with film grain, scan lines, a
   drafting grid and ink drawings; the hardware waits in a dark room. Square corners, light tight
   type, one blue action, one orange mark. */
/* Inter, for the wordmark, is served from this site (assets/fonts, SIL Open Font License), cut down to the letters of "tundra". */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-tundra.woff2") format("woff2"); }
:root {
  --void: #00050a;       /* type on paper */
  --paper: #e2e0df;      /* printed paper */
  --stone: #2a2119;      /* type over the warm haze */
  --sand: #d6c3a6;       /* the plain, on phones */
  --halo: #d6eaff;       /* type on dark */
  --mist: rgba(0, 5, 10, 0.62);    /* quiet type on paper */
  --dusk: rgba(42, 33, 25, 0.7);   /* quiet type over the haze */
  --blue: #2440b0;       /* small accents: risograph blue, 6.55:1 on paper */
  --action: #00050a;     /* every button: ink on light ground (15.6:1 on paper), frost on dark */
  --action-dark: #eef2f6;
  --riso: #2440b0;       /* risograph ink, for the stations */
  --orange: #ff4000;     /* one mark per view */
  --rule: rgba(0, 5, 10, 0.16);

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --brand: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* the wordmark, as on tundralabs.org */
  --narrow: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 3.4vw, 48px);
  --sec: clamp(80px, 10vw, 160px);
  --paper-bg: linear-gradient(rgba(226, 224, 223, 0.3), rgba(226, 224, 223, 0.3)), url("img/paper.webp") 0 0 / 256px 256px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background: var(--paper-bg), var(--paper);
  color: var(--void);
  font: 400 1.0625rem/1.5 var(--sans);
  letter-spacing: -0.02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #e4ddd2; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--void); outline-offset: 3px; }
.nav.on-dark :focus-visible, [data-ink="light"] :focus-visible, .foot.dark :focus-visible { outline-color: var(--halo); }
.skip { position: absolute; left: max(12px, env(safe-area-inset-left, 0px)); top: -80px; z-index: 100; padding: 12px 16px; background: var(--void); color: #fff; font-weight: 500; text-decoration: none; transition: top 0.15s; }
.skip:focus { top: 12px; outline-color: var(--orange); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* ---------- texture: film grain over everything, flickering like film ---------- */
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(1) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 14% { transform: translate(-3%, 2%); } 28% { transform: translate(2%, -4%); } 42% { transform: translate(-4%, -1%); } 57% { transform: translate(3%, 3%); } 71% { transform: translate(-1%, 4%); } 85% { transform: translate(4%, -2%); } }
.scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.scan i { position: absolute; inset: 0; display: block; }
.scan .drift { height: calc(100% + 4px); opacity: 0.75; background-image: repeating-linear-gradient(rgba(210, 237, 255, 0.03) 0 1px, transparent 1px 4px); animation: drift 1.5s linear infinite; }
.scan .sweep { opacity: 0.6; background-image: repeating-linear-gradient(rgba(255, 244, 228, 0.14) 0 1px, transparent 1px 4px); -webkit-mask-image: linear-gradient(transparent 34%, #000 50%, transparent 66%); mask-image: linear-gradient(transparent 34%, #000 50%, transparent 66%); animation: sweep 10s linear -2.5s infinite; }
.scan.ink .drift { background-image: repeating-linear-gradient(rgba(0, 5, 10, 0.06) 0 1px, transparent 1px 4px); }
.scan.warm .drift { background-image: repeating-linear-gradient(rgba(60, 40, 20, 0.05) 0 1px, transparent 1px 4px); }
@keyframes drift { to { transform: translateY(-4px); } }
@keyframes sweep { from { transform: translateY(100%); } to { transform: translateY(-100%); } }

/* ---------- type ---------- */
.cap { font: 400 0.9375rem/1.25 var(--narrow); text-transform: uppercase; letter-spacing: 0; }
.cap-s { font: 500 0.875rem/1.25 var(--narrow); text-transform: uppercase; letter-spacing: 0.02em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--orange); }
.h1 { font-size: clamp(2.75rem, 6.4vw, 6rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.055em; text-wrap: balance; }
.h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; }
.h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; text-wrap: balance; }
.p { color: var(--mist); max-width: 36ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.45; letter-spacing: -0.02em; text-wrap: pretty; }

/* ---------- actions ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 0 18px; background: var(--action); color: #fff; text-decoration: none; font: 500 1.0625rem/1 var(--sans); letter-spacing: -0.02em; border: 0; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.btn:hover { background: transparent; color: var(--void); box-shadow: inset 0 0 0 1.5px var(--void); }
.btn svg { width: 22px; height: 22px; flex: none; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(4px); }
.btn.xl { min-height: 64px; padding: 0 26px; font-size: clamp(1.5rem, 2.2vw, 2rem); gap: 44px; }
.btn.line { background: transparent; color: var(--void); box-shadow: inset 0 0 0 1px var(--void); }
.btn.line:hover { background: var(--void); color: var(--paper); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; text-decoration: none; font: 400 1.0625rem/1 var(--narrow); text-transform: uppercase; }
.link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.link:hover svg { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border: 1px solid var(--blue); color: var(--blue); font: 400 1.0625rem/1 var(--narrow); text-transform: uppercase; }
.chips svg { width: 17px; height: 17px; flex: none; }

/* ---------- navigation: three links, the mark in the middle, one button ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: 68px; margin-bottom: -68px; color: var(--void); transition: color 0.25s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); pointer-events: none; }
.nav.on-dark { color: #fff; }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 100%; padding-inline: clamp(16px, 2.2vw, 32px); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 28px; font: 500 1.25rem/1 var(--brand); letter-spacing: -0.025em; text-decoration: none; text-transform: none; }
.nav .logo { justify-self: center; }
.logo svg { width: 22px; height: 22px; flex: none; }
.nav-links { display: flex; gap: clamp(16px, 1.7vw, 26px); font-size: 0.96875rem; font-weight: 450; letter-spacing: -0.015em; }
.nav-links a { position: relative; padding: 6px 0; text-decoration: none; opacity: 0.78; transition: opacity 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; }
.nav-r { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.book-sm { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; background: var(--void); color: #fff; text-decoration: none; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.015em; transition: background 0.15s, color 0.15s; }
.book-sm:hover { background: transparent; color: var(--void); box-shadow: inset 0 0 0 1.5px var(--void); }
.nav.on-dark .book-sm { background: #fff; color: var(--void); }
.nav.on-dark .book-sm:hover { background: var(--blue); color: #fff; }

/* ---------- the booking button: plain blue, the words and nothing else ---------- */
.book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--action); color: #fff; text-decoration: none; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.book:hover { background: transparent; color: var(--void); box-shadow: inset 0 0 0 1.5px var(--void); }
/* on the dark sections the button turns frost, ink on light (18.2:1) */
.secure .book, .secure-band .book, .peek .btn, .peek .book { background: var(--action-dark); color: var(--void); }
.secure .book:hover, .secure-band .book:hover, .peek .btn:hover, .peek .book:hover { background: transparent; color: var(--action-dark); box-shadow: inset 0 0 0 1.5px var(--action-dark); }
.book.lg { min-height: 56px; padding: 0 32px; font-size: 1.125rem; }
.book.block { display: flex; width: 100%; }

/* ---------- home 1. the hero: an empty plain running into the mist, under FOUNDATION ---------- */
.hero { position: relative; height: clamp(660px, 100svh, 1020px); overflow: hidden; background: #e4ddd2; color: var(--stone); }
.stagebox { position: absolute; inset: 0; }
.stagebox .bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; transform-origin: 18% 70%; }
.js .stagebox .bd { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes settle { from { transform: scale(1.06); filter: blur(4px) brightness(1.08); } }

.letters { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(84px, 11%, 128px); }
.letters .wrap { display: flex; justify-content: space-between; font-size: clamp(2rem, 7.2vw, 7.75rem); font-weight: 300; font-stretch: 112%; line-height: 0.9; color: rgba(38, 32, 26, 0.86); }
.letters span span { display: block; animation: letter 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.letters span span:nth-child(2) { animation-delay: 0.06s; } .letters span span:nth-child(3) { animation-delay: 0.12s; }
.letters span span:nth-child(4) { animation-delay: 0.18s; } .letters span span:nth-child(5) { animation-delay: 0.24s; } .letters span span:nth-child(6) { animation-delay: 0.3s; }
.letters span span:nth-child(7) { animation-delay: 0.36s; } .letters span span:nth-child(8) { animation-delay: 0.42s; } .letters span span:nth-child(9) { animation-delay: 0.48s; } .letters span span:nth-child(10) { animation-delay: 0.54s; }
@keyframes letter { from { opacity: 0; filter: blur(12px); } }
.hud { position: absolute; z-index: 3; left: 0; right: 0; top: 34%; color: var(--dusk); }
.hud .wrap { display: flex; justify-content: space-between; gap: 16px; }
.hud span { display: flex; align-items: center; gap: 8px; }
.base { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(64px, 10%, 120px); color: var(--stone); }
.base .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px clamp(32px, 6vw, 120px); }
.base-in { display: grid; gap: clamp(14px, 1.6vw, 22px); justify-items: start; width: max-content; max-width: 100%; }

.pillars { display: flex; flex-wrap: wrap; align-items: center; color: var(--stone); font-size: clamp(1.125rem, 1.85vw, 1.75rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; }
.pillars li { display: flex; align-items: center; }
.pillars li + li::before { content: ""; width: 1px; height: 0.9em; margin-inline: clamp(14px, 1.6vw, 22px); background: currentColor; opacity: 0.45; }

.base .lede { font-size: var(--lede-fs, clamp(2rem, 4vw, 4rem)); font-weight: 400; line-height: 1; letter-spacing: -0.055em; white-space: nowrap; }

.act { display: flex; align-items: center; gap: 18px; justify-self: end; }
.act-note { order: -1; }
.act-note { font-size: 1rem; color: var(--stone); }

/* ---------- home 2. Foundation: everything but the cutting ---------- */
/* the trust row: it starts in the hero's own ground colour and settles into the page, grain and all */
.trust { position: relative; overflow: hidden; color: var(--void); }
/* the hero's ground, mirrored, so the band's first row is the picture's last; it dissolves into the page */
.trust::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(660px, 100svh, 1020px); pointer-events: none; background: repeating-linear-gradient(rgba(60, 40, 20, 0.05) 0 1px, transparent 1px 4px), url("img/liminal-hero.webp") 28% 50% / cover no-repeat; transform: scaleY(-1); -webkit-mask-image: linear-gradient(to top, #000 0px, rgba(0, 0, 0, 0.96) 60px, rgba(0, 0, 0, 0.84) 120px, rgba(0, 0, 0, 0.64) 180px, rgba(0, 0, 0, 0.4) 240px, rgba(0, 0, 0, 0.18) 300px, rgba(0, 0, 0, 0.05) 360px, transparent 420px); mask-image: linear-gradient(to top, #000 0px, rgba(0, 0, 0, 0.96) 60px, rgba(0, 0, 0, 0.84) 120px, rgba(0, 0, 0, 0.64) 180px, rgba(0, 0, 0, 0.4) 240px, rgba(0, 0, 0, 0.18) 300px, rgba(0, 0, 0, 0.05) 360px, transparent 420px); }
.trust::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.16; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px; -webkit-mask-image: linear-gradient(transparent, #000 45%, #000 60%, transparent); mask-image: linear-gradient(transparent, #000 45%, #000 60%, transparent); }
.trust .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px clamp(32px, 5vw, 80px); padding-block: clamp(28px, 3vw, 44px) clamp(220px, 22vw, 300px); }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-list li { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(0, 5, 10, 0.18); }
.trust-list .cap-s { color: rgba(0, 5, 10, 0.72); }
.trust-list b { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); font-weight: 450; letter-spacing: -0.025em; line-height: 1.2; }
.trust-more { white-space: nowrap; padding-bottom: 2px; }
.intro { padding-block: var(--sec); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro-say { display: grid; gap: 24px; justify-items: start; max-width: 30rem; }
.product { display: grid; gap: 6px; }
.product b { font-size: clamp(2.75rem, 5vw, 4.5rem); font-weight: 300; letter-spacing: -0.06em; line-height: 0.9; }
.gallery { min-width: 0; width: min(100%, 500px, calc((100svh - 260px) * 626 / 640)); justify-self: end; }
.slides { position: relative; aspect-ratio: 626 / 640; overflow: hidden; border-radius: 2px; background: linear-gradient(#090c0d 0%, #181c24 43%, #586071 66%, #777e8d 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -40px rgba(0, 5, 10, 0.45); }
.slides::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.13; mix-blend-mode: screen; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 2.4vw, 30px); color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0s 0.6s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s, visibility 0s; }
.slide img { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: auto; }

.slide .cap { position: relative; display: flex; gap: 14px; color: rgba(255, 255, 255, 0.72); }
.slide .cap b { color: #fff; font-weight: 400; }
.slide .h3 { position: relative; grid-row: 3; max-width: 18ch; color: #fff; }

.ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.dots { display: flex; align-items: center; gap: 18px; color: var(--mist); font-variant-numeric: tabular-nums; }
.dots button { position: relative; width: 24px; height: 24px; margin: 0 -8px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(0, 5, 10, 0.4); transition: background 0.2s; }
.dots button[aria-current="true"]::before { background: var(--void); }
.arrows { display: flex; gap: 12px; }
.arrows button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--void); background: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.arrows button:hover { background: var(--void); color: var(--paper); border-color: var(--void); }
.arrows button.quiet { border-color: rgba(0, 5, 10, 0.55); color: rgba(0, 5, 10, 0.66); }
.arrows button.quiet:hover { background: none; color: var(--void); border-color: var(--void); }
.arrows svg { width: 20px; height: 20px; }

/* ---------- home 3. built in layers: the plates come apart, then an order walks down through them ---------- */
.layers { position: relative; height: 560vh; }
.layers-in { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: clamp(12px, 3vh, 32px); padding-block: clamp(84px, 11vh, 124px) clamp(24px, 5vh, 56px); }
.layers-in > .wrap { width: 100%; }
.layers-head { display: grid; gap: 14px; justify-items: start; }
.layers-head .p { max-width: 46ch; }
.layers-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: 0; height: 100%; }
.stage { position: relative; height: 100%; min-height: 0; }
.plates { position: absolute; left: 50%; top: 50%; height: min(96%, 34vw); aspect-ratio: 1400 / 900; transform: translate(-50%, -50%); }
.plate { position: absolute; inset: 0; will-change: transform; --show: 1; }
.plate:nth-child(1) { transform: translateY(-30%); z-index: 10; } .plate:nth-child(2) { transform: translateY(-18%); z-index: 9; } .plate:nth-child(3) { transform: translateY(-6%); z-index: 8; }
.plate:nth-child(4) { transform: translateY(6%); z-index: 7; } .plate:nth-child(5) { transform: translateY(18%); z-index: 6; } .plate:nth-child(6) { transform: translateY(30%); z-index: 5; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 18px 16px rgba(0, 5, 10, 0.16)); transition: opacity 0.3s; }
.plates.is-walking .plate:not(.is-hot) img { opacity: 0.8; }
.plate .tag { position: absolute; left: 61%; top: 57.5%; display: flex; align-items: center; gap: 10px; white-space: nowrap; opacity: var(--show); color: var(--mist); transition: color 0.2s; }
.plate .tag::before { content: ""; width: clamp(20px, 3vw, 48px); height: 1px; background: currentColor; opacity: 0.45; }
.plate .tag span { padding: 3px 6px; background: rgba(226, 224, 223, 0.86); }
.plate .tag b { font-weight: 500; }
.plate.is-hot .tag { color: var(--blue); }
.flow { position: relative; display: grid; align-content: start; align-self: center; }
.flow::before { content: ""; position: absolute; left: 4px; top: 22px; bottom: 22px; width: 1px; background: var(--rule); }
.flow li { position: relative; padding-left: 28px; }
.flow li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; background: var(--paper); border: 1px solid rgba(0, 5, 10, 0.35); transition: background 0.2s, border-color 0.2s; }
.flow li.is-done::before { background: rgba(0, 5, 10, 0.35); }
.flow li.is-on::before { background: var(--blue); border-color: var(--blue); }
.flow button { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; color: rgba(0, 5, 10, 0.66); font: 400 1.0625rem/1.2 var(--sans); letter-spacing: -0.02em; transition: color 0.2s, font-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), letter-spacing 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flow button b { font: 500 0.8125rem/1 var(--narrow); letter-spacing: 0.02em; }
.flow button:hover { color: var(--void); }
.flow li.is-on button { color: var(--void); font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.045em; }
.flow li.is-on button b { color: var(--blue); }
.flow-say { display: grid; grid-template-rows: 1fr; }
.js .flow-say { grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flow-say > dl { overflow: hidden; display: grid; gap: 0; }
.js .flow li.is-on .flow-say { grid-template-rows: 1fr; }
.flow-say dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 0; border-top: 1px solid var(--rule); }
.flow-say dl > div:last-child { margin-bottom: 14px; }
.flow-say dt { display: flex; align-items: center; gap: 8px; color: var(--mist); }
.flow-say dd { max-width: 40ch; font-size: 1.0625rem; line-height: 1.45; color: var(--void); text-wrap: pretty; }
.flow-say .you { border-top: 0; padding-top: 0; }
.flow-say .you dd { font-weight: 500; display: flex; gap: 8px; }
.flow-say .you dd::before { content: "\2192"; color: var(--blue); }
.ai { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border: 1px solid var(--blue); color: var(--blue); font: 600 0.6875rem/1 var(--narrow); letter-spacing: 0.04em; }

/* ---------- home 4. controlled data: a plain dark sheet of what's enforced ---------- */
.secure { position: relative; color: #eef2f6; background: #0c1117; }
.secure.page .h1 { color: #fff; max-width: 13ch; }
.sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border: 1px solid rgba(238, 242, 246, 0.24); }
.sets li { display: grid; gap: 4px; padding: 16px; border-bottom: 1px solid rgba(238, 242, 246, 0.12); }
.sets li:not(:nth-child(4n + 1)) { border-left: 1px solid rgba(238, 242, 246, 0.12); }
.sets li b { font: 500 1.125rem/1.2 var(--narrow); text-transform: uppercase; color: #fff; }
.sets li span { color: rgba(238, 242, 246, 0.7); font-size: 0.9375rem; line-height: 1.35; }

.sheet.dark { border-top-color: rgba(238, 242, 246, 0.4); }
.sheet.dark div { border-bottom-color: rgba(238, 242, 246, 0.14); }
.sheet.dark dt, .sheet.dark dd small { color: rgba(238, 242, 246, 0.62); }
.sheet.dark dd { color: #fff; }
body.dark-page { background: #0c1117; }
.secure-band { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 85% 0%, rgba(80, 110, 170, 0.16), transparent 60%), #0c1117; color: #eef2f6; }
.secure-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.14; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px; }
.secure-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 22px clamp(40px, 6vw, 110px); align-items: start; padding-block: clamp(80px, 10vw, 140px); }
.secure-band .h2 { color: #fff; max-width: 14ch; }
.band-r { display: grid; gap: 26px; }
.facts { border-top: 1px solid rgba(238, 242, 246, 0.22); }
.facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(238, 242, 246, 0.12); }
.facts li::before { content: ""; grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 2px; border: 1px solid rgba(238, 242, 246, 0.5); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.2l3 3 6-6.4' fill='none' stroke='%23eef2f6' stroke-width='1.4'/%3E%3C/svg%3E") center / 18px no-repeat; }
.facts b { font-weight: 500; font-size: 1.125rem; letter-spacing: -0.03em; color: #fff; }
.facts span { color: rgba(238, 242, 246, 0.72); font-size: 0.9375rem; line-height: 1.45; }
.secure-band .link { color: #fff; justify-self: start; }

/* ---------- home 5. stations, drawn in ink on a drafting grid ---------- */
.stations { position: relative; overflow: hidden; padding-block: var(--sec); }
.stations::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(36, 64, 176, 0.12) 1px, transparent 1px), linear-gradient(rgba(36, 64, 176, 0.12) 1px, transparent 1px); background-size: 180px 180px; background-position: center top; pointer-events: none; }
.stations .wrap { display: grid; justify-items: center; gap: clamp(28px, 3vw, 40px); }
.seg { position: relative; display: flex; padding: 4px; background: rgba(36, 64, 176, 0.1); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--riso); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.seg button { min-width: clamp(84px, 11vw, 150px); min-height: 36px; padding: 0 16px; border: 0; background: none; color: var(--riso); cursor: pointer; font: 400 1.0625rem/1 var(--narrow); text-transform: uppercase; transition: color 0.35s; }
.seg button { position: relative; z-index: 1; }
.seg button[aria-selected="true"] { color: #fff; }
.seg:not(.has-pill) button[aria-selected="true"] { background: var(--riso); }
.field { position: relative; width: 100%; max-width: 1240px; aspect-ratio: 1240 / 640; }
.field .core { position: absolute; left: 50%; top: 50%; width: 15%; transform: translate(-50%, -52%); }
.field .core img { width: 100%; filter: drop-shadow(0 30px 30px rgba(0, 5, 10, 0.2)); }
.st { position: absolute; width: 19%; display: grid; justify-items: center; gap: 10px; transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s; }
.js .st img, .js .st figcaption i { opacity: 0.4; filter: saturate(0.35); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s; }
.js .st figcaption { color: var(--mist); transition: color 0.5s; }
.st.is-on img, .st.is-on figcaption i { opacity: 1; filter: none; }
.st.is-on figcaption { color: var(--void); }
.st img { width: 100%; }
.st figcaption { display: flex; align-items: center; gap: 8px; color: var(--void); }
.st figcaption i { width: 12px; height: 12px; border: 1px solid var(--void); transition: background 0.5s, border-color 0.5s; }
.st.is-on { transform: translateY(-6px); }
.st.is-on figcaption i { background: var(--riso); border-color: var(--riso); }
.st.s1 { left: 1%; top: 4%; } .st.s2 { left: 21%; top: 42%; } .st.s3 { left: 3%; top: 62%; }
.st.s4 { right: 19%; top: 0; } .st.s5 { right: 1%; top: 32%; } .st.s6 { right: 17%; top: 62%; }
.field-say { text-align: center; display: grid; gap: 10px; justify-items: center; }
.field-say .p { max-width: 46ch; min-height: 2.9em; transition: opacity 0.25s; }
.field-say .p.is-out { opacity: 0; }

/* ---------- home 6. under the hood: a spec sheet ---------- */
.specs { padding-block: 0 var(--sec); }
.specs .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); padding-top: var(--sec); }
.specs .wrap::before { content: ""; position: absolute; top: 0; left: max(var(--gut), env(safe-area-inset-left, 0px)); right: max(var(--gut), env(safe-area-inset-right, 0px)); height: 1px; background: var(--rule); }
.specs-say { display: grid; gap: 22px; align-content: start; justify-items: start; }
.sheet { border-top: 1px solid var(--void); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--void); }
.stats > div { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px) clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); }
.stats > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.stats > div:nth-child(even) { padding-left: clamp(18px, 2.4vw, 32px); }
.stats dt { order: 2; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); font-weight: 500; letter-spacing: -0.03em; color: var(--void); }
.stats dd { order: 1; font-size: clamp(4rem, 7.5vw, 7rem); font-weight: 300; line-height: 0.85; letter-spacing: -0.065em; font-variant-numeric: tabular-nums; }
.stats p { order: 3; max-width: 34ch; color: var(--mist); font-size: 1rem; line-height: 1.45; }
.sheet div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.sheet dt { color: var(--mist); padding-top: 4px; }
.sheet dd { font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.04em; }
.sheet dd small { display: block; margin-top: 4px; font-size: 1rem; color: var(--mist); letter-spacing: -0.02em; }

/* ---------- a band that points to the hardware ---------- */
.teaser { border-top: 1px solid var(--void); border-bottom: 1px solid var(--void); }
.teaser .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 26px; }
.teaser p { display: flex; align-items: center; gap: 14px; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.04em; }
.teaser p span { display: inline-flex; align-items: center; gap: 8px; color: var(--void); }
.teaser p span::before { content: ""; width: 9px; height: 9px; background: var(--orange); }

/* ---------- the close: book a demo, over the plain again ---------- */
/* what it does for a shop: three outcomes, side by side, under one rule */
.value .wrap { display: grid; gap: clamp(36px, 4vw, 64px); padding-block: clamp(24px, 3vw, 48px) 0; }
.value-say { display: grid; gap: 18px; max-width: 52rem; }
.value-say .p { max-width: 44ch; color: var(--void); }
.value-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 56px); list-style: none; padding: 0; margin: 0; }
.value-list li { display: grid; align-content: start; gap: 14px; padding-top: 18px; border-top: 1px solid var(--void); }
.value-list .cap-s { color: var(--mist); }
.value-list .cap-s b { color: var(--void); font-weight: 500; margin-right: 6px; }
.value-list .p { max-width: 38ch; }
/* questions: plain answers, always open, for a reader and for the agents that read for them */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); padding-block: var(--sec); border-top: 1px solid var(--rule); }
.faq-say { display: grid; gap: 22px; align-content: start; justify-items: start; }
.faq-page .wrap { border-top: 0; padding-top: clamp(140px, 16vw, 200px); }
.faq-page .faq-say { position: sticky; top: 120px; }
.qas { display: grid; border-top: 1px solid var(--void); }
.qa { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px clamp(20px, 3vw, 48px); padding-block: clamp(20px, 2.2vw, 30px); border-bottom: 1px solid var(--rule); }
.qa .h3 { font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.25; }
.qa .p { max-width: 46ch; color: var(--void); }
.close { position: relative; overflow: hidden; color: var(--void); border-top: 1px solid var(--rule); }
.close-in { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px clamp(32px, 6vw, 110px); align-items: start; padding-block: var(--sec) clamp(64px, 8vw, 120px); }
.close-say { display: grid; gap: 18px; align-content: start; }
.close-say h2 { font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.06em; }
.close-say .p { color: var(--mist); max-width: 30ch; }
.panel { display: grid; gap: 20px; padding: clamp(24px, 2.6vw, 36px); background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(0, 5, 10, 0.12); color: var(--void); }
.panel-k { display: flex; align-items: center; gap: 8px; color: var(--void); }
.panel-k::before { content: ""; width: 9px; height: 9px; background: var(--orange); }
.panel-t { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.25; letter-spacing: -0.035em; text-wrap: balance; }

/* ---------- inner pages: About and Careers ---------- */
.band-img { position: relative; height: clamp(300px, 44vw, 640px); overflow: hidden; }
.band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.made { padding-block: 0 var(--sec); }
.made .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 110px); border-top: 1px solid var(--rule); padding-top: clamp(48px, 6vw, 88px); }
.made-say { display: grid; gap: 22px; justify-items: start; align-content: start; }
.made-tag { font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin-top: -10px; }
.made-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* the hardware, a sneak peek */
.peek { position: relative; overflow: hidden; background: #030303; color: #fff; min-height: clamp(640px, 100svh, 980px); display: grid; }
.peek > .bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(var(--lit, 1)); transition: filter 0.2s linear; }
.peek::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(3, 3, 3, 0.84) 0%, rgba(3, 3, 3, 0.42) 32%, rgba(3, 3, 3, 0) 52%); pointer-events: none; }
.peek .wrap { position: relative; z-index: 4; width: 100%; display: grid; align-content: center; padding-block: var(--sec); }
.peek-say { display: grid; gap: 22px; justify-items: start; max-width: 430px; }
.peek-say .eyebrow { color: var(--orange); }
.peek-say .p { color: rgba(255, 255, 255, 0.8); }

/* careers */
.roles { padding-block: clamp(56px, 7vw, 104px) var(--sec); }
.roles .wrap { display: grid; gap: 22px; }

/* ---------- About: one long post ---------- */
.post { padding-block: clamp(140px, 18vw, 210px) var(--sec); }
.post-head, .post-body { max-width: calc(46rem + 2 * var(--gut)); }
.post-head { display: grid; gap: 22px; }
.post-head .h1 { max-width: 17ch; }
.post-body { display: grid; gap: 22px; margin-top: clamp(40px, 5vw, 72px); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.6; letter-spacing: -0.015em; color: rgba(0, 5, 10, 0.82); }
.post-body .lead, .prose .lead { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.4; letter-spacing: -0.03em; color: var(--void); }
.post-body .h3 { margin-top: 18px; color: var(--void); }
.post-body a, .prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover, .prose a:hover { text-decoration-thickness: 2px; }
.pull { margin: 18px 0; padding: 26px 0 26px 28px; border-left: 3px solid var(--orange); }
.pull p { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1; letter-spacing: -0.055em; color: var(--void); }
.pull cite { display: block; margin-top: 12px; font: 500 0.8125rem/1.25 var(--narrow); font-style: normal; text-transform: uppercase; letter-spacing: 0.02em; color: var(--mist); }

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(140px, 18vw, 210px) var(--sec); }
.legal-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px clamp(40px, 6vw, 110px); align-items: start; }
.legal-head { grid-column: 1 / -1; display: grid; gap: 18px; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--void); }
.legal-date { color: var(--mist); }
.legal-toc { position: sticky; top: 96px; }
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--mist); font-size: 0.9375rem; }
.legal-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font: 500 0.8125rem/1.6 var(--narrow); }
.legal-toc a:hover { color: var(--void); }
.prose { grid-column: 2; display: grid; gap: 18px; max-width: 70ch; font-size: 1.0625rem; line-height: 1.6; letter-spacing: -0.012em; color: rgba(0, 5, 10, 0.82); }
.legal-in > .legal-head + .prose { grid-column: 1 / -1; margin-inline: 0; }
.prose .h3 { margin-top: 22px; color: var(--void); }
.prose ul { display: grid; gap: 8px; padding-left: 0; }
.prose ul li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.prose ul li::before { content: ""; width: 12px; height: 1px; margin-top: 0.8em; background: var(--void); }
.prose b { font-weight: 600; color: var(--void); }
.table { overflow-x: auto; border-top: 1px solid var(--void); }
.table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.table th { text-align: left; font: 500 0.8125rem/1.25 var(--narrow); text-transform: uppercase; letter-spacing: 0.02em; color: var(--mist); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.table td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.table td:first-child { color: var(--void); font-weight: 500; }

/* ---------- sign-up forms (the hardware waitlist, the careers list) ---------- */
.signup { display: grid; gap: 10px; max-width: 460px; }
.signup label { font: 500 0.8125rem/1.25 var(--narrow); text-transform: uppercase; letter-spacing: 0.02em; color: var(--mist); margin-top: 6px; }
.signup label span { text-transform: none; }
.signup input { min-height: 52px; padding: 0 14px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(0, 5, 10, 0.45); color: var(--void); font: 400 1.0625rem var(--sans); border-radius: 0; transition: border-color 0.15s, background 0.15s; }
.signup input:focus { border-color: var(--void); background: #fff; }
.signup input[aria-invalid="true"] { border-color: #b3261e; }
.signup .btn { margin-top: 8px; }
.signup-msg { min-height: 1.4em; color: var(--mist); }
.signup-msg.is-ok { color: var(--void); font-weight: 500; }
.signup-msg:focus { outline: none; }
.signup-note { font-size: 0.875rem; line-height: 1.45; color: var(--mist); }
.signup.is-done label, .signup.is-done input, .signup.is-done .btn { display: none; }

/* ---------- the footer on every page: the site, then the company and its legal links ---------- */
.foot { position: relative; color: var(--void); font-size: 0.9375rem; letter-spacing: -0.01em; background: linear-gradient(rgba(0, 5, 10, 0), rgba(0, 5, 10, 0.035) 70%); }
.js .foot-in { opacity: 0; transform: translateY(18px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .foot.is-in .foot-in { opacity: 1; transform: none; }
.foot-in { display: grid; gap: clamp(28px, 3.4vw, 44px); padding-block: clamp(72px, 8vw, 120px) max(clamp(36px, 4vw, 56px), env(safe-area-inset-bottom, 0px)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.foot-top .logo { font-size: 1.25rem; }
.foot-top .logo svg { width: 22px; height: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; color: inherit; transition: color 0.15s, opacity 0.15s; }
.foot-top nav a:hover { opacity: 0.6; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; color: var(--mist); font-size: 0.8125rem; }
.foot-legal nav { gap: 2px 0; }
.foot-legal nav a::before, .foot-legal p + nav::before { content: "\00b7"; padding-inline: 10px; color: var(--mist); }
.foot-legal p + nav::before, .foot-legal nav a:first-child::before { display: none; }
.foot-legal nav a:hover { color: var(--void); }
.foot.dark { background: linear-gradient(#0c1117 30%, #080b10); color: #eef2f6; }
.foot.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.foot.dark .foot-in { position: relative; z-index: 1; }

.foot.dark .foot-legal { color: rgba(238, 242, 246, 0.72); }
.foot.dark .foot-legal nav a::before { color: rgba(238, 242, 246, 0.5); }
.foot.dark .foot-legal nav a:hover { color: #fff; }

/* careers: no open roles yet */

/* security: what it takes to open a controlled drawing */
.gate { margin: 0; border: 1px solid rgba(238, 242, 246, 0.18); background: linear-gradient(rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); }
.gate figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(238, 242, 246, 0.14); color: rgba(238, 242, 246, 0.6); }
.gate ol { padding: 6px 18px; }
.gate li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(238, 242, 246, 0.08); }
.gate li:last-child { border-bottom: 0; }
.gate li i { width: 18px; height: 18px; margin-top: 2px; border: 1px solid #eef2f6; background: #eef2f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.2l3 3 6-6.4' fill='none' stroke='%2300050a' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat; transition: background-color 0.4s, border-color 0.4s, opacity 0.4s; }
.js .gate li:not(.is-on) i { background-color: transparent; background-image: none; border-color: rgba(238, 242, 246, 0.3); }
.gate li div { display: grid; gap: 2px; transition: opacity 0.4s; }
.js .gate li:not(.is-on) div { opacity: 0.5; }
.gate li b { font-weight: 400; font-size: 1.125rem; letter-spacing: -0.03em; color: #fff; }
.gate li span { font-size: 0.9375rem; color: rgba(238, 242, 246, 0.64); }

/* a plain footer for the inner pages */

/* ---------- narrower screens ---------- */
@media (max-width: 1060px) { .st { width: 22%; } }
@media (max-width: 899px) {
  .hero { height: auto; }
  .stagebox { position: relative; height: clamp(440px, 118vw, 640px); }
  .stagebox .bd { object-position: 22% 50%; }
  .hero::after { display: none; }
  .hud { top: 36%; }
  .hud .wrap span:last-child { display: none; }
  .base { position: relative; bottom: auto; background: linear-gradient(#cfc6b8, #d9d2c6); padding-block: 12px 48px; }
  .base .wrap { grid-template-columns: minmax(0, 1fr); }
  .act { justify-self: start; flex-wrap: wrap; }
  .act-note { order: 0; }
  .close-in, .secure-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .gallery { width: 100%; }
  .trust { background: linear-gradient(#d9d2c6, var(--paper)); }
  .trust::after { display: none; }
  .trust .wrap { grid-template-columns: minmax(0, 1fr); }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .value-list { grid-template-columns: minmax(0, 1fr); }
  .faq .wrap, .qa { grid-template-columns: minmax(0, 1fr); }
  .faq-page .faq-say { position: static; }
  .intro .wrap, .specs .wrap, .made .wrap, .legal-in { grid-template-columns: minmax(0, 1fr); }
  .sets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sets li:not(:nth-child(4n + 1)) { border-left: 0; }
  .sets li:nth-child(2n + 3) { border-left: 1px solid rgba(238, 242, 246, 0.12); }
  .layers-in { padding-top: 84px; }
  .layers-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; }
  .plates { height: min(96%, 58vw); }
  .js .flow li:not(.is-on) { display: none; }
  .js .flow::before { display: none; }
  .field { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .field .core { position: relative; left: auto; top: auto; transform: none; width: 40%; grid-column: 1 / -1; justify-self: center; }
  .st { position: relative; inset: auto !important; width: 100%; }
  .peek { display: block; min-height: 0; }
  .peek > .bd { position: relative; height: auto; aspect-ratio: 2400 / 1400; }
  .peek::after { inset: 0 0 auto; height: calc(100vw * 1400 / 2400); background: linear-gradient(rgba(3, 3, 3, 0) 70%, #030303); }
  .peek .wrap { padding-block: 8px var(--sec); }
  .peek-say { max-width: none; }
}
@media (max-width: 640px) {
  .base .lede { white-space: normal; font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .band-img img { object-position: 62% 58%; }
  .logo span { display: none; }
  .logo { min-width: 28px; justify-content: center; }
  .nav .wrap { grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav .logo { order: -1; justify-self: start; }
  .nav-links { gap: 14px; font-size: 0.9375rem; }
  .book-sm { height: 34px; padding: 0 11px; font-size: 0.875rem; }
  .book { width: 100%; }
  .hud { display: none; }
  .sets { grid-template-columns: minmax(0, 1fr); }
  .sets li:nth-child(2n + 3) { border-left: 0; }
  .sheet div { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div:nth-child(odd) { border-right: 0; }
  .stats > div:nth-child(even) { padding-left: 0; }
  .flow-say dl > div { grid-template-columns: minmax(0, 1fr); }
  .plates { height: min(96%, 62vw); }
  .plate .tag { left: 57.5%; gap: 6px; }
  .plate .tag::before { width: 12px; }
  .chips li { min-height: 34px; padding: 0 10px; font-size: 0.9375rem; }
  .layers { height: 480vh; }
  .legal-toc { position: static; }
  .table table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tr { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .table td { display: grid; gap: 2px; padding: 0; border: 0; }
  .table td::before { content: attr(data-label); font: 500 0.75rem/1.25 var(--narrow); text-transform: uppercase; letter-spacing: 0.02em; color: var(--mist); }
  .prose { grid-column: 1; }
}
/* moving between pages: the old page lifts away, the new one settles in, the nav stays put */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 0.26s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 0.52s cubic-bezier(0.2, 0.7, 0.2, 1) 0.06s both; }
::view-transition-group(site-nav) { animation-duration: 0.4s; }
/* the move to the sneak peek, like house lights going down: the page settles back into the dark, then the
   room comes up out of it. The room names itself by :target, so this runs only when you arrive at #hardware */
.peek:target { view-transition-name: peek; }
.veil { position: fixed; inset: 0; z-index: 39; background: #030303; opacity: 0; transition: opacity 0.34s cubic-bezier(0.4, 0, 0.6, 1); pointer-events: none; }
.veil.is-on { opacity: 1; }
html:has(.peek:target)::view-transition { background: #030303; }
html:has(.peek:target)::view-transition-old(root) { animation: vt-dim 0.2s linear both; }
html:has(.peek:target)::view-transition-new(root) { animation: vt-fade 0.5s ease 0.45s both; }
html:has(.peek:target)::view-transition-group(site-nav) { animation-duration: 0.3s; }
::view-transition-new(peek) { animation: vt-lights 1.3s cubic-bezier(0.25, 0.1, 0.25, 1) both; }
@keyframes vt-dim { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-fade { from { opacity: 0; } }
@keyframes vt-lights { 0% { opacity: 0; transform: scale(1.035); filter: brightness(0.35); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 640px) { .value-list { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js .foot-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .grain, .scan .drift, .scan .sweep, .letters span span, .js .stagebox .bd { animation: none; }
  .scan .sweep { display: none; }
  .slide, .slide img, .st, .seg-pill, .field-say .p, .gate li i, .gate li div, .btn svg, .book, .peek > .bd { transition: none; }
}
.dark-page .nav { color: #eef2f6; }
.js .dark-page .nav:not(.on-dark) { color: inherit; }
