/*
 * Stackra file contract:
 * Purpose: the stylesheet of figentra.com, written on the brand's tokens only: every colour, face, type step, radius
 *          and duration is a custom property that `assets/theme.css` sets from the pulled brand kit at build time, so
 *          no brand value is written here. Ink and paper grounds, the amber for the bar and the one filled button per
 *          view, no gradients, no glass. Logical properties throughout, so Arabic mirrors without a second sheet.
 * Boundary: layout and the kit's visual grammar (ruled bands, statement with steel keywords, bento cards, product
 *           cards with a status word, the mono display, the dock). Nothing moves on its own but the bar's blink and
 *           the floors' rise; both stop under prefers-reduced-motion.
 * Runtime: browser
 * Governing contract: the brand's motion principles and `family/MOTION.md`; content plan `figentra/UX.md` section 0;
 *                     WCAG 2.2 AA.
 */

/* ── Base ─────────────────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 5rem;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: var(--body);
  letter-spacing: var(--body-tracking);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
:root:lang(ar) body {
  letter-spacing: 0;
}
main {
  flex: 1;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--link);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
::selection {
  background: var(--accent);
  color: var(--accent-foreground);
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
code,
kbd,
samp {
  font: var(--mono);
  font-variant-numeric: tabular-nums;
}
:root:lang(ar) code {
  letter-spacing: 0;
}
h1 {
  font: var(--display);
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
}
h2 {
  font: var(--h2);
  letter-spacing: var(--h2-tracking);
  text-wrap: balance;
}
h3 {
  font: var(--h3);
  letter-spacing: var(--h3-tracking);
  text-wrap: balance;
}
:root:lang(ar) h1,
:root:lang(ar) h2,
:root:lang(ar) h3 {
  letter-spacing: 0;
}
.lede {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 56ch;
  text-wrap: pretty;
}
.eyebrow {
  font: var(--label);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--muted);
}
:root:lang(ar) .eyebrow {
  font: var(--small);
  text-transform: none;
  letter-spacing: 0;
}
.note {
  color: var(--muted);
  font: var(--small);
}
bdi,
[dir="ltr"] {
  unicode-bidi: isolate;
}
.skip {
  position: absolute;
  inset-inline-start: -200vw;
  inset-block-start: 0.75rem;
  z-index: 100;
  background: var(--surface);
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.skip:focus {
  inset-inline-start: 0.75rem;
}
.scheme-dark {
  display: none;
}
[data-theme="dark"] .scheme-light {
  display: none;
}
[data-theme="dark"] .scheme-dark {
  display: block;
}

/* ── The bar: the brand's one motion ─────────────────────────────────────────────────────────── */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.wordmark .bar,
.signature .bar {
  animation: blink var(--duration-blink, 1000ms) steps(1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wordmark .bar,
  .signature .bar {
    animation: none;
  }
}

/* ── Header ───────────────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-block-end: 1px solid transparent;
  transition: border-color var(--duration-base, 250ms) var(--easing-move, ease-in-out);
}
.site-header.is-scrolled {
  border-block-end-color: var(--border);
}
.site-header-inner {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.home {
  flex: none;
  display: inline-flex;
  align-items: center;
  color: var(--foreground);
}
.wordmark {
  display: block;
}
.wordmark svg {
  height: 3.5rem;
  width: auto;
}
.site-nav {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-block: -0.25rem;
  padding-block: 0.25rem;
}
.site-nav::-webkit-scrollbar {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: 0.25rem;
  white-space: nowrap;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding-inline: 0.75rem;
  border-radius: 0;
  color: var(--muted);
  text-decoration: none;
  font: var(--small);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--foreground);
}
.nav-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}
.locale-switch {
  flex: none;
  font: var(--small);
  color: var(--foreground);
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.locale-switch:hover {
  border-color: var(--foreground);
}

/* ── Ruled bands ──────────────────────────────────────────────────────────────────────────────── */
.band {
  position: relative;
}
.band-inner {
  position: relative;
  max-width: 76rem;
  margin-inline: auto;
  padding: 3rem 1rem;
  border-inline: 1px solid var(--border);
}
.band-inner::before,
.band-inner::after {
  content: "+";
  position: absolute;
  inset-block-start: -0.55em;
  color: var(--border);
  font: var(--mono);
  line-height: 1;
  pointer-events: none;
}
.band-inner::before {
  inset-inline-start: -0.3em;
}
.band-inner::after {
  inset-inline-end: -0.3em;
}
/* Under the first breakpoint the column is the viewport, so the corner marks would hang outside it. */
@media (max-width: 47.99rem) {
  .band-inner::before,
  .band-inner::after {
    display: none;
  }
}
.band-chapter .band-inner {
  padding-block-end: 0.5rem;
}
.band-cta .band-inner {
  padding-block-start: 0;
}
@media (min-width: 48rem) {
  .band-inner {
    padding: 4rem 2rem;
  }
}
@media (min-width: 64rem) {
  .band-inner {
    padding-inline: 3rem;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────────── */
.hero .band-inner {
  padding-block: 3rem 2rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
  .hero .band-inner {
    padding-block: 5rem 3rem;
  }
  .hero-words-only .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hero-words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.hero-words .cta-row {
  margin-block-start: 0.5rem;
}
.hero-status {
  display: flex;
}
.hero-horizon {
  position: relative;
  max-width: 76rem;
  margin-inline: auto;
  height: 6rem;
  border-inline: 1px solid var(--border);
  border-block-end: 1px solid var(--border);
  overflow: hidden;
}
.dither {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1.2px);
  background-size: 8px 8px;
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  mask-image: linear-gradient(to top, black, transparent);
}
.horizon-symbol {
  position: absolute;
  inset-inline-end: 2rem;
  inset-block-end: 0.75rem;
  width: 3rem;
  color: var(--muted);
}
.horizon-symbol svg {
  width: 100%;
  height: auto;
}

/* The machine: the family wall, a product tile, or the symbol. */
.machine {
  min-width: 0;
}
.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 40rem) {
  .wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.wall-tile {
  background: var(--surface);
  color: var(--surface-foreground);
  padding: 0.75rem 0.75rem 0.625rem;
  min-height: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.25rem;
}
.wall-name {
  font: var(--small);
  font-weight: 500;
  text-wrap: balance;
}
.wall-status {
  font: var(--caption);
  color: var(--muted);
}
.wall-symbol,
.wall-mark {
  align-items: center;
  justify-content: center;
}
.wall-symbol .symbol {
  width: 1.75rem;
  color: var(--accent);
}
.wall-mark {
  grid-column: span 2;
}
.wall-mark svg {
  width: 100%;
  max-width: 8rem;
  height: auto;
}
.symbol svg {
  width: 100%;
  height: auto;
}
.machine-symbol {
  display: flex;
  justify-content: center;
}
.symbol-large {
  width: min(16rem, 60%);
  color: var(--foreground);
}
.tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  min-height: 14rem;
  justify-content: space-between;
}
.tile-name {
  font: var(--h1);
  letter-spacing: var(--h1-tracking);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
:root:lang(ar) .tile-name {
  letter-spacing: 0;
}
.signature svg {
  height: 2rem;
  width: auto;
}

/* ── Statement ────────────────────────────────────────────────────────────────────────────────── */
.statement {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 48rem;
}
.statement-text {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.4;
  font-weight: 500;
  text-wrap: balance;
}
.statement-text:empty {
  display: none;
}
.steel {
  color: var(--accent);
  font-weight: 600;
}
.facts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
}
.facts li {
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--accent);
}
.statement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: none;
  height: 100%;
}
.statement-card .statement-text {
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}
.statement-card .steel {
  display: block;
  margin-block-end: 0.375rem;
  font-size: 1.125rem;
}

