/* ===========================================================
   House of Hyphae — shared stylesheet (LIGHT WATERCOLOR · gradient)
   Brand palette (from logo, deepened for AA contrast on light bg):
     --cyan #17B3D6   --blue #4A5FD6   --purple #8B5CF0
   Soft pastel watercolor background (sampled from brand artwork),
   dark ink text, light frosted-glass surfaces.
   =========================================================== */

:root {
  /* brand (deepened from the logo palette so text/icons hold contrast on light) */
  --cyan:   #17B3D6;
  --blue:   #4A5FD6;
  --purple: #8B5CF0;
  --cyan-deep: #0E93AD;
  --blue-deep: #33409E;
  --purple-deep: #5B2A9E;

  /* light watercolor surfaces */
  --bg:       #F2ECFB;   /* base reference colour */
  --bg-soft:  rgba(58,42,120,0.05);   /* alternating sections (subtle wash) */
  --surface:  rgba(255,255,255,0.62);   /* light frosted-glass card fill */
  --surface-2:rgba(255,255,255,0.80);   /* card hover */
  --line:     rgba(58,42,120,0.14);    /* hairlines / borders */
  --line-strong: rgba(58,42,120,0.24);

  /* text (dark ink for readability on the light background) */
  --ink:    #241C40;   /* primary ink text */
  --muted:  #5C5480;   /* secondary text (AA on light) */
  --faint:  #7D759E;   /* tertiary */

  --grad:   linear-gradient(135deg, var(--cyan-deep) 0%, var(--blue-deep) 50%, var(--purple) 100%);
  --grad-bright: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  --grad-v: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  /* deeper stops than grad-bright — used for gradient-clipped headings/links so
     they read as bold ink strokes instead of washing into the pastel bg */
  --grad-text: linear-gradient(135deg, #0E93AD 0%, #3346C0 50%, #6B2FB3 100%);
  /* pastel gradient used for solid button fills only — blends softly with the
     watercolor background instead of contrasting against it (icons, links,
     and headings keep the fully-saturated brand colors) */
  --grad-btn: linear-gradient(135deg, #B9A4FF 0%, #9FD6FF 100%);

  /* watercolor mesh background, sampled from the brand watercolor artwork */
  --bg-grad:
    radial-gradient(110% 75% at 8% 6%, rgba(203,177,255,0.55) 0%, transparent 55%),
    radial-gradient(100% 75% at 94% 8%, rgba(201,251,255,0.55) 0%, transparent 55%),
    radial-gradient(85% 65% at 90% 94%, rgba(226,201,255,0.50) 0%, transparent 55%),
    radial-gradient(85% 65% at 8% 92%, rgba(179,227,255,0.50) 0%, transparent 55%),
    linear-gradient(160deg, #efe7fb 0%, #e9f2fd 35%, #e3f9fb 62%, #f4e9fa 100%);

  --radius: 16px;
  --shadow: 0 18px 50px rgba(80,60,150,0.18);
  --glow:   0 0 0 1px rgba(255,255,255,0.5), 0 20px 60px rgba(78, 90, 220, 0.18);
  --maxw:   1140px;
  --font:   "Quicksand", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Quicksand", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-grad) fixed, var(--bg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient watercolor background — fixed behind all content. A static painted
   base (assets/HOH watercolor background.png) with a few large soft-light
   color blobs drifting slowly on top, so the blue/pink/purple washes appear
   to blend and shift very gradually. Occasional "ink drop" blooms are
   injected by js/hoh-watercolor-bg.js. */
.page-bg-water { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pbw-base {
  position: absolute; inset: -6%;
  background: url("../assets/HOH watercolor background.png") center/cover no-repeat;
  animation: pbwDrift 46s ease-in-out infinite alternate;
  will-change: transform;
  opacity: .2; /* base image visibility — droplets below are NOT affected by this */
}
@keyframes pbwDrift {
  0%   { transform: scale(1.06) translate(0, 0); }
  50%  { transform: scale(1.12) translate(-1.6%, 1.1%); }
  100% { transform: scale(1.06) translate(1.6%, -1.1%); }
}
.pbw-blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  mix-blend-mode: soft-light; opacity: .12; /* scaled down to match the .pbw-base at 20% visibility */
  will-change: transform;
}
.pbw-blob-a { width: 58vw; height: 58vw; top: -12%; left: -12%;
  background: radial-gradient(circle, #b9a4ff 0%, transparent 70%);
  animation: pbwFloatA 36s ease-in-out infinite; }
.pbw-blob-b { width: 62vw; height: 62vw; bottom: -16%; right: -12%;
  background: radial-gradient(circle, #ffb3e3 0%, transparent 70%);
  animation: pbwFloatB 44s ease-in-out infinite; animation-delay: -9s; }
.pbw-blob-c { width: 52vw; height: 52vw; top: 28%; left: 38%;
  background: radial-gradient(circle, #9fd6ff 0%, transparent 70%);
  animation: pbwFloatC 40s ease-in-out infinite; animation-delay: -22s; }
@keyframes pbwFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(5%, -4%) scale(1.1); }
}
@keyframes pbwFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-4%, 5%) scale(1.08); }
}
@keyframes pbwFloatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-3%, -4%) scale(0.94); }
}
.pbw-droplets { position: absolute; inset: 0; }
.pbw-drop {
  /* small, saturated "food coloring" drop — normal blend (not soft-light) so
     the color reads clearly, not just as a faint sheen. Starts as a thin
     angled streak (like falling rain) then blooms into a round splash. */
  --angle: -15deg;
  position: absolute; top: 0; left: 0; border-radius: 50%;
  mix-blend-mode: normal; pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--angle)) scale(0);
  animation: pbwDropSpread 2.1s cubic-bezier(.15,.7,.3,1) forwards;
}
@keyframes pbwDropSpread {
  0%   { transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(.35) scaleY(1.6); opacity: 0; }
  6%   { opacity: .61; }
  16%  { transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(1) scaleY(1); opacity: .58; }
  100% { transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(4.2) scaleY(4.2); opacity: 0; }
}

/* very soft color fluctuation following a drop landing — a blurred gradient
   band, NOT a ring outline, so it reads as an ombre shift rather than a
   drawn circle. A separate sibling element (not a ::after) so its own
   transform doesn't compound with the drop's scale/rotate animation above. */
