/* =========================================================================
   Jon Adams Tech — design system
   Concept: "spec sheet". Machined graphite surfaces, hairline rules,
   monospace micro-labels, and a two-tone verdict system (worth it / skip)
   drawn straight from the channel's no-hype review angle.
   ========================================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ---------- 2. Tokens ---------- */
:root {
  /* Surfaces — cool graphite, the colour of anodised aluminium in shadow */
  --ink:      #0A0C0F;
  --ink-2:    #0F1216;
  --slate:    #151920;
  --slate-2:  #1B2028;
  --edge:     #232A34;
  --edge-2:   #333D4B;

  /* Type */
  --paper:    #ECEFF4;
  --mute:     #8E97A6;
  --mute-2:   #737D8D;

  /* Signal — the verdict system */
  --signal:      #FF6A2B;   /* attention, price, "budget pick" */
  --signal-soft: rgba(255,106,43,.12);
  --signal-line: rgba(255,106,43,.34);
  --verdict:      #3FD8A4;  /* "worth it" */
  --verdict-soft: rgba(63,216,164,.12);
  --verdict-line: rgba(63,216,164,.32);
  --warn:      #FF5E6C;
  --warn-soft: rgba(255,94,108,.12);

  /* Fonts */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid type scale */
  --t-hero:  clamp(2.75rem, 1.4rem + 6vw, 6rem);
  --t-h2:    clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  --t-h3:    clamp(1.15rem, 1rem + .6vw, 1.4rem);
  --t-body:  clamp(1rem, .96rem + .18vw, 1.075rem);
  --t-micro: .7rem;

  /* Space */
  --s-1: .5rem;  --s-2: .75rem; --s-3: 1rem;   --s-4: 1.5rem;
  --s-5: 2rem;   --s-6: 3rem;   --s-7: 4rem;   --s-8: 6rem;
  --s-9: clamp(4.5rem, 3rem + 7vw, 9rem);

  --wrap: 1220px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  --r: 4px;              /* radii stay tight — this is hardware, not candy */
  --r-lg: 8px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. Base ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  overflow-x: hidden;
}

/* Ambient: a single cold light source at the top of the page. */
body::before {
  content: "";
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 70vh;
  background: radial-gradient(60% 100% at 50% 0%, rgba(90,120,170,.13), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
}

::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100%; left: var(--s-3); z-index: 100;
  background: var(--signal); color: var(--ink);
  padding: var(--s-2) var(--s-4);
  font-family: var(--f-mono); font-size: var(--t-micro);
  text-transform: uppercase; letter-spacing: .1em; border-radius: var(--r);
}
.skip-link:focus { top: var(--s-3); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-7); }
.hr { height: 1px; background: var(--edge); border: 0; }

/* ---------- 5. Micro-label (the spec-sheet voice) ---------- */
.tag {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--mute-2);
}
.tag--signal { color: var(--signal); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(10,12,15,0);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(10,12,15,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--edge);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 68px;
}
.nav__brand { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav__mark {
  width: 30px; height: 30px; border-radius: var(--r);
  background: var(--signal); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: .85rem;
  letter-spacing: -.04em;
}
.nav__name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.03em;
}
.nav__links { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  padding: .5rem .75rem; border-radius: var(--r);
  font-size: .92rem; font-weight: 500; color: var(--mute);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--paper); background: var(--slate); }
.nav__link[aria-current="page"] { color: var(--paper); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--signal); border-radius: 2px;
}
.nav__cta { margin-left: var(--s-2); }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--r);
  border: 1px solid var(--edge); color: var(--paper);
  place-items: center; transition: border-color .2s var(--ease);
}
.nav__toggle:hover { border-color: var(--edge-2); }
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .i-close, .nav__toggle[aria-expanded="true"] .i-menu { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 880px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--edge);
    padding: var(--s-3) var(--gutter) var(--s-5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .875rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--edge); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--signal); }
  .nav__cta { margin: var(--s-4) 0 0; justify-content: center; }
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.25rem; border-radius: var(--r);
  font-family: var(--f-body); font-size: .93rem; font-weight: 600;
  letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--signal); color: #170A03; }
