@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Stack Sans Headline'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/stack-sans-headline-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f6f4f5;
  --fg-light-base-body: #1c1316;
  --fg-light-base-heading: #1c1316;
  --fg-light-base-muted: #5c4b51;
  --fg-light-base-link: #b3102e;
  --fg-light-base-inverse: #1c1316;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #1c1316;
  --fg-light-card-heading: #1c1316;
  --fg-light-card-muted: #5c4b51;
  --fg-light-card-link: #b3102e;
  --fg-light-card-inverse: #1c1316;
  --bg-light-elevated: #fbe8eb;
  --fg-light-elevated-body: #1c1316;
  --fg-light-elevated-heading: #1c1316;
  --fg-light-elevated-muted: #5c4b51;
  --fg-light-elevated-link: #b3102e;
  --fg-light-elevated-inverse: #1c1316;
  --brand-light-accent: #b3102e;
  --brand-light-accent-hover: #860b22;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #b3102e;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #1c1316;
  --border-light-subtle: #e2d3d7;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

:root {
  --font-head: 'Stack Sans Headline', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Zilla Slab', Georgia, serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 72rem;
  --measure: 38rem;
  --ink: var(--border-light-default);
  --red: var(--brand-light-accent);
  --frame: 3px solid var(--ink);
  --frame-thin: 2px solid var(--ink);
  --hair: 1px solid var(--border-light-subtle);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.62;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); margin: 0 0 1.25rem; max-width: 16ch; }

a.text-role-link { text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a.text-role-link:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 3px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.skip-link:focus { position: absolute; left: 1rem; top: 1rem; z-index: 60; background: var(--bg-light-card); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- header (static) ---------- */

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: var(--frame);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
}

.brand {
  display: inline-flex;
  flex: none;
  text-decoration: none;
  overflow-wrap: normal;
  word-break: normal;
}

.brand .site-logo, .brand svg { display: block; width: auto; height: 2rem; }

@media (min-width: 30rem) {
  .brand .site-logo, .brand svg { height: 2.5rem; }
}

.site-menu { flex: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: var(--frame-thin);
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { background: var(--bg-light-elevated); }

.menu-icon {
  display: inline-block;
  width: 1rem;
  height: 0.8rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat;
}

.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.4rem var(--gutter) 1.2rem;
  list-style: none;
  background: var(--bg-light-card);
  border-bottom: var(--frame);
}

.site-menu ul ul { list-style: none; margin: 0 0 0.4rem; padding: 0 0 0 1rem; border-left: 3px solid var(--red); }

.site-menu li a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: var(--hair);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.site-menu li a:hover { text-decoration: underline; }

.navbar { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

@media (min-width: 64rem) {
  .site-menu { display: none; }

  .navbar {
    display: block;
    border-top: var(--hair);
  }

  .site-nav > ul {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  .site-nav > ul > li { flex: none; }

  .site-nav a.text-role-link {
    display: block;
    padding: 0.7rem 0.8rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    color: var(--fg-heading);
  }

  .site-nav > ul > li:nth-child(-n+4) > a.text-role-link {
    font-weight: 700;
    border-bottom: 4px solid var(--red);
  }

  .site-nav > ul > li:first-child > a.text-role-link { padding-left: 0; }

  .site-nav > ul > li:nth-child(5) { margin-left: auto; }

  .site-nav > ul > li:last-child > a.text-role-link { padding-right: 0; }

  .site-nav a.text-role-link:hover { color: var(--brand-light-accent-hover); text-decoration: underline; text-decoration-thickness: 2px; }
}

/* ---------- page frame ---------- */

.page { padding-bottom: 4.5rem; min-width: 0; }

.breadcrumbs {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--fg-muted); }

/* ---------- body copy ---------- */

.prose { max-width: var(--measure); }

.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.6rem 0 0.8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.5rem; }
.prose p { margin: 0 0 1.1rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose ul > li::marker { color: var(--red); }
.prose strong { font-weight: 700; }

.prose blockquote { margin: 1.5rem 0; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 5px solid var(--red); }

.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: var(--frame-thin); border-radius: 4px; }

.prose table { border-collapse: collapse; width: 100%; font-size: 0.98rem; line-height: 1.4; }

.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: var(--hair); vertical-align: top; }

