@charset "UTF-8";

/* Nocturne — deep navy, champagne accents, and a slowly shifting topographic field. */

:root {
  --bg: #0a141d;
  --bg-2: #0e1a25;
  --bg-3: #13212d;
  --text: #ece6da;
  --soft: #c4c3bd;
  --muted: #8e979d;
  --gold: #c9a96e;
  --gold-soft: #e2cfa6;
  --line: rgba(201, 169, 110, .2);
  --hair: rgba(236, 230, 218, .1);
  --serif: Baskerville, "Baskerville Old Face", "Libre Baskerville", "Hoefler Text", Garamond, Georgia, serif;
  --sans: Optima, Candara, "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 88px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; overflow-wrap: break-word; }
p { font-size: 1.0625rem; line-height: 1.75; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--bg); }

.skip { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px 16px; background: var(--gold); color: var(--bg); }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter); }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: clamp(230px, 20vw, 300px); height: auto; }
.site-header nav { display: flex; gap: 40px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.site-header nav a { padding: 8px 0; transition: color .3s; }
.site-header nav a:hover { color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: flex-end; background: radial-gradient(120% 90% at 78% 40%, #13263a 0%, var(--bg) 62%); isolation: isolate; }
.terrain { position: absolute; inset: 0; z-index: -1; }
.terrain svg { position: absolute; top: 50%; left: 64%; width: max(1300px, 110vw); height: auto; transform: translate(-50%, -50%); animation: fade 3s ease both; }
.terrain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(10, 20, 29, .72) 42%, rgba(10, 20, 29, 0) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 20, 29, 0) 38%); }
.contours { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 50% 50%; }
.contours-a { stroke: rgba(201, 169, 110, .26); animation: drift 140s linear infinite; }
.contours-b { stroke: rgba(160, 190, 215, .1); animation: drift 200s linear infinite reverse; scale: 1.08; }
.contours-trace { stroke: var(--gold-soft); stroke-width: 1.4; stroke-dasharray: 90 1600; stroke-linecap: round; animation: drift 140s linear infinite, trace 16s linear infinite; opacity: .75; }
.hero-inner { width: 100%; max-width: 1640px; margin: auto; padding: 180px var(--gutter) clamp(56px, 8vw, 110px); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); animation: rise 1.2s var(--ease) .1s both; }
.eyebrow-sep { width: 40px; height: 1px; background: currentColor; }
.hero h1 { max-width: 1080px; margin: 34px 0 34px; font-size: clamp(2.7rem, 6.4vw, 6.6rem); line-height: 1.02; letter-spacing: -.02em; }
.h1-a, .h1-b { display: block; animation: rise 1.4s var(--ease) both; }
.h1-a { animation-delay: .2s; }
.h1-b { color: var(--gold-soft); animation-delay: .45s; }
.hero-lede { max-width: 620px; color: var(--soft); font-size: clamp(1.05rem, 1.35vw, 1.2rem); animation: rise 1.4s var(--ease) .7s both; }
.scroll-cue { display: inline-flex; align-items: center; gap: 18px; margin-top: 48px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); animation: rise 1.4s var(--ease) .9s both; }
.scroll-cue:hover { color: var(--gold); }
.scroll-line { position: relative; overflow: hidden; width: 72px; height: 1px; background: var(--hair); }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: sweep 2.8s var(--ease) infinite; }

/* Record */
.record { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); background: var(--bg-2); }
.record div { padding: clamp(32px, 4vw, 56px) var(--gutter); }
.record div + div { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); }
.record strong { display: block; margin-bottom: 12px; font: 400 clamp(2rem, 3.4vw, 3.1rem)/1 var(--serif); color: var(--gold-soft); letter-spacing: -.01em; }
.record p { max-width: 320px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }

/* Sections */
.section { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1640px; margin: auto; }
.label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.section-head { display: grid; grid-template-columns: minmax(160px, .32fr) 1fr; gap: 32px; align-items: baseline; }
.section h2, .closing h2 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); line-height: 1.08; letter-spacing: -.015em; max-width: 1000px; }
.section h2 em, .closing h2 em { color: var(--gold-soft); }

.observations { margin-top: clamp(56px, 7vw, 100px); padding: 0; list-style: none; }
.observations li { display: grid; grid-template-columns: minmax(160px, .32fr) 1fr; gap: 32px; padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--hair); }
.observations li:last-child { border-bottom: 1px solid var(--hair); }
.obs-no { font: italic 400 1.6rem/1 var(--serif); color: var(--gold); }
.observations h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1.15; max-width: 900px; }
.observations h3 em { color: var(--gold-soft); }
.observations p { margin-top: 16px; max-width: 560px; color: var(--muted); }

