@font-face { font-family: 'Overlock'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/overlock-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Overlock'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/overlock-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Overlock'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/overlock-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Overlock'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/overlock-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Overlock'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/overlock-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Overlock'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/overlock-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #eef6f4;
  --fg-light-base-body: #10302b;
  --fg-light-base-heading: #10302b;
  --fg-light-base-muted: #42605a;
  --fg-light-base-link: #0f705d;
  --fg-light-base-inverse: #10302b;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #10302b;
  --fg-light-card-heading: #10302b;
  --fg-light-card-muted: #42605a;
  --fg-light-card-link: #0f705d;
  --fg-light-card-inverse: #10302b;
  --bg-light-elevated: #ddefea;
  --fg-light-elevated-body: #10302b;
  --fg-light-elevated-heading: #10302b;
  --fg-light-elevated-muted: #42605a;
  --fg-light-elevated-link: #0f705d;
  --fg-light-elevated-inverse: #10302b;
  --brand-light-accent: #0f705d;
  --brand-light-accent-hover: #08544a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0f705d;
  --border-light-default: #5c7d77;
  --border-light-subtle: #c4ddd7;
}
.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; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-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-light-ring); }

/* Hydration lab: rounded droplet forms, Overlock headings, Zen Maru Gothic text, one teal accent on dose chips. */

:root {
  --font-heading: 'Overlock', 'Trebuchet MS', sans-serif;
  --font-body: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Segoe UI', sans-serif;
  --teal: var(--brand-light-accent);
  --teal-deep: var(--brand-light-accent-hover);
  --mist: var(--bg-light-elevated);
  --card: var(--bg-light-card);
  --line: var(--border-light-subtle);
  --line-strong: var(--border-light-default);
  --round-lg: 1.75rem;
  --round-md: 1.1rem;
  --round-pill: 999px;
  --column: 44rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --glow: 0 0.75rem 2rem -1.25rem rgba(15, 112, 93, 0.45);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  min-height: 100vh;
}

/* Soft gradients live in the page background only. */
body.bg-surface-base {
  background:
    radial-gradient(60rem 40rem at 12% -10%, #d6efe8 0%, rgba(214, 239, 232, 0) 70%),
    radial-gradient(50rem 36rem at 100% 35%, #e3f4ef 0%, rgba(227, 244, 239, 0) 70%),
    var(--bg-light-base);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
}

a.text-role-link {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a.text-role-link:hover {
  text-decoration-thickness: 2.5px;
}

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

/* ---------- Header and full menu panel ---------- */

.site-header {
  position: relative;
  z-index: 10;
  margin: 0.75rem auto 0;
  width: min(calc(100% - 2 * var(--gutter)), 64rem);
  border-radius: var(--round-pill);
  box-shadow: var(--glow);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  width: 2.4rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
}

.brand-strap {
  font-size: 0.85rem;
}

.menu-slot {
  flex: 0 0 auto;
}

.site-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.45rem 1.15rem 0.45rem 0.9rem;
  border-radius: var(--round-pill);
  background: var(--mist);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  position: relative;
  display: inline-block;
  width: 0.95rem;
  height: 1.2rem;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  border: 2px solid var(--teal);
  transform: rotate(180deg);
}

.menu-icon::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 25%;
  height: 30%;
  border-radius: 0 0 50% 50%;
  background: var(--teal);
}

.site-menu[open] > summary {
  background: var(--teal);
  color: var(--brand-light-on-accent);
}

.site-menu[open] .menu-icon {
  border-color: var(--brand-light-on-accent);
}

.site-menu[open] .menu-icon::after {
  background: var(--brand-light-on-accent);
}

.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.6rem);
  margin: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  background: var(--card);
  border-radius: var(--round-lg);
  box-shadow: var(--glow);
  opacity: 1;
  animation: panel-in 180ms ease-out;
}

.site-menu > ul > li {
  padding: 0.85rem 1rem;
  border-radius: var(--round-md);
  background: var(--mist);
}

.site-menu > ul > li > a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-menu ul ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.site-menu ul ul li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

@keyframes panel-in {
  from {
    transform: translateY(-0.4rem);
  }
  to {
    transform: translateY(0);
  }
}

/* ---------- Page frame ---------- */

