:root {
  --night: #041418;
  --night-2: #071e25;
  --night-3: #0b2a31;
  --ink: #102027;
  --paper: #f6f1e7;
  --paper-2: #e9dfcf;
  --ivory: #fbf5ea;
  --champagne: #c9ae7a;
  --champagne-soft: #e0cda8;
  --sage: #9daa91;
  --sage-strong: #b3bea6;
  --mist: #d4d1c7;
  --muted: #6a746f;
  --line: rgba(16, 32, 39, 0.18);
  --line-dark: rgba(251, 245, 234, 0.18);
  --aqua: var(--sage);
  --signal: var(--champagne);
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Aptos, Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1240px;
  --paper-soft: var(--paper);
  --paper-warm: var(--paper-2);
  --deep-2: var(--night);
  --teal: #6f8f85;
  --teal-soft: var(--sage-strong);
  --clay: #9b7a50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--aqua);
  color: var(--night);
  padding: 10px 14px;
}

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

.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: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  min-height: 76px;
  padding: 12px 14px 12px 18px;
  color: var(--ivory);
  border: 1px solid rgba(224, 205, 168, 0.22);
  background: rgba(4, 20, 24, 0.62);
  box-shadow: 0 18px 60px rgba(1, 8, 10, 0.18);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, top 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  top: 10px;
  color: var(--ivory);
  border-color: rgba(224, 205, 168, 0.28);
  background: rgba(4, 20, 24, 0.88);
  box-shadow: 0 20px 70px rgba(1, 8, 10, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 40px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  opacity: 0.86;
  filter: brightness(2.05) saturate(0.38) sepia(0.08) drop-shadow(0 1px 0 rgba(224, 205, 168, 0.18));
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark {
  filter: brightness(2.05) saturate(0.38) sepia(0.08) drop-shadow(0 1px 0 rgba(224, 205, 168, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.08;
}

.brand small {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(251, 245, 234, 0.68);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(251, 245, 234, 0.78);
  font-family: var(--serif);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 11px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  scroll-margin-top: 0;
  padding: clamp(92px, 11vw, 156px) 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 28%, rgba(122, 122, 96, 0.12), transparent 34%),
    linear-gradient(135deg, #031014 0%, #061b20 48%, #02090c 100%);
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 16, 20, 0.99) 0%, rgba(3, 16, 20, 0.94) 38%, rgba(3, 16, 20, 0.64) 69%, rgba(3, 16, 20, 0.92) 100%),
    linear-gradient(0deg, rgba(3, 16, 20, 0.76), rgba(3, 16, 20, 0.16) 42%, rgba(3, 16, 20, 0.48)),
    url("assets/portrait-suit.webp");
  background-position: center, center, calc(100% + 16px) 51%;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 80%;
  filter: saturate(0.74) contrast(1.08) brightness(0.82);
}

.hero-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 32%, rgba(201, 174, 122, 0.12), transparent 30%),
    radial-gradient(circle at 20% 32%, rgba(157, 170, 145, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(3, 16, 20, 0.28), transparent 44%, rgba(3, 16, 20, 0.36));
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.16;
}

.hero-grid span {
  border-left: 1px solid rgba(224, 205, 168, 0.12);
}

.hero-grid span:last-child {
  border-right: 1px solid rgba(224, 205, 168, 0.12);
}

.orbital-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(224, 205, 168, 0.16);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.orbit-a {
  right: -10vw;
  top: 14vh;
  width: 42vw;
  height: 42vw;
}

.orbit-b {
  right: 14vw;
  bottom: 12vh;
  width: 22vw;
  height: 22vw;
  border-color: rgba(157, 170, 145, 0.18);
}

