/*
 * Jude Brownell portfolio: styles.
 * Design tokens live in :root (light) and the two dark-theme blocks below it.
 * Light mode uses hunter green, dark mode uses amber; every text pair passes WCAG AA.
 * Order: tokens, base, header, buttons, hero, sections, components, accessibility, motion.
 */
:root {
  --bg: #ffffff;
  --tile: #f3f6f3;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #5a615b;
  --line: #d9e0da;
  --accent: #355e3b;
  --disc: #bfd4c2;
  --soft: #e6efe7;
  --good: #355e3b;
  --btn: #355e3b;
  --on-btn: #ffffff;
  --contact: #355e3b;
  --on-contact: #ffffff;
  --contact-btn: #ffffff;
  --contact-ink: #355e3b;
  --contact-eye: #ddebdf;
  --code-k: #ffbf00;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui,
    sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --r: 28px;
  --wrap: 1120px;
  --head: 52px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px -18px rgba(0, 0, 0, 0.18);
  --ar1: #4338ca;
  --ar2: #4f46e5;
  --ar3: #3730a3;
  --ar4: #6366f1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #000000;
    --tile: #19170f;
    --card: #211e14;
    --ink: #f5f5f7;
    --muted: #a9a595;
    --line: #3a3524;
    --accent: #ffbf00;
    --disc: #ffbf00;
    --soft: #2a2200;
    --good: #ffbf00;
    --btn: #ffbf00;
    --on-btn: #1d1d1f;
    --contact: #211e14;
    --on-contact: #f5f5f7;
    --contact-btn: #ffbf00;
    --contact-ink: #1d1d1f;
    --contact-eye: #ffbf00;
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #000000;
  --tile: #19170f;
  --card: #211e14;
  --ink: #f5f5f7;
  --muted: #a9a595;
  --line: #3a3524;
  --accent: #ffbf00;
  --disc: #ffbf00;
  --soft: #2a2200;
  --good: #ffbf00;
  --btn: #ffbf00;
  --on-btn: #1d1d1f;
  --contact: #211e14;
  --on-contact: #f5f5f7;
  --contact-btn: #ffbf00;
  --contact-ink: #1d1d1f;
  --contact-eye: #ffbf00;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
  --ar1: #6366f1;
  --ar2: #818cf8;
  --ar3: #4f46e5;
  --ar4: #a5b4fc;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 12px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
body.lock {
  overflow: hidden;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection {
  background: var(--soft);
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  margin: 0;
}
.mono {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* header */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
header.top .wrap {
  height: var(--head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.mark .mav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  box-shadow:
    0 0 0 2px var(--card),
    0 0 0 3.5px var(--accent);
  display: block;
}
.navr {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.8;
}
nav a:hover {
  opacity: 1;
}
.theme {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--tile);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.theme svg {
  width: 15px;
  height: 15px;
}
.theme .moon {
  display: none;
}
:root[data-theme='dark'] .theme .sun {
  display: none;
}
:root[data-theme='dark'] .theme .moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme .sun {
    display: none;
  }
  :root:not([data-theme='light']) .theme .moon {
    display: block;
  }
}
@media (max-width: 1100px) {
  nav li.opt {
    display: none;
  }
  nav ul {
    gap: 16px;
  }
  .navr {
    gap: 12px;
  }
}
.draft {
  background: var(--tile);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.draft .wrap {
  padding-block: 8px;
}
.draft b {
  color: var(--ink);
  font-weight: 600;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 500 16px var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--tile);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.btn:hover {
  transform: scale(1.02);
}
.btn:active {
  transform: scale(0.98);
}
.btn.primary {
  background: var(--btn);
  color: var(--on-btn);
}
.tlink {
  font-size: 17px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.tlink:hover {
  text-decoration: underline;
}

.hcenter {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.avail {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink);
}
.avail i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent);
}

.hero h1 span {
  color: var(--accent);
}
.lede {
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 36em;
  letter-spacing: -0.015em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 32px;
}

.hcards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  order: -1;
  width: 100%;
}
.hc {
  background: var(--card);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  text-align: left;
  min-width: 0;
}
.hc b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hc span {
  font-size: 13px;
  color: var(--muted);
}
.hc.q {
  max-width: 280px;
}
.hc.q blockquote {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hc.q figcaption {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 96px;
  }
  .htile {
    padding-top: 48px;
    min-height: 560px;
  }
  .htile .me {
    width: 420px;
  }
  .hcards {
    display: contents;
  }
  .hc {
    position: absolute;
    z-index: 2;
  }
  .hc.s1 {
    left: 7%;
    top: 26%;
  }
  .hc.s2 {
    left: 11%;
    top: 52%;
  }
  .hc.q {
    right: 6%;
    top: 32%;
  }
}
.intentbar {
  margin-top: 20px;
}
.intent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding-block: 8px;
}
.intent .q {
  font-size: 14px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chip {
  font: 500 14px var(--sans);
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  background: var(--tile);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.chip:hover {
  background: color-mix(in srgb, var(--tile) 70%, var(--line));
}
.chip[aria-pressed='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.start {
  flex-basis: 100%;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.start:empty {
  display: none;
}
.start a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.start a:hover {
  text-decoration: underline;
}

/* sections */
section {
  padding-block: 96px;
}
.shead {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.shead h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.shead p {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 36em;
  line-height: 1.45;
}
@media (min-width: 900px) {
  section {
    padding-block: 140px;
  }
}

/* research */
.rhead {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.rhead .mono {
  display: none;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0;
}
.rgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.research {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
  min-width: 0;
  width: 100%;
}
.rimg {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.rimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.research:hover .rimg img {
  transform: scale(1.04);
}
.research:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.rtxt {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rtxt .type,
.proj .type,
.pinfo .type,
.artinfo .type {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.rtxt h3 {
  font-size: clamp(24px, 2.4vw, 30px);
}
.rtxt p {
  color: var(--muted);
  font-size: 16px;
}
.rtxt .rq {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.rtxt .rq span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.go {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
}
@media (min-width: 860px) {
  .rgrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* products */
.feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.proj {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
  min-width: 0;
}
.media {
  position: relative;
  aspect-ratio: 4/3;
  background: #fff;
  overflow: hidden;
}
.media video,
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.proj:hover .media video {
  transform: scale(1.04);
}
.proj:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.proj .info {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proj .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.proj h3 {
  font-size: 24px;
}
.proj p {
  font-size: 15.5px;
  color: var(--muted);
}
@media (min-width: 640px) {
  .feat {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .feat {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* play */
.plays {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.pcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
  min-width: 0;
}
.pthumb {
  background: var(--pc);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
}
.pthumb svg {
  width: 58%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pcard:hover .pthumb svg {
  transform: scale(1.06);
}
.pcard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pinfo {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pinfo h3 {
  font-size: 24px;
}
.pinfo p {
  font-size: 15.5px;
  color: var(--muted);
}
.artrow {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  border-radius: var(--r);
  background: var(--tile);
  padding: 22px;
  overflow: hidden;
}
.artinfo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.artinfo h3 {
  font-size: 24px;
}
.artinfo p {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 30em;
}
.artthumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.artthumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.artrow:hover .artthumbs img {
  transform: translateY(-4px) rotate(-1.5deg);
}
.artrow:hover .artthumbs img:nth-child(even) {
  transform: translateY(-4px) rotate(1.5deg);
}
.artrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.fontrow {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  align-items: center;
  border-radius: var(--r);
  background: var(--tile);
  padding: 22px;
  overflow: hidden;
}
@media (min-width: 860px) {
  .fontrow {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    padding: 28px 28px 28px 32px;
  }
}
.fspec {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 20px;
  color: var(--ink);
}
.fspec li[data-f='Script'] {
  font-family: 'Solecito Script', cursive;
}
.fspec li[data-f='Sans'] {
  font-family: 'Solecito Sans', system-ui, sans-serif;
}
.fspec li[data-f='Serif'] {
  font-family: 'Solecito Serif', Georgia, serif;
}
.ftest {
  min-width: 0;
  background: var(--card);
  border-radius: calc(var(--r) - 6px);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.fctl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.fseg {
  display: inline-flex;
  background: var(--soft);
  border-radius: 999px;
  padding: 3px;
}
.fseg button,
.fit {
  font: inherit;
  font-size: 14px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.fseg button[aria-checked='true'] {
  background: var(--accent);
  color: var(--on-btn);
}
.fit {
  background: var(--soft);
}
.fit[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-btn);
}
.fwt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 180px;
}
.fwt span {
  white-space: nowrap;
}
.fwt b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fwt input {
  flex: 1;
  min-width: 0;
  accent-color: var(--accent);
}
.fsample {
  margin: 0;
  min-height: 2.3em;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.12;
  color: var(--ink);
  font-family: 'Solecito Script', cursive;
  font-variation-settings: 'wght' 400;
  font-weight: 400;
  outline: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
  border-radius: 8px;
  transition: font-variation-settings 0.15s;
}
.fsample:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}
.fhint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 860px) {
  .artrow {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    padding: 28px 28px 28px 32px;
  }
}
@media (min-width: 640px) {
  .plays {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .plays {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* process */
.track {
  display: flex;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 auto 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--tile);
  width: max-content;
  max-width: 100%;
}
.track::-webkit-scrollbar {
  display: none;
}
.step {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  flex: none;
  padding: 9px 18px;
  border-radius: 999px;
  display: flex;
  gap: 6px;
  align-items: baseline;
  transition:
    background 0.25s,
    color 0.25s;
}
.step span {
  font-size: 12px;
  color: var(--muted);
}
.step b {
  font: 500 15px var(--sans);
}
.step[aria-selected='true'] {
  background: var(--card);
  box-shadow: var(--shadow);
}
.step:focus-visible {
  outline: 2px solid var(--accent);
}
.stagecard {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
}
.viz {
  position: relative;
  height: 280px;
}
.viz canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.viz .note {
  position: absolute;
  left: 24px;
  bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}
.panel {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.panel > .mono {
  font-size: 13px;
}
.panel h3 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
}
.panel .sub {
  font-size: 19px;
  color: var(--muted);
  margin-top: -6px;
}
.made {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.made span {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card);
}
.proof {
  font-size: 15px;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
}
.proof b {
  color: var(--ink);
  font-weight: 600;
}
.proof a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.nav2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.nav2 .btn {
  padding: 10px 18px;
  font-size: 15px;
  background: var(--card);
}
.nav2 .btn.primary {
  background: var(--btn);
}
.nav2 .btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
@media (min-width: 900px) {
  .stagecard {
    grid-template-columns: 1fr 1fr;
  }
  .viz {
    height: auto;
    min-height: 480px;
  }
  .panel {
    padding: 48px;
  }
}

/* about */
.pathgrid {
  display: grid;
  gap: 40px;
}
.story {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.aboutp {
  margin-top: 18px;
  color: var(--muted);
  max-width: 34em;
}
.aboutp a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.tl .yr {
  font-size: 14px;
  color: var(--muted);
  padding-top: 2px;
}
.tl b {
  display: block;
  font-weight: 600;
}
.tl p {
  font-size: 15px;
  color: var(--muted);
}
.tl .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tile);
  color: var(--muted);
}
@media (min-width: 900px) {
  .pathgrid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
  .pathgrid > div:first-child {
    position: sticky;
    top: calc(var(--head) + 48px);
  }
}

/* approach */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.principles div {
  background: var(--tile);
  border-radius: var(--r);
  padding: 28px;
  min-width: 0;
}
.principles svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}
.principles h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.principles p {
  font-size: 15.5px;
  color: var(--muted);
}
@media (min-width: 640px) {
  .principles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* voices */
.voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.voices blockquote {
  margin: 0;
  background: var(--tile);
  border-radius: var(--r);
  padding: 32px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0;
}
@media (min-width: 900px) {
  .voices {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* metrics */
.mgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.mcard {
  border-radius: var(--r);
  padding: 28px;
  background: var(--tile);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mcard h3 {
  font-size: 21px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  border-radius: 18px;
  background: var(--card);
  padding: 14px;
  min-width: 0;
}
.kpi .l {
  font-size: 12px;
  color: var(--muted);
}
.kpi .v {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.kpi .t {
  font-size: 12.5px;
  color: var(--muted);
}
.exp {
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.exp .h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--card);
  white-space: nowrap;
}
.pill.live {
  background: var(--soft);
  color: var(--accent);
}
.exp dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
}
.exp dt {
  font-size: 13px;
  color: var(--muted);
}
.exp dd {
  margin: 0;
}
.events {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.events li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.events li:last-child {
  border-bottom: 0;
}
.events code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.events span {
  color: var(--muted);
  text-align: right;
}
.visit {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  font-size: 14px;
}
.visit li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.visit .ts {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.visit code {
  font-family: var(--mono);
  font-size: 12.5px;
}
.empty {
  font-size: 14px;
  color: var(--muted);
}
.consentstate {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.linkbtn {
  all: unset;
  cursor: pointer;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}
@media (min-width: 900px) {
  .mgrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* contact */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--contact);
  color: var(--on-contact);
  border-radius: 36px;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 72px);
  display: grid;
  gap: 28px;
  align-items: end;
}
@media (min-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
  }
}
.contact .eyebrow {
  color: var(--contact-eye);
}
.contact h2 {
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 12em;
  line-height: 1.02;
}
.cmain {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  justify-items: start;
  min-width: 0;
}
.cblobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
}
.cblobs i {
  position: absolute;
  border-radius: 50%;
  background: var(--contact-eye);
  opacity: 0.35;
  animation: cb 18s ease-in-out infinite alternate;
}
.cblobs i:nth-child(1) {
  width: 46%;
  aspect-ratio: 1;
  left: -10%;
  top: -30%;
}
.cblobs i:nth-child(2) {
  width: 34%;
  aspect-ratio: 1;
  right: 6%;
  bottom: -24%;
  background: var(--accent);
  opacity: 0.3;
  animation-duration: 22s;
}
.cblobs i:nth-child(3) {
  width: 24%;
  aspect-ratio: 1;
  left: 40%;
  top: 30%;
  opacity: 0.18;
  animation-duration: 26s;
}
@keyframes cb {
  to {
    transform: translate(12%, 10%) scale(1.15);
  }
}
.cstat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: color-mix(in srgb, var(--on-contact) 82%, transparent);
  margin: 0;
}
.cstat i {
  flex-shrink: 0;
  transform: translateY(-1px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7ce0a3;
  box-shadow: 0 0 0 0 rgba(124, 224, 163, 0.6);
  animation: cpl 2.2s infinite;
}
@keyframes cpl {
  70% {
    box-shadow: 0 0 0 9px rgba(124, 224, 163, 0);
  }
}
.clab {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--contact-eye);
  margin-bottom: 10px;
}
.cedit {
  font-weight: 400;
  opacity: 0.8;
  margin-left: 6px;
}
.cask,
.cdraft {
  width: 100%;
}
.cchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cchip {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-contact) 35%, transparent);
  transition:
    background 0.2s,
    color 0.2s;
}
.cchip:hover {
  background: color-mix(in srgb, var(--on-contact) 10%, transparent);
}
.cchip[aria-pressed='true'] {
  background: var(--contact-btn);
  color: var(--contact-ink);
  box-shadow: none;
}
.cchip:focus-visible,
.cmsg:focus-visible {
  outline: 2px solid var(--contact-eye);
  outline-offset: 2px;
}
.cmsg {
  width: 100%;
  max-width: 40em;
  min-height: 7.5em;
  padding: 16px 18px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--on-contact) 10%, transparent);
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  outline: none;
}
.cmsg:focus {
  background: color-mix(in srgb, var(--on-contact) 15%, transparent);
}
.reach {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cmail {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 15px;
}
.email {
  font-size: 15px;
  user-select: all;
  overflow-wrap: anywhere;
  max-width: 100%;
  color: color-mix(in srgb, var(--on-contact) 85%, transparent);
}
.cmail .tlink {
  all: unset;
  cursor: pointer;
  color: var(--on-contact);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cmail .tlink:focus-visible {
  outline: 2px solid var(--contact-eye);
  outline-offset: 2px;
}
.contact .btn {
  background: var(--contact-btn);
  color: var(--contact-ink);
}
.contact .btn.ghost {
  background: transparent;
  color: var(--on-contact);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-contact) 40%, transparent);
}
.cme {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: min(280px, 64vw);
  aspect-ratio: 1/1.22;
  border-radius: 0 0 999px 999px;
  overflow: hidden;
}
.cme .cdisc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--contact-eye);
}
.cme img {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 128%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.cmew {
  position: relative;
  justify-self: center;
  align-self: center;
}
.cbub {
  position: absolute;
  z-index: 3;
  top: 2%;
  right: -18%;
  max-width: 13em;
  background: var(--contact-btn);
  color: var(--contact-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}
@media (max-width: 899px) {
  .cmew {
    order: -1;
  }
  .cme {
    width: min(200px, 54vw);
  }
  .cbub {
    right: -40%;
  }
}
@media (max-width: 420px) {
  .cbub {
    right: -34%;
    font-size: 13px;
    max-width: 10em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cblobs i,
  .cbub,
  .cstat i {
    animation: none;
  }
}
footer {
  padding-block: 32px calc(88px + env(safe-area-inset-bottom, 0px));
  font-size: 12.5px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* consent */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0 max(12px, env(safe-area-inset-right, 0px))
    calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.consent .box {
  pointer-events: auto;
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.consent p {
  font-size: 14.5px;
}
.consent p b {
  font-weight: 600;
}
.consent .acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.consent .btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* drawer */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 40;
  opacity: 0;
  transition: opacity 0.3s;
}
.scrim.open {
  opacity: 1;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(780px, 100%);
  background: var(--bg);
  z-index: 41;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(24px, env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 48px) 24px;
}
.drawer.open {
  transform: none;
}
.dtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.dtop .eyebrow {
  font-size: 14px;
}
.x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--tile);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.dmedia {
  border-radius: 22px;
  overflow: hidden;
  background: var(--tile);
}
.dmedia video,
.dmedia img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  background: #fff;
}
.dmedia.dark video {
  background: #0e1015;
}
.dnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.drawer h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 28px 0 8px;
}
.drawer .tagline {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.4;
}
.dmeta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 28px 0 8px;
}
.dmeta div {
  background: var(--tile);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 0;
}
.dmeta dt {
  font-size: 12px;
  color: var(--muted);
}
.dmeta dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.dmeta a {
  color: var(--accent);
  text-decoration: none;
}
.chap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.chap h4,
.steps2 h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}
.chap ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.chap blockquote {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.steps2 {
  display: grid;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.st b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.st .imgs {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.st .imgs.two {
  grid-template-columns: 1fr 1fr;
}
.st a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tile);
}
.st img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}
.st a:hover img {
  transform: scale(1.03);
}
.st p {
  font-size: 16px;
  color: var(--muted);
}
.funnel {
  display: grid;
  gap: 6px;
  justify-items: center;
}
.fl {
  width: calc(100% - var(--i) * 8%);
  min-width: min(100%, 260px);
  padding: 14px 18px;
  border-radius: 16px;
  text-align: center;
  display: grid;
  gap: 2px;
  background: var(--soft);
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--accent);
}

.fl b {
  font-weight: 600;
  font-size: 15px;
}
.fl span {
  font-size: 13.5px;
  color: var(--muted);
}
.jl {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.lane {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.lane .who {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.lane .row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.lane .s {
  flex: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tile);
  white-space: nowrap;
}
.lane .s:first-child {
  background: var(--soft);
  color: var(--accent);
  font-weight: 500;
}
.lane i {
  flex: none;
  font-style: normal;
  color: var(--muted);
}
.todo {
  margin-top: 24px;
  border: 1.5px dashed var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--muted);
}
.todo b {
  color: var(--ink);
}
.todo ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
@media (min-width: 640px) {
  .dmeta {
    grid-template-columns: repeat(3, 1fr);
  }
  .chap {
    grid-template-columns: 140px 1fr;
    gap: 8px 28px;
  }
  .chap h4 {
    padding-top: 4px;
  }
}

/* ask + orbit */
.ask {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.askq {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ask .chip {
  font-size: 15px;
  padding: 10px 18px;
}
.hero h1,
.hero .lede {
  transition: opacity 0.25s;
}
.swap {
  opacity: 0.15;
}
.orbit {
  position: absolute;
  inset: 0;
}

.orb img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
.orb.noimg {
  padding-left: 12px;
}
.orb.noimg::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.orbit.out .orb {
  opacity: 0;
}
.reorder {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-top: 18px;
  min-height: 1.5em;
}
.reorder a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
@media (min-width: 900px) {
  .htile {
    min-height: 600px;
  }
  .orb {
    font-size: 14px;
    padding: 8px 14px 8px 9px;
  }
  .orb img {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 520px) {
  .orb {
    font-size: 12px;
    padding: 6px 10px 6px 7px;
  }
  .orb img {
    width: 16px;
    height: 16px;
  }
}

/* whiteboards */
.bt {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--tile);
  margin-bottom: 4px;
}
.bt button {
  all: unset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
}
.bt button[aria-selected='true'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.bt button:focus-visible {
  outline: 2px solid var(--accent);
}
.bscroll {
  overflow-x: auto;
  border-radius: 18px;
}
.board {
  position: relative;
  background-color: var(--card);
  background-image: radial-gradient(
    color-mix(in srgb, var(--muted) 35%, transparent) 1px,
    transparent 1.5px
  );
  background-size: 18px 18px;
  border-radius: 18px;
  padding: 18px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent);
}
.note {
  font-family: 'Caveat', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.08;
  color: #1d1d1f;
  padding: 10px 11px 12px;
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, 0.4);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.55s cubic-bezier(0.3, 1.45, 0.5, 1);
}
.board:not(.on) .note {
  transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 7deg)) scale(1.08);
}
.n-yellow {
  background: #ffe680;
}
.n-green {
  background: #bfebcb;
}
.n-pink {
  background: #ffc6d8;
}
.n-blue {
  background: #bde2f4;
}
.n-orange {
  background: #ffd5a8;
}
.n-white {
  background: #fbfbf7;
}
.marker {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 700px;
  position: relative;
}
.quad > div {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  min-height: 200px;
}

.quad .marker {
  flex-basis: 100%;
}
.quad .note {
  width: 132px;
}
.quad > .who {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  min-height: 0;
  aspect-ratio: 1;
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.02;
  color: var(--ink);
  z-index: 2;
}
.quad > .who svg {
  width: 64px;
  height: 62px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quad > div:nth-child(1),
.quad > div:nth-child(3) {
  border-right: 2px solid var(--ink);
  padding-right: 84px;
}
.quad > div:nth-child(2),
.quad > div:nth-child(4) {
  padding-left: 84px;
}
.quad > div:nth-child(1),
.quad > div:nth-child(2) {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 30px;
}
.quad > div:nth-child(3),
.quad > div:nth-child(4) {
  padding-top: 30px;
}
.bm {
  position: relative;
  min-width: 640px;
  aspect-ratio: 4/3;
}
.bm .ax {
  position: absolute;
  background: var(--ink);
}
.bm .note {
  position: absolute;
  width: 128px;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
}
.board:not(.on) .bm .note {
  transform: translate(-50%, -62%) rotate(calc(var(--r, 0deg) + 7deg)) scale(1.08);
}
.bm .zone {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--muted);
  white-space: nowrap;
}
.bm .lab {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 6px;
}
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7263d;
}
.dots i:nth-child(even) {
  background: #2b59c3;
}
.note.best {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.jgrid {
  display: grid;
  gap: 10px;
  min-width: 760px;
}
.jgrid .rowh {
  align-self: center;
}
.jgrid .note {
  min-height: 62px;
}
.cgrid {
  display: grid;
  gap: 12px;
  min-width: 760px;
}
.cgrid .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
}
.flow .note {
  width: 112px;
  min-height: 92px;
  flex: none;
}
.flow .arr {
  font-style: normal;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  flex: none;
}
.srow {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.srow:last-child {
  margin-bottom: 0;
}
.frames {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}
.frame {
  position: relative;
  min-height: 124px;
  padding-top: 32px;
}
.frame .fn {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 21px;
  height: 21px;
  border: 2px solid #1d1d1f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}
.lane2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent);
}
.lane2:last-child {
  border-bottom: 0;
}
.lane2 .marker {
  flex: 1 0 100%;
  font-size: 22px;
  margin-bottom: 6px;
}
.lane2 .note {
  width: 124px;
}
.board .qtop {
  margin: 0 0 12px;
  font-size: 28px;
  text-align: center;
  color: var(--ink);
}
.st .phase {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.bfoot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
  margin-top: 26px;
}

/* accessibility panel */
.a11y-btn {
  position: fixed;
  left: max(14px, env(safe-area-inset-left, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 33;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 500 14px var(--sans);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.a11y-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 520px) {
  .a11y-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .a11y-btn {
    padding: 11px;
  }
}
.a11y {
  position: fixed;
  left: max(14px, env(safe-area-inset-left, 0px));
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  z-index: 36;
  width: min(340px, calc(100vw - 28px));
  max-height: calc(100vh - 100px);
  overflow: auto;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
}
.a11y-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.a11y-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  cursor: pointer;
}
.a11y-row small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.seg2 {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: var(--tile);
}
.seg2 button {
  all: unset;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.seg2 button[aria-pressed='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.seg2 button:focus-visible {
  outline: 2px solid var(--accent);
}
.sw {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  cursor: pointer;
  flex: none;
  transition: background 0.2s;
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.sw:checked {
  background: var(--btn);
}
.sw:checked::after {
  transform: translateX(16px);
}
.sw:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.a11y-report {
  padding-top: 12px;
  display: grid;
  gap: 6px;
}
.a11y-report ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}
.a11y-report li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.a11y-report li em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}
.a11y-report li em.fail {
  color: #b42318;
}
:root[data-contrast='more'] {
  --muted: var(--ink);
  --line: var(--ink);
  --tile: var(--bg);
}
:root[data-contrast='more'] .research,
:root[data-contrast='more'] .proj,
:root[data-contrast='more'] .pcard,
:root[data-contrast='more'] :root[data-links='u'] a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
:root[data-font='readable'] body,
:root[data-font='readable'] h1,
:root[data-font='readable'] h2,
:root[data-font='readable'] h3,
:root[data-font='readable'] h4,
:root[data-font='readable'] .btn,
:root[data-font='readable'] .chip {
  font-family: 'Atkinson Hyperlegible', var(--sans);
  letter-spacing: 0;
}
:root[data-motion='reduce'] *,
:root[data-motion='reduce'] *::before {
  animation: none !important;
  transition: none !important;
}
:root[data-motion='reduce'] .rv {
  opacity: 1;
  transform: none;
}

/* engineering */
.eng4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.eng4 > div {
  background: var(--tile);
  border-radius: var(--r);
  padding: 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.std {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--card);
  color: var(--accent);
}
.eng4 p {
  font-size: 15.5px;
  color: var(--muted);
}
@media (min-width: 640px) {
  .eng4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .eng4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.eng4 h3 {
  font-size: 20px;
}
.engrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}
.engcard {
  background: var(--tile);
  border-radius: var(--r);
  padding: 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.engcard h3 {
  font-size: 24px;
}
.sub2 {
  font-size: 15px;
  color: var(--muted);
}
.tabs2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--card);
  align-self: flex-start;
  max-width: 100%;
}
.tabs2 button {
  all: unset;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
}
.tabs2 button[aria-selected='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.tabs2 button:focus-visible {
  outline: 2px solid var(--accent);
}
.code,
.term {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  background: #0e1311;
  color: #e6ede9;
  border-radius: 18px;
  padding: 18px 20px;
  overflow-x: auto;
  white-space: pre;
}
.code .k {
  color: #ffbf00;
}
.code .s {
  color: #b9d9bd;
}
.code .c {
  color: #8a9a92;
}
.arch {
  background: var(--card);
  border-radius: 18px;
  padding: 12px;
  overflow-x: auto;
}
.arch svg {
  display: block;
  width: 100%;
  min-width: 600px;
  height: auto;
}
@media (min-width: 1000px) {
  .engrow {
    grid-template-columns: 1fr 1fr;
  }
}
.skillcard {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--soft);
  border-radius: var(--r);
  padding: 32px;
  min-width: 0;
}
.sk-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.sk-text h3 {
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.sk-text p {
  color: var(--muted);
}
.sk-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.sk-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 6px;
}
.sk-cap {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.term b {
  color: #ffbf00;
  font-weight: 600;
}
.term .tp {
  color: #ffbf00;
}
.term .tm {
  color: #8a9a92;
}
@media (min-width: 900px) {
  .skillcard {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 44px;
  }
}
.bring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  transition: opacity 0.25s;
}
.bring > div {
  background: var(--tile);
  border-radius: 20px;
  padding: 16px 18px;
  min-width: 0;
}
.bring b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}
.bring p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
}
@media (min-width: 900px) {
  .bring {
    grid-template-columns: repeat(4, 1fr);
  }
}

.a11y-col {
  flex-direction: column;
  align-items: flex-start;
  cursor: default;
}
.seg2.wrap2 {
  flex-wrap: wrap;
  border-radius: 16px;
}
.seg2.wrap2 button {
  font-size: 13px;
  padding: 5px 10px;
}
:root[data-cv] main,
:root[data-cv] header.top,
:root[data-cv] footer {
  transition: filter 0.3s;
}
:root[data-cv='protanopia'] main,
:root[data-cv='protanopia'] header.top,
:root[data-cv='protanopia'] footer {
  filter: url(#cb-protanopia);
}
:root[data-cv='deuteranopia'] main,
:root[data-cv='deuteranopia'] header.top,
:root[data-cv='deuteranopia'] footer {
  filter: url(#cb-deuteranopia);
}
:root[data-cv='tritanopia'] main,
:root[data-cv='tritanopia'] header.top,
:root[data-cv='tritanopia'] footer {
  filter: url(#cb-tritanopia);
}
:root[data-cv='achromatopsia'] main,
:root[data-cv='achromatopsia'] header.top,
:root[data-cv='achromatopsia'] footer {
  filter: url(#cb-achromatopsia);
}
.hlabel {
  margin: 40px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.health {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.health li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tile);
}
.health b {
  font-weight: 600;
}
.health span {
  color: var(--accent);
  font-weight: 600;
}
.qa {
  margin-top: 28px;
  display: grid;
  gap: 6px;
  max-width: 34em;
}
.qa h3 {
  font-size: 17px;
  margin-top: 10px;
}
.qa p {
  font-size: 15.5px;
  color: var(--muted);
}

.libhead {
  text-align: center;
  margin: 72px auto 24px;
  max-width: 640px;
  display: grid;
  gap: 8px;
}
.libhead h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.libhead p {
  color: var(--muted);
  font-size: 17px;
}
.skills4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.skc {
  background: var(--tile);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.skc .badge {
  align-self: flex-start;
}
.skc h4 {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.skc p {
  font-size: 15px;
  color: var(--muted);
}
.skc .try {
  color: var(--ink);
  font-weight: 500;
}
.skc .dl {
  align-self: flex-start;
  margin-top: auto;
}
.term.mini {
  font-size: 12.5px;
  padding: 12px 14px;
  border-radius: 14px;
}
@media (min-width: 700px) {
  .skills4 {
    grid-template-columns: 1fr 1fr;
  }
}
.install {
  margin-top: 20px;
  background: var(--tile);
  border-radius: var(--r);
  padding: 28px;
  min-width: 0;
}
.inst-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.inst-top h3 {
  font-size: 24px;
}
.inst-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.inst-stage {
  position: relative;
  height: 300px;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}
.inst-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.inst-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: st;
}
.inst-steps li button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  transition: background 0.25s;
}
.inst-steps li button::before {
  counter-increment: st;
  content: counter(st);
  grid-row: 1/3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  color: var(--ink);
}
.inst-steps b {
  font-weight: 600;
}
.inst-steps span {
  font-size: 14.5px;
  color: var(--muted);
  grid-column: 2;
}
.inst-steps code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--card);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--ink);
}
.inst-steps li button[aria-current='step'] {
  background: var(--card);
  box-shadow: var(--shadow);
}
.inst-steps li button[aria-current='step']::before {
  background: var(--btn);
  color: var(--on-btn);
}
.inst-steps li button:focus-visible {
  outline: 2px solid var(--accent);
}
.inst-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.inst-note a {
  color: var(--accent);
  text-decoration: none;
}
@media (min-width: 900px) {
  .inst-body {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }
  .inst-stage {
    height: 420px;
  }
  .install {
    padding: 40px;
  }
}
/* motion */
@keyframes rise {
  from {
    opacity: 0.001;
    transform: translateY(18px);
  }
}
.hero .avail {
  animation: rise 0.7s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    transform: none;
  }
}

/* ===== v17: hero that fits the screen ===== */
[hidden] {
  display: none !important;
}
.hero {
  padding: 0;
  overflow: clip;
}
.hgrid {
  height: calc(100svh - var(--htop, var(--head)));
  min-height: min(540px, calc(100svh - var(--htop, var(--head))));
  max-height: 1040px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2.6vh, 28px);
  padding-block: clamp(16px, 3.4vh, 44px) clamp(12px, 2.6vh, 32px);
}
.htext {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  animation: rise 0.8s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  font-size: clamp(32px, min(8.6vw, 6.2vh), 84px);
  margin: clamp(10px, 2.2vh, 24px) 0 clamp(8px, 1.6vh, 18px);
  max-width: 15ch;
}
.hero .lede {
  animation: rise 0.8s 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  font-size: clamp(16px, 2.2vh, 21px);
}
.hero .cta {
  animation: rise 0.8s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  margin-top: clamp(12px, 2.6vh, 30px);
}
.htile {
  position: relative;
  background: var(--tile);
  overflow: hidden;
  justify-items: center;
  animation: rise 1s 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  margin: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: block;
  border-radius: clamp(24px, 3vw, 36px);
}
.htile .disc {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: var(--disc);
  transform: translateX(-50%);
  width: auto;
  height: min(78%, 560px);
  max-width: none;
  aspect-ratio: 1;
  bottom: -14%;
}
.htile .me {
  display: block;
  z-index: 2;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: min(94%, 680px);
  width: auto;
  max-width: 94%;
  margin: 0;
  object-fit: contain;
  object-position: 50% 100%;
}
.orb {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  will-change: transform;
  transition: opacity 0.35s;
  left: 0;
  top: 0;
}
.bringwrap {
  padding-block: 8px 0;
}
@media (min-width: 960px) and (min-aspect-ratio: 1/1) {
  .hgrid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
  }
  .htext {
    align-items: flex-start;
    text-align: left;
  }
  .hero h1 {
    font-size: clamp(42px, min(4.7vw, 7.6vh), 80px);
  }
  .hero .cta {
    justify-content: flex-start;
  }
  .htile {
    height: min(100%, 760px);
    align-self: center;
  }
}
@media (max-height: 740px) and (max-width: 959px) {
  .hgrid {
    height: auto;
    max-height: none;
  }
  .htile {
    height: min(62vh, 420px);
  }
}
@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
  .hero .lede {
    font-size: 15.5px;
    line-height: 1.45;
  }
  .hero h1 {
    font-size: clamp(30px, 8.2vw, 40px);
  }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hgrid {
    height: auto;
    max-height: none;
  }
  .htile {
    height: 360px;
  }
}

/* ===== header pill + first-visit intro ===== */
.hire {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 500 13px var(--sans);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  flex: none;
  transition: transform 0.2s;
}
.hire svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.hire .hire-l {
  color: var(--muted);
}
.hire b {
  font-weight: 600;
}
.hire:hover {
  transform: translateY(-1px);
}
.hire.land {
  animation: land 0.6s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.hire.ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  animation: ping 1.2s ease-out 3;
}
@keyframes land {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.28, 0.8);
  }
  55% {
    transform: scale(0.9, 1.12);
  }
  80% {
    transform: scale(1.05, 0.96);
  }
  100% {
    transform: none;
  }
}
@keyframes ping {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}
@media (max-width: 820px) {
  .hire .hire-l {
    display: none;
  }
}
@media (max-width: 420px) {
  .mark {
    font-size: 0;
    gap: 0;
  }
  .mark .mav {
    width: 32px;
    height: 32px;
  }
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: calc(var(--head) + 24px) max(16px, env(safe-area-inset-right, 0px)) 32px
    max(16px, env(safe-area-inset-left, 0px));
  transition: opacity 0.5s;
}
.intro.out {
  opacity: 0;
  pointer-events: none;
}
.intro-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}
.intro-in {
  position: relative;
  max-width: 880px;
  width: 100%;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.intro-hi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  padding: 4px 16px 4px 4px;
  border-radius: 999px;
  background: var(--tile);
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.intro-hi .av {
  position: relative;
  width: 40px;
  height: 62px;
  margin-top: -22px;
  border-radius: 0 0 999px 999px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-end;
}
.intro-hi .av::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--disc);
}
.intro-hi .av img {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 60px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}
.intro h2 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-top: 8px;
  animation: rise 0.7s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.intro-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  animation: rise 0.7s 0.14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.itiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}
