:root {
  --ink: #102c27;
  --ink-soft: #28463f;
  --paper: #f4f0e7;
  --paper-deep: #e7e1d3;
  --acid: #d9ff55;
  --coral: #ff6c4e;
  --sky: #9edcc8;
  --line: rgba(16, 44, 39, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--acid); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 82px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; color: white; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; border: 2px solid currentColor; border-radius: 50%; display: inline-block; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 9px; height: 18px; background: var(--coral); border-radius: 50% 10% 50% 10%; right: -5px; bottom: -2px; transform: rotate(24deg); }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { font-size: .78rem; font-weight: 600; text-decoration: none; }
nav a:not(.nav-cta):hover { color: var(--acid); }
.nav-cta { padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.55); border-radius: 2rem; }
.nav-cta:hover { background: white; color: var(--ink); }
.menu-toggle { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 2rem; padding: .55rem .8rem; }

.hero { min-height: 760px; height: 100vh; max-height: 980px; background: var(--ink); color: white; padding: 150px clamp(1.25rem, 6vw, 7rem) 48px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.7) .7px, transparent .7px); background-size: 19px 19px; mask-image: linear-gradient(to right, black, transparent 65%); }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.eyebrow { font: 500 .69rem var(--mono); letter-spacing: .15em; text-transform: uppercase; display: flex; gap: .7rem; align-items: center; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; background: var(--acid); }
.eyebrow.dark span { background: var(--coral); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; margin: 0; line-height: .88; }
h1 { font-size: clamp(5rem, 9vw, 9.3rem); margin: 1.4rem 0 2rem; }
h1 em, h2 em { color: var(--acid); font-weight: 500; }
.hero-lead { max-width: 590px; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.72); }
.hero-actions { margin-top: 2.4rem; display: flex; gap: 2rem; align-items: center; }
.button { display: inline-flex; gap: 2rem; align-items: center; justify-content: space-between; text-decoration: none; border-radius: 2rem; font-size: .84rem; font-weight: 700; padding: 1rem 1.25rem; }
.button-primary { background: var(--acid); color: var(--ink); }
.button-primary:hover { background: white; transform: translateY(-2px); }
.text-link { color: white; font-size: .83rem; font-weight: 700; text-underline-offset: 5px; }

