/* Nunito and Nunito Sans (SIL Open Font License), self-hosted: no third-party requests. */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0B2E24;
  --ink-2: #12402F;
  --paper: #F8FAF6;
  --soft: #EDF3E6;
  --white: #FFFFFF;
  --muted: #55655E;
  --line: rgba(11, 46, 36, 0.1);
  --accent: #B2D06B;
  --green: #10A271;
  --accent-dark: #0C7A55;
  --pp: #02422F;
  --pp-accent: #F9C654;
  --pp-soft: #E4F5AD;
  --cd: #15803D;
  --cd-soft: #DCF5E5;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(11, 46, 36, 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-sine: cubic-bezier(0.37, 0, 0.63, 1);   /* idle loops: a smooth wave */
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
h3 { font-size: 1.35rem; font-weight: 800; }
h4 { font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em;
  background: var(--ink); color: #fff;
  border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform 160ms var(--ease-out), background 150ms ease, color 150ms ease, box-shadow 150ms ease;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.97); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); }

.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; overflow-wrap: anywhere; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 246, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.brand img { height: 46px; width: auto; }
.site-footer .brand img { height: 56px; }
.logo-stack { position: relative; display: block; width: 134px; height: 46px; }
.logo-stack img { position: absolute; inset: 0; will-change: transform, opacity; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink-2); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; }
.bars { top: 21px; transition: background 150ms ease; }
.bars::before, .bars::after { left: 0; top: 0; transition: transform 200ms var(--ease-in-out); }
.bars::before { transform: translateY(-7px); }
.bars::after { transform: translateY(7px); }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: rotate(45deg); }
.nav-open .bars::after { transform: rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hl { position: relative; white-space: nowrap; color: var(--accent-dark); }
.hl-line {
  position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--accent); opacity: .6; border-radius: 4px; z-index: -1;
  transform-origin: left center;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-visual { position: relative; min-height: 420px; }
.blob {
  position: absolute; inset: 8% 4% 4% 10%;
  background: radial-gradient(circle at 30% 30%, #D3EBA6, transparent 60%),
              radial-gradient(circle at 75% 70%, var(--pp-soft), transparent 55%),
              radial-gradient(circle at 70% 20%, var(--cd-soft), transparent 55%);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  z-index: 0;
  animation: blob-turn 60s linear infinite, blob-breathe 8s var(--ease-sine) infinite alternate;
}
@keyframes blob-turn { to { rotate: 360deg; } }
@keyframes blob-breathe { from { scale: .97; } to { scale: 1.03; } }
.float-card {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 14px 20px 14px 14px;
  box-shadow: var(--shadow);
  animation: card-float var(--float, 5.2s) var(--ease-sine) var(--float-delay, 0s) infinite alternate;
}
@keyframes card-float { to { translate: 0 -4px; } }
.float-card img { width: 48px; height: 48px; border-radius: 12px; }
.float-card .pea {
  transform-origin: 50% 90%;
  animation: pea-rock 2.1s var(--ease-sine) -1s infinite alternate, pea-breathe 1.8s var(--ease-sine) infinite alternate;
}
@keyframes pea-rock { from { rotate: -3deg; } to { rotate: 3deg; } }
/* Breathe 2% taller and keep the volume: width = 1 / height^0.6. */
@keyframes pea-breathe { to { scale: .988 1.02; } }
/* Nothing runs unseen: idle loops pause while the hero is off screen. */
.hero-visual:not(.is-live) .blob, .hero-visual:not(.is-live) .float-card, .hero-visual:not(.is-live) .pea { animation-play-state: paused; }
.float-card strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.float-card span { font-size: .88rem; color: var(--muted); }
.fc-pp { top: 12%; left: 0; --float: 5.2s; --float-delay: -1.3s; }
.fc-cd { top: 46%; right: 0; --float: 6.1s; --float-delay: -4.4s; }
.fc-cd .tag { font-style: normal; font-weight: 700; font-size: .75rem; color: var(--ink); background: var(--accent); padding: 3px 8px; border-radius: 999px; margin-left: 4px; display: inline-block; }
.fc-save { bottom: 6%; left: 14%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink); color: #fff; padding: 16px 24px; --float: 4.7s; --float-delay: -2.6s; }
.fc-save .save-label { color: #9DB8AC; font-size: .85rem; }
.fc-save .save-amount { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.fc-save .save-amount span { font: inherit; color: inherit; }

/* Facts */
.facts { background: var(--ink); color: #fff; padding: 40px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.facts strong { font-variant-numeric: tabular-nums; display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--accent); line-height: 1.1; }
.facts span { color: #C4D6CD; font-size: .95rem; }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow { color: var(--accent); }
.section-ink p { color: #C4D6CD; }
.section-soft { background: var(--soft); }

/* Brand cards */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brand-card {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 40px;
  display: flex; flex-direction: column;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.brand-card.pp { background: var(--pp-soft); }
.brand-card.cd { background: var(--cd-soft); }
.brand-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.brand-logo { height: 48px; width: auto; }
.pill { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); }
.brand-card h3 { font-size: 1.9rem; font-weight: 900; }
.brand-card.pp h3 { color: var(--pp); }
.brand-card.cd h3 { color: #14532D; }
.brand-card > p { color: #33413A; }
.ticks { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: currentColor no-repeat center / 12px;
}
.pp .ticks li::before { background-color: var(--pp); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23F9C654' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cd .ticks li::before { background-color: var(--cd); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.brand-link {
  margin-top: auto; align-self: flex-start;
  font-weight: 700; text-decoration: none;
  padding: .8em 1.3em; border-radius: 999px; color: #fff;
  transition: transform 160ms var(--ease-out);
  display: inline-flex; gap: .5em;
  -webkit-user-select: none; user-select: none;
}
.brand-link .arrow { display: inline-block; transition: transform 150ms var(--ease-out); }
.brand-link:active { transform: scale(.97); }
.pp .brand-link { background: var(--pp); }
.cd .brand-link { background: var(--cd); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid > div:first-child p { font-size: 1.1rem; }
.values { display: grid; gap: 18px; }
.value { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px 28px; }
.value-icon { font-family: var(--display); font-weight: 800; color: var(--accent); font-size: .95rem; display: block; margin-bottom: 6px; }
.value h3 { color: #fff; margin-bottom: .3em; }
.value p { margin: 0; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.partner h3 { font-size: 1.2rem; }
.partner p { color: var(--muted); font-size: .97rem; margin: 0; }
.cta-band {
  margin-top: 40px; padding: 40px 44px; border-radius: 28px;
  background: linear-gradient(120deg, #0C4D3A, #0E7F59);
  color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .92; }

/* Careers */
.careers { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.careers > div { max-width: 700px; }
.careers p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; margin: 0; }
.careers .btn { flex-shrink: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  transition: border-color 150ms ease, transform 160ms var(--ease-out);
}
a.contact-card:active { transform: scale(.97); }
.contact-card span { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.contact-card strong { font-family: var(--display); font-weight: 800; font-size: 1.2rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: #C4D6CD; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a:not(.brand) { display: block; text-decoration: none; margin-bottom: .5em; }

.site-footer .brand + p { margin-top: 1em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; font-size: .88rem; }
.footer-legal p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: none; }
.reveal.in { opacity: 1; transform: none; transition: opacity 280ms var(--ease-out) var(--stagger, 0ms), transform 280ms var(--ease-out) var(--stagger, 0ms); }

/* Responsive */
@media (max-width: 1000px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s 150ms;
  }
  .nav-open .site-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .brand-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .careers { flex-direction: column; align-items: flex-start; gap: 28px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand-card { padding: 28px 22px; }
  .partner-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .fc-pp { left: 0; }
  .float-card { padding: 12px 16px 12px 12px; }
  .float-card img { width: 40px; height: 40px; }
}

/* ---------- Inside pages ---------- */
.site-nav a[aria-current="page"]:not(.btn) { color: var(--accent-dark); font-weight: 700; }
.page-hero { padding: 64px 0 48px; }
.page-hero .lede { max-width: 40em; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.section-tight { padding-top: 24px; }
.narrow { max-width: 780px; }
.fine { font-size: .88rem; color: var(--muted); }
.section-ink .fine { color: #9DB8AC; }

.tbc {
  display: inline-block; font: 600 .82em/1.3 var(--body); letter-spacing: 0; text-transform: none;
  color: #6B4A00; background: #FFF1C2; border: 1px dashed #C9A227; border-radius: 6px; padding: 1px 6px;
}

.text-link {
  font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 4px; text-decoration-color: var(--accent); margin-right: 18px;
  transition: color 150ms ease;
}
.text-link-light { color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.split > div:first-child h2 { margin-bottom: 0; }
.prose { min-width: 0; }
.prose p, .prose li { max-width: 65ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; margin-bottom: .3em; }
.prose ul:not(.ticks), .prose ol:not(.code-list) { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.prose a:not(.btn):not(.text-link) { color: var(--accent-dark); text-underline-offset: 3px; }
.section-ink .prose a:not(.btn):not(.text-link) { color: var(--accent); }
.prose-page { max-width: 780px; }
.prose code { font-size: .9em; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); }
.prose blockquote p { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.3; margin-bottom: .4em; }
.prose blockquote footer { color: var(--muted); }

.brand-card-links { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; margin-top: auto; }
.brand-card-links .text-link { margin: 0; }

a.partner, .link-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  transition: border-color 150ms ease, transform 160ms var(--ease-out); }
.partner h3, .link-card h3 { margin: 0; }
.partner-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent-dark); font-size: .95rem; }
.partner-more::after { content: " →"; display: inline-block; transition: transform 150ms var(--ease-out); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.link-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.social-row { margin-top: 24px; color: var(--muted); }
.social-row a { color: var(--accent-dark); font-weight: 700; }

/* Brands */
.brand-rows { display: grid; gap: 24px; }
.brand-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: center; border-radius: 28px; padding: 40px; }
.brand-row.pp { background: var(--pp-soft); }
.brand-row.cd { background: var(--cd-soft); }
.brand-row .brand-logo { height: auto; width: 100%; max-width: 220px; }
.brand-row h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 10px 0 .3em; }
.brand-row p.pill { display: inline-block; margin: 0; }
.row-links { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 20px; }
.brand-hero.pp { background: linear-gradient(180deg, var(--pp-soft), var(--paper)); }
.brand-hero.cd { background: linear-gradient(180deg, var(--cd-soft), var(--paper)); }
.brand-hero-logo { height: 56px; width: auto; margin: 8px 0 24px; }
.ticks li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks-pp li::before { background-color: var(--pp); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23F9C654' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks-cd li::before { background-color: var(--cd); }
.section-ink .ticks li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%230B2E24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.prose .ticks { margin-bottom: 1.2em; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.stat-grid div { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.stat-grid dt { color: var(--muted); font-size: .9rem; }
.stat-grid dd { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

.values-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.4rem; margin-bottom: 16px; overflow: hidden; }
.avatar .tbc { font-size: .6rem; }
.person h3 { margin-bottom: .1em; }
.role { color: var(--accent-dark); font-weight: 700; margin-bottom: .6em; }

/* Contact */
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
div.contact-card a { text-decoration: none; color: inherit; }
div.contact-card a:hover strong { color: var(--accent-dark); }
.contact-card p { margin: 8px 0 0; color: var(--muted); font-size: .93rem; }

/* Advertise */
.goal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.goal { border-top: 4px solid var(--green); padding-top: 18px; }
.goal p { color: var(--muted); }
.goal p.goal-how { font-size: .93rem; margin: 0; color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.product h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.product p { margin: 0; color: var(--muted); font-size: .93rem; }
.product-brand { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.product-brand.is-pp { background: var(--pp-soft); color: var(--pp); }
.product-brand.is-cd { background: var(--cd-soft); color: #14532D; }

/* Media packs */
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pack { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 4px; }
.pack.pp { background: var(--pp-soft); border-color: transparent; }
.pack.cd { background: var(--cd-soft); border-color: transparent; }
.pack-head { min-height: 48px; display: flex; align-items: center; margin-bottom: 12px; }
.pack-head img { height: 44px; width: auto; }
.pack-head h3 { font-size: 1.5rem; margin: 0; }
.pack > p { color: #33413A; }
.pack-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 20px; }
.pack-stats div { background: rgba(255,255,255,.7); border-radius: 14px; padding: 12px 14px; }
.pack:not(.pp):not(.cd) .pack-stats div { background: var(--soft); }
.pack-stats dt { font-size: .8rem; color: var(--muted); }
.pack-stats dd { margin: 4px 0 0; font-family: var(--display); font-weight: 900; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.pack h4 { font-size: 1rem; margin: 0 0 .6em; }
.pack .ticks { margin-bottom: 24px; font-size: .95rem; }
.pack .btn { align-self: flex-start; }

/* Press */
.release-list { display: grid; gap: 16px; }
.release { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
  transition: border-color 150ms ease, transform 160ms var(--ease-out); }
.release h3 { margin: 8px 0 6px; font-size: 1.3rem; }
.release p { margin: 0; color: var(--muted); }
.release-date { font-size: .85rem; font-weight: 700; color: var(--accent-dark); }
.release-meta { color: var(--muted); font-weight: 600; }
.page-hero h1.h1-release { font-size: clamp(2rem, 4.4vw, 3rem); max-width: none; }
.boilerplate { font-size: 1.1rem; }
.copy-btn { cursor: pointer; font-family: inherit; }

/* Brand assets */
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.asset { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.asset-preview { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 24px; background-color: var(--paper);
  background-image: linear-gradient(45deg, var(--soft) 25%, transparent 25%, transparent 75%, var(--soft) 75%), linear-gradient(45deg, var(--soft) 25%, transparent 25%, transparent 75%, var(--soft) 75%);
  background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.asset-preview.is-dark { background: var(--ink); }
.asset-preview img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.asset figcaption { padding: 16px 18px; display: grid; gap: 4px; }
.asset figcaption a { color: var(--accent-dark); font-weight: 700; }
.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.swatch { display: grid; gap: 4px; }
.swatch-chip { aspect-ratio: 4 / 3; border-radius: 16px; display: flex; align-items: flex-end; padding: 12px; font-weight: 700; font-size: .85rem; color: var(--ink); border: 1px solid var(--line); margin-bottom: 6px; }
.swatch-chip.is-dark { color: #fff; }
.swatch span:last-child { color: var(--muted); font-size: .9rem; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.legal-nav a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; transition: color 150ms ease; }
.legal-nav a[aria-current="page"] { background: #fff; color: var(--ink); border-color: var(--line); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--soft); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.facts-list { display: grid; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.facts-list div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts-list div:last-child { border-bottom: 0; }
.facts-list dt { font-weight: 700; }
.facts-list dd { margin: 0; overflow-wrap: anywhere; }
.code-list { list-style: none; padding: 0; margin: 0 0 2em; counter-reset: code; display: grid; gap: 22px; }
.code-list li { counter-increment: code; position: relative; padding-left: 56px; }
.code-list li::before { content: counter(code); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--display); font-weight: 900; display: grid; place-items: center; }
.prose .code-list h2 { font-size: 1.25rem; margin: 0 0 .3em; }
.code-list p { margin: 0; }

.not-found { text-align: center; max-width: 640px; }
.not-found .lede { margin-left: auto; margin-right: auto; }
.not-found .hero-actions { justify-content: center; }

/* Footer */
.footer-brand p { margin: 1em 0 0; }
.footer-mail a { color: #fff; font-weight: 700; }

@media (max-width: 1000px) {
  .goal-grid, .product-grid, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-grid { grid-template-columns: 1fr; max-width: 620px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
  .brand-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .card-grid, .asset-grid { grid-template-columns: 1fr 1fr; }
  .values-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 32px; }
}
@media (max-width: 600px) {
  .goal-grid, .product-grid, .card-grid, .card-grid-4, .asset-grid, .contact-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list div { grid-template-columns: 1fr; gap: 2px; }
  .stat-grid dd { font-size: 1.6rem; }
  .text-link { display: inline-block; margin-bottom: 8px; }
}

/* Hover only where there is a real hover: on touch, a tap would leave it stuck. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,46,36,.2); }
  .btn:active { transform: scale(.97); box-shadow: none; }
  .btn-ghost:hover { background: var(--ink); color: #fff; }
  .site-nav a:not(.btn):hover { color: var(--accent-dark); }
  .brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .brand-link:hover .arrow { transform: translateX(4px); }
  a.contact-card:hover, .partner:hover, .link-card[href]:hover, .release:hover { border-color: var(--green); transform: translateY(-3px); }
  a.contact-card:active, .partner:active, .link-card[href]:active, .release:active { transform: scale(.97); }
  .partner:hover .partner-more::after, .link-card[href]:hover .partner-more::after { transform: translateX(4px); }
  .text-link:hover { color: var(--green); }
  .text-link-light:hover { color: var(--accent); }
  .legal-nav a:hover { color: var(--accent-dark); }
  .site-footer a:not(.brand):hover { color: #fff; }
}

/* Before the script runs, hold the hero's opening frame so nothing flashes in. */
.js:not(.motion-ready) .logo-stack img,
.js:not(.motion-ready) .float-card,
.js:not(.motion-ready) .hl-line { opacity: 0; }

/* Reduced motion: gentler, not nothing. Fades and colour changes stay; movement goes. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .float-card, .float-card .pea { animation: none; }
  .reveal { transform: none; }
  .btn, .brand-card, .brand-link, .brand-link .arrow, .contact-card, .site-nav,
  .btn:hover, .btn:active, .brand-card:hover, .brand-link:active, .brand-link:hover .arrow,
  a.contact-card:hover, a.contact-card:active, .partner, .partner:hover, .partner:active, .link-card, .link-card:hover, .link-card:active, .release, .release:hover, .release:active, .partner-more::after { transform: none; }
  .bars::before, .bars::after { transition: none; }
}
