@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/albert-sans-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/albert-sans-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/albert-sans-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/albert-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/albert-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/albert-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/albert-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/albert-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/albert-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/albert-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/albert-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/albert-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/albert-sans-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/albert-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/albert-sans-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/albert-sans-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-dark-base: #16191d;
  --fg-dark-base-body: #e9eef1;
  --fg-dark-base-heading: #e9eef1;
  --fg-dark-base-muted: #a3aeb6;
  --fg-dark-base-link: #4fd3e6;
  --fg-dark-base-inverse: #e9eef1;
  --bg-dark-card: #1f2328;
  --fg-dark-card-body: #e9eef1;
  --fg-dark-card-heading: #e9eef1;
  --fg-dark-card-muted: #a3aeb6;
  --fg-dark-card-link: #4fd3e6;
  --fg-dark-card-inverse: #e9eef1;
  --bg-dark-elevated: #2a2f35;
  --fg-dark-elevated-body: #e9eef1;
  --fg-dark-elevated-heading: #e9eef1;
  --fg-dark-elevated-muted: #a3aeb6;
  --fg-dark-elevated-link: #4fd3e6;
  --fg-dark-elevated-inverse: #e9eef1;
  --brand-dark-accent: #4fd3e6;
  --brand-dark-accent-hover: #9be9f5;
  --brand-dark-on-accent: #06262c;
  --focus-dark-ring: #4fd3e6;
  --border-dark-default: #7a8892;
  --border-dark-subtle: #30363d;
}
.bg-surface-base { background: var(--bg-dark-base); --fg-body: var(--fg-dark-base-body); --fg-heading: var(--fg-dark-base-heading); --fg-muted: var(--fg-dark-base-muted); --fg-link: var(--fg-dark-base-link); --fg-inverse: var(--fg-dark-base-inverse); }
.bg-surface-card { background: var(--bg-dark-card); --fg-body: var(--fg-dark-card-body); --fg-heading: var(--fg-dark-card-heading); --fg-muted: var(--fg-dark-card-muted); --fg-link: var(--fg-dark-card-link); --fg-inverse: var(--fg-dark-card-inverse); }
.bg-surface-elevated { background: var(--bg-dark-elevated); --fg-body: var(--fg-dark-elevated-body); --fg-heading: var(--fg-dark-elevated-heading); --fg-muted: var(--fg-dark-elevated-muted); --fg-link: var(--fg-dark-elevated-link); --fg-inverse: var(--fg-dark-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; }
.text-role-link:hover { color: var(--brand-dark-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-dark-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; }
: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-dark-ring); }

/* Midtown Testosterone Guide: graphite ground, cyan beam, technical gridlines. */
:root {
  --ground: var(--bg-dark-base);
  --panel: var(--bg-dark-card);
  --raised: var(--bg-dark-elevated);
  --beam: var(--brand-dark-accent);
  --beam-bright: var(--brand-dark-accent-hover);
  --on-beam: var(--brand-dark-on-accent);
  --rule: var(--border-dark-default);
  --hairline: var(--border-dark-subtle);
  --face: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
  --measure: 68ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 76rem;
  --header-h: 4.25rem;
  color-scheme: dark;
}

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

html { scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--face);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--face);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand .site-logo { display: block; width: auto; height: 2.25rem; }

.nav-desktop { display: none; }
.nav-mobile { display: block; position: relative; }

.site-nav ul,
.site-menu ul,
.footer-links,
.tile-grid,
.tile-children,
.spec-links,
.step-list ul,
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a,
.site-nav summary {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 0.375rem;
}

.site-nav a:hover,
.site-nav summary:hover { color: var(--beam-bright); background: var(--panel); }

.site-nav-group { position: relative; }
.site-nav-group > summary { list-style: none; cursor: pointer; color: var(--fg-link); }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}
.site-nav-group[open] > summary { color: var(--beam-bright); }

/* Mega-panel: an open group lays its pages out in columns under the bar. */
.site-nav-group > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(40rem, 80vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
  padding: 1.25rem;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--beam);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 1.5rem 3rem -1.5rem #000000;
}
.site-nav-group > ul > li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--hairline); margin-bottom: 0.25rem; }

/* Mobile toggle */
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  color: var(--fg-heading);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-menu[open] > summary { border-color: var(--beam); }
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--beam);
  border-radius: 1px;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -0.35rem; width: 0.7rem; }
