/* Chill Division site styles: light theme, black on white.
   One stylesheet for every redesigned page. Pages that haven't moved over yet still use
   pico.min.css + custom.css. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f2;
  --ink: #0d0d0d;
  --text: #2c2c2a;
  --muted: #64645f;
  --line: #e4e3de;
  --accent: #2f6b45;
  --accent-soft: #eaf2ec;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.07);

  --max: 1160px;
  --read: 68ch;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em 0;
}

strong {
  color: var(--ink);
  font-weight: 650;
}

ul,
ol {
  margin: 0 0 1em 0;
  padding-left: 1.25em;
}

hr {
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--line);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.prose {
  max-width: var(--read);
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  border-color: #e9e9e6;
  background: #e9e9e6;
  color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  width: auto;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}

.site-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.site-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: #2b2b2b;
  color: #fff;
}

.site-nav .nav-cta[aria-current="page"] {
  text-decoration: none;
}

.nav-icon {
  display: inline-flex;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 879px) {
  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .site-nav a[aria-current="page"] {
    text-decoration: none;
    color: var(--accent);
  }

  .site-nav .nav-cta {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-bottom: 0;
    text-align: center;
  }

  .site-nav .nav-icon {
    gap: 0.6rem;
    align-items: center;
  }

  .site-nav .nav-icon::after {
    content: "Instagram";
  }

  /* Without JavaScript the menu button can't open anything, so just show the links. */
  .no-js .menu-toggle {
    display: none;
  }

  .no-js .site-nav {
    position: static;
    display: flex;
    box-shadow: none;
  }

  .no-js .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--ink);
  color: #b9b9b4;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.footer-brand img {
  width: auto;
  height: 44px;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 30ch;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a28;
  font-size: 0.85rem;
}

/* ---------- Page hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.hero .lead {
  max-width: 34ch;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.hero-media .tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* A short headline-sized paragraph between sections. */
.statement {
  max-width: 34em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.statement strong {
  font-weight: 750;
}

.quote-line {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

/* Text beside a callout or quote. */
.story-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 880px) {
  .story-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 560px) and (max-width: 759px) {
  .features > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Five cards: three across the top, two wider ones underneath. */
  .features > li {
    grid-column: span 2;
  }

  .features > li:nth-child(4),
  .features > li:nth-child(5) {
    grid-column: span 3;
  }
}

.feature {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* On phones the icon sits beside the text, which halves the height of the list. */
@media (max-width: 559px) {
  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    padding: 1.25rem;
  }

  .feature-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
  }
}

/* ---------- Dark band ---------- */
.band {
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #d6d6d1;
}

.band h2 {
  color: #fff;
}

.band strong {
  color: #fff;
}

.band p {
  max-width: 44rem;
  font-size: 1.1rem;
}

/* Heading and text on the left, buttons on the right. */
.band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.band-row h2 {
  margin-bottom: 0.4rem;
}

.band-row p {
  margin: 0;
}

.band-row .btn-row {
  margin-top: 0;
}

/* ---------- Follow / social row ---------- */
.follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 4.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.follow > div {
  flex: 1 1 28rem;
}

.follow h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
}

.follow p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
}