.btn--primary:hover { background: #FF8049; box-shadow: 0 0 0 4px var(--signal-soft); }

.btn--ghost { border-color: var(--edge-2); color: var(--paper); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--mute-2); background: var(--slate); }

.btn--sub { background: var(--signal); color: #170A03; }
.btn--sub:hover { background: #FF8049; box-shadow: 0 0 0 4px var(--signal-soft); }

.btn--sm { padding: .55rem .9rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* Text link with a sliding underline — used for every "View all" */
.more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-mono); font-size: var(--t-micro);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
  color: var(--paper); padding-bottom: 3px;
  border-bottom: 1px solid var(--edge-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.more:hover { color: var(--signal); border-color: var(--signal-line); gap: .7rem; }
.more svg { width: 13px; height: 13px; }

/* ---------- 8. Section header ---------- */
.shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--edge);
  margin-bottom: var(--s-6);
}
.shead__text { max-width: 62ch; }
.shead__eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem; }
.shead__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--signal); flex-shrink: 0;
}
.shead__title { font-size: var(--t-h2); }
.shead__sub { color: var(--mute); margin-top: .75rem; font-size: .98rem; }

/* ---------- 9. Hero ---------- */
.hero { padding-block: clamp(3rem, 1.5rem + 6vw, 6.5rem) var(--s-9); }
.hero__grid {
  display: grid;
  column-gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  row-gap: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
/* Text and spec table stack in column 1; the portrait spans both rows. */
.hero__text { grid-column: 1; grid-row: 1; }
.hero__grid .portrait { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.hero__grid .spec { grid-column: 1; grid-row: 2; }
.hero__title { font-size: var(--t-hero); font-weight: 800; letter-spacing: -.04em; }
.hero__title em {
  font-style: normal; color: var(--signal);
  /* the one flourish: a hand-drawn-ish underline on the promise */
  background-image: linear-gradient(var(--signal-line), var(--signal-line));
  background-size: 100% 3px; background-repeat: no-repeat; background-position: 0 92%;
  padding-bottom: 2px;
}
.hero__deck {
  margin-top: var(--s-4); max-width: 46ch;
  color: var(--mute); font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }

/* Spec table — treats the channel like a product page */
.spec {
  margin-top: var(--s-6); border-top: 1px solid var(--edge);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.spec__row { padding: var(--s-3) 0 0; border-top: 0; }
.spec__row + .spec__row { border-left: 1px solid var(--edge); padding-left: var(--s-3); }
.spec__k { display: block; font-family: var(--f-mono); font-size: .62rem;
  text-transform: uppercase; letter-spacing: .17em; color: var(--mute-2); }
.spec__v { display: block; margin-top: .3rem; font-family: var(--f-display);
  font-weight: 600; font-size: 1rem; letter-spacing: -.02em; }

/* Portrait — machined bezel with crop marks */
.portrait { position: relative; justify-self: center; width: min(100%, 420px); }
.portrait__frame {
  position: relative; border: 1px solid var(--edge-2); border-radius: 50%;
  padding: 10px; background:
    linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,0) 48%), var(--ink-2);
}
.portrait__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07); pointer-events: none;
}
.portrait__img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; filter: contrast(1.04) saturate(1.02);
}
.portrait__plate {
  margin-top: var(--s-2); display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-2); padding: .55rem .7rem;
  border: 1px solid var(--edge); border-radius: var(--r); background: var(--ink-2);
}
.portrait__live { display: inline-flex; align-items: center; gap: .4rem; color: var(--verdict); }
.portrait__live span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--verdict);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* Below the two-column breakpoint the hero keeps the desktop reading order:
   headline first, then the portrait, then the spec table. */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .hero__text { grid-column: 1; grid-row: 1; }
  .hero__grid .portrait {
    grid-column: 1; grid-row: 2;
    width: min(100%, 260px); justify-self: center;
  }
  .hero__grid .spec { grid-column: 1; grid-row: 3; margin-top: 0; }
  .spec__row + .spec__row { border-left: 0; padding-left: 0; }
  .spec { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
}

/* Phones: the portrait sits beside the headline, small but legible.
   `display: contents` promotes the h1, deck and actions to grid items so the
   photo can share a row with the headline alone. */
