:root {
  color-scheme: light;
  --ink: #18202c;
  --heading: #0d1622;
  --muted: #5b6675;
  --faint: #8a94a3;
  --line: #e6e9ee;
  --line-strong: #d3d9e0;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --surface: #ffffff;
  --accent: #0f7b6c;
  --accent-strong: #0a6253;
  --accent-soft: #e4f3ef;
  --accent-ink: #0a4f44;
  --short: #2f7d57;
  --short-soft: #e7f3ec;
  --long: #b06d2c;
  --long-soft: #f7ecdd;
  --code-bg: #0e1726;
  --code-ink: #e6edf6;
  --code-line: #1e2c40;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 4px 10px rgba(16, 24, 40, 0.08), 0 16px 40px rgba(16, 24, 40, 0.12);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
}

/* ============================ NAV ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand-name {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 140ms ease, background-color 140ms ease;
}

.nav-links a:hover {
  color: var(--heading);
  background: var(--bg-alt);
}

.nav-links a.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 140ms ease, background-color 140ms ease;
}

.nav-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  color: var(--heading);
  font-size: 1.05rem;
  cursor: pointer;
}

/* ============================ LAYOUT ============================ */
main {
  width: 100%;
}

.section {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  /* Full-bleed tinted band; horizontal padding centers the content column
     so children flow left-aligned, identical to the non-alt .section. */
  padding: 76px max(20px, calc((100% - var(--maxw)) / 2));
}

.tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 18px;
  font-weight: 800;
  text-wrap: balance;
}

h3 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 34px;
  font-size: 1.05rem;
}

.prose p {
  color: var(--ink);
  max-width: 820px;
  margin: 0 0 18px;
}

.prose strong {
  color: var(--heading);
}

/* ============================ HERO ============================ */
.hero {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 24px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}

h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--heading);
  text-wrap: balance;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
}

.authors li {
  white-space: nowrap;
}

sup {
  color: var(--accent);
  font-size: 0.62em;
  font-weight: 700;
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 18px auto 0;
}

.affiliations span {
  padding: 5px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--muted);
}

.affiliations sup {
  color: var(--muted);
}

.author-notes {
  margin: 14px auto 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.author-notes sup {
  color: var(--faint);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary {
  background: var(--heading);
  border-color: var(--heading);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.tldr {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 16px 22px;
  background: var(--accent-soft);
  border: 1px solid #c7e6df;
  border-radius: var(--radius);
  color: var(--accent-ink);
  font-size: 1rem;
  text-align: left;
}

.tldr strong {
  color: var(--accent-strong);
}

.shop-carousel-section {
  margin: 34px calc(50% - 50vw) 0;
  padding: 36px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: left;
}

.shop-carousel-head {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto 20px;
}

.shop-carousel-head h2 {
  margin-bottom: 0;
}

.shop-carousel-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.shop-carousel-track {
  --carousel-gap: 18px;
  display: flex;
  gap: var(--carousel-gap);
  width: max-content;
  animation: shop-carousel-scroll 42s linear infinite;
  will-change: transform;
}

.shop-carousel-viewport:hover .shop-carousel-track,
.shop-carousel-viewport:focus-within .shop-carousel-track {
  animation-play-state: paused;
}

.shop-carousel-set {
  display: flex;
  gap: var(--carousel-gap);
}

.shop-carousel-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(220px, 24vw, 310px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.shop-carousel-card:hover,
.shop-carousel-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.shop-carousel-card:focus-visible {
  outline: 3px solid rgba(15, 123, 108, 0.35);
  outline-offset: 3px;
}

.shop-carousel-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shop-carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 22, 34, 0) 45%, rgba(13, 22, 34, 0.76));
}

.shop-carousel-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

@keyframes shop-carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--carousel-gap) / 2)));
  }
}

.hero-figure {
  margin: 44px auto 0;
  max-width: var(--maxw);
}

.hero-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.5;
}

.hero-figure figcaption {
  max-width: 820px;
  margin-inline: auto;
}