/* ── Chapter ──────────────────────────────────────────────────────────────────────────────────── */
.chapter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 44rem;
}
.subtitle {
  color: var(--muted);
  text-wrap: pretty;
}

/* ── Cards ────────────────────────────────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.cards-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block-end: 0.75rem;
  margin-inline: -1rem;
  padding-inline: 1rem;
  scrollbar-color: var(--border) transparent;
}
.cards-strip .card {
  flex: 0 0 min(18rem, 80vw);
  scroll-snap-align: start;
}
.card {
  position: relative;
  background: var(--surface);
  color: var(--surface-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 9rem;
}
.card:has(a.cover:hover) {
  border-color: var(--foreground);
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card-title a.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card-kicker {
  font: var(--caption);
  color: var(--muted);
}
.card-tagline {
  font-weight: 500;
}
.card-text {
  color: var(--muted);
  font: var(--small);
}
.card-foot {
  margin-block-start: auto;
  padding-block-start: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.card-link {
  font: var(--small);
  color: var(--link);
}
.card-link.held {
  color: var(--muted);
}
.cards-link,
.statement-link,
.station-link {
  margin-block-start: 1.5rem;
}

/* Status words, never a colour alone. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: var(--caption);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0;
  background: var(--muted);
}
.status-production .status-dot {
  background: var(--success);
}
.status-published .status-dot,
.status-open-source .status-dot {
  background: var(--accent);
}
.status-coming .status-dot {
  background: var(--warning);
}
.status-planned .status-dot {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--muted);
}
.held {
  color: var(--muted);
}
.held-note {
  font: var(--caption);
}

/* ── Bento ────────────────────────────────────────────────────────────────────────────────────── */
.bento {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .bento-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Calls ────────────────────────────────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.button-core {
  background: var(--accent);
  color: var(--accent-foreground);
}
.button-core:hover {
  background: color-mix(in oklab, var(--accent) 88%, var(--foreground));
}
.button-ghost {
  color: var(--foreground);
  border-color: var(--border);
}
.button-ghost:hover {
  border-color: var(--foreground);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding-inline: 1rem 0.25rem;
  min-height: 2.75rem;
}
.chip code {
  font-size: 0.9375rem;
}
.prompt {
  color: var(--muted);
}
button.copy {
  font: var(--caption);
  color: var(--foreground);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  min-height: 2.25rem;
}
button.copy:hover {
  border-color: var(--foreground);
}

/* ── Station ──────────────────────────────────────────────────────────────────────────────────── */
.station {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-inline-start: 2rem;
}
.station::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0.5rem;
  width: 2px;
  background: var(--border);
}
.station::after {
  content: "";
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-start: calc(0.5rem - 5px);
  width: 12px;
  height: 12px;
  background: var(--accent);
}
.station-words {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 44rem;
}
.station-tagline {
  font-weight: 500;
}
.station-body {
  color: var(--muted);
  text-wrap: pretty;
}
@media (min-width: 64rem) {
  .station:has(.station-window) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ── Terminal ─────────────────────────────────────────────────────────────────────────────────── */
.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  max-width: 48rem;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-block-end: 1px solid var(--border);
  color: var(--muted);
}
.terminal-dots {
  width: 2.5rem;
  height: 0.5rem;
  background: radial-gradient(circle, var(--border) 3px, transparent 3.5px) 0 0 / 0.8rem 0.5rem
    repeat-x;
}
.terminal-body {
  padding: 1rem;
  font: var(--mono);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 7rem;
}
.line-note {
  color: var(--muted);
  font: var(--small);
  margin-block-start: 0.5rem;
}

