/* ─── Grow Hemp · v4 ───────────────────────────────────────────────────
   Pure white. Near-black ink. Vivid orange accent.
   Sans-only. No arrow glyphs.
─────────────────────────────────────────────────────────────────────── */

:root {
  --paper: #ffffff;
  --paper-2: #f7f7f7;          /* used ONLY where a separator is needed */
  --ink: #0e0f10;              /* near-black */
  --ink-2: #4a4d50;
  --ink-3: #8a8d90;
  --rule: rgba(14, 15, 16, 0.10);
  --rule-strong: rgba(14, 15, 16, 0.22);
  --accent: #FF4D1F;
  --accent-deep: #E13C12;

  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --content-max: 1320px;
  --gutter-mobile: 22px;
  --gutter-tablet: 40px;
  --gutter-desktop: 64px;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#root { width: 100%; min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Stage / frames ─────────────────────────────────────────────────── */
.stage {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  background: var(--paper);
}
.stage.frame-mobile {
  padding: 32px 16px;
  background: radial-gradient(ellipse at 50% 30%, #232320 0%, #0c0c0a 80%);
}
.stage.frame-mobile .site {
  width: 390px;
  max-width: 100%;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 0 0 10px #0a0a08, 0 0 0 11px #2a2a26, 0 30px 80px -10px rgba(0,0,0,.6);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.stage.frame-desktop { padding: 0; background: var(--paper); }
.stage.frame-desktop .site { width: 100%; min-height: 100vh; }
.stage.frame-mobile .site::-webkit-scrollbar { width: 4px; }
.stage.frame-mobile .site::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 4px; }

/* ─── Site shell ─────────────────────────────────────────────────────── */
.site {
  container-type: inline-size;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  position: relative;
}

/* ─── Buttons (rectangular, sans, no arrows) ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 16px 28px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn-accent {
  background: var(--accent);
  color: #ffffff;
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-light {
  background: #ffffff;
  color: var(--ink);
}
.btn-light:hover { background: rgba(255,255,255,0.88); }
.btn-sm {
  padding: 11px 18px;
  font-size: 13px;
}

/* ─── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter-mobile);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.brand-dot { color: var(--accent); transition: color 0.15s ease; }
/* Hover inverts the wordmark: orange text, black dot */
.brand:hover { color: var(--accent); }
.brand:hover .brand-dot { color: var(--ink); }
.nav-links { display: none; }
.nav-burger {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform 0.22s ease, opacity 0.2s ease, width 0.22s ease;
}
.nav-burger span:nth-child(1) { width: 22px; }
.nav-burger span:nth-child(2) { width: 22px; }
.nav-burger span:nth-child(3) { width: 14px; }

/* Burger morphs into an X when the mobile menu is open */
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 22px; }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }

/* Mobile dropdown menu (shown when .nav-open is toggled by nav.js) */
@container (max-width: 719px) {
  .nav { flex-wrap: wrap; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    margin-top: 12px;
  }
  .nav-links.nav-open > a,
  .nav-links.nav-open .nav-item > a {
    display: block;
    padding: 14px 2px;
    font-family: var(--body);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-top: 1px solid var(--rule);
  }
  .nav-links.nav-open .nav-sub {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
  }
  .nav-links.nav-open .nav-sub > a {
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 12px 2px 12px 18px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .nav-links.nav-open .nav-sub > a:hover { background: transparent; color: var(--accent); }
}

@container (min-width: 720px) {
  .nav { padding: 22px var(--gutter-tablet); }
  .brand { font-size: 26px; }
  .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
  }
  .nav-links > a, .nav-item > a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
  }
  .nav-links > a::after, .nav-item > a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-links > a:hover::after, .nav-item:hover > a::after { transform: scaleX(1); }

  /* dropdown */
  .nav-item {
    position: relative;
    padding: 6px 0;
  }
  .nav-sub {
    position: absolute;
    top: 100%;
    left: -16px;
    margin-top: 0;
    padding-top: 12px;
    min-width: 220px;
    display: none;
    z-index: 100;
  }
  .nav-item:hover .nav-sub,
  .nav-item:focus-within .nav-sub { display: block; }
  .nav-sub > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    line-height: 1.2;
    transition: color 0.15s ease, background 0.15s ease;
  }
  .nav-sub > a:first-child {
    border-top: 1px solid var(--rule);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  .nav-sub > a:last-child {
    border-bottom: 1px solid var(--rule);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 12px 30px -8px rgba(14, 15, 16, 0.10);
  }
  .nav-sub > a:hover { color: var(--accent); background: var(--paper-2); }
  .nav-sub-soon {
    color: var(--ink-3) !important;
    cursor: default;
  }
  .nav-sub-soon:hover { color: var(--ink-3) !important; background: var(--paper) !important; }
  .nav-sub-tag {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    border: 1px solid var(--rule-strong);
    padding: 3px 6px 3px;
    border-radius: 999px;
    line-height: 1;
  }
  .nav-burger { display: none; }
}
@container (min-width: 1100px) {
  .nav { padding: 22px var(--gutter-desktop); }
  .brand { font-size: 28px; }
}