@media (max-width: 620px) {
  .hero__text { display: contents; }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--s-3);
    row-gap: var(--s-4);
    align-items: center;
  }

  .hero__title {
    grid-column: 1; grid-row: 1;
    font-size: clamp(1.6rem, .95rem + 3.1vw, 2.05rem);
    letter-spacing: -.035em;
  }
  .hero__title em { background-size: 100% 2px; }

  .hero__grid .portrait {
    grid-column: 2; grid-row: 1;
    width: 92px; justify-self: end; align-self: center;
  }
  .portrait__frame { padding: 4px; }
  .portrait__plate { display: none; }

  .hero__deck    { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .hero__actions { grid-column: 1 / -1; grid-row: 3; margin-top: 0;
                   flex-direction: column; align-items: stretch; gap: .625rem; }
  .hero__actions .btn { width: 100%; }
  .hero__grid .spec { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
}

/* ---------- 10. Video grid + lite embeds ---------- */
.videos { display: grid; gap: var(--s-4); grid-template-columns: repeat(6, 1fr); }
/* Feature the newest upload, then a row of four. */
.video:nth-child(1) { grid-column: span 6; }
.video:nth-child(n+2) { grid-column: span 3; }
@media (min-width: 1000px) {
  .video:nth-child(1) { grid-column: span 3; }
  .video:nth-child(n+2) { grid-column: span 3; }
}
@media (min-width: 1180px) {
  .videos { grid-template-columns: repeat(4, 1fr); }
  .video:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .video:nth-child(n+2) { grid-column: span 1; }
  /* The featured cell is taller than 16:9 — let the still fill the surplus. */
  .video:nth-child(1) .yt { aspect-ratio: auto; flex: 1; min-height: 240px; }
}
.video {
  display: flex; flex-direction: column;
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--ink-2); overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.video:hover { border-color: var(--edge-2); transform: translateY(-2px); }

.yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--slate) center/cover no-repeat;
  border: 0; border-bottom: 1px solid var(--edge);
  cursor: pointer; overflow: hidden; display: block;
}
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,15,.1), rgba(10,12,15,.55));
  transition: opacity .25s var(--ease);
}
.yt:hover::after { opacity: .7; }
.yt__play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--signal); color: #170A03;
  display: grid; place-items: center; z-index: 2;
  box-shadow: 0 6px 26px rgba(0,0,0,.45);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.yt:hover .yt__play { transform: scale(1.09); background: #FF8049; }
.yt__play svg { width: 20px; height: 20px; margin-left: 2px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt.is-playing::after, .yt.is-playing .yt__play { display: none; }

.video__body { padding: var(--s-3) var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.video__meta { display: flex; align-items: center; gap: .5rem; }
.video__title {
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-h3);
  letter-spacing: -.025em; line-height: 1.22;
}
.video:nth-child(1) .video__title { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); }
.video__link {
  margin-top: auto; padding-top: .35rem;
  font-family: var(--f-mono); font-size: var(--t-micro);
  text-transform: uppercase; letter-spacing: .13em; color: var(--mute-2);
  transition: color .2s var(--ease);
}
.video__link:hover { color: var(--signal); }

.videos.is-loading { opacity: .45; }

/* Phones: five stacked 16:9 cards make a very long page, and a two-up grid
   leaves thumbnails too small to actually watch. A snap carousel keeps each
   card big enough to play inline while the section stays one card tall. */
@media (max-width: 620px) {
  .videos {
    display: flex;
    grid-template-columns: none;
    gap: var(--s-3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed to the screen edges so the next card peeks in — that peek is the
       only affordance needed to tell someone it scrolls. */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block: 2px var(--s-2);
    scroll-padding-left: var(--gutter);
  }
  .videos::-webkit-scrollbar { display: none; }

  .video, .video:nth-child(n) {
    grid-column: auto;
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .video:hover { transform: none; }
  .video:nth-child(1) .video__title { font-size: var(--t-h3); }
}

/* ---------- 11. Gear cards ----------
   Product-led: photo on top, name and buy button underneath. */
.gear { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--ink-2); overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.card:hover { border-color: var(--edge-2); background: var(--slate); transform: translateY(-2px); }

.card__plate {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--edge);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.05), transparent 62%),
    var(--slate);
  overflow: hidden;
}
.card__plate img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder until a real product photo is dropped in assets/img/gear/. */
.card__glyph { width: 46px; height: 46px; color: var(--mute-2); opacity: .55; }

