@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap");

:root {
  --ink: #102536;
  --navy: #071c2f;
  --navy-soft: #0d2b42;
  --paper: #f5f0e7;
  --paper-deep: #e9e0d2;
  --white: #fffdf8;
  --red: #c34b3f;
  --red-dark: #92342d;
  --aqua: #79d6cf;
  --gold: #d5a755;
  --muted: #61707b;
  --line: rgba(16, 37, 54, 0.18);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

button {
  color: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.top-rule {
  height: 5px;
  background: var(--red);
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--paper);
}

.utility-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.utility-bar p {
  margin: 0;
}

.edition {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edition span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(195, 75, 63, 0.1);
}

.brand-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.flag-mark {
  width: 51px;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  transform: skewY(-4deg);
}

.flag-mark span:first-child {
  grid-row: 1 / 3;
  background: var(--red);
}

.flag-mark span:nth-child(2) {
  background: var(--ink);
}

.flag-mark span:last-child {
  background: var(--gold);
}

.brand-type {
  display: flex;
  flex-direction: column;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.brand-type small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.motto {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.4;
  text-align: right;
}

.main-nav {
  background: var(--navy);
  color: var(--white);
}

.main-nav .shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav a {
  position: relative;
  padding: 16px clamp(12px, 2vw, 25px);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: min(680px, 75vh);
  min-height: 540px;
  margin-top: 30px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/aurelia-capital.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.005);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 17, 29, 0.9) 0%, rgba(3, 17, 29, 0.64) 35%, rgba(3, 17, 29, 0.04) 70%),
    linear-gradient(0deg, rgba(3, 17, 29, 0.54) 0%, transparent 40%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 78px);
  bottom: clamp(40px, 8vw, 90px);
  width: min(610px, 70%);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
  vertical-align: middle;
}

.eyebrow.light {
  color: #f0b0a8;
}

.eyebrow.coral {
  color: #ff8476;
}

.hero h1 {
  max-width: 580px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.93;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 26px;
  color: rgba(255, 253, 248, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.45;
}

.hero-meta {
  display: flex;
  gap: 24px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-number {
  position: absolute;
  right: 25px;
  bottom: -39px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--serif);
  font-size: 12rem;
  line-height: 1;
}

.section {
  padding-block: 105px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 70px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.lab-heading h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.45;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 28px;
}

.filter {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 160ms ease;
}

.filter:hover,
.filter.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.news-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, opacity 200ms ease, transform 200ms ease;
}

.news-card:hover {
  background: rgba(255, 253, 248, 0.65);
}

.news-card.hidden {
  display: none;
}

.featured-card {
  grid-row: span 2;
  min-height: 660px;
  padding: 0;
  background: var(--white);
}

.card-visual {
  position: relative;
  height: 54%;
  min-height: 310px;
  overflow: hidden;
}

.visual-parliament {
  background:
    linear-gradient(145deg, transparent 0 50%, rgba(7, 28, 47, 0.1) 50%),
    linear-gradient(30deg, #c65a46 0 25%, #e2b879 25% 31%, #e8dcc9 31% 64%, #6c8793 64%);
}

.visual-parliament::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 8%;
  bottom: 0;
  height: 72%;
  background:
    repeating-linear-gradient(90deg, transparent 0 7%, rgba(7, 28, 47, 0.85) 7% 9%),
    linear-gradient(#f2e7d5 0 18%, #c9d7d8 18% 88%, #0b2c42 88%);
  clip-path: polygon(0 25%, 87% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.5);
}

.visual-parliament::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 28, 47, 0.28), transparent 55%);
}

