/* ============================================================
   Allbirds × Kite — Growth report
   Palette + type lifted from allbirds.com's own theme:
   Geograph (Klim) · ink #212121 · cream #f5f4f1 · greige #ece9e2
   forest #10714e · sale-red #9c0f0f · near-square buttons
   ============================================================ */

@font-face {
  font-family: "Geograph";
  src: url("fonts/geograph-light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geograph";
  src: url("fonts/geograph-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geograph";
  src: url("fonts/geograph-regular-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Geograph";
  src: url("fonts/geograph-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geograph";
  src: url("fonts/geograph-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #ffffff;
  --cream: #f5f4f1;
  --greige: #ece9e2;
  --tan: #e0dacf;
  --ink: #212121;
  --ink-2: #575757;
  --ink-3: #9b968c;
  --hairline: rgba(33, 33, 33, 0.16);
  --hairline-soft: rgba(33, 33, 33, 0.08);
  --green: #10714e;
  --green-2: #0c5a3e;
  --green-wash: #e9f1ec;
  --red: #9c0f0f;
  --red-wash: #f7e8e6;
  --red-line: #e5c4bf;

  --font-sans: "Geograph", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1120px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-btn: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---------- top nav — clean white bar, like allbirds.com ---------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 28px; max-width: var(--shell); margin: 0 auto;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark .g { font-weight: 500; font-size: 21px; letter-spacing: 0.01em; }
.wordmark .x { color: var(--ink-3); font-size: 12px; transform: translateY(-2px); display: inline-block; }
.wordmark .k { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: var(--green); }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; transition: color 0.15s ease; }
.topnav a:hover { color: var(--ink); }
.topnav .nav-cta {
  background: var(--ink); color: #fff; padding: 11px 20px;
  border-radius: var(--radius-btn); font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}
.topnav .nav-cta:hover { background: var(--green); transform: translateY(-1px); }
@media (max-width: 760px) { .topnav a:not(.nav-cta) { display: none; } }

/* ---------- hero — cream, clean, ink type ---------- */

.hero { background: var(--cream); padding: 84px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-art img { width: 100%; height: auto; mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
}
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 24px;
}
.hero h1 {
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  max-width: 17ch;
  margin-bottom: 28px;
}
.hero h1 .ghost { color: var(--ink-3); }
.ghost { color: var(--ink-3); }
.accent {
  color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 Q 40 3 85 7 T 160 6 T 217 7' fill='none' stroke='%2310714e' stroke-width='4' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.14em;
  padding-bottom: 0.1em;
}
.hero .lede {
  font-size: clamp(17px, 1.9vw, 19.5px);
  font-weight: 300;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.65;
}
.hero .lede strong { font-weight: 500; color: var(--ink); }
.hero .lede em { font-style: italic; }

/* ---------- sections ---------- */

section { padding: 84px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 {
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}
.section-head .sub { color: var(--ink-2); font-size: 17px; font-weight: 300; max-width: 62ch; }
.section-head .sub strong { font-weight: 500; color: var(--ink); }

.band { background: var(--cream); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }

/* ---------- signal badges ---------- */

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .badges { grid-template-columns: 1fr; } }

.badge {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(33, 33, 33, 0.08);
  border-color: var(--hairline);
}
.badge .art { height: 100px; margin: -4px 0 2px; display: flex; align-items: center; }
.badge .art img { height: 100%; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.badge .label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3);
}
.badge .value { font-weight: 500; font-size: 22px; line-height: 1.18; letter-spacing: -0.015em; }
.badge .detail { font-size: 13.5px; font-weight: 300; color: var(--ink-2); line-height: 1.5; flex: 1; }
.badge .source {
  font-size: 11.5px; color: var(--ink-3);
  border-top: 1px dashed var(--hairline-soft);
  padding-top: 10px; margin-top: 6px;
  display: flex; gap: 6px; align-items: baseline;
}
.badge .source::before { content: "⌕"; font-size: 12px; color: var(--green); }

/* ---------- insights ---------- */

.insight { padding: 92px 0; }
.insight + .insight { border-top: 1px solid var(--hairline-soft); }

.insight-head { display: grid; grid-template-columns: 110px 1fr; gap: 28px; margin-bottom: 46px; }
@media (max-width: 760px) { .insight-head { grid-template-columns: 1fr; gap: 8px; } }
.insight-num {
  font-weight: 300;
  font-size: 80px; line-height: 0.9;
  color: var(--tan);
  user-select: none;
}
.insight.negative .insight-num { color: #ecc9c2; }
.insight-head h3 {
  font-weight: 500;
  font-size: clamp(27px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 24ch; margin-bottom: 16px;
}
.insight-head .why { color: var(--ink-2); font-weight: 300; font-size: 16.5px; max-width: 64ch; }
.insight-head .why strong { font-weight: 500; color: var(--ink); }
.insight-head .why em { font-style: italic; }

.ev-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 16px;
}
.ev-label::before { content: ""; width: 22px; height: 2px; background: var(--green); }

.card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .card { padding: 22px 16px; } }
.card h4 { font-size: 16.5px; font-weight: 500; margin-bottom: 6px; }
.card .cap { font-size: 14px; font-weight: 300; color: var(--ink-2); margin-bottom: 22px; max-width: 70ch; }
.card .cap strong { font-weight: 500; color: var(--ink); }

/* bars */
.bars { display: flex; flex-direction: column; gap: 15px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 92px; align-items: center; gap: 16px; }
@media (max-width: 560px) { .bar-row { grid-template-columns: 96px 1fr 76px; gap: 10px; } }
.bar-row .who { font-size: 14.5px; font-weight: 500; }
.bar-track { height: 28px; background: var(--cream); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: #8f8a80; width: 0; transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar-row.leader .bar-fill { background: var(--ink-2); }
.bar-row.you .bar-fill { background: var(--green); }
.bar-row.you .who, .bar-row.you .bar-val { color: var(--green); font-weight: 500; }
.bar-val { font-size: 14px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bar-val small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .card { margin-bottom: 0; }

/* rows */
.kwlist { display: flex; flex-direction: column; gap: 9px; }
.kwrow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 15px; border-radius: 8px; font-size: 14px;
  background: var(--cream);
}
.kwrow .kw { font-weight: 400; }
.kwrow .kw em { font-style: italic; color: var(--ink-2); }
.kwrow .pos { font-size: 12px; font-weight: 500; flex: none; padding: 4px 10px; border-radius: 999px; }
.kwrow.have { background: var(--green-wash); }
.kwrow.have .pos { background: #fff; color: var(--green); border: 1px solid rgba(16, 113, 78, 0.3); }
.kwrow.miss { background: var(--red-wash); }
.kwrow.miss .pos { background: #fff; color: var(--red); border: 1px solid rgba(156, 15, 15, 0.25); }
.kwrow.rest { color: var(--ink-2); font-weight: 300; font-style: italic; }
.kwrow.plain .pos { color: var(--ink-3); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--radius); padding: 22px; }
.stat .sv { font-weight: 500; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.stat .sv .down { color: var(--red); }
.stat .sv .up { color: var(--green); }
.stat .sl { font-size: 13px; font-weight: 300; color: var(--ink-2); }

/* next panel */
.next {
  background: var(--greige);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .next { grid-template-columns: 1fr; gap: 26px; } }
.next .nt {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.next h4 { font-weight: 500; font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 18px; }
.next ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.next li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; font-weight: 300; color: var(--ink-2); line-height: 1.5; }
.next li strong { font-weight: 500; color: var(--ink); }
.next li .nb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 1px solid rgba(16, 113, 78, 0.35); color: var(--green);
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.next-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.next-cta .hint { font-size: 13px; font-weight: 300; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: var(--radius-btn); text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--green); transform: translateY(-2px); }
.btn.primary .arr { transition: transform 0.16s ease; }
.btn.primary:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn.ghost:hover { border-color: #fff; transform: translateY(-2px); }

/* minis */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .minis { grid-template-columns: 1fr; } }
.mini {
  background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 10px;
}
.mini .mnum { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.1em; }
.mini h4 { font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.mini p { font-size: 13.5px; font-weight: 300; color: var(--ink-2); flex: 1; }
.mini .fix { font-size: 13px; color: var(--green); font-weight: 500; border-top: 1px dashed var(--hairline-soft); padding-top: 12px; }

/* ---------- finale — full-bleed ink band ---------- */

.finale { padding: 0; background: #212121; margin-top: 84px; overflow: hidden; }
.finale-panel { padding: clamp(72px, 9vw, 116px) 0; color: var(--cream); position: relative; }
.finale-art {
  position: absolute; right: clamp(8px, 5vw, 70px); top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 24vw, 320px);
  pointer-events: none;
}
.finale-art img { width: 100%; height: auto; mix-blend-mode: lighten; }
@media (max-width: 1020px) { .finale-art { display: none; } }
.finale-panel .eyebrow { color: #7fc2a4; }
.finale-panel h2 {
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 20ch; margin-bottom: 22px;
}
.finale-panel h2 .accent {
  color: #7fc2a4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 Q 40 3 85 7 T 160 6 T 217 7' fill='none' stroke='%237fc2a4' stroke-width='4' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E");
}
.finale-panel p { color: rgba(245, 244, 241, 0.72); font-weight: 300; max-width: 58ch; font-size: 17px; margin-bottom: 34px; }
.finale-panel p strong { color: var(--cream); font-weight: 500; }
.finale-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.finale-panel .btn.primary { background: var(--cream); color: var(--ink); }
.finale-panel .btn.primary:hover { background: #fff; }
.finale-meta { margin-top: 44px; font-size: 12.5px; font-weight: 300; color: rgba(245,244,241,0.45); }
@media (min-width: 1021px) {
  .finale-panel h2, .finale-panel p, .finale-btns { max-width: 56%; }
}

/* ---------- footer ---------- */

footer { padding: 44px 0 60px; }
footer .shell { display: flex; flex-direction: column; gap: 18px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: baseline; }
footer p { font-size: 13px; font-weight: 300; color: var(--ink-3); max-width: 86ch; line-height: 1.65; }
footer .sig { font-size: 13.5px; color: var(--ink-2); }
footer .sig strong { color: var(--green); font-weight: 500; }

/* ---------- reveal ---------- */

body.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js .reveal { opacity: 1; transform: none; transition: none; }
  .bar-fill { transition: none; }
}
