/* ============================================================
   POLARGENIX — "bright modern wellness" theme
   Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (data)
   Accent: brand teal #00495B, with fresh teal/ice gradients
   ============================================================ */

:root{
  --bg:          #fbfdfd;
  --bg-alt:      #f2f8f8;
  --surface:     #ffffff;
  --line:        #e3eeee;
  --line-strong: #cfe0e0;
  --ink:         #0a2328;
  --ink-soft:    #33494d;
  --muted:       #5f7679;
  --teal:        #00737f;         /* links & accents (AA on white) */
  --teal-brand:  #00495b;
  --teal-bright: #19b3b0;
  --ice:         #dff6f7;
  --teal-dark:   #00323d;
  --teal-tint:   #e8f5f5;
  --shadow-sm:   0 1px 2px rgba(10,35,40,0.04), 0 2px 8px rgba(10,35,40,0.04);
  --shadow:      0 1px 2px rgba(10,35,40,0.04), 0 12px 32px -12px rgba(10,35,40,0.14);
  --shadow-hover:0 2px 4px rgba(10,35,40,0.05), 0 22px 44px -16px rgba(0,115,127,0.28);
  --grad:        linear-gradient(110deg, #00495b 0%, #00838c 50%, #19b3b0 100%);
  --grad-soft:   linear-gradient(135deg, #e6f7f7 0%, #f3fbfb 45%, #eaf3fb 100%);
  --max-w:       1200px;
  --gutter:      clamp(1rem, 4vw, 3rem);
  --radius:      20px;
  --radius-sm:   14px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:16.5px;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:""; position:absolute; inset:0 0 auto 0; height:900px; z-index:-1; pointer-events:none;
  background:
    radial-gradient(800px 500px at 88% -5%, rgba(25,179,176,0.16), transparent 65%),
    radial-gradient(700px 480px at 0% 0%, rgba(140,200,240,0.14), transparent 60%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
::selection{ background:#c5ecec; color:var(--ink); }

.mono, .hero-eyebrow, .badge, .article-meta, .deeper-label, .lib-card .meta, .belief .n{
  font-family:"JetBrains Mono", ui-monospace, monospace;
}

.wrap{ max-width:var(--max-w); margin:0 auto; padding:0 var(--gutter); }

h1,h2,h3,h4{
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-weight:600; line-height:1.08; margin:0 0 0.6em; letter-spacing:-0.025em; color:var(--ink);
}
h1{ font-size:clamp(2.4rem, 6vw, 4.6rem); font-weight:700; letter-spacing:-0.035em; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.6rem); }
h3{ font-size:1.2rem; letter-spacing:-0.01em; }
p{ margin:0 0 1em; color:var(--ink-soft); max-width:64ch; }
p.muted, span.muted, .muted{ color:var(--muted); }
strong{ color:var(--ink); font-weight:600; }
.lead{ color:var(--muted); }

.grad-text{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--teal-brand); color:#fff; padding:0.6em 1em; z-index:200; border-radius:8px; }
.skip-link:focus{ left:1rem; top:1rem; }
:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; border-radius:6px; }
.visually-hidden{ position:absolute !important; left:-9999px !important; }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,253,253,0.8);
  -webkit-backdrop-filter:saturate(180%) blur(16px); backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; min-height:72px; }
.brand{ display:flex; align-items:center; gap:0.65rem; text-decoration:none; }
.brand img{ height:30px; width:auto; }
.brand-word{ font-family:"Space Grotesk",sans-serif; font-weight:700; font-size:1.02rem; letter-spacing:0.16em; color:var(--teal-brand); }

.nav-toggle{
  display:none; background:#fff; border:1px solid var(--line-strong); border-radius:12px;
  width:44px; height:40px; cursor:pointer; position:relative;
}
.nav-toggle span{ position:absolute; left:11px; right:11px; top:19px; height:2px; background:var(--ink); border-radius:2px; }
.nav-toggle span::before, .nav-toggle span::after{ content:""; position:absolute; left:0; right:0; height:2px; background:var(--ink); border-radius:2px; }
.nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:6px; }

.main-nav{ display:flex; align-items:center; gap:2rem; }
.main-nav ul{ display:flex; align-items:center; gap:0.3rem; list-style:none; margin:0; padding:0; }
.main-nav ul a{ text-decoration:none; font-size:0.92rem; color:var(--ink-soft); padding:0.5rem 0.85rem; border-radius:999px; transition:background .15s, color .15s; }
.main-nav ul a:hover{ background:var(--teal-tint); color:var(--teal-brand); }
.main-nav ul a[aria-current="page"]{ background:var(--teal-tint); color:var(--teal-brand); font-weight:600; }
.nav-actions{ display:flex; align-items:center; }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:0.5em;
  padding:0.9em 1.55em; border-radius:999px;
  font-size:0.93rem; font-weight:600; text-decoration:none; font-family:inherit;
  border:1px solid transparent; cursor:pointer; line-height:1; transition:transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--grad); color:#fff; box-shadow:0 8px 24px -10px rgba(0,115,127,0.6); }
.btn-primary:hover{ box-shadow:0 12px 30px -10px rgba(0,115,127,0.75); }
.main-nav .nav-actions .btn-primary{ color:#fff; padding:0.72em 1.2em; font-size:0.86rem; }
.btn-outline{ background:#fff; color:var(--ink); border-color:var(--line-strong); box-shadow:var(--shadow-sm); }
.btn-outline:hover{ border-color:var(--teal); color:var(--teal-brand); }
.btn-quiet{ color:var(--teal); padding:0 0 2px; background:none; text-decoration:none; border-bottom:1.5px solid rgba(0,115,127,0.35); border-radius:0; }

@media (max-width: 920px){
  .nav-toggle{ display:block; }
  .main-nav{
    position:fixed; inset:72px 0 0 0; background:rgba(251,253,253,0.98);
    -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px);
    opacity:0; pointer-events:none; transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease;
    flex-direction:column; align-items:stretch; gap:0;
  }
  .main-nav.open{ opacity:1; transform:none; pointer-events:auto; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:0; padding:1rem var(--gutter); }
  .main-nav li{ border-bottom:1px solid var(--line); }
  .main-nav ul a{ display:block; padding:1.05rem 0; font-size:1.2rem; color:var(--ink); font-family:"Space Grotesk",sans-serif; border-radius:0; }
  .main-nav ul a:hover, .main-nav ul a[aria-current="page"]{ background:none; }
  .nav-actions{ padding:1.25rem var(--gutter); }
}

/* ---------------- Hero ---------------- */
.hero{ position:relative; overflow:hidden; padding:0; isolation:isolate; }
.hero::before{
  content:""; position:absolute; width:560px; height:560px; right:-140px; top:-120px; border-radius:50%;
  background:radial-gradient(circle, rgba(25,179,176,0.20), rgba(25,179,176,0) 70%); filter:blur(30px); z-index:-1;
  animation:drift 16s ease-in-out infinite alternate;
}
@keyframes drift{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-40px,30px) scale(1.06); } }