.orbit-c {
  left: -16vw;
  bottom: -18vw;
  width: 44vw;
  height: 44vw;
  border-color: rgba(251, 245, 234, 0.1);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 64px;
  min-height: 100svh;
  padding-top: 146px;
  padding-bottom: 132px;
  align-items: end;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--champagne-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: #8c5b38;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  color: var(--ivory);
  font-size: 6.15rem;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

h2 {
  margin-bottom: 24px;
  font-size: 4.45rem;
}

.hero-copy > p,
.signal-copy > p,
.consultation-copy > p,
.prep-copy > p,
.formation-copy > p,
.appointment-panel > p {
  max-width: 650px;
  color: rgba(251, 245, 234, 0.72);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
}

.hero-copy > p {
  max-width: 680px;
  color: rgba(251, 245, 234, 0.7);
  font-size: 1.24rem;
  line-height: 1.72;
}

.hero-eyebrow {
  white-space: nowrap;
}

.signal-copy > p,
.consultation-copy > p,
.prep-copy > p,
.formation-copy > p {
  color: var(--muted);
}

.hero-actions,
.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-actions {
  margin-bottom: clamp(24px, 3vh, 42px);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 15px 24px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button::after {
  width: 18px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  opacity: 0.82;
  transform: translateX(0) skewX(36deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: translateX(3px) skewX(36deg);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  color: var(--night);
  background: linear-gradient(180deg, var(--sage-strong), var(--sage));
  border-color: rgba(214, 224, 204, 0.72);
  box-shadow: 0 16px 44px rgba(3, 16, 20, 0.26), inset 0 1px 0 rgba(251, 245, 234, 0.34);
}

.button-ghost {
  color: var(--ivory);
  background: rgba(3, 16, 20, 0.2);
  border-color: rgba(224, 205, 168, 0.42);
  box-shadow: inset 0 1px 0 rgba(251, 245, 234, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(224, 205, 168, 0.72);
  background: rgba(224, 205, 168, 0.08);
}

.appointment-panel .button-ghost {
  color: var(--paper);
}

.hero-signature {
  align-self: end;
  justify-self: end;
  width: min(100%, 326px);
  padding: 20px 22px;
  color: var(--night);
  border: 1px solid rgba(224, 205, 168, 0.42);
  background:
    linear-gradient(135deg, rgba(251, 245, 234, 0.96), rgba(231, 221, 203, 0.88));
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 86px rgba(1, 8, 10, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  transform: translate(10px, -40px);
}

.portrait-panel {
  position: relative;
  padding-top: 2px;
}

.portrait-panel span,
.portrait-panel strong,
.portrait-panel small {
  display: block;
}

.portrait-panel small {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 500;
}

.portrait-panel span {
  margin-bottom: 18px;
  color: #5d6257;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portrait-panel span::after {
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 15px;
  content: "";
  background: var(--champagne);
}

.portrait-panel strong {
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 500;
}

.credential-marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(224, 205, 168, 0.18);
  border-bottom: 1px solid rgba(224, 205, 168, 0.14);
  background:
    linear-gradient(90deg, rgba(3, 16, 20, 0.96), rgba(5, 25, 30, 0.9), rgba(3, 16, 20, 0.96));
  box-shadow: 0 -20px 60px rgba(1, 8, 10, 0.22);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.credential-marquee div {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: min(100%, calc(100% - 32px));
  min-width: 0;
  margin: 0 auto;
}

.credential-marquee span,
.credential-marquee a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-height: 72px;
  padding: 0 18px;
  border-right: 1px solid rgba(224, 205, 168, 0.16);
  color: rgba(251, 245, 234, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.32;
  text-align: left;
  white-space: nowrap;
}

.credential-marquee a {
  color: var(--champagne-soft);
}

.credential-marquee span:first-child {
  border-left: 1px solid rgba(224, 205, 168, 0.16);
}

.credential-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--champagne);
  opacity: 0.9;
}

.credential-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-section {
  background:
    linear-gradient(90deg, rgba(7, 24, 31, 0.06) 0 1px, transparent 1px) 0 0 / 96px 96px,
    var(--paper);
  padding-top: clamp(72px, 8vw, 108px);
}

.signal-v3-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.02fr);
  gap: clamp(44px, 7vw, 108px);
  align-items: start;
}

.atlas-console {
  position: sticky;
  top: 112px;
  align-self: start;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 12px;
  color: var(--night);
  background:
    radial-gradient(circle at 74% 20%, rgba(114, 215, 194, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(7, 24, 31, 0.05) 0 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(0deg, rgba(7, 24, 31, 0.04) 0 1px, transparent 1px) 0 0 / 74px 74px,
    var(--paper);
  border: 1px solid rgba(7, 24, 31, 0.16);
  box-shadow: 0 28px 80px rgba(7, 24, 31, 0.14);
  overflow: hidden;
}

.pedigree-svg {
  position: relative;
  z-index: 0;
  width: 96%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.grid-lines path {
  fill: none;
  stroke: rgba(7, 24, 31, 0.08);
  stroke-width: 1;
}

.pedigree-lines path {
  fill: none;
  stroke: rgba(7, 24, 31, 0.72);
  stroke-width: 3.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.atlas-console.is-visible .pedigree-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pedigree-draw 1500ms cubic-bezier(0.25, 0.82, 0.25, 1) forwards;
}

.atlas-console.is-visible .pedigree-lines path:nth-child(2) { animation-delay: 120ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(3) { animation-delay: 200ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(4) { animation-delay: 280ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(5) { animation-delay: 360ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(6) { animation-delay: 440ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(7) { animation-delay: 560ms; }
.atlas-console.is-visible .pedigree-lines path:nth-child(8) { animation-delay: 680ms; }

.members circle,
.members rect {
  fill: var(--paper);
  stroke: rgba(7, 24, 31, 0.82);
  stroke-width: 3.4;
  transform-box: fill-box;
  transform-origin: center;
}

.members .marked {
  fill: #9ad8ca;
}

.members .marked[filter] {
  stroke: rgba(7, 24, 31, 0.88);
}

.signal-copy {
  padding-top: 0;
}

.signal-copy h2 {
  max-width: 700px;
  font-size: clamp(2.7rem, 4.5vw, 4.85rem);
}

.prep-copy h2,
.consultation-copy h2,
.formation-copy h2,
.appointment-copy h2 {
  font-size: clamp(2.65rem, 4.35vw, 4.7rem);
}

.signal-list {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.signal-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list span {
  color: #0b7c71;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.signal-list strong {
  font-family: var(--serif);
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  font-weight: 500;
  line-height: 1.08;
}

.consultation-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(114, 215, 194, 0.12), transparent 38%),
    var(--night);
}

.consultation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: start;
}

.consultation-section .section-kicker,
.appointment-section .section-kicker {
  color: var(--aqua);
}

.consultation-section .consultation-copy > p {
  color: rgba(247, 244, 236, 0.7);
}

.deliverable-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line-dark);
}

.deliverable-matrix article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(247, 244, 236, 0.04);
}

.deliverable-matrix article:nth-child(1),
.deliverable-matrix article:nth-child(2) {
  grid-column: span 3;
}

.deliverable-matrix article:nth-child(3),
.deliverable-matrix article:nth-child(4),
.deliverable-matrix article:nth-child(5) {
  grid-column: span 2;
  border-bottom: 0;
}

.deliverable-matrix span,
.prep-cards span,
.credential-orbit span {
  display: block;
  margin-bottom: 16px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deliverable-matrix p {
  margin: 0;
  color: rgba(247, 244, 236, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.52rem);
  line-height: 1.18;
}

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

.prep-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 98px);
  align-items: start;
}

.prep-cards {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}

.prep-cards article {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.prep-cards p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.18;
}

.prep-cards span {
  color: #96512e;
}

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

.formation-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.credential-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.credential-orbit article {
  min-height: 210px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.34);
}

.credential-orbit p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.appointment-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 12%, rgba(114, 215, 194, 0.13), transparent 28%),
    radial-gradient(circle at 72% 62%, rgba(255, 184, 107, 0.11), transparent 30%),
    linear-gradient(135deg, #07181f, #0d2d37 70%, #07181f);
  isolation: isolate;
}

.appointment-section::after {
  position: absolute;
  inset: 6% -8% 0 auto;
  z-index: 0;
  width: min(58vw, 780px);
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 24, 31, 0.9), rgba(7, 24, 31, 0.15)),
    url("assets/family-pedigree.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(-2deg);
}