.lab-bench {
  width: min(calc(100% - 2 * var(--gutter)), var(--column));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.breadcrumbs li {
  padding: 0.1rem 0.7rem;
  border-radius: var(--round-pill);
  background: var(--card);
}

.hero-title h1,
.shelf-title h1,
.formula-title h1,
.steps-title h1,
.intake-title h1,
.next-title h1 {
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

/* ---------- Card stack: each body section becomes its own rounded card ---------- */

.drip-stack.bg-surface-card {
  background: transparent;
}

.drip-stack > * {
  margin: 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 1rem;
  background: var(--card);
}

.drip-stack > :first-child,
.drip-stack > h2 {
  border-top-left-radius: var(--round-lg);
  border-top-right-radius: var(--round-lg);
  padding-top: clamp(1.25rem, 4vw, 1.9rem);
}

.drip-stack > h2 {
  margin-top: 1rem;
  padding-bottom: 0.6rem;
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.drip-stack > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50% 0 50% 50%;
  background: var(--teal);
  transform: rotate(-45deg);
}

.drip-stack > :first-child:is(h2) {
  margin-top: 0;
}

.drip-stack > :last-child,
.drip-stack > :has(+ h2) {
  border-bottom-left-radius: var(--round-lg);
  border-bottom-right-radius: var(--round-lg);
  padding-bottom: clamp(1.25rem, 4vw, 1.75rem);
}

.drip-stack h3 {
  font-size: 1.2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
}

.drip-stack ul,
.drip-stack ol {
  padding-left: calc(clamp(1.25rem, 4vw, 2rem) + 1.2rem);
}

.drip-stack li {
  margin-bottom: 0.4rem;
}

.drip-stack li::marker {
  color: var(--teal);
}

.drip-stack .accent-block {
  margin: 0;
  border-left: 0;
  font-size: 1.1rem;
}

.drip-stack .accent-block > * {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--round-md);
  background: var(--mist);
}

.drip-stack .table-scroll {
  overflow-x: auto;
}

.drip-stack table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

.drip-stack th,
.drip-stack td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.7rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.drip-stack th {
  font-family: var(--font-heading);
  border-bottom-color: var(--line-strong);
}

.drip-stack > .photo-hero {
  padding: 0;
  overflow: hidden;
}

.photo-hero {
  margin: 0;
}

.photo-hero img {
  display: block;
  width: 100%;
}

.drip-stack > .photo-hero + * {
  padding-top: clamp(1.25rem, 4vw, 1.75rem);
}

.drip-stack section[data-section][style] {
  border-radius: var(--round-md);
  overflow: hidden;
}

/* ---------- Home: centred drip card stack ---------- */

.drip-home {
  display: grid;
  gap: 1rem;
}

.drip-hero {
  position: relative;
  padding: clamp(1.75rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2.75rem);
  border-radius: var(--round-lg);
  text-align: center;
  box-shadow: var(--glow);
}

.hero-vial {
  display: block;
  width: 2.6rem;
  height: 3.3rem;
  margin: 0 auto 1.1rem;
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  background:
    linear-gradient(to top, var(--teal) 0 46%, transparent 46%),
    var(--mist);
  clip-path: polygon(50% 0, 96% 52%, 100% 70%, 92% 88%, 72% 100%, 28% 100%, 8% 88%, 0 70%, 4% 52%);
}

.hero-title h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 20ch;
}

.dose-chips {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.dose-chips .display-line {
  margin: 0;
  max-width: 34rem;
  padding: 0.55rem 1.1rem 0.55rem 0.8rem;
  border: 2px solid var(--teal);
  border-radius: var(--round-pill);
  background: var(--card);
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: left;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.dose-chips .display-line::before {
  content: "";
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50% 0 50% 50%;
  background: var(--teal);
  transform: rotate(-45deg) translateY(0.05rem);
}

/* ---------- Topic hub: vial shelf ---------- */

.vial-shelf {
  display: grid;
  gap: 1.25rem;
}

.shelf-title h1 {
  margin-bottom: 0.25rem;
}

.shelf-row {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--round-lg);
}

.shelf-label {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.shelf-vials ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0.9rem;
  display: grid;
  gap: 0.75rem;
  border-bottom: 6px solid var(--teal);
  border-radius: 0 0 0.4rem 0.4rem;
}

.shelf-vials li {
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 3rem;
  border-radius: var(--round-md) var(--round-md) var(--round-pill) var(--round-pill);
  background: var(--card);
  border: 1px solid var(--line);
}

.shelf-vials li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  width: 1rem;
  height: 1.6rem;
  transform: translateY(-50%);
  border: 2px solid var(--teal);
  border-radius: 0.2rem 0.2rem 0.6rem 0.6rem;
  background: linear-gradient(to top, var(--teal) 0 45%, transparent 45%);
}

.shelf-vials a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}

