/* FKA editorial layer. Load AFTER the base stylesheet.
   Direction: "Annual report / broadsheet profile". Obsidian, antique gold, warm ivory.
   Serif: Cormorant Garamond. Sans: Inter (owner-provisioned, OFL). System fallbacks preserve layout if fonts are blocked.
   Fonts are self-hosted from assets/fonts (no third-party requests). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0b0a09;
  --obsidian: #0b0a09;
  --obsidian-2: #121110;
  --obsidian-3: #1a1816;
  --paper: #f3efe6;
  --ivory: #f3efe6;
  --ivory-2: #ebe5d8;
  --ivory-3: #e1d9c8;
  --gold: #c9a35a;
  --gold-soft: #dcc08a;
  --darkgold: #7a5a1e;
  --ink: #1a1814;
  --ink-2: #4a453c;
  --muted: #b4ada1;
  --line-dark: rgba(201, 163, 90, 0.22);
  --line-light: rgba(122, 90, 30, 0.28);
  --serif:
    "Cormorant Garamond", "Cormorant", "Baskerville", "Iowan Old Style",
    "Times New Roman", serif;
  --sans:
    "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 64ch;
  --pad: clamp(72px, 10vw, 136px);
}

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--obsidian);
}
::selection {
  background: var(--gold);
  color: var(--obsidian);
}
h1,
h2,
h3,
blockquote,
.thesis {
  font-family: var(--serif);
  font-weight: 400;
  font-feature-settings: "liga", "dlig", "onum";
}
h1 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
h2 {
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h3 {
  letter-spacing: -0.005em;
  line-height: 1.18;
}
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.light h2 em {
  color: var(--darkgold);
}
p {
  max-width: var(--measure);
}
.light {
  background: var(--ivory);
  color: var(--ink);
}
.light p {
  color: var(--ink-2);
}
.dark p {
  color: var(--muted);
}
section {
  padding: var(--pad) 0;
  position: relative;
}
.wrap {
  width: min(1200px, calc(100% - 2 * clamp(22px, 5vw, 64px)));
}

/* Kicker / numerals: small caps rule-led labels */
.kicker,
.num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
section > .wrap > h2:first-child,
section > .wrap > div > h2:first-child {
  position: relative;
  padding-top: 30px;
}
section > .wrap > h2:first-child::before,
section > .wrap > div > h2:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.dark section > .wrap > h2:first-child::before,
.dark > .wrap > h2:first-child::before,
.dark > .wrap > div > h2:first-child::before {
  background: var(--gold);
  opacity: 0.8;
}
.light > .wrap > h2:first-child::before,
.light > .wrap > div > h2:first-child::before {
  background: var(--darkgold);
  opacity: 0.8;
}

/* Header */
header {
  background: var(--obsidian);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: none;
}
.brand b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.28em;
}
.brand span {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: #d9d2c3;
  border-left-color: rgba(201, 163, 90, 0.35);
}
nav a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
nav a:not(.navcta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
nav a:not(.navcta):hover::after,
nav a[aria-current]::after {
  transform: scaleX(1);
}
.navcta {
  border-color: rgba(201, 163, 90, 0.55);
  padding: 10px 16px;
  transition:
    background 0.2s,
    color 0.2s;
}
.navcta:hover {
  background: var(--gold);
  color: var(--obsidian) !important;
}

/* Buttons */
.button {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 15px 26px;
  min-height: 50px;
  border-radius: 0;
}
.gold {
  background: var(--gold);
  color: #14110c;
}
.gold:hover {
  background: var(--gold-soft);
}
.outline {
  border-color: currentColor;
  opacity: 0.92;
}
.dark .outline {
  border-color: rgba(201, 163, 90, 0.6);
  color: var(--gold);
}
.dark .outline:hover {
  background: rgba(201, 163, 90, 0.1);
}
.light .outline {
  border-color: var(--ink);
  color: var(--ink);
}
.light .outline:hover {
  background: var(--ink);
  color: var(--ivory);
}
.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* HERO: magazine cover. Thin hairline grid, portrait in a gold-keyed frame. */
.hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 120px);
  background:
    linear-gradient(90deg, rgba(201, 163, 90, 0.06) 1px, transparent 1px) 0 0 /
      calc(100% / 12) 100%,
    radial-gradient(ellipse 60% 70% at 78% 35%, #1d1915 0, transparent 70%),
    var(--obsidian);
}
.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 7vw, 96px);
}
.hero .kicker {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 34px;
}
.hero .kicker::before {
  content: "";
  flex: 0 0 36px;
  height: 1px;
  background: var(--gold);
  margin-top: 0.85em;
}
.hero h1 {
  font-size: clamp(54px, 7.4vw, 112px);
  color: var(--ivory);
  margin-bottom: 0;
}
.hero .rule {
  width: 88px;
  margin: 34px 0 34px;
}
.hero h2 {
  text-wrap: balance;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.22;
  color: #e8e1d2;
  font-style: italic;
  font-weight: 400;
  max-width: 20ch;
  padding-top: 0;
}
.hero h2::before {
  display: none;
}
.hero .thesis {
  font-size: clamp(24px, 2.4vw, 34px);
}
.hero .intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
}
.hero-copy .button {
  margin-top: 18px;
}
.hero-photo {
  border: 0;
  padding: 0;
  position: relative;
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(201, 163, 90, 0.45);
  z-index: -1;
}
.hero-photo img {
  aspect-ratio: 0.78;
  filter: saturate(0.92) contrast(1.03);
}
.hero-photo figcaption {
  text-align: left;
  padding: 16px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold-soft);
}

