/* Stratex Gaming — black ground, chrome wordmark, electric blue traces */

:root {
  --void: #000000;
  --panel: #070707;
  --field: #050505;
  --beam: #4FB3F0;
  --beam-lift: #7ACBFA;
  --beam-deep: #2E5FA8;
  --chrome: #C6D3E0;
  --steel: #6E7F96;
  --ink: #0C1220;
  --paper: #E9EDF2;
  --paper-2: #DBE2EA;
  --muted: #5D6B7E;
  --muted-light: #93A3B8;
  --rule: rgba(12, 18, 32, 0.15);
  --rule-dark: rgba(198, 211, 224, 0.14);

  --display: "Saira", "Helvetica Neue", Arial, sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mark: "Michroma", "Eurostile", "Saira", Arial, sans-serif;      /* the card's extended wordmark face */
  --mark-sub: "Saira Condensed", "Saira", Arial, sans-serif;         /* the card's condensed GAMING */

  /* chrome bevel from the card: white cap, silver, blue band, navy, blue reflection */
  --chrome-bevel: linear-gradient(180deg,
    #FFFFFF 0%, #E3EBF3 18%, #A9BCD2 36%, #5D8FD2 50%,
    #2A4A8C 62%, #3E7ACB 76%, #8FCDF6 90%, #E4F3FF 100%);

  --measure: 66ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* no orphans: browsers that support it rebalance the last lines; site.js
   ties the last two words together for the rest */
h1, h2, h3, h4, .pull, .tally__l { text-wrap: balance; }
p, li, dd, figcaption, .lede, .notice, .field__hint { text-wrap: pretty; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-synthesis-weight: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.07;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.34rem); letter-spacing: 0; line-height: 1.22; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--beam);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: min(var(--shell), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: min(760px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.lede { font-size: clamp(1.14rem, 2.1vw, 1.32rem); line-height: 1.52; }

/* ---------- masthead: Shawn's header design, used as-is ---------- */

.masthead { background: #000; }
.masthead__band {
  position: relative; width: 100%;
  aspect-ratio: 1398 / 210;
  background: #000 url("img/masthead-band.png") center top / 100% auto no-repeat;
}
/* fade the cut edge into the board below */
.masthead__band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, rgba(0,0,0,0), #000);
  pointer-events: none;
}
.home .masthead__band::after { display: none; } /* home hero continues the board seamlessly */
.masthead__brand { position: absolute; left: 0; top: 0; width: 46%; height: 100%; }
.masthead__logo { position: absolute; width: 1px; height: 1px; opacity: 0; } /* baked into the band on desktop */

/* the light-blue bar, placed exactly over the bar in the design, with our page names */
.navbar {
  position: absolute; left: 48.4%; top: 7.6%; width: 51.6%; height: 20%;
  display: flex; align-items: center; justify-content: space-around;
  padding-inline: 1.5%;
  background: linear-gradient(180deg, #0AB2E6 0%, #63C5F0 30%, #47A6D4 48%, #4AB4E2 52%, #1FB1E8 78%, #0596CB 100%);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(28,176,238,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  z-index: 2;
}
.navbar a {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(0.8rem, 1.42vw, 1.3rem); letter-spacing: 0.01em;
  color: #07202F; text-decoration: none; text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}
.navbar a:hover { color: #000; }
.navbar a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

@media (max-width: 720px) {
  .masthead__band { aspect-ratio: auto; background: #000; padding-bottom: 0.8rem; }
  .masthead__band::after { display: none; }
  .masthead__brand { position: static; display: block; width: auto; height: auto; }
  .masthead__logo { position: static; width: min(88%, 420px); height: auto; opacity: 1; display: block; }
  .navbar {
    position: static; width: auto; height: auto; margin: 0.4rem 3% 0;
    padding: 0.55rem 0.6rem; flex-wrap: wrap; gap: 0.4rem 1rem;
  }
  .navbar a { font-size: 0.95rem; }
}

/* dormant circuit board behind every dark surface; the heroes light their own traces on top */
.hero, .band--deep, .band--dark, .foot, .page-hero {
  background-image: url("img/circuit-tile.svg");
  background-size: 1100px 1100px;
  background-attachment: fixed;
}
/* home hero: the rest of Shawn's board, chip and all, then the tile continues below it */
.hero {
  background-image: url("img/board-hero.png"), url("img/circuit-tile.svg");
  background-size: 100% auto, 1100px 1100px;
  background-position: center top, center top;
  background-repeat: no-repeat, repeat;
  background-attachment: scroll, fixed;
}
.hero, .band--deep, .foot { background-color: var(--void); }
.band--dark { background-color: var(--panel); }
/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.012em; text-decoration: none;
  padding: 0.72rem 1.3rem; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn--beam { background: var(--beam); color: var(--void); }
.btn--beam:hover { background: var(--beam-lift); box-shadow: 0 0 18px -2px rgba(79,179,240,0.55); }
.btn--ghost { border-color: rgba(198,211,224,0.34); color: var(--chrome); }
.btn--ghost:hover { border-color: var(--beam); color: #fff; background: rgba(79,179,240,0.09); }
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- sections ---------- */

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--dark { background-color: var(--panel); color: var(--paper); }
.band--dark p { color: rgba(233,237,242,0.8); }
.band--deep { background-color: var(--void); color: var(--paper); }
.band--deep p { color: rgba(233,237,242,0.8); }
.band--tint { background: var(--paper-2); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band__head { margin-bottom: 2.6rem; }
.band__head p { margin-top: 1.1rem; }

/* ---------- hero ---------- */

.hero { position: relative; background-color: var(--void); color: var(--paper); overflow: hidden; }

/* circuit traces, drawn by site.js; core line over a soft blue glow,
   terminating in hollow ring nodes, as on the card */
.traces { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* home page: masthead + hero share one trace layer, so the lit lines run up behind the nav bar */
.home-top, .page-top { position: relative; }
.home-top > .traces, .page-top > .traces { z-index: 1; }
.home-top .navbar, .page-top .navbar { z-index: 2; }
.home-top .hero, .page-top .page-hero { position: static; }
.home-top .hero__inner, .page-top .page-hero .shell { position: relative; z-index: 1; }
.page-top .page-hero::before { z-index: 0; }
.traces svg { position: absolute; height: auto; overflow: visible; }
.traces .tr-top { top: -2px; right: 2%; width: min(560px, 54%); }
.traces .tr-bot { bottom: -2px; left: -1%; width: min(300px, 32%); }
.traces--corner .tr-top { width: min(420px, 44%); opacity: 0.7; }

.trace-glow { fill: none; stroke: var(--beam); stroke-width: 9; opacity: 0.42;
  stroke-linecap: round; stroke-linejoin: round; filter: url(#trace-blur); }
.trace-core { fill: none; stroke: #CFEBFF; stroke-width: 2.4; opacity: 0.85;
  stroke-linecap: round; stroke-linejoin: round; }
.trace-ring { fill: var(--void); stroke: #E6F4FF; stroke-width: 2.6; }
.trace-ring-glow { fill: none; stroke: var(--beam); stroke-width: 8; opacity: 0.5; filter: url(#trace-blur); }

/* one page-load moment: the traces draw in, then the rings light */
.traces--animate .trace-core { stroke-dasharray: 1; stroke-dashoffset: 1; animation: traceDraw 1.1s cubic-bezier(.4,0,.2,1) forwards; }
.traces--animate .trace-glow { opacity: 0; animation: traceGlow 1.2s ease-out forwards; }
.traces--animate .trace-ring, .traces--animate .trace-ring-glow { opacity: 0; animation: ringIn 0.45s ease-out forwards; }
@keyframes traceDraw { to { stroke-dashoffset: 0; } }
@keyframes traceGlow { to { opacity: 0.42; } }
@keyframes ringIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.traces--animate .trace-ring-glow { animation-name: ringGlowIn; }
@keyframes ringGlowIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 0.45; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .traces--animate .trace-core, .traces--animate .trace-ring { opacity: 1; stroke-dashoffset: 0; animation: none; }
  .traces--animate .trace-glow { opacity: 0.42; animation: none; }
  .traces--animate .trace-ring-glow { opacity: 0.45; animation: none; }
}

@media (max-width: 700px) {
  .traces .tr-top { width: 42%; opacity: 0.6; }
  .traces .tr-bot { width: 26%; opacity: 0.7; }
}

.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px;
  background: linear-gradient(180deg, #000, rgba(0,0,0,0)); pointer-events: none;
}
.page-hero .shell { position: relative; z-index: 1; }

.hero__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 12vw, 9rem); }
.hero h1 { max-width: 15ch; }
.hero__sub {
  margin-top: 1.7rem; max-width: 54ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.52;
  color: rgba(233,237,242,0.86);
}
.hero__credential {
  margin-top: 1.5rem; max-width: 52ch;
  font-family: var(--display); font-weight: 500; font-size: 0.95rem;
  line-height: 1.5; color: var(--beam);
}

/* ---------- capability strip ---------- */

.strip { background: var(--field); color: var(--paper); border-top: 1px solid var(--rule-dark); }
.strip .shell { max-width: none; width: 100%; padding-inline: clamp(1rem, 2.5vw, 2.5rem); } /* edge to edge, as in Shawn's layout */
.strip ul {
  list-style: none; margin: 0; padding-block: 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2rem;
}
/* one row, each bullet's line breaks set in the markup, bold white text */
.strip li {
  font-family: var(--display); font-size: clamp(0.72rem, 1.05vw, 0.9rem); font-weight: 600;
  line-height: 1.35; color: var(--paper); white-space: nowrap;
  padding: 0 0 0 1.1rem; position: relative;
}
@media (max-width: 1060px) { .strip ul { flex-wrap: wrap; justify-content: flex-start; gap: 1rem 2.5rem; } }
@media (max-width: 520px) { .strip li { white-space: normal; } .strip li br { display: none; } }
.strip li::before {
  content: ""; position: absolute; left: 0; top: 0.36rem;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--beam-lift); background: var(--field);
  box-shadow: 0 0 7px rgba(79,179,240,0.8);
}

/* ---------- prose columns ---------- */

.cols {
  display: grid; gap: clamp(1.8rem, 4vw, 3.4rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.col h3 { margin-bottom: 0.65rem; }
.col p { font-size: 1rem; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- comparison ledger ---------- */

.ledger { border-top: 1px solid var(--rule); margin-top: 2.2rem; }
.band--dark .ledger, .band--deep .ledger { border-top-color: var(--rule-dark); }
.ledger__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--rule);
}
.band--dark .ledger__row, .band--deep .ledger__row { border-bottom-color: var(--rule-dark); }
.ledger__row > div { font-size: 0.99rem; }
.ledger__row p { margin: 0; max-width: 46ch; }
.ledger__head {
  font-family: var(--mark); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.04em;
  padding-bottom: 0.7rem;
}
.ledger__head .a { color: var(--muted); }
.band--dark .ledger__head .a, .band--deep .ledger__head .a { color: var(--muted-light); }
.ledger__head .b { color: var(--beam); }
/* the whole "Comes with Stratex" column is blue; deeper blue on light bands for contrast */
.ledger__row .b, .ledger__row .b p, .ledger__head .b { color: var(--beam-deep); }
.band--dark .ledger__row .b, .band--dark .ledger__row .b p, .band--dark .ledger__head .b,
.band--deep .ledger__row .b, .band--deep .ledger__row .b p, .band--deep .ledger__head .b { color: var(--beam); }
@media (max-width: 700px) {
  /* phone: each row becomes two labelled blocks, so the right column
     reads as its own thing rather than a sub-item of the left */
  .ledger__head { display: none; }
  .ledger__row { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.2rem 0; }
  .ledger__row .a::before, .ledger__row .b::before {
    display: block; margin-bottom: 0.3rem;
    font-family: var(--mark); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  }
  .ledger__row .a::before { content: "Stays with you"; color: var(--muted); }
  .ledger__row .b::before { content: "Comes with Stratex"; }
  .band--dark .ledger__row .a::before, .band--deep .ledger__row .a::before { color: var(--muted-light); }
}

/* ---------- map ---------- */

.mapframe {
  background: var(--void); border: 1px solid var(--rule-dark); border-radius: 3px;
  padding: clamp(1rem, 3vw, 2rem);
}
.mapframe svg { display: block; width: 100%; height: auto; }

.dot { fill: rgba(110, 127, 150, 0.34); }

.pin { opacity: 0; }
.pin circle { fill: var(--beam); }
.pin__halo { fill: none; stroke: var(--beam); stroke-width: 1; opacity: 0.55; }

.mapfill .pin { animation: pinIn 0.5s ease-out forwards; }
@keyframes pinIn {
  from { opacity: 0; transform: translateY(-7px) scale(0.4); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pin { opacity: 1 !important; animation: none !important; }
}

.legend {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2rem;
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--rule-dark);
}
.legend__item {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mark); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.03em;
  color: rgba(233,237,242,0.85);
}
.legend__swatch { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.legend__swatch--beam { background: var(--beam); box-shadow: 0 0 7px rgba(79,179,240,0.85); }
.legend__swatch--steel { background: transparent; border: 1.5px solid var(--steel); }
.legend__note {
  margin-top: 1.1rem; font-size: 0.9rem; line-height: 1.55;
  color: rgba(233,237,242,0.58); max-width: 68ch;
}

.tally {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem; margin-top: 2.4rem;
}
.tally__n {
  font-family: var(--display); font-weight: 700; font-size: 2.5rem;
  line-height: 1; letter-spacing: -0.02em; color: var(--beam);
}
.tally__l { font-size: 0.92rem; line-height: 1.45; margin-top: 0.5rem; color: rgba(233,237,242,0.76); }

/* ---------- region tables ---------- */

.region { border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: 2.6rem; }
.region__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.region__count { font-family: var(--mark); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; list-style: none; padding: 0; }
.chip {
  font-family: var(--display); font-size: 0.85rem; font-weight: 500;
  padding: 0.36rem 0.7rem; border-radius: 2px;
  background: rgba(12,18,32,0.05); border: 1px solid var(--rule);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--steel); background: transparent; flex: none;
}

/* ---------- locale demo ---------- */

.demo { background: var(--void); border: 1px solid var(--rule-dark); border-radius: 3px; overflow: hidden; color: var(--paper); }
.demo__bar {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule-dark);
}
.demo__tab {
  font-family: var(--display); font-size: 0.83rem; font-weight: 500;
  background: none; border: 1px solid var(--rule-dark); color: var(--muted-light);
  padding: 0.35rem 0.7rem; border-radius: 2px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.demo__tab:hover { color: var(--chrome); }
.demo__tab[aria-selected="true"] { background: var(--beam); border-color: var(--beam); color: var(--void); }
.demo__tab svg { display: block; width: 30px; height: 20px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.demo__bar { direction: ltr; }   /* the tab row keeps its order whatever the language */
.demo__body { padding: clamp(1.3rem, 4vw, 2.1rem); }
.demo__title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-bottom: 0.35rem; }
.demo__strap { font-size: 0.97rem; color: rgba(233,237,242,0.7); margin-bottom: 1.6rem; }
.demo__meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 1.2rem; }
.demo__meter { border-top: 1px solid var(--rule-dark); padding-top: 0.7rem; }
.demo__k { font-size: 0.85rem; color: rgba(233,237,242,0.58); font-family: var(--display); }
.demo__v {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  color: var(--beam); margin-top: 0.2rem; font-variant-numeric: tabular-nums;
}
.demo__denoms { margin-top: 1.7rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-dark); }
.demo__denomlist { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.demo__denom {
  font-family: var(--display); font-size: 0.86rem; padding: 0.3rem 0.6rem;
  border: 1px solid var(--rule-dark); border-radius: 2px; color: rgba(233,237,242,0.9);
  font-variant-numeric: tabular-nums;
}
.demo[dir="rtl"] .demo__body { text-align: right; }

/* ---------- founder letter ---------- */

.letter { background: var(--paper-2); }
.letter__body { font-size: clamp(1.06rem, 1.9vw, 1.15rem); line-height: 1.74; }
.letter__body p { max-width: 60ch; }
.letter__body p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 700; font-size: 3.05em;
  float: left; line-height: 0.8; margin: 0.07em 0.1em 0 0; color: var(--beam-deep);
}
.letter__sig {
  margin-top: 2.2rem; padding-top: 1.3rem; border-top: 1px solid var(--rule);
  font-family: var(--display); font-weight: 600; font-size: 0.98rem;
}
.letter__sig span { display: block; font-weight: 500; color: var(--muted); margin-top: 0.15rem; }

/* ---------- pull statement ---------- */

.pull {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.16;
  letter-spacing: -0.012em; max-width: 20ch; text-wrap: balance;
}

/* ---------- steps ---------- */

.steps { counter-reset: step; margin-top: 2.4rem; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 3.1rem 1fr; gap: 1.4rem;
  padding: 1.5rem 0; border-top: 1px solid var(--rule);
}
.band--dark .step, .band--deep .step { border-top-color: var(--rule-dark); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.band--dark .step:last-child, .band--deep .step:last-child { border-bottom-color: var(--rule-dark); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mark); font-weight: 400; font-size: 0.9rem;
  color: var(--beam); padding-top: 0.14rem;
}
.step h3 { margin-bottom: 0.42rem; }
/* tight variant: no rules between items, blue headers */
.steps--tight .step { border-top: 0; padding: 0.7rem 0; }
.steps--tight .step:last-child { border-bottom: 0; }
.steps--tight .step h3 { color: var(--beam-deep); }
.band--dark .steps--tight .step h3, .band--deep .steps--tight .step h3 { color: var(--beam); }
.step p { font-size: 1rem; }
@media (max-width: 560px) { .step { grid-template-columns: 2.2rem 1fr; gap: 0.9rem; } }

/* ---------- form ---------- */

.form { display: grid; gap: 1.25rem; margin-top: 2.2rem; max-width: 620px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--display); font-weight: 500; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.68rem 0.8rem; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field__hint { font-size: 0.88rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.form__note {
  margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted);
  border-left: 2px solid var(--beam); padding-left: 0.9rem; max-width: 56ch;
}

/* ---------- notice ---------- */

.notice {
  border-left: 2px solid var(--beam); padding: 0.15rem 0 0.15rem 1.1rem;
  font-size: 0.97rem; max-width: 64ch;
}
.band--dark .notice, .band--deep .notice { color: rgba(233,237,242,0.8); }

/* ---------- footer ---------- */

.foot { background-color: var(--void); color: rgba(233,237,242,0.62); padding-block: 3.2rem 2.2rem; font-size: 0.92rem; }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0,1.4fr) repeat(2, minmax(0,1fr)); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }
.brand--foot img { display: block; height: auto; width: min(100%, 260px); }
@media (max-width: 480px) { .brand--foot img { width: min(100%, 300px); } }
.brand--foot { margin: 0 0 1rem; line-height: 0; }
.foot h4 { font-size: 0.86rem; font-weight: 600; color: var(--chrome); margin-bottom: 0.8rem; }

.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a { color: rgba(233,237,242,0.62); text-decoration: none; }
.foot a:hover { color: var(--beam); }
.foot__legal {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-dark);
  font-size: 0.85rem; color: rgba(233,237,242,0.46); max-width: 78ch;
}
.foot__legal p { max-width: none; }

/* ---------- feature strip and lists ---------- */

.feature-strip {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.feature-strip li {
  font-family: var(--display); font-weight: 500; font-size: 0.9rem;
  padding: 0.45rem 0.85rem; border-radius: 2px;
  border: 1px solid var(--rule-dark); color: var(--chrome);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.feature-strip li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--beam-lift); background: var(--panel);
  box-shadow: 0 0 6px rgba(79,179,240,0.8); flex: none;
}

.feature-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.feature-list li {
  font-size: 1rem; padding-left: 1.1rem; position: relative;
  color: rgba(233,237,242,0.88);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--beam);
}

/* ---------- photography ----------
   Each .photo is a frame. The real file sits at the <img src> path and
   fills the frame. If a file is missing, the frame renders a designed
   placeholder showing its brief so the layout still reads correctly. */

.photo {
  position: relative; margin: 0; overflow: hidden; border-radius: 3px;
  background: var(--panel);
  background-image:
    radial-gradient(rgba(110,127,150,0.28) 1px, transparent 1.2px);
  background-size: 14px 14px;
  border: 1px solid var(--rule-dark);
  aspect-ratio: 4 / 3;
}
.photo--wide { aspect-ratio: 21 / 9; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--square { aspect-ratio: 1; }
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1;
}
.photo::after {
  content: attr(data-brief);
  position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem;
  font-family: var(--display); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.02em; color: rgba(198,211,224,0.55);
  pointer-events: none; z-index: 0;
}
.photo::before {
  content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 42%;
  background:
    linear-gradient(135deg, transparent 49%, rgba(79,179,240,0.28) 49.5%, rgba(79,179,240,0.28) 51%, transparent 51.5%),
    linear-gradient(135deg, transparent 63%, rgba(79,179,240,0.2) 63.5%, rgba(79,179,240,0.2) 65%, transparent 65.5%);
  pointer-events: none;
}

/* full-bleed photo band with a line over it */
.photo-band {
  position: relative; background: var(--void); color: var(--paper);
  min-height: clamp(280px, 40vw, 520px); display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.photo-band .photo {
  position: absolute; inset: 0; border: 0; border-radius: 0; aspect-ratio: auto;
}
.photo-band .photo::after { bottom: auto; top: 1rem; }
.photo-band__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,12,0.1) 0%, rgba(5,7,12,0.55) 55%, rgba(5,7,12,0.92) 100%);
}
.photo-band__inner {
  position: relative; z-index: 3; padding-block: clamp(2.2rem, 5vw, 3.6rem);
}
.photo-band .pull { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.photo-band p { color: rgba(233,237,242,0.85); }

/* portrait + caption */
.portrait { display: grid; gap: 0.8rem; max-width: 320px; }
.portrait figcaption { font-family: var(--display); font-size: 0.88rem; font-weight: 500; }
.portrait figcaption span { display: block; color: var(--muted); font-weight: 400; }

@media (max-width: 900px) {
  .split .photo--tall { aspect-ratio: 16 / 10; }
  /* the founder portrait keeps its 3:4 frame on small screens, just narrower, so the head is never cropped */
  .split .portrait .photo--tall { aspect-ratio: 3 / 4; max-width: 280px; }
}
.portrait .photo img { object-position: center top; }

/* contact us options */
.contact-options .col p { margin-top: 0.6rem; font-size: 1.05rem; }
.contact-options .col a { color: var(--beam); text-decoration: none; }
.contact-options .col a:hover { text-decoration: underline; }

/* inquiry fallback shown after Send Inquiry */
.form__fallback { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.8rem; }
.form__fallback p { font-size: 0.92rem; color: var(--muted); }
.form__fallback a { color: var(--beam); }
.form__fallback textarea { min-height: 200px; font-family: var(--text); font-size: 0.9rem; }

/* phase 1 list under the map */
.phase { margin-top: 2.6rem; }
.phase__title { font-size: 1.4rem; margin-bottom: 0.4rem; }
.phase__lede { color: var(--muted); font-size: 1rem; }
.phase__regions { display: grid; gap: 1.6rem; margin-top: 1rem; }
.phase__region h4 { font-family: var(--mark); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
.band--deep .chip { background: rgba(255,255,255,0.05); border-color: var(--rule-dark); color: var(--chrome); }
.band--deep .chip::before { border-color: var(--beam); background: var(--beam); box-shadow: 0 0 6px rgba(79,179,240,0.6); }

/* "Stop building platforms." on one line, "START SHIPPING GAMES." on the next, in blue */
.slogan { text-wrap: initial; font-size: clamp(1.5rem, 2.55vw, 2.15rem); }
.slogan__a, .slogan__b { display: block; white-space: nowrap; }
.slogan__b { color: var(--beam-deep); text-transform: uppercase; }
.band--dark .slogan__b, .band--deep .slogan__b { color: var(--beam); }
@media (max-width: 480px) { .slogan__a, .slogan__b { white-space: normal; } }