.climate-orbit { width: min(41vw, 590px); aspect-ratio: 1; position: relative; display: grid; place-items: center; justify-self: center; }
.planet { width: 61%; aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden; background: radial-gradient(circle at 35% 28%, #c9f9e1 0 7%, var(--sky) 24%, #55a68c 70%, #2e695b 100%); box-shadow: inset -38px -28px 50px rgba(7,26,22,.55), 0 0 100px rgba(217,255,85,.15); }
.planet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 45%, rgba(255,108,78,.55)); mix-blend-mode: screen; }
.planet-glow { position: absolute; inset: 6%; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.land { position: absolute; background: #d5dd87; opacity: .9; z-index: 1; }
.land-one { width: 42%; height: 33%; left: 8%; top: 22%; border-radius: 70% 25% 55% 35%; transform: rotate(-18deg); }
.land-two { width: 27%; height: 43%; right: 13%; bottom: 13%; border-radius: 40% 65% 35% 60%; transform: rotate(24deg); }
.temperature { position: absolute; inset: auto 0 27%; z-index: 3; text-align: center; font: 500 clamp(2rem, 4vw, 4rem) var(--serif); text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.temperature small { display: block; margin-top: .35rem; font: 500 .62rem var(--mono); letter-spacing: .15em; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { width: 88%; height: 88%; animation: orbit 22s linear infinite; }
.orbit-two { width: 108%; height: 66%; transform: rotate(38deg); border-color: rgba(217,255,85,.28); animation: pulse 5s ease-in-out infinite; }
.orbit-one::before { content: ""; position: absolute; width: 11px; height: 11px; background: var(--acid); border-radius: 50%; top: 9%; left: 22%; box-shadow: 0 0 18px var(--acid); }
.orbit-note { position: absolute; font: 400 .62rem var(--mono); letter-spacing: .07em; color: rgba(255,255,255,.62); }
.orbit-note span { display: block; color: white; margin-bottom: .35rem; }
.note-co2 { top: 18%; right: -1%; }
.note-risk { bottom: 10%; left: -4%; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .4; transform: rotate(45deg) scale(.96); } }
.hero-foot { position: absolute; bottom: 35px; left: clamp(1.25rem, 6vw, 7rem); right: clamp(1.25rem, 6vw, 7rem); border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; font-size: .72rem; color: rgba(255,255,255,.63); }
.hero-foot span { font-family: var(--mono); color: var(--acid); }
.hero-foot p { margin: 0; }
.hero-foot a { text-underline-offset: 4px; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-intro { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 3rem; align-items: end; margin-bottom: 5rem; }
.section-intro .eyebrow { align-self: start; }
h2 { font-size: clamp(3.7rem, 7vw, 7rem); }
.section-intro h2 em { color: var(--coral); }
.section-intro > p:last-child { line-height: 1.7; color: var(--ink-soft); max-width: 430px; }
.fact-grid { display: grid; grid-template-columns: 1.15fr .75fr .75fr; border: 1px solid var(--line); }
.fact-card { padding: clamp(1.5rem, 3vw, 3rem); min-height: 330px; border-right: 1px solid var(--line); position: relative; }
.fact-card:last-child { border-right: 0; }
.fact-main { background: var(--ink); color: white; overflow: hidden; }
.fact-number { font: 500 clamp(5rem, 9vw, 9rem) var(--serif); color: var(--acid); line-height: .8; }
.fact-number sup { font-size: .4em; }
.fact-card h3 { font: 500 1.65rem var(--serif); margin: 2.2rem 0 .8rem; }
.fact-card p { color: var(--ink-soft); line-height: 1.65; font-size: .9rem; }
.fact-main p { color: rgba(255,255,255,.7); max-width: 450px; }
.card-index { position: absolute; top: 1.5rem; right: 1.5rem; font: .65rem var(--mono); color: #82918c; }
.mini-icon { margin-top: 3rem; width: 64px; height: 64px; }
.sun-icon { border: 2px solid var(--coral); border-radius: 50%; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px rgba(255,108,78,.25), 0 0 0 20px var(--paper), 0 0 0 21px rgba(255,108,78,.12); }
.wave-icon { color: #258e9b; font: 4.4rem var(--serif); transform: rotate(-8deg); }
.warming-stripes { position: absolute; bottom: 0; left: 0; right: 0; height: 35px; display: flex; }
.warming-stripes i { flex: 1; background: #346e7b; }
.warming-stripes i:nth-child(2),.warming-stripes i:nth-child(4) { background: #4e8b8e; }
.warming-stripes i:nth-child(5),.warming-stripes i:nth-child(6) { background: #d7a466; }
.warming-stripes i:nth-child(7) { background: #e88352; }
.warming-stripes i:nth-child(8),.warming-stripes i:nth-child(9) { background: #e35d45; }
.warming-stripes i:nth-child(n+10) { background: #be3d32; }
.fact-wide { grid-column: 2 / 4; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 3rem; min-height: 260px; }
.fact-wide h3 { margin-top: 0; }
.cause-meter { border-left: 1px solid var(--line); padding-left: 3rem; }
.cause-meter strong { display: block; color: var(--coral); font: 500 5.2rem var(--serif); line-height: 1; }
.cause-meter strong sup { font-size: .35em; }
.cause-meter span { font-size: .7rem; font-family: var(--mono); }

.impact-section { background: var(--ink); color: white; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.impact-sticky { position: sticky; top: 4rem; align-self: start; }
.impact-sticky h2 { margin: 2rem 0; }
.impact-sticky p:last-child { color: rgba(255,255,255,.62); line-height: 1.7; max-width: 490px; }
.impact-list { border-top: 1px solid rgba(255,255,255,.2); }
.impact-item { min-height: 185px; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 75px 1fr; align-items: center; }
.impact-item > span { font: .7rem var(--mono); color: var(--acid); }
.impact-item h3 { font: 500 2.4rem var(--serif); margin: 0 0 .5rem; }
.impact-item p { color: rgba(255,255,255,.62); line-height: 1.6; margin: 0; font-size: .88rem; }

.solution-section { background: #d9e9df; }
.solution-track { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.solution-card { min-height: 400px; padding: 2rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.solution-card:last-child { border-right: 0; }
.solution-no { font: .66rem var(--mono); }
.solution-symbol { font: 4rem var(--serif); color: var(--coral); margin: auto 0; }
.solution-card h3 { font: 500 1.7rem var(--serif); margin: 0 0 .8rem; }
.solution-card p { font-size: .85rem; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.solution-card:hover { background: var(--acid); }

.action-section { background: var(--coral); padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; }
.action-copy h2 { margin-top: 2rem; }
.action-copy h2 em { color: var(--paper); }
.action-panel { background: var(--paper); padding: clamp(1.5rem, 4vw, 3rem); }
.action-panel > p { line-height: 1.6; margin-top: 0; }
.choice-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.choice-list button { width: 100%; padding: 1.15rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; cursor: pointer; text-align: left; }
.choice-list button:hover, .choice-list button:focus-visible { color: var(--coral); padding-left: .5rem; }
.choice-list button.selected { color: var(--coral); font-weight: 700; }
.commitment { margin-top: 1.5rem; padding: 1rem; background: var(--ink); color: white; display: flex; gap: .9rem; }
.commitment > span { color: var(--acid); }
.commitment p { color: rgba(255,255,255,.7); font-size: .8rem; margin: .3rem 0 0; }
.commitment[hidden] { display: none; }

.sources-section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.sources-section h2 { font-size: clamp(3rem, 5vw, 5.2rem); margin-top: 1.5rem; }
.source-links { border-top: 1px solid var(--line); }
.source-links a { display: grid; grid-template-columns: 75px 1fr auto; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.5rem 0; text-decoration: none; align-items: center; }
.source-links a:hover { color: var(--coral); }
.source-links span { font: .65rem var(--mono); }
.source-links b { font-weight: 400; }

footer { min-height: 130px; padding: 2rem clamp(1.25rem, 6vw, 7rem); background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
footer p, footer > a:last-child { color: rgba(255,255,255,.6); font-size: .75rem; }
footer > a:last-child { text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.button, .choice-list button, .solution-card { transition: .25s ease; }

@media (max-width: 960px) {
  .hero { min-height: 900px; height: auto; grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { z-index: 2; }
  .climate-orbit { position: absolute; width: 540px; right: -170px; bottom: 80px; opacity: .63; }
  .hero-foot { z-index: 2; }
  .section-intro { grid-template-columns: 1fr 2fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-main { grid-row: span 2; }
  .fact-card:nth-child(3) { border-top: 1px solid var(--line); }
  .fact-wide { grid-column: 1 / 3; }
  .impact-section { gap: 5vw; }
  .solution-track { grid-template-columns: 1fr 1fr; }
  .solution-card:nth-child(2) { border-right: 0; }
  .solution-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .action-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 1.25rem; background: var(--ink); flex-direction: column; align-items: stretch; border-top: 1px solid rgba(255,255,255,.15); }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: 830px; padding-top: 115px; align-items: start; }
  h1 { font-size: clamp(4rem, 19vw, 6.5rem); }
  .hero-lead { font-size: .94rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .climate-orbit { width: 400px; right: -180px; bottom: 70px; }
  .orbit-note { display: none; }
  .hero-foot { grid-template-columns: 35px 1fr; bottom: 24px; }
  .hero-foot a { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .section-intro > p:last-child { grid-column: 1; }
  h2 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-main { min-height: 390px; }
  .fact-wide { grid-column: 1; grid-template-columns: 1fr; }
  .cause-meter { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .impact-section { grid-template-columns: 1fr; }
  .impact-sticky { position: static; }
  .solution-track { grid-template-columns: 1fr; }
  .solution-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; }
  .solution-card:nth-child(n+3) { border-top: 0; }
  .sources-section { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