.menu-icon::after { top: 0.35rem; width: 0.9rem; }

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(20rem, calc(100vw - 2 * var(--gutter)));
  padding: 0.75rem;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--beam);
  border-radius: 0 0 0.5rem 0.5rem;
}
.site-menu li a { display: block; padding: 0.6rem 0.5rem; text-decoration: none; font-weight: 500; }
.site-menu li ul { padding-left: 0.85rem; border-left: 1px solid var(--hairline); margin-left: 0.5rem; }
.site-menu li ul a { font-weight: 400; font-size: 0.95rem; }

@media (min-width: 56rem) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  max-width: var(--wide);
  margin-inline: auto;
  padding: 1rem var(--gutter) 0;
  font-size: 0.875rem;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 1px;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: var(--rule);
}
.breadcrumbs a { text-decoration: none; }

/* ---------- Shared page head with gridlines ---------- */

.page-head {
  position: relative;
  padding-block: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--hairline);
}
.page-head h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
}
.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 0.5rem;
  background:
    repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 1rem),
    repeating-linear-gradient(to right, var(--beam) 0 1px, transparent 1px 5rem);
  background-size: 100% 0.3rem, 100% 0.5rem;
  background-repeat: no-repeat;
  background-position: bottom left;
}

/* ---------- Prose ---------- */

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { margin-block: 0; }
.prose h2 {
  margin-top: 2.4em;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 600;
}
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 600; }
.prose > :first-child { margin-top: 0; }
.prose h2:first-child { border-top: 0; padding-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; }
.prose blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--beam);
}
.prose .table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; }
.prose figure { margin: 2rem 0; }
.prose img { display: block; border-radius: 0.375rem; }
.photo-hero { margin: 0 0 2rem; }
.photo-hero img { display: block; width: 100%; max-height: 26rem; object-fit: cover; border-radius: 0.5rem; filter: saturate(0.85); }

/* ---------- Home ---------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 9vw, 6.5rem) 0;
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: -1px -1px;
}
.hero-grid {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.hero-head h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 13ch;
}
.hero-lines { max-width: 36ch; }
.hero-lines .display-line { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.hero-lines .display-line + .display-line {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
}
.hero-lines .display-line:first-child { color: var(--fg-heading); font-size: 1.2rem; }

@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* The light-spectrum band: one beam spread across the visible range, with a scale under it. */
.spectrum { position: relative; height: 2.25rem; }
.spectrum-band {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.75rem;
  background: linear-gradient(to right, #5b3fd1 0%, #2f6fe0 16%, #2bc3e6 32%, #4fd3e6 40%, #3fd08f 54%, #d8d24a 68%, #ea8a34 82%, #d23f3f 100%);
  transform-origin: left center;
  animation: beam-in 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
.spectrum-scale {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.75rem;
  height: 1.5rem;
  background:
    repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 0.75rem),
    repeating-linear-gradient(to right, var(--fg-muted) 0 1px, transparent 1px 7.5rem);
  background-size: 100% 0.5rem, 100% 1rem;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--hairline);
}

@keyframes beam-in {
  from { transform: scaleX(0); opacity: 0.4; }
  to { transform: scaleX(1); opacity: 1; }
}

.families { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.families-title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; margin-bottom: 1.5rem; }

.tile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  overflow: hidden;
}
.tile {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 2px;
  background: var(--beam);
}
.tile-link {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}
.tile-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.tile-children { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.tile-children li { border-bottom: 1px solid var(--hairline); }
.tile-children a { display: block; padding: 0.65rem 0; text-decoration: none; font-size: 0.98rem; }
.tile-children a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.tile-small .tile-link { font-size: 1.15rem; }

@media (min-width: 48rem) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-hub { min-height: 22rem; }
}

.home-body { padding-bottom: clamp(3rem, 8vw, 6rem); }

/* ---------- Topic hub: stepped bands ---------- */

