:root {
  --ink: #102433;
  --ink-deep: #07131d;
  --ink-soft: #1b3445;
  --paper: #f7f3ea;
  --paper-soft: #efede7;
  --white: #ffffff;
  --teal: #8ec2b8;
  --teal-strong: #4d8f87;
  --gold: #c6a36d;
  --text: #24333d;
  --muted: #65727b;
  --line: rgba(16, 36, 51, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 12px 30px rgba(7, 19, 29, 0.08);
  --shadow-lg: 0 30px 80px rgba(7, 19, 29, 0.22);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 82px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

address {
  font-style: normal;
}

::selection {
  color: var(--ink-deep);
  background: var(--teal);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink-deep);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.section-soft {
  background: var(--paper-soft);
}

.section-dark {
  color: var(--white);
  background: var(--ink-deep);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--teal-strong);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 7.2vw, 6.9rem);
  line-height: 0.93;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 24px;
  color: var(--ink-deep);
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 1.04;
}

.section-dark h2,
.section-heading.light h2,
.contact-section h2 {
  color: var(--white);
}

h3 {
  color: var(--ink-deep);
  font-size: 1.25rem;
  line-height: 1.28;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 19, 29, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 19, 29, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-symbol {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.primary-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-cta {
  padding: 10px 16px;
  color: var(--ink-deep);
  background: var(--teal);
  border-radius: 999px;
}

.primary-nav .nav-cta:hover {
  color: var(--ink-deep);
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--ink-deep);
  background: var(--teal);
  box-shadow: 0 12px 35px rgba(142, 194, 184, 0.18);
}

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

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

.button-ghost:hover,
.button-outline-light:hover {
  color: var(--ink-deep);
  background: var(--white);
  border-color: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 78px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: -24%;
  right: -12%;
  z-index: -2;
  width: min(54vw, 780px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(77, 143, 135, 0.32), transparent 68%);
  filter: blur(18px);
}

.hero::after {
  position: absolute;
  bottom: 90px;
  left: -8%;
  z-index: -2;
  width: 420px;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(198, 163, 109, 0.13), transparent 70%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.85) 55%, transparent 100%);
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--header-height) - 170px);
  align-items: center;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(46px, 7vw, 104px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 35px 0 70px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.52;
}

.hero-sub {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.99rem;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
}

.hero-meta div {
  display: grid;
  gap: 2px;
  min-width: 124px;
}

.hero-meta strong {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  align-self: end;
}

.portrait-orbit {
  position: absolute;
  top: 8%;
  right: -14%;
  width: 94%;
  aspect-ratio: 1;
  border: 1px solid rgba(142, 194, 184, 0.28);
  border-radius: 50%;
}

.portrait-orbit::before,
.portrait-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.portrait-orbit::before {
  inset: 10%;
}

.portrait-orbit::after {
  inset: 22%;
}

.portrait-card {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 7%;
  margin: 0;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42% 42% 28px 28px;
  box-shadow: var(--shadow-lg);
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 52%, rgba(7, 19, 29, 0.06) 68%, rgba(7, 19, 29, 0.92) 100%);
}

.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: 50% 18%;
}

.portrait-card figcaption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 2;
  display: grid;
  gap: 2px;
}

.portrait-card figcaption span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.56rem;
  line-height: 1.2;
}

