/* ==========================================================================
   bytewav.com - design system
   Single stylesheet, no build step. Swap brand values in :root only.
   Radius system: cards 12px, controls 8px, pills 999px. Nothing else.
   ========================================================================== */

:root {
  /* --- brand: taken from the Bytewave logo --- */
  --accent: #00d1f7;        /* logo cyan */
  --accent-hi: #5ce2ff;     /* hover */
  --accent-ink: #001617;    /* text on a cyan fill, 10.2:1 */
  --accent-soft: rgba(0, 209, 247, 0.12);

  /* --- surfaces: teal-tinted neutrals, not pure black --- */
  --bg: #001617;
  --surface: #001f20;       /* logo background */
  --surface-2: #002a2c;
  --line: rgba(140, 220, 232, 0.12);
  --line-2: rgba(140, 220, 232, 0.22);

  /* --- text: all AA or better on --bg --- */
  --text: #e6f6f8;          /* 16.8:1 */
  --text-2: #93b0b4;        /*  8.1:1 */
  --text-3: #6f8c90;        /*  5.2:1 */

  /* --- type --- */
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* --- shape --- */
  --r-card: 12px;
  --r-ctl: 8px;

  /* --- rhythm --- */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 7vw, 6rem);
  --maxw: 1240px;

  /* --- motion --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.42s;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--r-ctl) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --------------------------------------------------------------- type --- */
.display {
  font-size: clamp(2.15rem, 1.3rem + 2.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.015em; }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); color: var(--text-2); max-width: 56ch; }
.body { color: var(--text-2); max-width: 65ch; }
.small { font-size: 0.9rem; color: var(--text-2); }
.mono-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.accent { color: var(--accent); }

/* ------------------------------------------------------------ controls -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-ctl);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              transform 0.12s var(--ease), color 0.2s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-3); background: rgba(255, 255, 255, 0.04); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--accent); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: border-color 0.2s var(--ease);
}
.textlink:hover { border-bottom-color: currentColor; }
.textlink svg { transition: transform 0.2s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 68px;
  background: rgba(0, 22, 23, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { height: 30px; width: auto; flex-shrink: 0; }
/* the wordmark artwork reserves space for the dot above the A, so the
   letters sit low in their own box. Nudge up to optically centre. */
