/* Lyco Guides — the page template. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --red: #c42f22;
  --red-hover: #a5261b;
  --rail: 64px;
  --pad: clamp(20px, 5vw, 72px);
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;
  --cream: #f2eadb;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rail) + 1.5rem);
  scrollbar-color: var(--scroll, var(--ink)) var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff6ec; }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 3px; }
input, textarea { caret-color: var(--red); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--scroll, var(--ink)); border: 3px solid var(--ground); }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: #fff6ec;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  background: var(--red);
  color: #fff6ec;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.9em 1.15em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn .arrow {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { font-size: 0.82rem; padding: 0.7em 0.9em; min-height: 44px; }

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.link:hover { text-decoration-color: currentColor; }
.link-accent { color: var(--accent-ink, var(--ink)); text-decoration-color: var(--accent-ink, var(--ink)); }

/* ---------- rail (identical grammar to index.html) ---------- */

.rail {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--rail-bg, var(--ground));
  border-bottom: 1px solid var(--line-strong);
}
.rail-in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--rail);
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.wordmark-a {
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.wordmark-b {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.sheet-meta {
  margin: 0 0 0 auto;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: right;
}
.nav { display: flex; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.social { display: flex; gap: 0; align-items: center; }
.social a { color: var(--ink-dim); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; transition: color 0.2s ease; }
.social a:hover { color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* ---------- shared guide atoms ---------- */

.sec-rule { border-top: 1px solid var(--line-strong); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-strong);
}
.sec-head h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.guide-foot {
  border-top: 1px solid var(--line-strong);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-dim);
}
.guide-foot h3 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.guide-foot p + p { margin-top: 0.7rem; }
.foot-links { display: flex; flex-direction: column; gap: 0.45rem; }
.foot-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; align-self: flex-start; }
.foot-links a:hover { border-bottom-color: currentColor; }
.foot-links + .foot-links { margin-top: 1.4rem; }

.disclosure {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 70ch;
}

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

@media (max-width: 760px) {
  .nav { display: none; }
  .social { margin-left: auto; }
  .sheet-meta { display: none; }
  .rail-in { gap: 0.4rem; }
  .guide-foot { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wordmark-b { font-size: 0.6875rem; letter-spacing: 0.18em; }
  .social { gap: 0.7rem; }
  .mono { font-size: 0.75rem; letter-spacing: 0.12em; }
}

/* ---------- Contact Sheet layout ---------- */



/* ---------- theme toggle + dark mode ---------- */

.theme-toggle {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: stretch;
  width: 44px;
  height: 26px;
  padding: 0;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.theme-toggle[hidden] { display: none; }
.theme-toggle::after { content: ""; position: absolute; inset: -9px -4px; }
.theme-toggle .tg {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.theme-toggle .tg:first-child { border-left: 0; }
.theme-toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle[aria-checked="false"] .tg-light,
.theme-toggle[aria-checked="true"] .tg-dark { background: var(--ink); color: var(--ground); }

.gd[data-theme="dark"] {
  --ground: #14120e;
  --rail-bg: #14120e;
  --ink: #f2e9d8;
  --ink-dim: #a89f8f;
  --line: rgba(242, 233, 216, 0.16);
  --line-strong: rgba(242, 233, 216, 0.72);
  --focus: #f2e9d8;
  --scroll: #3a352c;
  --accent-ink: #e2634c;
  --photo: #1c1914;
}
.gd[data-theme="dark"] .gd-shot img,
.gd[data-theme="dark"] .gd-pick img,
.gd[data-theme="dark"] .gd-bar-prod img { mix-blend-mode: normal; }

@media (prefers-color-scheme: dark) {
  .gd:not([data-theme="light"]) {
    --ground: #14120e;
    --rail-bg: #14120e;
    --ink: #f2e9d8;
    --ink-dim: #a89f8f;
    --line: rgba(242, 233, 216, 0.16);
    --line-strong: rgba(242, 233, 216, 0.72);
    --focus: #f2e9d8;
    --scroll: #3a352c;
    --accent-ink: #e2634c;
    --photo: #1c1914;
  }
  .gd:not([data-theme="light"]) .gd-shot img,
  .gd:not([data-theme="light"]) .gd-pick img,
  .gd:not([data-theme="light"]) .gd-bar-prod img { mix-blend-mode: normal; }
}


.gd {
  --ground: #f1ebdd;
  --rail-bg: #f1ebdd;
  --ink: #1a1712;
  --ink-dim: #6b6355;
  --line: rgba(26, 23, 18, 0.15);
  --line-strong: rgba(26, 23, 18, 0.82);
  --focus: #1a1712;
  --scroll: #c9c0ad;
  --accent-ink: #b02a1f;
  --photo: #e7dfcd;
}

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

.gd-hero { padding-top: clamp(2.4rem, 5vw, 4rem); }

.gd-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 17ch;
  margin-block: 0;
  text-wrap: balance;
}

.gd-qual {
  margin-top: 1rem;
  max-width: 62ch;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink-dim);
}

.gd-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3rem);
}
.gd-deck {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 40ch;
}
.gd-deck strong { font-weight: 700; }
.gd-stamp { margin-top: 1.1rem; }
.gd-inside { justify-self: end; width: 100%; max-width: 22rem; }
.gd-inside .mono { display: block; margin-bottom: 0.5rem; }
.gd-inside ol { border-top: 1px solid var(--line); }
.gd-inside li {
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.gd-inside li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.55rem;
  text-decoration: none;
}
.gd-inside li a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.gd-inside li span:first-child { color: var(--ink-dim); }

