/* EmyBee marketing site — emybee.com
   Brand tokens from brand/06_Design_System/Tokens (import, never hand-copy):
   orange #F4511E · honey #FFB300 · charcoal #232323 · cream #FFF7E6
   trustTeal #147D7A · growthGreen #2E7D32 · calmBlue #4267B2 · careBerry #A23E48
   Comfortaa (display) · Inter (body) */

/* Fonts are served from this site (SIL OFL 1.1, licences beside the files), never from a third
   party, so a visit sends no visitor's address to anyone else. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/comfortaa-latin-wght.woff2") format("woff2"); }

:root {
  --orange: #F4511E;
  --orange-deep: #D8410F;
  --honey: #FFB300;
  --honey-soft: #FFD37A;
  --charcoal: #232323;
  --cream: #FFF7E6;
  --white: #FFFFFF;
  --trust-teal: #147D7A;

  --paper-warm: #FFF9EE;
  --ink: #232323;
  --ink-soft: #5B5750;
  --ink-faint: #756D60;   /* AA on cream/paper/white (4.8-5.1:1); keep lighter than --ink-soft */
  --growth-green: #2E7D32;
  --honey-ink: #9A5A00;   /* the token file's semantic.state.warning - honey as AA-safe ink */
  --hairline: #EBDFC8;

  --font-display: "Comfortaa", "Arial Rounded MT Bold", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --shell: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 450;
  color: var(--ink);
  background: var(--paper-warm);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  /* the faintest paper grain — enough to kill the flat-vector look, invisible as a pattern */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .12 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--honey); color: var(--charcoal); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 21ch; }
h3 { font-size: 1.12rem; line-height: 1.35; }
p { max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--charcoal); color: var(--cream); padding: 10px 18px; border-radius: 8px;
}
.skip:focus { left: 12px; }

:is(a, button):focus-visible { outline: 3px solid var(--trust-teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: transform .14s var(--ease), box-shadow .2s var(--ease), background .18s;
}
.btn--solid {
  /* AA-darkened from brand orange for white label text (5.2:1); decorative oranges stay #F4511E */
  background: #C63A0B; color: #fff;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 5px 16px rgba(198,58,11,.28), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn--solid:hover { background: #B03208; box-shadow: 0 9px 22px rgba(198,58,11,.34); }
.btn--solid:active { transform: translateY(1px); }
.btn--quiet {
  color: var(--ink); padding: 13px 4px;
  border-bottom: 2px solid var(--honey); border-radius: 0;
}
.btn--quiet::after { content: "\2192"; transition: transform .18s var(--ease); }
.btn--quiet:hover::after { transform: translateX(4px); }
.btn--lg { font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 238, .92); /* fallback for engines without color-mix */
  background: color-mix(in srgb, var(--paper-warm) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.nav.is-stuck { border-bottom-color: var(--hairline); }
.nav__row { display: flex; align-items: center; gap: 34px; padding-top: 14px; padding-bottom: 14px; }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--honey); }
.nav__cta { flex: none; }
.nav__burger { display: none; }

.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; gap: 5px; margin-left: auto; padding: 12px 8px;
    background: none; border: none; cursor: pointer;
  }
  .nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px;
    padding: 10px 24px 22px; border-bottom: 1px solid var(--hairline);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { text-decoration: none; font-weight: 500; padding: 10px 0; color: var(--ink); }
  .mobile-menu .btn { justify-content: center; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--trust-teal); margin-bottom: 22px;
}
.kicker__hex { width: 11px; height: 13px; flex: none; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.13rem; color: var(--ink-soft); margin: 22px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.hero__foot { font-size: .84rem; color: var(--ink-faint); margin-top: 20px; }

/* the vignette — a hand-composed product moment, deliberately a touch off-axis */
.hero__art { display: flex; justify-content: center; }
.vignette {
  width: min(400px, 100%);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px rgba(140, 84, 20, .13), 0 4px 14px rgba(140, 84, 20, .07);
  transform: rotate(-1.6deg);
}
.vignette__head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.vignette__avatar {
  width: 46px; height: 46px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: var(--trust-teal); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.vignette__name { display: block; font-weight: 600; }
.vignette__state { display: block; font-size: .8rem; color: var(--trust-teal); font-weight: 500; }
.vignette__hex { width: 54px; height: 54px; margin-left: auto; overflow: visible; }
.vignette__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 0; border-top: 1px solid #F6EEDD; font-size: .92rem;
}
.vignette__row b { color: var(--growth-green); font-family: var(--font-display); flex: none; }
.vignette__row b.is-note { color: var(--ink-faint); font-family: var(--font-body); font-weight: 500; font-size: .8rem; }
.vignette__bar { height: 9px; border-radius: 999px; background: #F3EAD6; overflow: hidden; margin: 14px 0 12px; }
.vignette__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--honey), var(--orange)); }
.vignette__cap { font-size: .8rem; color: var(--ink-faint); line-height: 1.5; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .vignette { transform: rotate(-1deg); }
}