.practice { max-width: none; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); padding-inline: max(var(--gutter), calc((100% - 1464px) / 2)); }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(56px, 7vw, 100px); background: var(--line); border: 1px solid var(--line); }
.card { position: relative; padding: clamp(32px, 4vw, 56px); background: var(--bg-2); overflow: hidden; transition: background .6s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 0%, rgba(201, 169, 110, .14), transparent 70%); opacity: 0; transition: opacity .6s var(--ease); }
.card:hover { background: var(--bg-3); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-no { display: block; margin-bottom: 40px; font-size: .75rem; letter-spacing: .2em; color: var(--gold); }
.card h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.15; }
.card-sub { margin: 8px 0 18px; font: italic 400 1.05rem/1.4 var(--serif); color: var(--gold-soft); }
.card p:last-child { color: var(--muted); max-width: 520px; }

/* People */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 100px); }
.profile { display: grid; grid-template-rows: auto 1fr; background: var(--bg-2); border: 1px solid var(--hair); }
.profile figure { position: relative; overflow: hidden; aspect-ratio: 4 / 3.6; background: var(--bg-3); }
.profile figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 29, 0) 70%, rgba(14, 26, 37, .7) 100%); }
.profile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.8s var(--ease); }
.profile:hover img { transform: scale(1.04); }
.profile-copy { padding: clamp(28px, 3.4vw, 48px); }
.profile h3 { margin: 12px 0 18px; font-size: clamp(2rem, 3vw, 2.7rem); }
.profile p { color: var(--muted); }
.profile .profile-lead { margin-bottom: 14px; font: italic 400 1.25rem/1.5 var(--serif); color: var(--text); }
.profile-facts { margin-top: 26px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.profile-facts li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--hair); font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.profile-facts li::before { content: ""; position: absolute; left: 2px; top: calc(12px + .6em); width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); }
.profile-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px; border: 1px solid var(--line); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.profile-link svg { width: 14px; height: 14px; fill: currentColor; }
.profile-link-arrow { transition: transform .4s var(--ease); }
.profile-link:hover { background: rgba(201, 169, 110, .1); border-color: var(--gold); color: var(--gold-soft); }
.profile-link:hover .profile-link-arrow { transform: translate(2px, -2px); }

/* Closing */
.closing { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 200px) var(--gutter); text-align: center; border-top: 1px solid var(--line); isolation: isolate; }
.closing-glow { position: absolute; left: 50%; top: 55%; z-index: -1; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201, 169, 110, .16) 0%, rgba(201, 169, 110, 0) 62%); animation: breathe 9s ease-in-out infinite; }
.closing h2 { max-width: 980px; margin: 28px auto 0; }
.closing-note { max-width: 520px; margin: 30px auto 0; color: var(--muted); }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px var(--gutter); border-top: 1px solid var(--hair); }
.footer .brand img { width: 220px; }
.footer p, .footer small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { to { rotate: 360deg; } }
@keyframes trace { to { stroke-dashoffset: -1690; } }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes breathe { 0%, 100% { opacity: .7; scale: .92; } 50% { opacity: 1; scale: 1.05; } }
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}

/* Responsive */
@media (max-width: 1000px) {
  .section-head, .observations li { grid-template-columns: 1fr; gap: 18px; }
  .record { grid-template-columns: 1fr; }
  .record div, .record div + div { display: grid; grid-template-columns: minmax(0, .9fr) 1fr; gap: 24px; align-items: baseline; padding: 26px var(--gutter); border-left: 0; }
  .record div + div { border-top: 1px solid var(--line); }
  .record strong { margin: 0; }
  .profiles { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 700px) {
  p { font-size: 1rem; }
  .site-header { padding: 20px var(--gutter); }
  .site-header nav { gap: 18px; font-size: .6875rem; letter-spacing: .14em; }
  .site-header nav a:first-child { display: none; }
  .brand img { width: 196px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 140px; }
  .terrain svg { left: 70%; top: 34%; width: 1100px; }
  .terrain::after { background: linear-gradient(0deg, var(--bg) 22%, rgba(10, 20, 29, .55) 60%, rgba(10, 20, 29, .2) 100%); }
  .eyebrow { gap: 8px 14px; font-size: .6875rem; letter-spacing: .18em; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .record div, .record div + div { grid-template-columns: 1fr; gap: 6px; }
  .practice-grid { grid-template-columns: 1fr; }
  .card-no { margin-bottom: 24px; }
  .profile .profile-lead { font-size: 1.125rem; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .contours-trace { display: none; }
}