/* ---------- photo band ---------- */

/* product count: 3 by default; a page sets data-products="4".."6" on <html class="gd"> */
.gd[data-products="4"] { --n: 4; }
.gd[data-products="5"] { --n: 5; }
.gd[data-products="6"] { --n: 6; }

.gd-band {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 2px;
  background: var(--line-strong);
  border-block: 1px solid var(--line-strong);
}
.gd[data-products]:not([data-products="3"]) .gd-band {
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}
.gd-shot { background: var(--ground); position: relative; }
.gd-shot a.gd-img,
.gd-pick a.gd-img,
.gd-bar-prod a.gd-img { display: block; color: inherit; text-decoration: none; }
.gd-pick a.gd-img,
.gd-bar-prod a.gd-img { line-height: 0; }
.gd-bar-prod a.gd-img { flex: none; }
.gd-shot a.gd-img::after { content: ""; position: absolute; inset: 0; }
.gd-shot:hover img,
.gd-pick a.gd-img:hover img { opacity: 0.88; }
.gd-shot img,
.gd-pick img,
.gd-bar-prod img { mix-blend-mode: multiply; }
.gd-shot img {
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  object-fit: cover;
  object-position: 50% 28%;
  background: var(--photo);
}
.gd-shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
}
.gd-shot .gd-shot-name { font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; }
.gd-shot .gd-shot-price { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; }

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

.gd-compare { padding-top: clamp(3rem, 6vw, 5rem); }

.gd-bar {
  position: sticky;
  top: var(--rail);
  z-index: 20;
  background: var(--ground);
  border-block: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 1.1fr repeat(var(--n, 3), minmax(0, 1fr));
  align-items: stretch;
}
.gd-bar > * { padding: 0.65rem 0.9rem; border-left: 1px solid var(--line); }
.gd-bar > :first-child { border-left: 0; padding-left: 0; display: flex; align-items: center; }
.gd-bar-prod { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.gd-bar-prod img { width: 38px; height: 38px; object-fit: cover; background: var(--photo); flex: none; }
.gd-bar-prod span { min-width: 0; }
.gd-bar-prod b { display: block; font-size: 0.8rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-bar-prod em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-dim); }