.hero .wrap{
  padding-top:clamp(3.5rem, 9vw, 7rem); padding-bottom:clamp(3.5rem, 8vw, 6rem);
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:3rem; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:0.55em;
  font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--teal);
  margin-bottom:1.2rem;
}
.hero .hero-eyebrow{ padding:0.5em 0.95em; border:1px solid #cbe8e8; border-radius:999px; background:#fff; box-shadow:var(--shadow-sm); }
.hero .hero-eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--teal-bright); box-shadow:0 0 0 4px rgba(25,179,176,0.18); animation:pulse 2.4s ease-in-out infinite; }
@keyframes pulse{ 50%{ box-shadow:0 0 0 7px rgba(25,179,176,0.05); } }
.hero h1{ margin-bottom:0.45em; }
.hero p.lead{ font-size:1.15rem; color:var(--muted); max-width:50ch; }
.hero-ctas{ display:flex; gap:0.9rem; margin-top:2rem; flex-wrap:wrap; }
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; overflow:visible; }
.chain-node{ animation:float 6s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.chain-node:nth-of-type(2n){ animation-delay:-2s; } .chain-node:nth-of-type(3n){ animation-delay:-4s; }
@keyframes float{ 50%{ transform:translateY(-7px); } }

@media (max-width: 920px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:2rem; gap:0.75rem; }
  .hero-art{ order:-1; max-width:220px; margin:0 auto -0.5rem; }
  .hero p.lead, .article-head .lead{ font-size:1.03rem; }
  .hero .hero-eyebrow{ font-size:0.64rem; }
  section[style*="padding-bottom:0"]{ padding-top:1.5rem; }
}

/* ticker */
.ticker{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; padding:0; background:#fff; }
.ticker-track{ display:flex; gap:2.6rem; width:max-content; padding:1rem 0; animation:scroll 45s linear infinite;
  font-family:"JetBrains Mono",monospace; font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); }
.ticker-track span{ white-space:nowrap; }
.ticker-track span::before{ content:"\25C6"; color:var(--teal-bright); margin-right:0.9rem; font-size:0.55rem; vertical-align:2px; }
@keyframes scroll{ to{ transform:translateX(-50%); } }

/* ---------------- Sections ---------------- */
section{ padding:clamp(3.5rem, 7vw, 6rem) 0; position:relative; }
.section-alt{ background:var(--bg-alt); }
.section-head{ max-width:60ch; margin-bottom:2.75rem; }
.section-head p{ color:var(--muted); }

.value-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1rem; }
.value-card{
  padding:1.8rem; border-radius:var(--radius); background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:border-color .2s, transform .2s, box-shadow .2s;
}
.value-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.value-card h3{ margin-bottom:0.5rem; }
.value-card p{ color:var(--muted); font-size:0.95rem; margin:0; }
@media (max-width: 820px){ .value-grid{ grid-template-columns:1fr; } }

/* stat cards */
.stat-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.stat-card{ padding:1.9rem; border-radius:var(--radius); background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); }
.stat-card .num{ font-family:"Space Grotesk",sans-serif; font-size:clamp(2.6rem,5vw,3.6rem); font-weight:700; line-height:1; display:block; margin-bottom:0.7rem; letter-spacing:-0.035em; }
.stat-card p{ margin:0; color:var(--ink-soft); font-size:0.95rem; }
.stat-card .src{ display:block; margin-top:0.9rem; font-family:"JetBrains Mono",monospace; font-size:0.68rem; letter-spacing:0.05em; text-transform:uppercase; color:var(--muted); }
@media (max-width: 820px){ .stat-strip{ grid-template-columns:1fr; } }

.compliance{
  background:var(--grad-soft);
  border:1px solid #d3eaea; border-radius:var(--radius);
  padding:2rem clamp(1.4rem, 4vw, 2.4rem); box-shadow:var(--shadow-sm);
}
.compliance h3{ margin-bottom:0.9rem; color:var(--teal-dark); }
.compliance p{ color:var(--ink-soft); font-size:0.94rem; max-width:none; }
.compliance p:last-child{ margin-bottom:0; }

