/* ==========================================================================
   BioFlow — marine sewage treatment
   Design tokens
   ========================================================================== */

:root {
  /* Colour — drawn from the product itself: kelp green, deep sea teal,
     Ascophyllum amber, pale water surface */
  --ink:        #072220;
  --sea:        #0C4A4E;
  --sea-deep:   #062E32;
  --kelp:       #24752F;      /* logo hue, darkened to pass WCAG AA */
  --kelp-dark:  #1B5623;
  --amber:      #B8792F;      /* hairlines & rules only */
  --amber-ink:  #96601F;      /* amber used as text — WCAG AA */
  --brand:      #38B449;      /* exact logo green — mark only, fails AA as text */
  --mist:       #F1F6F6;
  --mist-2:     #E7EFEF;
  --paper:      #FFFFFF;
  --body:       #40565A;
  --muted:      #556C6E;
  --line:       #DCE7E7;
  --line-soft:  #EAF1F1;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space */
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(7, 34, 32, .04), 0 8px 24px -16px rgba(7, 34, 32, .18);
  --shadow-md: 0 2px 4px rgba(7, 34, 32, .05), 0 24px 48px -28px rgba(7, 34, 32, .28);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.05rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--kelp-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kelp); }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--kelp); color: #fff; }

:focus-visible {
  outline: 2px solid var(--kelp);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--kelp); color: #fff;
  padding: 10px 16px; border-radius: var(--radius);
  font: 500 .875rem/1 var(--sans);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.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;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--mist { background: var(--mist); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: .688rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--kelp);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--amber);
  flex: none;
}

.lede { font-size: clamp(1.02rem, 1.25vw, 1.125rem); color: var(--body); }

.deck {
  font-family: var(--sans);
  font-variation-settings: normal;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: var(--kelp-dark);
  letter-spacing: -0.005em;
  margin: -4px 0 18px;
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--kelp); color: #fff; }
.btn--primary:hover { background: var(--kelp-dark); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--kelp); color: var(--kelp-dark); }

.btn--light { background: #fff; color: var(--sea-deep); }
.btn--light:hover { background: var(--mist); color: var(--sea-deep); }

.btn--sm { padding: 11px 18px; font-size: .875rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 18px -10px rgba(7, 34, 32, .3);
}

.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
  padding: 7px 0;
}
.logo img { width: auto; height: 34px; }
@media (max-width: 480px) { .logo img { height: 30px; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--kelp); border-bottom-color: var(--kelp); }
.nav .btn { display: none; }

.nav-anchor { position: fixed; top: 0; left: 0; width: 0; height: 0; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
  text-decoration: none;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Logo centred, toggle pinned right */
  .header__inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }
  .logo { grid-column: 2; justify-self: center; margin: 0; }
  .nav-toggle { grid-column: 3; justify-self: end; }

  /* Opened by :target — so following any link inside it closes it again,
     with or without JavaScript. */
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
  }
  /* Fallback with no JavaScript: :target opens the panel and following any
     link inside it closes the panel again. */
  .nav:target { display: flex; }
  .nav:target ~ .nav-toggle--open { display: none; }
  .nav-toggle--close { display: none; }
  .nav:target ~ .nav-toggle--close { display: inline-flex; }

  /* With JavaScript the script drives it instead, so no hash is written to the
     URL and the page never jumps when the menu opens or closes. */
  .js .nav:target { display: none; }
  .js .nav:target ~ .nav-toggle--open { display: inline-flex; }
  .js .nav:target ~ .nav-toggle--close { display: none; }
  .js .header.is-nav-open .nav { display: flex; }
  .js .header.is-nav-open .nav-toggle--open { display: none; }
  .js .header.is-nav-open .nav-toggle--close { display: inline-flex; }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .78rem;
  }
  .nav a:hover { border-bottom-color: var(--line-soft); }
  .nav .btn { display: inline-flex; margin-top: 20px; justify-content: center; }
  .nav .btn:hover { border-bottom-color: transparent; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  overflow: hidden;
}