.visual-label {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 16px;
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-body {
  padding: 30px;
}

.category {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-card h3,
.future-card h3,
.essay-card h3,
.outcome-grid h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.featured-card h3 {
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
}

.news-card p:not(.category),
.future-card p,
.essay-card p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.01rem;
  line-height: 1.5;
}

.byline {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 27px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.featured-card .byline {
  position: static;
  margin-top: 22px;
}

.card-index {
  position: absolute;
  top: 21px;
  right: 24px;
  color: rgba(16, 37, 54, 0.13);
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
}

.briefing {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--paper-deep);
}

.briefing p {
  margin: 0;
  color: var(--red);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker {
  display: flex;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
}

.ticker span {
  white-space: nowrap;
}

.ticker span:not(:last-child)::after {
  content: "•";
  margin-inline: 22px;
  color: var(--red);
}

.briefing button,
.lab-question button,
.newsletter button {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.briefing button span,
.future-card a span,
.lab-question button span,
.newsletter button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 160ms ease;
}

.briefing button:hover span,
.future-card a:hover span,
.lab-question button:hover span,
.newsletter button:hover span {
  transform: translateX(4px);
}

.history-section {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.section-heading.inverse {
  border-color: rgba(255, 255, 255, 0.19);
}

.section-heading.inverse .section-intro {
  color: rgba(255, 255, 255, 0.62);
}

.history-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 1fr;
  gap: 60px;
  padding-top: 65px;
}

.history-quote {
  align-self: start;
}

.quote-mark {
  display: block;
  height: 65px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.85;
}

.history-quote blockquote {
  margin-bottom: 23px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.22;
}

.history-quote cite {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline-item {
  width: 100%;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 19px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  text-align: left;
  transition: 170ms ease;
}

.timeline-item span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.timeline-item strong {
  font-family: var(--serif);
  font-size: 1.07rem;
  font-weight: 500;
}

.timeline-item:hover,
.timeline-item.active {
  padding-left: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.timeline-detail {
  position: relative;
  min-height: 350px;
  align-self: stretch;
  padding: 45px 38px;
  background: var(--paper);
  color: var(--ink);
}

.timeline-detail::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 42px solid var(--red);
  border-left: 42px solid transparent;
}

.timeline-detail > p:first-child {
  margin-bottom: 42px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 0.8;
}

.timeline-detail h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.04;
}

.timeline-detail p {
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.5;
}

.timeline-detail a {
  position: absolute;
  left: 38px;
  bottom: 35px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-detail a span {
  margin-left: 6px;
}

.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 38px;
}

.future-card {
  position: relative;
  min-height: 380px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.future-main {
  grid-row: span 2;
  min-height: 778px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  color: var(--white);
}

.future-copy {
  position: relative;
  z-index: 2;
}

.future-main h3 {
  max-width: 590px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
}

.future-main p:not(.category) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
}

.category.aqua {
  color: var(--aqua);
}

.future-orbit {
  position: absolute;
  top: 45px;
  left: 50%;
  width: min(430px, 80%);
  aspect-ratio: 1;
  transform: translateX(-50%);
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(121, 214, 207, 0.3);
  border-radius: 50%;
}

.orbit-one {
  animation: orbit-spin 18s linear infinite;
}

.orbit-one::after,
.orbit-two::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 20px var(--aqua);
}

.orbit-two {
  inset: 21%;
  border-style: dashed;
  animation: orbit-spin 13s linear reverse infinite;
}

.orbit-two::after {
  top: auto;
  bottom: -5px;
  left: 55%;
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.orbit-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--serif);
  font-size: 5rem;
  background: radial-gradient(circle at 40% 35%, #1f566f, #071c2f 70%);
  box-shadow: 0 0 80px rgba(121, 214, 207, 0.16);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(121, 214, 207, 0.13);
}

.project-number {
  color: var(--muted);
  font-family: var(--sans) !important;
  font-size: 0.61rem !important;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.future-icon {
  position: absolute;
  top: 31px;
  right: 32px;
  width: 70px;
  height: 70px;
}

.robot-icon {
  border: 2px solid var(--red);
  border-radius: 17px;
}

.robot-icon::before {
  content: "••";
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  font-size: 1.4rem;
  letter-spacing: 7px;
  padding-left: 6px;
}

.robot-icon::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 2px;
  height: 11px;
  background: var(--red);
}

.moon-icon {
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(16, 37, 54, 0.12) 0 8%, transparent 9%),
    radial-gradient(circle at 65% 70%, rgba(16, 37, 54, 0.1) 0 12%, transparent 13%),
    var(--gold);
  box-shadow: inset -14px -8px 0 rgba(7, 28, 47, 0.15);
}