.prose thead th { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; border-bottom: var(--frame); }

.photo-hero, .photo-inline { margin: 1.75rem 0; }
.photo-hero img, .photo-inline img { display: block; border: var(--frame); border-radius: 6px; }

/* ---------- home: stepped ---------- */

.board > section, .home-body { max-width: var(--wide); margin-left: auto; margin-right: auto; }

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) 0;
}

.hero-lines .display-line { margin: 0 0 0.8rem; max-width: 32rem; }
.hero-lines .display-line:first-child { font-size: 1.3rem; line-height: 1.45; }
.hero-lines .display-line + .display-line { color: var(--fg-muted); }

.lip-art { display: block; width: 100%; max-width: 30rem; height: auto; justify-self: center; }
.lip-art .lip-line { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.lip-art .lip-line--seam { stroke-width: 3.5; }
.lip-art .lip-line--fine { stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 2 9; }
.lip-art .lip-dots circle { fill: var(--red); }
.lip-art .lip-syringe rect { fill: var(--bg-light-card); stroke: var(--ink); stroke-width: 4; }
.lip-art .lip-syringe path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }

@media (min-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; }
}

.ladder { padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter) 0; }

.ladder-title { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 2.8vw, 1.9rem); max-width: 26ch; }

.rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.rung {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "score name" "score count";
  column-gap: 1.1rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border: var(--frame);
  border-radius: 6px;
}

.rung-score {
  grid-area: score;
  display: grid;
  justify-items: center;
  min-width: 4.5rem;
  padding: 0.35rem 0.6rem 0.45rem;
  border-right: var(--frame-thin);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rung-scale { font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; line-height: 1.2; margin-top: 0.25rem; white-space: nowrap; }

.rung-name { grid-area: name; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.rung-count { grid-area: count; font-size: 0.98rem; }

.rung:first-child { border-color: var(--red); border-width: 4px; }
.rung:first-child .rung-score { color: var(--red); border-right-color: var(--red); }

@media (min-width: 48rem) {
  .rung { max-width: 36rem; }
  .rung:nth-child(2) { margin-left: 3rem; }
  .rung:nth-child(3) { margin-left: 6rem; }
  .rung:nth-child(4) { margin-left: 9rem; }
  .rung:nth-child(5) { margin-left: 12rem; }
}

@media (min-width: 72rem) {
  .rung:nth-child(2) { margin-left: 5rem; }
  .rung:nth-child(3) { margin-left: 10rem; }
  .rung:nth-child(4) { margin-left: 15rem; }
  .rung:nth-child(5) { margin-left: 20rem; }
}

.board > .criteria {
  max-width: none;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--gutter);
  border-top: var(--frame);
  border-bottom: var(--frame);
}

.criteria-title, .criteria-row { max-width: var(--wide); margin-left: auto; margin-right: auto; }

.criteria-title { margin-top: 0; margin-bottom: 1.25rem; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }

.criteria-row {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.criterion {
  padding: 1.1rem 1.2rem 1.25rem;
  border: var(--frame-thin);
  border-radius: 6px;
}

.criterion .icon { width: 2.25rem; height: 2.25rem; color: var(--red); stroke-width: 1.8; }
.criterion-name { margin: 0.5rem 0 0.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.criterion-text { margin: 0; font-size: 1rem; line-height: 1.45; }

.board > .home-body { padding: clamp(2.25rem, 5vw, 3.25rem) var(--gutter) 0; }
.home-body > * { max-width: var(--measure); }

/* ---------- ranked list: grid ---------- */

.ranking { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 0; }

.ranking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: var(--frame);
}

.ranking-head h1 { margin: 0; }

.treat-key { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0 0 0.3rem; }

.treat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem 0.3rem 0.45rem;
  border: var(--frame-thin);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
}

.treat .icon { width: 1.2rem; height: 1.2rem; color: var(--red); }

.ranking-body { max-width: none; }
.ranking-body > :not(ol):not(.table-scroll):not(figure) { max-width: var(--measure); }

.ranking-body ol {
  counter-reset: rank;
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.ranking-body ol > li {
  counter-increment: rank;
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  border: var(--frame);
  border-radius: 6px;
  background: var(--bg-light-card);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
}

.ranking-body ol > li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--brand-light-on-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ranking-body ol > li::after {
  content: "";
  display: block;
  width: 4.3rem;
  height: 1.1rem;
  background: var(--red);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h8v13H8zM9.5 4h5v3h-5z' fill='black'/%3E%3C/svg%3E") 0 100% / 1.1rem 1.1rem no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12C5 9 7 7.5 9 8.2c1.2.4 2.2 1.1 3 2 .8-.9 1.8-1.6 3-2 2-.7 4 .8 6.5 3.8C19 16.5 15.5 18 12 18s-7-1.5-9.5-6z' fill='black'/%3E%3C/svg%3E") 1.6rem 100% / 1.1rem 1.1rem no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3C5 5 4 9 5 13c1 4 4 7 7.5 8 2.5-.3 4.5-2 5-4.5L17 9z' fill='black'/%3E%3C/svg%3E") 3.2rem 100% / 1.1rem 1.1rem no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h8v13H8zM9.5 4h5v3h-5z' fill='black'/%3E%3C/svg%3E") 0 100% / 1.1rem 1.1rem no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12C5 9 7 7.5 9 8.2c1.2.4 2.2 1.1 3 2 .8-.9 1.8-1.6 3-2 2-.7 4 .8 6.5 3.8C19 16.5 15.5 18 12 18s-7-1.5-9.5-6z' fill='black'/%3E%3C/svg%3E") 1.6rem 100% / 1.1rem 1.1rem no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3C5 5 4 9 5 13c1 4 4 7 7.5 8 2.5-.3 4.5-2 5-4.5L17 9z' fill='black'/%3E%3C/svg%3E") 3.2rem 100% / 1.1rem 1.1rem no-repeat;
}