/* ── Ask the docs ─────────────────────────────────────────────────────────────────────────────── */
.ask-ai {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}
.ask-ai label {
  font: var(--h3);
  letter-spacing: var(--h3-tracking);
}
.ask-ai input {
  font: var(--body);
  padding: 0.75rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background: var(--field-background);
  color: var(--field-foreground);
}
.ask-ai input::placeholder {
  color: var(--field-placeholder);
}
.ask-ai input:disabled {
  opacity: 0.7;
}

/* ── Mono display ─────────────────────────────────────────────────────────────────────────────── */
.mono-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.mono-title {
  font: var(--display);
  font-family: var(--font-mono);
  letter-spacing: var(--display-tracking);
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  color: var(--accent);
}
.floors {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.375rem;
  width: min(100%, 28rem);
}
.floor {
  height: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  visibility: hidden;
}
.floor.is-up {
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .floor {
    visibility: visible;
  }
}

/* ── Property list ────────────────────────────────────────────────────────────────────────────── */
.properties {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 2rem;
  max-width: 44rem;
  border-block-start: 1px solid var(--border);
}
.properties dt,
.properties dd {
  padding-block: 0.875rem;
  border-block-end: 1px solid var(--border);
  margin: 0;
}
.properties dt {
  color: var(--muted);
  font: var(--small);
  padding-block-start: 1rem;
}
@media (max-width: 40rem) {
  .properties {
    grid-template-columns: minmax(0, 1fr);
  }
  .properties dt {
    border-block-end: 0;
    padding-block-end: 0;
  }
}