.card__body {
  padding: var(--s-3); flex: 1;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.card__name {
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -.025em; line-height: 1.3;
}
.card__cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 40px; padding: .55rem .9rem;
  border: 1px solid var(--edge-2); border-radius: var(--r);
  background: rgba(255,255,255,.02); color: var(--signal);
  font-family: var(--f-mono); font-size: var(--t-micro); font-weight: 500;
  text-transform: uppercase; letter-spacing: .13em;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.card__cta:hover { background: var(--signal); border-color: var(--signal); color: #170A03; }
.card__cta svg { width: 12px; height: 12px; }

/* Phones: two cards per row, scaled down to match. Below 620px the auto-fill
   above drops to a single full-width card, which is far too big. */
@media (max-width: 620px) {
  .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .card__body { padding: .7rem; gap: .6rem; }
  .card__name { font-size: .84rem; line-height: 1.28; letter-spacing: -.02em; }
  .card__cta {
    min-height: 36px; padding: .45rem .5rem;
    font-size: .64rem; letter-spacing: .08em; gap: .3rem;
  }
  .card__cta svg { width: 10px; height: 10px; }
  .card__glyph { width: 34px; height: 34px; }
}

/* Very narrow phones — keep two columns but tighten further. */
@media (max-width: 380px) {
  .gear { gap: .625rem; }
  .card__body { padding: .55rem; gap: .5rem; }
  .card__name { font-size: .78rem; }
}

/* ---------- 13. About ---------- */
.about__grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
.about__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; letter-spacing: -.015em; }
.about__body { color: var(--mute); margin-top: var(--s-3); }
.about__body + .about__body { margin-top: var(--s-3); }

.pillars { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.pillar {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-3);
  padding-top: var(--s-3); border-top: 1px solid var(--edge);
}
.pillar__n { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--signal); letter-spacing: .1em; padding-top: .35rem; }
.pillar__t { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.02em; }
.pillar__d { color: var(--mute); font-size: .92rem; margin-top: .2rem; }

/* ---------- 14. Socials ---------- */
.socials { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.social {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3); border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--ink-2);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.social:hover { border-color: var(--edge-2); background: var(--slate); transform: translateY(-2px); }
.social__icon {
  width: 40px; height: 40px; border-radius: var(--r); flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--edge-2); background: var(--slate); color: var(--paper);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.social:hover .social__icon { color: var(--signal); border-color: var(--signal-line); }
.social__icon svg { width: 19px; height: 19px; }
.social__t { font-family: var(--f-display); font-weight: 600; font-size: .97rem; letter-spacing: -.02em; }
.social__h { font-family: var(--f-mono); font-size: .7rem; color: var(--mute-2); margin-top: .1rem; }