/* ---------- Link cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card-link:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: var(--text);
  transform: translateY(-2px);
}

.card-link h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

.card-link .more {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.card-link .more::after {
  content: " \2192";
}

/* ---------- Split: image beside text ---------- */
.split {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

@media (min-width: 760px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse > .split-media {
    order: 2;
  }
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.split-text > :last-child {
  margin-bottom: 0;
}

/* ---------- Highlight / callout ---------- */
.highlight {
  padding: clamp(1.75rem, 4.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.highlight > :last-child {
  margin-bottom: 0;
}

.highlight-title {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
}

.stat dt {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stat dd {
  margin: 0.7rem 0 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

/* On phones each number sits beside its label instead of above it. */
@media (max-width: 639px) {
  .stat {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
  }

  .stat dt {
    font-size: 1.65rem;
  }

  .stat dd {
    margin: 0;
    font-size: 0.92rem;
  }
}

/* ---------- Pull quote ---------- */
.pullquote {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.pullquote::before {
  content: "\201C";
  display: block;
  margin-bottom: -0.15em;
  color: var(--accent);
  font-size: 2.2em;
  line-height: 1;
}

/* ---------- Timeline ---------- */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  display: grid;
  gap: 0.75rem 2.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .timeline-year {
    grid-template-columns: 9rem 1fr;
  }

  .timeline-year h3 {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    align-self: start;
  }
}

.timeline-year h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.timeline-year h3 small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}

.timeline-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-items li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.9rem;
  padding-block: 0.6rem;
  border-bottom: 1px dashed var(--line);
}

.timeline-items li:last-child {
  border-bottom: 0;
}

.timeline-items p {
  margin: 0;
}

.timeline-note {
  max-width: var(--read);
  margin-top: 1.75rem;
  color: var(--muted);
}

.timeline-month {
  padding-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   Inner pages and shared components
   ===================================================================== */

/* ---------- Inner page header ---------- */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3.5vw, 2.5rem);
}

.page-hero .section-head {
  max-width: 52rem;
  margin-bottom: 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-hero .lead {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero .meta {
  margin: 0.25rem 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-body {
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- Long-form text ---------- */
.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
}

.prose h3 {
  margin-top: 2em;
  font-size: 1.25rem;
}

.prose h4 {
  margin-top: 1.6em;
  font-size: 1.05rem;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose li > ul,
.prose li > ol {
  margin: 0.4em 0 0 0;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.25em;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

.prose img {
  border-radius: var(--radius);
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 0.9em;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.prose pre code {
  padding: 0;
  background: none;
}

/* ---------- Tables ---------- */
.table,
.prose table {
  width: 100%;
  margin: 0 0 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.975rem;
}

.table th,
.table td,
.prose th,
.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table thead th,
.prose thead th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table tr:last-child > td,
.table tr:last-child > th,
.prose tr:last-child > td,
.prose tr:last-child > th {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.table-wrap .table {
  margin: 0;
}

/* ---------- Callouts ---------- */
.callout {
  margin: 0 0 1.5rem 0;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout-warning {
  border-left-color: #b4541a;
}

.callout-danger {
  border-color: #f0c9c4;
  border-left-color: #b42318;
  background: #fdf3f2;
}

.fine-print {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Forms ---------- */
label {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 560;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #d6d5cf;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9a9a93;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.08);
  outline: none;
}

input[readonly] {
  background: var(--bg-soft);
}

[aria-invalid="true"] {
  border-color: #b42318 !important;
}

input[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

label small,
input + small,
textarea + small,
select + small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

fieldset {
  min-width: 0;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.6rem;
  padding: 0;
  color: var(--ink);
  font-weight: 650;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  flex: none;
  width: 1.3em;
  height: 1.3em;
  margin: 0 0.6em 0 0;
  border: 1.5px solid #b9b8b2;
  background: #fff;
  vertical-align: -0.25em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"] {
  border-radius: 6px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: var(--ink);
  background: var(--ink);
}

input[type="checkbox"]:checked::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="radio"]:checked::before {
  content: "";
  width: 0.48em;
  height: 0.48em;
  border-radius: 50%;
  background: #fff;
}

input[type="checkbox"][role="switch"] {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 1.45em;
  border: 0;
  border-radius: 999px;
  background: #d6d5cf;
}

input[type="checkbox"][role="switch"]::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0.2em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  clip-path: none;
  transition: transform 0.18s ease;
}

input[type="checkbox"][role="switch"]:checked {
  background: var(--accent);
}

input[type="checkbox"][role="switch"]:checked::before {
  transform: translateX(1.05em);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
  font-weight: 500;
  cursor: pointer;
}

/* An input and its button joined together. */
[role="group"] {
  display: flex;
  align-items: stretch;
  margin-bottom: 0.6rem;
}

[role="group"] > input {
  margin: 0;
  border-radius: 10px 0 0 10px;
}

[role="group"] > button {
  flex: none;
  padding: 0 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 0 10px 10px 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- FAQ accordions ---------- */
.faq-layout {
  display: grid;
  gap: 2rem;
}

.faq-list {
  min-width: 0;
  max-width: 50rem;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-nav-title {
  display: none;
}

.faq-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 560;
  text-decoration: none;
}

.faq-nav a:hover {
  border-color: var(--ink);
}

.faq-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1000px) {
  .faq-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }

  /* Pulled left by the links' padding so their text lines up with the page title. */
  .faq-nav {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.15rem;
    margin-left: -0.9rem;
  }

  .faq-nav-title {
    display: block;
    margin: 0 0 0.6rem 0;
    padding-left: 0.9rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .faq-nav a {
    justify-content: space-between;
    min-height: 0;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 10px;
  }

  .faq-nav a:hover,
  .faq-nav a[aria-current="true"] {
    background: var(--bg-soft);
  }

  .faq-nav a[aria-current="true"] {
    color: var(--accent);
  }
}

.faq-group {
  margin-bottom: 2.75rem;
}

.faq-group > h2,
.faq-group > h3 {
  margin: 0 0 1rem 0;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.faq-group details {
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-group details[open] {
  border-color: #cfcec8;
  box-shadow: var(--shadow);
}

.faq-group summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.25rem;
  color: var(--ink);
  font-weight: 620;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-left: 0.25rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-group details[open] > summary::after {
  transform: translateY(25%) rotate(-135deg);
}

.faq-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text);
}

.faq-content > :last-child {
  margin-bottom: 0;
}

.share-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
}

.share-btn:hover,
.share-btn:focus-visible {
  background: var(--bg-soft);
  color: var(--ink);
  opacity: 1;
}

.share-btn svg {
  width: 17px;
  height: 17px;
}

/* ---------- Pop-up dialogs (explainers, product info) ---------- */
.explainer-overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 13, 13, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.explainer-modal,
.modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modal-in 0.2s ease-out;
}

.explainer-modal h3,
.modal h2,
.modal h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.explainer-modal .close-button,
.modal .close-button {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* The same pop-up as a native <dialog> (hemp explainers): the browser handles focus, Escape and the backdrop. */
dialog.explainer {
  width: min(540px, 100% - 2rem);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

dialog.explainer::backdrop {
  background: rgba(13, 13, 13, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

html:has(dialog[open]) {
  overflow: hidden;
}

/* The little "?" buttons that open an explainer. */
.ref-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  margin: 0 0.1rem 0 0.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--accent);
  vertical-align: -0.3em;
  line-height: 1;
  cursor: pointer;
}

/* The word before a "?" and the "?" itself never split across lines. */
.ref-nowrap {
  white-space: nowrap;
}

/* A bigger target for fingers than the icon itself. */
.ref-btn::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
}

.ref-btn:hover {
  background: var(--accent-soft);
}

.ref-btn svg {
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
}

/* ---------- Toast ("Link copied") ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 1100;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 550;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Resource cards ---------- */
.resource-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 620px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.resource-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: var(--text);
  transform: translateY(-2px);
}

.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  object-fit: cover;
}

.resource-card .resource-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem 1.3rem 1.25rem;
}

.resource-type {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-card h2,
.resource-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.38;
}

/* ---------- Testimonials ---------- */
/* One testimonial per row, like the About timeline: the client on the left, their words on the right. */
.testimonials {
  border-top: 1px solid var(--line);
}

.testimonial {
  display: grid;
  margin: 0;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.testimonial::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  color: var(--accent);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.testimonial blockquote {
  max-width: var(--read);
  margin: 0;
}

.testimonial blockquote p {
  color: var(--text);
  font-size: 1.05rem;
}

.testimonial blockquote p:last-child {
  margin-bottom: 0;
}

.testimonial figcaption {
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.testimonial figcaption::before {
  content: "\2014\00a0";
  color: var(--muted);
  font-weight: 400;
}

@media (min-width: 760px) {
  .testimonial {
    grid-template-columns: 12rem minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
  }

  .testimonial::before {
    grid-column: 1;
    grid-row: 1;
  }

  .testimonial figcaption {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    margin-top: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .testimonial figcaption::before {
    content: none;
  }

  .testimonial blockquote {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* ---------- Contact methods ---------- */
.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card .btn {
  align-self: flex-start;
  margin-top: 0.75rem;
}

.embed-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.embed-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ---------- Cultivar cards (Genetics) ---------- */
.cultivar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 620px) {
  .cultivar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cultivar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cultivar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cultivar img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-soft);
  object-fit: cover;
}

.cultivar-body {
  padding: 1.2rem 1.3rem 1.35rem 1.3rem;
}

.cultivar-body h3 {
  margin: 0 0 0.2rem 0;
  font-size: 1rem;
}

.cultivar-body .lineage {
  margin: 0 0 0.9rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
  font-size: 0.94rem;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.32em;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-soft);
}

.checklist li::after {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0.38rem;
  width: 0.38rem;
  height: 0.22rem;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Buy NZ Made badge ---------- */
#id-Badge4 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
}

@media (max-width: 768px) {
  #id-Badge4,
  #id-Badge4 iframe {
    width: 80px !important;
    height: 80px !important;
  }

  #id-Badge4 {
    bottom: 70px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  #id-Badge4 {
    display: none !important;
  }
}