.pbw-ripple {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  background: radial-gradient(circle, transparent 35%, var(--drop-color, #fff) 60%, transparent 78%);
  filter: blur(5px);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  animation: pbwRippleSpread 2.1s ease-out forwards;
}
@keyframes pbwRippleSpread {
  0%   { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
  16%  { opacity: .16; }
  100% { transform: translate(-50%, -50%) scale(4.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pbw-base, .pbw-blob { animation: none; }
  .pbw-drop { display: none; }
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; letter-spacing: .005em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

/* Custom brand lettering (h1/h2 only — see js/hoh-brand-font.js). The SVG's
   height is tied to 1em so it rides along with each heading's existing
   responsive clamp() font-size instead of needing its own breakpoints. */
.hoh-brand-heading { line-height: 1.3; }
.hoh-brand-heading svg { display: inline-block; height: 0.95em; width: auto; vertical-align: middle; }
p  { margin: 0 0 1rem; }

a { color: var(--cyan); text-decoration: none; transition: color .15s ease; }
a:hover { color: #8fe3f4; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue); /* fallback */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;                  /* uniform height whether the btn is <a> or <button> */
  border: 1.5px solid transparent;   /* keeps primary + outline the same height */
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; justify-content: center; align-items: center; }
.btn-primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-btn); color: var(--ink); font-weight: 700;
  box-shadow: 0 10px 30px rgba(110,139,255,0.32);
}
.btn-primary:hover { color: var(--ink); box-shadow: 0 14px 38px rgba(110,139,255,0.48); }
.btn-outline {
  background: rgba(58,42,120,0.05);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(58,42,120,0.10); color: var(--ink); border-color: var(--cyan); }

/* ---------- Top utility bar ---------- */
.top-bar {
  text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue-deep); background: rgba(255,255,255,0.5);
  padding: 7px 16px; border-bottom: 1px solid var(--line);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: saturate(160%) blur(32px);
  backdrop-filter: saturate(160%) blur(32px);
  box-shadow: 0 8px 30px rgba(80,60,150,0.16), inset 0 1px 0 rgba(255,255,255,0.6);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { height: 42px; width: auto; display: block; }
.brand .wordmark { height: 38px; transform: translateY(7px); }
.brand .name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: .01em; }

.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: .95rem; font-weight: 500; opacity: .82; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); opacity: 1; text-decoration: none; }
.nav-links a i { display: none; }               /* icons only in the mobile takeover menu */
.nav-close-item { display: none; }               /* close button only in the mobile takeover menu */

/* Contact nav item rendered as a gradient pill button */
.nav-links a.nav-cta {
  margin-left: 6px; padding: 9px 22px; border-radius: 999px;
  background: var(--grad-btn); color: var(--ink); font-weight: 700; opacity: 1;
  box-shadow: 0 6px 18px rgba(110,139,255,0.30);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active {
  color: var(--ink); opacity: 1; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(110,139,255,0.48);
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

  /* full-screen takeover menu.
     NB: .site-header has backdrop-filter, which makes it the containing block for
     position:fixed descendants — so we size with viewport units + top/left:0
     (the header sits at viewport 0,0) rather than inset:0 (which would only fill the header). */
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 90;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: saturate(150%) blur(34px);
    backdrop-filter: saturate(150%) blur(34px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }

  .nav-links li { width: auto; border-top: 0; }        /* no divider lines */
  .nav-links a {
    display: flex; align-items: center; justify-content: center; gap: 15px;
    padding: 15px 24px; opacity: 1;
    font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
    transform: translateY(12px); transition: transform .35s ease, color .2s ease;
  }
  .nav-links.open a { transform: translateY(0); }
  .nav-links a i {
    display: inline-block; font-size: 1.05em; width: 1.35em; text-align: center;
    background: var(--grad-bright);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .nav-links a:hover i, .nav-links a.active i { filter: brightness(1.14) saturate(1.08); }

  /* close (×) button, top-right of the overlay */
  .nav-close-item { display: block; position: absolute; top: 16px; right: 14px; width: auto; }
  .nav-close {
    background: none; border: 0; cursor: pointer; color: var(--ink);
    width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
    font-size: 1.7rem; transition: color .18s ease, background .18s ease;
  }
  .nav-close:hover { color: var(--cyan); background: rgba(58,42,120,0.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(72px, 11vw, 150px) 0;
}
/* inner-page hero banners: tighter top/bottom padding (home hero keeps its full height) */
.hero:not(.hero-home) { padding: clamp(38px, 6vw, 78px) 0; }
.hero-home {
  min-height: 60svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: clamp(48px, 7vw, 90px);
}
.hero h1 { margin-bottom: .3em; }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 1.6em; }
.hero-location { color: var(--faint); font-size: .88rem; font-weight: 500; margin: -1em auto 1.6em; letter-spacing: .01em; }
.hero-location i { color: var(--cyan); margin-right: 6px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-row .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 232px; }

.hero .wrap, .hero-content { position: relative; z-index: 1; }

/* two spinning mushroom cutouts flanking the hero logo (behind the content) */
.hero-spin {
  position: absolute; top: 32%;
  width: clamp(240px, 23vw, 400px); aspect-ratio: 1; z-index: 0;
  object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 22px 44px rgba(60,40,110,0.35));
}
.hero-spin-left  { left: 50%; transform: translate(calc(-100% - 175px), -50%); }
.hero-spin-right { left: 50%; transform: translate(175px, -50%); }
/* mobile: keep them, but let each hang half-off the viewport edge behind the content */
@media (max-width: 1024px) {
  .hero-spin { top: 26%; width: clamp(180px, 48vw, 270px); }
  .hero-spin-left  { left: 0;    right: auto; transform: translate(-50%, -50%); }
  .hero-spin-right { left: auto; right: 0;    transform: translate(50%, -50%); }
}

/* ---------- Scroll-spun product, fixed to the LEFT ---------- */
.spin-stage {
  position: fixed;
  left: clamp(8px, 3vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 32vw, 430px);
  aspect-ratio: 460 / 493;
  z-index: 5;                       /* above content, below the sticky header (50) */
  pointer-events: none;            /* never blocks clicks on the content behind it */
  isolation: isolate;
}
/* Home page: clear a left lane for the mushroom and push content to the right.
   Drop the per-section background panels so the page reads as one uniform
   gradient backdrop (mushroom left, content right) with no vertical seam. */
.home-spin main { padding-left: clamp(280px, 36vw, 500px); }
.home-spin .hero { background: none; border-bottom: none; }
.home-spin .section.has-video { background: none; border-top: none; border-bottom: none; }
.home-spin .section.soft { background: none; }
@media (max-width: 900px) {
  .spin-stage { display: none; }
  .home-spin main { padding-left: 0; }   /* full width again on narrow screens */
}
.spin-frame {
  width: 100%; height: 100%; object-fit: contain; display: block;
  user-select: none; -webkit-user-select: none; pointer-events: none;
  animation: spinFloat 6s ease-in-out infinite;   /* gentle idle float */
}
@keyframes spinFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}


/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section.soft { background: transparent; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 600; margin-bottom: .7em; display: block;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blue);
}

/* Mission feature section — content sits on a dark frosted-glass tile (matches other sections) */
.section.has-video > .wrap { position: relative; z-index: 1; }
.section.has-video .section-head {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(32px) saturate(150%); backdrop-filter: blur(32px) saturate(150%);
  box-shadow: 0 22px 48px rgba(80,60,150,0.16), 0 4px 12px rgba(80,60,150,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
  padding: clamp(32px, 4.5vw, 56px); max-width: 780px; margin-bottom: 0;
}
/* mission: spinning mushroom on the left, left-aligned copy on the right */
.mission-head { display: flex; align-items: center; gap: clamp(22px, 4vw, 48px); text-align: left; }
.mission-spin {
  flex: none; width: clamp(170px, 24vw, 280px); height: clamp(170px, 24vw, 280px);
  min-width: 0; object-fit: contain; filter: drop-shadow(0 18px 38px rgba(60,40,110,0.35));
}
.mission-copy { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
  .mission-head { flex-direction: column; text-align: center; gap: 14px; }
  .mission-spin { width: clamp(150px, 46vw, 210px); height: clamp(150px, 46vw, 210px); }
}

/* Hero scroll cue — glowing, gently bobbing down arrow */
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 2; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: #0e6b80;
  background: rgba(79, 210, 234, 0.14);
  border: 1px solid rgba(79, 210, 234, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: cueBob 2s ease-in-out infinite, cueGlow 2.6s ease-in-out infinite;
  transition: color .2s ease, border-color .2s ease;
}
.scroll-cue:hover { color: #063b47; border-color: rgba(79, 210, 234, 0.85); }
.scroll-cue svg { display: block; filter: drop-shadow(0 0 6px rgba(79, 210, 234, 0.85)); }
@keyframes cueBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 7px); }
}
@keyframes cueGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(79, 210, 234, 0.30), inset 0 0 10px rgba(79, 210, 234, 0.14); }
  50%      { box-shadow: 0 0 28px rgba(79, 210, 234, 0.62), inset 0 0 17px rgba(79, 210, 234, 0.30); }
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  -webkit-backdrop-filter: blur(32px) saturate(150%); backdrop-filter: blur(32px) saturate(150%);
  box-shadow: 0 22px 48px rgba(80,60,150,0.16), 0 4px 12px rgba(80,60,150,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
}
.link-card { display: flex; flex-direction: column; color: var(--ink); }
.link-card:hover { transform: translateY(-5px); text-decoration: none; border-color: var(--line-strong); background: var(--surface-2);
  box-shadow: 0 30px 62px rgba(80,60,150,0.20), 0 16px 50px rgba(110,139,255,0.24), inset 0 1px 0 rgba(255,255,255,0.6); }