.gd-qband { border-bottom: 1px solid var(--line); }
.gd-q {
  display: grid;
  grid-template-columns: 1.1fr repeat(var(--n, 3), minmax(0, 1fr));
  padding-block: clamp(1.4rem, 2.6vw, 2.1rem);
}
.gd-q h3 {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-right: 1.5rem;
  max-width: 22ch;
}
.gd-q h3 .mono { display: block; margin-bottom: 0.5rem; }
.gd-ans { padding-inline: 0.9rem; border-left: 1px solid var(--line); }
.gd-ans-who {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.gd-ans b {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  font-stretch: 104%;
  letter-spacing: -0.035em;
  line-height: 1;
}
.gd-ans .gd-num { font-family: var(--mono); font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.gd-ans span { display: block; margin-top: 0.4rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-dim); }
.gd-ans.is-no b { color: var(--ink-dim); }

.gd-specs { padding-top: clamp(2rem, 4vw, 3rem); }
.gd-specs .mono { display: block; margin-bottom: 0.7rem; }
.gd-spec-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(var(--n, 3), minmax(0, 1fr));
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.gd-spec-row span:first-child { color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }
.gd-spec-row span { padding-inline: 0.9rem; }
.gd-spec-row span + span { border-left: 1px solid var(--line); }

/* ---------- verdict ---------- */

.gd-verdict { padding-top: clamp(3rem, 6vw, 5rem); }
.gd-pick {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1.3fr) minmax(0, 1.5fr) auto;
  gap: 1rem clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.gd-pick:first-of-type { border-top: 1px solid var(--line-strong); }
.gd-pick--text { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) auto; }
.gd-pick img { width: 104px; height: 104px; object-fit: cover; background: var(--photo); }
.gd-pick h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.gd-pick h3 span { display: block; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-dim); margin-top: 0.3rem; }
.gd-pick p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-dim); }
.gd-pick .btn { justify-self: end; }

/* ---------- watch ---------- */

.gd-watch {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line-strong);
  display: block;
  text-decoration: none;
}
.gd-watch:hover { background: rgba(16, 19, 18, 0.03); }
.gd-watch-copy {
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.gd-watch-copy > div:first-child { max-width: 52ch; }
.gd-watch-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; }
.gd-watch-copy p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-dim); margin-top: 0.6rem; max-width: 48ch; }
.gd-watch-foot { display: flex; align-items: flex-end; flex-direction: column; gap: 1rem; flex: none; }

/* ---------- method ---------- */

.gd-method {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.gd-method h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.gd-method p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-dim); max-width: 56ch; }
.gd-method p + p { margin-top: 0.8rem; }

