/* ============================================================
   SEVERN PHARMACY — marketing site
   Editorial hospitality, not pharmacy-tech.
   ============================================================ */

:root {
  /* surfaces — warm cream / white */
  --bg:        oklch(0.985 0.004 90);
  --surface-1: oklch(1     0    0);
  --surface-2: oklch(0.965 0.008 85);
  --surface-3: oklch(0.935 0.012 80);

  /* ink — desaturated warm-gray text, never pure black */
  --ink:       oklch(0.22 0.015 80);
  --ink-2:     oklch(0.42 0.012 80);
  --ink-3:     oklch(0.515 0.013 80); /* darkened for WCAG AA on cream */

  --line:      oklch(0.91 0.005 85);
  --line-2:    oklch(0.84 0.006 85);

  /* accent — soft botanical sage */
  --accent:      oklch(0.55 0.045 155);
  --accent-2:    oklch(0.65 0.055 155);
  --accent-soft: oklch(0.94 0.028 155);
  --accent-ink:  oklch(0.32 0.045 155);

  /* warm secondary — soft honey/amber */
  --warm:        oklch(0.72 0.090 75);
  --warm-soft:   oklch(0.94 0.040 75);
  --warm-ink:    oklch(0.42 0.080 70);

  /* brand — from the Severn logo. Use sparingly — editorial punctuation only. */
  --brand:       #e1223a;
  --brand-2:     #c11a2f;
  --brand-soft:  oklch(0.94 0.03 25);
  --true-ink:    #121212;

  /* status */
  --danger: oklch(0.58 0.12 28);
  --warn:   oklch(0.72 0.11 75);
  --good:   oklch(0.62 0.10 150);

  /* radius scale */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* shadows — very soft */
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.05);
  --shadow:    0 1px 2px oklch(0.2 0.01 80 / 0.04), 0 4px 16px oklch(0.2 0.01 80 / 0.04);
  --shadow-lg: 0 1px 2px oklch(0.2 0.01 80 / 0.05), 0 8px 32px oklch(0.2 0.01 80 / 0.06);

  /* typography */
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --section-pad-y: 140px;
  --section-pad-y-sm: 80px;
  --container: 1240px;
  --container-narrow: 980px;
}

/* ------------------------------------------------------------
   reset + base
   ------------------------------------------------------------ */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-soft); color: var(--accent-ink); }

/* subtle film grain across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------------------------------------
   type scale
   ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.022em; }
h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.018em; }
h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; }
h4 { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-2); }

.serif-italic { font-family: var(--font-display); font-style: italic; }

/* ------------------------------------------------------------
   layout primitives
   ------------------------------------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.container.narrow { max-width: var(--container-narrow); }

section { padding: var(--section-pad-y) 0; position: relative; }
section.tight { padding: calc(var(--section-pad-y) * 0.7) 0; }

/* ------------------------------------------------------------
   buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), background 200ms, color 200ms, border-color 200ms, box-shadow 200ms;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn .arrow {
  display: inline-block;
  transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--true-ink);
  color: var(--surface-1);
  padding: 18px 30px;
  font-size: 16px;
}
.btn--primary:hover {
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn--secondary {
  background: var(--surface-1);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--secondary:hover {
  border-color: var(--ink);
  background: var(--surface-1);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 12px 0;
  font-size: 15px;
}
.btn--ghost:hover { color: var(--ink); }

.btn--accent {
  background: var(--accent);
  color: var(--surface-1);
}
.btn--accent:hover {
  background: var(--accent-ink);
}

/* badges / pills */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* ------------------------------------------------------------
   NAV
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms, padding 240ms, background 240ms;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 16px 0;
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav__logo {
  height: 40px;
  width: auto;
  display: block;
}
.nav.scrolled .nav__logo { height: 34px; transition: height 240ms; }
.nav__brand .mark {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  transform: translateY(-2px);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 180ms;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--true-ink);
  color: var(--surface-1);
  font-size: 14px;
  transition: background 200ms;
}
.nav__cta:hover { background: #000; }
.nav__cta::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(225, 34, 58, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(225, 34, 58, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(225, 34, 58, 0.05); }
}
@media (prefers-reduced-motion: reduce) {
  .nav__cta::before { animation: none; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero__eyebrow .rule {
  width: 36px; height: 1px; background: var(--line-2);
}
.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--accent-ink);
}
.hero__lede {
  max-width: 50ch;
  margin-bottom: 44px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero__ghost:hover { color: var(--ink); }
.hero__ghost .arrow { transition: transform 220ms; }
.hero__ghost:hover .arrow { transform: translateX(3px); }

.hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}
.hero__image image-slot { width: 100%; height: 100%; display: block; }
.hero__caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface-1) 80%, transparent);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  pointer-events: none;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero__meta .item .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hero__meta .item .v {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
.hero__meta .item .v em { color: var(--accent-ink); font-style: italic; }

@media (max-width: 980px) {
  .hero { padding-top: 140px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__image { aspect-ratio: 5 / 5; max-width: 520px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------
   MISSION BAND
   ------------------------------------------------------------ */
.mission {
  padding: var(--section-pad-y) 0;
}
.mission__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: center;
}
.mission__copy h2 .accent {
  font-style: italic;
  color: var(--accent-ink);
}
.mission__copy h2 {
  margin-bottom: 28px;
}
.mission__copy p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 50ch;
}
.mission__copy p + p { margin-top: 18px; }

.mission__image {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow);
}
.mission__image image-slot { width: 100%; height: 100%; }

.mission__sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.mission__sig .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

@media (max-width: 980px) {
  .mission__grid { grid-template-columns: 1fr; gap: 56px; }
  .mission__image { max-width: 500px; aspect-ratio: 4 / 4; }
}

/* ------------------------------------------------------------
   CONCIERGE PROMISE
   ------------------------------------------------------------ */
.concierge {
  background: var(--warm-soft);
  position: relative;
  overflow: hidden;
}
.concierge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at top left, oklch(0.94 0.06 75 / 0.6), transparent 50%);
  pointer-events: none;
}
.concierge .container { position: relative; }
.concierge__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.concierge__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.concierge__eyebrow-row .rule { width: 36px; height: 1px; background: var(--warm); }
.concierge h2 {
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.0;
}
.concierge h2 .accent {
  font-style: italic;
  color: var(--warm-ink);
}
.concierge__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.concierge__intro p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 42ch;
}
.concierge__intro .marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-ink);
  margin-bottom: 18px;
}
.concierge__intro .marker .pill {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand);
}

.promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid oklch(0.85 0.04 75);
}
.promise {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 44px 0;
  border-bottom: 1px solid oklch(0.85 0.04 75);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.promise:nth-child(odd) { padding-right: 40px; border-right: 1px solid oklch(0.85 0.04 75); }
.promise:nth-child(even) { padding-left: 40px; }
.promise.in {
  opacity: 1;
  transform: translateY(0);
}
.promise__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-2); /* darker red: AA contrast on the honey band */
  padding-top: 6px;
}
.promise__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ink);
}
.promise__body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
}

.concierge__cta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.concierge__cta .left {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
}

@media (max-width: 980px) {
  .concierge__head { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
  .promises { grid-template-columns: 1fr; }
  .promise:nth-child(odd) { padding-right: 0; border-right: 0; }
  .promise:nth-child(even) { padding-left: 0; }
  .promise { grid-template-columns: 48px 1fr; gap: 16px; padding: 32px 0; }
}

/* ------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------ */
.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.services__head h2 .accent {
  font-style: italic;
  color: var(--accent-ink);
}
.services__head p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
  padding-bottom: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--surface-1);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background 280ms;
  position: relative;
}
.service:hover { background: var(--surface-2); }
.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.service__title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}
.service__body {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
  flex: 1;
}
.service__icon {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.55;
}

.services-quieter {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.services-quieter .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 8px;
}
.services-quieter .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.services-quieter .item::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

@media (max-width: 980px) {
  .services__head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------
   MEET HIEU
   ------------------------------------------------------------ */
.founder {
  padding: var(--section-pad-y) 0;
}
.founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.founder__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow);
}
.founder__image image-slot { width: 100%; height: 100%; }
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.005em;
}
.founder__quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 1.1em;
  color: var(--accent);
  display: inline;
  margin-right: 0.05em;
  line-height: 0;
}
.founder__sig {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.founder__sig .name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
}
.founder__sig .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 980px) {
  .founder__grid { grid-template-columns: 1fr; gap: 48px; }
  .founder__image { max-width: 420px; }
}

/* ------------------------------------------------------------
   FOR PATIENTS
   ------------------------------------------------------------ */
.patients {
  background: var(--surface-2);
}
.patients__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 90px;
  align-items: start;
}
.patients h2 .accent { color: var(--accent-ink); font-style: italic; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-ink);
  font-style: italic;
  line-height: 1;
  padding-top: 2px;
}
.step__t {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.step__b {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}

.patient-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
}
.patient-card .row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: baseline;
}
.patient-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 4px;
}
.patient-card .v {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}
.patient-card .v.small { font-family: var(--font-sans); font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.patient-card .divider {
  height: 1px;
  background: var(--line);
}
.patient-card .delivery {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
}

@media (max-width: 980px) {
  .patients__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ------------------------------------------------------------
   TRUST STRIP
   ------------------------------------------------------------ */
.trust { padding: 90px 0; border-top: 1px solid var(--line); }
.trust__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.trust__item .ico {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.trust__item strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-right: 2px;
}

/* ------------------------------------------------------------
   VISIT / CONTACT
   ------------------------------------------------------------ */
.visit { padding: var(--section-pad-y) 0; background: var(--surface-2); }
.visit__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.visit__head h2 .accent { color: var(--accent-ink); font-style: italic; }
.visit__head p { color: var(--ink-2); max-width: 44ch; margin: 0; }

.visit-info {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  position: relative;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
}
.visit-map svg { width: 100%; height: 100%; display: block; }
.visit-map .pin {
  position: absolute;
  top: 46%;
  left: 52%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transform: translate(-50%, -50%);
}
.visit-map .pin::before {
  content: ""; width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 25%, transparent);
}
.visit-details {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 20px;
  align-content: start;
  box-shadow: var(--shadow-sm);
}
.visit-details .block { display: grid; gap: 4px; }
.visit-details .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.visit-details .v {
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 450;
}
.visit-details .v.display {
  font-family: var(--font-display);
  font-size: 24px;
}
.visit-details .hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  font-size: 15px;
  color: var(--ink-2);
}
.visit-details .hours .day { color: var(--ink); }

.forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.form-card.partner {
  background: var(--true-ink);
  color: var(--surface-1);
}
.form-card.partner .form__eyebrow { color: oklch(0.7 0.03 80); }
.form-card.partner .form__title { color: var(--surface-1); }
.form-card.partner .form__sub { color: oklch(0.78 0.02 80); }
.form-card.partner label { color: oklch(0.85 0.015 80); }
.form-card.partner input,
.form-card.partner select,
.form-card.partner textarea {
  background: oklch(0.27 0.015 80);
  border-color: oklch(0.34 0.015 80);
  color: var(--surface-1);
}
.form-card.partner input::placeholder,
.form-card.partner textarea::placeholder { color: oklch(0.62 0.015 80); }
.form-card.partner .btn--primary {
  background: var(--surface-1);
  color: var(--ink);
}
.form-card.partner .btn--primary:hover { background: var(--bg); }

.form__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form__eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.form-card.partner .form__eyebrow .dot { background: var(--brand); }
.form__title {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--ink);
}
.form__sub {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
input, select, textarea {
  font: inherit;
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 180ms, box-shadow 180ms, background 180ms;
}
textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 14%, transparent);
}
.form-card.partner input:focus,
.form-card.partner select:focus,
.form-card.partner textarea:focus {
  border-color: var(--warm);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--warm) 22%, transparent);
}
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.form-submit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.form-submit .note {
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 28ch;
}
.form-card.partner .form-submit .note { color: oklch(0.7 0.02 80); }
.form-ok {
  display: none;
  font-size: 14px;
  color: var(--good);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.form-ok.show { display: inline-flex; }
.form-card.partner .form-ok { color: oklch(0.85 0.1 150); }

@media (max-width: 980px) {
  .visit__head { grid-template-columns: 1fr; gap: 24px; }
  .visit-info { grid-template-columns: 1fr; }
  .forms { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  padding: 90px 0 50px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.footer__logo {
  height: 55px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.footer__tag {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 32ch;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; color: var(--ink-2); transition: color 160ms; }
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer__bottom .staff {
  color: var(--ink-3);
}
.footer__bottom .staff:hover { color: var(--ink); }

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 580px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ------------------------------------------------------------
   responsive section padding
   ------------------------------------------------------------ */
@media (max-width: 980px) {
  :root { --section-pad-y: var(--section-pad-y-sm); }
  .container { padding: 0 24px; }
}

/* ------------------------------------------------------------
   utilities
   ------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a.sr-only:focus { position: static; width: auto; height: auto; clip: auto; margin: 0; padding: 8px 14px; }

/* honeypot — hidden from humans, bots fill it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* fade-in-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms cubic-bezier(.2,.7,.3,1), transform 800ms cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   production media (replaces editor <image-slot> components)
   ------------------------------------------------------------ */
.media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ------------------------------------------------------------
   mobile navigation
   ------------------------------------------------------------ */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(.2,.7,.3,1), opacity 180ms;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg) 96%, transparent);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  padding: 8px 24px 22px;
  display: grid;
  gap: 2px;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  font-size: 16px;
  color: var(--ink-2);
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:hover { color: var(--ink); }
.nav__mobile .nav__mobile-cta {
  justify-content: center;
  margin-top: 14px;
  padding: 15px 24px;
  border-bottom: 0;
  color: var(--surface-1);
}
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
}
@media (min-width: 861px) {
  .nav__mobile { display: none; }
}

/* ------------------------------------------------------------
   directions link wrapping the stylized map
   ------------------------------------------------------------ */
.visit-map { display: block; text-decoration: none; cursor: pointer; }
.visit-map .pin { transition: box-shadow 220ms; }
.visit-map:hover .pin { box-shadow: var(--shadow-lg); }
.visit-map .pin__cta { color: var(--accent-ink); font-weight: 500; }

/* ------------------------------------------------------------
   form: loading + error states
   ------------------------------------------------------------ */
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn[disabled] .arrow { transform: none; }

.form-err {
  display: none;
  font-size: 14px;
  color: var(--danger);
  margin-top: 12px;
  line-height: 1.45;
  max-width: 48ch;
}
.form-err.show { display: block; }
.form-card.partner .form-err { color: oklch(0.78 0.13 28); }
