:root {
  --bg: #0b0b0d;
  --bg-deep: #09090b;
  --ink: #f5f2ec;
  --ink-soft: #cfccc4;
  --ink-mute: #a3a19a;
  --line: #232326;
  --orange: #e57200;
  --orange-bright: #ff8c1a;
  --serif: 'Prata', 'Georgia', serif;
  --sans: 'Montserrat', 'Segoe UI', sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */

.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.8rem) var(--pad-x);
}

.brand img {
  width: clamp(150px, 18vw, 210px);
  height: auto;
  display: block;
}

.site-head nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.site-head nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-head nav a:hover,
.site-head nav a:focus-visible {
  color: var(--orange-bright);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(11,11,13,0.62) 0%, rgba(11,11,13,0.18) 38%, rgba(11,11,13,0) 60%, rgba(11,11,13,0.45) 100%),
    url('assets/hero.jpg');
  background-size: cover;
  background-position: center 70%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(7rem, 16vh, 10rem) var(--pad-x) 4rem;
  max-width: 60rem;
}

.kicker {
  color: var(--orange-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(9, 9, 11, 0.55);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--ink-soft);
  text-shadow: 0 1px 18px rgba(9, 9, 11, 0.65);
}

.horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 3;
  background: var(--orange);
  box-shadow: 0 0 18px 1px rgba(229, 114, 0, 0.55);
}

/* ---------- shared section chrome ---------- */

main > section:not(.hero) {
  padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad-x);
  max-width: 74rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2.4rem;
}

/* ---------- intro ---------- */

.intro {
  padding-bottom: 0 !important;
}

.intro p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.55;
  max-width: 44ch;
  color: var(--ink);
  text-wrap: pretty;
}

.intro-support {
  margin-top: 1.8rem;
  max-width: 58ch;
  color: var(--ink-mute);
  text-wrap: pretty;
}

/* ---------- focus ---------- */

.focus-list {
  list-style: none;
}

.focus-list li {
  display: grid;
  grid-template-columns: 4rem 15rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.focus-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.focus-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--orange);
}

.focus-list h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.focus-list p {
  color: var(--ink-mute);
  max-width: var(--measure);
}

/* ---------- how we work ---------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.6rem clamp(2rem, 5vw, 4.5rem);
  max-width: 56rem;
}

@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
}

.how-item {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.how-item h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.how-item p {
  color: var(--ink-mute);
  max-width: 44ch;
}

/* ---------- interlude ---------- */

.interlude {
  height: 46vh;
  min-height: 320px;
  background-image:
    linear-gradient(to bottom, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.15) 45%, rgba(11,11,13,0.6) 100%),
    url('assets/dawn/f_048.webp');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interlude-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(9, 9, 11, 0.6);
}

/* ---------- leadership ---------- */

.lead-row {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: center;
}

.lead-photo {
  flex: none;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1px solid #33332f;
  object-fit: cover;
}

.lead-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lead-role {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin: 0.35rem 0 0.9rem;
}

.lead-bio {
  color: var(--ink-mute);
  max-width: 46ch;
}

/* ---------- contact ---------- */

.contact-invite {
  color: var(--ink-mute);
  margin-bottom: 1.6rem;
  max-width: 50ch;
}

.contact-line {
  overflow-wrap: anywhere;
}

.contact-line a {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 4.5vw, 1.9rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 0.2rem;
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--orange-bright);
  border-color: var(--orange-bright);
}

.contact-addr {
  margin-top: 1.3rem;
  color: var(--ink-mute);
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 2.4rem var(--pad-x);
  font-size: 0.8rem;
  color: var(--ink-mute);
  display: grid;
  gap: 0.5rem;
}

.disclaimer {
  max-width: 70ch;
}

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* cascade within grouped lists */
.js .focus-list li:nth-child(2), .js .how-item:nth-child(2) { transition-delay: 0.12s; }
.js .focus-list li:nth-child(3), .js .how-item:nth-child(3) { transition-delay: 0.24s; }
.js .how-item:nth-child(4) { transition-delay: 0.36s; }

/* hero load choreography */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-settle {
  from { transform: scale(1.05); }
  to { transform: none; }
}

@keyframes horizon-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.js .hero { overflow: hidden; }

.js .hero-media {
  animation: hero-settle 7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .kicker,
.js .hero h1,
.js .hero-sub {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .kicker { animation-delay: 0.15s; }
.js .hero h1 { animation-delay: 0.3s; }
.js .hero-sub { animation-delay: 0.5s; }

.js .horizon {
  transform-origin: left;
  animation: horizon-draw 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

/* micro-interactions */
.focus-list li,
.how-item {
  transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.focus-list .focus-num,
.focus-list h3 {
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.focus-list li:hover {
  border-color: #3d3d33;
}

.focus-list li:hover .focus-num {
  color: var(--orange-bright);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .hero-media,
  .js .kicker,
  .js .hero h1,
  .js .hero-sub,
  .js .horizon {
    animation: none;
  }
}

/* screenshot harness: ?static caps viewport-relative sections so full-page captures fit */
.static .hero { min-height: 640px; }
.static .interlude { height: 380px; }

/* ---------- scroll-scrubbed dawn (desktop, full motion only) ---------- */

.dawn-canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.scrub .hero-track { height: 260vh; }

.scrub .hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
}

@keyframes canvas-fade { from { opacity: 0; } to { opacity: 1; } }

.scrub .dawn-canvas.ready {
  display: block;
  animation: canvas-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scrub .hero-inner,
.scrub .horizon { z-index: 2; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .site-head nav a { font-size: 0.66rem; letter-spacing: 0.16em; }

  .focus-list li {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.4rem;
  }

  .focus-list li p {
    grid-column: 2;
  }

  .lead-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-head { flex-direction: column; gap: 0.9rem; align-items: flex-start; }
  .hero-inner { padding-top: 9.5rem; }
}
