:root {
  --ink: #0a1a26;
  --ink-2: #12293a;
  --paper: #f5f2ea;
  --paper-deep: #ebe6da;
  --text: #17242e;
  --muted: #4c5a63;
  --foam: #eef1ec;
  --foam-muted: #a9bac1;
  --lamp: #f2b441;
  --sea: #1d6f78;
  --rule: rgba(23, 36, 46, .16);
  --rule-night: rgba(238, 241, 236, .18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.defs { position: absolute; }

:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 20;
  background: var(--lamp); color: var(--ink); padding: 8px 14px;
}
.skip:focus { left: 16px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  color: var(--foam);
  background: rgba(10, 26, 38, .95);
  backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: .14em; font-size: .95rem; text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.site-header nav a { text-decoration: none; color: var(--foam-muted); }
.site-header nav a:hover { color: var(--foam); }
.site-header nav .nav-cta { color: var(--lamp); font-weight: 600; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--foam);
  min-height: 100svh;
  padding: 148px var(--gutter) max(38svh, 340px);
  background: linear-gradient(180deg, #081521 0%, #0d2433 58%, #143547 100%);
}
.sea { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; max-width: 660px; }
.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 16px;
}
.hero .eyebrow, .night .eyebrow { color: var(--lamp); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; color: #cfdbdf; margin-top: 24px; max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 3px;
  font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn-lamp { background: var(--lamp); color: var(--ink); }
.btn-lamp:hover { background: #f7c766; }
.btn-ghost { border: 1px solid var(--rule-night); color: var(--foam); }
.btn-ghost:hover { border-color: var(--foam); }

/* Bands */
.band { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.paper { background: var(--paper); }
.paper-deep { background: var(--paper-deep); }
.wrap { max-width: 1120px; margin: 0 auto; }
.intro { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 72px; align-items: end; }

.currents {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule);
}
.currents h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 10px; }
.currents p { color: var(--muted); }

.services { margin-top: 44px; counter-reset: s; }
.services li {
  counter-increment: s;
  display: grid; grid-template-columns: 64px 1fr 1.5fr; gap: 12px 24px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--rule);
}
.services li::before { content: "0" counter(s); font-family: var(--serif); color: var(--sea); font-size: 1.25rem; }
.services h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.services p { color: var(--muted); }

/* Impact */
.tide { background: #123f47; color: var(--foam); }
.tide .eyebrow { color: var(--lamp); }
.tide h2 { margin-bottom: 18px; }
.tide .intro { color: #c9dadb; max-width: 68ch; }
.impact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--rule-night);
}
.impact-grid .kind { color: var(--lamp); font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.impact-grid h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 10px; }
.impact-grid p:not(.kind) { color: #c9dadb; }
.impact-grid a { text-underline-offset: 4px; }

/* Team */
#team > .wrap:first-child { margin-bottom: 52px; }
.founder + .founder { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--rule); }
.person-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.18; margin-bottom: 20px; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.founder p + p { margin-top: 16px; }
.founder > div > p:not(.eyebrow) { max-width: 66ch; }
.portrait {
  position: sticky; top: 96px;
  background: var(--ink); color: var(--foam); padding: 32px 28px; border-radius: 3px;
}
.portrait svg { width: 120px; height: 120px; display: block; margin-bottom: 44px; }
.portrait-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.portrait-role { color: var(--foam-muted); font-size: .95rem; margin-top: 4px !important; }
.links { display: flex; gap: 18px; margin-top: 20px; }
.links a { color: var(--lamp); font-weight: 600; font-size: .95rem; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
}
.facts dt { font-family: var(--serif); font-size: 1.5rem; color: var(--sea); }
.facts dd { font-size: .925rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* Speaking */
.night { background: var(--ink); color: var(--foam); }
.night h2 { margin-bottom: 18px; }
.night .intro { color: var(--foam-muted); }
.talks { margin-top: 48px; }
.talks li {
  display: grid; grid-template-columns: 120px 1fr; gap: 6px 24px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--rule-night);
}
.talks time { color: var(--lamp); font-size: .95rem; font-weight: 500; }
.talks h3 { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; }
.talks h3 a { text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .15s; }
.talks h3 a:hover { text-decoration-color: var(--lamp); }
.talks p { color: var(--foam-muted); font-size: .975rem; margin-top: 2px; }
.topics { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule-night); }
.topics h3 { color: var(--lamp); font-size: .8125rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.topics ul { display: flex; flex-wrap: wrap; gap: 10px; }
.topics li { border: 1px solid var(--rule-night); padding: 6px 13px; border-radius: 3px; font-size: .95rem; }

/* Contact */
.contact { background: var(--lamp); color: var(--ink); }
.contact .intro { color: #33291a; margin: 14px 0 28px; }
.contact .btn-lamp { background: var(--ink); color: var(--foam); }
.contact .btn-lamp:hover { background: var(--ink-2); }
.contact .actions { margin-top: 0; }
.btn-line { border: 1px solid rgba(10, 26, 38, .55); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

.site-footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 26px var(--gutter); color: var(--foam-muted); font-size: .9rem;
}

/* 404 */
.lost { min-height: 100svh; display: grid; place-content: start center; padding: 22vh var(--gutter); color: var(--foam); }
.lost h1 { margin-bottom: 16px; }
.lost a { color: var(--lamp); }

@media (max-width: 1000px) {
  .hero-copy { max-width: 540px; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder + .founder { margin-top: 56px; padding-top: 56px; }
  .portrait { position: static; }
  .portrait svg { width: 72px; height: 72px; margin-bottom: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 116px; padding-bottom: 320px; }
  .split, .currents, .impact-grid { grid-template-columns: 1fr; }
  .currents, .impact-grid { gap: 28px; margin-top: 44px; }
  .services li { grid-template-columns: 44px 1fr; }
  .services p { grid-column: 2; }
  .talks li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