.hero__media {
  position: absolute; inset: 0 0 0 auto;
  width: 62%;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}

.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px);
}
.hero__content { max-width: 41rem; }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--kelp); font-style: italic; font-weight: 400; }

.hero__lede { max-width: 34rem; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Assurance strip */
.assurance {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--mist);
}
.assurance__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.assurance__item {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.assurance__item:first-child { border-left: 0; padding-left: 0; }
.assurance__item:last-child { padding-right: 0; }
.assurance__item svg { width: 24px; height: 24px; color: var(--kelp); flex: none; }
.assurance__item span {
  font-size: .875rem; font-weight: 500; color: var(--ink); line-height: 1.35;
}

@media (max-width: 1080px) {
  .hero__media { width: 54%; opacity: .92; }
  .hero__content { max-width: 52%; }
}
@media (max-width: 900px) {
  .hero { background: var(--mist); }
  .hero__media { position: relative; width: 100%; height: auto; }
  .hero__media img {
    width: 100%; height: auto;
    aspect-ratio: 4 / 3;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__content { max-width: none; }
  .hero__inner { padding-block: 32px 40px; }
  .assurance__list { grid-template-columns: repeat(2, 1fr); }
  .assurance__item { padding: 18px 18px; }
  .assurance__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .assurance__item:nth-child(2) { padding-right: 0; }
  .assurance__item:nth-child(3), .assurance__item:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .assurance__item span { font-size: .8rem; }
}

/* ==========================================================================
   Split sections (text + panel / text + image)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.split--center { align-items: center; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* Hairline benefit grid ---------------------------------------------------- */

.grid-hairline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.grid-hairline__cell {
  background: #fff;
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color .22s ease;
}
.grid-hairline__cell:hover { background: var(--mist); }
.grid-hairline__cell svg { width: 26px; height: 26px; color: var(--kelp); }
.grid-hairline__cell p {
  margin: 0;
  font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.45;
}

@media (max-width: 520px) {
  .grid-hairline { grid-template-columns: 1fr; }
}

/* Image with soft edge fade ------------------------------------------------ */

.figure-bleed { position: relative; margin: 0; }
.figure-bleed img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.figure-bleed figcaption {
  font-family: var(--mono);
  font-size: .688rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

.bleed-left {
  margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - 1200px) / 2));
}
.bleed-left img {
  border-radius: 0 var(--radius) var(--radius) 0;
  aspect-ratio: 1 / 1;
  object-position: 18% center;
}
@media (max-width: 900px) {
  .bleed-left { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .bleed-left img { border-radius: 0; aspect-ratio: 16 / 10; }
}

/* Mini feature row --------------------------------------------------------- */

.minis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin-top: 32px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) { .minis { grid-template-columns: 1fr; } }
.minis li { display: flex; align-items: flex-start; gap: 10px; }
.minis svg { width: 22px; height: 22px; color: var(--kelp); flex: none; }
.minis span {
  font-size: .875rem; font-weight: 500; color: var(--ink); line-height: 1.35;
}

/* ==========================================================================
   How it works / Why choose
   ========================================================================== */

