:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #11100f;
  --surface-2: #181512;
  --text: #f7f3ec;
  --muted: #bdb4a8;
  --line: rgba(255, 242, 217, 0.14);
  --amber: #e6a654;
  --amber-soft: #f5d6a5;
  --blue: #7cacf7;
  --green: #8edbc4;
  --red: #de8375;
  --max: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 560px at 84% 7%, rgba(200, 130, 52, 0.12), transparent 66%),
    radial-gradient(760px 520px at 4% 28%, rgba(57, 104, 151, 0.08), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.67;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.draft-ribbon {
  padding: 8px 20px;
  background: #f3bc68;
  color: #171008;
  text-align: center;
  font: 700 11px/1.3 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, .86);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.footer__inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  font-family: "Clash Display", "Geist", sans-serif;
  font-weight: 700;
  letter-spacing: .09em;
}

.brand small {
  color: var(--amber);
  font: 500 10px/1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(230, 166, 84, .56);
  border-radius: 999px;
  background: rgba(230, 166, 84, .1);
  color: #ffe5be;
  text-decoration: none;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090806;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .99) 0%, rgba(5, 5, 5, .95) 34%, rgba(5, 5, 5, .58) 60%, rgba(5, 5, 5, .12) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .66), transparent 46%),
    url("assets/roi-asic-timecapsule-s21-1200x630-v3.jpg") center right / cover no-repeat;
  opacity: .98;
}

.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: 9%;
  top: 2%;
  border: 1px solid rgba(244, 202, 137, .14);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(213, 145, 62, .08), inset 0 0 90px rgba(0, 0, 0, .28);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(110px, 13vw, 170px) 0 100px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--amber-soft);
  font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Clash Display", "Geist", sans-serif;
  line-height: 1.07;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(50px, 7.2vw, 94px);
  letter-spacing: -.05em;
}

.dek {
  max-width: 720px;
  margin: 30px 0 0;
  color: #e6ddd0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.35vw, 29px);
  line-height: 1.4;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
  color: var(--muted);
  font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace;
}

.opening-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: -58px auto 72px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.opening-stat {
  min-height: 150px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28, 23, 18, .98), rgba(12, 12, 12, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.opening-stat b {
  display: block;
  color: var(--amber-soft);
  font: 650 clamp(34px, 5vw, 56px)/1 "Clash Display", sans-serif;
  letter-spacing: -.035em;
}

.opening-stat span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.layout {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(230px, 1fr);
  gap: clamp(44px, 7vw, 92px);
  padding: 0 0 110px;
}

.article { min-width: 0; }
.article > :first-child { margin-top: 0; }

.article p,
.article li {
  color: #d9d3ca;
  font-size: 18px;
}

.article p { margin: 0 0 24px; }

.article h2 {
  margin: 76px 0 24px;
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -.035em;
}

.article h3 {
  margin: 44px 0 16px;
  font-size: 27px;
}

.article ul,
.article ol { padding-left: 25px; }
.article li { margin: 10px 0; padding-left: 5px; }

.article a {
  color: #f2c987;
  text-decoration-color: rgba(242, 201, 135, .4);
  text-underline-offset: 4px;
}

.standfirst {
  margin: 0 0 58px !important;
  padding: 27px 0 27px 27px;
  border-left: 3px solid var(--amber);
  color: #f1e7d8 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px !important;
  line-height: 1.55;
}

.pullquote {
  margin: 52px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(230, 166, 84, .38);
  border-bottom: 1px solid rgba(230, 166, 84, .38);
  color: #fff3e1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4.2vw, 45px);
  font-style: italic;
  line-height: 1.18;
}

.formula {
  margin: 38px 0;
  padding: 28px;
  border: 1px solid rgba(230, 166, 84, .3);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(230, 166, 84, .1), rgba(255, 255, 255, .02));
  text-align: center;
}

.formula strong {
  display: block;
  color: #fff;
  font: 650 clamp(24px, 3.5vw, 38px)/1.2 "Clash Display", sans-serif;
  letter-spacing: -.025em;
}

.formula span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font: 500 12px/1.5 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clock-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0;
}

.clock-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}