.link-card h3 { color: var(--ink); margin-bottom: .3em; }
.link-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.link-card .arrow { font-weight: 600; margin-top: auto; padding-top: 16px; display: inline-block; align-self: flex-end; text-align: right;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue); }
/* gentle staggered float on the home section-link cards (uses `translate` so the reveal's transform:none doesn't cancel it) */
@keyframes cardFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
html.reveal-on .section.soft .link-card.is-visible { animation: cardFloat 4.5s ease-in-out infinite; will-change: translate; }
html.reveal-on .section.soft .link-card:nth-child(2).is-visible { animation-delay: .9s; }
html.reveal-on .section.soft .link-card:nth-child(3).is-visible { animation-delay: 1.8s; }

/* photo header on the section-link cards + floating icon chip */
.link-card { overflow: hidden; }                      /* clip the bleeding image to the card radius */
.card-media { display: block; margin: -28px -28px 0; overflow: hidden; }
.card-media img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .4s ease; }
.link-card:hover .card-media img { transform: scale(1.05); }
.link-card .card-ico {
  position: relative; margin-top: -28px; margin-bottom: 15px; z-index: 2;
  background: var(--surface-2); border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(80,60,150,0.20);
}

/* ---------- Cultivator bios ---------- */
/* Team bios — circular photo overlapping a connected dark frosted-glass tile */
.bio { display: flex; align-items: center; }
.bio + .bio { margin-top: clamp(40px, 6vw, 64px); }
.bio-photo {
  flex: 0 0 clamp(158px, 21vw, 210px); order: 1; position: relative; z-index: 2; margin: 0;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600;
  box-shadow: 0 0 0 1px var(--line), 0 18px 46px rgba(80,60,150,0.22);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
/* the copy tile tucks under the circle's near edge and sits behind it */
.bio-text {
  flex: 1; order: 2; position: relative; z-index: 1;
  margin-left: clamp(-58px, -5vw, -44px);
  padding: clamp(26px, 3vw, 40px); padding-left: clamp(74px, 8vw, 104px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(32px) saturate(150%); backdrop-filter: blur(32px) saturate(150%);
  box-shadow: 0 22px 48px rgba(80,60,150,0.16), 0 4px 12px rgba(80,60,150,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
}
.bio:nth-child(even) .bio-photo { order: 2; }
.bio:nth-child(even) .bio-text {
  order: 1; margin-left: 0; margin-right: clamp(-58px, -5vw, -44px);
  padding-left: clamp(26px, 3vw, 40px); padding-right: clamp(74px, 8vw, 104px);
}
.bio-role { font-weight: 600; font-size: .98rem; margin: -.35em 0 .7em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue); }
.bio-text p { color: var(--muted); }
.bio-text h3 { color: var(--ink); }
@media (max-width: 700px) {
  .bio, .bio:nth-child(even) { flex-direction: column; align-items: center; text-align: center; }
  .bio-photo, .bio:nth-child(even) .bio-photo { order: 0; }
  /* tile rises to overlap the circle's bottom -> one connected card */
  .bio-text, .bio:nth-child(even) .bio-text {
    order: 1; width: 100%; margin: -52px 0 0;
    padding: 66px clamp(22px, 6vw, 32px) clamp(26px, 6vw, 34px);
  }
}

/* ---------- Product (House Cultivars) ---------- */
/* subtle centered chip, sits under the product grid */
.license-banner { display: flex; justify-content: center; margin-top: 26px; }
.license-banner span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(58,42,120,0.05); border: 1px solid var(--line);
  color: var(--muted); font-weight: 500; font-size: .8rem; letter-spacing: .02em;
}
.product-card { padding: 0; overflow: hidden; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong);
  box-shadow: 0 30px 62px rgba(80,60,150,0.20), 0 16px 50px rgba(110,139,255,0.24), inset 0 1px 0 rgba(255,255,255,0.6); }