.hub-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem);
}
.steps-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 1.25rem; }
.step-list ul { counter-reset: step; display: grid; gap: 0.75rem; }
.step-list li {
  counter-increment: step;
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  background: var(--ground);
}
.step-list li:nth-child(2) { margin-left: clamp(0rem, 3vw, 2rem); }
.step-list li:nth-child(3) { margin-left: clamp(0rem, 6vw, 4rem); }
.step-list li:nth-child(n+4) { margin-left: clamp(0rem, 9vw, 6rem); }
.step-list li a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}
.step-list li a::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--beam);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
}
.step-list li a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
/* Depth gauge: each band fills further along its base. */
.step-list li::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0.6rem;
  height: 3px;
  border-radius: 2px;
  background:
    linear-gradient(to right, var(--beam) var(--depth, 25%), var(--hairline) var(--depth, 25%));
}
.step-list li:nth-child(2) { --depth: 50%; }
.step-list li:nth-child(3) { --depth: 75%; }
.step-list li:nth-child(n+4) { --depth: 100%; }

@media (min-width: 60rem) {
  .hub-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .steps { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Article: reading column beside a sticky spec sidebar ---------- */

.article-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem);
}
.spec {
  position: relative;
  align-self: start;
  padding: 1.25rem 1.25rem 1.75rem;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--beam);
  border-radius: 0 0 0.5rem 0.5rem;
}
.spec-list { margin: 0; display: grid; gap: 1rem; }
.spec-row { display: grid; gap: 0.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hairline); }
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { font-size: 0.85rem; }
.spec-row dd { margin: 0; font-weight: 500; }
.spec-links { display: grid; gap: 0.3rem; }
.spec-scale {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0.6rem;
  height: 0.4rem;
  background: repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 0.5rem);
}

@media (min-width: 60rem) {
  .article-grid { grid-template-columns: 16rem minmax(0, 1fr); }
  .spec { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- About: single column spec sheet ---------- */

.about-column {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem);
}
.plate {
  position: relative;
  aspect-ratio: 16 / 7;
  margin-bottom: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--panel);
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 2rem 2rem;
  filter: grayscale(1);
}
.plate-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--fg-muted);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem var(--panel), 0 0 0 calc(1.5rem + 1px) var(--rule);
}
.plate-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--fg-heading);
}
.spec-sheet h2 {
  font-size: 1.25rem;
  border-top: 1px solid var(--rule);
}

/* ---------- Contact: split panel ---------- */

.split {
  display: grid;
  gap: 0;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem);
}
.split-info,
.split-form { padding: clamp(1.5rem, 4vw, 2.75rem); }
.split-info { border: 1px solid var(--rule); border-radius: 0.5rem 0.5rem 0 0; }
.split-form { border: 1px solid var(--rule); border-top: 2px solid var(--beam); border-radius: 0 0 0.5rem 0.5rem; }

.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--fg-heading);
  background: transparent;
  border: 1px solid var(--fg-muted);
  border-radius: 0.25rem;
  padding: 0.75rem 0.85rem;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--beam);
  outline-offset: 1px;
  border-color: var(--beam);
}
.submit {
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.75rem;
  border: 0;
  border-radius: 0.25rem;
  color: var(--on-beam);
  background: var(--beam);
  cursor: pointer;
}
.submit:hover { background: var(--beam-bright); }
.submit:focus-visible { outline: 2px solid var(--fg-heading); outline-offset: 3px; }

@media (min-width: 40rem) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}

@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-info { border-radius: 0.5rem 0 0 0.5rem; border-right: 0; }
  .split-form { border-top: 1px solid var(--rule); border-left: 2px solid var(--beam); border-radius: 0 0.5rem 0.5rem 0; }
}

/* ---------- Thank you: three-step status readout ---------- */

.thanks .wrap:last-child { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem); }
.readout { counter-reset: readout; position: relative; padding-left: 3rem; }
.readout::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.4rem;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.readout h2 {
  counter-increment: readout;
  position: relative;
  border-top: 0;
  padding-top: 0;
}
.readout h2::before {
  content: counter(readout);
  position: absolute;
  left: -3rem;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-beam);
  background: var(--beam);
  box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px var(--beam);
  animation: lamp-on 0.5s ease-out both;
}
.readout h2:nth-of-type(2)::before { animation-delay: 0.45s; }
.readout h2:nth-of-type(3)::before { animation-delay: 0.9s; }

@keyframes lamp-on {
  from { background: var(--ground); color: var(--fg-muted); box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px var(--rule); }
  to { background: var(--beam); color: var(--on-beam); box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px var(--beam); }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule); }
.footer-inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter);
  display: grid;
  gap: 1.5rem;
}
.footer-name { margin: 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.footer-line { margin: 0.35rem 0 0; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- Motion ---------- */

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