/* ── Legal shells ─────────────────────────────────────────────────────────────────────────────── */
.doc {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.doc-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 44rem;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  color: var(--muted);
  font: var(--small);
}
.badge {
  display: inline-flex;
  align-items: center;
  font: var(--caption);
  color: var(--warning);
  border: 1px solid currentColor;
  border-radius: var(--radius-md);
  padding: 0.2rem 0.6rem;
}
.doc-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .doc-grid {
    grid-template-columns: 16rem minmax(0, 44rem);
  }
  .toc {
    position: sticky;
    inset-block-start: 5rem;
    align-self: start;
  }
}
.toc-title {
  font: var(--label);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 0.75rem;
}
:root:lang(ar) .toc-title {
  text-transform: none;
  letter-spacing: 0;
}
.toc ol {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font: var(--small);
}
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--foreground);
}
.doc-body {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.65;
}
.doc-body h2 {
  margin-block-start: 1.5rem;
}
.doc-body h3 {
  margin-block-start: 0.75rem;
}
.doc-body ul,
.doc-body ol {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-inline-start: 1.25rem;
}
.doc-body ul {
  list-style: disc;
}
.doc-body ol {
  list-style: decimal;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font: var(--small);
}
th,
td {
  text-align: start;
  vertical-align: top;
  padding: 0.75rem 1rem 0.75rem 0;
  border-block-end: 1px solid var(--border);
}
th {
  font: var(--caption);
  color: var(--muted);
}
.placeholder {
  background: transparent;
  color: var(--warning);
  font: var(--mono);
  font-size: 0.875em;
  border: 1px dashed currentColor;
  border-radius: var(--radius-sm);
  padding-inline: 0.25rem;
}
.doc-foot {
  border-block-start: 1px solid var(--border);
  padding-block-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 44rem;
  color: var(--muted);
  font: var(--small);
}

/* ── 404 ──────────────────────────────────────────────────────────────────────────────────────── */
.error-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 40rem;
  min-height: 40vh;
  justify-content: center;
}

/* ── Dock ─────────────────────────────────────────────────────────────────────────────────────── */
.dock {
  display: none;
}
@media (min-width: 64rem) {
  .dock {
    display: block;
    position: fixed;
    inset-inline-end: 1rem;
    inset-block-start: 50%;
    transform: translateY(-50%);
    z-index: 40;
    max-width: 11rem;
  }
  .dock ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .dock a {
    display: block;
    font: var(--caption);
    color: var(--muted);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-inline-start: 2px solid var(--border);
    text-wrap: balance;
  }
  .dock a:hover,
  .dock a.is-current {
    color: var(--foreground);
    border-inline-start-color: var(--accent);
  }
}
@media (min-width: 64rem) and (max-width: 90rem) {
  .dock {
    inset-block-start: auto;
    inset-block-end: 1rem;
    transform: none;
  }
}

/* ── Footer ───────────────────────────────────────────────────────────────────────────────────── */
.site-footer {
  border-block-start: 1px solid var(--border);
  margin-block-start: 2rem;
}
.footer-inner {
  max-width: 76rem;
  margin-inline: auto;
  padding: 3rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .footer-inner {
    padding-inline: 2rem;
  }
}
.footer-groups {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 48rem) {
  .footer-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .footer-groups {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer-title {
  font: var(--label);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 0.75rem;
}
:root:lang(ar) .footer-title {
  font: var(--caption);
  text-transform: none;
  letter-spacing: 0;
}
.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font: var(--small);
}
.footer-group:first-child ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem 1rem;
}
.footer-group a {
  color: var(--muted);
  text-decoration: none;
}
.footer-group a:hover {
  color: var(--foreground);
  text-decoration: underline;
}
.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  border-block-start: 1px solid var(--border);
  padding-block-start: 1.5rem;
  color: var(--muted);
  font: var(--small);
}
.legal-line {
  flex: 1;
  min-width: 14rem;
}
.review-note {
  width: 100%;
  font: var(--caption);
}

/* ── Narrow screens: nothing wider than its column ───────────────────────────────────────────── */
.station,
.ask-ai,
.terminal,
.cta-row > * {
  min-width: 0;
  max-width: 100%;
}
.ask-ai input {
  width: 100%;
}
.terminal-body {
  overflow-x: auto;
}
.chip {
  flex-wrap: wrap;
}

/* ══ The redesign (2026-11-10): the family's own marks, the 3D stills, chapter numbers, reveal ══════════════════ */