.product-media {
  aspect-ratio: 4/3; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #3a2a78; font-size: .9rem; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-media img, .product-media video, .product-media canvas { width: 100%; height: 100%; object-fit: cover; }
/* masked strain cutouts sit on the brand gradient, shown whole */
.product-card .product-media { background: var(--grad-bright); }
.product-card .product-media img, .product-card .product-media video, .product-card .product-media canvas { object-fit: contain; }
.product-card { display: flex; flex-direction: column; }
.product-media { flex: none; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; text-align: center; align-items: center; justify-content: center; }
.product-body h3 { color: var(--ink); margin-bottom: .2em; }
.product-body .hint { color: #57d29a; font-weight: 600; font-size: .86rem; margin: 8px 0 0; }
.product-body .card-add { width: 100%; margin-top: 16px; }

/* ---------- Modal (product popup) ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(4,3,10,.72);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  position: relative; display: flex; flex-direction: column;
  background: #faf7ff; border: 1px solid var(--line); border-radius: var(--radius); max-width: 720px; width: 100%;
  max-height: 88vh; overflow: hidden; box-shadow: var(--shadow);
}
.modal-media { position: relative; flex: none; height: clamp(200px, 32vh, 320px); overflow: hidden; display: flex; }
.modal-media-video { position: relative; flex: 1 1 50%; min-width: 0; background: var(--grad-bright); display: flex; align-items: center; justify-content: center; color: #3a2a78; }
/* absolute so the video's square intrinsic size can't override the media's 16/9 height */
.modal-media-video img, .modal-media-video video, .modal-media-video canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.modal-media-radar {
  flex: 1 1 50%; min-width: 0; border-left: 1px solid var(--line);
  background: rgba(242,236,251,0.92); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 4px;
  gap: 2px; overflow: hidden;
}
.modal-media-radar .hoh-radar-chart { width: min(62%, 128px); flex: none; }
.modal-media-radar .hoh-radar-footnote { font-size: .5rem; margin: 0; line-height: 1.15; max-width: 96%; }
.modal-media-radar .hoh-coa-btn { font-size: .68rem; padding: 2px 0; gap: 5px; }
.modal-media-radar:empty { display: none; }
.modal-media:has(.modal-media-radar:empty) .modal-media-video { flex-basis: 100%; }
/* side-by-side stays the default even in narrow modals; only true phone widths stack */
@media (max-width: 400px) {
  .modal-media { flex-direction: column; height: auto; }
  .modal-media-video { height: 220px; flex: none; }
  .modal-media-radar { border-left: 0; border-top: 1px solid var(--line); padding: 16px 14px; }
}
.modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 28px 30px 32px; }
.modal-body h2 { color: var(--ink); }
.modal-body p { color: var(--muted); }
.coa {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; margin: 18px 0; font-size: .95rem; color: var(--muted);
}
.coa strong { color: var(--ink); }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(10,8,24,0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #fff;
  transition: background .16s ease, transform .16s ease;
}
.modal-close:hover { background: rgba(10,8,24,0.62); color: #fff; transform: scale(1.06); }

/* ---------- Forms ---------- */
.form { max-width: 560px; }
.form.wide { max-width: 100%; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(58,42,120,0.24); border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255,255,255,0.55);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { appearance: none; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(79,210,234,.18); background: rgba(255,255,255,0.85);
}
.field select option { color: #15122b; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: .88rem; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p { margin: 0 0 .8em; }
.contact-info .label { color: var(--faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(255,255,255,0.45); color: var(--muted); margin-top: 0;
  padding: 56px 0 28px; font-size: .92rem; border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); opacity: .85; }
.site-footer a:hover { color: var(--cyan); opacity: 1; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 44px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-col { min-width: 168px; }
.footer-brand-col { max-width: 340px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.footer-brand img { height: 42px; }
.footer-brand .wordmark { height: 38px; margin-left: 4px; }
.footer-tagline { color: var(--faint); font-size: .9rem; margin: 14px 0 0; line-height: 1.6; }
.footer-h { color: var(--ink); font-family: var(--font); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 600; margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a { padding: 5px 0; display: inline-block; }
.footer-contact { margin: 0 0 14px; color: var(--muted); }
.footer-contact .label { display: block; color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; color: var(--faint); font-size: .82rem; line-height: 1.7; text-align: center; }

/* mobile: center + tidy the footer */
@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 30px; margin-bottom: 26px; }
  .footer-col { min-width: 0; }
  .footer-brand-col { max-width: 34ch; }
  .footer-brand { justify-content: center; }
  .footer-tagline { margin-top: 10px; }
  .footer-links { align-items: center; gap: 2px; }
  .footer-contact { margin: 0; }
  .footer-contact + .footer-contact { margin-top: 16px; }
}

/* ---------- Placeholder notes (hidden for production) ---------- */
.ph-note { display: none !important; }

/* ---------- Hero photo & media frames ---------- */
.hero-photo {
  max-width: 440px; margin: 44px auto 0; aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.wide { aspect-ratio: 16 / 9; }

.lab-tour-cta {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  text-align: center; border-radius: 10px;
}
@media (max-width: 640px) {
  .lab-tour-cta {
    bottom: 10px; width: calc(100% - 20px); max-width: 320px;
    padding: 8px 14px; font-size: .78rem; line-height: 1.25; border-radius: 8px;
  }
}

/* ---------- Genetics library chips ---------- */
.genetics-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 780px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.genetics-list li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; color: var(--ink); font-weight: 500; font-size: .95rem;
  background: var(--surface);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 10px 22px rgba(80,60,150,0.12);
}

/* ---------- Permanent first-time-offer flower badge (top-left of home hero) ---------- */
/* same "card" surface treatment used everywhere else on the site, just cookie-cutter clipped to a flower outline */
.hoh-promo {
  position: absolute; top: 18px; left: 18px; z-index: 4;
  width: 150px; height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--surface);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  clip-path: polygon(96.00% 50.00%, 95.05% 52.83%, 92.41% 55.36%, 88.74% 57.39%, 84.89% 58.96%, 81.71% 60.30%, 79.80% 61.80%, 79.40% 63.83%, 80.27% 66.64%, 81.82% 70.19%, 83.30% 74.20%, 83.98% 78.11%, 83.37% 81.34%, 81.34% 83.37%, 78.11% 83.98%, 74.20% 83.30%, 70.19% 81.82%, 66.64% 80.27%, 63.83% 79.40%, 61.80% 79.80%, 60.30% 81.71%, 58.96% 84.89%, 57.39% 88.74%, 55.36% 92.41%, 52.83% 95.05%, 50.00% 96.00%, 47.17% 95.05%, 44.64% 92.41%, 42.61% 88.74%, 41.04% 84.89%, 39.70% 81.71%, 38.20% 79.80%, 36.17% 79.40%, 33.36% 80.27%, 29.81% 81.82%, 25.80% 83.30%, 21.89% 83.98%, 18.66% 83.37%, 16.63% 81.34%, 16.02% 78.11%, 16.70% 74.20%, 18.18% 70.19%, 19.73% 66.64%, 20.60% 63.83%, 20.20% 61.80%, 18.29% 60.30%, 15.11% 58.96%, 11.26% 57.39%, 7.59% 55.36%, 4.95% 52.83%, 4.00% 50.00%, 4.95% 47.17%, 7.59% 44.64%, 11.26% 42.61%, 15.11% 41.04%, 18.29% 39.70%, 20.20% 38.20%, 20.60% 36.17%, 19.73% 33.36%, 18.18% 29.81%, 16.70% 25.80%, 16.02% 21.89%, 16.63% 18.66%, 18.66% 16.63%, 21.89% 16.02%, 25.80% 16.70%, 29.81% 18.18%, 33.36% 19.73%, 36.17% 20.60%, 38.20% 20.20%, 39.70% 18.29%, 41.04% 15.11%, 42.61% 11.26%, 44.64% 7.59%, 47.17% 4.95%, 50.00% 4.00%, 52.83% 4.95%, 55.36% 7.59%, 57.39% 11.26%, 58.96% 15.11%, 60.30% 18.29%, 61.80% 20.20%, 63.83% 20.60%, 66.64% 19.73%, 70.19% 18.18%, 74.20% 16.70%, 78.11% 16.02%, 81.34% 16.63%, 83.37% 18.66%, 83.98% 21.89%, 83.30% 25.80%, 81.82% 29.81%, 80.27% 33.36%, 79.40% 36.17%, 79.80% 38.20%, 81.71% 39.70%, 84.89% 41.04%, 88.74% 42.61%, 92.41% 44.64%, 95.05% 47.17%);
  filter: drop-shadow(0 12px 22px rgba(80,60,150,0.28));
}
.hoh-promo-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .575rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: .2em;
}
.hoh-promo-offer {
  display: flex; flex-direction: column; align-items: center; max-width: 76px;
  font-family: var(--font-display); font-weight: 700; font-size: .97rem; color: var(--ink); line-height: 1.05;
  white-space: nowrap;
}
.hoh-promo-offer em {
  font-style: normal; font-size: .46rem; letter-spacing: .01em; font-weight: 600; color: var(--blue); line-height: 1.3;
  text-transform: uppercase;
}
.hoh-promo-offer em:first-of-type { margin-top: 3px; }
@media (max-width: 600px) {
  .hoh-promo { width: 110px; height: 110px; top: 12px; left: 12px; }
  .hoh-promo-offer { font-size: .74rem; max-width: 58px; }
  .hoh-promo-offer em { font-size: .37rem; }
  .hoh-promo-eyebrow { font-size: .46rem; }
}

/* ---------- Cultivar reviews (minimalist) ---------- */
.reviews-empty {
  max-width: 480px; margin: 0 auto; text-align: center;
  color: var(--faint); font-size: .95rem; line-height: 1.5;
}
.reviews-empty i { display: block; font-size: 1.4rem; margin-bottom: 12px; color: var(--cyan); }
.reviews-empty p { margin: 0; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px 40px; max-width: 980px; margin: 0 auto;
}
.review-item { text-align: center; }
.review-quote {
  color: var(--ink); font-size: 1rem; font-style: italic; line-height: 1.55; margin: 0 0 10px;
}
.review-meta { color: var(--faint); font-size: .85rem; margin: 0; }

/* ---------- Lab story cards ---------- */
.lab-card { padding: 0; overflow: hidden; margin: 0; }
.lab-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lab-card figcaption { padding: 18px 20px 22px; }
.lab-card figcaption h3 { color: var(--ink); margin-bottom: .25em; }
.lab-card figcaption p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ---------- Accessibility: visible keyboard focus ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.link-card:focus-visible,
.product-card:focus-visible,
.nav-toggle:focus-visible,
.modal-close:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* page-title heading inside section headers stays at the title scale */
.section-head h1, .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* centered request form tile */
.form-tile {
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  -webkit-backdrop-filter: blur(34px) saturate(150%); backdrop-filter: blur(34px) saturate(150%);
  box-shadow: 0 26px 56px rgba(80,60,150,0.18), 0 4px 14px rgba(80,60,150,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
}
.form-tile > h3 { text-align: center; color: var(--ink); margin-bottom: 1.3em; }
.form-tile .form { max-width: 100%; }
.form-tile .btn { width: 100%; margin-top: 4px; }


/* ---------- Scroll / load reveal animations ---------- */
html.reveal-on .hero-content > *,
html.reveal-on .gate-inner > *,
html.reveal-on .section-head,
html.reveal-on .card,
html.reveal-on .bio,
html.reveal-on .media-frame,
html.reveal-on .genetics-list,
html.reveal-on .contact-info,
html.reveal-on .contact-form,
html.reveal-on .lab-step,
html.reveal-on .form-tile {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.reveal-on .is-visible { opacity: 1 !important; transform: none !important; }

/* Whole-section float-in (used on the home hero / mission / lab sections) */
html.reveal-on .float-in {
  opacity: 0; transform: translateY(52px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.reveal-on .float-in.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .spin-frame { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Product modal actions (Request This Cultivar)
   ========================================================== */
.modal-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-top: 22px; }
@media (max-width: 560px) {
  .modal-actions .btn { display: flex; width: 100%; justify-content: center; align-items: center; }
}

/* ---- Send success overlay + animation ---- */
.send-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; }
.send-overlay[hidden] { display: none; }
.send-backdrop {
  position: absolute; inset: 0; background: rgba(4,3,12,0.74);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
}
.send-overlay.is-open .send-backdrop { opacity: 1; }
.send-card {
  position: relative; width: min(440px, 100%); text-align: center;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(34px) saturate(150%); backdrop-filter: blur(34px) saturate(150%);
  box-shadow: 0 30px 70px rgba(80,60,150,0.24), inset 0 1px 0 rgba(255,255,255,0.6);
  padding: clamp(30px, 5vw, 44px); opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1);
}
.send-overlay.is-open .send-card { opacity: 1; transform: none; }
.send-card h3 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 4px 0 .4em; }
.send-summary { color: var(--muted); margin: 0 0 1.6em; font-size: 1rem; line-height: 1.6; }

.send-icon { position: relative; width: 88px; height: 88px; margin: 0 auto 10px; }
.send-plane {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.1rem; color: var(--cyan); opacity: 0;
}
.send-overlay.is-open .send-plane { animation: planeFly 1s cubic-bezier(.4,0,.55,1) .2s forwards; }
.send-check { position: absolute; inset: 0; width: 88px; height: 88px; }
.send-ring, .send-mark { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.send-ring { stroke: var(--cyan); stroke-width: 4; stroke-dasharray: 202; stroke-dashoffset: 202; }
.send-mark { stroke: var(--cyan); stroke-width: 5; stroke-dasharray: 44; stroke-dashoffset: 44; }
.send-overlay.is-open .send-ring { animation: dash 0.5s ease .95s forwards; }
.send-overlay.is-open .send-mark { animation: dash 0.35s ease 1.35s forwards; }
@keyframes planeFly {
  0%   { opacity: 0; transform: translate(-16px, 14px) rotate(-10deg); }
  25%  { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  60%  { opacity: 1; transform: translate(4px, -2px) rotate(2deg); }
  100% { opacity: 0; transform: translate(96px, -104px) rotate(16deg); }
}
@keyframes dash { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .send-backdrop, .send-card { transition: none; }
  .send-overlay.is-open .send-plane { animation: none; opacity: 0; }
  .send-overlay.is-open .send-ring,
  .send-overlay.is-open .send-mark { animation: none; stroke-dashoffset: 0; }
}

/* ==========================================================
   Cultivars page — full-width monotub banner, then intro text beside a larger photo
   ========================================================== */
.cultivar-banner { width: 100%; overflow: hidden; }
.cultivar-banner img { width: 100%; height: clamp(260px, 40vw, 520px); object-fit: cover; object-position: 50% 15%; display: block; }

.cultivar-duo {
  position: relative; z-index: 2;
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(10px, 1.6vw, 18px); max-width: 1040px; margin: 0 auto;
  margin-top: clamp(-26px, -2.2vw, -10px); transform: translateY(-24%); margin-bottom: -108px; padding-bottom: 20px;
}
.cultivar-duo-media {
  flex: 1 1 0; min-width: 0; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(80,60,150,0.16), 0 4px 12px rgba(80,60,150,0.10);
}
.cultivar-duo-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .cultivar-duo { flex-direction: column; align-items: center; margin-top: 0; transform: none; margin-bottom: 0; padding-bottom: 0; }
  .cultivar-duo-media { max-width: 340px; width: 100%; flex: none; }
}

.cultivar-partner-card {
  grid-column: span 3; display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: clamp(22px, 3vw, 32px);
}
@media (max-width: 1079px) { .cultivar-partner-card { grid-column: span 2; } }
@media (max-width: 815px) { .cultivar-partner-card { grid-column: span 1; } }

/* ==========================================================
   Inside the Lab — alternating (zigzag) step layout, float in one at a time
   ========================================================== */
.lab-steps { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 60px); }
/* each step = photo + frosted tile that OVERLAP into one connected card */
.lab-step { display: flex; align-items: center; justify-content: center; }
.lab-step-media {
  flex: 0 0 52%; order: 1; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(80,60,150,0.16), 0 4px 12px rgba(80,60,150,0.10);
}
.lab-step-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
/* the copy tile overlaps the image's near edge and lifts above it */
.lab-step-text {
  flex: 0 0 46%; order: 2; position: relative; z-index: 2; margin-left: -8%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  -webkit-backdrop-filter: blur(32px) saturate(150%); backdrop-filter: blur(32px) saturate(150%);
  box-shadow: 0 26px 60px rgba(80,60,150,0.20), 0 8px 20px rgba(80,60,150,0.14), inset 0 1px 0 rgba(255,255,255,0.5);
}
.lab-step.flip .lab-step-media { order: 2; }   /* image right on flipped rows */
.lab-step.flip .lab-step-text  { order: 1; margin-left: 0; margin-right: -8%; }
.lab-step-num {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6em;
  background: var(--grad-bright); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
}
.lab-step-text h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-bottom: .45em; }
.lab-step-text p { color: var(--muted); margin: 0; font-size: 1.02rem; line-height: 1.7; }

@media (max-width: 720px) {
  .lab-step { flex-direction: column; align-items: stretch; text-align: center; }
  .lab-step-media, .lab-step.flip .lab-step-media { flex: none; order: 0; }
  .lab-step-media img { aspect-ratio: 16 / 10; }
  /* tile rises to overlap the image's bottom edge -> connected vertical card */
  .lab-step-text, .lab-step.flip .lab-step-text {
    flex: none; order: 1; width: 88%; margin: -48px auto 0; z-index: 2;
  }
}

/* ==========================================================
   Font Awesome icon accents
   ========================================================== */
.card-ico {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: rgba(58,42,120,0.05); border: 1px solid var(--line);
  font-size: 1.4rem; margin-bottom: 16px;
}
.card-ico i, .lab-step-num i, .eyebrow > i {
  background: var(--grad-bright); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
}
.lab-step-num i { margin-right: 9px; -webkit-text-fill-color: transparent; }
.eyebrow > i { margin-right: 9px; }
.footer-contact .label i { color: var(--cyan); margin-right: 8px; width: 14px; text-align: center; }
.btn i { margin-right: 9px; }
.hoh-icon-mushroom { display: inline-flex; }
.hoh-icon-mushroom svg, .hoh-icon-mushroom img { width: 1.15em; height: 1.15em; vertical-align: -0.2em; object-fit: contain; }
.field label i { color: var(--cyan); margin-right: 8px; width: 15px; text-align: center; }
.license-banner i { color: var(--cyan); }
.product-body .hint i { margin-right: 6px; }
.form-tile > h3 i { color: var(--cyan); margin-right: 10px; }
.partner-ico { color: var(--purple); margin-right: 10px; }
.genetics-list li i { color: var(--cyan); margin-right: 7px; font-size: .85em; }
.bio-role i { color: var(--cyan); margin-right: 8px; }

/* ============ gradient icons · logos · soon-tiles · spacing ============ */
/* gradient-fill for selected nav link, form/footer/cart icons, card icons, footer brand text */
.nav-links a.active,
.form-tile > h3 i, .form-tile .field label i, .form-tile label i,
.footer-contact .label i,
.partner-ico,
.footer-brand {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links a.active { opacity: 1; }
.footer-contact .label { color: var(--ink); }        /* brighten LOCATION / PHONE labels */

/* trim top space where flagged (product grid, team bios) */
.tight-top { padding-top: clamp(10px, 2.2vw, 26px); }
.tight-bottom { padding-bottom: clamp(10px, 2.2vw, 26px); }

/* "Coming soon" genetics tiles — disabled, greyed, very faint looping video */
.genetics-grid { margin-top: 6px; }
.soon-card { padding: 0; overflow: hidden; pointer-events: none; user-select: none; opacity: .72; }
.soon-media { display: block; position: relative; aspect-ratio: 1 / 1; background: linear-gradient(150deg, rgba(58,42,120,0.18), rgba(58,42,120,0.05)); }
.soon-media::after { content: ""; position: absolute; inset: 0; background: rgba(58,42,120,0.06); }
.soon-media video { width: 100%; height: 100%; object-fit: contain; opacity: .4; filter: grayscale(.85); display: block; }
.soon-body { padding: 15px 16px 20px; text-align: center; }
.soon-body h3 { color: var(--muted); margin: 0 0 6px; font-size: 1.02rem; }
.soon-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.soon-tag i { font-size: .9em; }

/* back / cancel control on the request form */
.form-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: .9rem; font-weight: 600; color: var(--muted);
  padding: 2px 2px; margin-bottom: 12px; transition: color .15s ease, transform .15s ease;
}
.form-back:hover { color: var(--cyan); transform: translateX(-2px); }
.form-back i { font-size: .9em; }

/* lift the home hero headline off the busy background */
.hero-home h1 { filter: drop-shadow(0 3px 14px rgba(60,40,110,0.22)); }

/* ---------- Cultivar radar/spider chart overlay (shows over the product photo) ---------- */
.hoh-radar-overlay {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  min-height: 100%; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px; text-align: center;
  background: rgba(242,236,251,0.92);
  -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%);
  opacity: 0; transform: scale(.96); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.product-card:hover .hoh-radar-overlay,
.product-card:focus-within .hoh-radar-overlay,
.product-card.hoh-radar-open .hoh-radar-overlay {
  opacity: 1; transform: scale(1); pointer-events: auto;
}
/* let a radar panel taller than the photo spill down over the card body instead of clipping the top (Potency label) */
.product-card:hover .product-media,
.product-card:focus-within .product-media,
.product-card.hoh-radar-open .product-media {
  overflow: visible;
}
.hoh-radar-chart { width: min(84%, 190px); height: auto; display: block; margin: 0 auto 8px; overflow: visible; }
.hoh-radar-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.hoh-radar-ring-outer { stroke: var(--line-strong); }
.hoh-radar-spoke { stroke: var(--line); stroke-width: 1; }
.hoh-radar-fill { fill: rgba(139,92,240,0.28); stroke: var(--purple); stroke-width: 1.6; stroke-linejoin: round; }
.hoh-radar-dot { fill: var(--blue-deep); }
.hoh-radar-label { font-family: var(--font); font-size: 8.5px; fill: var(--muted); }
.hoh-radar-sublabel { font-family: var(--font); font-size: 6px; fill: var(--faint); }
.hoh-radar-footnote { margin: 0 0 8px; font-size: .68rem; font-style: italic; color: var(--faint); line-height: 1.3; max-width: 92%; }
.hoh-coa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; padding: 2px 0; border: 0; background: none;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue);
}
.hoh-coa-btn:hover { text-decoration: underline; }
.hoh-coa-btn-soon {
  color: var(--faint); font-weight: 600; cursor: default; -webkit-text-fill-color: var(--faint);
}