/* ─── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 440px;
  max-height: 720px;
  overflow: hidden;
  color: #ffffff;
  display: block;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 0.35) 92%,
      rgba(0, 0, 0, 0.7) 100%);
}

.hero-label {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: var(--gutter-mobile);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 9px 12px 8px;
  background: var(--accent);
  border-radius: 3px;
  white-space: nowrap;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter-mobile) 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
}

.hero-h {
  font-family: var(--display);
  font-size: clamp(36px, 6.4cqw, 64px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 50ch;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

@container (min-width: 720px) {
  .hero {
    aspect-ratio: 16 / 7;
    min-height: 460px;
    max-height: 640px;
  }
  .hero-label {
    top: 32px;
    left: var(--gutter-tablet);
  }
  .hero-content {
    padding: 0 var(--gutter-tablet) 56px;
    gap: 20px;
  }
  .hero-sub { font-size: 19px; max-width: 56ch; }
}
@container (min-width: 1100px) {
  .hero {
    aspect-ratio: 21 / 9;
    min-height: 520px;
    max-height: 720px;
  }
  .hero-label {
    top: 40px;
    left: var(--gutter-desktop);
  }
  .hero-content {
    padding: 0 var(--gutter-desktop) 64px;
    max-width: 1040px;
  }
  .hero-h { font-size: clamp(48px, 4.4cqw, 64px); }
}

/* ─── INTRO ──────────────────────────────────────────────────────────── */
.intro {
  padding: 44px var(--gutter-mobile);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.intro-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.intro-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 4px;
}
.intro-h {
  font-family: var(--display);
  font-size: clamp(32px, 5.8cqw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.intro-body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intro-body p { margin: 0; }
.intro-footnote {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 4px !important;
}
.intro-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.intro-body a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
.intro-body strong {
  color: var(--ink);
  font-weight: 600;
}

@container (min-width: 720px) {
  .intro { padding: 56px var(--gutter-tablet); }
  .intro-body { font-size: 17px; }
}
@container (min-width: 1100px) {
  .intro { padding: 72px var(--gutter-desktop); }
  .intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .intro-left { display: flex; flex-direction: column; gap: 16px; }
  .intro-body { padding-top: 10px; }
}

/* ─── CULTIVARS ──────────────────────────────────────────────────────── */
.cultivars {
  padding: 44px var(--gutter-mobile);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.cultivars-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.cultivars-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.cultivars-h {
  font-family: var(--display);
  font-size: clamp(36px, 6.4cqw, 60px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cultivars-sub {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}

.cult-grid {
  display: grid;
  gap: 22px;
}
.cult-grid-card { grid-template-columns: 1fr; }
.cult-grid-fullbleed { grid-template-columns: 1fr; gap: 12px; }

@container (min-width: 720px) {
  .cultivars { padding: 56px var(--gutter-tablet); }
  .cult-grid-card { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cult-grid-fullbleed { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cultivars-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .cultivars-sub { max-width: none; font-size: 17px; }
}
@container (min-width: 1100px) {
  .cultivars { padding: 72px var(--gutter-desktop); }
  .cultivars-head { margin-bottom: 32px; }
}

/* Card */
.cult-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.cult-card:hover {
  border-color: var(--rule-strong);
  box-shadow: 0 12px 30px -8px rgba(14, 15, 16, 0.18);
  transform: translateY(-3px);
}
.cult-card-img-link {
  display: block;
  overflow: hidden;
  background: #eaeaea;
}
.cult-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
/* "Coming soon" tile state (CBD Seeds landing) */
.cult-card-soon { opacity: 0.7; cursor: default; }
.cult-card-soon .cult-card-img img { filter: saturate(0.85); }
.cult-card-readmore-soon {
  color: var(--ink-3);
  border-bottom-color: var(--ink-3);
}
.cult-card-readmore-soon:hover {
  color: var(--ink-3);
  border-bottom-color: var(--ink-3);
}
.cult-card-wrap {
  text-decoration: none;
  color: inherit;
  display: block;
}
.cult-card-link:hover .cult-card-img img { transform: scale(1.04); }
.cult-card:hover .cult-card-img img { transform: scale(1.04); }
.cult-card-name a {
  color: inherit;
  text-decoration: none;
}
.cult-card-name a:hover { color: var(--accent); }
.cult-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.cult-card-readmore {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  line-height: 1.2;
  align-self: flex-start;
  margin-top: 6px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.cult-card-readmore:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}
.cult-fb-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px 0;
}
.cult-fb-readmore {
  display: inline-block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  line-height: 1.2;
  margin-top: 4px;
}
.cult-card-img {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #eaeaea;
  border-radius: 12px;
}
.cult-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cult-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.cult-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cult-card-n {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}
.cult-card-cbd {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1;
}
.cult-card-name {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ink);
  margin-top: 2px;
}
.cult-card-summary {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1;
}
.cult-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  padding: 11px 18px;
  border-radius: 4px;
  line-height: 1;
  align-self: flex-start;
  margin-top: 6px;
  transition: background 0.18s ease;
}
.cult-card-link:hover .cult-card-cta { background: var(--accent-deep); }

@container (min-width: 720px) {
  .cult-card-img { height: 380px; }
  .cult-card-name { font-size: 36px; }
}
@container (min-width: 1100px) {
  .cult-card-img { height: 420px; }
  .cult-card-name { font-size: 40px; }
}

/* Full-bleed tile */
.cult-fb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  color: #ffffff;
  border-radius: 6px;
}
.cult-fb-link {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.cult-fb-img { position: absolute; inset: 0; }
.cult-fb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cult-fb-link:hover .cult-fb-img img { transform: scale(1.04); }
.cult-fb-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
}
.cult-fb-body {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cult-fb-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cult-fb-n {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.cult-fb-cbd {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.cult-fb-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cult-fb-name {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}
.cult-fb-summary {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.cult-fb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  padding: 11px 18px;
  border-radius: 4px;
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
  transition: background 0.18s ease;
}
.cult-fb-link:hover .cult-fb-cta { background: var(--accent-deep); }

/* ─── STORY (editorial spread, text left / image right) ──────────────── */
.story {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 44px var(--gutter-mobile);
}
.story-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.story-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: none;
}
.story-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
.story-h {
  font-family: var(--display);
  font-size: clamp(32px, 5.2cqw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.story-h-num {
  color: var(--accent);
  font-size: 1.15em;
  letter-spacing: -0.04em;
  margin-right: 0.08em;
  line-height: 1;
}
.story-body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.story-body p { margin: 0; }
.story-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 14px 0 22px;
  line-height: 1;
}
.story-genealogy {
  width: 100%;
}
.story-genealogy .gen-section { padding: 0; border-top: 0; }
.story-stats-sep { color: var(--accent); opacity: 0.6; }
.story-figure {
  margin: 0;
}
.story-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 12px;
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

@container (min-width: 720px) {
  .story { padding: 56px var(--gutter-tablet); }
  .story-body { font-size: 17px; }
  .story-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 56px;
    align-items: stretch;
  }
  .story-content { align-self: start; }
}
@container (min-width: 1100px) {
  .story { padding: 72px var(--gutter-desktop); }
  .story-content { gap: 20px; }
  .story-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 72px; }
}

/* ─── CONTACT ────────────────────────────────────────────────────────── */
.contact {
  padding: 44px var(--gutter-mobile) 44px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.contact-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.contact-head {
  margin-bottom: 22px;
}
.contact-h {
  font-family: var(--display);
  font-size: clamp(36px, 6.4cqw, 60px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.contact-sub {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 26px 30px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: all 0.2s ease;
}
.contact-card:hover {
  border-color: var(--ink);
}
.contact-card-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-card-value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 2px;
}
.contact-card-note {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

@container (min-width: 720px) {
  .contact { padding: 56px var(--gutter-tablet) 56px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-card { padding: 36px 32px 40px; }
  .contact-card-value { font-size: 36px; }
}
@container (min-width: 1100px) {
  .contact { padding: 72px var(--gutter-desktop) 72px; }
  .contact-head { margin-bottom: 28px; }
  .contact-card-value { font-size: 38px; }
}

/* ─── FOOTER (solid orange) ─────────────────────────────────────────── */
.foot {
  background: var(--accent);
  color: #ffffff;
  padding: 44px var(--gutter-mobile) 28px;
}
.foot-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-brand-name {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}
.foot-brand-sub {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  white-space: nowrap;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
}
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.foot-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.foot-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
}
.foot-meta {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@container (min-width: 720px) {
  .foot { padding: 56px var(--gutter-tablet) 32px; }
  .foot-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
  .foot-cols {
    grid-template-columns: repeat(2, auto);
    gap: 60px;
  }
  .foot-brand-name { font-size: 40px; }
  .foot-links { align-items: flex-end; text-align: right; }
  .foot-bottom { flex-direction: row; justify-content: space-between; }
}
@container (min-width: 1100px) {
  .foot { padding: 72px var(--gutter-desktop) 40px; }
  .foot-brand-name { font-size: 44px; }
}

/* ─── Contact modal ──────────────────────────────────────────────────── */
.cm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 15, 16, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cm-backdrop.cm-open { display: flex; }
.cm-dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 12px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.cm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.cm-close:hover { border-color: var(--ink); }
.cm-h {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.cm-sub { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-bottom: 24px; max-width: 42ch; }
.cm-form { display: flex; flex-direction: column; gap: 16px; }
.cm-field { display: flex; flex-direction: column; gap: 7px; }
.cm-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cm-input, .cm-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
}
.cm-input:focus, .cm-textarea:focus { outline: none; border-color: var(--accent); }
.cm-textarea { resize: vertical; min-height: 108px; }
.cm-submit { margin-top: 6px; align-self: flex-start; }
.cm-error { margin: 0; color: var(--accent-deep); font-size: 13px; }
.cm-thanks { display: none; text-align: center; padding: 20px 0 8px; }
.cm-thanks p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Enquiry context (pack summary shown when opened from a cultivar page) */
.cm-eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.cm-summary { margin-bottom: 22px; }
.cm-summary:empty { display: none; }
.cm-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-2);
}
.cm-summary-row:first-child { border-top: 1px solid var(--rule); }
