@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/handjet-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/handjet-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/handjet-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/handjet-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/handjet-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/handjet-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/handjet-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/handjet-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Handjet'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/handjet-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #edf1f5;
  --fg-light-base-body: #14202b;
  --fg-light-base-heading: #14202b;
  --fg-light-base-muted: #4a5866;
  --fg-light-base-link: #9b1f6e;
  --fg-light-base-inverse: #14202b;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #14202b;
  --fg-light-card-heading: #14202b;
  --fg-light-card-muted: #4a5866;
  --fg-light-card-link: #9b1f6e;
  --fg-light-card-inverse: #14202b;
  --bg-light-elevated: #dfe6ee;
  --fg-light-elevated-body: #14202b;
  --fg-light-elevated-heading: #14202b;
  --fg-light-elevated-muted: #4a5866;
  --fg-light-elevated-link: #9b1f6e;
  --fg-light-elevated-inverse: #14202b;
  --brand-light-accent: #9b1f6e;
  --brand-light-accent-hover: #741553;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #9b1f6e;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #5f6e7d;
  --border-light-subtle: #c6d1dc;
}
.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 {
  --ink: #14202b;
  --accent: var(--brand-light-accent);
  --accent-deep: var(--brand-light-accent-hover);
  --on-accent: var(--brand-light-on-accent);
  --paper: var(--bg-light-base);
  --card: var(--bg-light-card);
  --shade: var(--bg-light-elevated);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --steel: #2a6f86;
  --indigo: #4b4f9c;
  --band-epi: #d6e0ea;
  --band-derm: #e8eef4;
  --band-deep: #f5f7fa;
  --heat: linear-gradient(90deg, #2a6f86, #4b4f9c 45%, #9b1f6e 80%, #c2378c);
  --display: 'Handjet', 'Arial Narrow', sans-serif;
  --book: 'EB Garamond', Georgia, serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 36rem;
  --wide: 66rem;
  --rail: 17rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--book);
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--fg-body);
  font-variant-numeric: oldstyle-nums;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--fg-heading);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(3rem, 2rem + 4.6vw, 5.6rem); font-weight: 700; margin: 0 0 1.25rem; max-width: 16ch; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.55rem + 1.2vw, 2.6rem); margin: 2.6rem 0 0.75rem; }
h3 { font-size: 1.6rem; margin: 1.8rem 0 0.5rem; }
p { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.3rem; }

main a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
main a:hover, a.text-role-link:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }

/* Icon strokes */
.ic-line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ic-joint { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.ic-beam { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Frame: sticky header, side rail at desktop ---------- */
.frame { min-height: 100vh; }
.page { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.page > main { flex: 1 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--ink);
  overflow-wrap: normal;
}
.rail-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.5rem var(--gutter);
}
.brand { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; }
.brand .site-logo { display: block; width: auto; height: 2.5rem; }
.rail-nav, .rail-heat { display: none; }

.site-menu { flex: none; }
.site-menu > summary {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.3rem 0.7rem;
  border: 1px solid var(--ink); border-radius: 0.2rem;
  font-family: var(--book); font-size: 0.98rem; line-height: 1.1; white-space: nowrap;
  color: var(--fg-heading); background: var(--card);
}
.site-menu > summary:hover { background: var(--shade); color: var(--ink); }
.site-menu[open] > summary { background: var(--ink); color: #ffffff; }
.menu-icon {
  display: block; width: 1.1rem; height: 0.8rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 70% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 40% 2px no-repeat;
}
.menu-label { overflow-wrap: normal; }
.site-menu > ul {
  list-style: none; margin: 0; padding: 0.4rem var(--gutter) 1.2rem;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  max-height: calc(100dvh - 3.6rem); overflow-y: auto;
  background: var(--card); border-bottom: 1px solid var(--ink);
}
.site-menu > ul > li { border-top: 1px solid var(--rule-soft); }
.site-menu > ul > li:first-child { border-top: 0; }
.site-menu > ul > li > a {
  display: block; padding: 0.65rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.1;
  color: var(--fg-link); text-decoration: none;
}
.site-menu ul ul { list-style: none; margin: 0 0 0.7rem; padding: 0 0 0 0.9rem; border-left: 2px solid var(--accent); }
.site-menu ul ul a { display: block; padding: 0.3rem 0; font-size: 1rem; line-height: 1.35; color: var(--fg-link); text-decoration: none; }
.site-menu ul a:hover { color: var(--accent-deep); text-decoration: underline; }

/* Desktop rail list */
.site-nav > ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { border-top: 1px solid var(--rule-soft); }
.site-nav > ul > li:last-child { border-bottom: 1px solid var(--rule-soft); }
.site-nav > ul > li > a,
.site-nav-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.6rem 0.5rem 0.8rem;
  font-family: var(--display); font-weight: 500; font-size: 1.4rem; line-height: 1.05;
  white-space: nowrap; color: var(--fg-heading); text-decoration: none;
  border-left: 3px solid transparent;
}
.site-nav-group > summary { list-style: none; cursor: pointer; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after { content: "\203A"; font-size: 1.5rem; color: var(--accent); }
.site-nav > ul > li > a:hover,
.site-nav-group > summary:hover { background: var(--shade); color: var(--ink); border-left-color: var(--accent); }
.site-nav-group[open] > summary { background: var(--ink); color: #ffffff; border-left-color: var(--accent); }
.site-nav-group[open] > summary::after { color: #ffffff; }
.site-nav-group > ul {
  list-style: none; margin: 0; padding: 1.4rem 1.3rem;
  position: absolute; top: 0; bottom: 0; left: 100%; width: 20rem; z-index: 45;
  overflow-y: auto;
  background: var(--card); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink);
}
.site-nav-group > ul > li { border-top: 1px solid var(--rule-soft); }
.site-nav-group > ul > li:first-child { border-top: 0; }
.site-nav-group > ul a {
  display: block; padding: 0.5rem 0; font-family: var(--book); font-size: 1.02rem; line-height: 1.35;
  color: var(--fg-link); text-decoration: none;
}
.site-nav-group > ul > li:first-child a { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; padding-bottom: 0.8rem; }
.site-nav-group > ul a:hover { color: var(--accent-deep); text-decoration: underline; }

@media (min-width: 1024px) {
  .frame { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); align-items: start; }
  .site-header {
    height: 100vh; border-bottom: 0; border-right: 1px solid var(--ink);
    display: flex; flex-direction: column;
    padding: 1.6rem 1.1rem 1.2rem;
  }
  .rail-head { display: block; padding: 0 0 1.6rem; }
  .brand .site-logo { width: 100%; height: auto; }
  .site-menu { display: none; }
  .rail-nav { display: block; }
  .rail-heat { display: block; width: 100%; height: 3rem; margin-top: auto; }
  .rh-base { fill: none; stroke: var(--ink); stroke-width: 1.5; }
  .rh-a, .rh-b, .rh-c { fill: none; stroke-width: 2.4; stroke-linecap: round; }
  .rh-a { stroke: var(--accent); }
  .rh-b { stroke: var(--steel); stroke-dasharray: 6 4; }
  .rh-c { stroke: var(--indigo); stroke-dasharray: 2 4; }
}

/* Breadcrumbs and photos */
.breadcrumbs { margin: 1.2rem 0 0; padding: 0 var(--gutter); font-size: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--fg-muted); }
.photo-hero, .photo-inline { margin: 0 0 2rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; border: 1px solid var(--ink); }
.photo-hero img { aspect-ratio: 16 / 8; object-fit: cover; }
.photo-hero figcaption, .photo-inline figcaption { font-size: 0.95rem; margin-top: 0.4rem; color: var(--fg-muted); }

.prose > :not(.photo-hero):not(.photo-inline) { max-width: var(--measure); }
.prose h2 { padding-top: 0.9rem; border-top: 1px solid var(--rule-soft); }

/* ---------- Home: one column ---------- */
.home { max-width: var(--wide); padding: clamp(2rem, 6vw, 4rem) var(--gutter) 3.5rem; }
.cover h1 { max-width: 15ch; }
.cover-lines { max-width: 34rem; }
.cover-lines .display-line { font-size: 1.3rem; line-height: 1.55; margin: 0 0 0.6rem; }
.cover-lines .display-line + .display-line { font-style: italic; color: var(--fg-muted); }

.heat { margin: 2.5rem 0 0; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--ink); }
.heat-cap { margin: 0 0 1rem; font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; }
.heat-plot { display: block; width: 100%; height: clamp(11rem, 30vw, 17rem); }
.band-epi { fill: var(--band-epi); }
.band-derm { fill: var(--band-derm); }
.band-deep { fill: var(--band-deep); }
.plot-grid { fill: none; stroke: var(--rule-soft); stroke-width: 1; stroke-dasharray: 3 5; }
.plot-axis, .plot-tick { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.curve, .curve-mini { fill: none; stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.curve-laser { stroke: var(--accent); }
.curve-pen { stroke: var(--steel); stroke-dasharray: 9 6; }
.curve-probe { stroke: var(--indigo); stroke-dasharray: 2 6; }
.peak { stroke: var(--card); stroke-width: 2; }
.peak-laser { fill: var(--accent); }
.peak-pen { fill: var(--steel); }
.peak-probe { fill: var(--indigo); }
.heat-axis {
  list-style: none; margin: 0.4rem 0 0; padding: 0 3.334%;
  display: grid; grid-template-columns: 100fr 240fr 220fr;
  font-family: var(--display); font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.15rem); line-height: 1.1; white-space: nowrap;
}
.heat-axis li { padding-left: 0.3rem; border-left: 1px solid var(--ink); }
.heat-key { list-style: none; margin: 1.4rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule-soft); display: grid; gap: 0.8rem; }
.heat-key li { display: grid; grid-template-columns: 2.6rem 2.2rem 1fr; gap: 0.7rem; align-items: center; font-size: 1.05rem; line-height: 1.4; }
.key-ic { width: 2.6rem; height: 2.6rem; }
.key-swatch { display: block; height: 0; border-top: 3px solid var(--accent); }
.key-pen .key-swatch { border-top: 3px dashed var(--steel); }
.key-probe .key-swatch { border-top: 3px dotted var(--indigo); }
@media (min-width: 900px) { .heat-key { grid-template-columns: repeat(3, minmax(0, 1fr)); } .heat-key li { grid-template-columns: 2.6rem 1fr; } .key-swatch { grid-column: 1 / -1; grid-row: 2; } }