/* ============================ STATS ============================ */
.stats {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.stat {
  text-align: center;
  padding: 22px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* "Living benchmark" growth pill (stats band + shops) */
.growth-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.growth-note i {
  color: var(--accent);
  font-size: 0.85em;
}

.stats-note {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 16px auto 0;
  text-align: center;
}

.shops-note {
  display: flex;
  width: fit-content;
  margin: 20px auto 0;
}

/* ============================ CARDS ============================ */
.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.skills {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.future-work-card {
  background: var(--accent-soft);
  border-color: #c7e6df;
  border-left: 4px solid var(--accent);
  padding: 22px;
}

.future-work-card h3 {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.future-work-card h3 span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #c7e6df;
  border-radius: 10px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.future-work-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.future-work-list {
  margin-top: 28px;
}

.card-icon {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.cards.three {
  margin-top: 36px;
}

/* skills */
.skill-kind {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.skill-kind.short {
  background: var(--short-soft);
  color: var(--short);
}

.skill-kind.long {
  background: var(--long-soft);
  color: var(--long);
}

.card.skill.long {
  border-color: #ecd9bf;
  background: linear-gradient(180deg, #fffaf3, #ffffff);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.chips li {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ============================ PIPELINE ============================ */
.pipeline-block {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px dashed var(--line-strong);
}

.pipeline-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.pipeline-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1.25rem;
}

.pipeline-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.pipeline-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.diagram {
  margin-top: 22px;
}

.diagram img {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px;
  cursor: zoom-in;
}

/* ============================ SHOPS ============================ */
.cards.shops {
  margin-top: 0;
}

.card.shop {
  padding: 0;
  overflow: hidden;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card.shop:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card.shop img {
  width: 100%;
  aspect-ratio: 1600 / 957;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

/* Click-to-load YouTube facade */
.video-facade {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 38, 0) 55%, rgba(15, 23, 38, 0.22));
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.video-facade:hover::after {
  background: linear-gradient(180deg, rgba(15, 23, 38, 0.08), rgba(15, 23, 38, 0.3));
}

.video-facade .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 123, 108, 0.94);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(10, 25, 22, 0.35);
  transition: transform 160ms ease, background 160ms ease;
  z-index: 1;
}

.video-facade .play-btn i {
  margin-left: 3px; /* optical centering of the play triangle */
}

.video-facade:hover .play-btn,
.video-facade:focus-visible .play-btn {
  transform: scale(1.08);
  background: var(--accent-strong);
}

.card.shop.video {
  padding: 0;
}

.card.shop .video-frame {
  width: 100%;
  aspect-ratio: 1600 / 957;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.shop-meta {
  padding: 16px 20px 18px;
}

.shop-meta h3 {
  margin: 0 0 2px;
  font-size: 1.08rem;
}

.shop-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-meta i {
  font-size: 0.74rem;
  margin-left: 4px;
  color: var(--accent);
}

.subhead {
  margin: 56px 0 10px;
  font-size: 1.3rem;
}

.cards.details {
  margin-top: 24px;
}

.shot img {
  width: 100%;
  aspect-ratio: 1600 / 957;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.shot figcaption {
  font-size: 0.88rem;
}

/* ============================ RESULTS ============================ */
.findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 48px;
}

.finding {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.finding-icon {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.finding h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.finding p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.finding strong {
  color: var(--accent-strong);
}

.result-figure {
  margin: 28px auto;
  max-width: 980px;
}

.result-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.result-figure figcaption {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.struct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 8px;
}

.struct img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.struct.dark img {
  background: #000;
  padding: 0;
}

.struct:not(.dark) img {
  background: #fff;
  padding: 16px;
}

.eval-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.eval-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.eval-note strong {
  color: var(--heading);
}

/* ============================ CODE ============================ */
.codeblock {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--code-line);
  box-shadow: var(--shadow);
  background: var(--code-bg);
  margin-bottom: 12px;
}

.codeblock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0b1320;
  border-bottom: 1px solid var(--code-line);
}

.codeblock-title {
  color: #9fb3c8;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84rem;
}

.codeblock-title i {
  margin-right: 6px;
  color: var(--accent);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #15202f;
  border: 1px solid var(--code-line);
  color: #cdd9e5;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.copy-btn:hover {
  background: #1d2c40;
  color: #fff;
}

.copy-btn.copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

pre code {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--code-ink);
  white-space: pre;
}

.cards.packages {
  margin-top: 28px;
}

.pkg-lang {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.card.pkg h3 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1rem;
  margin: 0 0 8px;
}

.code-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* ============================ FOOTER ============================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--heading);
}

.footer-affil {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.footer-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--heading);
  font-size: 1.05rem;
  transition: color 140ms ease, border-color 140ms ease;
}

.footer-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================ LIGHTBOX ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(6, 12, 20, 0.86);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards.four,
  .cards.skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px 12px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
  }
  .section,
  .section-alt {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .cards.three,
  .cards.three.shops,
  .cards.three.details,
  .findings,
  .struct-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 44px 0 16px;
  }
  .tldr {
    text-align: left;
  }
  .shop-carousel-section {
    padding: 28px 0;
  }
}

@media (max-width: 460px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards.four,
  .cards.skills {
    grid-template-columns: 1fr;
  }
  .authors {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shop-carousel-track {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