.pullquote {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0 0;
  background: #fff;
}
.pullquote img { width: 100%; height: 100%; object-fit: cover; }
.pullquote__text {
  padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.pullquote__text p {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.pullquote__text span {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 520px) {
  .pullquote { grid-template-columns: 1fr; }
  .pullquote img { aspect-ratio: 16 / 7; }
}

.reasons { display: grid; gap: 2px; background: var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.reasons li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  background: #fff;
  padding: 22px 24px;
}
.reasons svg { width: 26px; height: 26px; color: var(--kelp); margin-top: 2px; }
.reasons h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.reasons p { margin: 0; font-size: .925rem; line-height: 1.55; }

/* ==========================================================================
   How to use
   ========================================================================== */

.usage {
  position: relative;
  background: var(--mist);
  overflow: hidden;
}
.usage__bg {
  position: absolute; inset: auto 0 0 0; height: 62%;
  object-fit: cover; width: 100%;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
  mask-image: linear-gradient(180deg, transparent, #000 55%);
  z-index: 0;
}
.usage__inner { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
  margin-top: 44px;
}
.step {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px);
}
.step__no {
  font-family: var(--mono);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .16em;
  color: var(--amber-ink);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.step__no::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step svg.step__icon { width: 30px; height: 30px; color: var(--kelp); margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.step p { margin: 0; font-size: .925rem; }

@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Dosage gauge — the signature element */
.dose {
  margin-top: clamp(28px, 3vw, 40px);
  background: var(--sea-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px) clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: center;
}
.dose__label {
  font-family: var(--mono);
  font-size: .688rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 14px;
}
.dose__scale { width: 100%; max-width: 520px; height: 54px; color: rgba(255, 255, 255, .55); }
.dose__figures { display: flex; gap: clamp(24px, 3vw, 48px); }
.dose__figure strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.dose__figure span {
  display: block;
  font-family: var(--mono);
  font-size: .688rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: 10px;
}
.dose__note {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 20px;
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
  max-width: 62ch;
}
@media (max-width: 760px) {
  .dose { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(32px, 4vw, 64px);
  margin-top: 8px;
}
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--kelp); }
.faq summary .chev {
  width: 30px; height: 30px; flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--kelp);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.faq summary .chev svg { width: 13px; height: 13px; }
.faq details[open] summary .chev {
  transform: rotate(180deg);
  background: var(--kelp);
  border-color: var(--kelp);
  color: #fff;
}
.faq__answer { padding: 0 0 24px; max-width: 60ch; }
.faq__answer p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 46, 50, .94) 0%, rgba(6, 46, 50, .78) 45%, rgba(6, 46, 50, .28) 100%);
  z-index: -1;
}
.cta__inner { padding-block: clamp(64px, 8vw, 108px); }
.cta__content { max-width: 40rem; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 46ch; margin-bottom: 28px; }
.cta .eyebrow { color: rgba(255, 255, 255, .78); }
.cta .eyebrow::before { background: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.contact__card { background: #fff; padding: clamp(24px, 2.6vw, 32px); }
.contact__card h3 {
  font-family: var(--mono);
  font-size: .688rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.contact__card a {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  transition: color .18s ease;
}
.contact__card a:hover { color: var(--kelp); text-decoration: underline; }
.contact__card address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--sea-deep);
  color: rgba(255, 255, 255, .68);
  padding-block: clamp(48px, 6vw, 72px) 0;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__tagline { margin-top: 18px; max-width: 34ch; color: rgba(255, 255, 255, .6); }

.footer h2 {
  font-family: var(--mono);
  font-size: .688rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:not(.logo) { display: inline-block; padding: 9px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer li { padding: 0; }
.footer address a { padding: 7px 0; }
.footer address { font-style: normal; line-height: 1.8; color: rgba(255, 255, 255, .68); }
.footer__ids {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
}

.footer__bottom {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 24px 28px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { padding: 8px 0; }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Content is visible by default. The entrance animation is added only when
   JavaScript is confirmed to be running (the .js class on <html>), so a blocked
   or failed script can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Phones and tablets: nothing smaller than 12px, roomier tap targets */
@media (max-width: 900px) {
  .eyebrow,
  .dose__label,
  .dose__figure span,
  .contact__card h3,
  .footer h2,
  .figure-bleed figcaption { font-size: .75rem; letter-spacing: .16em; }

  .pullquote__text span { font-size: .75rem; }
  .footer__ids { font-size: .78rem; }
  .footer__bottom { font-size: .875rem; }
  .nav a { font-size: .82rem; }

  .btn { padding: 16px 24px; }
  .faq summary { padding: 20px 0; }
}

@media print {
  .header, .nav-toggle, .cta__bg, .usage__bg { display: none !important; }
  body { color: #000; }
}