/* ---------- COA image popup ---------- */
.hoh-coa-modal-inner { max-width: 760px; }
.hoh-coa-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 24px 64px 0 26px;
}
.hoh-coa-modal-head h3 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.hoh-coa-modal-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.hoh-coa-download, .hoh-coa-zoom {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--purple); color: #fff; font-size: 1rem; cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.hoh-coa-download:hover, .hoh-coa-zoom:hover { background: var(--purple-deep); transform: scale(1.06); color: #fff; }
.hoh-coa-zoom.is-active { background: var(--purple-deep); }
.hoh-coa-modal-body {
  flex: 1 1 auto; min-height: 0; padding: 16px 26px 26px; overflow: auto;
  display: flex; align-items: flex-start; justify-content: center;
}
.hoh-coa-modal-body img { max-width: 100%; max-height: 74vh; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; }
.hoh-coa-modal-body.is-zoomed { justify-content: flex-start; }
.hoh-coa-modal-body.is-zoomed img { max-width: none; max-height: none; width: 200%; height: auto; cursor: zoom-out; }
@media (max-width: 480px) {
  .hoh-coa-modal-head { padding: 20px 18px 0; flex-wrap: wrap; }
  .hoh-coa-modal-body { padding: 14px 18px 20px; }
}

/* ---------- Cultivar radar/COA live editor ---------- */
.hoh-edit-btn {
  display: none; position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(10,8,24,0.5); color: #fff; font-size: .85rem;
  align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .15s ease, transform .15s ease;
}
.hoh-edit-btn:hover { background: rgba(10,8,24,0.72); transform: scale(1.08); }
body.hoh-edit-mode .hoh-edit-btn { display: flex; }