.ranking-body ol > li:first-child { border-width: 4px; border-color: var(--red); }

.filed {
  margin-top: 2.5rem;
  padding: 1.4rem clamp(1rem, 3vw, 1.5rem);
  border: var(--frame);
  border-radius: 6px;
}

.filed-title { margin: 0 0 0.9rem; font-size: 1.3rem; }

.filed ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 0 1.5rem;
}

.filed li { padding: 0.6rem 0; border-top: var(--hair); font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.35; }

/* ---------- provider review: split ---------- */

.profile { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 0; }

.profile-hero {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: var(--frame);
}

.profile-title h1 { margin: 0; }

.score-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 4px solid var(--red);
  border-radius: 6px;
}

.score-big {
  display: grid;
  justify-items: center;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(4.5rem, 10vw, 6.5rem);
  line-height: 0.9;
  color: var(--red);
}

.score-of { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1.2; margin-top: 0.35rem; white-space: nowrap; }

.score-note { margin: 0; font-size: 1rem; line-height: 1.45; }

@media (min-width: 52rem) {
  .profile-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
}

.profile-grid { display: grid; gap: 2rem; }

.profile-body ul { list-style: none; padding-left: 0; }

.profile-body ul > li {
  padding: 0.6rem 0.8rem 0.6rem 1rem;
  margin-bottom: 0.6rem;
  border: var(--frame-thin);
  border-left-width: 6px;
  border-radius: 4px;
}

.profile-body ul > li:first-child { border-color: var(--red); }

.areas { align-self: start; padding: 1.25rem; border: var(--frame); border-radius: 6px; }

.areas-title { margin: 0 0 0.75rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }

.area-list { list-style: none; margin: 0; padding: 0; }

