/* VenaNet static prototype · styles ported from the Lovable source, Tailwind removed · 2026-11-10 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }

:root {
  --font-sans: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --background: #ffffff;
  --foreground: #333333;
  --primary: #0f5190;
  --primary-foreground: #ffffff;
  --secondary: #fafafa;
  --secondary-foreground: #333333;
  --muted: #fafafa;
  --muted-foreground: #6f6f6f;
  --accent: #3fa6d6;
  --accent-foreground: #0b3d6e;
  --border: #d9dee5;
  --input: #d9dee5;
  --ring: #3fa6d6;
  --deep: #0f5190;
  --deep-hover: #0b3d6e;
  --blue-600: #2277b3;
  --sky: #3fa6d6;
  --ice: #bce3f4;
  --mist: #fafafa;
  --line: #d9dee5;
  --grid-columns: 12;
  --grid-gutter: 24px;
  --page-inset: 40px;
  --section-space: 80px;
}

* {
  box-sizing: border-box;
  border-color: var(--line);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  /* VN-BRAND-001 §12.2 two-ring indicator: White inside, Deep Blue outside. Sky is never a focus colour. */
  outline: 2px solid var(--deep);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #ffffff;
}
h1,
h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}
h3,
p {
  margin: 0;
}
h3 {
  color: var(--deep);
}
.text-reveal {
  display: block;
  overflow: clip;
  /* Preserve serif overhangs and descenders without changing the text's grid position. */
  padding: 0.12em 0.08em 0.18em;
  margin: -0.12em -0.08em -0.18em;
}
.text-reveal-inner {
  display: block;
}

.page-grid {
  width: min(1200px, calc(100% - var(--page-inset) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}
.section-pad {
  padding-block: var(--section-space);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  background: color-mix(in oklab, var(--background) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1200px, calc(100% - var(--page-inset) * 2));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.clinic-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--deep);
  font-size: 16px;
  font-weight: 600;
}
.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  font-size: 16px;
  font-weight: 600;
}
.main-nav a,
.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.main-nav a {
  position: relative;
  transition: color 400ms cubic-bezier(0.2, 0, 0, 1);
}
.main-nav a:hover,
.main-nav a[aria-current="location"] {
  color: var(--deep);
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(0.2, 0, 0, 1);
}
.main-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}
.button {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  transition:
    background-color 400ms cubic-bezier(0.2, 0, 0, 1),
    color 400ms cubic-bezier(0.2, 0, 0, 1),
    border-color 400ms cubic-bezier(0.2, 0, 0, 1);
}
.button--primary {
  color: var(--primary-foreground);
  background: var(--deep);
}
.button--primary:hover {
  background: var(--deep-hover);
}
.button--on-dark {
  background: var(--background);
  color: var(--deep);
}
.button--on-dark:hover {
  background: var(--ice);
}
.button--outline-light {
  border-color: color-mix(in oklab, var(--background) 58%, transparent);
  color: var(--primary-foreground);
}
.button--outline-light:hover {
  background: color-mix(in oklab, var(--background) 10%, transparent);
  border-color: var(--background);
}
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--deep);
  padding: 10px 0 10px 10px;
  min-width: 88px;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font: 600 14px/1.4 var(--font-sans);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: var(--deep);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--background);
}
.hero-grid {
  position: relative;
  z-index: 1;
  pointer-events: none;
  min-height: 720px;
  padding-block: 48px 64px;
  align-items: center;
}
.hero-copy {
  position: relative;
  grid-column: 1 / span 6;
  pointer-events: auto;
  background: white;
  box-shadow: 0 0 40px 28px white;
}
.hero h1 {
  margin-top: 24px;
  font-size: 64px;
  line-height: 1.1;
}
.hero-stage {
  grid-column: 7 / -1;
  position: relative;
  isolation: isolate;
  min-height: 592px;
  display: grid;
  place-items: center;
}
.ambient-media {
  position: absolute;
  inset: 0;
  background: #fff;
}
.ambient-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ambient-poster,
.ambient-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero > .ambient-media .motion-toggle {
  left: max(var(--page-inset), calc((100% - 1200px) / 2));
  bottom: 24px;
}
.ambient-video {
  opacity: 0;
  transition: opacity 640ms cubic-bezier(0.2, 0, 0, 1);
}
.ambient-media[data-video-state="playing"] .ambient-video,
.ambient-media[data-video-state="paused"] .ambient-video {
  opacity: 1;
}
.motion-toggle {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 20px;
  min-height: 48px;
  padding: 10px 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--ice);
  border-radius: 10px;
  background: var(--deep);
  color: white;
  font: 600 14px/1.4 var(--font-sans);
  cursor: pointer;
}
.motion-toggle[hidden] {
  display: none;
}
.motion-toggle:hover {
  background: var(--deep-hover);
}
.hero-logo-panel {
  position: relative;
  z-index: 1;
  width: 320px;
  padding: 44px;
  background: transparent;
  pointer-events: none;
}
.hero-logo-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 512px;
  height: 512px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, white 136px, rgb(255 255 255 / 0) 256px);
}
.brand-asset {
  display: block;
}
.ui-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 24px 24px;
}
.brand-asset img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-asset--hero {
  width: 100%;
  min-width: 160px;
}
.igby-stage {
  width: 264px;
  max-width: 100%;
  margin-top: 48px;
}
.brand-asset--return {
  width: 100%;
  margin: 0;
}
.brand-asset[data-motion="reduced"] {
  animation: resolved-fade 120ms linear both;
}
@keyframes resolved-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-lede {
  max-width: 510px;
  margin-top: 32px;
  font-size: 20px;
  line-height: 1.5;
}
.hero-support {
  margin-top: 16px;
  color: var(--muted-foreground);
  max-width: 430px;
}
.hero-actions {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
.scroll-cue {
  position: absolute;
  right: calc(50% + 12px);
  bottom: 24px;
  min-height: 48px;
  padding: 10px 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto;
  background: white;
  transition: background-color 400ms cubic-bezier(0.2, 0, 0, 1);
}
.scroll-cue:hover {
  background: var(--mist);
}
.kicker {
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-600);
}
.kicker-rule {
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--deep);
}
.kicker--light {
  color: var(--ice); /* §11: on Deep Blue the kicker is Ice 100 over a white rule */
}
.kicker--light .kicker-rule {
  background: var(--primary-foreground);
}