.strip { margin-top: clamp(2.5rem, 6vw, 4rem); }
.strip-title { margin: 0 0 1rem; }
.strip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.strip-card {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.1rem 1rem; align-items: center;
  padding: 1rem 0.9rem; border-bottom: 1px solid var(--rule);
}
.hand { width: 3.2rem; height: 3.2rem; grid-row: span 2; }
.strip-link { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; text-decoration: none; }
.strip-link:hover { text-decoration: underline; }
.strip-note { font-size: 1rem; }
@media (min-width: 900px) {
  .strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-card { border-bottom: 0; border-right: 1px solid var(--rule); }
  .strip-card:last-child { border-right: 0; }
}
.home-body { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Ranking: grid ---------- */
.rank { max-width: 74rem; padding: 1.5rem var(--gutter) 3.5rem; }
.rank-head { margin-bottom: 2rem; }
.spark-rule { display: block; width: 100%; height: 2.5rem; }
.spark-base { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.rank-body ol {
  list-style: none; margin: 1.2rem 0 1.6rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 0.8rem;
  max-width: none;
}
.rank-body ol > li {
  position: relative; padding: 0.9rem 1rem 1.4rem; background: var(--card);
  border: 1px solid var(--ink); line-height: 1.35; font-size: 1.05rem;
}
.rank-body ol > li::before {
  content: counter(list-item);
  display: block; font-family: var(--display); font-weight: 700; font-size: 2.8rem; line-height: 0.9;
  color: var(--accent); margin-bottom: 0.4rem;
}
.rank-body ol > li::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0.7rem; height: 3px; background: var(--heat);
}
.rank-files { margin-top: 3rem; padding: clamp(1.1rem, 3vw, 1.8rem); border-top: 3px solid var(--ink); }
.rank-files h2 { margin: 0 0 1rem; }
.rank-files ul, .match-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rank-files ul { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.rank-files li, .match-side li { background: var(--card); border-left: 3px solid var(--accent); }
.rank-files li a, .match-side li a { display: block; padding: 0.7rem 0.9rem; line-height: 1.3; text-decoration: none; }
.rank-files li a:hover, .match-side li a:hover { text-decoration: underline; }

/* ---------- Review: one column ---------- */
.review { max-width: 52rem; padding: 1.5rem var(--gutter) 3.5rem; }
.spec-box { position: relative; max-width: var(--measure); margin: 0 0 2.4rem; padding: 1.2rem 1.3rem 1.6rem; border: 1px solid var(--ink); }
.spec-icons { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; }
.spec-ic { width: 2.2rem; height: 2.2rem; }
.spec-head { margin: 0 0 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.05; }
.spec-rows { margin: 0; }
.spec-row { display: grid; grid-template-columns: 5rem 1fr; gap: 0.8rem; padding: 0.45rem 0; border-top: 1px solid var(--rule-soft); }
.spec-row dt { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.spec-row dd { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.spec-heat { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 0.7rem; height: 3px; background: var(--heat); }

/* ---------- Comparison: split ---------- */
.match { max-width: 76rem; padding: 1.5rem var(--gutter) 3.5rem; }
.match-head { display: grid; gap: 1rem; align-items: end; padding-bottom: 1.2rem; margin-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.match-head h1 { margin: 0; }
.match-art { display: block; width: 100%; max-width: 17rem; height: auto; }
.match-split { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
.match-split-cols { display: grid; gap: 2.5rem; }
.match-side { padding: 1.2rem; align-self: start; border-top: 3px solid var(--accent); }
.match-side h2 { margin: 0 0 0.9rem; font-size: 1.7rem; }
@media (min-width: 900px) {
  .match-head { grid-template-columns: minmax(0, 1fr) 17rem; }
  .match-split-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: 3.5rem; }
}

/* ---------- About: criteria grid ---------- */
.method { max-width: var(--wide); padding: 1.5rem var(--gutter) 3.5rem; }
.criteria { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.crit { padding: 1.2rem 1.2rem 1.3rem; }
.crit h2 { margin: 0.6rem 0 0.4rem; font-size: 1.75rem; }
.crit p { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.crit-ic { width: 3rem; height: 3rem; }
.crit-ic-b { transform: scaleX(-1); }
.crit-ic-c { transform: rotate(-12deg); }
.crit-ic-d { transform: scaleX(-1) rotate(-12deg); }
@media (min-width: 700px) { .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .criteria { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Contact: stepped form ---------- */
.suggest { max-width: 74rem; padding: 1.5rem var(--gutter) 3.5rem; }
.suggest-cols { display: grid; gap: 2.5rem; align-items: start; }
.steps { counter-reset: step; display: grid; gap: 0; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--ink); }
.step { counter-increment: step; position: relative; display: grid; gap: 0.35rem; padding: 0 0 1.4rem 3rem; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; width: 2rem; height: 2rem;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1;
  color: #ffffff; background: var(--ink); border-radius: 50%;
}
.step::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.2rem; bottom: 0.2rem; border-left: 2px dashed var(--rule); }
.step-label { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.3; }
.step input, .step textarea {
  font: inherit; font-size: 1.05rem; color: var(--fg-body); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 0.15rem; padding: 0.6rem 0.75rem; width: 100%;
}
.step textarea { resize: vertical; }
.step input:focus-visible, .step textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--accent); }
.steps-go {
  justify-self: start; margin-left: 3rem;
  font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.1;
  padding: 0.6rem 1.5rem; border: 0; border-radius: 0.15rem; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
}
.steps-go:hover { background: var(--accent-deep); color: var(--on-accent); }
.steps-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (min-width: 900px) {
  .suggest-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; }
  .step:nth-of-type(2) { margin-left: 1.5rem; }
  .step:nth-of-type(3) { margin-left: 3rem; }
}

/* ---------- Thank you: two columns ---------- */
.after { max-width: 72rem; padding: clamp(2rem, 6vw, 4rem) var(--gutter) 4rem; }
.after-cols { display: grid; gap: 2.5rem; }
.after-side { padding: 1.3rem; border: 1px solid var(--ink); align-self: start; }
.after-side h2 { margin: 0 0 1rem; font-size: 1.7rem; }
.after-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.after-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; align-items: center; padding: 0.6rem 0; border-top: 1px solid var(--rule-soft); }
.after-ic { width: 2.4rem; height: 2.4rem; }
.after-list a { line-height: 1.3; }
@media (min-width: 900px) { .after-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: 4rem; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 2rem; border-top: 1px solid var(--ink); padding: 2rem var(--gutter) 2.4rem; }
.foot { max-width: var(--wide); display: grid; gap: 0.5rem; }
.foot-name { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.foot-line { margin: 0; font-size: 1.02rem; max-width: 34rem; }
.foot-links { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; }
.foot-links a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }

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