/* ---------- 15. CTA band ---------- */
.band {
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  padding: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(255,106,43,.11), transparent 58%),
    var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
}
.band__title { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
.band__sub { color: var(--mute); margin-top: .6rem; max-width: 48ch; }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .45rem; }
.field__label { font-family: var(--f-mono); font-size: var(--t-micro);
  text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.field__label .req { color: var(--signal); }
.field__input, .field__area, .field__select {
  width: 100%; padding: .8rem .9rem;
  background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--edge); border-radius: var(--r);
  font-size: .97rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field__area { min-height: 160px; resize: vertical; line-height: 1.6; }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E97A6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.6rem; cursor: pointer;
}
.field__input:hover, .field__area:hover, .field__select:hover { border-color: var(--edge-2); }
.field__input:focus, .field__area:focus, .field__select:focus {
  outline: none; border-color: var(--signal); background: var(--slate);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.field__input::placeholder, .field__area::placeholder { color: var(--mute-2); }
.field__hint { font-size: .82rem; color: var(--mute-2); }
.field__err { font-size: .82rem; color: var(--warn); display: none; }
.field.is-invalid .field__input,
.field.is-invalid .field__area,
.field.is-invalid .field__select { border-color: var(--warn); }
.field.is-invalid .field__err { display: block; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__row { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.form__status { display: none; padding: var(--s-3); border-radius: var(--r); font-size: .92rem; }
.form__status.is-ok   { display: block; color: var(--verdict); background: var(--verdict-soft); border: 1px solid var(--verdict-line); }
.form__status.is-err  { display: block; color: var(--warn);    background: var(--warn-soft);    border: 1px solid rgba(255,94,108,.3); }

.contact__grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__aside { display: grid; gap: var(--s-4); }
.info {
  padding: var(--s-4); border: 1px solid var(--edge);
  border-radius: var(--r-lg); background: var(--ink-2);
}
.info__t { font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.info__d { color: var(--mute); font-size: .9rem; }
.info__d a { color: var(--signal); border-bottom: 1px solid var(--signal-line); }
.info__d a:hover { color: #FF8049; }

/* ---------- 17. Page header (interior pages) ---------- */
.phead { padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--s-6); border-bottom: 1px solid var(--edge); }
.phead__eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: var(--s-3); }
.phead__eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--signal); }
.phead__title { font-size: var(--t-h2); font-weight: 800; }
.phead__deck { margin-top: var(--s-3); color: var(--mute); max-width: 62ch; font-size: 1.05rem; }

/* ---------- 18. Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin-top: var(--s-6); margin-bottom: var(--s-2); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--mute); }
.prose p + p { margin-top: var(--s-3); }
.prose ul { margin-top: var(--s-3); display: grid; gap: .5rem; }
.prose li { padding-left: 1.1rem; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--signal); }
.prose a { color: var(--signal); border-bottom: 1px solid var(--signal-line); }
.prose strong { color: var(--paper); font-weight: 600; }

/* ---------- 19. Disclosure strip ---------- */
.note {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-lg);
  border: 1px solid var(--edge); background: var(--ink-2);
  color: var(--mute); font-size: .88rem; line-height: 1.55;
}
.note svg { width: 17px; height: 17px; color: var(--signal); flex-shrink: 0; margin-top: .18rem; }
.note a { color: var(--signal); border-bottom: 1px solid var(--signal-line); }

/* ---------- 20. Footer ---------- */
.foot { border-top: 1px solid var(--edge); padding-block: var(--s-7) var(--s-5); margin-top: var(--s-6); }
.foot__grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
.foot__about { color: var(--mute); font-size: .9rem; margin-top: var(--s-3); max-width: 34ch; }
.foot__h { font-family: var(--f-mono); font-size: var(--t-micro); text-transform: uppercase;
  letter-spacing: .15em; color: var(--mute-2); margin-bottom: var(--s-3); }
.foot__list { display: grid; gap: .6rem; }
.foot__list a { color: var(--mute); font-size: .92rem; transition: color .2s var(--ease); }
.foot__list a:hover { color: var(--signal); }
.foot__bottom {
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--edge);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-3); flex-wrap: wrap;
}
.foot__legal { font-family: var(--f-mono); font-size: .68rem; color: var(--mute-2); letter-spacing: .04em; }

/* Brand block spans the full width, the three link groups pair up beneath it.
   A single stacked column made the footer taller than the page it closed. */
@media (max-width: 820px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .foot__about { max-width: none; }
}
@media (max-width: 620px) {
  .foot { padding-block: var(--s-6) var(--s-4); }
  .foot__bottom {
    flex-direction: column; align-items: flex-start;
    gap: .4rem; margin-top: var(--s-5);
  }
}

/* ---------- 21. 404 ---------- */
.oops { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--s-8); }
.oops__code { font-family: var(--f-mono); font-size: clamp(3.5rem, 2rem + 9vw, 7rem);
  font-weight: 700; color: var(--signal); line-height: 1; letter-spacing: -.03em; }

/* ---------- 22. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 23. Touch targets ----------
   The compact link styles above are visually right but leave thin hit areas.
   Padding grows the target without moving anything on screen. */
.nav__brand { padding-block: .5rem; }

.more { padding-top: .55rem; }

.video__link { padding-block: .6rem 0; margin-bottom: -.2rem; }

.foot__list { gap: .15rem; }
.foot__list a { display: inline-block; padding-block: .45rem; }

.info__d a, .prose a, .note a, .field__hint a { padding-block: .15rem; }