/* Career strip: ledger line */
.career {
  background: var(--obsidian-2);
  border-color: var(--line-dark);
  padding: 30px 0;
}
.career .kicker {
  color: #a39b8c;
  flex-basis: 180px;
}
.companies {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  color: #e6dfd0;
  justify-content: flex-start;
  gap: 12px clamp(24px, 4vw, 56px);
}
.companies span {
  position: relative;
}
.companies span + span::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(12px, 2vw, 28px));
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Numbered columns: editorial, not cards */
.three {
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-light);
}
.dark .three {
  border-top-color: var(--line-dark);
}
.three article {
  border-top: 0;
  padding: 30px clamp(18px, 2.6vw, 36px) 8px;
}
.three article:first-child {
  padding-left: 0;
}
.three article + article {
  border-left: 1px solid var(--line-light);
}
.dark .three article + article {
  border-left-color: var(--line-dark);
}
.three .num {
  display: block;
  font-size: 11px;
}
#impact .three .num {
  font-family: var(--serif);
  font-size: 44px;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1;
  font-style: italic;
}
.three h3 {
  font-size: clamp(24px, 2.2vw, 31px);
  margin: 16px 0 14px;
}
.three p {
  font-size: 15.5px;
  line-height: 1.7;
}

/* Split layouts and figures */
.split {
  gap: clamp(40px, 7vw, 96px);
}
.split figure img {
  aspect-ratio: 1.32;
  filter: saturate(0.9);
}
.split figcaption,
figure figcaption {
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-dark);
}
.light figcaption {
  border-top-color: var(--line-light);
  color: var(--ink-2);
}
#authority .split {
  align-items: center;
}
#authority figure {
  position: relative;
}
#authority figure::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: 30px;
  width: 40%;
  height: 62%;
  border: 1px solid rgba(201, 163, 90, 0.35);
  z-index: -1;
}
#authority .wrap {
  position: relative;
  z-index: 0;
}

/* Insights: perspectives as broadsheet columns */
#insights {
  background: var(--ivory-2);
}
details {
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
  margin-top: 6px;
}
summary {
  list-style: none;
  color: var(--darkgold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  font-size: 15.5px;
}

/* Long-form prose sections */
.narrow {
  max-width: 820px;
}
.bordered {
  border-top: 1px solid var(--line-dark);
}
.prose p {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.85;
  color: #c4bdb0;
}
.prose p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.6em;
  line-height: 0.82;
  padding: 0.06em 0.1em 0 0;
  color: var(--gold);
}
.reference {
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
  font-size: 12.5px;
  color: #a39b8c;
}
.reference:hover {
  color: var(--gold);
}
#emerging {
  background: var(--obsidian-2);
}

/* Advisory lines: ledger rows */
.lines p {
  border-bottom: 1px solid var(--line-light);
  padding: 18px 0 18px 28px;
  position: relative;
  max-width: none;
}
.dark .lines p {
  border-bottom-color: var(--line-dark);
}
.lines p::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.65em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.light .lines p::before {
  border-color: var(--darkgold);
}
.lines p:first-child {
  border-top: 1px solid var(--line-light);
}
.dark .lines p:first-child {
  border-top-color: var(--line-dark);
}

/* Speaking */
#speaking > .wrap > .split {
  margin-top: clamp(32px, 5vw, 56px);
  align-items: center;
}
#speaking h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--ivory);
}

/* Podcast */
#podcast {
  background: var(--ivory-3);
}
.platforms {
  gap: 0;
  margin: 28px 0 30px;
  border-top: 1px solid var(--ink);
}
.platforms a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--ink);
  transition:
    color 0.2s,
    padding 0.2s;
}
.platforms a:hover {
  color: var(--darkgold);
  padding-left: 10px;
}

/* Books */
#books h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--ivory);
  font-style: italic;
}
hr {
  border-top-color: var(--line-dark);
  margin: 40px 0;
}

