/* =================================================================
   FROZEN KEFIR — frozenkefir.co
   The authority on frozen kefir — no added sugar. Served at Snowfall, Marylebone.
   Minimal, white, single fresh-green accent. Single shared stylesheet, no build step.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --paper:        #FFFFFF;   /* page background */
  --paper-2:      #F4F8F6;   /* alternating section — faint green-grey */
  --paper-3:      #ECF3EF;
  --ink:          #141C18;   /* near-black, faint warm green */
  --ink-soft:     #55625B;   /* muted body text */
  --ink-faint:    #8A968F;
  --accent:       #0F7A52;   /* primary green — AA on white */
  --accent-brt:   #13A06B;   /* brighter accent / hover */
  --accent-deep:  #0A3C2A;   /* dark green panels */
  --accent-wash:  #E7F2EC;   /* light green wash */
  --line:         rgba(20, 28, 24, 0.11);
  --line-strong:  rgba(20, 28, 24, 0.18);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --container-narrow: 720px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 60, 42, 0.05);
  --shadow-md: 0 10px 34px rgba(10, 60, 42, 0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-deep); }
ul, ol { padding-left: 1.25rem; }
li { margin: .35rem 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1rem; max-width: 68ch; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--container-narrow); }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bg-2 { background: var(--paper-2); }
.bg-wash { background: var(--accent-wash); }
.bg-dark { background: var(--accent-deep); color: #D9E8E1; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .eyebrow { color: #7FD3AC; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.measure { max-width: 60ch; }
.mt-0 { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-deep); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { background: var(--accent-wash); color: var(--accent-deep); transform: translateY(-2px); }
.btn-arrow::after { content: "→"; transition: transform .2s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { color: var(--accent-deep); }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.nav-links a:not(.btn) { color: var(--ink-soft); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-cta { margin-left: .3rem; }

.has-sub { position: relative; }
.has-sub > a::after { content: "⌄"; margin-left: .25rem; font-size: .8em; opacity: .6; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; min-width: 230px;
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: all .2s ease;
}
.submenu li { margin: 0; }
.submenu a { display: block; padding: .5rem .8rem; border-radius: 8px; font-size: .9rem; color: var(--ink); }
.submenu a:hover { background: var(--accent-wash); color: var(--accent); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: .4rem; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .2s ease;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -7px; } .nav-toggle-label span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 70% at 82% 0%, rgba(19,160,107,0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 55%, var(--paper-2) 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.hero h1 { margin: 0 auto .4rem; max-width: 16ch; }
.hero .lead { max-width: 58ch; margin: 1.3rem auto 2rem; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-mark { font-family: var(--font-display); font-size: clamp(.95rem,1.3vw,1.1rem); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.badge-nosugar {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem;
  background: var(--accent-wash); color: var(--accent-deep); border: 1px solid rgba(15,122,82,0.2);
  font-weight: 600; font-size: .85rem; padding: .45rem 1rem; border-radius: 999px;
}

/* ---------- Prose ---------- */
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h3 { margin: 2rem 0 .7rem; color: var(--accent-deep); }
.prose p, .prose li { color: var(--ink-soft); }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.page-head { padding: clamp(3rem,6vw,4.5rem) 0 clamp(1.2rem,3vw,2rem); text-align: center; background: linear-gradient(180deg, #fff, var(--paper-2)); }
.page-head h1 { margin-bottom: .5rem; }
.page-head .lead { margin: 0 auto; }
.crumbs { font-size: .84rem; color: var(--ink-faint); margin-bottom: 1.1rem; }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Callouts ---------- */
.definition {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.5rem 1.7rem; margin: 1.8rem 0;
}
.definition p:last-child { margin-bottom: 0; }
.callout { background: var(--accent-wash); border-radius: var(--radius); padding: 1.3rem 1.5rem; color: var(--accent-deep); }
.callout p:last-child { margin-bottom: 0; }
.compliance { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.1rem 1.4rem; font-size: .92rem; color: var(--ink-soft); }

.negatives { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: 1.4rem 0; }
.negatives span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 500; color: var(--ink-soft); }
.negatives span s { color: var(--ink-faint); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--ink-soft); margin-bottom: 0; }
.card .icon { font-size: 1.7rem; margin-bottom: .7rem; display: block; }
a.card { color: inherit; display: block; }
a.card:hover h3 { color: var(--accent); }
.card-link { font-weight: 600; color: var(--accent); font-size: .9rem; margin-top: .9rem; display: inline-block; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background:#fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 540px; }
table.compare th, table.compare td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; background: var(--accent-deep); color: #fff; }
table.compare thead th:first-child { text-align: left; }
table.compare thead th.is-hero { background: var(--accent); }
table.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); font-family: var(--font-body); }
table.compare tbody tr:nth-child(even) td, table.compare tbody tr:nth-child(even) th { background: var(--paper-2); }
table.compare td.hero-col { background: var(--accent-wash); font-weight: 600; }
table.compare .yes { color: var(--accent); font-weight: 700; font-size: 1.15rem; }
table.compare .no  { color: var(--ink-faint); }
table.compare .maybe { color: #B7791F; font-weight: 600; font-size: .86rem; }

/* ---------- Timeline / steps ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent-brt), var(--accent-wash)); }
.timeline li { position: relative; padding: 0 0 1.8rem 3.1rem; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.timeline .step { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); font-weight: 600; display: block; margin-bottom: .2rem; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.timeline p { color: var(--ink-soft); margin-bottom: 0; font-size: .97rem; }
.timeline li.is-now::before { border-color: var(--accent-brt); background: var(--accent-brt); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--accent); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Split / photo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.snow-photo { margin: 0; }
.snow-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.snow-photo figcaption { text-align: center; color: var(--ink-faint); font-size: .88rem; margin-top: .8rem; font-style: italic; }
.prose figure.snow-photo { margin: 2rem auto; max-width: 460px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); color: var(--accent); font-weight: 600; line-height: 1; }
.stat .label { color: var(--ink-soft); font-size: .93rem; margin-top: .4rem; }

/* ---------- Local / find us ---------- */
.local-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.local-card h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.local-meta { list-style: none; padding: 0; margin: 0; }
.local-meta li { display: flex; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.local-meta li:last-child { border-bottom: 0; }
.local-meta .ic { color: var(--accent); flex-shrink: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(120% 120% at 85% 0%, rgba(19,160,107,0.30), transparent 55%), linear-gradient(135deg, var(--accent-deep), #0d5138);
  color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(2.4rem,5vw,3.6rem); overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto .7rem; }
.cta-band p { color: #C5E4D6; max-width: 46ch; margin: 0 auto 1.6rem; }
.cta-section { padding-top: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: transform .2s ease, box-shadow .2s ease; display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .thumb { height: 140px; background: linear-gradient(135deg, var(--accent-brt), var(--accent-deep)); display:flex; align-items:center; justify-content:center; font-size:2.4rem; }
.post-card .thumb.wash { background: linear-gradient(135deg, #8AD9B4, var(--accent)); }
.post-card .thumb.mint { background: linear-gradient(135deg, #B7E9CF, #4FB98A); }
.post-card .body { padding: 1.3rem 1.4rem 1.5rem; flex:1; display:flex; flex-direction:column; }
.post-card .tag { font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color: var(--accent); font-weight:600; }
.post-card h3 { font-size:1.18rem; margin:.5rem 0; }
.post-card p { font-size:.94rem; color: var(--ink-soft); margin-bottom: .9rem; flex:1; }
.article { max-width: var(--container-narrow); margin: 0 auto; }
.article-meta { color: var(--ink-faint); font-size: .9rem; margin-bottom: 1.4rem; }
.article-meta a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-deep); color: #A7C6B7; padding: clamp(3rem,5vw,4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .5rem 0; }
.site-footer a { color: #A7C6B7; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: #fff; display:flex; align-items:center; gap:.5rem; margin-bottom: .7rem; }
.footer-brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent-brt); display:inline-block; }
.footer-about { font-size: .94rem; max-width: 34ch; color: #8FB3A2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .84rem; color: #7BA08D; }
.footer-bottom a { color: #7BA08D; }

/* ---------- Utilities ---------- */
.pill { display:inline-block; background: var(--accent-wash); color: var(--accent); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:.35rem .8rem; border-radius:999px; }
.related { display:flex; gap:.55rem; flex-wrap:wrap; margin-top:1rem; }
.related a { background:#fff; border:1px solid var(--line); border-radius:999px; padding:.45rem 1rem; font-size:.88rem; color:var(--accent); }
.related a:hover { border-color: var(--accent); background: var(--accent-wash); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-toggle-label { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 24px 1.4rem; gap: .2rem; box-shadow: var(--shadow-md); display: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: .8rem 0 0; }
  .nav-links .nav-cta a { display: inline-flex; }
  .has-sub > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 1rem; min-width: 0; background: transparent; }
  .submenu a { padding: .5rem 0; }
}
@media (max-width: 820px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