.narrative {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.narrative-grid {
  position: relative;
  z-index: 2;
  align-items: start;
}
.narrative-intro {
  grid-column: 1 / span 6;
}
.narrative-intro h2,
.section-heading h2,
.physician h2,
.final-cta h2 {
  margin-top: 24px;
  font-size: 48px;
}
.depth-list {
  grid-column: 7 / -1;
  margin-top: 80px;
  display: grid;
  row-gap: 24px;
}
.depth-row {
  position: relative;
  color: var(--deep);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  transition: background-color 400ms cubic-bezier(0.2, 0, 0, 1);
}
.depth-row:hover,
.depth-row:focus-visible {
  background: #f2f4f7;
}
.depth-row .ui-icon,
.arrow-link .ui-icon {
  transition: transform 400ms cubic-bezier(0.2, 0, 0, 1);
}
.depth-row:hover .ui-icon,
.depth-row:focus-visible .ui-icon,
.arrow-link:hover .ui-icon,
.arrow-link:focus-visible .ui-icon {
  transform: translateX(4px);
}
.depth-row:last-child {
  border-bottom: 1px solid var(--line);
}
.scroll-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--deep);
  pointer-events: none;
}
.kicker-rule,
.scroll-divider,
.link-rule,
.condition-rule {
  transform-origin: left center;
}
.depth-number {
  font-size: 12px;
  color: var(--deep);
  font-weight: 700;
}
.depth-row h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
}

.evaluate {
  background: var(--background);
}
.pattern-section {
  position: relative;
  isolation: isolate;
  padding-block: 112px 136px;
}
.pattern-section > .page-grid {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.pattern-section > .page-grid > * {
  pointer-events: auto;
}
.pattern-section > .ambient-media .motion-toggle {
  left: max(var(--page-inset), calc((100% - 1200px) / 2));
  bottom: 32px;
}
.evaluate .section-heading,
.physician-copy {
  background: white;
  box-shadow: 0 0 32px 20px white;
}
.section-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  align-items: end;
}
.section-heading .kicker {
  grid-column: 1 / -1;
}
.section-heading h2 {
  grid-column: 1 / span 6;
}
.section-heading p:not(.kicker) {
  grid-column: 7 / -1;
  max-width: 480px;
  color: var(--muted-foreground);
}
.condition-layout {
  grid-column: 1 / -1;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--grid-gutter);
}
.condition-item {
  position: relative;
  isolation: isolate;
  grid-column: span 6;
  min-height: 264px;
  padding: 36px 40px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 32px;
  scroll-margin-top: 120px;
  transition:
    border-color 400ms cubic-bezier(0.2, 0, 0, 1),
    background-color 400ms cubic-bezier(0.2, 0, 0, 1);
}
.condition-backplate {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border: 1px solid var(--line);
  border-radius: inherit;
  background: white;
  pointer-events: none;
}
.condition-item:hover,
.condition-item:focus-within {
  background: transparent;
}
.condition-item:hover .condition-backplate,
.condition-item:focus-within .condition-backplate {
  border-color: var(--blue-600);
}
.condition-item:target {
  border-color: var(--deep);
}
.condition-item > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.condition-number {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep);
}
.condition-rule {
  display: inline-block;
  width: 64px;
  height: 2px;
  background: currentColor;
}
.condition-item h3 {
  max-width: 480px;
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}
.arrow-link {
  position: relative;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue-600);
  font-size: 16px;
  font-weight: 600;
}
.link-rule {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  pointer-events: none;
}
.arrow-link:hover {
  color: var(--deep-hover);
}
.condition-item .arrow-link {
  color: var(--deep);
}
.condition-item .arrow-link:hover {
  color: var(--deep-hover);
}