.hoh-avail-toggle {
  display: none; position: absolute; top: 10px; left: 10px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(10,8,24,0.5); color: #fff; font-size: .85rem;
  align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .15s ease, transform .15s ease;
}
.hoh-avail-toggle:hover { background: rgba(10,8,24,0.72); transform: scale(1.08); }
body.hoh-edit-mode .hoh-avail-toggle { display: flex; }

/* ---------- Unavailable cultivar state ---------- */
.product-card.is-unavailable { filter: saturate(.4); }
.product-card.is-unavailable .product-body .hint { color: var(--faint); }

.hoh-edit-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  background: rgba(20,16,40,0.9); color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; z-index: 300; box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.hoh-edit-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.hoh-editor-modal { max-width: 480px; }
.hoh-editor-preview { display: flex; justify-content: center; margin: 4px 0 18px; }
.hoh-editor-preview .hoh-radar-chart { width: 200px; }
.hoh-editor-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.hoh-editor-row .hoh-editor-label {
  flex: 1; padding: 9px 12px; border: 1px solid rgba(58,42,120,0.24); border-radius: 10px;
  font: inherit; font-size: .92rem; color: var(--ink); background: rgba(255,255,255,0.55);
}
.hoh-editor-row .hoh-editor-value {
  width: 68px; padding: 9px 10px; border: 1px solid rgba(58,42,120,0.24); border-radius: 10px;
  font: inherit; font-size: .92rem; color: var(--ink); background: rgba(255,255,255,0.55);
}
.hoh-editor-row-remove {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(58,42,120,0.05); color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.hoh-editor-row-remove:hover { background: rgba(220,60,60,0.12); color: #c93b3b; border-color: rgba(220,60,60,0.4); }
.hoh-editor-add { margin-top: 4px; font-size: .86rem; padding: 8px 16px; }
.hoh-editor-status { min-height: 1.4em; font-size: .86rem; margin: 4px 0 14px; }
.hoh-editor-status.is-ok { color: #1f9d6e; }
.hoh-editor-status.is-error { color: #c93b3b; }
.hoh-editor-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hoh-editor-avail-field { display: flex; align-items: center; gap: 10px; }
.hoh-editor-avail-field label { margin: 0; }
.hoh-avail-switch {
  flex: none; width: 44px; height: 25px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: rgba(58,42,120,0.12); position: relative; cursor: pointer; padding: 0;
  transition: background .15s ease, border-color .15s ease;
}
.hoh-avail-switch-dot {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: transform .15s ease;
}
.hoh-avail-switch.is-on { background: #57d29a; border-color: #57d29a; }
.hoh-avail-switch.is-on .hoh-avail-switch-dot { transform: translateX(19px); }
[data-editor-avail-label] { font-weight: 600; font-size: .92rem; color: var(--ink); }

/* ---------- Legal disclaimer (cultivars page) — collapsed to a one-line link ---------- */
.hoh-disclaimer { margin: 56px auto 0; max-width: 820px; padding: 0 30px; scroll-margin-top: 90px; }
.hoh-disclaimer summary {
  display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; list-style: none;
  color: var(--faint); font-size: .8rem; font-weight: 600; padding: 10px 0; text-align: center;
}
.hoh-disclaimer summary::-webkit-details-marker { display: none; }
.hoh-disclaimer summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7em; opacity: .6; }
.hoh-disclaimer details[open] summary::after { content: "\f077"; }
.hoh-disclaimer summary:hover { color: var(--muted); }
.hoh-disclaimer summary i { color: #c99a3b; }
.hoh-disclaimer-body {
  margin-top: 10px; padding: 22px 24px; background: rgba(58,42,120,0.045);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.hoh-disclaimer-body p { color: var(--faint); font-size: .8rem; line-height: 1.6; margin: 0 0 12px; }
.hoh-disclaimer-body ul { margin: 0; padding-left: 1.1em; color: var(--faint); font-size: .8rem; line-height: 1.6; }
.hoh-disclaimer-body ul li { margin-bottom: 9px; }
.hoh-disclaimer-body ul li:last-child { margin-bottom: 0; }
.hoh-disclaimer-body ul li strong { color: var(--muted); }
.hoh-disclaimer-body h5 {
  display: flex; align-items: center; gap: 8px; color: var(--ink);
  font-size: .85rem; margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .04em;
}
.hoh-disclaimer-body h5 i { color: var(--blue); }
.hoh-disclaimer-body p a { font-weight: 600; }

/* small footnote marker appended after each cultivar's description in the product popup */
.hoh-footnote-link {
  font-size: .62em; vertical-align: super; line-height: 0; margin-left: 2px;
  color: var(--blue); font-weight: 700; text-decoration: none;
}
.hoh-footnote-link:hover { text-decoration: underline; }

/* ---------- Cultivar request form + review ---------- */
.hoh-request-modal { max-width: 560px; }
.hoh-request-sub { color: var(--muted); font-size: .92rem; margin: -6px 0 18px; line-height: 1.5; }
.hoh-optional { color: var(--faint); font-weight: 400; }
.hoh-checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.hoh-checkbox {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1.5px solid rgba(58,42,120,0.24); border-radius: 999px;
  background: rgba(255,255,255,0.55); cursor: pointer; font-size: .9rem; color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.hoh-checkbox input { accent-color: var(--purple); width: 16px; height: 16px; }
.hoh-checkbox:has(input:checked) { background: rgba(139,92,240,0.14); border-color: var(--purple); }
.hoh-field-divider { border-top: 1px solid var(--line); margin: 4px 0 18px; }
.hoh-request-saved-note {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(87,210,154,0.12); border: 1px solid rgba(87,210,154,0.35); border-radius: 10px;
  padding: 12px 14px; margin: 0 0 18px; color: var(--muted); font-size: .9rem;
}
.hoh-request-saved-note i { color: #1f9d6e; }
.hoh-linklike {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--blue); font-weight: 600; text-decoration: underline; font-size: inherit;
}
.hoh-request-error { color: #c93b3b; font-size: .86rem; min-height: 1.3em; margin: 4px 0 14px; }
.hoh-request-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 480px) { .hoh-request-actions { flex-direction: column-reverse; } .hoh-request-actions .btn { width: 100%; justify-content: center; } }

/* review */
.hoh-review-section { margin-bottom: 22px; }
.hoh-review-section h4 { color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.hoh-review-section p { color: var(--muted); margin: 0 0 4px; font-size: .95rem; }
.hoh-review-list { list-style: none; margin: 0; padding: 0; }
.hoh-review-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.hoh-review-item:last-child { border-bottom: 0; }
.hoh-review-item-name { flex: 1; font-weight: 600; color: var(--ink); }
.hoh-review-item-amt { color: var(--muted); font-size: .9rem; }
.hoh-review-item-remove {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(58,42,120,0.05); color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer;
}
.hoh-review-item-remove:hover { background: rgba(220,60,60,0.12); color: #c93b3b; border-color: rgba(220,60,60,0.4); }
.hoh-review-empty { color: var(--faint); font-style: italic; padding: 8px 0; }
.hoh-review-sent { text-align: center; padding: 12px 0; }
.hoh-review-sent-photo {
  display: block; width: 100%; max-width: 260px; aspect-ratio: 3 / 4; object-fit: cover;
  object-position: 50% 30%; margin: 0 auto 18px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(80,60,150,0.20);
}
.hoh-review-sent i { font-size: 2.6rem; color: #1f9d6e; margin-bottom: 14px; }
.hoh-review-sent h2 { margin-bottom: .4em; }
.hoh-review-sent p { color: var(--muted); margin-bottom: 1.6em; }