.itile {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  justify-items: start;
  gap: 4px;
  text-align: left;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: var(--tile);
  color: var(--ink);
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1),
    background 0.2s,
    box-shadow 0.2s;
  animation: deal 0.6s calc(0.2s + var(--i) * 70ms) cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
.itile:last-child {
  grid-column: 1/-1;
}
.itile svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 6px;
  transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.itile b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.itile span {
  font-size: 14px;
  color: var(--muted);
}
.itile:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: var(--shadow);
  background: var(--card);
}
.itile:hover svg {
  transform: scale(1.18) rotate(-8deg);
}
.itile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.itile[aria-pressed='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.itile[aria-pressed='true'] svg,
.itile[aria-pressed='true'] span {
  color: var(--on-btn);
}
.itile.picked {
  animation: pick 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) forwards;
}
.itile.drop {
  animation: drop 0.6s cubic-bezier(0.5, 0, 0.8, 0.4) forwards;
}
@keyframes deal {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(4deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pick {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.08, 0.94);
  }
  70% {
    transform: scale(0.97, 1.04);
  }
  100% {
    transform: scale(1.02);
  }
}
@keyframes drop {
  to {
    opacity: 0;
    transform: translateY(70vh) rotate(var(--rot, 12deg));
  }
}
.intro-skip {
  all: unset;
  cursor: pointer;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px;
}
.intro-skip:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 8px;
}
@media (min-width: 760px) {
  .itiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .itile:last-child {
    grid-column: auto;
  }
  .itile {
    padding: 22px 18px 24px;
    min-height: 168px;
    align-content: end;
  }
}
.token {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 31;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--on-btn);
  font: 600 15px var(--sans);
  white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
}
.coach {
  position: fixed;
  z-index: 32;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--btn);
  color: var(--on-btn);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: var(--shadow);
  animation: coach 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.coach b {
  font-weight: 600;
}
.coach-arrow {
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  background: var(--btn);
  transform: rotate(45deg);
  border-radius: 3px;
  left: var(--ax, 50%);
}
.coach.bye {
  animation: coachOut 0.35s ease forwards;
}
@keyframes coach {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes coachOut {
  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
}

.rv {
  opacity: 0.25;
  transform: translateY(44px) scale(0.97);
  transition:
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.rv.up {
  opacity: 0.25;
  transform: translateY(-32px) scale(0.97);
}

.wall-stage {
  position: sticky;
  top: var(--head);
  height: calc(100svh - var(--head));
  overflow: hidden;
}
.wall canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.wall-copy h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.wall-copy h2 span {
  color: var(--accent);
}
.wall-copy p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 30em;
}
.wall.late .wall-copy {
  opacity: 0;
  transform: translateY(-16px);
}
.wall-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: min(980px, 120vw);
  height: calc(100% + 90px);
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    var(--bg) 62%,
    color-mix(in srgb, var(--bg) 0%, transparent) 100%
  );
}
.wall-labels {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wall-labels:focus-within {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 72px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  z-index: 3;
}
.wall.nogl .wall-labels {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin: 24px auto 0;
  padding-inline: 16px;
}

.wall-bar {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 4vh, 40px);
  transform: translateX(-50%);
  width: min(240px, 50%);
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.wall-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.wall.nogl {
  height: auto;
}
.wall.nogl .wall-stage {
  position: relative;
  height: auto;
  padding-block: 96px;
}
.wall.nogl .wall-copy {
  position: static;
}
.wall.nogl .wall-bar {
  display: none;
}

/* ===== drawer: never wider than the screen ===== */
.drawer > *,
.steps2,
.st,
.chap > *,
.bview,
.imgs {
  min-width: 0;
}
.st {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

/* ===== journey diagram ===== */
.jchap > div {
  min-width: 0;
}
.jd {
  position: relative;
  display: grid;
  gap: 64px;
  padding: 6px 0 4px;
}
.jsvg {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  overflow: visible;
}
.jlane {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.jwho {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.jwho i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lc);
}
.jwho small {
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
}
.jsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
}
.jn {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  outline: none;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity 0.45s var(--d),
    transform 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) var(--d);
}
.jdot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 13px var(--sans);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 0 0 2.5px var(--lc);
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
}
.jt {
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--ink);
  max-width: 12ch;
  background: var(--bg);
  padding: 1px 3px;
  border-radius: 4px;
}
.jarrh {
  fill: var(--muted);
}
.jn:hover .jdot,
.jn:focus-visible .jdot,
.jn.hot .jdot {
  transform: scale(1.18);
  background: var(--lc);
  color: #fff;
}
.jn:focus-visible .jt {
  text-decoration: underline;
}
.jd.hl .jn:not(.hot) {
  opacity: 0.38;
}
.jpath {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.6, 0, 0.2, 1) 0.2s;
  opacity: 0.55;
}
.jlink {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  opacity: 0;
  transition:
    opacity 0.5s 1.2s,
    stroke 0.2s,
    stroke-width 0.2s;
}
.jlink.hot {
  stroke: var(--ink);
  stroke-width: 2.4;
  opacity: 1;
}
.jtok {
  opacity: 0;
  filter: drop-shadow(0 0 6px currentColor);
}
.jd.go .jn {
  opacity: 1;
  transform: none;
}
.jd.go .jpath {
  stroke-dashoffset: 0;
}
.jd.go .jlink {
  opacity: 0.75;
}
.jd.still .jn,
.jd.still .jpath,
.jd.still .jlink {
  transition: none;
}
.jlegend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.jlegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jlegend i {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top: 3px solid var(--accent);
  opacity: 0.7;
}
.jlegend .lg-h {
  border-top: 2px dashed var(--muted);
}
.jlegend .lg-t {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 620px) {
  .jd {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .jlane {
    align-content: start;
  }
  .jwho {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    font-size: 13px;
    min-height: 56px;
  }
  .jsteps {
    grid-auto-flow: row;
    grid-auto-rows: minmax(64px, auto);
    gap: 4px;
  }
  .jt {
    max-width: none;
    font-size: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ar1: #6366f1;
    --ar2: #818cf8;
    --ar3: #4f46e5;
    --ar4: #a5b4fc;
  }
}

.bgrid {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .bgrid {
    grid-template-columns: 1fr 1fr;
  }
}
.brandcard {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
  min-width: 0;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
}
.brandcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.brandcard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.bvis {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ar .bvis {
  background: #09090b;
  grid-auto-flow: column;
  gap: 18px;
  place-content: center;
}
.ar .bvis .lmark {
  width: clamp(64px, 10vw, 96px);
  height: auto;
}
.ar .bvis .ltype {
  width: clamp(150px, 22vw, 230px);
  height: auto;
}
.lmark .lm1 {
  fill: #6366f1;
}
.lmark .lm2 {
  fill: #818cf8;
}
.lmark .lm3 {
  fill: #4f46e5;
}
.lmark .lm4 {
  fill: #a5b4fc;
}
.lmark .lm {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.brandcard:hover .lm1,
.lmark.go .lm1 {
  transform: translate(-8%, -8%) rotate(-8deg);
}
.brandcard:hover .lm4,
.lmark.go .lm4 {
  transform: translate(8%, 8%) rotate(8deg);
}
.lmark.go .lm {
  animation: lmIn 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.lmark.go .lm1 {
  animation-delay: 0.05s;
  --fx: -60px;
  --fy: -60px;
}
.lmark.go .lm2 {
  animation-delay: 0.15s;
  --fx: 60px;
  --fy: -60px;
}
.lmark.go .lm3 {
  animation-delay: 0.25s;
  --fx: -60px;
  --fy: 60px;
}
.lmark.go .lm4 {
  animation-delay: 0.38s;
  --fx: 60px;
  --fy: 60px;
}
@keyframes lmIn {
  from {
    opacity: 0;
    transform: translate(var(--fx), var(--fy)) scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wu .bvis {
  background: linear-gradient(135deg, #103c43, #1f6a6a 55%, #36bcb1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.wu-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.wu-card img {
  display: block;
  width: clamp(160px, 22vw, 230px);
  height: auto;
}
.brandcard:hover .wu-card {
  transform: rotate(-2deg) scale(1.04);
}
.wu-tag {
  font:
    italic 700 clamp(15px, 1.7vw, 19px) Poppins,
    var(--sans);
  color: #fff;
  letter-spacing: -0.01em;
}
.wu-dots {
  display: flex;
  gap: 6px;
}
.wu-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.wu-dots i:nth-child(1) {
  background: #103c43;
}
.wu-dots i:nth-child(2) {
  background: #800055;
}
.wu-dots i:nth-child(3) {
  background: #36bcb1;
}
.wu-dots i:nth-child(4) {
  background: #07181b;
}
.binfo {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.binfo h3 {
  font-size: 24px;
}
.binfo p {
  font-size: 15.5px;
  color: var(--muted);
}
.ostats {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ostats div {
  background: var(--tile);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}
.ostats b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.ostats span {
  font-size: 13.5px;
  color: var(--muted);
}
.qlist {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.qlist blockquote {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--tile);
}
.qlist cite {
  font-size: 13px;
  margin-top: 8px;
}
.xmeta {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted);
}
.xmeta b {
  color: var(--ink);
}
.heard {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.heard li {
  background: var(--tile);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.heard b {
  font-weight: 600;
  font-size: 15.5px;
}
.heard span {
  font-size: 13.5px;
  color: var(--muted);
}
.brandcard.lg .bvis {
  background: #f5f2ed;
}
.brandcard.ms .bvis {
  background: #f8dac9;
  gap: 14px;
  align-content: center;
}
.ms-shot {
  height: 78%;
  width: auto;
  max-height: 260px;
  border-radius: 20px;
  border: 4px solid #2a120d;
  box-shadow: 0 18px 40px -16px rgba(75, 27, 19, 0.5);
  transform: rotate(-4deg);
  transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.brandcard:hover .ms-shot {
  transform: rotate(0) scale(1.04);
}
.ms-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font:
    italic 600 15px Georgia,
    serif;
  color: #4b1b13;
  background: #fff6f1;
  padding: 6px 12px;
  border-radius: 999px;
}
@media (min-width: 860px) {
  .brandcard.lg,
  .brandcard.ms {
    grid-column: 1/-1;
    flex-direction: row;
  }
  .brandcard.ms {
    flex-direction: row-reverse;
  }
  .brandcard.lg .bvis,
  .brandcard.ms .bvis {
    flex: 1 1 55%;
    aspect-ratio: auto;
    min-height: 300px;
  }
  .brandcard.lg .binfo,
  .brandcard.ms .binfo {
    flex: 1 1 45%;
    justify-content: center;
    padding: 32px 36px;
  }
}
.lg-lock {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #393e41;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lg-lock img {
  width: 84px;
  height: auto;
}
.lg-wm {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 40px;
  letter-spacing: 0.16em;
  line-height: 1;
}
.lg-sub {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.34em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lg-sub::before,
.lg-sub::after {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
}
.brandcard:hover .lg-lock {
  transform: scale(1.05) rotate(-1.5deg);
}
.lg-sw {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}
.lg-sw i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lg-sw i:nth-child(1) {
  background: #393e41;
}
.lg-sw i:nth-child(2) {
  background: #d3d0cb;
}
.lg-sw i:nth-child(3) {
  background: #deb72b;
}
.lg-sw i:nth-child(4) {
  background: #7f8fc8;
}
.lg-sw i:nth-child(5) {
  background: #1e2019;
}
/* ===== brand case blocks ===== */
.bhero {
  border-radius: 22px;
  min-height: min(46vh, 380px);
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 40px 24px;
  overflow: hidden;
}
.bhero.ar {
  background: radial-gradient(120% 90% at 50% 0%, #1e1b4b, #09090b 70%);
  grid-auto-flow: column;
  place-content: center;
}
.bhero.ar .lmark {
  width: clamp(80px, 14vw, 120px);
  height: auto;
}
.bhero.ar img {
  width: clamp(180px, 30vw, 300px);
  height: auto;
}
.bhero.wu {
  background: linear-gradient(135deg, #103c43, #1f6a6a 55%, #36bcb1);
  align-content: center;
}
.bhero.wu .wu-tag {
  margin: 0;
}
@media (max-width: 560px) {
  .bhero.ar {
    grid-auto-flow: row;
  }
}
.bhero.ms {
  background: radial-gradient(120% 90% at 50% 0%, #fff6f1, #f8dac9 75%);
  align-content: center;
  color: #4b1b13;
}
.bhero.ms .ms-lock {
  width: clamp(120px, 22vw, 170px);
  height: auto;
}
.bhero.ms .ms-tag2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: #4b1b13;
}
.bhero.lg {
  background: linear-gradient(160deg, #f4f2ee, #d3d0cb);
  align-content: center;
}
.wu-marks.ms2,
.wu-marks.lg2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wu-marks figure.pk {
  background: #f8dac9;
  box-shadow: none;
}
.wu-marks.lg2 figure {
  min-height: 150px;
}
.wu-marks.lg2 .lg-lock img {
  width: 58px;
  height: auto;
}
.wu-marks.lg2 .lg-wm {
  font-size: 28px;
}
.wu-marks.lg2 .lg-sub {
  font-size: 10px;
}
.wu-marks.lg2 figure.dk {
  background: #1e2019;
}
.wu-marks.lg2 figure.dk img {
  filter: invert(1);
  height: 110px;
}
.tspec.ms .t1 {
  font-family: 'Fraunces', Georgia, serif;
}
.tspec.lg .t1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
@media (max-width: 560px) {
  .wu-marks.ms2,
  .wu-marks.lg2 {
    grid-template-columns: 1fr;
  }
}
.bk {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.bk h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}
.bkb {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.bkb > p {
  color: var(--ink);
}
.bk img {
  max-width: 100%;
  height: auto;
}
.bk .imgs {
  display: grid;
  gap: 10px;
}
.bk .imgs.two {
  grid-template-columns: 1fr 1fr;
}
.bk .imgs a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tile);
}
.bk .imgs img {
  display: block;
  width: 100%;
}
@media (max-width: 560px) {
  .bk .imgs.two {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 640px) {
  .bk {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 8px 28px;
  }
  .bk h4 {
    padding-top: 4px;
  }
}
.anat {
  display: grid;
  gap: 18px;
  align-items: center;
}
@media (min-width: 560px) {
  .anat {
    grid-template-columns: 200px 1fr;
  }
}
.lmark.big {
  width: 100%;
  max-width: 220px;
  height: auto;
  justify-self: center;
}
.lmark.big .lm1 {
  fill: var(--ar1);
}
.lmark.big .lm2 {
  fill: var(--ar2);
}
.lmark.big .lm3 {
  fill: var(--ar3);
}
.lmark.big .lm4 {
  fill: var(--ar4);
}
.anat-l line {
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}
.anat-k {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.anat-k b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.anat svg:hover .lm4 {
  transform: scale(1.08);
}
.lgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lgrid figure {
  margin: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 22px 16px;
  min-height: 92px;
}
.lgrid img {
  width: min(100%, 220px);
  height: auto;
}
.lgrid .sq img {
  width: 56px;
}
.on-l {
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4e4e7;
}
.on-d {
  background: #09090b;
}
.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.rules li {
  background: var(--tile);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
}
.rules b {
  display: block;
  color: var(--ink);
}
.subs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.subs figure {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px #e4e4e7;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.subs img {
  width: 100%;
  max-width: 240px;
  height: auto;
}
.subs figcaption {
  font-size: 12.5px;
  color: #52525b;
  text-align: center;
}
.icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.icons img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 22%;
  box-shadow: inset 0 0 0 1px #e4e4e7;
  padding: 6%;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.icons img:hover {
  transform: translateY(-4px) rotate(-3deg);
}
.sws {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.sws.sm {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}
.swt {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 12px;
  padding: 4px;
  transition: transform 0.2s;
}
.swt i {
  display: block;
  aspect-ratio: 1.4;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent);
  margin-bottom: 4px;
}
.swt b {
  color: var(--ink);
  font-weight: 600;
}
.swt:hover {
  transform: translateY(-2px);
}
.swt:focus-visible {
  outline: 2px solid var(--accent);
}
.swt.ok span::after {
  content: ' · copied';
  color: var(--accent);
}
.tspec {
  border-radius: 18px;
  background: var(--tile);
  padding: 22px;
  display: grid;
  gap: 6px;
}
.tspec.ar {
  font-family: Inter, var(--sans);
}
.tspec.ar .t1,
.tspec.ar .t2,
.tspec.ar .t3 {
  font-family: Literata, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.tspec.ar em {
  font-style: italic;
  font-weight: 400;
}
.tspec .t1 {
  font-size: clamp(34px, 5vw, 48px);
}
.tspec .t2 {
  font-size: clamp(26px, 3.6vw, 34px);
}
.tspec .t3 {
  font-size: 22px;
}
.tspec .tb {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 46ch;
  margin-top: 6px;
}
.tspec.wu {
  font-family: Poppins, var(--sans);
}
.tspec.wu .t1 {
  font-weight: 500;
  margin: 0;
}
.tspec.wu em {
  font-weight: 700;
  font-style: italic;
  color: #36bcb1;
}
.tsc {
  overflow-x: auto;
}
.tsc table,
.schtable table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.tsc th,
.tsc td,
.schtable th,
.schtable td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.tsc th,
.schtable th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12.5px;
}
.vlist,
.vals {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.wu-marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wu-marks figure {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #e4e4e7;
}
.wu-marks img {
  width: 100%;
  height: auto;
}
@media (max-width: 560px) {
  .wu-marks {
    grid-template-columns: 1fr;
  }
}
/* chat widget demo, exact zinc tokens from the spec */
.cwrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.cw {
  --w-bg: #18181b;
  --w-bd: #52525b;
  --w-tx: #d4d4d8;
  --w-nm: #a1a1aa;
  --w-hd: #f4f4f5;
  --w-ic: #71717a;
  --w-ub: #3f3f46;
  --w-ut: #ffffff;
  --w-ta: #f4f4f5;
  --w-tat: #27272a;
  --w-tb: #27272a;
  width: min(400px, 100%);
  height: 520px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--w-bg);
  color: var(--w-tx);
  font-family: Inter, var(--sans);
  font-size: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    background 0.3s,
    color 0.3s;
}
.cw[data-t='light'] {
  --w-bg: #fafafa;
  --w-bd: #e4e4e7;
  --w-tx: #27272a;
  --w-nm: #52525b;
  --w-hd: #18181b;
  --w-ic: #71717a;
  --w-ub: #d4d4d8;
  --w-ut: #18181b;
  --w-ta: #18181b;
  --w-tat: #fafafa;
  --w-tb: #e4e4e7;
  box-shadow:
    0 30px 60px -24px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px #e4e4e7;
}
.cw-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--w-bd);
  color: var(--w-hd);
}
.cw-i {
  color: var(--w-ic);
  font-size: 18px;
  line-height: 1;
}
.cw-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #4338ca);
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.15);
}
.cw-n {
  font:
    italic 600 17px Literata,
    Georgia,
    serif;
}
.cw-sp {
  flex: 1;
}
.cw-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.cw-m {
  max-width: 92%;
  display: grid;
  gap: 4px;
  animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cw-m small {
  font:
    italic 12px Literata,
    Georgia,
    serif;
  color: var(--w-nm);
}
.cw-m p {
  margin: 0;
  line-height: 1.5;
}
.cw-m.u {
  align-self: flex-end;
}
.cw-m.u p {
  background: var(--w-ub);
  color: var(--w-ut);
  padding: 8px 14px;
  border-radius: 12px;
}
.cw-acts {
  color: var(--w-ic);
  font-size: 12px;
  letter-spacing: 4px;
}
.cw-m.typing p {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}
.cw-m.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-ic);
  animation: blink 1s infinite;
}
.cw-m.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.cw-m.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}
.cw-in {
  margin: 0 14px;
  border: 1px solid var(--w-bd);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 70px;
}
.cw-ph {
  margin: 0;
  color: var(--w-nm);
}
.cw-ask {
  all: unset;
  cursor: pointer;
  color: var(--w-hd);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    opacity 0.25s,
    transform 0.25s;
  display: inline-block;
}
.cw-ask:focus-visible {
  outline: 2px solid #818cf8;
  border-radius: 4px;
}
.cw-ask.sw-out {
  opacity: 0;
  transform: translateY(-6px);
}
.cw-send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--w-tb);
  color: var(--w-ic);
  font-size: 14px;
}
.cw-voice {
  margin: 0 14px;
  border: 1px solid var(--w-bd);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.cw-voice p {
  margin: 0;
  font-size: 13px;
  color: var(--w-nm);
}
.cw-orb {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 34px;
}
.cw-orb i {
  width: 5px;
  height: 10px;
  border-radius: 4px;
  background: #818cf8;
}
.cw.live .cw-orb i {
  animation: eq 1s ease-in-out infinite;
}
.cw-orb i:nth-child(2) {
  animation-delay: 0.1s;
}
.cw-orb i:nth-child(3) {
  animation-delay: 0.2s;
}
.cw-orb i:nth-child(4) {
  animation-delay: 0.3s;
}
.cw-orb i:nth-child(5) {
  animation-delay: 0.4s;
}
@keyframes eq {
  0%,
  100% {
    height: 8px;
  }
  50% {
    height: 32px;
  }
}
.cw-allow {
  all: unset;
  cursor: pointer;
  display: block;
  margin: 8px auto 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--w-ta);
  color: var(--w-tat);
  font-weight: 500;
}
.cw-pp {
  margin: 8px 14px 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--w-nm);
}
.cw-tg {
  display: flex;
  margin: 10px auto 14px;
  background: var(--w-tb);
  border-radius: 999px;
  padding: 3px;
  width: 200px;
}
.cw-tg button {
  all: unset;
  cursor: pointer;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 999px;
  color: var(--w-nm);
  font-size: 13.5px;
  transition:
    background 0.25s,
    color 0.25s;
}
.cw-tg button[aria-selected='true'] {
  background: var(--w-ta);
  color: var(--w-tat);
}
.cw-tg button:focus-visible {
  outline: 2px solid #818cf8;
}
.cw-side {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.cw-fab {
  all: unset;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #18181b;
  font-size: 22px;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.cw-fab:hover {
  transform: scale(1.06);
}
.why {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 16px;
}
.why b {
  display: block;
  font-weight: 600;
}
.why p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.why .src {
  font-size: 13px;
}
.why .src a {
  color: var(--accent);
}
/* ===== Schola ===== */
.ba {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .ba {
    grid-template-columns: 1fr 1fr;
  }
}
.ba figure {
  margin: 0;
  display: grid;
  gap: 8px;
}
.ba img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  background: #fff;
}
.ba figcaption {
  font-size: 13.5px;
  color: var(--muted);
}
.ba figcaption b {
  display: block;
  color: var(--ink);
}
.goals,
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.goals div,
.kpis div {
  background: var(--tile);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 2px;
}
.goals b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.goals span,
.kpis span {
  font-size: 13.5px;
  color: var(--muted);
}
.kpis b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hyp {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}
.xtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.xtabs button {
  all: unset;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tile);
  font-size: 14px;
  font-weight: 500;
}
.xtabs button[aria-selected='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.xtabs button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.xpanel {
  display: grid;
  gap: 14px;
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@media (min-width: 640px) {
  .xpanel {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}
.xpanel img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.xnoimg {
  border-radius: 14px;
  background: var(--tile);
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
.xnum {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.xnum span {
  background: var(--tile);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--muted);
  display: grid;
}
.xnum b {
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.schs {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .schs {
    grid-template-columns: 1fr 1fr;
  }
}
.sch {
  margin: 0;
  background: var(--tile);
  border-radius: 18px;
  padding: 14px 14px 10px;
  min-width: 0;
}
.sch figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}
.sch figcaption span {
  color: var(--muted);
  font-size: 12.5px;
}
.plot {
  position: relative;
  height: 200px;
  margin: 18px 0 54px 30px;
}

.plot .tk {
  position: absolute;
  left: -30px;
  transform: translateY(50%);
  font-size: 11.5px;
  color: var(--muted);
  width: 26px;
  text-align: right;
}
.plot .tk::after {
  content: '';
  position: absolute;
  left: 30px;
  width: calc(var(--pw, 0px));
  top: 50%;
}
.plot .grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line), var(--line)) 0 0/100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 50%/100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 100%/100% 1px no-repeat;
}
.plot .goal {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed color-mix(in srgb, var(--ink) 55%, transparent);
  z-index: 2;
  pointer-events: none;
}
.plot .goal b {
  position: absolute;
  left: 4px;
  top: -20px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--tile);
  padding: 0 4px;
  border-radius: 4px;
}
.plot .cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.plot .col {
  position: relative;
  display: block;
  outline: none;
}
.plot .bwrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.plot .b {
  position: relative;
  display: block;
  width: min(70%, 52px);
  border-radius: 4px 4px 0 0;
  background: color-mix(in srgb, var(--accent) 55%, var(--tile));
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d);
}
.sch.go .plot .b {
  transform: none;
}
.plot .b em {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -4px);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: var(--tile);
  padding: 0 3px;
  border-radius: 4px;
  z-index: 3;
}
.plot .win .b {
  background: var(--accent);
}
.plot .back .b {
  background: repeating-linear-gradient(
    135deg,
    color-mix(in srgb, var(--muted) 30%, var(--tile)) 0 5px,
    transparent 5px 9px
  );
  box-shadow: inset 0 0 0 1.5px var(--muted);
}
.plot .na {
  font-size: 11.5px;
  color: var(--muted);
}
.plot .xl {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  display: grid;
}
.plot .xl small {
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 600;
  white-space: normal;
  line-height: 1.1;
  max-width: 60px;
  justify-self: center;
}
.plot .col:hover .b,
.plot .col:focus-visible .b {
  filter: brightness(1.12);
}
.plot .col:focus-visible .xl {
  color: var(--ink);
  text-decoration: underline;
}
.schtable {
  margin-top: 8px;
}
.schtable summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.wall-labels li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  font: 500 14px var(--sans);
  line-height: 1.4;
}

.wall-labels b {
  font-size: 15px;
  font-weight: 600;
}
.wall-labels q {
  quotes: '“' '”';
  opacity: 0.92;
}
.wall-labels a {
  color: inherit;
  opacity: 0.72;
  font-size: 12.5px;
  text-underline-offset: 2px;
}
.wall-labels a:hover {
  opacity: 1;
}
.wall-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  bottom: calc(clamp(16px, 4vh, 40px) + 14px);
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  font: 600 12.5px var(--sans);
  color: var(--muted);
}
.wall-steps li {
  transition: color 0.3s;
}
.wall-steps li.on {
  color: var(--ink);
}

/* ===== hard-day lab ===== */
.hdlab {
  display: grid;
  gap: 20px;
}
@media (min-width: 960px) {
  .hdlab {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }
}
.hdlist {
  display: grid;
  gap: 8px;
  align-content: start;
}
.hdhint {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}
.hdp {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--tile);
  transition:
    background 0.25s,
    transform 0.25s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.hdp:hover {
  transform: translateX(3px);
}
.hdp:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hdp svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.hdt {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hdt b {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hdt > span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
}
.hdt small {
  display: none;
}
.hdnote {
  display: grid;
  border-radius: 18px;
  background: var(--tile);
  padding: 14px 16px;
  margin-top: 4px;
}
.hdn {
  grid-area: 1/1;
  display: grid;
  gap: 4px;
  align-content: start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.hdn.on {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.hdn b {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.hdn em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.hdp[aria-pressed='true'] {
  background: var(--soft);
}
.sw2 {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: background 0.25s;
}
.sw2::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.hdp[aria-pressed='true'] .sw2 {
  background: var(--btn);
}
.hdp[aria-pressed='true'] .sw2::after {
  transform: translateX(18px);
}
.hdacts {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.hdreset {
  all: unset;
  cursor: pointer;
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
}
.hdreset:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 6px;
}
.hdstage {
  position: relative;
  border-radius: var(--r);
  background: var(--tile);
  min-height: 520px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 72px 20px 40px;
}
@media (min-width: 960px) {
  .hdlab {
    align-items: start;
  }
  .hdstage {
    position: sticky;
    top: 84px;
    height: min(600px, calc(100vh - 104px));
    min-height: 500px;
  }
}
@media (max-width: 959px) {
  .hdstage {
    order: -1;
    position: sticky;
    top: 60px;
    z-index: 3;
    min-height: 0;
    height: auto;
    place-items: start center;
    align-content: start;
    gap: 8px;
    padding: 50px 10px 10px;
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.35);
  }
  .hdp small {
    display: none;
  }
  .hdclin {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(330px, 100%);
    display: none;
  }
  .hdclin.show {
    display: grid;
  }
  .hdphone {
    padding: 16px 16px 18px;
    gap: 8px;
  }
}
.hdstage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hdmeter {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  z-index: 2;
}
.hdmeter b {
  color: var(--ink);
  font-weight: 600;
  min-width: 5.5em;
  text-align: right;
}
.hdbar {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.hdbar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hdphone {
  position: relative;
  z-index: 2;
  width: min(330px, 100%);
  background: var(--card);
  border-radius: 30px;
  padding: 20px 20px 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  transition: transform 0.4s;
}
.hdphone.yay {
  animation: land 0.7s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.hdtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.hdclinic {
  font-size: 11.5px;
  color: var(--muted);
}
.hdlang {
  display: none;
  background: var(--tile);
  border-radius: 999px;
  padding: 2px;
}
.hdlang button {
  all: unset;
  cursor: pointer;
  font: 600 11.5px var(--sans);
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
}
.hdlang button[aria-pressed='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.hdlang button:focus-visible {
  outline: 2px solid var(--accent);
}
.hdstep {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hdstatus {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.hdstatus i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.hdstatus i::after {
  content: '!';
  color: var(--on-btn);
  font: 700 12px var(--sans);
  font-style: normal;
}
.hdphone h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--muted);
  transition: font-size 0.3s;
}
.hdbody {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  transition: font-size 0.3s;
}
.hdcta {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
  font: 500 12px var(--sans);
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--btn);
  color: var(--on-btn);
  transition:
    padding 0.3s,
    font-size 0.3s,
    border-radius 0.3s;
}
.hdcta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hdlisten {
  all: unset;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 500 15px var(--sans);
  padding: 12px;
  border-radius: 14px;
  background: var(--tile);
  color: var(--ink);
}
.hdlisten svg {
  width: 20px;
  height: 20px;
}
.hdlisten:focus-visible {
  outline: 2px solid var(--accent);
}
.hdphone.reading .hdlisten {
  background: var(--soft);
  color: var(--accent);
}
.hdphone.p-plain h3 {
  text-transform: none;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hdphone.p-plain .hdbody {
  color: var(--ink);
}
.hdphone.p-access h3 {
  color: var(--ink);
}
.hdphone.p-access .hdbody {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.hdphone.p-access .hdstatus {
  display: flex;
}
.hdphone.p-access .hdcta {
  font-size: 16px;
  padding: 12px;
}
.hdphone.p-lang .hdlang {
  display: flex;
}
.hdphone.p-effort .hdstep {
  color: var(--accent);
  font-weight: 600;
}
.hdphone.p-incl .hdcta {
  padding: 16px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
}
.hdphone.p-incl .hdlisten {
  display: flex;
}
.hdclin {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: 190px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  gap: 3px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition:
    opacity 0.4s,
    transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1);
  pointer-events: none;
}
.hdclin.show {
  opacity: 1;
  transform: none;
}
.hdclin b {
  font-weight: 600;
}
.hdclin .hdq {
  opacity: 0.75;
  font-size: 12px;
}
.hdchips {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.hdchips i {
  font-style: normal;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tile);
}
@media (max-width: 959px) {
  .hdstage {
    order: -1;
  }
}

/* ===== industry picker ===== */
.ipick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -16px 0 28px;
}
.ipick > span {
  font-size: 14px;
  color: var(--muted);
  margin-right: 4px;
}
.ichip {
  all: unset;
  cursor: pointer;
  font: 500 14px var(--sans);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink);
  transition:
    background 0.2s,
    transform 0.2s;
}
.ichip:hover {
  transform: translateY(-1px);
}
.ichip[aria-pressed='true'] {
  background: var(--btn);
  color: var(--on-btn);
}
.ichip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hdt small em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.hdphone.swap2 {
  animation: flipin 0.5s cubic-bezier(0.2, 1.3, 0.4, 1);
}
@keyframes flipin {
  0% {
    transform: rotateY(0);
  }
  45% {
    transform: perspective(800px) rotateY(80deg);
  }
  100% {
    transform: none;
  }
}

/* ===== metrics v2 ===== */
@media (min-width: 900px) {
  .mcard.span2 {
    grid-column: 1/-1;
  }
}
.mhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.funnel2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  counter-reset: f;
}
.funnel2 li {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  padding: 14px 14px 16px;
  display: grid;
  gap: 2px;
  transition: background 0.4s;
}
.funnel2 li i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  margin-bottom: 6px;
  transition:
    background 0.4s,
    border-color 0.4s,
    transform 0.4s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.funnel2 li b {
  font-size: 15px;
  font-weight: 600;
}
.funnel2 li span {
  font-size: 13px;
  color: var(--muted);
}
.funnel2 li.on {
  background: var(--soft);
}
.funnel2 li.on i {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}
.funnel2 li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--muted);
  font-size: 14px;
  z-index: 1;
}
@media (max-width: 640px) {
  .funnel2 {
    grid-template-columns: 1fr 1fr;
  }
  .funnel2 li:nth-child(2)::after {
    display: none;
  }
}
.mstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.mstats div {
  display: grid;
  gap: 2px;
}
.mstats b {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mstats span {
  font-size: 13px;
  color: var(--muted);
}
.motor {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 340px;
  overflow: auto;
}
.motor li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.motor li.empty {
  display: block;
  border: 0;
  animation: none;
}
.motor .ts {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 2px;
}
.motor b {
  font-size: 15px;
  font-weight: 600;
}
.motor p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.exp + .exp {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.exp .bet {
  font-size: 14.5px;
  color: var(--muted);
}
.mraw summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 4px;
}
.mraw summary::-webkit-details-marker {
  display: none;
}
.mraw summary h3::after {
  content: ' +';
  color: var(--accent);
}
.mraw[open] summary h3::after {
  content: ' −';
}
.mraw summary:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 8px;
}
.mrawgrid {
  display: grid;
  gap: 20px;
  margin-top: 14px;
}
@media (min-width: 900px) {
  .mrawgrid {
    grid-template-columns: 1fr 1fr;
  }
}
.readnext {
  margin-top: 28px;
  padding: 22px;
  border-radius: 20px;
  background: var(--tile);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.readnext span {
  font-size: 14px;
  color: var(--muted);
}
.nudge {
  position: fixed;
  z-index: 34;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100vw - 32px));
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--accent);
  border-radius: 24px;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.45),
    0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 18px 20px 18px 84px;
  display: grid;
  gap: 12px;
  transform: translateX(-50%);
  animation:
    nudgeIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both,
    nudgeRing 2.4s ease-out 0.6s 2;
}
.nudge .nav {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 0 0 3px var(--accent);
}
@keyframes nudgeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 40px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes nudgeRing {
  0% {
    box-shadow:
      0 24px 60px -12px rgba(0, 0, 0, 0.45),
      0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  }
  100% {
    box-shadow:
      0 24px 60px -12px rgba(0, 0, 0, 0.45),
      0 0 0 18px color-mix(in srgb, var(--accent) 0%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nudge {
    animation: none;
  }
}
.nudge p {
  font-size: 16px;
  line-height: 1.4;
}
.nudge .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.nudge .btn {
  padding: 9px 16px;
  font-size: 14px;
}

.wall-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(20px, 6vh, 64px);
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.4s;
  z-index: 2;
}
.vkey {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--ink);
}
.vkey li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.vkey li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.wu-lock {
  width: clamp(180px, 24vw, 260px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
  transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.wu-lock.big {
  width: clamp(220px, 34vw, 340px);
}
.brandcard:hover .wu-lock {
  transform: rotate(-2deg) scale(1.05);
}
.wu-marks figure.dk {
  background: #103c43;
  box-shadow: none;
}
.wu-marks figure img {
  width: auto;
  max-width: 100%;
  height: 64px;
}
.wu-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.wu-stats div {
  background: var(--tile);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.wu-stats b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.wu-stats span {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.wu-stats a {
  font-size: 12.5px;
  color: var(--muted);
}
.wall {
  padding: 0;
  height: 175vh;
  position: relative;
  margin-top: -96px;
}
@media (min-width: 900px) {
  .wall {
    margin-top: -140px;
  }
}

/* ===== engineering v3 ===== */
.stackcard {
  margin-top: 20px;
}
.legend2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.legend2 i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.stgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
}
.stg {
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
}
.stg h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  margin-bottom: 8px;
}
.stg ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.stg li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  position: relative;
}
.stg li:last-child {
  border-bottom: 0;
}
.stg li b {
  font-weight: 600;
}
.stg li span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  text-align: right;
}
.stg li.here b::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 7px;
  vertical-align: middle;
}
.wlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.wlist li {
  font-size: 15.5px;
  color: var(--muted);
}
.wlist b {
  color: var(--ink);
  font-weight: 600;
}
.deccard {
  margin-top: 20px;
  gap: 18px;
}
.decsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: 8px;
}
.decsteps li {
  background: var(--card);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
}
.decsteps b {
  font-size: 14px;
  font-weight: 600;
}
.decsteps span {
  font-size: 13px;
  color: var(--muted);
}
.decgrid {
  display: grid;
  gap: 20px;
}
@media (min-width: 960px) {
  .decgrid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.decctx {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.decctx b {
  color: var(--ink);
}
.wts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.wt {
  display: grid;
  grid-template-columns: 120px 1fr 64px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.wt b {
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}
.wt input {
  accent-color: var(--accent);
  width: 100%;
}
.opts {
  display: grid;
  gap: 10px;
}
.dopt {
  background: var(--card);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.dopt.win {
  border-color: var(--accent);
}
.oh {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.oh b {
  font-size: 15px;
  font-weight: 600;
}
.oh span {
  font: 700 20px var(--sans);
  font-variant-numeric: tabular-nums;
}
.ob {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.ob i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dopt:not(.win) .ob i {
  background: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.odots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--muted);
}
.odots span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.odots em {
  display: inline-block;
  width: 26px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent) calc(var(--v) * 20%), var(--line) 0);
}
.dopt small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}
.adr {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
}
.adr h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}
.adr dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
}
.adr dt {
  color: var(--muted);
}
.adr dd {
  margin: 0;
}
.archh {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 520px) {
  .wt {
    grid-template-columns: 1fr 64px;
  }
  .wt input {
    grid-column: 1/-1;
    grid-row: 2;
  }
}