/* ---------- Bands ---------- */
.band { padding: clamp(56px, 8vw, 100px) 0; }
.band--cream { background: var(--cream); }
.band__head { margin-bottom: clamp(26px, 4vw, 44px); }
.overline {
  font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--trust-teal); margin-bottom: 12px; /* teal, matching the kicker: AA at label size (orange is not) */
}
.overline--honey { color: var(--honey); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.split--rev { grid-template-columns: .85fr 1.15fr; }
.split__main > p + p { margin-top: 14px; }
.split__main h2 { margin-bottom: 16px; }
.split__main p { color: var(--ink-soft); }
@media (max-width: 820px) { .split, .split--rev { grid-template-columns: 1fr; } }

.aside-label { font-size: .84rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 14px; }
.states { list-style: none; counter-reset: st; }
.states li {
  counter-increment: st;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 9px 0;
}
.states li::before {
  content: counter(st);
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  background: #F3EAD6; color: var(--ink-soft);
}
.states li:nth-child(4)::before, .states li:nth-child(5)::before { background: var(--honey-soft); color: var(--charcoal); }
.states li:last-child { color: var(--charcoal); }

/* the ledger — numbered editorial rows, deliberately not cards */
.ledger { list-style: none; margin-top: clamp(34px, 5vw, 56px); border-top: 1px solid var(--hairline); }
.ledger li {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--hairline); align-items: baseline;
}
.ledger__n { font-family: var(--font-display); font-weight: 700; color: var(--honey-ink); font-size: 1.15rem; }
.ledger li b { font-weight: 600; }
.ledger li p { color: var(--ink-soft); font-size: .95rem; margin-top: 3px; }
@media (min-width: 821px) {
  .ledger { columns: 2; column-gap: 64px; }
  .ledger li { break-inside: avoid; }
}

.bee-note {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 26px; box-shadow: 0 14px 38px rgba(140,84,20,.09);
  transform: rotate(1.2deg);
}
.bee-note img { margin-bottom: 14px; }
.bee-note p { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; line-height: 1.5; }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.safety-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 26px;
}
.safety-card h3 { margin-bottom: 9px; }
/* "coming later": honey-ink on cream is 5.13:1 (AA), so the label is honest and readable. */
.soon {
  display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; vertical-align: middle;
  font: 600 12px/1.5 var(--font-body); letter-spacing: .02em; color: var(--honey-ink);
  background: var(--cream); border: 1px solid var(--honey-soft);
}
.safety-card p { color: var(--ink-soft); font-size: .95rem; }
.safety-card--anchor {
  grid-row: span 3;
  background: linear-gradient(160deg, #FFF3DA, var(--cream));
  border-color: #F0DCB0;
  display: flex; flex-direction: column; justify-content: center;
}
.safety-card--anchor h3 { font-size: 1.45rem; max-width: 15ch; margin-bottom: 14px; }
.safety-card--anchor p { font-size: 1rem; }
@media (max-width: 820px) { .safety-grid { grid-template-columns: 1fr; } .safety-card--anchor { grid-row: auto; } }

/* ---------- The promise (dark) ---------- */
.band--dark { background: var(--charcoal); color: var(--cream); }
.band--dark h2 { color: var(--white); }
.nevers { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 64px; }
.nevers li { border-left: 3px solid var(--honey); padding-left: 20px; }
.nevers b { font-family: var(--font-display); font-size: 1.08rem; display: block; margin-bottom: 7px; color: var(--white); }
.nevers p { color: #CFC8BB; font-size: .95rem; }
.nevers__foot { margin-top: 40px; color: var(--honey-soft); font-size: .95rem; max-width: 58ch; }
@media (max-width: 820px) { .nevers { grid-template-columns: 1fr; } }

/* ---------- Pilot ---------- */
.pilot { padding: clamp(64px, 9vw, 120px) 0; }
.pilot__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pilot__hexes { width: 120px; margin-bottom: 26px; }
.pilot h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.pilot__lede { color: var(--ink-soft); margin: 18px auto 30px; max-width: 54ch; }
.pilot__foot { font-size: .84rem; color: var(--ink-faint); margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--cream); border-top: 1px solid var(--hairline); padding-top: clamp(40px, 6vw, 64px); }
.footer__grid {
  display: grid; grid-template-columns: auto 1fr 1fr 1.6fr; gap: clamp(28px, 5vw, 64px);
  padding-bottom: 40px;
}
.footer__brand img { width: 110px; height: auto; }
.footer__tag { font-family: var(--font-display); font-weight: 600; color: var(--trust-teal); font-size: .95rem; margin-top: 12px; }
.footer__h { font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.footer__col a { display: block; text-decoration: none; color: var(--ink-soft); padding: 4px 0; font-size: .95rem; }
.footer__col a:hover { color: var(--orange); }
.footer__small { font-size: .84rem; color: var(--ink-faint); line-height: 1.6; }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--hairline);
  font-size: .82rem; color: var(--ink-faint);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__col--wide { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ----------
   Content is visible by default; only a JS-capable page hides it for the
   entrance animation (never hide content behind a script that may not run). */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
