/* Aina site: shared styles for every inner page. The language is the home page's
   (../black-mave-moments.html); DESIGN.md explains it. Desktop sizes are Figma px at 1512 wide times --u. */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;
  --u: calc(min(100vw, 1512px) / 1512);
  --head: #ececec;
  --title: #c8c8c8;
  --body: #a3a3a3;
  --soft: #9a9a9a;
  --dim: #8a8a8a;
  --mute: #6b6b70;
  --unlit: #2e2e2e;
  --line: rgba(255, 255, 255, .14);
  --ease: cubic-bezier(.23, 1, .32, 1);
  /* accent: the burning-metal gradient (CES laurel and the Pre-order shimmer only) */
  --iris-1: #a9b4ff; --iris-2: #f2b8cf; --iris-3: #f6cf9a; --iris-4: #e69f58;
  --nav-h: max(60px, calc(76 * var(--u)));
  --banner-max: clamp(30px, 2.116vw, 32px);   /* 32px at 1512 wide */
  --sec: calc(176 * var(--u));                 /* space above a section */
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

/* the CES strip is tucked away on load and slides the nav down a beat after it has faded in */
@property --banner-h { syntax: "<length>"; inherits: true; initial-value: 0px; }
html.js:not(.ces-in) { --banner-h: 0px; }
html.ces-in, html:not(.js) { --banner-h: var(--banner-max); }
/* the CES strip lives on the home page only (Raktim, 2026-11-30); the inner pages have no strip, so no gap above the nav */
html { --banner-h: 0px !important; }
:root { transition: --banner-h .5s cubic-bezier(.22, 1, .36, 1); }
html.ces-now { transition: none; }

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { border-radius: 0 !important; }   /* house rule: no rounded corners anywhere */
html { background: #0a0908; -webkit-text-size-adjust: 100%; }
body { background: #0a0908; color: var(--body); font-family: Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
b, strong { font-weight: 500; color: var(--head); }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 100; left: 12px; top: -60px; padding: 10px 14px; background: #fff; color: #000; font-size: 14px; }
.skip:focus { top: 12px; }

/* ---------- 3. Grid and type ---------- */
.u { width: calc(1512 * var(--u)); margin: 0 auto; position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); padding: 0 calc(48 * var(--u)); }

.t-form { font-weight: 200; font-size: calc(50 * var(--u)); line-height: 1; letter-spacing: -.04em; color: var(--head); text-wrap: balance; }
.t-lead { font-weight: 300; font-size: max(22px, calc(32 * var(--u))); line-height: 1.2; letter-spacing: -.03em; color: var(--head); text-wrap: balance; }
.t-h3 { font-weight: 400; font-size: max(19px, calc(24 * var(--u))); line-height: 1.2; letter-spacing: -.03em; color: var(--head); }
.t-body { font-weight: 400; font-size: max(15px, calc(16 * var(--u))); line-height: 1.4; letter-spacing: -.01em; color: var(--body); }
.t-caption { font-weight: 400; font-size: max(13px, calc(14 * var(--u))); line-height: 1.37; color: var(--dim); }
/* site: page title, page intro, split-section header */
.t-title { font-weight: 200; font-size: max(40px, calc(72 * var(--u))); line-height: 1.02; letter-spacing: -.045em; color: var(--head); text-wrap: balance; }
.t-intro { font-weight: 300; font-size: max(19px, calc(26 * var(--u))); line-height: 1.35; letter-spacing: -.02em; color: var(--soft); text-wrap: pretty; }
.t-h2 { font-weight: 300; font-size: max(26px, calc(36 * var(--u))); line-height: 1.1; letter-spacing: -.035em; color: var(--head); text-wrap: balance; }
/* Josefin Sans is the brand voice and is always set in capitals */
.jos { font-family: "Josefin Sans", Geist, sans-serif; font-weight: 300; text-transform: uppercase; }

/* ---------- 4. CES strip + nav: one block at the top of the page that scrolls away with it ---------- */
.banner { position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: var(--banner-h); display: flex; align-items: center; justify-content: center; gap: max(7px, calc(8 * var(--u)));
  overflow: hidden; background: #fff; color: rgba(10,9,8, .82); font-size: max(11px, calc(12 * var(--u))); letter-spacing: .02em; white-space: nowrap; line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(10,9,8, .08); transition: color .2s; }
.banner:hover { color: #000; }
.banner .wreath { width: max(17px, calc(19 * var(--u))); height: max(17px, calc(19 * var(--u))); flex: none;
  background-image: linear-gradient(120deg, var(--iris-1), var(--iris-2), var(--iris-3), var(--iris-4), var(--iris-3), var(--iris-2), var(--iris-1));
  background-size: 400% 400%; background-position: 0 0; animation: flame 2s ease-in-out infinite alternate;
  -webkit-mask: url(../img/ces-innovation-award-wreath.png) center / contain no-repeat; mask: url(../img/ces-innovation-award-wreath.png) center / contain no-repeat; }
.banner .ces { height: max(10px, calc(11 * var(--u))); width: auto; flex: none; }
.banner .arr { width: max(12px, calc(13 * var(--u))); height: max(12px, calc(13 * var(--u))); opacity: .75; transition: transform .3s var(--ease), opacity .2s; }
.banner:hover .arr { opacity: 1; transform: translate(1.5px, -1.5px); }
@keyframes flame { to { background-position: 100% 100%; } }

.nav { position: absolute; z-index: 58; top: var(--banner-h); left: 0; right: 0; height: var(--nav-h);
  padding: 0 max(calc(48 * var(--u)), calc((100vw - 1512px) / 2 + 48 * var(--u)));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.js .nav { animation: fade .6s ease both .1s; }
.js .nav.faded { animation: none; }   /* load fade done; don't replay it */
.nav .logo { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: .55em;
  font-family: "Josefin Sans", sans-serif; font-weight: 400; font-size: max(12px, calc(13 * var(--u))); letter-spacing: .62em; text-transform: uppercase; color: #fff; }
.logo-mark { width: max(17px, calc(19 * var(--u))); height: auto; flex: none; }
.nav ul { grid-column: 2; grid-row: 1; display: flex; gap: calc(48 * var(--u)); font-weight: 400; font-size: max(13px, calc(15 * var(--u))); line-height: 1; letter-spacing: -.01em; }
.nav ul a { color: rgba(255, 255, 255, .75); transition: color .25s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; }
.nav .nav-cta { grid-column: 3; grid-row: 1; justify-self: end; }
/* once the block is out of view, the pointer near the top brings it back over a soft shade */
html.nav-peek .nav, html.nav-peek .banner { position: fixed; animation: fade .3s ease both; }
html.nav-peek .nav { background: linear-gradient(rgba(10,9,8, .55), rgba(10,9,8, 0)); }
html.nav-peek.nav-leave .nav, html.nav-peek.nav-leave .banner { animation: nav-out .2s ease both; pointer-events: none; }
@keyframes nav-out { to { opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- 5. Buttons ---------- */
.nav-cta, .btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: max(34px, calc(38 * var(--u))); padding: 0 max(14px, calc(18 * var(--u))); font-size: max(13px, calc(14 * var(--u))); font-weight: 500; line-height: 1; white-space: nowrap;
  color: #0a0a0a; background: #fff; transition: transform .3s var(--ease); }
.nav-cta:hover, .btn:hover { transform: translateY(-1px); }
.btn-lg { height: max(46px, calc(52 * var(--u))); padding: 0 max(22px, calc(28 * var(--u))); font-size: max(14px, calc(15 * var(--u))); }
/* Pre-order: white, with a faint band of the accent sweeping across it every few seconds */
.nav-cta::before, .btn-pre::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, var(--iris-1) 40%, var(--iris-2) 46%, var(--iris-3) 52%, var(--iris-4) 58%, transparent 68%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; opacity: .35; animation: cta-shimmer 3.6s cubic-bezier(.45, 0, .25, 1) 1.5s infinite; }
.nav-cta:hover::before, .btn-pre:hover::before { animation-duration: 1.4s; }
@keyframes cta-shimmer { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
/* a quiet text action beside a button */
.txt-btn { display: inline-flex; align-items: center; gap: .45em; font-size: max(14px, calc(15 * var(--u))); color: var(--title); transition: color .25s; }
.txt-btn:hover { color: #fff; }
.go { display: inline-flex; align-items: center; gap: .5em; color: var(--head); font-size: max(15px, calc(16 * var(--u))); transition: color .25s; }
.go:hover { color: #fff; }
.ar { width: max(12px, calc(14 * var(--u))); height: auto; flex: none; transition: transform .3s var(--ease); }
a:hover > .ar.ne, button:hover > .ar.ne { transform: translate(2px, -2px); }
a:hover > .ar.e, button:hover > .ar.e { transform: translateX(3px); }
a:hover > .ar.w { transform: translateX(-3px); }

/* ---------- 6. Section breakers: full-bleed photos at 2.6:1 that drift against the scroll ---------- */
.breaker { position: relative; width: 100%; aspect-ratio: 2000 / 767; margin: 0; overflow: hidden; background: #0a0908; }
.breaker img { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; max-width: none; object-fit: cover; will-change: transform; }
.breaker figcaption { position: absolute; left: max(20px, calc(63 * var(--u))); bottom: max(18px, calc(32 * var(--u))); color: #fff;
  font-weight: 400; font-size: max(12px, calc(14 * var(--u))); letter-spacing: -.005em; }
a.breaker { display: block; }
.sec + .breaker, .statement + .breaker { margin-top: var(--sec); }   /* a picture after a section gets the same space a section gets above it */

/* ---------- 7. Masthead ---------- */
.mast { padding: calc(var(--banner-max) + var(--nav-h) + 150 * var(--u)) 0 calc(112 * var(--u)); }
.mast h1 { grid-column: 1 / 11; }
.mast .t-intro { grid-column: 1 / 8; margin-top: calc(36 * var(--u)); }
.mast .t-intro a { color: var(--head); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: rgba(255, 255, 255, .3); }
.mast .t-intro a:hover { color: #fff; text-decoration-color: #fff; }
.mast .meta { grid-column: 1 / -1; margin-top: calc(28 * var(--u)); }
/* the page's facts: one row of label and value pairs under a hairline */
.factrow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: calc(28 * var(--u)) calc(64 * var(--u)); margin-top: calc(88 * var(--u)); padding-top: calc(24 * var(--u)); border-top: 1px solid var(--line); }
.factrow div { min-width: 0; max-width: calc(330 * var(--u)); }
.factrow dt, .fl dt, .bento dt { font-size: max(12px, calc(13 * var(--u))); line-height: 1.4; color: var(--dim); }
.factrow dd { margin-top: calc(8 * var(--u)); font-size: max(15px, calc(17 * var(--u))); line-height: 1.4; letter-spacing: -.01em; color: var(--head); }
.factrow dd a, .fl dd a, .bento dd a { transition: color .25s; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.factrow dd a:hover, .fl dd a:hover, .bento dd a:hover { color: #fff; border-color: #fff; }
.updated { grid-column: 1 / -1; margin-top: calc(20 * var(--u)); font-size: max(12px, calc(13 * var(--u))); color: var(--mute); }
.factrow + .updated { margin-top: calc(28 * var(--u)); }

/* ---------- 8. Sections ---------- */
.sec { padding-top: var(--sec); }
.legal { --sec: calc(120 * var(--u)); }   /* privacy and terms: one long document, sections closer together */
.sec:target, [id] { scroll-margin-top: 32px; }
/* split: the heading holds still in columns 1 to 4 while its content scrolls in 6 to 12 */
.split > .grid { align-items: start; }
.split .sec-h { grid-column: 1 / 5; position: sticky; top: calc(48 * var(--u)); }
.split .sec-b { grid-column: 6 / 13; }
.num-h { display: block; margin-bottom: calc(14 * var(--u)); font-size: max(13px, calc(15 * var(--u))); letter-spacing: 0; color: var(--mute); font-variant-numeric: tabular-nums; }
.sec-h .t-h2 .num-h { display: inline; margin: 0 .45em 0 0; font-size: inherit; color: var(--mute); }
/* stack: the heading across the top, a 12-column composition under it */
.stack .sec-h { grid-column: 1 / -1; }
.stack .sec-b { grid-column: 1 / -1; margin-top: calc(72 * var(--u)); }
.stack .sec-h + .sec-lead { grid-column: 1 / 8; margin-top: calc(28 * var(--u)); }
.stack .sec-lead + .sec-b { margin-top: calc(64 * var(--u)); }

/* reading text */
.prose > * + * { margin-top: calc(22 * var(--u)); }
.prose > * { max-width: calc(680 * var(--u)); }
.prose > .wide, .prose > .rows, .prose > .links, .prose > .qa-list, .prose > .fl, .prose > .bento, .prose > .steps, .prose > .sizes, .prose > figure { max-width: none; }
.prose p, .prose li { font-size: max(15px, calc(17 * var(--u))); line-height: 1.6; letter-spacing: -.005em; color: var(--body); text-wrap: pretty; }
.prose a:not(.btn):not(.go):not(.lr), .qa .ans a, .rows a, .lede a { color: var(--head); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, .3); transition: color .25s, text-decoration-color .25s; }
.prose a:not(.btn):not(.go):not(.lr):hover, .qa .ans a:hover, .rows a:hover, .lede a:hover { color: #fff; text-decoration-color: #fff; }
.prose .lede, .lede { font-weight: 300; font-size: max(20px, calc(27 * var(--u))); line-height: 1.35; letter-spacing: -.02em; color: var(--head); }
.prose .sub { padding-top: calc(20 * var(--u)); font-weight: 400; font-size: max(16px, calc(18 * var(--u))); line-height: 1.3; letter-spacing: -.015em; color: var(--head); }
.prose .sub span { margin-left: .7em; color: var(--mute); font-size: .86em; }
.prose > .sub + * { margin-top: calc(14 * var(--u)); }
.note { font-size: max(12px, calc(13 * var(--u))) !important; line-height: 1.5 !important; color: var(--mute) !important; }
.note a { color: var(--title) !important; }
/* a plain list: a small square before each item */
.list li { position: relative; padding-left: calc(22 * var(--u)); }
.list li + li { margin-top: calc(10 * var(--u)); }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; background: var(--mute); }
/* numbered steps: a small grey numeral, a white title, grey text */
.num { counter-reset: n; }
.num li { display: grid; grid-template-columns: calc(56 * var(--u)) minmax(0, 1fr); column-gap: calc(8 * var(--u)); padding: calc(24 * var(--u)) 0; border-top: 1px solid var(--line); }
.num li:last-child { border-bottom: 1px solid var(--line); }
.num li > span { font-size: max(13px, calc(14 * var(--u))); line-height: 1.9; color: var(--mute); font-variant-numeric: tabular-nums; }
.num h3 { font-weight: 400; font-size: max(16px, calc(19 * var(--u))); line-height: 1.35; letter-spacing: -.015em; color: var(--head); }
.num p { margin-top: calc(8 * var(--u)); }
/* rows: a table set as hairline rows */
.rows { width: 100%; border-collapse: collapse; }
.rows th { padding: 0 calc(24 * var(--u)) calc(14 * var(--u)) 0; text-align: left; font-weight: 400; font-size: max(12px, calc(13 * var(--u))); color: var(--dim); }
.rows td { padding: calc(18 * var(--u)) calc(24 * var(--u)) calc(18 * var(--u)) 0; vertical-align: top; border-top: 1px solid var(--line); font-size: max(15px, calc(16 * var(--u))); line-height: 1.5; color: var(--body); }
.rows tr:last-child td { border-bottom: 1px solid var(--line); }
.rows td:first-child { width: 38%; color: var(--head); }
/* facts as rows: label left, value right */
.fl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: calc(24 * var(--u)); padding: calc(16 * var(--u)) 0; border-top: 1px solid var(--line); }
.fl > div:last-child { border-bottom: 1px solid var(--line); }
.fl dt { font-size: max(13px, calc(14 * var(--u))); line-height: 1.5; }
.fl dd { font-size: max(15px, calc(16 * var(--u))); line-height: 1.5; color: var(--head); }
/* the specs bento: hairlines drawn by a 1px gap over the line colour */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px 0; background: var(--line); }
.bento > div { background: #0a0908; padding: calc(26 * var(--u)) calc(28 * var(--u)) calc(30 * var(--u)); }
.bento dd { margin-top: calc(10 * var(--u)); font-size: max(15px, calc(18 * var(--u))); line-height: 1.4; letter-spacing: -.015em; color: var(--head); }
.bento.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* link rows: a label or a press mark, a grey note, an arrow that nudges */
.links { border-top: 1px solid var(--line); }
.lr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: calc(28 * var(--u)); width: 100%; min-height: calc(68 * var(--u));
  padding: calc(16 * var(--u)) 0; border-bottom: 1px solid var(--line); color: var(--head); font-size: max(15px, calc(17 * var(--u))); line-height: 1.35; letter-spacing: -.01em; transition: color .25s; }
.lr:hover { color: #fff; }
.lr .nt { font-size: max(13px, calc(14 * var(--u))); color: var(--mute); text-align: right; transition: color .25s; }
.lr:hover .nt { color: var(--soft); }
.lr .lb { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); min-width: 0; }
.lr .lg { display: block; height: max(15px, calc(18 * var(--u))); width: auto; flex: none; color: #fff; }
.lr .lg.wired { aspect-ratio: 5 / 1; background: currentColor; -webkit-mask: url(../img/press-logo-wired.webp) center / contain no-repeat; mask: url(../img/press-logo-wired.webp) center / contain no-repeat; }
.lr [data-logo="TechCrunch"] { height: max(12px, calc(14 * var(--u))); }
.lr [data-logo="Forbes"] { height: max(16px, calc(20 * var(--u))); }
.lr .word { font-weight: 600; font-size: max(16px, calc(18 * var(--u))); letter-spacing: -.02em; color: #fff; }
.lr .wreath { width: max(17px, calc(20 * var(--u))); height: max(17px, calc(20 * var(--u))); flex: none;
  background-image: linear-gradient(120deg, var(--iris-1), var(--iris-2), var(--iris-3), var(--iris-4), var(--iris-3), var(--iris-2), var(--iris-1)); background-size: 400% 400%;
  animation: flame 2s ease-in-out infinite alternate; -webkit-mask: url(../img/ces-innovation-award-wreath.png) center / contain no-repeat; mask: url(../img/ces-innovation-award-wreath.png) center / contain no-repeat; }
/* a figure at its own proportions */
.fig img { width: 100%; height: auto; }
.fig figcaption { margin-top: calc(14 * var(--u)); font-size: max(13px, calc(14 * var(--u))); line-height: 1.45; color: var(--dim); max-width: calc(560 * var(--u)); }
.prose > .fig.sq { max-width: calc(520 * var(--u)); }
.prose > .fig.pt { max-width: calc(420 * var(--u)); }
/* a YouTube film played in place */
.film { aspect-ratio: 16 / 9; background: #0e0e0e; }
.film iframe { width: 100%; height: 100%; border: 0; }
/* a block that stands apart: a short title, a line, one action */
.panel { padding-top: calc(36 * var(--u)); border-top: 1px solid var(--line); }
.prose > .panel { margin-top: calc(48 * var(--u)); }
.prose > .panel + * { margin-top: calc(40 * var(--u)); }
.panel h3 { font-weight: 300; font-size: max(22px, calc(32 * var(--u))); line-height: 1.2; letter-spacing: -.03em; color: var(--head); text-wrap: balance; }
.panel p { margin-top: calc(14 * var(--u)); }
.panel .acts, .closer .acts { display: flex; flex-wrap: wrap; align-items: center; gap: calc(16 * var(--u)) calc(32 * var(--u)); margin-top: calc(32 * var(--u)); }

/* ---------- 9. FAQ accordion ---------- */
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: calc(32 * var(--u)); padding: calc(22 * var(--u)) 0; cursor: pointer;
  font-size: max(16px, calc(19 * var(--u))); line-height: 1.35; letter-spacing: -.015em; color: var(--head); transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.pm { position: relative; flex: none; width: 13px; height: 13px; margin-top: .32em; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(90deg) scaleX(0); }
.qa .ans { overflow: hidden; }
.qa .ans-in { padding: 0 calc(48 * var(--u)) calc(26 * var(--u)) 0; }
.qa .ans p { font-size: max(15px, calc(16 * var(--u))); line-height: 1.6; color: var(--body); max-width: calc(640 * var(--u)); }
.qa .ans p + p { margin-top: .9em; }

/* ---------- 10. Thesis: steps and the statement ---------- */
.steps { display: flex; align-items: flex-start; padding: calc(40 * var(--u)) 0 calc(8 * var(--u)); }
.step { position: relative; flex: 1 1 0; min-width: 0; display: grid; justify-items: start; gap: calc(16 * var(--u)); }
.step svg { width: max(24px, calc(30 * var(--u))); height: max(24px, calc(30 * var(--u))); color: var(--head); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.step .nm { font-size: max(13px, calc(15 * var(--u))); line-height: 1.35; color: var(--soft); padding-right: calc(12 * var(--u)); }
/* a trail of three dots from one step to the next */
/* the trail sits in the gap before each step, from the previous icon to this one */
.trail { position: absolute; top: calc(max(24px, 30 * var(--u)) / 2 - 1px); right: calc(100% + 18px); width: calc(100% - max(24px, 30 * var(--u)) - 36px); display: flex; justify-content: space-evenly; }
.trail i { width: 2px; height: 2px; background: var(--mute); }
.steps.lit { padding-top: calc(48 * var(--u)); }
.steps.lit .step svg { width: max(48px, calc(64 * var(--u))); height: max(48px, calc(64 * var(--u))); color: #fff; stroke-width: 1.1; }
.steps.lit .nm { font-size: max(17px, calc(21 * var(--u))); color: #fff; }
.statement { display: grid; place-items: center; min-height: 86vh; min-height: 86svh; padding: calc(200 * var(--u)) 20px; text-align: center; }
.statement > div { width: 100%; }
.statement p { width: min(100%, calc(680 * var(--u))); margin-inline: auto; font-size: max(20px, calc(30 * var(--u))); letter-spacing: .06em; line-height: 1.3; color: var(--head); }
.statement p + p { margin-top: 1.1em; color: var(--mute); }

/* ---------- 11. About: principles and timeline ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); }
.trio li > span { display: block; font-size: max(13px, calc(14 * var(--u))); color: var(--mute); font-variant-numeric: tabular-nums; }
.trio h3 { margin-top: calc(56 * var(--u)); max-width: calc(380 * var(--u)); }
.trio p { margin-top: calc(14 * var(--u)); max-width: calc(380 * var(--u)); }
.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); border-top: 1px solid var(--line); }
.tl li { position: relative; padding-top: calc(36 * var(--u)); padding-right: calc(24 * var(--u)); }
.tl li::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; background: #fff; }
.tl li:last-child::before { background: #0a0908; box-shadow: inset 0 0 0 1px #fff; }
.tl time { display: block; font-weight: 300; font-size: max(20px, calc(26 * var(--u))); line-height: 1.2; letter-spacing: -.03em; color: var(--head); }
.tl p { margin-top: calc(14 * var(--u)); }
.press-groups > div + div { margin-top: calc(56 * var(--u)); }
.press-groups h3 { margin-bottom: calc(18 * var(--u)); font-weight: 400; font-size: max(15px, calc(17 * var(--u))); letter-spacing: -.01em; color: var(--head); }
.press-groups h3 span { margin-left: .7em; color: var(--mute); font-size: .9em; }

/* ---------- 12. Careers: roles ---------- */
.filter { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)) calc(32 * var(--u)); }
.filter button { font-size: max(15px, calc(17 * var(--u))); letter-spacing: -.01em; color: var(--mute); transition: color .25s; }
.filter button:hover, .filter button[aria-pressed="true"] { color: #fff; }
.filter sup { margin-left: .3em; font-size: .72em; vertical-align: .55em; font-variant-numeric: tabular-nums; }
.total { margin-top: calc(18 * var(--u)); font-size: max(13px, calc(14 * var(--u))); color: var(--dim); }
.roles { margin-top: calc(40 * var(--u)); border-top: 1px solid var(--line); }
.role a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; align-items: baseline; column-gap: calc(24 * var(--u)); padding: calc(28 * var(--u)) 0; border-bottom: 1px solid var(--line); }
.role .ti { font-weight: 300; font-size: max(21px, calc(30 * var(--u))); line-height: 1.15; letter-spacing: -.03em; color: var(--head); transition: color .25s; }
.role a:hover .ti { color: #fff; }
.role .me { display: flex; flex-wrap: wrap; gap: 4px calc(20 * var(--u)); font-size: max(14px, calc(15 * var(--u))); color: var(--soft); }
.role .ap { display: inline-flex; align-items: center; gap: .45em; font-size: max(14px, calc(15 * var(--u))); color: var(--head); }
.role[hidden] { display: none; }

/* ---------- 13. Sizing: the size dial ---------- */
.sizes { display: grid; justify-items: center; padding: calc(24 * var(--u)) 0 0; overflow-x: clip; }
.sz-scene { position: relative; width: min(calc(330 * var(--u)), 62%); min-width: 200px; }
.sz-stage { position: relative; aspect-ratio: 1015 / 1111; isolation: isolate; }
/* a faint light from above so the dark titanium reads on black */
.sz-stage::before { content: ""; position: absolute; inset: -26% -46% -6%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025) 55%, transparent); }
.sz-ghosts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sz-ghosts path { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sz-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .28s var(--ease); }
.sz-stage img.is-on { opacity: 1; }
.callout { position: absolute; display: flex; align-items: flex-start; gap: calc(10 * var(--u)); width: calc(var(--reach) + 72 * var(--u) + 150 * var(--u)); transform: translateY(calc(-7 * var(--u))); }
.callout.screen { --reach: 18%; left: 82%; top: 11%; }
.callout.band { --reach: 0px; left: calc(100% + 4 * var(--u)); top: 50%; }
.callout .leader { position: relative; flex: 1 1 auto; height: 1px; margin-top: calc(8 * var(--u)); background: rgba(255, 255, 255, .28); }
.callout .leader::before { content: ""; position: absolute; left: 0; top: -1px; width: 3px; height: 3px; background: #fff; }
.callout .ct { flex: none; width: calc(150 * var(--u)); display: grid; gap: 4px; font-size: max(13px, calc(14 * var(--u))); line-height: 1.4; color: var(--soft); }
.callout .ct b { font-weight: 400; color: #fff; }
.readout { display: flex; align-items: baseline; gap: calc(10 * var(--u)); margin-top: calc(22 * var(--u)); }
.readout span { font-size: max(14px, calc(15 * var(--u))); color: var(--dim); }
.readout output { min-width: 2ch; font-weight: 200; font-size: max(34px, calc(44 * var(--u))); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.dial-wrap { display: flex; justify-content: center; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #0a0908 22%, #0a0908 78%, transparent); mask-image: linear-gradient(90deg, transparent, #0a0908 22%, #0a0908 78%, transparent); }
.dial { flex: none; width: max(420px, calc(560 * var(--u))); height: auto; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.dial:active { cursor: grabbing; }
.dial .arc { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dial .caret { fill: #fff; }
.dial:focus-visible .arc { stroke: rgba(255, 255, 255, .6); }
.dial .wheel { transform: rotate(calc(var(--i) * -7deg)); transform-box: view-box; transform-origin: 300px 650px; transition: transform .56s cubic-bezier(.16, 1, .3, 1); }
.dial .hit { fill: transparent; cursor: pointer; }
.dial .tick { stroke: rgba(255, 255, 255, .42); stroke-width: 1; vector-effect: non-scaling-stroke; transform: scaleY(.55); transform-box: fill-box; transform-origin: 50% 0; transition: transform .42s cubic-bezier(.16, 1, .3, 1), stroke .24s; }
.dial .mk.is-on .tick { transform: none; stroke: #fff; }
.dial .n { font-family: Geist, system-ui, sans-serif; font-size: 15px; text-anchor: middle; fill: var(--mute); transform: rotate(calc((var(--i) - var(--k)) * 7deg)); transform-box: fill-box; transform-origin: center; transition: transform .56s cubic-bezier(.16, 1, .3, 1), fill .24s; }
.dial .mk:hover .n { fill: var(--head); }
.dial .mk.is-on .n { fill: #fff; }

/* ---------- 14. Journal ---------- */
.post-card { display: block; }
.post-card .breaker { margin-top: 0; }
.post-card .pc { padding-top: calc(40 * var(--u)); }
.pc h2 { grid-column: 1 / 9; }
.pc .dek { grid-column: 1 / 8; margin-top: calc(18 * var(--u)); }
.pc .meta { grid-column: 1 / 8; margin-top: calc(22 * var(--u)); }
.pc .go { grid-column: 1 / 8; margin-top: calc(28 * var(--u)); }
.post-card:hover .pc h2 { color: #fff; }
.post-card .pc h2 { transition: color .25s; }
.article .a-sec { grid-column: 4 / 10; padding-top: calc(112 * var(--u)); }
.article .a-sec:first-child { padding-top: calc(120 * var(--u)); }
.article .a-sec h2 { margin-bottom: calc(30 * var(--u)); }
.article .fig.wide { grid-column: 2 / 12; margin-top: calc(56 * var(--u)); }
.article .fig.wide.sq { grid-column: 4 / 10; }
.article .fig.wide.pt { grid-column: 5 / 9; }
.article .fig.wide + .a-sec { padding-top: calc(72 * var(--u)); }
.article .fig.wide + .a-cont { margin-top: calc(48 * var(--u)); }
.article .a-cont { grid-column: 4 / 10; }

/* ---------- 15. Closing Pre-order block ---------- */
.closer { padding: calc(220 * var(--u)) 0 0; }
.closer h2 { grid-column: 1 / 7; }
.closer .cb { grid-column: 7 / 13; padding-top: calc(6 * var(--u)); }
.closer .cb .t-body { margin-top: calc(16 * var(--u)); max-width: calc(460 * var(--u)); color: var(--soft); }

/* ---------- 16. Thank you ---------- */
.ty-hero { position: relative; height: 100vh; height: 100svh; min-height: calc(640 * var(--u)); overflow: hidden; }
.ty-mark { --mark-w: min(88%, 156svh); position: absolute; width: var(--mark-w); aspect-ratio: 16 / 9; top: 52.5%; left: 50%; translate: -50% -50%; container-type: inline-size; }
/* the home hero's mark: A I N A and R I N G either side of the ring, at the master's own coordinates */
.ty-word { position: absolute; translate: -50% -50%; width: max-content; padding-left: 4.6499cqw; font-size: 2.3724cqw; letter-spacing: 4.6499cqw; line-height: 1; white-space: nowrap; color: #ececec; }
.ty-word.a { top: 47.106%; left: 23.854%; }
.ty-word.r { top: 47.13%; left: 75.378%; }
.ty-ring { position: absolute; width: 24.427%; aspect-ratio: 938 / 864; top: 26.296%; left: 37.786%; container-type: inline-size; }
.ty-ring img.ring { width: 100%; height: auto; }
.ty-ring .glass { position: absolute; width: 15.139%; height: auto; top: 44.213%; left: 27.292%; }
.ty-ring .orb { position: absolute; width: 5%; height: auto; top: 20.2%; left: 45.8%; transform-origin: 100%; mix-blend-mode: screen; transform: matrix(.714, -.4475, .4738, .6597, 0, 0); }
/* the card's two lines on the ring's display, in the display's own perspective */
.ty-ring .on-screen { position: absolute; font-family: Inter, Geist, sans-serif; font-weight: 400; line-height: normal; white-space: nowrap; transform-origin: 0 0; transform: matrix(.43176, -.90199, .9476, .31947, 0, 0); }
.ty-ring .soon { top: 64.16%; left: 23.24%; font-size: 3.549cqi; color: #aaa; text-shadow: 0 0 .4cqi rgba(170, 170, 170, .5); }
.ty-ring .who { top: 65.2%; left: 26.55%; font-size: 5.286cqi; color: #dedede; text-shadow: 0 0 .5cqi rgba(222, 222, 222, .55); max-width: 52cqi; overflow: hidden; text-overflow: ellipsis; }
.ty-hero .ty-head { position: absolute; left: max(20px, calc(48 * var(--u))); top: calc(var(--banner-max) + var(--nav-h) + 56 * var(--u)); font-weight: 300; font-size: max(17px, calc(22 * var(--u))); line-height: 1.25; letter-spacing: -.02em; color: var(--head); }
.ty-hero .ty-visit { position: absolute; right: max(20px, calc(48 * var(--u))); bottom: max(24px, calc(40 * var(--u))); font-size: max(13px, calc(14 * var(--u))); color: var(--dim); transition: color .25s; }
.ty-hero .ty-visit:hover { color: #fff; }
.ty-share { position: absolute; left: max(20px, calc(48 * var(--u))); bottom: max(24px, calc(40 * var(--u))); display: flex; gap: calc(24 * var(--u)); }
.ty-body { padding-top: calc(120 * var(--u)); }
.ty-body h1 { grid-column: 1 / 9; }
.ty-body .t-intro { grid-column: 1 / 8; margin-top: calc(28 * var(--u)); }
.ty-body .order { grid-column: 1 / -1; margin-top: calc(22 * var(--u)); font-size: max(14px, calc(15 * var(--u))); color: var(--dim); font-variant-numeric: tabular-nums; }
.ty-next { grid-column: 1 / -1; margin-top: calc(140 * var(--u)); }
.ty-next ol { margin-top: calc(48 * var(--u)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); border-top: 1px solid var(--line); }
.ty-next li { padding: calc(28 * var(--u)) calc(24 * var(--u)) 0 0; }
.ty-next li > span { display: block; font-size: max(13px, calc(14 * var(--u))); color: var(--mute); font-variant-numeric: tabular-nums; }
.ty-next h3 { margin-top: calc(40 * var(--u)); font-weight: 400; font-size: max(17px, calc(20 * var(--u))); line-height: 1.3; letter-spacing: -.015em; color: var(--head); }
.ty-next p { margin-top: calc(10 * var(--u)); }
.ty-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: calc(16 * var(--u)) calc(40 * var(--u)); margin-top: calc(96 * var(--u)); }

/* ---------- 18. Overlays: the film player and the sign-up dialog ---------- */
.player { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(10,9,8, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.player[hidden] { display: none; }
.player-frame { width: min(92vw, calc(88vh * 16 / 9)); aspect-ratio: 16 / 9; background: #0a0908; }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-x { position: absolute; top: 20px; right: 24px; padding: 10px 14px; color: #fff; font-size: 15px; }

/* ---------- 19. Motion: entering the viewport ---------- */
.js .in { opacity: 0; transform: translateY(calc(32 * var(--u))); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .in.on { opacity: 1; transform: none; }
.js .in-fade { opacity: 0; transition: opacity .9s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(var(--i, 0) * 220ms); }
.js .in-fade.on { opacity: 1; }
.steps .step { transition-delay: calc(var(--i, 0) * 140ms); }

/* ---------- 20. Narrower screens ---------- */
@media (max-width: 1100px) {
  .split .sec-h { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento.c3n { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callout .ct { width: 120px; }
}
@media (max-width: 900px) {
  .split .sec-h, .split .sec-b { grid-column: 1 / -1; }
  .split .sec-b { margin-top: 32px; }
  .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .tl li { border-top: 1px solid var(--line); }
  .ty-next ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .closer h2, .closer .cb { grid-column: 1 / -1; }
  .closer .cb { margin-top: 28px; }
}
/* phones */
@media (max-width: 720px) {
  :root { --u: 1px; --sec: 112px; }
  .legal { --sec: 80px; }
  .u { width: auto; }
  .grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; padding: 0 20px; }
  .grid > * { grid-column: 1 / -1 !important; }
  .t-form { font-size: 32px; line-height: 1.05; }
  .nav { padding: 0 20px; }
  .nav ul { display: none; }
  .banner .ces { display: none; }
  .breaker { aspect-ratio: 4 / 3; }
  .mast { padding: calc(var(--banner-max) + var(--nav-h) + 72px) 0 64px; }
  .mast .t-intro { margin-top: 20px; }
  .factrow { margin-top: 48px; gap: 20px 32px; }
  .factrow div { max-width: none; flex: 1 1 40%; }
  .stack .sec-b { margin-top: 40px; }
  .prose > * + * { margin-top: 18px; }
  .rows thead { display: none; }
  .rows tr { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
  .rows tr:last-child { border-bottom: 1px solid var(--line); }
  .rows td { display: block; width: auto !important; padding: 0; border: 0 !important; }
  .rows td + td { margin-top: 6px; }
  .fl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bento, .bento.c4, .bento.c2, .bento.c3n { grid-template-columns: minmax(0, 1fr); }
  .bento > div { padding: 20px 0 22px; }
  .lr { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .lr .nt { grid-column: 1; grid-row: 2; text-align: left; }
  .lr .ar { grid-column: 2; grid-row: 1 / 3; }
  .trio { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .trio h3 { margin-top: 16px; }
  .tl { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .tl li { padding: 24px 0 28px; }
  .role a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .role .me { grid-column: 1; grid-row: 2; }
  .role .ap { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .steps { flex-direction: column; gap: 28px; }
  .step { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; }
  .trail { display: none; }
  .statement { min-height: 70svh; padding: 120px 20px; }
  .article .a-sec { padding-top: 72px; }
  .article .fig.wide { margin-top: 40px; }
  .closer { padding-top: 140px; }
  .sz-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; width: 100%; }
  .sz-stage { grid-column: 1 / -1; justify-self: center; width: min(280px, 76%); }
  .callout { position: static; width: auto; transform: none; }
  .callout .leader { display: none; }
  .callout .ct { width: auto; }
  .ty-next ol { grid-template-columns: minmax(0, 1fr); }
  .ty-hero { height: auto; min-height: 0; padding: calc(var(--banner-max) + var(--nav-h) + 40px) 0 32px; }
  .ty-hero .ty-head { position: static; padding: 0 20px; }
  .ty-mark { position: relative; top: auto; left: auto; translate: none; width: 100%; margin-top: 24px; }
  .ty-share { position: static; padding: 8px 20px 0; }
  .ty-hero .ty-visit { position: static; display: block; padding: 16px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .in { transform: none; transition: opacity .6s ease; }
  .banner .wreath, .lr .wreath { animation: none; }
  .nav-cta::before, .btn-pre::before { animation: none; opacity: 0; }
  .breaker img { transform: none !important; }
  .dial .wheel, .dial .tick, .dial .n, .sz-stage img { transition-duration: 1ms; }
}

/* ---------- 22. Pre-order: the buy page (preorder.html) ----------
   The shop's one-ring buy page (shopify/live/sections/aina-buy.liquid) on black: the finish gallery sticky on the
   left, the choices on the right, a bar fixed along the bottom with the summary and the one button. */
.buy-page { --bar-h: max(76px, calc(88 * var(--u))); padding-bottom: var(--bar-h); }
.buy { padding-top: calc(var(--banner-max) + var(--nav-h) + 40 * var(--u)); }
.buy-grid { align-items: start; }
.buy-gal { grid-column: 1 / 7; position: sticky; top: calc(24 * var(--u)); }
.buy-panel { grid-column: 7 / 13; padding: 0 0 calc(72 * var(--u)) calc(56 * var(--u)); }
/* the gallery: one picture at a time, square, on black; the other finishes' pictures wait, hidden */
/* sized so the whole picture sits above the bar on load, under the nav and the strip */
.buy-gal { --frame: min(100%, calc(100svh - var(--bar-h) - var(--banner-max) - var(--nav-h) - 56px)); }
.buy-frame { position: relative; width: var(--frame); aspect-ratio: 1; background: #050505; }
.buy-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.buy-track::-webkit-scrollbar { display: none; }
.buy-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.buy-slide[hidden] { display: none; }
.buy-slide img { width: 100%; height: 100%; object-fit: contain; }
/* the bars and the arrows lie over the picture's foot */
.buy-ctl { position: absolute; left: 0; bottom: 0; width: var(--frame); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 0 0 16px; pointer-events: none; }
.buy-ctl > * { pointer-events: auto; }
.buy-ctl .buy-dots { padding-bottom: 15px; }
.buy-ctl .buy-arrows { gap: 0; }
.buy-ctl .buy-arrow { background: #0a0908; }
.buy-dots { display: flex; align-items: center; gap: 6px; }
.buy-dots span { width: 10px; height: 2px; background: rgba(255, 255, 255, .3); transition: width .3s var(--ease), background .3s; }
.buy-dots span[data-on] { width: 24px; background: #fff; }
.buy-dots span[hidden] { display: none; }
.buy-arrows { display: flex; gap: 8px; }
.buy-arrow { display: grid; place-items: center; width: 40px; height: 40px; color: var(--title); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: color .25s, box-shadow .25s; }
.buy-arrow:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.buy-arrow svg, .buy-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* the name, the line, the price and the ship window */
.buy-titleRow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.buy-su-top { display: none; }
.buy-head .t-intro { margin-top: calc(20 * var(--u)); }
.buy-facts { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: calc(32 * var(--u)); }
.buy-price { font-weight: 300; font-size: max(26px, calc(36 * var(--u))); line-height: 1; letter-spacing: -.03em; color: var(--head); font-variant-numeric: tabular-nums; }
.buy-ships { font-size: max(14px, calc(15 * var(--u))); color: var(--soft); }
/* the price tiers: the one on sale now in white, with a slow live dot; the next two after it, quieter */
.buy-tiers { margin-top: calc(22 * var(--u)); border-top: 1px solid var(--line); }
.buy-tiers li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: calc(12 * var(--u)) 0; border-bottom: 1px solid var(--line);
  font-size: max(14px, calc(15 * var(--u))); color: var(--mute); font-variant-numeric: tabular-nums; }
.buy-tiers li.is-now { color: var(--head); }
.buy-tiers .tn { display: inline-flex; align-items: center; gap: 10px; }
.buy-tiers .tdot { width: 6px; height: 6px; background: #fff; animation: live 2.4s ease-in-out infinite alternate; }
@keyframes live { to { opacity: .25; } }
.buy-tiers .tnote { font-size: max(12px, calc(13 * var(--u))); color: var(--dim); }
.buy-tiers .tp { text-align: right; }
.buy-tiers .is-now .tp { color: #fff; }
/* the steps: the finish, what's included, the add-on */
.buy-step { margin: calc(44 * var(--u)) 0 0; padding: 0; border: 0; min-width: 0; }
.buy-h { display: block; float: none; width: 100%; padding: 0; font-weight: 400; font-size: max(16px, calc(18 * var(--u))); line-height: 1.3; letter-spacing: -.015em; color: var(--head); }
.buy-h span { color: var(--mute); }
.buy-h.sub { margin-top: calc(32 * var(--u)); }
.buy-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(8 * var(--u)); margin-top: calc(16 * var(--u)); }
.buy-sw { position: relative; display: grid; justify-items: center; align-content: start; gap: calc(12 * var(--u)); padding: calc(18 * var(--u)) 6px calc(14 * var(--u)); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); text-align: center; transition: box-shadow .25s, color .25s; }
.buy-sw:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); color: var(--head); }
.buy-sw:has(input:checked) { box-shadow: inset 0 0 0 1px #fff; color: #fff; }
.buy-sw:has(input:focus-visible) { outline: 1px solid #fff; outline-offset: 3px; }
.buy-sw input, .buy-add input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; -webkit-appearance: none; appearance: none; }   /* no native radio: Chrome rounds it past any reset */
.chip { display: block; width: max(28px, calc(34 * var(--u))); height: max(28px, calc(34 * var(--u))); background: var(--sw, #888); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.chip.sm { width: 18px; height: 18px; flex: none; }
.chip[hidden] { display: none; }
.buy-sw .nm { font-size: max(12px, calc(13 * var(--u))); line-height: 1.3; }
/* a thing in the box: its picture, its name and lines, what it costs on the right */
.buy-row { position: relative; display: grid; grid-template-columns: max(56px, calc(72 * var(--u))) minmax(0, 1fr) auto; column-gap: calc(18 * var(--u)); align-items: start;
  margin-top: calc(12 * var(--u)); padding: calc(18 * var(--u)); box-shadow: inset 0 0 0 1px var(--line); }
.buy-step > .buy-row:first-of-type { margin-top: calc(16 * var(--u)); }
.buy-row .art { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: #0c0c0c; cursor: zoom-in; }
.buy-row .art img { width: 100%; height: 100%; object-fit: cover; }
.buy-row .art .line { object-fit: contain; padding: 10%; filter: invert(1); }   /* the drawings are dark lines: drawn white on black */
.buy-row .art svg { width: 76%; height: 76%; fill: none; stroke: #fff; stroke-width: 1.2; }
.buy-row .art.plain { cursor: default; }
.buy-row .nm { display: block; font-size: max(15px, calc(16 * var(--u))); line-height: 1.35; color: var(--head); }
.buy-row .ln { display: block; margin-top: 4px; font-size: max(13px, calc(14 * var(--u))); line-height: 1.45; color: var(--soft); }
.buy-row .pts { margin-top: 6px; font-size: max(13px, calc(14 * var(--u))); line-height: 1.45; color: var(--soft); }
.buy-row .pts li + li { margin-top: 3px; }
.buy-row .side { font-size: max(13px, calc(14 * var(--u))); color: #fff; white-space: nowrap; }
.buy-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: max(12px, calc(13 * var(--u))); color: var(--soft); cursor: pointer; transition: color .25s; }
.buy-more:hover { color: #fff; }
.buy-more svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.buy-more[aria-expanded="false"] svg { transform: rotate(-90deg); }
.buy-pics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: calc(16 * var(--u)); }
.buy-pics[hidden] { display: none; }
.buy-pics figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: #0c0c0c; cursor: zoom-in; }
.buy-pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.buy-pics figure:hover img { transform: scale(1.04); }
/* the add-on: the whole row ticks it; Add turns into Added */
.buy-add { display: block; margin-top: calc(16 * var(--u)); }
.buy-add .buy-row { margin: 0; cursor: pointer; transition: box-shadow .25s; }
.buy-add .buy-row:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.buy-add:has(input:checked) .buy-row { box-shadow: inset 0 0 0 1px #fff; }
.buy-add:has(input:focus-visible) .buy-row { outline: 1px solid #fff; outline-offset: 3px; }
.buy-add .side { display: grid; justify-items: end; gap: 10px; }
.addbtn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); font-size: 13px; color: #fff; transition: background .25s, color .25s; }
.addbtn [data-on] { display: none; }
.buy-add:has(input:checked) .addbtn { background: #fff; color: #0a0a0a; }
.buy-add:has(input:checked) .addbtn [data-on] { display: inline; }
.buy-add:has(input:checked) .addbtn [data-off] { display: none; }
.buy-add .buy-pics { margin-top: 8px; }
/* the bar along the bottom: what's in the order, and the one button */
.buy-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: var(--bar-h); background: #0a0908; box-shadow: inset 0 1px 0 var(--line); }
.buy-bar-in { display: flex; align-items: center; gap: calc(28 * var(--u)); height: 100%; padding: 0 max(calc(48 * var(--u)), calc((100vw - 1512px) / 2 + 48 * var(--u))); }
.buy-choice { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.buy-sum { display: grid; gap: 3px; min-width: 0; }
.buy-sum .main { font-size: max(14px, calc(16 * var(--u))); color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-sum .subs { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: max(12px, calc(13 * var(--u))); color: var(--soft); }
.buy-sum .subs b, .buy-row .side b { font-weight: 400; color: #fff; }
.buy-cta { min-width: max(200px, calc(240 * var(--u))); }
.buy-cta:not([data-ready]) { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.buy-cta:not([data-ready]):hover { box-shadow: inset 0 0 0 1px #fff; }
.buy-cta[data-ready] { animation: fade .5s ease both; }
/* the photo viewer for the dock's and the charger's photos */
.buy-lb { margin: auto; width: min(calc(100vw - 32px), 1100px); max-height: calc(100vh - 32px); padding: 56px 16px 16px; background: #0a0908; border: 1px solid var(--line); color: var(--soft); }
.buy-lb::backdrop { background: rgba(10,9,8, .88); }
.buy-lb[open] { animation: fade .3s ease both; }
.buy-lb figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.buy-lb img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.buy-lb figcaption { font-size: 13px; font-variant-numeric: tabular-nums; }
.buy-lb .lbx { position: absolute; top: 10px; right: 10px; }
.buy-lb .lbp { position: absolute; top: 10px; left: 10px; }
.buy-lb .lbn { position: absolute; top: 10px; left: 56px; }
.buy-lb .buy-arrow[hidden] { display: none; }
@media (max-width: 1100px) {
  .buy-panel { padding-left: 24px; }
  .buy-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .buy-page { --bar-h: 132px; }
  .buy { padding-top: calc(var(--banner-max) + var(--nav-h) + 8px); }
  .buy-gal { position: relative; top: auto; margin: 0 -20px; }   /* not sticky, but still what the dots and arrows sit on */
  .buy-gal { --frame: 100%; }
  .buy-panel { padding: 32px 0 48px; }
  .buy-su-top { display: inline-flex; flex: none; }
  .buy-bar .buy-su { display: none; }
  .buy-bar-in { flex-wrap: wrap; align-content: center; gap: 12px; padding: 0 20px; }
  .buy-choice { flex: 1 1 100%; }
  .buy-cta { flex: 1 1 100%; min-width: 0; }
  .buy-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .buy-tiers .tdot { animation: none; } .buy-pics img { transition: none; } }

/* @home:start ---------- 21. Footer, sign-up dialog, prototype flag ----------
   Self-contained: index.html (the master home page) inlines this region as it is, without the rest of the file. */
.foot, .signup { --head: #ececec; --title: #c8c8c8; --body: #a3a3a3; --soft: #9a9a9a; --dim: #8a8a8a; --mute: #6b6b70; --line: rgba(255, 255, 255, .14); --ease: cubic-bezier(.23, 1, .32, 1); }
.foot { position: relative; z-index: 1; background: #0a0908; padding: calc(240 * var(--u)) 0 calc(40 * var(--u)); font-family: Geist, system-ui, sans-serif; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-cols { grid-column: 1 / 11; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); row-gap: 40px; }
.foot h2 { margin: 0 0 calc(20 * var(--u)); font-weight: 400; font-size: max(12px, calc(13 * var(--u))); line-height: 1.3; letter-spacing: -.005em; color: var(--mute); }
.foot-cols li + li { margin-top: calc(11 * var(--u)); }
.foot li a, .foot li button { display: inline-flex; align-items: center; gap: .35em; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: max(14px, calc(15 * var(--u))); line-height: 1.35; letter-spacing: -.01em; color: var(--title); text-decoration: none; transition: color .25s; }
.foot li a:hover, .foot li button:hover, .foot li a[aria-current="page"] { color: #fff; }
.foot li .ar { width: 11px; height: auto; flex: none; transition: transform .3s var(--ease); }
.foot li a:hover .ar { transform: translate(2px, -2px); }
.socials { grid-column: 11 / 13; justify-self: end; display: flex; gap: calc(20 * var(--u)); }
.socials a { display: grid; place-items: center; width: 22px; height: 22px; color: rgba(255, 255, 255, .86); transition: color .25s, transform .3s var(--ease); }
.socials a:hover { color: #fff; transform: translateY(-1px); }
.socials svg { display: block; width: 18px; height: 18px; }
.foot-mark { grid-column: 1 / -1; justify-self: center; margin-top: calc(180 * var(--u)); display: inline-flex; align-items: center; gap: .6em; text-decoration: none;
  font-family: "Josefin Sans", sans-serif; font-weight: 300; font-size: max(14px, calc(17 * var(--u))); letter-spacing: .62em; text-transform: uppercase; color: #fff; }
.foot-mark span { margin-right: -.62em; }
.foot-mark img { display: block; width: max(18px, calc(22 * var(--u))); height: auto; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: calc(56 * var(--u)) 0 0; font-size: max(12px, calc(13 * var(--u))); color: var(--mute); }
@media (max-width: 1100px) {
  .foot-cols { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .socials { grid-column: 1 / -1; justify-self: start; margin-top: 48px; }
}
@media (max-width: 720px) {
  .foot { padding-top: 160px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .foot-mark { margin-top: 96px; }
  .foot-base { justify-content: flex-start; flex-direction: column; }
}
/* sign up for updates: a small square dialog over a dark backdrop */
.signup { margin: auto; width: min(calc(100vw - 32px), max(360px, calc(460 * var(--u)))); max-height: calc(100vh - 32px); padding: max(28px, calc(40 * var(--u)));
  background: #0a0a0a; color: var(--body); border: 1px solid var(--line); overflow: auto; font-family: Geist, system-ui, sans-serif; }
.signup[open] { animation: signup-in .45s var(--ease) both; }
.signup::backdrop { background: rgba(10,9,8, .82); }
@keyframes signup-in { from { opacity: 0; transform: translateY(10px); } }
.signup .x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--soft); transition: color .25s; }
.signup .x:hover { color: #fff; }
.signup .x svg { display: block; width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.signup h2 { margin: 0; padding-right: 28px; font-weight: 300; font-size: max(22px, calc(28 * var(--u))); line-height: 1.2; letter-spacing: -.03em; color: var(--head); }
.signup p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--soft); }
.signup input { display: block; box-sizing: border-box; width: 100%; height: 48px; margin: 12px 0 0; padding: 0 14px; background: transparent; border: 1px solid var(--line); color: var(--head); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; transition: border-color .25s; }
.signup form > p + input { margin-top: 24px; }
.signup input::placeholder { color: var(--mute); }
.signup input:focus { outline: none; border-color: #fff; }
.signup input[aria-invalid="true"] { border-color: #fff; }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup .err { color: #fff; font-size: 14px; }
.signup .sub-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 20px; padding: 0 18px; border: 0; cursor: pointer;
  background: #fff; color: #0a0a0a; font: inherit; font-size: 15px; font-weight: 500; line-height: 1; transition: transform .3s var(--ease), opacity .25s; }
.signup .sub-btn:hover { transform: translateY(-1px); }
.signup .sub-btn:disabled { opacity: .6; cursor: default; transform: none; }
.signup [hidden] { display: none; }
/* prototype flag for placeholder content (amber, as on the home page's sample reviews; never in production) */
.flag { display: inline-block; margin-left: .6em; padding: 2px 8px; background: #f59e0b; color: #000; font-style: normal; font-weight: 400; font-size: 12px; line-height: 1.4; letter-spacing: 0; vertical-align: middle; white-space: nowrap; text-transform: none; }
/* @home:end */

/* ---------- footer, as on the white aina.com (Raktim, 2026-11-30: "the footer from the white is nice, lets have that in black too") ---------- */
:root { --footer-h: min(100svh, calc(760 * var(--u))); }
.ft-space { height: var(--footer-h); pointer-events: none; }
.ft { --r: 1; position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; height: var(--footer-h); overflow: hidden; color: #fff; background: #0a0908; font-family: Geist, system-ui, sans-serif; }
.ft-bg { position: absolute; inset: -6% 0 0; background: #0a0908 50% 55% / cover no-repeat; transform: translateY(calc((1 - var(--r)) * 8%)) scale(calc(1.06 - .06 * var(--r))); }
.ft-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.08) 32%, transparent 60%, rgba(10,9,8,.4) 100%); }
.ft-in { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; box-sizing: border-box;
  padding: clamp(calc(64 * var(--u)), 10svh, calc(112 * var(--u))) clamp(20px, 4.4vw, calc(64 * var(--u))) calc(18 * var(--u));
  opacity: min(1, calc(.3 + 2.4 * var(--r))); transform: translateY(calc((1 - var(--r)) * var(--footer-h))); }
.ft-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(16px, 1.7vw, calc(24 * var(--u))); row-gap: calc(36 * var(--u)); }
.ft-t { margin: 0 0 calc(14 * var(--u)); font-size: max(12px, calc(13 * var(--u))); font-weight: 400; color: #fff; }
.ft-col ul, .ft-soc { margin: 0; padding: 0; list-style: none; }
.ft-col ul { display: grid; justify-items: start; gap: calc(5 * var(--u)); }
.ft-col a, .ft-sign { display: inline-block; padding: calc(2 * var(--u)) calc(3 * var(--u)); margin-left: calc(-3 * var(--u)); border: 0; background: none; cursor: pointer;
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; font-size: max(10.5px, calc(11.5 * var(--u))); letter-spacing: .04em; text-transform: uppercase; text-align: left; text-decoration: none;
  color: rgba(247,247,247,.74); overflow-wrap: anywhere; transition: background .18s cubic-bezier(.23,1,.32,1), color .18s cubic-bezier(.23,1,.32,1); }
.ft-col a:hover, .ft-col a:focus-visible, .ft-sign:hover, .ft-sign:focus-visible, .ft-sign[aria-expanded="true"] { background: #fff; color: #000; }
.ft-form { display: none; align-items: center; margin-top: calc(8 * var(--u)); border-bottom: 1px solid rgba(255,255,255,.3); max-width: calc(220 * var(--u)); min-width: 160px; flex-wrap: wrap; }
.ft-sign[aria-expanded="true"] + .ft-form { display: flex; }
.ft-form input { flex: 1; min-width: 0; padding: 6px 0; border: 0; background: none; color: #fff; font: 400 max(12px, calc(13 * var(--u)))/1.3 Geist, sans-serif; outline: none; }
.ft-form input::placeholder { color: rgba(255,255,255,.45); }
.ft-form button { border: 0; background: none; color: #fff; cursor: pointer; padding: 4px 2px; font-size: 14px; }
.ft-thanks { display: none; width: 100%; padding: 6px 0; font-size: 12px; color: rgba(255,255,255,.7); }
.ft-form.sent input, .ft-form.sent button { display: none; }
.ft-form.sent .ft-thanks { display: block; }
.ft-soc { position: absolute; top: clamp(calc(64 * var(--u)), 10svh, calc(112 * var(--u))); right: clamp(20px, 4.4vw, calc(64 * var(--u))); display: flex; gap: calc(6 * var(--u)); }
.ft-soc a { display: grid; place-items: center; width: max(32px, calc(36 * var(--u))); height: max(32px, calc(36 * var(--u))); color: #fff; opacity: .86; transition: opacity .18s, background .18s, color .18s; }
.ft-soc a:hover, .ft-soc a:focus-visible { opacity: 1; background: #fff; color: #000; }
.ft-soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft-mark { align-self: end; justify-self: center; display: flex; align-items: center; gap: calc(9 * var(--u)); margin-bottom: clamp(calc(36 * var(--u)), 8svh, calc(96 * var(--u))); color: inherit; text-decoration: none; }
.ft-mark img { width: max(16px, calc(18 * var(--u))); height: max(16px, calc(18 * var(--u))); }
.ft-mark span { font: 400 max(10px, calc(11 * var(--u)))/1 "Josefin Sans", Geist, sans-serif; letter-spacing: .55em; margin-right: -.55em; padding-top: .18em; color: #fff; }
.ft-base { display: grid; grid-template-columns: 1fr auto; gap: calc(16 * var(--u)); font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; font-size: max(10px, calc(10.5 * var(--u))); letter-spacing: .06em; text-transform: uppercase; color: rgba(247,247,247,.6); }
.ft-base > :last-child { text-align: right; }
@media (prefers-reduced-motion: reduce) { .ft-bg, .ft-in { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-in { grid-template-rows: auto auto 1fr auto; }
  .ft-soc { position: static; justify-content: center; margin: calc(40 * var(--u)) 0 0; }
  .ft-mark { margin-top: calc(32 * var(--u)); }
  .ft-base { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
  .ft-base > :last-child { text-align: center; }
}
@media (max-width: 700px) { .ft { position: relative; height: auto; min-height: 100svh; } .ft-space { display: none; } .ft-in { opacity: 1; transform: none; min-height: 100svh; } .ft-bg { transform: none; } }
@media (max-width: 560px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (pointer: coarse) { .ft-col a { position: relative; } .ft-col a::after { content: ""; position: absolute; inset: -8px -4px; } }

/* the footer is as tall as its contents need: on tablets the columns wrap, so it gets more room (Raktim, 2026-11-30: "clipping") */
:root { --footer-h: min(100svh, max(calc(760 * var(--u)), 560px)); }
@media (max-width: 900px) { :root { --footer-h: min(100svh, 640px); } }

/* the footer shows only where the page has lifted off it (Raktim, 2026-11-30: "the footer image is weird, fixed here across
   the site"): clipped to the uncovered strip at the bottom, nothing until the end of the page */
.ft { --r: 0; clip-path: inset(calc((1 - var(--r)) * 100%) 0 0 0); }
@media (max-width: 700px) { .ft { clip-path: none; } }

/* no rubber-band at the ends of the page: past the bottom the page sprang away from the fixed footer and snapped back
   (Raktim, 2026-11-30: "it becomes bouncy and then comes back") */
html, body { overscroll-behavior-y: none; }

/* sign up for updates, as on the white site (signup.js; Raktim, 2026-11-30): a quiet underlined link beside Pre-order in
   the nav, under Pre-order in the close, and under Write to us in the footer */
.nav-end { display: flex; align-items: center; gap: max(14px, calc(22 * var(--u))); justify-self: end; grid-column: 3; grid-row: 1; }
.nav-sign, .po-signup { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: max(13px, calc(14 * var(--u))); color: rgba(255,255,255,.72);
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.28); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.nav-sign:hover, .po-signup:hover { color: #fff; text-decoration-color: currentColor; }
.po-signup { font-size: max(14px, calc(15 * var(--u))); }
@media (max-width: 720px) { .nav-sign { display: none; } }
/* footer: the mark on the bottom line, between the company and the cities (Raktim, 2026-11-30: "bottom align") */
.ft-in { grid-template-rows: auto 1fr auto !important; }
.ft-base { grid-template-columns: 1fr auto 1fr !important; align-items: center; }
.ft-base .ft-mark { margin: 0 !important; align-self: center; justify-self: center; }
.ft-base > :last-child { text-align: right; }
@media (max-width: 900px) { .ft-in { grid-template-rows: auto auto 1fr auto !important; } .ft-base { grid-template-columns: 1fr !important; } .ft-base > :last-child { text-align: center; } }
.ft-base { align-self: end; }   /* the last line, mark and all, sits on the footer's bottom */

/* the thesis steps play in a loop, as on the white site (Raktim, 2026-11-30: "there was some pulsating thing on the white
   one"): before each step the dots on the way to it grow one by one, in the flame's colours, then the step lights up
   and holds 0.9s; four steps loop in 4.8s, two in 3s. The single lit step (approval) sends out a ripple, like a tap */
.trail i { width: 3px; height: 3px; }
.trail i:nth-child(1) { --k: 0; background: var(--iris-1); }
.trail i:nth-child(2) { --k: 1; background: var(--iris-2); }
.trail i:nth-child(3) { --k: 2; background: var(--iris-4); }
@media (prefers-reduced-motion: no-preference) {
  .steps:not(.lit) .step > svg, .steps:not(.lit) .step > .nm { opacity: .34; animation: step-on-4 4.8s cubic-bezier(.23, 1, .32, 1) calc(.6s + var(--i, 0) * .9s) infinite both; }
  .steps:not(.lit) .trail i { animation: dot-grow-4 4.8s linear calc(.15s + var(--i, 0) * .9s + var(--k) * .13s) infinite both; }
  .steps:not(.lit):not(:has(> .step:nth-child(3))) .step > svg, .steps:not(.lit):not(:has(> .step:nth-child(3))) .step > .nm { animation-name: step-on-2; animation-duration: 3s; }
  .steps:not(.lit):not(:has(> .step:nth-child(3))) .trail i { animation-name: dot-grow-2; animation-duration: 3s; }
  .steps.lit .step { position: relative; }
  .steps.lit .step::after { content: ""; position: absolute; left: 0; top: 0; width: max(48px, calc(64 * var(--u))); height: max(48px, calc(64 * var(--u))); border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); opacity: 0; pointer-events: none; animation: step-ripple 2.4s cubic-bezier(.2, .7, .3, 1) .8s infinite both; }
}
@keyframes step-on-4 { 0% { opacity: .34; transform: none; } 4%, 16% { opacity: 1; transform: translateY(calc(-3 * var(--u))); } 21%, 100% { opacity: .34; transform: none; } }
@keyframes step-on-2 { 0% { opacity: .34; transform: none; } 6.3%, 25.6% { opacity: 1; transform: translateY(calc(-3 * var(--u))); } 33.3%, 100% { opacity: .34; transform: none; } }
@keyframes dot-grow-4 { 0% { transform: scale(1); animation-timing-function: cubic-bezier(.2, .7, .2, 1); } 3.5% { transform: scale(1.85); animation-timing-function: cubic-bezier(.45, 0, .55, 1); } 10%, 100% { transform: scale(1); } }
@keyframes dot-grow-2 { 0% { transform: scale(1); animation-timing-function: cubic-bezier(.2, .7, .2, 1); } 5.6% { transform: scale(1.85); animation-timing-function: cubic-bezier(.45, 0, .55, 1); } 16%, 100% { transform: scale(1); } }
@keyframes step-ripple { 0% { opacity: .7; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(1.5); } }

/* the closing band on every page gets room under it before the footer starts (Raktim, 2026-11-30: "fix it across") */
.closer { padding-bottom: clamp(120px, 18vh, calc(220 * var(--u))) !important; }

/* inner pages (Raktim, 2026-11-30): less empty screen under the intro, so the first section starts on the first screen
   ("too much empty at the bottom of the viewport"); and the closing band on the same grid as every section above it,
   heading in columns 1 to 4, its copy and actions from column 6 ("not well aligned") */
.mast { padding-bottom: calc(56 * var(--u)) !important; }
.mast + .sec, .mast + section, .mast + * + .sec { padding-top: calc(var(--sec) * .5) !important; }
@media (min-width: 721px) {
  .closer h2 { grid-column: 1 / 5 !important; }
  .closer .cb { grid-column: 6 / 13 !important; }
}
.mast { padding-top: calc(var(--banner-max) + var(--nav-h) + 104 * var(--u)) !important; }
.mast + .sec, .mast + section, .mast + * + .sec { padding-top: calc(88 * var(--u)) !important; }

/* the closing band's card on the warm picture, as on the white site (Raktim, 2026-11-30: "it had a nice bg in the white
   page"): one of Aina's dark banners (the warm-light one is out: Raktim, 2026-11-30), washed dark from the left here so the white type reads */
@media (min-width: 721px) {
  .closer .cb { position: relative; isolation: isolate; display: grid; align-content: center; min-height: clamp(300px, 30vw, calc(520 * var(--u)));
    padding: clamp(32px, 4.4vw, calc(80 * var(--u))) !important; background: #0b0b0a url("../img/aina-banner-rebrand-announcement.webp") 50% 50% / cover no-repeat; }
  .closer .cb::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(10,9,8,.94) 0%, rgba(10,9,8,.8) 38%, rgba(10,9,8,.25) 72%, rgba(10,9,8,0) 100%); }
  .closer .cb .t-body { color: rgba(255,255,255,.7) !important; }
}
@media (max-width: 720px) {
  .closer .cb { position: relative; isolation: isolate; padding: 28px 22px; background: #0b0b0a url("../img/aina-banner-rebrand-announcement.webp") 50% 50% / cover no-repeat; }
  .closer .cb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.78) 60%, rgba(10,9,8,.35) 100%); }
}

/* "Read the story": brightens and its arrow steps out when the story is pointed at (Raktim, 2026-11-30: "no hover state") */
.go { transition: color .25s cubic-bezier(.23,1,.32,1); }
.go svg { transition: transform .3s cubic-bezier(.23,1,.32,1); }
a:hover .go, a:focus-visible .go, .go:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 6px; }
a:hover .go svg, a:focus-visible .go svg, .go:hover svg { transform: translate(3px, -3px); }

/* ---------- the opening banner, as on the white site's pages (Raktim, 2026-11-30: "have the same banner interaction for
   the landing of these pages across all pages ... like the white page"). At rest one of Aina's banners fills the screen
   with the title and intro over it, bottom left; on the first scroll it draws back into the right-hand column (where the
   page's content column starts), and opens out again back at the top. Phones get the banner under the title. ---------- */
@property --mp { syntax: "<number>"; inherits: true; initial-value: 0; }
html { --mp: 0; transition: --mp 1s cubic-bezier(.7, 0, .18, 1); }
html.mast-pushed { --mp: 1; }
.mast-b { --col-l: calc((100vw - 1512 * var(--u)) / 2 + 48 * var(--u) + 5 * ((1512 * var(--u) - 96 * var(--u) - 264 * var(--u)) / 12 + 24 * var(--u)));
  --left: calc((100vw - 1512 * var(--u)) / 2 + 48 * var(--u));
  position: relative; height: calc(100svh + 36svh); padding: 0 !important; }
.mast-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mast-field { position: absolute; inset: 0; background: radial-gradient(55% 75% at 70% 46%, color-mix(in srgb, var(--block) 24%, transparent), transparent 72%), #0a0908; }
.mast-photo { position: absolute; inset: 0; background: #111 50% 50% / cover no-repeat; clip-path: inset(0 0 0 calc(var(--col-l) * var(--mp))); animation: mast-in 1.2s cubic-bezier(.23, 1, .32, 1) .05s both; }
.mast-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.55), rgba(10,9,8,.15) 55%, transparent), linear-gradient(transparent 55%, rgba(10,9,8,.45)); opacity: calc(1 - var(--mp)); }
@keyframes mast-in { from { opacity: 0; } }
.mast-head { position: absolute; z-index: 2; left: var(--left); right: calc(100vw - var(--col-l) + 24 * var(--u)); bottom: calc(72 * var(--u)); display: grid; gap: clamp(18px, 2.6svh, calc(28 * var(--u))); }
.mast-head .t-title { margin: 0; font-size: clamp(34px, 3.4vw, calc(56 * var(--u))) !important; line-height: 1.04; color: #fff;
  text-shadow: 0 0 calc(28 * var(--u)) rgba(0,0,0,calc(.45 * (1 - var(--mp)))), 0 1px 2px rgba(0,0,0,calc(.25 * (1 - var(--mp)))); }
.mast-head .t-intro { margin: 0 !important; max-width: 36ch; font-size: clamp(16px, 1.2vw, calc(19 * var(--u))) !important; line-height: 1.5; color: rgba(255,255,255,.8);
  text-shadow: 0 0 calc(24 * var(--u)) rgba(0,0,0,calc(.45 * (1 - var(--mp)))); }
.mast-after { padding-top: calc(56 * var(--u)); }
.mast-after .grid > * { grid-column: 1 / -1; margin-top: 0 !important; }
.mast-b + .sec, .mast-b + section, .mast-after + .sec, .mast-after + section { padding-top: calc(var(--sec) * .6) !important; }
@media (prefers-reduced-motion: reduce) { html { transition: none; } .mast-photo { animation: none; } }
@media (max-width: 720px) {
  .mast-b { height: auto; }
  .mast-stage { position: static; height: auto; display: flex; flex-direction: column; overflow: visible; }
  .mast-field { display: none; }
  .mast-head { position: static; order: 1; padding: calc(var(--nav-h) + 56px) 20px 28px; }
  .mast-photo { position: relative; order: 2; height: 56svh; clip-path: none; }
  .mast-photo::after { display: none; }
  .mast-head .t-title, .mast-head .t-intro { text-shadow: none; }
}

/* the footer no longer clips itself to the uncovered strip (that clip trailed a frame behind a fast scroll up and left a
   black line, Raktim 2026-11-30): the page sits in front of it instead and covers it, and it's simply hidden until the
   page reaches its last screen */
.ft { clip-path: none !important; }
.ft[style*="--r: 0.0000"] { visibility: hidden; }
main { position: relative; z-index: 1; background: #0a0908; }

/* the opening banner draws back over a second instead of jumping: the root's two transitions in one rule (the CES strip's
   height and the banner's --mp), since one rule was overriding the other (Raktim, 2026-11-30: "resizing instantly") */
:root, html { transition: --banner-h .5s cubic-bezier(.22, 1, .36, 1), --mp 1s cubic-bezier(.7, 0, .18, 1) !important; }
html.ces-now { transition: --mp 1s cubic-bezier(.7, 0, .18, 1) !important; }
@media (prefers-reduced-motion: reduce) { :root, html { transition: none !important; } }

/* thesis steps, take 2 (Raktim, 2026-11-30: "no flame colours, just grey muted ones, and then a white one to grow and
   selected"; "square pulse is shit"): the dots a muted grey, each turning white as it swells on the way to its step; the
   lit step's pulse a soft round ring centred on the mark */
.trail i, .trail i:nth-child(1), .trail i:nth-child(2), .trail i:nth-child(3) { background: rgba(255,255,255,.22) !important; }
@keyframes dot-grow-4 { 0% { transform: scale(1); background: rgba(255,255,255,.22); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  3.5% { transform: scale(1.9); background: #fff; animation-timing-function: cubic-bezier(.45, 0, .55, 1); } 10%, 100% { transform: scale(1); background: rgba(255,255,255,.22); } }
@keyframes dot-grow-2 { 0% { transform: scale(1); background: rgba(255,255,255,.22); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  5.6% { transform: scale(1.9); background: #fff; animation-timing-function: cubic-bezier(.45, 0, .55, 1); } 16%, 100% { transform: scale(1); background: rgba(255,255,255,.22); } }
.trail i { border-radius: 50% !important; }
@media (prefers-reduced-motion: no-preference) {
  .steps.lit .step::after { border-radius: 50% !important; box-shadow: none !important; border: 1px solid rgba(255,255,255,.35);
    left: calc(max(48px, 64 * var(--u)) / 2); top: calc(max(48px, 64 * var(--u)) / 2); width: calc(max(48px, 64 * var(--u)) * 1.1); height: calc(max(48px, 64 * var(--u)) * 1.1);
    translate: -50% -50%; animation: step-ring 2.6s cubic-bezier(.2, .7, .3, 1) .8s infinite both !important; }
}
@keyframes step-ring { 0% { opacity: .6; scale: .7; } 75%, 100% { opacity: 0; scale: 1.7; } }

/* the thesis's closing statement in the site's own face, sentence case (Raktim, 2026-11-30: "weird font") */
.statement .jos { font-family: Geist, system-ui, sans-serif !important; font-weight: 200 !important; text-transform: none !important; letter-spacing: -.035em !important; }

/* the nav as on the white site (Raktim, 2026-11-30): always at the top, it slides up out of view while the page scrolls
   down and comes straight back on any scroll up; once the page has left the top it gets a frosted dark bar, and the CES
   strip folds away. Replaces the old "scrolls away, back when the pointer nears the top" */
body > .nav, body > .banner { position: fixed !important; animation-name: none; }
html.nav-peek body > .nav, html.nav-peek body > .banner, html.nav-peek.nav-leave body > .nav, html.nav-peek.nav-leave body > .banner { animation: none !important; pointer-events: auto !important; }
body > .nav { transition: transform .42s cubic-bezier(.32, .72, 0, 1), background-color .4s cubic-bezier(.23, 1, .32, 1), box-shadow .4s cubic-bezier(.23, 1, .32, 1) !important; }
body > .banner { transition: transform .42s cubic-bezier(.32, .72, 0, 1) !important; }
html.nav-scrolled body > .banner { transform: translateY(-100%); }
html.nav-scrolled body > .nav { transform: translateY(calc(-1 * var(--banner-h, 0px))); background: rgba(10, 9, 8, .72) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important; backdrop-filter: blur(20px) saturate(140%) !important; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08) !important; }
html.nav-hidden body > .nav:not(:has(:focus-visible)) { transform: translateY(calc(-100% - var(--banner-h, 0px))); }
@media (prefers-reduced-motion: reduce) { body > .nav, body > .banner { transition: none !important; } }

/* footer (30 Nov): much shorter — just the link columns and the bottom line, no tall empty band between them */
:root { --footer-h: max(calc(380 * var(--u)), 340px) !important; }
@media (max-width: 900px) { :root { --footer-h: var(--ft-mob-h, 600px) !important; } }
.ft-in { padding-top: max(calc(64 * var(--u)), 48px) !important; padding-bottom: max(calc(22 * var(--u)), 18px) !important; }
@media (max-width: 700px) { .ft, .ft-in { min-height: 0 !important; height: auto !important; } }   /* phones: the footer is as tall as its links, not a full screen */

/* hygiene (30 Nov): one side margin on every page — the nav's. Desktop 48 Figma px (growing past 1512 like the nav),
   phones 20px. The footer's columns and bottom line sit on it too */
:root { --pm: max(calc(48 * var(--u)), calc((100vw - 1512px) / 2 + 48 * var(--u))); }
@media (max-width: 720px) { :root { --pm: 20px; } .nav { padding: 0 var(--pm); } }
.ft-in { padding-left: var(--pm) !important; padding-right: var(--pm) !important; }
/* long links and words (the Shopify privacy URL on privacy.html) wrap instead of pushing the page sideways on 320px phones */
main p, main li, main dd, main td { overflow-wrap: anywhere; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