/* brand story */
.drawer.story {
  width: min(1180px, 100%);
}
.drawer.story .bs-art {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  width: 100%;
  max-width: 100%;
}
.bs-art.r169 {
  aspect-ratio: 16/9;
}
.bs-art.r45 {
  aspect-ratio: 4/5;
}
@media (max-width: 620px) {
  .bs-art.r169 {
    aspect-ratio: 4/3;
  }
  .lg-panel {
    width: 90%;
    aspect-ratio: 3/2;
  }
  .lg-phones img {
    height: 88%;
  }
}
.bs-art > img:only-child,
.lg-camp > img,
.lg-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bs-head {
  margin: 30px 0 4px;
}
.bs-head h2 {
  margin: 0 0 6px !important;
  font-size: clamp(40px, 6vw, 72px) !important;
}
.bs-over {
  display: grid;
  gap: 10px 40px;
  margin: 28px 0 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
  .bs-over {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
.bs-over h4 {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.bs-over p {
  margin: 0 0 18px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink);
}
.bs-b {
  margin: 0 0 16px;
}
.bs-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 620px) {
  .bs-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
.bs-q {
  margin: 56px auto;
  max-width: 28ch;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.bs-q cite {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.bs-cta {
  margin: 26px 0 30px;
  display: flex;
  justify-content: center;
}
.bs-more {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  margin: 0 0 34px;
}
.bs-more summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
}
.bs-more summary::-webkit-details-marker {
  display: none;
}
.bs-more summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  color: var(--accent);
}
.bs-more[open] summary::after {
  content: '−';
}
.bs-next h4 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.bs-next > div {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.bs-next button {
  font: inherit;
  text-align: left;
  border: 0;
  background: var(--tile);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  min-height: 110px;
}
.bs-next button:hover {
  outline: 2px solid var(--accent);
}
.bs-next button span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.bs-art .cap {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  font:
    500 12px/1 'Inter Tight',
    var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.bs-browser {
  margin: 0;
  width: 78%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  background: #fff;
}
.bs-browser span {
  display: block;
  height: 22px;
  background: #e9e6e1 radial-gradient(circle at 14px 11px, #c9c4bd 4px, transparent 5px);
}
.bs-browser img {
  display: block;
  width: 100%;
  height: auto;
}
/* Lagos */
.lgw {
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  font-family: 'Marcellus', Georgia, serif;
}
.lgw b {
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 52px);
  letter-spacing: 0.42em;
  margin-right: -0.42em;
}
.lgw small {
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.5em;
  margin-right: -0.5em;
}
.lg-hero {
  background: #1e2019;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4%;
}
.lg-draw {
  color: #deb72b;
  width: clamp(120px, 22%, 240px);
}
.lgline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.lgline.drw path {
  stroke-dashoffset: 1;
  animation: lgdraw 2.6s cubic-bezier(0.6, 0.1, 0.3, 1) 0.3s forwards;
}
@keyframes lgdraw {
  to {
    stroke-dashoffset: 0;
  }
}
.lg-camp .lg-ov {
  position: absolute;
  inset: 0;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(20, 15, 10, 0.55), transparent 60%);
}
.lg-ov img {
  width: clamp(36px, 6%, 64px);
  height: auto;
}
.lg-ov p,
.lg-post p,
.lg-panel p,
.lg-close p {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1;
}
.lg-ov p {
  color: #f1eee9;
  font-size: clamp(30px, 5.6vw, 76px);
}
.lg-post {
  background: #d3d0cb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9%;
  color: #393e41;
}
.lg-post .lgm {
  width: 40%;
  height: auto;
}
.lg-post p {
  font-size: clamp(28px, 4vw, 52px);
}
.lg-post small {
  font:
    500 11px/1 'Inter Tight',
    var(--sans);
  letter-spacing: 0.24em;
}
.lg-seal {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 30%;
  animation: lgspin 22s linear infinite;
}
.lg-seal text {
  font:
    600 15px 'Inter Tight',
    sans-serif;
  letter-spacing: 3.4px;
  fill: #1e2019;
}
@keyframes lgspin {
  to {
    transform: rotate(360deg);
  }
}
.lg-onyx {
  background: #393e41;
  display: grid;
  place-items: center;
}
.lg-paper {
  background: #f1eee9;
  display: grid;
  place-items: center;
  color: #393e41;
}
.lg-box {
  width: 62%;
  aspect-ratio: 1;
  background: #1e2019;
  border-radius: 6px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10%;
  box-shadow:
    0 30px 50px -24px rgba(0, 0, 0, 0.55),
    inset 0 0 0 10px #262920;
  position: relative;
  transform: rotate(-6deg);
}
.lg-box::before {
  content: '';
  position: absolute;
  inset: 0 44%;
  background: #7f8fc8;
  opacity: 0.9;
}
.lg-box img {
  width: 34%;
  height: auto;
  position: relative;
}
.lg-box span {
  position: relative;
  font-family: 'Marcellus', serif;
  color: #deb72b;
  letter-spacing: 0.4em;
  font-size: clamp(14px, 1.8vw, 22px);
  background: #1e2019;
  padding: 4px 6px 4px 12px;
}
.lg-gl {
  background: #7f8fc8;
  display: grid;
  place-items: center;
}
.lg-bag {
  width: 66%;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.25));
}
.lg-bagmark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding-top: 12%;
  color: #393e41;
}
.lg-bagmark svg {
  width: 26%;
}
.lg-bagmark .lgw b {
  font-size: clamp(18px, 2.4vw, 30px);
}
.lg-street {
  background: linear-gradient(#2a2d2f, #151617);
  display: grid;
  place-items: center;
}
.lg-panel {
  width: min(80%, 860px);
  aspect-ratio: 2/1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #393e41;
  border: 10px solid #111;
  box-shadow: 0 0 80px rgba(222, 183, 43, 0.18);
}
.lg-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lg-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8%;
  align-items: flex-start;
}
.lg-panel p {
  color: #f1eee9;
  font-size: clamp(22px, 3.4vw, 46px);
}
.lg-panel .lgw b {
  font-size: clamp(14px, 1.6vw, 20px);
}
.lg-panel .lgw small {
  font-size: 8px;
}
.lg-phones {
  background: #7f8fc8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}
.lg-phones img {
  height: 84%;
  width: auto;
  border-radius: 22px;
  border: 6px solid #111;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.5);
}
.lg-phones img + img {
  transform: translateY(8%);
}
.lg-menu {
  width: 70%;
  background: #fff;
  padding: 9% 8%;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 6px;
  font:
    400 clamp(11px, 1.15vw, 14px) / 1.3 'Inter Tight',
    sans-serif;
  transform: rotate(3deg);
}
.lg-menu .lgw {
  justify-self: center;
  margin-bottom: 8%;
}
.lg-menu .lgw b {
  font-size: clamp(16px, 2vw, 24px);
}
.lg-menu h5 {
  margin: 10px 0 2px;
  font:
    500 clamp(18px, 2vw, 26px) / 1 'Cormorant Garamond',
    serif;
}
.lg-menu h5 small {
  font:
    500 9px 'Inter Tight',
    sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.lg-menu p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #e6e2dc;
  padding: 5px 0;
}
.lg-dark {
  background: #1e2019;
  display: grid;
  place-items: center;
  color: #d3d0cb;
}
.lg-stamps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8%;
  width: 64%;
}
.lg-stamps span {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 20%;
}
.lg-stamps span:nth-child(2) {
  transform: rotate(-10deg);
}
.lg-stamps span:nth-child(3) {
  transform: rotate(8deg);
}
.lg-stamps svg,
.lg-stamps img {
  width: 100%;
  height: auto;
}
.lg-pal {
  display: flex;
}
.lg-pal span {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3% 2.4%;
  gap: 4px;
  font-family: 'Inter Tight', sans-serif;
}
.lg-pal span:nth-child(1) {
  flex: 2.2;
}
.lg-pal b {
  font-weight: 600;
  font-size: clamp(11px, 1.4vw, 16px);
}
.lg-pal small {
  font-size: clamp(10px, 1.1vw, 13px);
  opacity: 0.8;
}
@media (max-width: 620px) {
  .lg-pal {
    flex-direction: column;
  }
  .lg-pal span {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .bs-art.lg-pal {
    aspect-ratio: 3/4;
  }
}
.lg-type {
  background: #f1eee9;
  color: #1e2019;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6%;
  gap: 2%;
}
.lg-type .t1 {
  margin: 0;
  font:
    500 clamp(40px, 8vw, 112px) / 1 'Cormorant Garamond',
    serif;
}
.lg-type .t2 {
  margin: 0;
  font:
    400 clamp(16px, 2.6vw, 34px) 'Marcellus',
    serif;
  letter-spacing: 0.3em;
}
.lg-type .t3 {
  margin: 0;
  font:
    400 clamp(14px, 1.6vw, 20px) 'Inter Tight',
    sans-serif;
  color: #393e41;
}
.lg-close {
  background: #1e2019;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5%;
}
.lg-close .lgw b {
  font-size: clamp(40px, 9vw, 120px);
}
.lg-close p {
  color: #d3d0cb;
  font-size: clamp(20px, 3vw, 40px);
}
@media (prefers-reduced-motion: reduce) {
  .lg-seal {
    animation: none;
  }
}

.bs-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.bs-phones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}
.bs-phones img {
  height: 84%;
  width: auto;
  border-radius: 22px;
  border: 6px solid #111;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.5);
}
.bs-phones img + img {
  transform: translateY(8%);
}
.bs-art .bs-browser {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.bs-pal {
  display: flex;
}
.bs-pal span {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3% 2.4%;
  gap: 4px;
}
.bs-pal b {
  font-weight: 600;
  font-size: clamp(11px, 1.3vw, 15px);
}
.bs-pal small {
  font-size: clamp(10px, 1vw, 13px);
  opacity: 0.8;
}
.bs-pal.col {
  flex-direction: column;
}
.bs-pal.col span {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}
@media (max-width: 620px) {
  .bs-pal:not(.col) {
    flex-direction: column;
  }
  .bs-pal:not(.col) span {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .bs-art.bs-pal {
    aspect-ratio: 3/4;
  }
}
.bs-art video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Anyreach */
.ar-hero {
  background: radial-gradient(80% 90% at 50% 40%, #1e1b4b, #09090b 70%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5%;
}
.ar-hero .lmark {
  width: clamp(70px, 12%, 140px);
}
.ar-hero img {
  width: clamp(180px, 38%, 440px);
  height: auto;
}
.ar-grad {
  background: linear-gradient(135deg, #3730a3, #6366f1 55%, #a5b4fc);
  display: grid;
  place-items: center;
  padding: 3%;
}
.ar-grad video {
  border-radius: 12px;
}
.ar-post {
  background: #4f46e5;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9%;
  font-family: 'Literata', Georgia, serif;
}
.ar-post p {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ar-post > img {
  width: 46%;
  height: auto;
}
.ar-post.lt {
  background: #f4f4f5;
  color: #09090b;
}
.ar-post .arm {
  width: 34%;
  height: auto;
}
.ar-fam {
  background: #09090b;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8%;
  padding: 6%;
}
.ar-fam > div:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
}
.ar-fam > div img {
  width: 100%;
  max-width: 240px;
  height: auto;
}
.ar-icons {
  display: flex;
  gap: 4%;
  justify-content: center;
}
.ar-icons img {
  width: clamp(40px, 8vw, 90px);
  height: auto;
  border-radius: 22%;
}
.ar-fam .cap,
.ar-spec .cap {
  color: #a1a1aa;
}
.ar-fam .cap {
  text-transform: none;
  letter-spacing: 0;
}
.ar-wbox {
  overflow: auto;
  aspect-ratio: auto !important;
  min-height: 520px;
  padding: 32px 16px;
}
.ar-wbox .cwrap {
  margin: 0 auto;
  justify-content: center;
}
.lgline path,
.msline path,
.lg-draw svg path,
.ms-draw svg path,
.lg-bagmark svg path,
.lg-stamps svg path,
.ms-post .mi path {
  stroke: currentColor !important;
}
.ar-icon4 {
  background: #eef2ff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8%;
  padding: 16%;
  align-content: center;
}
.ar-icon4 img {
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow: 0 16px 30px -18px rgba(55, 48, 163, 0.6);
}
.ar-type {
  background: #09090b;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9%;
  gap: 4px;
  font-family: 'Literata', Georgia, serif;
}
.ar-type p {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
}
.ar-type i {
  color: #a5b4fc;
}
.ar-type small {
  margin-top: 18px;
  font:
    400 14px/1.45 'Inter',
    sans-serif;
  color: #a1a1aa;
}
.ar-spec {
  background: #f4f4f5;
  display: grid;
  place-items: center;
  padding: 3%;
}
.ar-spec img {
  max-height: 92%;
  width: auto;
  max-width: 94%;
  border-radius: 8px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4);
}
.ar-close {
  background: #09090b;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4%;
}
.ar-close img {
  width: clamp(200px, 46%, 520px);
  height: auto;
}
.ar-close p {
  margin: 0;
  color: #a1a1aa;
  font:
    400 14px 'Inter',
    sans-serif;
  letter-spacing: 0.04em;
}
/* WittyUp */
.wu-hero {
  background: radial-gradient(90% 100% at 30% 20%, #1f6a6a, #103c43 60%, #07181b);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4%;
}
.wu-trace {
  width: clamp(110px, 18%, 200px);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wu-trace .wl {
  stroke: #36bcb1;
  stroke-width: 9;
}
.wu-trace .wa {
  stroke: #36bcb1;
  stroke-width: 9;
}
.wu-trace path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.wu-trace.drw .wl {
  stroke-dashoffset: 1;
  animation: lgdraw 1.6s cubic-bezier(0.6, 0.1, 0.3, 1) 0.3s forwards;
}
.wu-trace.drw .wa {
  stroke-dashoffset: 1;
  animation: lgdraw 0.5s ease-out 1.8s forwards;
}
.wu-word {
  font:
    600 clamp(36px, 6vw, 76px) / 1 'Poppins',
    sans-serif;
  color: #fff;
  letter-spacing: -0.01em;
}
.wu-tq {
  background: #36bcb1;
}
.wu-bk {
  background: #07181b;
}
.wu-tb {
  background: #103c43;
}
.wu-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}
.wu-post.mg {
  background: #800055;
}
.wu-post.lt {
  background: #e6f7f5;
  color: #103c43;
}
.wu-post p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
}
.wu-post > img {
  width: 30%;
  height: auto;
}
.wu-post.lt > img {
  width: 52%;
}
.wu-post small {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.4;
  max-width: 24ch;
}
.wu-guide {
  background: #f2f2f2;
  display: grid;
  place-items: center;
  padding: 6%;
}
.wu-guide img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4);
}
.wu-pal {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
}
.wu-pal span {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}
.wu-pal b {
  font-weight: 600;
}
.wu-type {
  background: #e6f7f5;
  color: #103c43;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6%;
  gap: 14px;
  font-family: 'Poppins', sans-serif;
}
.wu-type p {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 8vw, 108px);
  line-height: 1;
}
.wu-type i {
  font-weight: 700;
  color: #800055;
}
.wu-type small {
  font-size: clamp(13px, 1.5vw, 18px);
  max-width: 46ch;
}
.wu-close {
  background: #07181b;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5%;
}
.wu-close img {
  width: clamp(200px, 40%, 460px);
  height: auto;
}
.wu-close p {
  margin: 0;
  color: #36bcb1;
  font:
    700 italic clamp(18px, 2.6vw, 32px) 'Poppins',
    sans-serif;
}
/* Messy */
.ms-hero {
  background: radial-gradient(90% 90% at 50% 40%, #fff6f1, #f8dac9 80%);
  display: grid;
  place-items: center;
}
.ms-draw {
  width: clamp(130px, 26%, 280px);
  color: #4b1b13;
}
.msline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.msline.drw path {
  stroke-dashoffset: 1;
  animation: lgdraw 3s cubic-bezier(0.6, 0.1, 0.3, 1) 0.3s forwards;
}
.ms-es {
  background: #4b1b13;
}
.ms-bl {
  background: #fff6f1;
}
.ms-pk {
  background: #f8dac9;
}
.ms-post {
  background: #4b1b13;
  color: #fff6f1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9%;
}
.ms-post .mi {
  width: 32%;
  color: #f8dac9;
}
.ms-post p {
  margin: 0;
  font:
    600 clamp(30px, 4.4vw, 56px) / 1.05 'Fraunces',
    Georgia,
    serif;
}
.ms-post small {
  font:
    600 11px 'DM Sans',
    sans-serif;
  letter-spacing: 0.2em;
  opacity: 0.8;
}
.ms-list {
  background: #f8dac9;
  display: grid;
  place-items: center;
}
.ml {
  width: 66%;
  background: #fff6f1;
  padding: 9% 8%;
  box-shadow: 0 24px 40px -24px rgba(75, 27, 19, 0.5);
  transform: rotate(-3deg);
  font-family: 'DM Sans', sans-serif;
  color: #4b1b13;
  display: grid;
  gap: 4px;
  position: relative;
}
.ml::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4b1b13;
  transform: translateX(-50%);
}
.ml h5 {
  margin: 0 0 8px;
  font:
    600 clamp(20px, 2.4vw, 30px) 'Fraunces',
    Georgia,
    serif;
}
.ml p {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: clamp(13px, 1.4vw, 17px);
  padding: 4px 0;
  border-bottom: 1px dashed #e8c6b4;
}
.ml p span {
  width: 16px;
  height: 16px;
  border: 2px solid #4b1b13;
  border-radius: 5px;
  flex: none;
}
.ml p span.on {
  background: #4b1b13;
}
.ml small {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.8;
}
.ms-vid {
  background: #4b1b13;
  display: grid;
  place-items: center;
  padding: 8% 0;
}
.ms-vid video {
  height: 100%;
  width: auto;
  border-radius: 18px;
}
.ms-vid .cap {
  color: #f8dac9;
}
.ms-type {
  background: #fff6f1;
  color: #4b1b13;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6%;
  gap: 14px;
}
.ms-type p {
  margin: 0;
  font:
    600 clamp(40px, 8vw, 108px) / 1 'Fraunces',
    Georgia,
    serif;
}
.ms-type small {
  font:
    400 clamp(13px, 1.5vw, 18px) 'DM Sans',
    sans-serif;
  max-width: 46ch;
}
.ms-close {
  background: #f8dac9;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4%;
}
.ms-close img {
  width: clamp(110px, 18%, 190px);
  height: auto;
}
.ms-close p {
  margin: 0;
  color: #4b1b13;
  font:
    600 italic clamp(20px, 2.8vw, 36px) 'Fraunces',
    Georgia,
    serif;
}
@media (max-width: 620px) {
  .ar-fam > div:first-child {
    gap: 12px 18px;
  }
}
