:root {
  --ink: #20242b;
  --muted: #5b626c;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e3dfd8;
  --red: #87413d;
  --red-dark: #65302d;
  --cyan: #d8f3f8;
  --cyan-dark: #2f7f91;
  --green: #0d4b14;
  --charcoal: #121821;
  --shadow: 0 20px 60px rgba(32, 36, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

main,
section {
  min-width: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 5vw;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(227, 223, 216, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 245px;
  height: 50px;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--red-dark);
}

.nav-cta {
  padding: 9px 14px;
  color: var(--red-dark);
  border: 1px solid rgba(135, 65, 61, 0.35);
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 72px 5vw 86px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(18, 24, 33, 0.9), rgba(18, 24, 33, 0.55) 42%, rgba(18, 24, 33, 0.08)),
    url("assets/site/hero-vascular-skull.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  background: linear-gradient(180deg, rgba(18, 24, 33, 0), rgba(18, 24, 33, 0.62));
}

.hero-content {
  width: 100%;
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.hero-content,
.metric,
.section-copy,
.layer-copy,
.proof-copy,
.contact-copy,
.service-card,
.process-list article,
.compare-panel,
details {
  min-width: 0;
}

h1 {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1.08;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-line {
  max-width: 560px;
  margin-bottom: 24px;
  color: #f3dad8;
  font-size: 2.3rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.hero-actions,
.contact-form .button {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  padding: 28px 5vw;
  background: var(--white);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: 4px;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.metric span,
.section p,
.proof-copy p,
.contact-copy p,
.faq p {
  color: var(--muted);
}

.section {
  padding: 90px 5vw;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: 56px;
  align-items: start;
}

.section-copy {
  max-width: 560px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 36, 43, 0.06);
}

.service-card span,
.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--red-dark);
  background: var(--cyan);
  border-radius: 50%;
  font-weight: 700;
}

.anatomy-layers {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(420px, 1.35fr);
  gap: 40px;
  align-items: center;
  background: #f1fbfd;
}

.layer-copy {
  max-width: 520px;
}

.layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.layer-grid figure,
.proof-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #5f5a56;
  border-radius: 8px;
}

.layer-grid img,
.proof-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer-grid figure {
  aspect-ratio: 16 / 10;
}

figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(18, 24, 33, 0.74);
  border-radius: 6px;
  font-size: 0.85rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-list article {
  padding: 24px 22px;
  background: var(--white);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 36, 43, 0.06);
}

.visual-proof {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(420px, 1.25fr);
  gap: 44px;
  align-items: start;
  padding: 90px 5vw;
  color: var(--white);
  background: var(--charcoal);
}

.visual-proof .eyebrow {
  color: var(--cyan);
}

.proof-copy {
  position: sticky;
  top: 110px;
}

.proof-copy h2 {
  color: var(--white);
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 700;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-gallery figure {
  min-height: 270px;
}

.proof-gallery .wide {
  grid-column: span 2;
  min-height: 330px;
}

.research {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 48px;
  background: var(--white);
}

.research-grid {
  display: grid;
  gap: 14px;
}

.research-grid a {
  display: block;
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.research-grid a:hover,
.research-grid a:focus-visible {
  border-color: rgba(135, 65, 61, 0.45);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.compare-panel {
  padding: 34px;
  border-radius: 8px;
}

.compare-panel h2 {
  font-size: 2rem;
}

.compare-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  padding-left: 22px;
  background-image: linear-gradient(var(--red), var(--red));
  background-position: 0 0.78em;
  background-repeat: no-repeat;
  background-size: 9px 2px;
}

.traditional {
  color: var(--white);
  background: var(--red);
}

.traditional .eyebrow,
.traditional p {
  color: #f6dedb;
}

.traditional li {
  background-image: linear-gradient(var(--cyan), var(--cyan));
}

.modern {
  background: var(--cyan);
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr);
  gap: 56px;
  padding: 90px 5vw;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("assets/site/brain-detail.webp");
  background-position: right center;
  background-size: 720px auto;
  background-repeat: no-repeat;
}

address {
  display: grid;
  gap: 7px;
  margin-top: 26px;
  font-style: normal;
}

address a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-hidden {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfc9bf;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
summary:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(47, 127, 145, 0.32);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.74);
  background: var(--charcoal);
}

.thank-you-section {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: 90px 5vw;
  background: var(--paper);
}

.thank-you-section div {
  max-width: 760px;
}

.thank-you-section h1 {
  color: var(--ink);
}

.thank-you-section p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .split,
  .anatomy-layers,
  .visual-proof,
  .research,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    width: 205px;
    max-width: calc(100% - 58px);
    height: 44px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 42px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5vw 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 6px;
    padding: 11px 14px;
    text-align: center;
  }

  .hero {
    min-height: 640px;
    padding-top: 56px;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(18, 24, 33, 0.94), rgba(18, 24, 33, 0.66) 58%, rgba(18, 24, 33, 0.44)),
      url("assets/site/hero-vascular-skull.webp");
    background-position: 58% center;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-line {
    font-size: 1.85rem;
  }

  .signal-band,
  .service-grid,
  .layer-grid,
  .process-list,
  .proof-gallery,
  .compare {
    grid-template-columns: 1fr;
  }

  .proof-gallery .wide {
    grid-column: auto;
  }

  .proof-gallery figure,
  .proof-gallery .wide {
    min-height: 240px;
  }

  .section,
  .visual-proof,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand {
    width: 182px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }
}