/* Bio selector */
#bio {
  background: var(--ivory);
}
.tabs {
  gap: 0;
  border-bottom: 1px solid var(--ink);
  margin: 44px 0 0;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 16px 22px 14px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs button[aria-selected="true"] {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--darkgold);
}
#bio-panel {
  border: 0;
  border-left: 2px solid var(--darkgold);
  background: #f8f5ee;
  padding: clamp(22px, 4vw, 44px);
  margin: 0 0 32px;
  box-shadow: 0 1px 0 var(--line-light);
}
#bio-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--ink);
}
#copy-status,
#form-status {
  display: block;
  color: var(--darkgold);
  font-weight: 600;
  min-height: 1.4em;
}

/* Credentials */
.certs {
  gap: 0;
}
.certs span {
  border: 1px solid rgba(201, 163, 90, 0.45);
  margin: 0 -1px -1px 0;
  padding: 12px 20px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.degrees article {
  border-bottom-color: var(--line-dark);
  padding-bottom: 24px;
}
.degrees article:first-child {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}
.degrees h3 {
  font-size: clamp(22px, 2vw, 27px);
  color: var(--ivory);
}
.degrees span {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: italic;
  color: var(--gold-soft);
}

/* Contact */
#contact {
  background: var(--ivory);
}
#contact .textlink {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  text-underline-offset: 8px;
  word-break: break-word;
}
form {
  gap: 4px;
  background: #f8f5ee;
  padding: clamp(24px, 4vw, 44px);
  border-top: 2px solid var(--darkgold);
}
form label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}
input,
select,
textarea {
  border: 0;
  border-bottom: 1px solid #a99e88;
  padding: 10px 0 12px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 22px;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--darkgold);
}
select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--darkgold) 50%),
    linear-gradient(135deg, var(--darkgold) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 55%,
    calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.light a:focus-visible,
.light button:focus-visible,
.light summary:focus-visible,
.light input:focus-visible,
.light select:focus-visible,
.light textarea:focus-visible {
  outline-color: var(--darkgold);
}

/* Footer */
footer {
  background: var(--obsidian);
  border-top: 1px solid var(--line-dark);
  padding: clamp(64px, 8vw, 96px) 0 36px;
}
footer .footgrid {
  gap: clamp(24px, 4vw, 48px);
}
footer a:not(.brand) {
  font-size: 13.5px;
  color: #b4ada1;
}
footer blockquote {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  color: #d9ccb0;
  max-width: 30ch;
  margin: clamp(48px, 6vw, 72px) auto;
  border-color: var(--line-dark);
  padding: 40px 0;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px !important;
  letter-spacing: 0.04em !important;
}

/* Tablet */
@media (max-width: 1050px) {
  nav {
    gap: 16px;
  }
  .three article {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Mobile */
@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  section {
    padding: clamp(64px, 14vw, 84px) 0;
  }
  nav {
    background: var(--obsidian-2);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 6% 22px;
  }
  nav a {
    font-size: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(201, 163, 90, 0.12);
  }
  nav a::after {
    display: none;
  }
  .navcta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 163, 90, 0.55) !important;
  }
  .hero {
    background:
      radial-gradient(ellipse 90% 50% at 50% 70%, #1d1915 0, transparent 70%),
      var(--obsidian);
  }
  .hero-copy {
    text-align: left;
  }
  .hero .rule {
    margin-left: 0;
  }
  .hero h2,
  .hero .intro {
    margin-left: 0;
  }
  .hero h2 {
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(48px, 13vw, 72px);
  }
  .hero-photo {
    max-width: 420px;
    margin: 12px 0 0 14px;
  }
  .hero-copy .button {
    width: 100%;
  }
  .career .kicker {
    display: block;
    margin-bottom: 6px;
  }
  .companies {
    gap: 8px 32px;
  }
  .three {
    border-top: 0;
  }
  .three article,
  .three article:first-child {
    padding: 24px 0 4px;
    border-left: 0 !important;
    border-top: 1px solid var(--line-light);
  }
  .dark .three article {
    border-top-color: var(--line-dark);
  }
  #authority figure::after {
    display: none;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs button {
    white-space: nowrap;
    padding: 14px 16px 12px;
  }
  .degrees article {
    flex-direction: column;
  }
  .degrees span {
    text-align: left;
  }
  .button {
    white-space: normal;
    text-align: center;
  }
  form .button {
    justify-self: stretch;
  }
  footer blockquote {
    text-align: left;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 46px;
  }
  h2 {
    font-size: clamp(34px, 10vw, 40px);
  }
  .certs span {
    font-size: 19px;
    padding: 10px 14px;
  }
  .prose p:first-child::first-letter {
    font-size: 3.6em;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  header,
  nav,
  #menu,
  form,
  .tabs {
    display: none !important;
  }
  body,
  .dark,
  .light {
    background: #fff;
    color: #111;
  }
  .dark p,
  .light p {
    color: #222;
  }
}