.future-card:not(.future-main) h3 {
  max-width: 410px;
  margin-top: 75px;
  font-size: 2rem;
}

.future-card a {
  position: absolute;
  left: 36px;
  bottom: 32px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.future-wide {
  grid-column: 1 / -1;
  min-height: 255px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  align-items: start;
  gap: 30px;
  background: var(--paper-deep);
}

.future-wide h3 {
  margin-top: 0 !important;
}

.future-wide > p {
  grid-column: 1 / -1;
  max-width: 750px;
  margin: 0;
}

.longevity-stat {
  display: flex;
  align-items: center;
  gap: 13px;
}

.longevity-stat strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 0.9;
}

.longevity-stat span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.library-section {
  background: #e9e0d2;
}

.essay-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding-top: 40px;
}

.essay-card {
  position: relative;
  min-height: 275px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.essay-card:nth-child(2),
.essay-lead {
  border-top: 1px solid var(--line);
}

.essay-card:nth-child(2),
.essay-card:nth-child(4) {
  border-right: 0;
}

.essay-lead {
  grid-row: span 3;
  min-height: 825px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 54px 50px 0;
}

.essay-symbol {
  display: grid;
  place-items: center;
  width: 78%;
  height: 360px;
  margin-top: 10px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 87% 100%, 0 86%);
}

.essay-lead h3 {
  max-width: 650px;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  font-weight: 500;
}

.essay-lead > div:last-child > p:not(.essay-number) {
  max-width: 650px;
  font-size: 1.2rem;
}

.essay-number {
  color: var(--red) !important;
  font-family: var(--sans) !important;
  font-size: 0.62rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.read-time {
  position: absolute;
  left: 38px;
  bottom: 33px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.essay-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
}

.author-initial {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
}

.essay-author p {
  margin: 0;
  font-family: var(--sans) !important;
  font-size: 0.68rem !important;
  line-height: 1.4 !important;
}

.lab-section {
  padding-top: 115px;
}

.lab-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  padding: 55px;
  background: var(--navy);
  color: var(--white);
}

.lab-heading h2 {
  max-width: 900px;
}

.lab-stamp {
  width: 130px;
  height: 130px;
  display: grid;
  place-content: center;
  border: 2px solid #ff8476;
  border-radius: 50%;
  color: #ff8476;
  text-align: center;
  transform: rotate(7deg);
}

.lab-stamp span {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.lab-stamp strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.scenario-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-top: 0;
}