.area {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-top: var(--frame-thin);
  font-size: 0.98rem;
  line-height: 1.4;
}

.area .icon { width: 2rem; height: 2rem; color: var(--red); }
.area strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }

@media (min-width: 56rem) {
  .profile-grid { grid-template-columns: minmax(0, var(--measure)) 18rem; justify-content: space-between; gap: 3rem; }
}

/* ---------- comparison: two-column ---------- */

.matchup { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 0; }

.matchup-title h1 { margin-bottom: 1.5rem; }

.matchup-grid { display: grid; gap: 2rem; }

.rowcard { align-self: start; padding: 1.25rem; border: var(--frame); border-radius: 6px; }

.rowcard-title { margin: 0 0 0.75rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }

.rowcard-list { list-style: none; margin: 0; padding: 0; }

.row {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-top: var(--frame-thin);
  font-size: 0.98rem;
  line-height: 1.4;
}

.row .icon { width: 1.75rem; height: 1.75rem; color: var(--red); }
.row strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }

@media (min-width: 56rem) {
  .matchup-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; }
  .matchup-body { max-width: none; }
  .matchup-body > :not(.table-scroll) { max-width: var(--measure); }
}

/* ---------- about: stepped ---------- */

.steps { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 0; display: grid; gap: 1.75rem; }

.step--title h1 { max-width: 18ch; margin: 0; }

.step--art { margin: 0; padding: 1.25rem; border: var(--frame); border-radius: 6px; max-width: 30rem; }

.method-art { display: block; width: 100%; height: auto; }
.art-syringe rect { fill: var(--bg-light-card); stroke: var(--ink); stroke-width: 4; }
.art-syringe path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.art-star { fill: var(--red); }

.art-caption { margin-top: 0.75rem; font-size: 0.98rem; line-height: 1.45; }

.step--body h2 { padding-top: 0.9rem; border-top: var(--frame); }

@media (min-width: 48rem) {
  .step--art { margin-left: clamp(2rem, 8vw, 6rem); }
  .step--body { margin-left: clamp(4rem, 16vw, 12rem); }
}

/* ---------- contact: one-column ---------- */

.suggest { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 1.75rem var(--gutter) 0; }

.suggest-lip { display: block; width: 9rem; height: auto; margin-bottom: 0.75rem; fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.suggest-title h1 { margin-bottom: 1.5rem; }

.suggest-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: var(--frame);
  border-radius: 6px;
  margin-bottom: 2.25rem;
}

.field { display: grid; gap: 0.35rem; }

.field label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }

.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  color: var(--fg-body);
  background: var(--bg-light-card);
  border: var(--frame-thin);
  border-radius: 4px;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 1px; }

@media (min-width: 40rem) {
  .field { grid-template-columns: 7rem minmax(0, 1fr); align-items: start; column-gap: 1rem; }
  .field label { padding-top: 0.7rem; }
  .suggest-button { margin-left: 8rem; }
}

.suggest-button {
  justify-self: start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: var(--brand-light-on-accent);
  cursor: pointer;
}

.suggest-button:hover { background: var(--brand-light-accent-hover); }

/* ---------- thank you: one-column ---------- */

.after { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 2.5rem var(--gutter) 0; }

.after-badge { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; }
.after-badge .badge-ring { fill: var(--red); }
.after-badge .badge-star { fill: var(--brand-light-on-accent); }

.after-links { margin-top: 1.5rem; border: var(--frame); border-radius: 6px; }
.after-links ul { list-style: none; margin: 0; padding: 0; }
.after-links li { border-top: var(--frame-thin); }
.after-links li:first-child { border-top: 0; }
.after-links a { display: block; padding: 0.85rem 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }

/* ---------- footer ---------- */

.site-footer { border-top: var(--frame); }

.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 2rem var(--gutter) 2.5rem; }

.footer-profile { display: block; width: 6rem; height: auto; margin-bottom: 0.75rem; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.footer-name { margin: 0 0 0.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.footer-line { margin: 0; max-width: 34rem; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