.appointment-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 31, 0.98) 0%, rgba(7, 24, 31, 0.9) 42%, rgba(7, 24, 31, 0.34) 100%),
    linear-gradient(0deg, rgba(7, 24, 31, 0.72), rgba(7, 24, 31, 0.08) 48%, rgba(7, 24, 31, 0.34)),
    url("assets/portrait-suit.webp");
  background-position: center, center, 84% 48%;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 124%;
  opacity: 0.68;
  filter: saturate(0.78) contrast(1.08);
}

.appointment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
}

.appointment-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-dark);
  background: rgba(7, 24, 31, 0.34);
  backdrop-filter: blur(14px);
}

.appointment-panel strong,
.appointment-panel small {
  display: block;
}

.appointment-panel strong {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.appointment-panel small {
  max-width: 36rem;
  margin-top: 14px;
  color: rgba(247, 244, 236, 0.68);
  font-size: 0.96rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 88px minmax(220px, 0.7fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px clamp(20px, 4vw, 56px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 72px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}

.site-footer span,
.site-footer nav {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes pedigree-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1080px) {
  .site-header {
    width: min(100% - 24px, 820px);
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    color: var(--ivory);
    background: rgba(4, 20, 24, 0.96);
    border: 1px solid rgba(224, 205, 168, 0.24);
    box-shadow: 0 26px 70px rgba(1, 8, 10, 0.34);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.nav-active .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(224, 205, 168, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .hero-inner,
  .signal-v3-grid,
  .consultation-layout,
  .prep-shell,
  .formation-grid,
  .appointment-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
    padding-bottom: 148px;
  }

  h1 {
    max-width: 720px;
    font-size: 4.9rem;
  }

  h2 {
    font-size: 3.65rem;
  }

  .hero-signature {
    justify-self: start;
    width: min(100%, 420px);
    transform: none;
  }

  .atlas-console {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .appointment-grid {
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    display: flex;
    justify-content: space-between;
    min-height: 64px;
    padding: 9px 10px 9px 12px;
    width: min(100% - 20px, 820px);
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
    text-align: left;
  }

  .nav-toggle {
    position: relative;
    flex: 0 0 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-color: rgba(224, 205, 168, 0.48);
  }

  .nav-toggle::before,
  .nav-toggle::after {
    width: 18px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .nav-toggle::before {
    transform: translateY(-4px);
  }

  .nav-toggle::after {
    transform: translateY(4px);
  }

  .nav-toggle span:not(.sr-only) {
    display: none;
  }

  .brand-mark {
    display: block;
    width: 40px;
    height: 28px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    display: none;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .section {
    padding: 72px 0;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 106px;
    padding-bottom: 28px;
  }

  h1 {
    max-width: 348px;
    font-size: 2.48rem;
    line-height: 1;
    text-wrap: pretty;
  }

  h2 {
    font-size: 2.65rem;
    line-height: 1;
  }

  .hero-background {
    background:
      linear-gradient(90deg, rgba(3, 16, 20, 0.99) 0%, rgba(3, 16, 20, 0.95) 54%, rgba(3, 16, 20, 0.78) 100%),
      linear-gradient(0deg, rgba(3, 16, 20, 0.99) 0%, rgba(3, 16, 20, 0.94) 30%, rgba(3, 16, 20, 0.5) 58%, rgba(3, 16, 20, 0.68) 100%);
    background-position: center, center;
    background-size: cover, cover;
  }

  .hero-background::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: url("assets/portrait-suit.webp");
    background-position: 118% 8%;
    background-repeat: no-repeat;
    background-size: auto min(47svh, 410px);
    opacity: 0.24;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 62%);
    mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 62%);
  }

  .hero-eyebrow {
    max-width: 340px;
    margin-bottom: 14px;
    font-size: 0.66rem;
    line-height: 1.65;
    white-space: normal;
  }

  .hero-copy > p {
    max-width: 350px;
    font-size: 1.04rem;
    line-height: 1.54;
  }

  .hero-actions,
  .appointment-actions {
    display: grid;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
    margin-bottom: 22px;
  }

  .button {
    min-height: 52px;
    width: 100%;
    padding: 13px 16px;
  }

  .hero-signature {
    width: min(100%, 360px);
    padding: 14px 16px;
    border-color: rgba(224, 205, 168, 0.34);
    box-shadow: 0 18px 54px rgba(1, 8, 10, 0.28);
  }

  .portrait-panel small {
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .portrait-panel strong {
    font-size: 0.96rem;
  }

  .portrait-panel span {
    margin-bottom: 6px;
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .credential-marquee {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .credential-marquee::-webkit-scrollbar {
    display: none;
  }

  .credential-marquee div {
    display: flex;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    padding: 0 14px;
  }

  .credential-marquee span,
  .credential-marquee a {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 16px;
    border-top: 0;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .credential-icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .atlas-console {
    padding: 10px 14px;
  }

  .pedigree-svg {
    width: 92%;
    margin: 0 auto;
  }

  .signal-list li,
  .prep-cards article,
  .evidence-panel article {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .deliverable-matrix,
  .credential-orbit {
    grid-template-columns: 1fr;
  }

  .deliverable-matrix article,
  .deliverable-matrix article:nth-child(1),
  .deliverable-matrix article:nth-child(2),
  .deliverable-matrix article:nth-child(3),
  .deliverable-matrix article:nth-child(4),
  .deliverable-matrix article:nth-child(5) {
    grid-column: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .deliverable-matrix article:last-child {
    border-bottom: 0;
  }

  .prep-cards article {
    grid-template-columns: 1fr;
  }

  .appointment-panel {
    padding: 24px;
  }

  .appointment-background {
    background-position: center, center, 70% 22%;
    background-size: cover, cover, cover;
    opacity: 0.32;
  }

  .site-footer {
    gap: 18px;
    padding: 32px 18px;
  }
}

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

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

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

  .atlas-console .pedigree-lines path {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

}

/* Inner-page compatibility styles preserved from the previous production build. */
.publication-ledger p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

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

.about-hero {
  position: relative;
  min-height: clamp(720px, 82svh, 900px);
  overflow: hidden;
  color: var(--paper-soft);
  background: var(--deep-2);
  isolation: isolate;
}

.about-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 30, 43, 0.96) 0%, rgba(12, 30, 43, 0.84) 44%, rgba(12, 30, 43, 0.38) 74%, rgba(12, 30, 43, 0.2) 100%),
    linear-gradient(180deg, rgba(12, 30, 43, 0.18) 0%, rgba(12, 30, 43, 0.82) 100%);
}

.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #101315;
  background-image: url("assets/portrait-suit.webp");
  background-position: calc(100% - max(28px, calc((100vw - var(--max)) / 2))) 52%;
  background-repeat: no-repeat;
  background-size: auto min(74svh, 700px);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.42fr);
  gap: clamp(34px, 7vw, 110px);
  min-height: 82svh;
  padding-top: clamp(136px, 18vh, 180px);
  padding-bottom: clamp(72px, 10vh, 120px);
  align-items: end;
}

.about-hero-copy {
  max-width: 820px;
}

.about-hero-copy > p {
  max-width: 660px;
  color: rgba(251, 248, 239, 0.82);
  font-size: clamp(1.12rem, 1.65vw, 1.38rem);
}

.about-hero-note {
  padding-top: 18px;
  border-top: 1px solid rgba(251, 248, 239, 0.42);
  color: rgba(251, 248, 239, 0.82);
}

.about-hero-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero-note p {
  margin-bottom: 0;
}

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

.about-intro-grid,
.publication-grid,
.evidence-grid,
.about-cta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.about-prose {
  border-top: 1px solid var(--ink);
  padding-top: clamp(22px, 3vw, 36px);
}

.about-prose p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
}

.credential-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-heading {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.credential-ledger,
.publication-list {
  border-top: 1px solid var(--ink);
}

.credential-ledger article,
.publication-list article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}

.credential-ledger span,
.publication-list span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credential-ledger p,
.publication-list p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.publication-list article {
  grid-template-columns: minmax(170px, 0.36fr) minmax(0, 1fr) auto;
  align-items: start;
}

.publication-list h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.publication-list a {
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.evidence-panel {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.evidence-panel article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.evidence-panel article:last-child {
  border-bottom: 0;
}

.evidence-panel span {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.evidence-panel p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.62rem);
  line-height: 1.18;
}

.evidence-copy {
  align-self: center;
}

.evidence-copy > p,
.about-cta-copy > p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
}

.evidence-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.evidence-points span {
  min-height: 88px;
  padding: 18px;
  background: rgba(251, 248, 239, 0.46);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-cta-section {
  background: var(--deep-2);
  color: var(--paper-soft);
}

.about-cta-section .section-kicker {
  color: var(--teal-soft);
}

.about-cta-copy {
  align-self: end;
  padding-top: 14px;
  border-top: 1px solid rgba(251, 248, 239, 0.34);
}

.about-cta-copy > p {
  color: rgba(251, 248, 239, 0.78);
}

.research-band {
  margin-top: clamp(62px, 8vw, 104px);
  padding: clamp(68px, 8vw, 112px) 0;
  background: var(--paper-warm);
}

.research-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

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

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

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-brand .brand-mark {
  border-color: var(--line);
}

.legal-main {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.legal-main h1 {
  margin-bottom: 30px;
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
}

.legal-main h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.08;
}

.legal-main p {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-note {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem !important;
}

.not-found {
  min-height: 100svh;
}

@media (max-width: 980px) {
  .about-hero-grid, .about-intro-grid, .publication-grid, .evidence-grid, .about-cta-grid, .research-grid { grid-template-columns: 1fr; }
  .about-hero-note { max-width: 420px; }
  .publication-list article { grid-template-columns: minmax(0, 1fr); }
  .publication-list a { width: fit-content; }
}
@media (max-width: 720px) {
  .about-hero-grid { min-height: auto; padding-top: 132px; padding-bottom: 64px; }
  .about-hero-media { background-position: 64% 44%; background-size: auto 72svh; }
  .legal-header, .legal-main { width: min(100% - 28px, var(--max)); }
  .credential-ledger article, .publication-list article, .evidence-panel article { grid-template-columns: 1fr; }
}