.brand__word { height: 26px; width: auto; flex-shrink: 0; margin-top: -3px; }
.brand__lockup { height: 74px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a {
  text-decoration: none; font-size: 0.94rem; color: var(--text-2); font-weight: 500;
  transition: color 0.18s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__right { display: flex; align-items: center; gap: 1rem; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  border-radius: var(--r-ctl); padding: 0.5rem 0.65rem; cursor: pointer;
}
.nav__toggle svg { width: 18px; height: 18px; }

@media (max-width: 1040px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    display: none; flex-direction: column; gap: 0.25rem; z-index: 49;
  }
  .nav__panel[data-open="true"] { display: flex; }
  .nav__panel a {
    text-decoration: none; padding: 0.85rem 0; font-size: 1.05rem; font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .nav__panel .btn { margin-top: 1rem; }
}
@media (min-width: 1041px) { .nav__panel { display: none !important; } }

/* --------------------------------------------------------------- hero --- */
.hero { padding-top: clamp(2.75rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5.5vw, 4.75rem); }
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero__copy > * + * { margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------------------ diagram --- */
.diagram { width: 100%; }
.diagram__frame {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.diagram__cap {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
  margin-top: 1rem; letter-spacing: 0.02em;
}
.dgm-node { fill: #002325; stroke: var(--line-2); }
.dgm-node--hi { fill: rgba(0, 209, 247, 0.12); stroke: rgba(0, 209, 247, 0.5); }
.dgm-txt { fill: var(--text); font-family: var(--sans); font-size: 12.5px; font-weight: 500; }
.dgm-sub { fill: var(--text-3); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; }
.dgm-edge { stroke: var(--line-2); stroke-width: 1.25; fill: none; }
.dgm-flow { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-dasharray: 5 9; opacity: 0.9; }

@media (prefers-reduced-motion: no-preference) {
  .dgm-flow { animation: dash 2.4s linear infinite; }
}
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ------------------------------------------------------------ statement - */
.statement { max-width: 24ch; font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.14; letter-spacing: -0.03em; font-weight: 600; }
.statement-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .statement-grid { grid-template-columns: 1.1fr 1fr; align-items: end; } }

/* -------------------------------------------------------------- bento --- */
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile p { color: var(--text-2); font-size: 0.95rem; }
.tile__list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.9rem; }
.chip {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--text-2); border: 1px solid var(--line);
  padding: 0.28rem 0.55rem; border-radius: 999px;
}
@media (min-width: 1000px) {
  .tile--wide { grid-column: span 2; }
}
.tile--accent {
  background:
    radial-gradient(120% 130% at 88% 8%, rgba(0, 209, 247, 0.13), transparent 58%),
    var(--surface);
  border-color: rgba(0, 209, 247, 0.3);
}
/* Second visual treatment for the bento: a genuinely raised surface rather
   than a decorative grid pattern. Hierarchy, not texture. */
.tile--raised {
  background: var(--surface-2);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(0, 209, 247, 0.18);
}

/* ----------------------------------------------------------- migration -- */
.swap { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .swap { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.swap__col {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(1.35rem, 2.6vw, 1.9rem); background: var(--surface);
}
.swap__col--to { background: linear-gradient(165deg, rgba(0, 209, 247, 0.07), var(--surface)); border-color: rgba(0, 209, 247, 0.28); }
.swap__head { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.swap__col--to .swap__head { color: var(--accent); }
.swap__col li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--text-2); }
.swap__col li:last-child { border-bottom: 0; padding-bottom: 0; }
.swap__col--to li { color: var(--text); }
.swap__arrow { display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.swap__arrow svg { width: 26px; height: 26px; }
@media (max-width: 819px) { .swap__arrow { transform: rotate(90deg); padding: 0.25rem 0; } }

/* -------------------------------------------------------------- steps --- */
.steps-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 920px) { .steps-grid { grid-template-columns: 0.85fr 1.15fr; } }
@media (min-width: 920px) { .steps-grid__aside { position: sticky; top: 110px; align-self: start; } }
.step { padding: clamp(1.4rem, 2.6vw, 1.9rem) 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-2); font-size: 0.98rem; max-width: 58ch; }

/* ------------------------------------------------------------ marquee --- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 3rem; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: slide 46s linear infinite; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item { font-family: var(--mono); font-size: 0.92rem; color: var(--text-2); letter-spacing: 0.02em; white-space: nowrap; }

/* ---------------------------------------------------------------- cta --- */
.cta-band {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(0, 209, 247, 0.12), transparent 62%),
    var(--surface);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.2fr auto; } }

/* ------------------------------------------------------------ services -- */
.svc { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.svc__grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .svc__grid { grid-template-columns: 0.8fr 1.2fr; } }
.svc__body > * + * { margin-top: 1.1rem; }
.svc__points { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.svc__points li { display: flex; gap: 0.75rem; color: var(--text-2); font-size: 0.97rem; align-items: flex-start; }
.svc__points svg { flex-shrink: 0; margin-top: 0.35rem; color: var(--accent); width: 14px; height: 14px; }
.svc__jump { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc__jump a {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.8rem;
  text-decoration: none; color: var(--text-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.svc__jump a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------- work -- */
.work { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .work { grid-template-columns: repeat(2, 1fr); } }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.1rem); display: flex; flex-direction: column; gap: 1rem;
}
.case__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.case__result { display: grid; gap: 0.85rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.case__result div { display: flex; gap: 0.8rem; align-items: baseline; }
.case__result dt { font-family: var(--mono); font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; min-width: 5.5rem; }
.case__result dd { margin: 0; font-size: 0.95rem; color: var(--text); }
.notice {
  border: 1px dashed var(--line-2); border-radius: var(--r-card);
  padding: 1.1rem 1.35rem; color: var(--text-2); font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.02);
}

/* --------------------------------------------------------------- about -- */
.about-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr 0.85fr; } }
.principle { padding-block: 1.35rem; border-top: 1px solid var(--line); }
.principle h3 { margin-bottom: 0.4rem; }
.principle p { color: var(--text-2); font-size: 0.97rem; }
.factbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.4rem, 3vw, 1.9rem); }
.factbox dl { display: grid; gap: 1rem; margin: 0; }
.factbox dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.factbox dd { margin: 0.2rem 0 0; font-size: 0.97rem; }