/* ---------------- Badges ---------------- */
.badge{
  display:inline-flex; align-items:center; gap:0.45em;
  font-size:0.64rem; letter-spacing:0.08em; text-transform:uppercase; font-weight:500;
  padding:0.45em 0.8em; border-radius:999px; line-height:1.2; border:1px solid transparent;
}
.badge::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; flex:none; }
.badge-approved{ color:#11703f; background:#e5f6ec; border-color:#c7ead5; }
.badge-trial{ color:#8a5a00; background:#fdf3dc; border-color:#f4e0b0; }
.badge-animal{ color:#a83a26; background:#fdebe7; border-color:#f6cfc6; }
.badge-mixed{ color:#0b5f78; background:#e3f2f8; border-color:#c6e2ee; }
.badge-row{ display:flex; gap:0.45rem; flex-wrap:wrap; }

/* ---------------- Library ---------------- */
.lib-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:1rem; }
.lib-card{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm);
  padding:1.6rem; display:flex; flex-direction:column; gap:0.75rem; text-decoration:none;
  transition:border-color .2s, transform .2s, box-shadow .25s;
}
.lib-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .25s;
  background:radial-gradient(380px 220px at var(--mx,50%) var(--my,0%), rgba(25,179,176,0.08), transparent 70%);
}
.lib-card:hover{ border-color:#cde5e5; transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.lib-card:hover::after{ opacity:1; }
.lib-card h3{ margin:0.2rem 0 0; font-size:1.3rem; }
.lib-card p{ color:var(--muted); font-size:0.92rem; margin:0; }
.lib-card .meta{ font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin-top:auto; padding-top:0.8rem; border-top:1px solid var(--line); }
.lib-card .more{ color:var(--teal); font-size:0.88rem; font-weight:600; }
.lib-card .big{ font-family:"Space Grotesk",sans-serif; font-size:2.4rem; font-weight:700; line-height:1; letter-spacing:-0.035em; margin-top:0.4rem; }
.lib-card .big small{ display:block; font-family:"Inter",sans-serif; font-size:0.76rem; font-weight:500; letter-spacing:0; color:var(--muted); -webkit-text-fill-color:var(--muted); margin-top:0.45rem; line-height:1.4; }

.filter-row{ display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:2rem; }
.chip{
  font-family:inherit; font-size:0.84rem; padding:0.6em 1.1em; border:1px solid var(--line-strong);
  border-radius:999px; background:#fff; cursor:pointer; color:var(--ink-soft); transition:all .15s;
}
.chip:hover{ border-color:var(--teal); color:var(--teal-brand); }
.chip[aria-pressed="true"]{ background:var(--teal-brand); color:#fff; border-color:var(--teal-brand); font-weight:600; }

/* ---------------- FAQ ---------------- */
.faq-item{ border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; margin-bottom:0.6rem; padding:0 1.3rem; box-shadow:var(--shadow-sm); transition:border-color .2s, box-shadow .2s; }
.faq-item[open]{ border-color:#cde5e5; box-shadow:var(--shadow); }
.faq-item summary{ cursor:pointer; padding:1.15rem 0; font-weight:600; color:var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; font-weight:400; color:var(--teal); flex:none; transition:transform .2s; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .answer{ padding:0 0 1.2rem; }
.faq-item .answer p{ color:var(--muted); max-width:70ch; }

/* ---------------- Forms ---------------- */
.form-grid{ display:grid; gap:1.2rem; max-width:640px; }
.form-row{ display:grid; gap:1.2rem; grid-template-columns:1fr 1fr; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
label{ display:block; font-size:0.85rem; font-weight:600; margin-bottom:0.45rem; color:var(--ink-soft); }
input, select, textarea{
  width:100%; padding:0.85em 1em; border:1px solid var(--line-strong); border-radius:12px;
  font-family:inherit; font-size:0.96rem; background:#fff; color:var(--ink); transition:border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder{ color:#97abad; }
input:focus, select:focus, textarea:focus{ outline:none; border-color:var(--teal); box-shadow:0 0 0 4px rgba(0,115,127,0.12); }
textarea{ min-height:140px; resize:vertical; }
.field-hint{ font-size:0.82rem; color:var(--muted); margin-top:0.35rem; }
.form-status{ color:var(--teal) !important; }
.required-note{ font-size:0.85rem; color:var(--muted); }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:start; }
@media (max-width:920px){ .two-col{ grid-template-columns:1fr; gap:2.5rem; } }

/* ---------------- CTA ---------------- */
.cta-banner{
  position:relative; overflow:hidden;
  background:var(--grad); color:#fff; border-radius:24px;
  padding:clamp(2rem,5vw,3.2rem); display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap;
  box-shadow:0 24px 48px -24px rgba(0,73,91,0.55);
}
.cta-banner h2{ margin-bottom:0.35rem; color:#fff; }
.cta-banner p{ color:#d6f0f0; margin:0; }
.cta-banner .btn-primary{ background:#fff; color:var(--teal-brand); box-shadow:none; }

/* ---------------- Footer ---------------- */
.site-footer{ border-top:1px solid var(--line); background:#fff; margin-top:2rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2.5rem; padding:3.5rem 0 2rem; }
.footer-grid h4{ font-family:"JetBrains Mono",monospace; font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); font-weight:500; margin-bottom:1rem; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:0.6rem; }
.footer-grid a{ text-decoration:none; font-size:0.92rem; color:var(--ink-soft); }
.footer-grid a:hover{ color:var(--teal); }
.footer-brand .brand{ margin-bottom:1rem; }
.footer-brand p{ color:var(--muted); font-size:0.9rem; max-width:34ch; }
.footer-legal{ border-top:1px solid var(--line); padding:1.4rem 0 2rem; font-size:0.8rem; color:var(--muted); display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.75rem; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } .footer-brand{ grid-column:1 / -1; } }

/* ---------------- Articles ---------------- */
.article-head{ border-bottom:1px solid var(--line); padding:clamp(1.5rem,4vw,3rem) 0 2.2rem; position:relative; }
.article-head h1{ font-size:clamp(2.4rem, 5.5vw, 4rem); margin-bottom:0.35em; }
.article-head .lead{ font-size:1.15rem; color:var(--muted); max-width:60ch; }
.article-meta{ font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted) !important; margin-top:1.2rem; }
.article{ max-width:74ch; }
.article h2{ font-size:clamp(1.5rem,2.6vw,1.95rem); margin-top:2.8rem; }
.article h3{ margin-top:1.8rem; }
.article ul, .article ol{ padding-left:1.2rem; max-width:64ch; color:var(--ink-soft); }
.article li{ margin-bottom:0.55em; }
.article li::marker{ color:var(--teal-bright); }
.article a{ color:var(--teal); text-decoration:none; border-bottom:1.5px solid rgba(0,115,127,0.25); }
.article a:hover{ border-bottom-color:var(--teal); }
.article a.btn{ border-bottom:none; color:#fff; }
.article a.btn-outline{ color:var(--ink); }

.tldr{
  position:relative; background:var(--grad-soft);
  border:1px solid #d3eaea; border-radius:var(--radius);
  padding:1.7rem clamp(1.3rem,3vw,2.1rem); margin:2.2rem 0; box-shadow:var(--shadow-sm);
}
.tldr h2{ font-family:"JetBrains Mono",monospace; font-size:0.74rem !important; font-weight:500; letter-spacing:0.12em; text-transform:uppercase; color:var(--teal); margin:0 0 1rem !important; }
.tldr ul{ margin:0; }
.tldr li{ margin-bottom:0.6em; color:var(--ink); }

.status-table{ width:100%; border-collapse:separate; border-spacing:0; margin:1.2rem 0 0.5rem; font-size:0.93rem; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; background:#fff; box-shadow:var(--shadow-sm); }
.status-table th, .status-table td{ text-align:left; padding:0.85rem 1rem; border-bottom:1px solid var(--line); vertical-align:top; color:var(--ink-soft); }
.status-table tr:last-child th, .status-table tr:last-child td{ border-bottom:none; }
.status-table th{ font-family:"JetBrains Mono",monospace; font-weight:500; width:30%; color:var(--muted); font-size:0.7rem; letter-spacing:0.07em; text-transform:uppercase; background:#f8fbfb; }
@media (max-width:560px){
  .status-table th, .status-table td{ display:block; width:100%; }
  .status-table th{ border-bottom:none; padding-bottom:0.3rem; }
}

.callout{
  border:1px solid #f6cfc6; background:#fff6f3;
  padding:1.2rem 1.4rem; margin:1.8rem 0; border-radius:var(--radius-sm);
}
.callout p{ margin:0; color:#4a2a22; max-width:none; }
.callout strong{ color:#a83a26; }

.deeper-label{
  display:flex; align-items:center; gap:0.8rem; margin-top:2.6rem;
  font-size:0.7rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--teal);
}
.deeper-label::after{ content:""; flex:1; height:1px; background:linear-gradient(90deg, rgba(0,115,127,0.4), transparent); }

.sources{ font-size:0.86rem; color:var(--muted); margin-top:3rem; padding:1.5rem 1.6rem; border:1px solid var(--line); border-radius:var(--radius-sm); background:#f8fbfb; }
.sources h2{ margin-top:0 !important; font-family:"JetBrains Mono",monospace; font-size:0.72rem !important; font-weight:500; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); }
.sources ol{ padding-left:1.2rem; color:var(--muted); margin:0; }
.sources li{ margin-bottom:0.55em; }
.sources a{ word-break:break-word; }

.disclaimer{ font-size:0.84rem; color:var(--muted) !important; border-top:1px solid var(--line); padding-top:1.25rem; margin-top:2.5rem; }

.progress{ position:fixed; top:0; left:0; height:3px; width:0; background:var(--grad); z-index:150; }

/* ---------------- Newsletter ---------------- */
.newsletter{
  display:grid; grid-template-columns:1.1fr 1fr; gap:2rem; align-items:center;
  padding:clamp(2rem,5vw,3rem); border-radius:24px; border:1px solid #d3eaea;
  background:var(--grad-soft); box-shadow:var(--shadow);
}
.newsletter form{ display:flex; gap:0.6rem; flex-wrap:wrap; }
.newsletter input[type=email]{ flex:1 1 220px; border-radius:999px; padding-left:1.3em; }
@media (max-width:820px){ .newsletter{ grid-template-columns:1fr; } }

/* ---------------- Beliefs ---------------- */
.belief{ display:grid; grid-template-columns:auto 1fr; gap:1.1rem; padding:1.3rem 1.4rem; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; margin-bottom:0.7rem; box-shadow:var(--shadow-sm); transition:box-shadow .2s, transform .2s; }
.belief:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.belief .n{ color:var(--teal-bright); font-size:0.85rem; padding-top:0.2rem; font-weight:500; }
.belief h3{ margin:0 0 0.3rem; }
.belief p{ margin:0; color:var(--muted); font-size:0.95rem; }

.maple{ color:#d8202f; }

/* ---------------- Reveal on scroll ---------------- */
.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.js .reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .js .reveal{ opacity:1; transform:none; }
}

/* ============================================================
   FRIENDLY PROFILE FORMAT
   ============================================================ */
.quick-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:0.8rem; margin:2rem 0 2.4rem; }
.quick{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); }
.quick p{ margin:0.35rem 0 0; font-size:0.98rem; color:var(--ink); }
.quick-label{ display:block; font-family:"JetBrains Mono",monospace; font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:0.25rem; }
@media (max-width:560px){ .quick-grid{ grid-template-columns:1fr; } }

.meter{ display:inline-flex; gap:5px; margin-top:0.3rem; }
.meter i{ width:22px; height:8px; border-radius:99px; background:#e3eeee; }
.meter i.on{ background:var(--grad); }

.status-light{ display:inline-flex; align-items:center; gap:0.5em; margin-top:0.3rem; font-weight:600; font-size:0.95rem; }
.status-light::before{ content:""; width:11px; height:11px; border-radius:50%; }
.status-light.green{ color:#11703f; } .status-light.green::before{ background:#2bb673; box-shadow:0 0 0 4px #e5f6ec; }
.status-light.amber{ color:#8a5a00; } .status-light.amber::before{ background:#f2b632; box-shadow:0 0 0 4px #fdf3dc; }
.status-light.red{ color:#a83a26; }   .status-light.red::before{ background:#e5654c; box-shadow:0 0 0 4px #fdebe7; }
.status-light.blue{ color:#0b5f78; }  .status-light.blue::before{ background:#3aa3c8; box-shadow:0 0 0 4px #e3f2f8; }

.good-to-know{ list-style:none; padding-left:0 !important; }
.good-to-know li{ position:relative; padding:0.9rem 1rem 0.9rem 2.6rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); margin-bottom:0.55rem; box-shadow:var(--shadow-sm); }
.good-to-know li::before{ content:"i"; position:absolute; left:0.9rem; top:0.95rem; width:20px; height:20px; border-radius:50%; background:var(--teal-tint); color:var(--teal); font:600 0.75rem/20px "Inter",sans-serif; text-align:center; font-style:italic; }

details.dig{ margin-top:2.6rem; border:1px solid #d3eaea; border-radius:var(--radius); background:var(--grad-soft); box-shadow:var(--shadow-sm); }
details.dig > summary{ cursor:pointer; list-style:none; padding:1.3rem 1.5rem; display:flex; flex-direction:column; gap:0.15rem; position:relative; padding-right:3.5rem; }
details.dig > summary::-webkit-details-marker{ display:none; }
details.dig > summary span{ font-family:"Space Grotesk",sans-serif; font-weight:600; font-size:1.2rem; color:var(--teal-dark); }
details.dig > summary small{ color:var(--muted); font-size:0.88rem; }
details.dig > summary::after{ content:"+"; position:absolute; right:1.4rem; top:50%; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; background:#fff; color:var(--teal); font-size:1.3rem; line-height:30px; text-align:center; border:1px solid #cfe6e6; transition:transform .2s; }
details.dig[open] > summary::after{ transform:translateY(-50%) rotate(45deg); }
.dig-body{ padding:0 1.5rem 1.5rem; background:transparent; }
.dig-body .status-table, .dig-body .sources{ background:#fff; }

.term{ border-bottom:1.5px dotted var(--teal); cursor:help; position:relative; }
.term:hover::after, .term:focus::after{
  content:attr(data-def); position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%);
  width:max-content; max-width:240px; background:var(--ink); color:#fff; font-size:0.82rem; line-height:1.45; font-weight:400;
  padding:0.6rem 0.75rem; border-radius:10px; z-index:20; box-shadow:var(--shadow);
}

/* softer "early research" badge: calm violet instead of alarm coral */
.badge-animal{ color:#5b4bb0; background:#efedfb; border-color:#dcd7f5; }
.status-light.grey{ color:#4e6266; } .status-light.grey::before{ background:#9fb3b6; box-shadow:0 0 0 4px #edf3f3; }

.quick-wide{ grid-column:1 / -1; }
.stages{ list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; padding:0 !important; margin:0.7rem 0 0.2rem !important; max-width:none !important; }
.stages li{ position:relative; text-align:center; font-size:0.72rem; font-family:"JetBrains Mono",monospace; letter-spacing:0.04em; text-transform:uppercase; color:var(--muted); padding-top:16px; margin:0 !important; }
.stages li::before{ content:""; position:absolute; top:0; left:0; right:0; height:8px; border-radius:99px; background:#e3eeee; }
.stages li.done::before{ background:var(--grad); }
.stages li.now::before{ background:linear-gradient(90deg,#19b3b0 0%, #19b3b0 50%, #e3eeee 50%); }
.stages li.done, .stages li.now{ color:var(--teal-dark); font-weight:500; }
.stage-note{ margin-top:0.6rem !important; }
@media (max-width:560px){ .stages li{ font-size:0.6rem; letter-spacing:0; } }

/* library card mini stage bar + real talk */
.stages-mini{ margin:0.2rem 0 0 !important; gap:4px; }
.stages-mini li{ font-size:0; padding-top:6px; }
.stages-mini li::before{ height:6px; }
.lib-card .why{ color:var(--ink-soft); font-size:0.9rem; }
.lib-card .why strong{ font-weight:600; }
.lib-card .status-light{ font-size:0.85rem; margin-top:auto; padding-top:0.7rem; border-top:1px solid var(--line); }
.lib-card .status-light small{ font-weight:400; color:var(--muted); }
.lib-card .status-light::before{ align-self:center; }

.realtalk{
  max-width:820px; margin:0 auto; text-align:center; padding:clamp(2.2rem,5vw,3.4rem) clamp(1.4rem,5vw,3.4rem);
  border-radius:28px; background:var(--grad-soft); border:1px solid #d3eaea; box-shadow:var(--shadow);
}
.realtalk h2{ font-size:clamp(1.9rem,4vw,2.8rem); }
.realtalk p{ margin-left:auto; margin-right:auto; font-size:1.08rem; max-width:58ch; }
.realtalk .hero-eyebrow{ justify-content:center; }

/* ============================================================
   COFFEE TOUCHES
   ============================================================ */
:root{ --latte:#b9875a; --latte-dark:#8a5d36; --latte-tint:#f8f0e7; }
.cup{ display:inline-block; width:1.15em; height:1.15em; vertical-align:-0.2em; margin-right:0.35em;
  background:url("../images/cup.svg") center/contain no-repeat; }
.article-meta .cup{ width:1.3em; height:1.3em; margin-right:0.15em; }
.article-meta .cup + .cup{ margin-left:-0.1em; }
h2.with-cup .cup{ width:0.95em; height:0.95em; margin-right:0.4em; vertical-align:-0.08em; }
details.dig > summary span .cup{ width:1.05em; height:1.05em; }
.hero-eyebrow .cup{ width:1.25em; height:1.25em; margin-right:0.2em; }

/* "Our take" card gets the warm latte accent */
.quick:last-child{ background:linear-gradient(160deg, var(--latte-tint), #fff 70%); border-color:#efdfcd; }
.quick:last-child .quick-label{ color:var(--latte-dark); }

/* steaming cup */
.steam-cup{ position:relative; width:54px; height:86px; margin:0 auto 0.4rem; }
.steam-cup img{ position:absolute; bottom:0; left:0; }
.steam{ position:absolute; bottom:44px; width:4px; height:22px; border-radius:4px;
  background:linear-gradient(to top, rgba(185,135,90,0.55), rgba(185,135,90,0)); opacity:0; animation:steam 3.2s ease-in-out infinite; }
.steam.s1{ left:17px; } .steam.s2{ left:25px; animation-delay:1s; } .steam.s3{ left:33px; animation-delay:2s; }
@keyframes steam{ 0%{ opacity:0; transform:translateY(6px) scaleX(1);} 30%{ opacity:1; } 100%{ opacity:0; transform:translateY(-18px) scaleX(1.8) skewX(10deg);} }
@media (prefers-reduced-motion: reduce){ .steam{ opacity:0.6; animation:none !important; } }

/* faint cup ring on the About header */
.cup-ring-host{ position:relative; overflow:visible; }
.cup-ring{ position:absolute; right:4%; top:6%; width:220px; height:220px; border-radius:50%; pointer-events:none;
  border:10px solid rgba(185,135,90,0.10); box-shadow:inset 0 0 0 3px rgba(185,135,90,0.06), 0 0 0 2px rgba(185,135,90,0.05);
  transform:rotate(-12deg); clip-path:polygon(0 0,100% 0,100% 78%,82% 100%,0 100%); }
@media (max-width:820px){ .cup-ring{ width:130px; height:130px; right:-10px; top:-10px; border-width:7px; } }
.cup-ring{ z-index:-1; right:-1%; top:-14%; }
.cup-ring-host{ isolation:isolate; }

/* realistic cup + soft steam (replaces line-icon cup in Real talk / community) */
.coffee-art{ width:150px; margin:-0.5rem auto 0.2rem; }
.coffee-art svg{ width:100%; height:auto; overflow:visible; }
.wisp{ stroke-dasharray:140; stroke-dashoffset:0; animation:wisp 5.5s ease-in-out infinite; transform-box:fill-box; transform-origin:bottom center; }
.wisp.w2{ animation-delay:-1.8s; animation-duration:6.2s; }
.wisp.w3{ animation-delay:-3.4s; animation-duration:5s; }
@keyframes wisp{
  0%   { opacity:0;   transform:translateY(10px) scaleY(.8) skewX(0deg); }
  25%  { opacity:1; }
  60%  { opacity:.75; transform:translateY(-6px) scaleY(1.05) skewX(-6deg); }
  100% { opacity:0;   transform:translateY(-22px) scaleY(1.2) skewX(8deg); }
}
.realtalk{ overflow:hidden; }
@media (prefers-reduced-motion: reduce){ .wisp{ animation:none !important; opacity:.7; } }

/* low-key scattered coffee beans */
.bean-host{ position:relative; isolation:isolate; }
.bean-deco{ position:absolute; z-index:-1; pointer-events:none; width:150px; height:112px; right:2%; top:-8px;
  background:url("../images/beans.svg") center/contain no-repeat; opacity:.55; transform:rotate(8deg); }
.bean-deco.bean-sm{ width:110px; height:82px; right:-40px; top:4px; transform:rotate(-14deg); }
.bean-deco.bean-nl{ width:120px; height:90px; right:-18px; bottom:-22px; top:auto; opacity:.5; transform:rotate(-20deg); }
.newsletter.bean-host{ overflow:visible; }
@media (max-width:820px){
  .bean-deco{ width:96px; height:72px; right:-14px; top:-14px; opacity:.4; }
  .bean-deco.bean-sm{ width:78px; height:58px; right:-10px; }
  .bean-deco.bean-nl{ width:84px; height:63px; right:-8px; bottom:-18px; }
}
html, body{ overflow-x:clip; }
@media (max-width:820px){ .bean-deco, .bean-deco.bean-sm, .bean-deco.bean-nl{ right:0; } }
.bean-deco{ opacity:.88; filter:saturate(1.1); }
.bean-deco.bean-nl{ opacity:.85; }
@media (max-width:820px){ .bean-deco{ opacity:.75; } }

/* ============================================================
   REAL COFFEE MEDIA
   ============================================================ */
.realtalk.with-media{ max-width:1100px; display:grid; grid-template-columns:0.8fr 1.2fr; gap:clamp(1.5rem,4vw,3.2rem); align-items:center; text-align:left; padding:clamp(1rem,2vw,1.4rem); }
.realtalk.with-media .rt-text{ padding:clamp(0.5rem,3vw,2rem) clamp(0.5rem,2vw,1.5rem) clamp(0.5rem,3vw,2rem) 0; }
.realtalk.with-media p{ margin-left:0; margin-right:0; }
.realtalk.with-media .hero-eyebrow{ justify-content:flex-start; }
.rt-media{ border-radius:20px; overflow:hidden; aspect-ratio:4/5; background:#2b2118; box-shadow:0 20px 40px -20px rgba(10,35,40,0.45); }
.rt-media video{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:820px){
  .realtalk.with-media{ grid-template-columns:1fr; text-align:left; }
  .rt-media{ aspect-ratio:4/4.2; max-height:420px; }
  .realtalk.with-media .rt-text{ padding:0.5rem 0.6rem 1rem; }
}

/* real beans photo fading in above the footer */
.beans-strip{ height:clamp(140px,18vw,260px); margin-top:clamp(2rem,5vw,4rem);
  background:url("../media/beans-strip.jpg") center 60%/cover no-repeat;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 45%, #000 80%, transparent 100%);
          mask-image:linear-gradient(to bottom, transparent 0%, #000 45%, #000 80%, transparent 100%);
  opacity:.9; }
.beans-strip + .site-footer{ margin-top:0; }

/* ============================================================
   MOBILE FIXES
   ============================================================ */
@media (max-width: 920px){
  /* dropdown: solid card under the header (header's blur made the old fixed panel see-through) */
  .main-nav{
    position:absolute; inset:auto; top:100%; left:0; right:0;
    background:#ffffff; -webkit-backdrop-filter:none; backdrop-filter:none;
    border-bottom:1px solid var(--line); box-shadow:0 24px 40px -16px rgba(10,35,40,0.25);
    border-radius:0 0 20px 20px; max-height:calc(100vh - 72px); overflow-y:auto;
  }
  .main-nav ul{ padding:0.4rem var(--gutter); }
  .main-nav li:last-child{ border-bottom:none; }
  .main-nav ul a{ padding:0.85rem 0.25rem; font-size:1.1rem; }
  .main-nav ul a[aria-current="page"]{ color:var(--teal-brand); }
  .nav-actions{ padding:0.6rem var(--gutter) 1.2rem; }
  .nav-actions .btn{ width:100%; justify-content:center; }
  .nav-backdrop{ position:fixed; inset:0; background:rgba(10,35,40,0.28); z-index:90; opacity:0; pointer-events:none; transition:opacity .2s; }
  .nav-backdrop.show{ opacity:1; pointer-events:auto; }
}

/* buttons: tidy, full-width stacks on phones */
.btn-group{ display:flex; gap:0.7rem; flex-wrap:wrap; justify-content:center; }
.realtalk.with-media .btn-group{ justify-content:flex-start; }
@media (max-width:600px){
  .newsletter form{ flex-direction:column; }
  .newsletter form input[type=email], .newsletter form .btn{ width:100%; flex:none; justify-content:center; }
  .btn-group{ flex-direction:column; align-items:stretch; }
  .btn-group .btn, .form-grid .btn[type=submit]{ width:100%; justify-content:center; }
  .cta-banner .btn{ width:100%; justify-content:center; }
}

/* ============================================================
   STORIES OVER COFFEE
   ============================================================ */
.story-grid{ columns:3 320px; column-gap:1rem; }
.story-card{ break-inside:avoid; margin:0 0 1rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:1.6rem 1.6rem 1.3rem; box-shadow:var(--shadow-sm); position:relative; transition:box-shadow .2s, transform .2s; }
.story-card:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.story-card::before{ content:"\201C"; position:absolute; top:0.4rem; right:1.1rem; font:700 4rem/1 "Space Grotesk",serif; color:var(--latte); opacity:.22; }
.story-card h2{ font-size:1.2rem; margin:0 0 0.8rem; padding-right:2rem; }
.story-card blockquote{ margin:0; }
.story-card blockquote p{ font-size:0.98rem; color:var(--ink-soft); margin:0 0 0.75em; }
.story-by{ font-family:"JetBrains Mono",monospace; font-size:0.74rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--latte-dark);
  padding-top:0.8rem; margin-top:0.4rem; border-top:1px solid var(--line); }
.story-by::before{ content:"\2014  "; }
.story-link{ display:inline-block; margin-top:0.7rem; font-size:0.86rem; font-weight:600; color:var(--teal); text-decoration:none; margin-right:0.8rem; }
.consent{ display:flex; gap:0.7rem; align-items:flex-start; font-weight:400; font-size:0.9rem; color:var(--ink-soft); }
.consent input{ width:20px; height:20px; flex:none; margin-top:2px; accent-color:var(--teal); }

/* ===== positivity pass ===== */
/* gradient buttons: stop the gradient repeating under the transparent border (dark sliver on right edge) */
.btn-primary{ border:0; padding:calc(0.9em + 1px) calc(1.55em + 1px); background-origin:border-box; }
.main-nav .nav-actions .btn-primary{ padding:calc(0.72em + 1px) calc(1.2em + 1px); }

/* callouts: calm info style instead of coral warning */
.callout{ border:1px solid #cfe6e6; background:linear-gradient(160deg, #eef8f8, #f8fcfc); }
.callout p{ color:var(--ink-soft); }
.callout strong{ color:var(--teal-dark); }

.num-badge{ display:inline-block; font-family:"JetBrains Mono",monospace; font-size:0.78rem; color:var(--teal); background:var(--teal-tint); border-radius:999px; padding:0.3em 0.75em; margin-bottom:0.9rem; }

/* ============================================================
   INSTAGRAM: "the coffee table"
   ============================================================ */
.ig-wrap{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
.ig-menu{ list-style:none; padding:0; margin:1.4rem 0 0; display:grid; gap:0.85rem; max-width:560px; }
.ig-menu li{ display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:0.6rem; }
.ig-item{ font-family:"Space Grotesk",sans-serif; font-weight:600; font-size:1.05rem; color:var(--ink); }
.ig-dots{ border-bottom:2px dotted #e4cfb8; margin-bottom:0.45rem; align-self:end; }
.ig-desc{ grid-column:1 / -1; color:var(--muted); font-size:0.93rem; }
.ig-grid{ position:relative; display:block; height:440px; text-decoration:none; }
.ig-tile{ position:absolute; margin:0; width:58%; aspect-ratio:1; border-radius:18px; overflow:hidden; background:#fff; padding:8px 8px 34px;
  box-shadow:0 22px 40px -18px rgba(10,35,40,0.35); transition:transform .3s ease; }
.ig-tile img{ width:100%; height:100%; object-fit:cover; border-radius:12px; display:block; }
.ig-tile figcaption{ position:absolute; left:14px; bottom:9px; font-family:"JetBrains Mono",monospace; font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--latte-dark); }
.ig-tile.t1{ left:2%; top:4%; transform:rotate(-6deg); z-index:2; }
.ig-tile.t2{ right:0; top:0; transform:rotate(5deg); z-index:1; }
.ig-tile.t3{ left:22%; bottom:0; transform:rotate(-1deg); z-index:3; }
.ig-grid:hover .t1{ transform:rotate(-8deg) translateY(-6px); }
.ig-grid:hover .t2{ transform:rotate(7deg) translateY(-6px); }
.ig-grid:hover .t3{ transform:rotate(0deg) translateY(-8px); }
@media (max-width:860px){
  .ig-wrap{ grid-template-columns:1fr; }
  .ig-grid{ height:340px; max-width:420px; width:100%; margin:0 auto; }
}

/* ============================================================
   HERO VIDEO
   ============================================================ */
.hero-media{ position:relative; }
.hero-video{ border-radius:28px; overflow:hidden; aspect-ratio:4/5; max-height:560px; margin-left:auto; background:#2b2118;
  box-shadow:0 40px 70px -30px rgba(10,35,40,0.55), 0 0 0 8px #fff; transform:rotate(1.5deg); }
.hero-video video{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-chip{ position:absolute; display:inline-flex; align-items:center; gap:0.4em; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:0.55em 1em; font-size:0.85rem; font-weight:600; color:var(--ink); box-shadow:var(--shadow);
  animation:floaty 6s ease-in-out infinite; }
.hero-chip .cup{ width:1.2em; height:1.2em; margin:0; }
.hero-chip.c1{ left:-28px; bottom:18%; }
.hero-chip.c2{ right:-10px; top:8%; animation-delay:-3s; }
@keyframes floaty{ 50%{ transform:translateY(-8px); } }
@media (max-width:920px){
  .hero-media{ order:-1; max-width:340px; margin:0 auto 0.5rem; width:100%; }
  .hero-video{ aspect-ratio:1/1; transform:none; }
  .hero-chip{ font-size:0.75rem; }
  .hero-chip.c1{ left:-6px; bottom:10%; }
  .hero-chip.c2{ right:-6px; top:6%; }
}

/* ============================================================
   WHAT'S YOUR ORDER?
   ============================================================ */
.order-board{ border-radius:28px; padding:clamp(1.6rem,4vw,3rem); background:
  radial-gradient(600px 260px at 100% 0%, rgba(185,135,90,0.12), transparent 70%), #fff; border:1px solid var(--line); box-shadow:var(--shadow); }
.order-chips{ display:flex; flex-wrap:wrap; gap:0.6rem; }
.order-chip{ font-family:inherit; font-size:0.98rem; font-weight:600; color:var(--ink); background:var(--bg-alt); border:1px solid var(--line-strong);
  border-radius:999px; padding:0.8em 1.25em; cursor:pointer; transition:all .18s; }
.order-chip:hover{ border-color:var(--teal); transform:translateY(-2px); }
.order-chip[aria-pressed="true"]{ background:var(--grad); color:#fff; border-color:transparent; box-shadow:0 10px 24px -12px rgba(0,115,127,.7); }
.order-result{ margin-top:2rem; padding-top:1.6rem; border-top:2px dashed #ecdcca; }
.order-ticket{ font-family:"Space Grotesk",sans-serif; font-size:1.15rem; font-weight:600; color:var(--ink); }
.order-ticket .mono{ font-size:0.75rem; letter-spacing:0.12em; color:var(--latte-dark); background:var(--latte-tint); padding:0.35em 0.7em; border-radius:6px; margin-right:0.5rem; }
.order-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1rem; }
.order-card{ position:relative; display:flex; flex-direction:column; gap:0.55rem; text-decoration:none; background:var(--grad-soft); border:1px solid #d3eaea;
  border-radius:var(--radius); padding:1.4rem; opacity:0; animation:pour .5s ease forwards; transition:transform .2s, box-shadow .2s; }
.order-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.order-card h3{ margin:0; font-size:1.2rem; }
.order-card p{ margin:0; color:var(--ink-soft); font-size:0.92rem; }
.order-card .status-light{ font-size:0.85rem; margin-top:auto; }
.order-card .status-light small{ font-weight:400; color:var(--muted); }
.order-card .more{ color:var(--teal); font-weight:600; font-size:0.88rem; }
.order-num{ font-family:"JetBrains Mono",monospace; font-size:0.75rem; color:var(--latte-dark); }
@keyframes pour{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@media (max-width:820px){ .order-cards{ grid-template-columns:1fr; } .order-chip{ font-size:0.92rem; } }

/* IG tiles as videos */
.ig-tile video{ width:100%; height:100%; object-fit:cover; border-radius:12px; display:block; }

/* Morning Pour with espresso video */
.newsletter.has-video{ position:relative; overflow:hidden; isolation:isolate; }
.nl-video{ position:absolute; inset:0; z-index:-1; }
.nl-video video{ width:100%; height:100%; object-fit:cover; }
.nl-video::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(251,253,253,0.97) 0%, rgba(251,253,253,0.92) 45%, rgba(251,253,253,0.55) 100%); }
@media (max-width:820px){ .nl-video::after{ background:rgba(251,253,253,0.9); } }

/* 404 */
.spill{ text-align:center; padding:clamp(3rem,10vw,7rem) 0; }
.spill .big{ font-size:5rem; line-height:1; }
.nl-video::after{ background:linear-gradient(90deg, rgba(251,253,253,0.98) 0%, rgba(251,253,253,0.94) 42%, rgba(251,253,253,0.35) 72%, rgba(251,253,253,0.05) 100%); }
.nl-video video{ object-position:center 40%; }
@media (max-width:820px){ .nl-video::after{ background:linear-gradient(180deg, rgba(251,253,253,0.95) 0%, rgba(251,253,253,0.9) 60%, rgba(251,253,253,0.55) 100%); } }

/* phone hero: clean rounded video, no white frame or tilt */
@media (max-width:920px){
  .hero-video{ box-shadow:0 22px 40px -22px rgba(10,35,40,0.5); border-radius:22px; transform:none; aspect-ratio:5/4; }
  .hero-media{ max-width:none; }
  .hero-chip{ padding:0.45em 0.85em; font-size:0.72rem; box-shadow:0 6px 16px -8px rgba(10,35,40,0.35); }
  .hero-chip.c1{ left:10px; bottom:10px; }
  .hero-chip.c2{ right:10px; top:10px; }
}

/* ===== Why we're excited ===== */
.excited{ margin:2.2rem 0 0.6rem; padding:1.6rem 1.6rem 1.1rem; border-radius:var(--radius); background:linear-gradient(150deg,#e9f7f6 0%,#fff 55%,var(--latte-tint) 100%); border:1px solid #d3ecea; }
.excited h2{ margin-top:0 !important; }
.excited .spark{ margin-right:0.35em; }
.excited ul{ list-style:none; padding:0 !important; margin:0.9rem 0 0; display:grid; gap:0.6rem; }
.excited li{ position:relative; padding:0.15rem 0 0.15rem 2rem; line-height:1.55; }
.excited li::before{ content:""; position:absolute; left:0.2rem; top:0.45rem; width:0.85rem; height:0.85rem; border-radius:50%; background:var(--grad); box-shadow:0 0 0 4px rgba(0,115,127,.12); }
.excited li strong{ color:var(--teal-dark); }

/* ===== Ask us over coffee ===== */
.ask-row{ margin-top:1.1rem; }
.btn-ask{ background:var(--latte-tint); color:var(--latte-dark); border:1px solid #ecd9c3; box-shadow:var(--shadow-sm); }
.btn-ask:hover{ background:#f3e3cf; color:#6f4a29; }
.btn-ask .cup{ width:1.25em; height:1.25em; margin-right:0.4em; }
.ask-box{ display:flex; gap:1.6rem; align-items:center; justify-content:space-between; flex-wrap:wrap; margin:2.6rem 0 1.4rem; padding:1.8rem; border-radius:var(--radius); background:linear-gradient(140deg,var(--latte-tint),#fff 70%); border:1px solid #efdfcd; }
.ask-box > div{ flex:1 1 320px; min-width:0; }
.ask-box h2{ margin:0.3rem 0 0.4rem !important; font-size:1.45rem; }
.ask-box p{ margin:0; color:var(--ink-soft); }
@media (max-width:640px){ .ask-box .btn{ width:100%; justify-content:center; } .btn-ask{ width:100%; justify-content:center; } }

/* ===== Founder story ===== */
.founder{ display:grid; grid-template-columns:minmax(0,1fr); gap:0; max-width:68ch; }
.founder h2.founder-title{ font-size:clamp(1.7rem,3.6vw,2.4rem); line-height:1.12; margin:0.4rem 0 1.4rem; }
.founder p{ font-size:1.08rem; line-height:1.75; }
.founder .pull{ font-family:"Space Grotesk",sans-serif; font-size:1.35rem; line-height:1.4; color:var(--teal-dark); border-left:4px solid var(--latte); padding:0.2rem 0 0.2rem 1.1rem; margin:1.6rem 0; }
.founder .sig{ font-family:"Space Grotesk",sans-serif; font-weight:700; font-size:1.15rem; margin-top:1.4rem; }
.founder .sig small{ display:block; font-family:"Inter",sans-serif; font-weight:500; font-size:0.85rem; color:var(--muted); }
.story-card.featured{ grid-column:1/-1; background:linear-gradient(140deg,#e9f7f6,#fff 60%,var(--latte-tint)); border-color:#d3ecea; }
.story-card.featured .feat-tag{ font-family:"JetBrains Mono",monospace; font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--latte-dark); }

/* ===== What's brewing ===== */
.brew-list{ display:grid; gap:1rem; max-width:860px; }
.brew-item{ display:grid; grid-template-columns:120px minmax(0,1fr); gap:1.2rem; padding:1.4rem 1.5rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.brew-date{ font-family:"JetBrains Mono",monospace; font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--latte-dark); padding-top:0.3rem; }
.brew-item h2, .brew-item h3{ font-size:1.22rem; margin:0.45rem 0 0.4rem !important; }
.brew-item p{ margin:0 0 0.5rem; color:var(--ink-soft); }
.brew-src{ font-size:0.84rem; color:var(--muted); }
.brew-src a{ color:var(--teal); }
.badge-canada{ background:#fdecea; color:#a3352b; }
@media (max-width:640px){ .brew-item{ grid-template-columns:1fr; gap:0.2rem; } }
.brew-teaser{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.4rem; }
.brew-teaser a{ display:block; padding:1.3rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); color:inherit; text-decoration:none; transition:border-color .2s, transform .2s; }
.brew-teaser a:hover{ border-color:var(--teal); transform:translateY(-2px); }
.brew-teaser h3{ font-size:1.05rem; margin:0.5rem 0 0.35rem; }
.brew-teaser p{ font-size:0.9rem; color:var(--muted); margin:0; }
@media (max-width:820px){ .brew-teaser{ grid-template-columns:1fr; } }

/* nav: 8 items, keep on one line at mid widths */
.main-nav ul a{ white-space:nowrap; }
@media (min-width:921px) and (max-width:1280px){
  .main-nav{ gap:0.8rem; }
  .main-nav ul{ gap:0.1rem; }
  .main-nav ul a{ padding:0.45rem 0.6rem; font-size:0.87rem; }
  .main-nav .nav-actions{ display:none; }
}
.story-card.featured{ column-span:all; -webkit-column-span:all; margin-bottom:1.4rem; padding:clamp(1.4rem,3vw,2.2rem); }
.story-card.featured h2{ font-size:clamp(1.4rem,2.6vw,1.8rem); }
.story-card.featured blockquote p{ font-size:1.08rem; max-width:70ch; }