/* Chapters are numbered in mono, in the amber: a page reads as a sequence. */
main {
  counter-reset: chapter;
}
.band-chapter .chapter::before {
  counter-increment: chapter;
  content: counter(chapter, decimal-leading-zero);
  font: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.band-chapter .band-inner {
  padding-block-start: 4.5rem;
}
.chapter h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
}
.subtitle {
  font-size: 1.0625rem;
  max-width: 52ch;
}

/* Hero: a larger headline, and the 3D still of the mark as the machine. */
.hero h1 {
  font-size: clamp(2.375rem, 5.8vw, 4.25rem);
  line-height: 1.02;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.hero .eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 3px;
  background: var(--accent);
}
@media (min-width: 64rem) {
  .hero-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
  .hero .band-inner {
    padding-block: 6rem 4rem;
  }
}
.hero-still {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}
.hero-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-still {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.hero-horizon {
  height: 4rem;
}

/* A brand's symbol as a small mark on a card. */
.card-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
}
.card-mark img {
  width: 1.5rem;
  height: 1.5rem;
}
.product-card,
.family-tile {
  --brand: var(--accent);
}
.product-card {
  padding: 1.5rem;
  gap: 0.625rem;
  transition: border-color var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.product-card .card-mark {
  margin-block-end: 0.5rem;
}
.product-card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 1.5rem;
  width: 2rem;
  height: 2px;
  background: var(--brand);
  transition: width var(--duration-base, 250ms) var(--easing-enter, ease-out);
}
.product-card:hover::before {
  width: calc(100% - 3rem);
}
.card-title {
  font-size: 1.1875rem;
}
.cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}

/* The family wall: every product's own mark. */
.family-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 40rem) {
  .family-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .family-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.family-tile {
  background: var(--surface);
  min-height: 9rem;
  display: flex;
}
.family-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.25rem 1rem 1rem;
  color: var(--surface-foreground);
  text-decoration: none;
  box-shadow: inset 0 0 0 0 var(--brand);
  transition:
    box-shadow var(--duration-fast, 150ms) var(--easing-enter, ease-out),
    background-color var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.family-link:hover {
  background: var(--background);
  box-shadow: inset 0 2px 0 0 var(--brand);
}
.family-link:focus-visible {
  outline-offset: -2px;
}
.family-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  margin-block-end: auto;
}
.family-mark img {
  width: 100%;
  height: 100%;
}
.family-initial {
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: var(--small);
  font-weight: 600;
}
.family-name {
  font: var(--small);
  font-weight: 500;
  margin-block-start: 1rem;
  text-wrap: balance;
}
.family-status {
  font: var(--caption);
  color: var(--muted);
}
.family-master {
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* The new status words. */
.status-beta .status-dot,
.status-public .status-dot {
  background: var(--accent);
}
.status-development .status-dot {
  background: var(--warning);
}
.status-request .status-dot {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--muted);
}

/* Stations and statements breathe a little more. */
.station-words h3 {
  font-size: 1.375rem;
}
.station-body {
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Reveal: a block below the fold arrives whole, once, 8px and a fade; the script marks only what is not yet in view. */
.will-reveal {
  opacity: 0;
  transform: translateY(8px);
}
.will-reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--duration-base, 250ms) var(--easing-enter, ease-out),
    transform var(--duration-base, 250ms) var(--easing-enter, ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    opacity: 1;
    transform: none;
  }
  .product-card::before,
  .family-link {
    transition: none;
  }
}

/* The catalogue's filter. */
.band-filter .band-inner {
  padding-block: 0;
}
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter[hidden] {
  display: none;
}
.filter-chip {
  font: var(--small);
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  min-height: 2.5rem;
  cursor: pointer;
  transition:
    color var(--duration-fast, 150ms) var(--easing-enter, ease-out),
    border-color var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.filter-chip:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}
.filter-chip[aria-pressed="true"] {
  color: var(--accent-foreground);
  background: var(--accent);
  border-color: var(--accent);
}
.band[hidden] {
  display: none;
}