.shelf-vials a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.shelf-vials li:has(a:focus-visible) {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Article: formula sheet ---------- */

.formula-sheet {
  display: grid;
  gap: 1.25rem;
}

.formula-card {
  align-self: start;
  padding: 1.4rem 1.4rem 0.6rem;
  border-radius: var(--round-lg);
}

.formula-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.formula-doses {
  list-style: none;
  counter-reset: dose;
  padding: 0;
  margin: 0 0 1.4rem;
}

.formula-doses li {
  counter-increment: dose;
  position: relative;
  padding: 0 0 0.75rem 2.3rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.formula-doses li::before {
  content: counter(dose);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35rem;
  text-align: center;
}

.formula-shelves {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.formula-shelves a {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border: 2px solid var(--teal);
  border-radius: var(--round-pill);
  background: var(--card);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
}

.formula-shelves a:hover {
  background: var(--bg-light-base);
}

/* ---------- About: lab steps ---------- */

.steps-track.bg-surface-card {
  background: transparent;
}

.steps-track {
  counter-reset: stage;
  position: relative;
  padding-left: 3.25rem;
}

.steps-track::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0.4rem;
  border-radius: var(--round-pill);
  background: linear-gradient(to bottom, var(--teal), var(--line));
}

.steps-track > * {
  margin: 0;
  padding: 0 1.4rem 1rem;
  background: var(--card);
}

.steps-track > :first-child,
.steps-track > h2 {
  border-radius: var(--round-lg) var(--round-lg) 0 0;
  padding-top: 1.4rem;
}

.steps-track > .photo-hero {
  padding: 0;
  overflow: hidden;
}

.steps-track > .photo-hero + * {
  padding-top: 1.4rem;
}

.steps-track > :last-child,
.steps-track > :has(+ h2) {
  border-radius: 0 0 var(--round-lg) var(--round-lg);
  padding-bottom: 1.4rem;
}

.steps-track > h2 {
  counter-increment: stage;
  position: relative;
  margin-top: 1.5rem;
  padding-bottom: 0.6rem;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
}

.steps-track > h2::before {
  content: counter(stage);
  position: absolute;
  left: -3.25rem;
  top: 1.15rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--brand-light-on-accent);
  font-size: 1.2rem;
  line-height: 2.8rem;
  text-align: center;
  box-shadow: 0 0 0 0.35rem var(--bg-light-base);
}

.steps-track ul,
.steps-track ol {
  padding-left: 2.6rem;
}

.steps-track li::marker {
  color: var(--teal);
}

/* ---------- Contact: intake panel ---------- */

.intake-split {
  display: grid;
  gap: 1.25rem;
}

.intake-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--round-lg);
  box-shadow: var(--glow);
}

.intake-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.intake-optional {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
}

.intake-field input,
.intake-field textarea {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--round-md);
  background: var(--card);
}

.intake-field input {
  border-radius: var(--round-pill);
}

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

.intake-field input:focus-visible,
.intake-field textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
}

.intake-button {
  min-height: 3rem;
  padding: 0.6rem 1.6rem;
  border: 0;
  border-radius: var(--round-pill);
  background: var(--teal);
  color: var(--brand-light-on-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}

.intake-button:hover {
  background: var(--teal-deep);
}

.intake-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.intake-note {
  align-self: start;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--round-lg);
}

.intake-note-title {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.6rem;
}

.intake-tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.intake-tips li {
  padding: 0.5rem 0.9rem;
  border-radius: var(--round-md);
  background: var(--card);
  line-height: 1.5;
}

@media (min-width: 40rem) {
  .intake-form {
    grid-template-columns: 1fr 1fr;
  }

  .intake-wide {
    grid-column: 1 / -1;
  }
}

/* ---------- Thank you: stepped confirmation ---------- */

.next-steps {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 2.5rem;
}

.next-steps::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 1rem;
  bottom: 1.5rem;
  width: 0.35rem;
  border-radius: var(--round-pill);
  background: linear-gradient(to bottom, var(--teal), var(--line));
}

.next-steps > * {
  position: relative;
}

.next-steps > *::before {
  content: "";
  position: absolute;
  left: -2.15rem;
  top: 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: var(--card);
}

.next-steps > .next-title::before {
  background: var(--teal);
  top: 0.9rem;
}

.next-title h1 {
  margin-bottom: 0;
}

.confirm-track {
  padding: clamp(1.25rem, 4vw, 1.9rem);
  border-radius: var(--round-lg);
}

.confirm-track > :last-child {
  margin-bottom: 0;
}

.confirm-track h2 {
  font-size: 1.35rem;
  margin: 1.4rem 0 0.6rem;
}

.next-doses {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--round-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.next-doses a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid var(--teal);
  border-radius: var(--round-pill);
  background: var(--card);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
}

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

.site-footer {
  margin-top: 2rem;
}

.footer-row {
  width: min(calc(100% - 2 * var(--gutter)), var(--column));
  margin: 0 auto;
  padding: 2.25rem 0 2.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-drop {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 2.1rem;
  background: var(--teal);
  clip-path: polygon(50% 0, 96% 52%, 100% 70%, 92% 88%, 72% 100%, 28% 100%, 8% 88%, 0 70%, 4% 52%);
}

.footer-name {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-line {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Wider screens ---------- */

@media (min-width: 62rem) {
  .lab-bench:has(> .formula, > .intake) {
    width: min(calc(100% - 2 * var(--gutter)), 66rem);
  }

  .formula-sheet {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 1.75rem;
  }

  .formula-card {
    position: sticky;
    top: 1.5rem;
  }

  .intake-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1.75rem;
  }
}

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