.portrait-card figcaption strong {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  color: var(--ink-deep);
  background: rgba(247, 243, 234, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.35;
}

.floating-note svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--teal-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.note-one {
  top: 26%;
  left: -7%;
}

.note-two {
  right: -3%;
  bottom: 20%;
  color: var(--white);
  background: rgba(16, 36, 51, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

.note-dot {
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(142, 194, 184, 0.12);
}

.trust-strip {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip span {
  position: relative;
  white-space: nowrap;
}

.trust-strip span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -34px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Profile */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(52px, 8vw, 120px);
}

.section-heading h2 {
  max-width: 850px;
}

.specialty-emblem {
  width: min(260px, 70%);
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 10px;
  background: #eff0ef;
  border: 1px solid rgba(16, 36, 51, 0.11);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(16, 36, 51, 0.12);
}

.specialty-emblem img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 15px;
}

.section-heading.centered {
  max-width: 860px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.centered p:last-child,
.section-heading.light p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.light p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.prose {
  font-size: 1.04rem;
}

.prose p {
  margin-bottom: 22px;
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.credential-row > div {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: var(--paper);
}

.credential-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-row strong {
  color: var(--ink-deep);
  font-size: 0.94rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 420px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 51, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(7, 19, 29, 0.035);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  content: "";
  background: radial-gradient(circle, rgba(142, 194, 184, 0.28), transparent 68%);
}

.service-card:hover {
  border-color: rgba(77, 143, 135, 0.34);
  box-shadow: 0 22px 44px rgba(7, 19, 29, 0.08);
  transform: translateY(-6px);
}

.icon-shell {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--teal-strong);
  background: rgba(142, 194, 184, 0.15);
  border: 1px solid rgba(77, 143, 135, 0.18);
  border-radius: 15px;
}

.icon-shell svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.34rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.service-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(52px, 8vw, 116px);
}

.method-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  align-self: start;
}

.method-intro > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.04rem;
}

.method-callout {
  display: grid;
  gap: 6px;
  margin-top: 38px;
  padding: 24px;
  background: var(--ink-deep);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.method-callout span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-callout strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.28;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--teal-strong);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.26rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Locations */
.locations {
  position: relative;
  overflow: hidden;
}

.locations::before {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(142, 194, 184, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(142, 194, 184, 0.025), 0 0 0 180px rgba(142, 194, 184, 0.018);
}

.locations .section-heading {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin-bottom: 54px;
}

.locations-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.location-card {
  display: flex;
  min-height: 356px;
  flex-direction: column;
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(142, 194, 184, 0.28);
  transform: translateY(-5px);
}

.location-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-topline span:first-child {
  color: var(--teal);
}

.location-card h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.location-card address {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.55;
}

.location-detail {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.78rem;
}

.location-card a {
  margin-top: auto;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 720;
  text-decoration: none;
}

.location-card a:hover {
  color: var(--white);
}

/* Research */
.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(52px, 8vw, 116px);
}

.research-intro {
  align-self: start;
}

.research-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 34px;
}

.text-link {
  color: var(--teal-strong);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover {
  color: var(--ink-deep);
}

.publications {
  border-top: 1px solid var(--line);
}

.publication {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.publication-year {
  color: var(--teal-strong);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.publication h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.publication p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.publication a {
  color: var(--teal-strong);
  font-size: 0.76rem;
  font-weight: 760;
  text-decoration: none;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 110px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--ink-deep);
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--teal-strong);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details > div {
  overflow: hidden;
}

.faq-list details p {
  max-width: 720px;
  margin: -2px 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Contact */
.contact-section {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
}

.contact-accent {
  position: absolute;
  top: 50%;
  left: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(142, 194, 184, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 80px rgba(142, 194, 184, 0.024), 0 0 0 160px rgba(142, 194, 184, 0.016);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  gap: clamp(52px, 7vw, 96px);
}

.contact-copy p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.02rem;
}

.direct-contacts {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.direct-contact {
  display: block;
  padding: 17px 19px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.direct-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(142, 194, 184, 0.5);
  transform: translateY(-2px);
}

.direct-contact span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-contact strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

.contact-form {
  padding: clamp(26px, 4vw, 38px);
  color: var(--ink-deep);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.contact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin-bottom: 6px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.form-heading > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-deep);
  font-size: 0.76rem;
  font-weight: 740;
}

.form-field label span {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 600;
  text-transform: none;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink-deep);
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid rgba(16, 36, 51, 0.2);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal-strong);
  box-shadow: 0 0 0 3px rgba(72, 137, 128, 0.14);
}

.form-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.7rem;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal-strong);
}