.clock-card small {
  color: var(--amber);
  font: 600 11px/1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.clock-card strong {
  display: block;
  margin: 18px 0 12px;
  color: #fff;
  font: 650 31px/1.08 "Clash Display", sans-serif;
}

.clock-card p { margin: 0; color: var(--muted); font-size: 15px; }

.era-track {
  margin: 42px 0 56px;
  padding: 30px;
  border: 1px solid rgba(255, 242, 217, .15);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(230, 166, 84, .085), rgba(24, 21, 18, .78));
}

.era-track__line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.era-track__line::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), #806848, var(--blue));
}

.era {
  position: relative;
  padding-top: 37px;
}

.era::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 4px solid #18130d;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(244, 202, 137, .6);
}

.era:last-child::before { background: var(--blue); }

.era b {
  display: block;
  color: #fff;
  font: 650 23px/1 "Clash Display", sans-serif;
}

.era span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.table-wrap {
  overflow-x: auto;
  margin: 36px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table { width: 100%; min-width: 650px; border-collapse: collapse; }
th, td { padding: 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: rgba(255, 255, 255, .045); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
td { color: #d3ccc1; font-size: 15px; }
tr:last-child td { border-bottom: 0; }

.truth-card {
  margin: 46px 0 58px;
  padding: 30px;
  border: 1px solid rgba(124, 172, 247, .35);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(124, 172, 247, .09), rgba(230, 166, 84, .04));
}

.truth-card__label {
  color: var(--blue);
  font: 600 11px/1.3 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.truth-card h2 { margin-top: 15px; }
.truth-card .table-wrap { margin-bottom: 0; }

.disclosure {
  margin-top: 64px !important;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted) !important;
  font-size: 14px !important;
}

.sources {
  margin-top: 76px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sources ol { padding-left: 21px; }
.sources li { color: var(--muted); font-size: 14px; margin: 13px 0; }

.sidebar { min-width: 0; }
.sidebar__inner { position: sticky; top: 112px; }
.sidebar__label {
  color: var(--amber);
  font: 600 11px/1.3 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sidebar h2 { margin: 15px 0 18px; font-size: 30px; }
.sidebar p { color: var(--muted); font-size: 15px; }
.sidebar .button { width: 100%; margin-top: 12px; }

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero { min-height: 670px; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, .99) 0%, rgba(5, 5, 5, .82) 52%, rgba(5, 5, 5, .28) 100%),
      url("assets/roi-asic-timecapsule-s21-1200x630-v3.jpg") 66% center / cover no-repeat;
  }
  .hero::after { right: -240px; }
  .hero__inner { padding-top: 250px; }
  .opening-grid { grid-template-columns: 1fr; margin-top: -30px; }
  .opening-stat { min-height: auto; }
  .layout { grid-template-columns: 1fr; }
  .sidebar__inner { position: static; }
  .clock-compare { grid-template-columns: 1fr; }
}

/* R01 cover is a complete editorial composition with its own headline. */
.hero {
  min-height: 0;
  aspect-ratio: 1200 / 630;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__inner { padding: 0; }
}

@media (max-width: 680px) {
  .hero { min-height: 0; }
  .hero__inner { padding: 0; }
}

@media (max-width: 680px) {
  .site-header__inner { min-height: 64px; }
  .nav a:not(.button) { display: none; }
  .nav .button { min-height: 38px; padding: 0 14px; font-size: 12px; }
  .brand small { display: none; }
  .hero { min-height: 690px; }
  .hero__inner { padding: 260px 0 78px; }
  h1 { font-size: clamp(43px, 13vw, 63px); }
  .dek { font-size: 20px; }
  .opening-grid,
  .layout { width: min(calc(100% - 28px), var(--max)); }
  .article p,
  .article li { font-size: 17px; }
  .standfirst { font-size: 21px !important; padding-left: 20px; }
  .era-track { padding: 24px; }
  .era-track__line { grid-template-columns: 1fr; gap: 22px; }
  .era-track__line::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .era { padding: 0 0 0 34px; }
  .era::before { top: 3px; left: 0; }
  .footer__inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 680px) {
  .hero {
    min-height: 0;
    aspect-ratio: 1200 / 630;
  }

  .hero__inner { padding: 0; }
}
