/* SDGventure v2 · "Ink, quiet" — tokens and components. See README for the system. */
:root {
  --ground: #08090A; --panel: #0F1011; --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.12);
  --text: #F7F8F8; --text-2: #8A8F98; --text-3: #62666D;
  --accent: #FF6F86; --accent-ink: #C2334E;
  --light: #F4F3EF; --light-card: #FFFFFF; --light-line: rgba(15,16,17,0.08); --light-text: #0F1011; --light-text-2: #55585E; --light-text-3: #6B6E73;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --r-panel: 12px; --r-small: 8px; --wrap: 1200px; --pad: 32px; --section: 112px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--text); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-block: var(--section); }
.rule { border-top: 1px solid var(--line); }
.label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.label.accent { color: var(--accent); }
.h1, .h2, .h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; }
.h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -0.03em; max-width: 15em; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.025em; }
.h2.long { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; }
.h2.team { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.h3 { font-size: 20px; line-height: 1.25; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.stack { display: flex; flex-direction: column; }
.g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; } .g48 { gap: 48px; } .g56 { gap: 56px; }
.head2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px 64px; }
.head2.stacked { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.head2.stacked > .lede { max-width: 44em; }
.head2 > .lede { align-self: end; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.lede .hl { color: var(--text); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--r-small);
  font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-p { background: var(--text); color: var(--ground); }
.btn-p:hover { background: #fff; }
.btn-s { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--line-2); }
.btn-s:hover { background: rgba(255,255,255,0.1); }
.btn-d { background: var(--ground); color: var(--text); }
.btn-d:hover { background: #1C1D20; }
.btn:focus-visible, .linkbtn:focus-visible, .menubtn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(8,9,10,0.72); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.hdr-r { display: flex; align-items: center; gap: 8px; }
.menubtn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r-small); border: 1px solid var(--line-2); background: rgba(255,255,255,0.06); color: var(--text); cursor: pointer; padding: 0; }
.mnav { display: none; border-top: 1px solid var(--line); padding: 8px var(--pad) 16px; }
.mnav a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mnav a:last-child { border-bottom: 0; }
.hdr.open .mnav { display: block; }
@media (max-width: 760px) { .nav { display: none; } .menubtn { display: inline-flex; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; right: -4%; top: 0; width: 62%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground) 34%, rgba(8,9,10,0.55) 62%, rgba(8,9,10,0) 100%); }
.hero-in { position: relative; padding-block: 128px 136px; }
.hero-in .btns { margin-top: 8px; }
@media (max-width: 760px) {
  .hero-media { width: 100%; right: 0; opacity: 0.45; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,9,10,0.2), var(--ground) 92%); }
  .hero-in { padding-block: 88px 96px; }
}

/* logo marquee */
.logos { padding-block: 8px 72px; align-items: center; }
.marq { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 64px; width: max-content; animation: mq 45s linear infinite; }
.track img { height: 30px; width: auto; max-width: 120px; object-fit: contain; opacity: 0.6; flex: none; }
.marq:hover .track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; } .track [aria-hidden] { display: none; } }

/* clock */
.clock { padding: 40px; }
.clock-row { display: flex; align-items: baseline; gap: 12px 40px; flex-wrap: wrap; }
.clock-y { display: flex; align-items: baseline; gap: 12px; color: var(--accent); font-family: var(--display); }
.clock-y b { font-weight: 500; font-size: clamp(96px, 13vw, 168px); line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.clock-y span { font-size: 22px; }
.clock.is-2 .clock-y { color: var(--text); }
.clock-md { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.clock-s { font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.clock-foot { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: baseline; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.clock-foot p { font-size: 15px; color: var(--text-2); max-width: 52em; }
.linkbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--text); font: 400 14px var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fact b { display: block; font-family: var(--display); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.fact p { font-size: 15px; color: var(--text-2); }
.why-cta { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,111,134,0.28); padding: 48px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,111,134,0.16) 0%, rgba(255,111,134,0) 55%), var(--panel);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.why-cta .statement { max-width: 24em; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.sources { font-size: 12px; line-height: 1.5; color: var(--text-3); max-width: 80em; }
.sources a { color: inherit; }
@media (max-width: 760px) { .clock, .why-cta { padding: 28px 22px; } }

/* paths */
.path-n { font-size: 12px; color: var(--text-3); }
.path p, .stance p { font-size: 15px; color: var(--text-2); }

/* light section */
.light { background: var(--light); color: var(--light-text); }
.light .label { color: var(--light-text-3); }
.light .head2 > .lede { color: var(--light-text-2); }
.card-l { background: var(--light-card); border: 1px solid var(--light-line); border-radius: var(--r-panel); padding: 24px; }
.card-l p { font-size: 14px; line-height: 1.6; color: var(--light-text-2); }
.how-card { display: flex; gap: 20px; align-items: flex-start; }
.how-card img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--r-small); flex: none; }
.how-card .h3 { font-size: 19px; }
.step-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.step-n { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.step-t { font-size: 13px; color: var(--light-text-3); }
.h3-proc { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.price { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 28px; }
.price p { font-size: 16px; color: var(--light-text); }
.price p span { color: var(--light-text-2); }
.light a:focus-visible { outline-color: var(--accent-ink); }

/* stance */
.stance .panel { padding: 36px; }
.stance .h3 { font-size: 24px; letter-spacing: -0.02em; }
.venn { width: 100%; max-width: 360px; margin: 16px auto 0; display: block; }
.sdgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; max-width: 480px; }
.sdgs img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.stance .mindset { max-width: 40em; color: var(--text); font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }

/* team */
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.person { display: flex; gap: 16px; align-items: flex-start; padding: 16px; }
.person img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-small); filter: grayscale(1); flex: none; }
.person h3 { font-family: var(--display); font-weight: 500; font-size: 16px; }
.person .from { font-size: 12px; color: var(--text-3); }
.person p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.person a { display: inline-block; margin-top: 4px; font-size: 13px; }

/* final cta */
.final { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.final-in { position: relative; padding: 88px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.final .statement { max-width: 16em; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
@media (max-width: 760px) { .final-in { padding: 56px 24px; } }

/* footer */
.foot { display: grid; grid-template-columns: 1fr repeat(3, auto); column-gap: clamp(48px, 7vw, 112px); row-gap: 32px; padding-block: 48px; font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; column-gap: 24px; } .foot > :first-child { grid-column: 1 / -1; } }
.foot .stack { gap: 6px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .k { font-size: 12px; color: var(--text-3); }
.foot .brand { font-size: 16px; color: var(--text); }

/* legal page */
.legal { max-width: 44em; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal h3 { font-size: 15px; font-weight: 500; margin: 24px 0 4px; color: var(--text); }
.legal p { color: var(--text-2); font-size: 15px; }
.legal + .legal { margin-top: 72px; }

/* small screens */
@media (max-width: 760px) { :root { --pad: 20px; --section: 80px; } }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 30; background: var(--text); color: var(--ground); padding: 8px 12px; border-radius: 8px; }