/* ══ Flat, yellow and ink (owner, 2026-11-10): no glow, no 3D; fields, rules and dots ═════════════════════════ */
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.hero {
  border-block-end: 1px solid var(--border);
}
.hero .band-inner.hero-flat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
  border-inline-color: transparent;
}
.hero-flat::before,
.hero-flat::after {
  display: none;
}
.hero-words {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 40rem;
}
.hero-words > * {
  animation: arrive 480ms var(--easing-enter, ease-out) both;
}
.hero-words > :nth-child(2) {
  animation-delay: 70ms;
}
.hero-words > :nth-child(3) {
  animation-delay: 140ms;
}
.hero-words > :nth-child(4) {
  animation-delay: 210ms;
}
.hero-words > :nth-child(5) {
  animation-delay: 280ms;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
:root:lang(ar) .hero h1 {
  line-height: 1.25;
  letter-spacing: 0;
}
.hero .lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  max-width: 34ch;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.hero .eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 3px;
  background: var(--accent);
}
/* The home hero: the yellow field, dissolving into the ground in dots, with the f_ mark set in dots on it. */
.hero-home .band-inner.hero-flat {
  min-height: 22rem;
  padding-block: 2rem 16rem;
}
.hero-panel {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 2rem;
  height: 13rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--signal);
}
.panel-dots,
.panel-solid {
  display: none;
}
.panel-mark {
  position: absolute;
  inset-block: 14%;
  inset-inline-end: 12%;
  aspect-ratio: 1;
  background-image: radial-gradient(circle at center, var(--signal-ink) 0 34%, transparent 37%);
  background-size: 9px 9px;
  -webkit-mask: url("/assets/symbol.svg") center / contain no-repeat;
  mask: url("/assets/symbol.svg") center / contain no-repeat;
}
@media (min-width: 64rem) {
  .hero-home .band-inner.hero-flat {
    min-height: min(40rem, 76vh);
    padding-block: 4rem;
  }
  .hero-home .hero-words {
    max-width: 34rem;
    padding-inline-start: 2.5rem;
  }
  .hero-panel {
    inset: 1.5rem 3rem;
    height: auto;
    background: transparent;
  }
  .panel-dots,
  .panel-solid {
    display: block;
    position: absolute;
    inset: 0;
  }
  .panel-solid {
    background: var(--signal);
    -webkit-mask-image: linear-gradient(to right, transparent 44%, black 60%);
    mask-image: linear-gradient(to right, transparent 44%, black 60%);
  }
  .panel-dots {
    background-image: radial-gradient(circle at center, var(--signal) 0 30%, transparent 33%);
    background-size: 11px 11px;
    -webkit-mask-image: linear-gradient(to right, transparent 24%, black 52%);
    mask-image: linear-gradient(to right, transparent 24%, black 52%);
  }
  [dir="rtl"] .panel-solid {
    -webkit-mask-image: linear-gradient(to left, transparent 44%, black 60%);
    mask-image: linear-gradient(to left, transparent 44%, black 60%);
  }
  [dir="rtl"] .panel-dots {
    -webkit-mask-image: linear-gradient(to left, transparent 24%, black 52%);
    mask-image: linear-gradient(to left, transparent 24%, black 52%);
  }
  .panel-mark {
    inset-block: 18%;
    inset-inline-end: 9%;
    background-size: 13px 13px;
  }
}
/* Flat calls: the filled button in the yellow, the second call a ruled link. */
.button-core {
  background: var(--signal);
  color: var(--signal-ink);
  border-radius: var(--radius-md);
}
.button-core:hover {
  background: var(--signal);
  box-shadow: inset 0 0 0 2px var(--signal-ink);
}
.hero .button-ghost {
  border: 0;
  border-radius: 0;
  padding-inline: 0.25rem;
  min-height: 0;
  padding-block: 0.25rem;
  box-shadow: inset 0 -1px 0 var(--foreground);
}
.hero .button-ghost::after {
  content: "→";
  margin-inline-start: 0.5rem;
}
[dir="rtl"] .hero .button-ghost::after {
  content: "←";
}
.hero .cta-row {
  gap: 1.5rem;
}
/* Cards: flat, a rule in the brand's colour, the border in the foreground on hover. */
.card:hover {
  border-color: var(--foreground);
}
/* A trade page's hero carries its product's flat mark. */
.hero-mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.hero-mark img {
  width: 2.5rem;
  height: 2.5rem;
}
/* The footer closes on the wordmark, set in dots; under the pointer the dots turn yellow and the family rises
   out of it, one mark after the other. */