.scenario-controls > span {
  margin-right: 10px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scenario-button.active {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.lab-dashboard {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-overview {
  padding: 45px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
}

.lab-kicker {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-summary {
  min-height: 145px;
  margin-bottom: 38px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}

.meter {
  margin-bottom: 24px;
}

.meter > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.meter > div:first-child strong {
  color: #2a766c;
}

.meter-track {
  height: 5px;
  overflow: hidden;
  background: var(--paper-deep);
}

.meter-track span {
  display: block;
  height: 100%;
  background: #2a766c;
  transition: width 450ms ease;
}

.meter-track.warning span {
  background: var(--red);
}

.method-note {
  margin: 35px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.4;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.outcome-grid article {
  min-height: 460px;
  padding: 38px 28px;
  border-right: 1px solid var(--line);
}

.outcome-grid article:last-child {
  border-right: 0;
}

.outcome-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.outcome-icon.positive { color: #2a766c; }
.outcome-icon.risk { color: var(--red); }
.outcome-icon.unexpected { color: #9a722c; }

.outcome-grid article > p:first-of-type {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outcome-grid article > p:last-child {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}

.lab-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 34px;
  background: var(--red);
  color: white;
}

.lab-question p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.lab-question button {
  color: white;
}

.newsletter {
  padding-block: 85px;
  background: var(--navy-soft);
  color: var(--white);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 90px;
}

.newsletter form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.input-row input {
  min-width: 0;
  padding: 17px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.input-row input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.input-row button {
  color: white;
}

.newsletter form > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
}

.site-footer {
  padding-top: 70px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.8fr 1.2fr;
  gap: 60px;
  padding-bottom: 65px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .flag-mark {
  width: 38px;
  height: 32px;
}

.footer-brand .brand-type strong {
  font-size: 1.55rem;
}

.footer-grid > div:first-child > p {
  max-width: 300px;
  margin-top: 24px;
  font-family: var(--serif);
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
}

.footer-title {
  margin: 0 0 10px;
  color: white;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid a:hover {
  color: white;
}

.footer-grid > div:last-child p:last-child {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 360px;
  padding: 15px 20px;
  border-left: 4px solid var(--red);
  background: var(--navy);
  color: white;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

  .featured-card {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 650px;
  }

  .history-layout {
    grid-template-columns: 1fr 1fr;
  }

  .history-quote {
    grid-column: 1 / -1;
    max-width: 650px;
  }

  .future-main {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 700px;
  }

  .future-wide {
    grid-column: 1 / -1;
  }

  .lab-dashboard {
    grid-template-columns: 1fr;
  }

  .lab-overview {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenario-summary {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    max-width: 650px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1240px, calc(100% - 30px));
  }

  .utility-bar {
    min-height: 44px;
  }

  .edition {
    display: none;
  }

  .brand-row {
    min-height: 90px;
  }

  .brand-type strong {
    font-size: 1.65rem;
  }

  .brand-type small,
  .motto {
    display: none;
  }

  .flag-mark {
    width: 42px;
    height: 35px;
  }

  .menu-button {
    position: absolute;
    top: 55px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    z-index: 3;
    border: 0;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: 180ms ease;
  }

  .menu-button[aria-expanded="true"] > span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 134px;
    left: 0;
    right: 0;
    display: none;
    min-height: calc(100vh - 134px);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav .shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 25px;
  }

  .main-nav a {
    padding: 19px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    width: 100%;
    min-height: 630px;
    height: 78vh;
    margin-top: 0;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(3, 17, 29, 0.95) 0%, rgba(3, 17, 29, 0.65) 54%, rgba(3, 17, 29, 0.1) 100%);
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 44px;
    width: auto;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .hero-number {
    display: none;
  }

  .section {
    padding-block: 75px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading h2,
  .lab-heading h2,
  .newsletter h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .section-intro {
    font-size: 1.05rem;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-inline: -15px;
    padding-inline: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-column: auto;
    min-height: 620px;
  }

  .card-visual {
    height: 49%;
  }

  .news-card {
    min-height: 310px;
  }

  .briefing {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ticker {
    display: grid;
    gap: 8px;
  }

  .ticker span:not(:last-child)::after {
    display: none;
  }

  .briefing button {
    justify-self: start;
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .history-quote {
    grid-column: auto;
  }

  .timeline-detail {
    min-height: 375px;
  }

  .future-grid {
    grid-template-columns: 1fr;
  }

  .future-main,
  .future-wide {
    grid-column: auto;
  }

  .future-main {
    min-height: 670px;
  }

  .future-card {
    min-height: 390px;
    padding: 30px;
  }

  .future-card a {
    left: 30px;
  }

  .future-wide {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .future-wide > p {
    grid-column: auto;
  }

  .essay-grid {
    grid-template-columns: 1fr;
  }

  .essay-card,
  .essay-card:nth-child(2),
  .essay-card:nth-child(4) {
    border-right: 0;
  }

  .essay-lead {
    grid-row: auto;
    min-height: 760px;
    padding: 0 0 45px;
  }

  .essay-symbol {
    width: 100%;
    height: 330px;
    margin-bottom: 40px;
    font-size: 13rem;
  }

  .essay-card {
    padding: 38px 0;
  }

  .read-time {
    left: 0;
  }

  .lab-heading {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .lab-stamp {
    width: 100px;
    height: 100px;
  }

  .scenario-controls {
    flex-wrap: wrap;
  }

  .scenario-controls > span {
    width: 100%;
    margin-bottom: 4px;
  }

  .lab-overview {
    padding: 35px 27px;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid article {
    min-height: auto;
    padding: 35px 27px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .outcome-icon {
    margin-bottom: 35px;
  }

  .lab-question {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .input-row button {
    justify-self: start;
    padding: 12px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    gap: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