.form-check a {
  color: var(--teal-strong);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-status.is-error {
  color: #9c3d3d;
}

.form-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.contact-availability {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 480px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.contact-availability span {
  color: rgba(255, 255, 255, 0.48);
}

.contact-availability strong {
  color: var(--white);
}

.contact-hours {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.contact-hours span {
  color: rgba(255, 255, 255, 0.48);
}

.contact-hours strong {
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 62px 0 22px;
  color: rgba(255, 255, 255, 0.62);
  background: #050e15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 0.8fr);
  gap: 34px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand p,
.footer-grid > div > p {
  margin: 18px 0 0;
  font-size: 0.79rem;
  line-height: 1.65;
}

.footer-brand .brand-symbol {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.footer-title {
  margin: 0 0 15px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  color: var(--text);
  background: var(--paper);
}

.legal-hero {
  padding: calc(var(--header-height) + 72px) 0 72px;
  color: var(--white);
  background: var(--ink-deep);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: center;
  gap: 70px;
  padding: 80px 0 110px;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  padding: 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-deep);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.legal-content h2 {
  margin: 54px 0 18px;
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #4e5b64;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-notice {
  margin-bottom: 34px;
  padding: 18px 20px;
  color: #5a4630;
  background: #f5e8d5;
  border: 1px solid #e1c69f;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
}

/* Reveal animation */
.reveal[data-delay="60"] { --reveal-delay: 60ms; }
.reveal[data-delay="80"] { --reveal-delay: 80ms; }
.reveal[data-delay="100"] { --reveal-delay: 100ms; }
.reveal[data-delay="120"] { --reveal-delay: 120ms; }
.reveal[data-delay="180"] { --reveal-delay: 180ms; }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms cubic-bezier(.2,.7,.2,1), transform 640ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.not-found-hero {
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 44px;
  }

  .hero-visual {
    min-height: 570px;
  }

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

  .location-card {
    min-height: 310px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 92px 0;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    display: grid;
    align-content: start;
    gap: 0;
    padding: 34px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    background: rgba(7, 19, 29, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 17px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 1.05rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 22px;
    padding: 15px 20px;
    text-align: center;
    border: 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-visual {
    width: min(100%, 620px);
    min-height: 650px;
    justify-self: center;
  }

  .portrait-card {
    right: 4%;
    left: 4%;
  }

  .note-one {
    left: 0;
  }

  .note-two {
    right: 0;
  }

  .trust-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 28px;
    padding: 24px 0;
  }

  .trust-strip span:not(:last-child)::after {
    right: -18px;
  }

  .two-column,
  .method-grid,
  .research-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .method-intro {
    position: static;
  }

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

  .contact-card {
    width: min(100%, 620px);
  }

  .contact-form {
    width: min(100%, 720px);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand {
    gap: 10px;
  }

  .nav-shell > .brand .brand-symbol {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 10px;
  }

  .brand-copy span {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .hero-meta div:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-card {
    right: 0;
    left: 0;
    border-radius: 34% 34% 22px 22px;
  }

  .portrait-card figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .portrait-card figcaption span {
    font-size: 1.28rem;
  }

  .floating-note {
    padding: 10px 12px;
    font-size: 0.64rem;
  }

  .note-one {
    top: 57%;
    left: -2%;
  }

  .note-two {
    right: -2%;
    bottom: 15%;
  }

  .trust-strip {
    margin-top: 18px;
    font-size: 0.64rem;
  }

  .credential-row,
  .services-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .specialty-emblem {
    width: min(210px, 68vw);
    margin: 30px auto 0;
    text-align: center;
  }

  .service-card {
    min-height: auto;
  }

  .step {
    grid-template-columns: 52px 1fr;
    gap: 15px;
  }

  .location-card {
    min-height: 290px;
  }

  .publication {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .contact-card {
    padding: 26px 22px;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .contact-actions {
    display: grid;
  }

  .contact-hours {
    display: grid;
    gap: 3px;
  }

  .contact-availability {
    display: grid;
    gap: 3px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .floating-note,
  .contact-actions,
  .site-footer,
  .trust-strip {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .contact-section,
  .hero {
    padding: 24px 0;
    color: #000;
    background: #fff;
  }

  h1,
  h2,
  h3,
  .section-dark h2 {
    color: #000;
  }

  a {
    color: #000;
  }
}