.footer-mark {
  position: relative;
  width: min(100%, 56rem);
  margin: 0 auto -2.5rem;
}
.footer-matrix {
  position: relative;
  aspect-ratio: 600 / 232;
  margin-block-start: -3rem;
  -webkit-mask: url("/assets/wordmark-en.svg") center / contain no-repeat;
  mask: url("/assets/wordmark-en.svg") center / contain no-repeat;
}
:root:lang(ar) .footer-matrix {
  -webkit-mask-image: url("/assets/wordmark-ar.svg");
  mask-image: url("/assets/wordmark-ar.svg");
}
.footer-matrix::before,
.footer-matrix::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 7px 7px;
  transition: opacity var(--duration-base, 250ms) var(--easing-enter, ease-out);
}
.footer-matrix::before {
  background-image: radial-gradient(circle at center, var(--muted) 0 32%, transparent 35%);
  opacity: 0.7;
}
.footer-matrix::after {
  background-image: radial-gradient(circle at center, var(--signal) 0 38%, transparent 41%);
  opacity: 0;
}
.footer-mark:hover .footer-matrix::before,
.footer-mark:focus-within .footer-matrix::before {
  opacity: 0;
}
.footer-mark:hover .footer-matrix::after,
.footer-mark:focus-within .footer-matrix::after {
  opacity: 1;
}
.footer-family {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
}
.footer-family li {
  opacity: 0;
  transform: translateY(2.5rem) scale(0.8);
  transition:
    opacity var(--duration-base, 250ms) var(--easing-enter, ease-out),
    transform var(--duration-base, 250ms) var(--easing-enter, ease-out);
}
.footer-mark:hover .footer-family li,
.footer-mark:focus-within .footer-family li {
  opacity: 1;
  transform: none;
}
.footer-family a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.footer-family a:hover {
  border-color: var(--foreground);
}
.footer-brand img {
  width: 1.375rem;
  height: 1.375rem;
}
@media (hover: none) {
  .footer-family li {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-family li,
  .footer-matrix::before,
  .footer-matrix::after {
    transition: none;
  }
}
.mono-title {
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-words > * {
    animation: none;
  }
}

/* ══ The sections under the hero (owner, 2026-11-10): rows and fields instead of loose text ════════════════════ */
/* A statement with facts: the words at the start, the facts as a ruled list at the end, figures set large. */
@media (min-width: 64rem) {
  .statement-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: start;
  }
  .statement-split .statement-link {
    grid-column: 1 / -1;
  }
}
.statement-text {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
:root:lang(ar) .statement-text {
  line-height: 1.6;
  letter-spacing: 0;
}
.statement-card .statement-text {
  letter-spacing: 0;
}
.facts {
  gap: 0;
  border-block-start: 1px solid var(--border);
  color: var(--foreground);
}
.facts li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border: 0;
  border-block-end: 1px solid var(--border);
}
.facts li.fact:not(.fact-figure)::before {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 3px;
  background: var(--signal);
  align-self: center;
}
.fact-n {
  flex: none;
  min-width: 2ch;
  font: var(--mono);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}