.visit {
  background: var(--deep);
  color: var(--primary-foreground);
}
.ambient-media--pathway {
  background: var(--deep);
}
.visit-heading,
.steps {
  background: var(--deep);
  box-shadow: 0 0 32px 20px var(--deep);
}
.visit-grid {
  align-items: start;
}
.visit-heading {
  grid-column: 1 / span 6;
  position: sticky;
  top: 152px;
}
.visit-heading h2 {
  margin-top: 24px;
  color: var(--primary-foreground);
  font-size: 48px;
}
.visit-heading > p:not(.kicker) {
  max-width: 430px;
  margin-top: 32px;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}
.steps {
  grid-column: 7 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
}
.step .scroll-divider {
  background: color-mix(in oklab, var(--background) 65%, transparent);
}
.step:last-child {
  border-bottom: 1px solid color-mix(in oklab, var(--background) 26%, transparent);
}
.step-number {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ice);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.step-number-frame {
  display: block;
  padding-block: 8px;
}
.step p {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
}

.physician {
  background: var(--background);
}
.physician-grid {
  align-items: center;
}
.physician-copy {
  grid-column: 1 / span 6;
}
.physician-copy > p:not(.kicker) {
  max-width: 500px;
  margin: 32px 0;
  color: var(--muted-foreground);
}
.physician-portrait {
  grid-column: 7 / -1;
  margin: 0;
  position: relative;
  background: #f2f4f7;
  overflow: hidden;
  border-radius: 16px;
}
.photo-frame {
  overflow: hidden;
}
[data-element-motion="photo"] {
  filter: none;
  opacity: 1;
}
.physician-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0;
}
.physician-portrait figcaption {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--background);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--deep);
}