@media (max-width: 980px) {
  .gd-hero-row { grid-template-columns: 1fr; }
  .gd-inside { justify-self: start; }
  .gd-band { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .gd-shot:first-child { grid-column: auto; }
  .gd-shot img { height: clamp(240px, 34vw, 380px); }
  .gd-q { grid-template-columns: 1fr; gap: 1rem; }
  .gd-q h3 { max-width: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; }
  .gd-ans { padding-inline: 0; border-left: 0; }
  .gd-ans-who {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0.35rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  .gd-bar { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .gd-bar > :first-child { display: none; }
  .gd-bar > * { padding: 0.55rem 0.6rem; }
  .gd-bar-prod { justify-content: center; }
  .gd-bar-prod b { display: none; }
  .gd-spec-row { grid-template-columns: 1.2fr repeat(var(--n, 3), minmax(0, 1fr)); font-size: 0.7rem; }
  .gd-spec-row span { padding-inline: 0.5rem; }
  .gd-watch-copy { flex-direction: column; align-items: flex-start; }
  .gd-watch-foot { align-items: flex-start; }
}

@media (max-width: 700px) {
  .gd-band {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1px;
  }
  .gd-shot { flex: 0 0 82%; scroll-snap-align: start; }
  .gd-shot img { height: 340px; }
  .gd-shot:first-child { grid-column: auto; }
  .gd-spec-row { grid-template-columns: 1fr; gap: 0.25rem; padding-block: 0.8rem; }
  .gd-spec-row span { border-left: 0 !important; padding-inline: 0; }
  .gd-spec-row span:first-child { margin-bottom: 0.2rem; }
  .gd-pick { grid-template-columns: 4.5rem minmax(0, 1fr); align-items: start; }
  .gd-pick img { width: 72px; height: 72px; }
  .gd-pick p { grid-column: 2; }
  .gd-pick .btn { grid-column: 2; justify-self: start; }
  .gd-pick--text { grid-template-columns: minmax(0, 1fr); }
  .gd-pick--text p, .gd-pick--text .btn { grid-column: 1; }
  .gd-method { grid-template-columns: 1fr; }
  .gd-watch-foot { flex-wrap: wrap; }
}

/* ---------- guides index ---------- */

.gx-index { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.gx-contents li span:first-child { color: var(--ink); }
.gx-contents li .mono { color: var(--ink-dim); }
.gx-contents li a { padding-block: 0.75rem; }

.gx-section { padding-top: clamp(2.2rem, 4.5vw, 3.6rem); }

.gx-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 0.85rem;
  border-top: 1px solid var(--line-strong);
}
.gx-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.gx-head .mono { white-space: nowrap; }

.gx-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 0 1.5rem;
  min-height: 60px;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.gx-row:hover { background: rgba(16, 19, 18, 0.03); }
.gx-row:focus-visible { outline-offset: -2px; }

.gx-no { white-space: nowrap; }

.gx-title {
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 44ch;
  text-wrap: balance;
}

.gx-arrow {
  width: 20px;
  height: 20px;
  justify-self: end;
  color: var(--ink-dim);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.gx-row:hover .gx-arrow,
.gx-row:focus-visible .gx-arrow { color: var(--red); transform: translateX(4px); }

@media (max-width: 760px) {
  .gx-row {
    grid-template-columns: minmax(0, 1fr) 1.5rem;
    grid-template-areas: "no arrow" "title arrow";
    gap: 0.35rem 1rem;
    padding-block: 1rem;
  }
  .gx-no { grid-area: no; }
  .gx-title { grid-area: title; font-size: 1.12rem; }
  .gx-arrow { grid-area: arrow; align-self: center; }
}

@media (max-width: 384px) {
  .gd-hero h1.gx-hero-title { font-size: 2.5rem; }
}

/* ---------- byline, related, sources ---------- */

.gd-byline { margin-top: 0.55rem; font-size: 0.8rem; line-height: 1.5; color: var(--ink-dim); }
.gd-byline a { text-decoration: underline; text-underline-offset: 3px; }
.gd-related {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.gd-related .mono { margin-right: 0.6rem; }
.gd-related a { text-decoration: underline; text-underline-offset: 3px; }
.gd-sources { margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.6; color: var(--ink-dim); }
.gd-sources a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- twelve-product shelf (LYC-G-051) ---------- */

.gd-band--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gd-band--many .gd-shot img { height: clamp(190px, 21vw, 270px); }
.gd-band--many .gd-shot figcaption { flex-direction: column; align-items: flex-start; gap: 0.15rem; }

.gd-table-wrap { margin-top: 2.2rem; overflow-x: auto; }
.gd-table-cap { caption-side: top; text-align: left; padding-bottom: 0.7rem; font-size: 0.8rem; line-height: 1.5; color: var(--ink-dim); }
.gd-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.gd-table th,
.gd-table td {
  padding: 0.6rem 0.7rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.gd-table th {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid var(--line-strong);
}
.gd-table td a { color: inherit; }
.gd-table .t-num { font-family: var(--mono); white-space: nowrap; }
.gd-table tbody th { font-family: inherit; font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: inherit; }

/* The four question bands answer with a band label, not a measured value, so
   the answer headline is sized for words rather than a number. */
.gd-ans--label b { font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: -0.01em; line-height: 1.25; }

.gd-shelf-head {
  margin-top: 2.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 980px) {
  .gd-band--many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .gd-band--many { display: flex; }
  .gd-band--many .gd-shot img { height: 240px; }
  .gd-table { font-size: 0.72rem; }
  .gd-table th,
  .gd-table td { padding: 0.5rem 0.55rem; }
}