/* The bento: numbered cells that share their rules, like a ledger; three across on a wide screen. */
.bento {
  counter-reset: cell;
  gap: 0;
  border-block-start: 1px solid var(--border);
  border-inline-start: 1px solid var(--border);
}
@media (min-width: 64rem) {
  .bento-2,
  .bento-1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.bento > .will-reveal {
  transform: none;
}
.statement-card {
  position: relative;
  border: 0;
  border-inline-end: 1px solid var(--border);
  border-block-end: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 1.75rem 1.5rem 2rem;
  gap: 0.75rem;
  transition: background-color var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.statement-card:hover {
  background: var(--surface);
}
.statement-card::before {
  counter-increment: cell;
  content: counter(cell, decimal-leading-zero);
  font: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-block-end: 1.25rem;
}
.statement-card::after {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 1.5rem;
  width: 1.5rem;
  height: 3px;
  background: var(--signal);
}
.statement-card .statement-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}
.statement-card .steel {
  color: var(--foreground);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-block-end: 0.5rem;
}
/* The closing wordmark stands on the yellow field. */
.mono-display {
  background: var(--signal);
  color: var(--signal-ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 4.5rem);
  gap: 1rem;
}
.mono-title {
  color: var(--signal-ink);
  font-size: clamp(2.75rem, 11vw, 7.5rem);
  line-height: 1;
}
.mono-display .lede {
  color: var(--signal-ink);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  max-width: 30ch;
}
.floors {
  display: none;
}

/* ══ Narrow screens and page transitions (owner, 2026-11-10) ═════════════════════════════════════════════════ */
/* The menu button: two bars that cross when the sheet is open. */
.menu-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
.menu-toggle[hidden] {
  display: none;
}
.menu-bar {
  grid-area: 1 / 1;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  transition: transform var(--duration-fast, 150ms) var(--easing-enter, ease-out);
}
.menu-bar:first-child {
  transform: translateY(-4px);
}
.menu-bar:last-child {
  transform: translateY(4px);
}
.is-open .menu-bar:first-child {
  transform: rotate(45deg);
}
.is-open .menu-bar:last-child {
  transform: rotate(-45deg);
}
/* With the script on a narrow screen: the links leave the bar and open as a sheet under it. */
.site-header.has-menu .site-header-inner {
  justify-content: flex-start;
  gap: 0.5rem;
}
.site-header.has-menu .locale-switch {
  margin-inline-start: auto;
}
.site-header.has-menu .site-nav {
  position: fixed;
  inset: 4rem 0 0;
  z-index: 49;
  margin: 0;
  padding: 1rem 1rem 2rem;
  overflow-y: auto;
  background: var(--background);
  border-block-start: 1px solid var(--border);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    opacity var(--duration-fast, 150ms) var(--easing-enter, ease-out),
    transform var(--duration-base, 250ms) var(--easing-enter, ease-out),
    visibility 0s linear var(--duration-base, 250ms);
}
.site-header.has-menu.is-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.site-header.has-menu .site-nav ul {
  flex-direction: column;
  gap: 0;
  white-space: normal;
  counter-reset: item;
}
.site-header.has-menu .nav-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  height: auto;
  padding: 1.125rem 0.25rem;
  border-block-end: 1px solid var(--border);
  font: var(--h2);
  letter-spacing: var(--h2-tracking);
  color: var(--foreground);
}
:root:lang(ar) .site-header.has-menu .nav-link {
  letter-spacing: 0;
}
.site-header.has-menu .nav-link::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  font: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}
.site-header.has-menu .nav-link[aria-current="page"] {
  box-shadow: none;
  color: var(--accent);
}
.menu-open,
.menu-open body {
  overflow: hidden;
}
.site-header.is-open {
  background: var(--background);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* The f_ mark in dots: two dots to each cell of the mark's sixteen, so every stroke lands on whole dots. */
.panel-mark {
  --pitch: 6px;
  inset: auto;
  inset-block-start: 50%;
  inset-inline-end: 50%;
  width: calc(32 * var(--pitch));
  height: calc(32 * var(--pitch));
  aspect-ratio: auto;
  margin-block-start: calc(-16 * var(--pitch) + 1rem);
  margin-inline-end: calc(-16 * var(--pitch));
  background-size: var(--pitch) var(--pitch);
  background-position: 0 0;
}
/* The hero on a narrow screen: the words, the calls, then the yellow field rising out of the ground in dots. */
@media (max-width: 63.99rem) {
  .hero-home .band-inner.hero-flat {
    padding-block: 2.5rem 20rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }
  .hero .cta-row {
    gap: 1rem 1.5rem;
  }
  .hero-panel {
    inset-inline: 0;
    inset-block-end: 0;
    height: 18.5rem;
    border-radius: 0;
    background: transparent;
  }
  .panel-dots,
  .panel-solid {
    display: block;
    position: absolute;
    inset: 0;
  }
  .panel-solid {
    background: var(--signal);
    -webkit-mask-image: linear-gradient(to bottom, transparent 18%, black 34%);
    mask-image: linear-gradient(to bottom, transparent 18%, black 34%);
  }
  .panel-dots {
    background-image: radial-gradient(circle at center, var(--signal) 0 30%, transparent 33%);
    background-size: 9px 9px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 26%);
    mask-image: linear-gradient(to bottom, transparent 0, black 26%);
  }
  .hero-home {
    border-block-end: 0;
  }
}
@media (min-width: 64rem) {
  .panel-mark {
    --pitch: 9px;
    inset-inline-end: 22%;
    margin-block-start: calc(-16 * var(--pitch));
  }
}

/* Page transitions: the old page fades, the new one rises a little; the header stays where it is. */
@view-transition {
  navigation: auto;
}
.site-header {
  view-transition-name: site-header;
}
::view-transition-old(root) {
  animation: 140ms var(--easing-move, ease-in) both page-out;
}
::view-transition-new(root) {
  animation: 260ms var(--easing-enter, ease-out) both page-in;
}
@keyframes page-out {
  to {
    opacity: 0;
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none;
  }
  .menu-bar,
  .site-header.has-menu .site-nav {
    transition: none;
  }
}