.referrals {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 112px;
  background: var(--background);
  color: var(--deep);
  border-block: 1px solid var(--line);
}
.pattern-transition-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.pattern-transition-canvas[data-pattern-ready="true"] {
  opacity: 1;
}
.referrals:focus-within .pattern-transition-canvas {
  opacity: 0;
}
.pattern-preview {
  position: absolute;
  top: 24px;
  left: max(var(--page-inset), calc((100% - 1200px) / 2));
  right: max(var(--page-inset), calc((100% - 1200px) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
}
.pattern-preview-label {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--background);
}
.pattern-options {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
}
.pattern-options a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 16px;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  transition:
    color 240ms cubic-bezier(0.2, 0, 0, 1),
    background-color 240ms cubic-bezier(0.2, 0, 0, 1);
}
.pattern-options a:hover {
  background: var(--ice);
}
.pattern-options a[aria-current="page"] {
  color: var(--primary-foreground);
  background: var(--deep);
}
/* Fade only the official media, preserving the content and playback control. */
.referrals[data-pattern-treatment="fade"] .ambient-poster,
.referrals[data-pattern-treatment="fade"] .ambient-video {
  mask-image:
    linear-gradient(to right, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(to bottom, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-composite: intersect;
}
.referral-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}
.referral-photo {
  grid-column: 1 / span 6;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.referral-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.referral-photo figcaption {
  padding: 12px 16px;
  background: var(--background);
  color: var(--deep);
  font-size: 13px;
  line-height: 1.4;
}
.referral-copy {
  grid-column: 7 / -1;
  padding: 40px;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.referral-copy h2 {
  margin-top: 24px;
  color: var(--deep);
  font-size: 48px;
}
.referral-copy p:not(.kicker) {
  max-width: 590px;
  margin: 32px 0 40px;
  color: var(--foreground);
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 128px 160px;
  background: var(--deep);
  color: var(--primary-foreground);
}
.ambient-media--coast {
  background: var(--deep);
}
.ambient-media--coast::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(7 42 77 / 72%);
  pointer-events: none;
}
.referrals .motion-toggle,
.final-cta .motion-toggle {
  left: max(var(--page-inset), calc((100% - 1200px) / 2));
  bottom: 32px;
}
.referrals .motion-toggle {
  z-index: 3;
}
.final-cta h2 {
  color: var(--primary-foreground);
}
.final-grid {
  position: relative;
  z-index: 1;
  align-items: end;
}
.final-grid > div:first-child {
  grid-column: 1 / span 6;
}
.final-action {
  grid-column: 7 / -1;
}
.final-action p {
  margin-bottom: 32px;
  color: var(--primary-foreground);
}
.footage-credit {
  position: absolute;
  z-index: 1;
  right: max(var(--page-inset), calc((100% - 1200px) / 2));
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--primary-foreground);
}
.footage-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer {
  padding-block: 72px 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  align-items: start;
}
.footer-grid > div {
  grid-column: 1 / span 4;
}
.footer-clinic-name {
  color: var(--deep);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
}
.physician-credentials {
  font-size: 13px;
  line-height: 1.4;
}
.footer-clinic-name + .physician-credentials {
  margin-top: 12px;
}
.footer-grid nav {
  grid-column: 6 / span 3;
  display: grid;
  gap: 24px;
  font-size: 14px;
}
.prototype-note {
  grid-column: 10 / -1;
  justify-self: end;
  text-align: right;
  color: var(--muted-foreground);
  font-size: 12px;
}

@media (max-width: 900px) {
  :root {
    --grid-columns: 8;
    --grid-gutter: 20px;
  }
  .page-grid {
    gap: var(--grid-gutter);
  }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
  }
  .menu-button {
    display: inline-flex;
    grid-column: 2;
  }
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 28px 40px;
    display: none;
    justify-content: flex-start;
    flex-direction: column;
    background: var(--background);
    border-bottom: 1px solid var(--line);
  }
  .main-nav--open {
    display: flex;
    animation: menu-enter 400ms cubic-bezier(0.2, 0, 0, 1);
  }
  .main-nav a {
    width: fit-content;
  }
  .hero-grid {
    min-height: 668px;
  }
  .hero-copy {
    grid-column: 1 / span 4;
  }
  .hero-stage {
    grid-column: 5 / -1;
    min-height: 540px;
  }
  .hero-logo-panel {
    width: 248px;
    padding: 40px;
  }
  .hero-logo-panel::before {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, white 100px, rgb(255 255 255 / 0) 220px);
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-lede {
    font-size: 20px;
  }
  .scroll-cue {
    display: none;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .final-action .button {
    white-space: normal;
    text-align: center;
  }
  .narrative-intro,
  .section-heading,
  .physician-copy {
    grid-column: 1 / -1;
  }
  .section-heading h2,
  .section-heading p:not(.kicker) {
    grid-column: 1 / -1;
  }
  .section-heading p:not(.kicker) {
    margin-top: 24px;
  }
  .depth-list,
  .physician-portrait {
    grid-column: 1 / -1;
  }
  .narrative-grid,
  .physician-grid {
    row-gap: 48px;
  }
  .depth-list {
    margin-top: 0;
  }
  .visit-heading {
    grid-column: 1 / span 4;
  }
  .steps {
    grid-column: 5 / -1;
  }
  .physician-portrait {
    width: 100%;
  }
  .condition-item {
    grid-column: span 4;
  }
  .referral-photo {
    grid-column: 1 / span 3;
  }
  .referral-copy {
    grid-column: 4 / -1;
    padding: 24px;
  }
  .final-grid > div:first-child {
    grid-column: 1 / span 5;
  }
  .final-action {
    grid-column: 6 / -1;
  }
  .footer-grid > div {
    grid-column: 1 / span 3;
  }
  .footer-grid nav {
    grid-column: 4 / span 2;
  }
  .prototype-note {
    grid-column: 6 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --grid-columns: 4;
    --grid-gutter: 16px;
    --page-inset: 20px;
  }
  body {
    font-size: 17px;
  }
  .page-grid {
    gap: var(--grid-gutter);
  }
  .site-header {
    height: 68px;
  }
  .main-nav {
    top: 68px;
    padding: 28px 20px;
  }
  .hero-grid {
    min-height: auto;
    padding-block: 40px 48px;
    row-gap: 40px;
  }
  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
  }
  .hero-stage {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 360px;
  }
  .hero-logo-panel {
    width: 248px;
    padding: 40px;
  }
  .motion-toggle {
    bottom: 12px;
    left: 12px;
  }
  .hero h1 {
    margin-top: 20px;
    font-size: 48px;
  }
  .hero-lede {
    margin-top: 24px;
    font-size: 20px;
  }
  .hero-support {
    max-width: 300px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 32px;
    gap: 24px;
  }
  .hero-actions .arrow-link {
    align-self: center;
  }
  .scroll-cue {
    display: none;
  }
  .narrative-intro,
  .section-heading,
  .visit-heading,
  .physician-copy,
  .depth-list,
  .steps,
  .physician-portrait,
  .referral-copy,
  .final-grid > div:first-child,
  .final-action {
    grid-column: 1 / -1;
  }
  .narrative-intro h2,
  .section-heading h2,
  .physician h2,
  .final-cta h2,
  .visit-heading h2,
  .referral-copy h2 {
    font-size: 36px;
  }
  .depth-list {
    margin-top: 56px;
  }
  .section-heading p:not(.kicker) {
    width: 100%;
    margin: 24px 0 0;
  }
  .condition-layout {
    grid-column: 1 / -1;
    margin-top: 48px;
  }
  .condition-item {
    grid-column: 1 / -1;
    min-height: 220px;
  }
  .condition-item h3 {
    font-size: 26px;
  }
  .visit-heading {
    position: static;
    margin-bottom: 56px;
  }
  .step {
    grid-template-columns: 64px 1fr;
  }
  .step p {
    font-size: 21px;
  }
  .physician-grid {
    row-gap: 48px;
  }
  .referral-photo {
    grid-column: 1 / -1;
    margin-bottom: 32px;
  }
  .final-grid {
    row-gap: 48px;
  }
  .referrals {
    padding-block: 144px 112px;
  }
  .pattern-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .pattern-preview-label {
    padding: 0;
  }
  .pattern-options a {
    padding-inline: 12px;
  }
  .final-cta {
    padding-block: 88px 200px;
  }
  .final-cta .motion-toggle {
    bottom: 108px;
  }
  .footage-credit {
    left: var(--page-inset);
    right: var(--page-inset);
    bottom: 28px;
    gap: 0 4px;
  }
  .footer-grid {
    row-gap: 48px;
  }
  .footer-grid > div,
  .footer-grid nav,
  .prototype-note {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pattern-transition-canvas {
    display: none;
  }
  [data-element-motion="photo"] {
    filter: none !important;
    opacity: 1 !important;
  }
  .depth-row:hover .ui-icon,
  .depth-row:focus-visible .ui-icon,
  .arrow-link:hover .ui-icon,
  .arrow-link:focus-visible .ui-icon {
    transform: none;
  }
  .motion-toggle {
    display: none;
  }
  .ambient-video {
    opacity: 0 !important;
  }
  .main-nav--open {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


/* ---- 2026-11-10 additions: request + phone at equal weight, evaluate-and-refer line, 404 ---- */
.hero-actions { flex-wrap: wrap; align-items: center; }
.cta-pair { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-pair .button { min-width: 220px; }
/* §11 Secondary: 1.5 px Deep Blue outline, hover Ice fill. On dark grounds the boundary is Ice 100 (§5.4). */
.button--outline { border: 1.5px solid var(--deep); color: var(--deep); background: var(--background); }
.button--outline:hover { background: var(--ice); }
.button--outline-light { border: 1.5px solid var(--ice); color: #ffffff; }
.visit :focus-visible, .final-cta :focus-visible { outline-color: #ffffff; box-shadow: 0 0 0 4px var(--deep); }
.button[aria-disabled="true"] { cursor: default; }
.phone-number { font-variant-numeric: tabular-nums; }
.condition-route { margin-top: 12px; color: var(--muted-foreground); font-size: 15px; line-height: 1.5; }
.final-action .request-note { margin-top: 24px; margin-bottom: 0; font-size: 15px; }
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 40px; text-align: center; }
.notfound h1 { font-size: 48px; }
.notfound p { margin-top: 16px; }
.notfound .button { margin-top: 32px; }
@media (max-width: 640px) {
  .cta-pair { flex-direction: column; align-items: stretch; }
  .cta-pair .button { min-width: 0; width: 100%; }
}
