/* Self-hosted variable fonts */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Road2Billionaire
   Photography carries the page; type stays quiet and structural.
   Display: Archivo (variable width + weight), set tight and in caps
   Text:    Newsreader, for the transcripts
   Ground:  near-black navy from the R2B lockup, gold used sparingly
   ============================================================ */

:root {
  --ink: #0a1622;
  --ink-2: #0f1e2e;
  --ink-3: #16283a;

  --gold: #c89a66;
  --gold-soft: #e2c39a;
  --gold-ink: #8f6229;

  --paper: #ffffff;
  --paper-2: #f4f2ef;

  --on-dark: #ece7e0;
  --on-dark-dim: #93a3b4;
  --on-paper: #131c26;
  --on-paper-dim: #5d6976;
  --rule-dark: rgba(236, 231, 224, 0.14);
  --rule-light: #e2ded8;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --measure: 38rem;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Shared type roles ------------------------------------------------ */

.hero__name,
.cover__name,
.card__name,
.next__name,
.notfound__title {
  font-family: var(--display);
  font-weight: 520;
  font-stretch: 118%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

.hero__meta,
.cover__meta,
.card__number,
.archive__count,
.hero__cta,
.next__label,
.card__role,
.masthead__nav,
.colophon__nav,
.colophon__fine,
.cover__credit {
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 100%;
}

/* Masthead --------------------------------------------------------- */

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--gutter);
}

.masthead__logo { line-height: 0; }
.masthead__logo img { width: auto; height: clamp(1.9rem, 3vw, 2.4rem); }

.masthead__nav { display: flex; gap: 1.5rem; font-size: 0.875rem; letter-spacing: 0.02em; }

.masthead__nav a {
  color: var(--on-dark);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 160ms ease, color 160ms ease;
}

.masthead__nav a:hover { opacity: 1; color: var(--gold-soft); }

/* Hero and article cover ------------------------------------------- */

.hero,
.cover {
  position: relative;
  min-height: min(94vh, 58rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-2);
}

.hero__img,
.cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero__scrim,
.cover__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(10, 22, 34, 0.92) 24%, rgba(10, 22, 34, 0.55) 46%, rgba(10, 22, 34, 0.18) 66%, rgba(10, 22, 34, 0.5) 100%);
}

.hero__body,
.cover__body {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5.5rem);
  max-width: 58rem;
  text-decoration: none;
  color: inherit;
}

.hero__meta,
.cover__meta {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  color: var(--gold);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

.hero__name,
.cover__name {
  margin: 0;
  font-size: clamp(2.4rem, 8.4vw, 7rem);
  line-height: 0.92;
  color: var(--paper);
  text-wrap: balance;
}

.cover__legal {
  margin: 1rem 0 0;
  font-style: italic;
  color: var(--on-dark-dim);
  font-size: 1.0625rem;
}

.hero__role,
.cover__role {
  margin: 1.1rem 0 0;
  color: var(--on-dark-dim);
  font-size: 1.0625rem;
  max-width: 30rem;
}

.hero__pull {
  margin: 1.75rem 0 0;
  max-width: 28rem;
  font-style: italic;
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  line-height: 1.45;
  color: var(--gold-soft);
}

.hero__cta {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  color: var(--paper);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  transition: color 160ms ease;
}

.hero__body:hover .hero__cta { color: var(--gold-soft); }

.cover__credit {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(236, 231, 224, 0.45);
}

.hero--noimage,
.cover--noimage { min-height: min(70vh, 40rem); background: var(--ink-2); }

/* Archive grid ----------------------------------------------------- */

.archive {
  max-width: 104rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(4rem, 9vw, 7rem);
}

.archive__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.archive__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: var(--on-dark);
}
.archive__count { margin: 0; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--on-dark-dim); }

.archive__empty { color: var(--on-dark-dim); }
.archive__empty code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--ink-3);
  padding: 0.15em 0.4em;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
}