/* --------------------------------------------------------------- form --- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.field .hint { font-size: 0.82rem; color: var(--text-3); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  padding: 0.75rem 0.9rem; font-size: 0.97rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #003033; outline: none; }
.field textarea { min-height: 148px; resize: vertical; }
.field .err { font-size: 0.85rem; color: #ff9d8a; }
.field--bad input, .field--bad textarea { border-color: #ff9d8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: 0.85rem; color: var(--text-3); margin-top: 0.9rem; }
.alert { border-radius: var(--r-card); padding: 1rem 1.25rem; margin-bottom: 1.75rem; font-size: 0.95rem; border: 1px solid; }
.alert--ok { border-color: rgba(120, 220, 160, 0.4); background: rgba(120, 220, 160, 0.08); color: #b6f0cd; }
.alert--bad { border-color: rgba(255, 157, 138, 0.45); background: rgba(255, 157, 138, 0.08); color: #ffc9bd; }

/* ------------------------------------------------------------- footer --- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer .brand { display: block; }
.footer h2 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); font-weight: 500; margin-bottom: 1rem; }
.footer li + li { margin-top: 0.6rem; }
.footer a { text-decoration: none; color: var(--text-2); font-size: 0.94rem; transition: color 0.18s var(--ease); }
.footer a:hover { color: var(--text); }
.footer__base { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.86rem; }

/* ------------------------------------------------------------- reveal --- */
/* Gated behind .js so that content is never hidden when scripting is off or
   the script fails to load. No JS means no animation, never a blank page.   */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- page hd -- */
.pagehead { padding-top: clamp(2.75rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.pagehead .display { max-width: 18ch; }
.pagehead .lede { margin-top: 1.35rem; }

/* ---------------------------------------------------------- industries -- */
/* Deliberately not cards: these sit as a divided index so the page does not
   read like a repeat of the bento on the homepage. */
.ind { display: grid; gap: 0 clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .ind { grid-template-columns: 1fr 1fr; } }
.ind__item { border-top: 1px solid var(--line); padding-block: clamp(1.6rem, 3vw, 2.2rem); }
.ind__item h2 { margin-bottom: 0.6rem; }

/* ------------------------------------------------------------ insights -- */
.postlist { display: grid; gap: 0; }
.post { border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 3.5vw, 2.5rem); max-width: 68ch; }
.post__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: baseline;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 0.9rem;
}
.post__meta span:first-child { color: var(--accent); }
.post__title { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); line-height: 1.2; margin-bottom: 0.7rem; letter-spacing: -0.025em; }
.post__title a { text-decoration: none; transition: color 0.18s var(--ease); }
.post__title a:hover { color: var(--accent); }

/* ------------------------------------------------------------- article -- */
.article.wrap { max-width: 812px; }
.article__head { padding-top: clamp(2.5rem, 5vw, 4rem); }
.article__head .display { margin-bottom: 1.35rem; }
.article__head .lede { max-width: 60ch; }
.article__body {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line);
  font-size: 1.09rem; line-height: 1.72; color: var(--text-2);
}
.article__body > p { max-width: 68ch; }
.article__body > p + p { margin-top: 1.3rem; }
.article__body h2 {
  color: var(--text); font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.65rem);
  margin-top: clamp(2.5rem, 4vw, 3.25rem); margin-bottom: 1rem; max-width: 26ch;
}
.article__body code {
  font-family: var(--mono); font-size: 0.88em; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 0.1em 0.38em; border-radius: 5px; white-space: nowrap;
}
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__foot {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.5rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.article__foot a { text-decoration: underline; text-underline-offset: 3px; }