.card__link { display: block; text-decoration: none; color: inherit; }

.card__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}

.card__img,
.card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  transition: filter 400ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card__placeholder { display: block; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }

.card__link:hover .card__img { filter: none; transform: scale(1.03); }

.card__frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent);
  pointer-events: none;
}

.card__number {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  left: 0.9rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.card__name {
  display: block;
  margin-top: 1.05rem;
  font-weight: 560;
  font-stretch: 106%;
  letter-spacing: 0.012em;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--paper);
  transition: color 180ms ease;
}

.card__link:hover .card__name { color: var(--gold-soft); }

.card__role {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--on-dark-dim);
  font-weight: 400;
}

/* Reading ---------------------------------------------------------- */

.read {
  background: var(--paper);
  color: var(--on-paper);
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  font-size: 1.1875rem;
  line-height: 1.72;
}

.read > * { max-width: var(--measure); margin-inline: auto; }

.standfirst { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.standfirst p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: #1f2a36;
}

.standfirst p:last-child { margin-bottom: 0; }

.exchange { margin-bottom: clamp(2.5rem, 5.5vw, 3.75rem); }

.exchange__q {
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 1.15rem;
  padding-top: 1.4rem;
}

.exchange__q::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--gold);
}

.exchange__a p { margin: 0 0 1.2rem; color: #2b3542; }
.exchange__a p:last-child { margin-bottom: 0; }
.exchange__a a { color: var(--gold-ink); }

@media (min-width: 72rem) {
  .exchange__q { padding-top: 0; }
  .exchange__q::before { top: 0.62em; left: -3.75rem; }
}

/* Closing quote ---------------------------------------------------- */

.closer {
  background: var(--ink);
  padding: clamp(4rem, 10vw, 7.5rem) var(--gutter);
}

.closer__quote {
  max-width: 46rem;
  margin: 0;
  font-family: var(--display);
  font-weight: 520;
  font-stretch: 112%;
  font-size: clamp(1.6rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}

.closer__cite {
  display: block;
  margin: 1.75rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  color: var(--gold);
}

@media (min-width: 46rem) {
  .closer__quote,
  .closer__cite { margin-left: max(0px, calc(50vw - var(--measure) / 2 - var(--gutter))); }
}

/* Next interview --------------------------------------------------- */

.next { border-top: 1px solid var(--rule-dark); }

.next__link {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 4vw, 3rem) var(--gutter);
  text-decoration: none;
  color: inherit;
}

.next__frame {
  flex: 0 0 auto;
  width: clamp(5rem, 9vw, 7.5rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}

.next__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.92);
  transition: filter 400ms ease;
}

.next__link:hover .next__frame img { filter: none; }

.next__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.next__name {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--paper);
  transition: color 180ms ease;
}

.next__link:hover .next__name { color: var(--gold-soft); }

.next__role {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--on-dark-dim);
}

/* 404 -------------------------------------------------------------- */

.notfound { padding: clamp(9rem, 22vw, 14rem) var(--gutter) clamp(5rem, 10vw, 8rem); }

.notfound__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  color: var(--paper);
  max-width: 20ch;
}

.notfound__body { color: var(--on-dark-dim); margin: 0 0 2rem; max-width: 32rem; }

.notfound__cta {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
}

/* Colophon --------------------------------------------------------- */

.colophon { border-top: 1px solid var(--rule-dark); }

.colophon__inner { padding: clamp(3rem, 7vw, 5rem) var(--gutter); }

.colophon__logo { height: 1.9rem; width: auto; opacity: 0.85; }

.colophon__line {
  margin: 1.5rem 0 0;
  max-width: 24rem;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--gold-soft);
}

.colophon__nav { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: 0.8125rem; letter-spacing: 0.05em; }

.colophon__nav a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 154, 102, 0.4);
  padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}

.colophon__nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }

.colophon__fine {
  margin: 2.5rem 0 0;
  max-width: 36rem;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #63788c;
}

/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
