/* ==========================================================
   Glucose Steady — shared stylesheet (v2)
   Layout concept: forest-green and cream food editorial.
   Plated food on dark green, bold grotesque type, magazine-style
   recipe cards with ingredient tiles and numbered method.
   ========================================================== */

:root {
  /* Colour */
  --forest: #1F2D1C;        /* hero and bands */
  --forest-deep: #162114;   /* footer base, button hover */
  --cream: #F3EFE3;         /* page ground */
  --paper: #FBF9F3;         /* cards */
  --sage: #CDD5B8;          /* pale bands, photo slots */
  --sage-soft: #E4E7D6;     /* chips */
  --olive: #56673A;         /* accent on light */
  --leaf: #A9BC7E;          /* accent on dark */
  --tomato: #C9623F;        /* glycaemic load highlight */
  --ink: #1B2118;           /* body text */
  --muted: #5E6356;         /* secondary text */
  --line: #D6D0BE;          /* hairlines on light */
  --line-dark: rgba(243, 239, 227, 0.16); /* hairlines on dark */

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--olive); }
a:hover { color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--olive);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--paper); padding: 8px 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--forest);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand em { font-style: normal; color: var(--olive); }
.brand:hover { color: var(--forest); }
.brand:hover .brand-mark { color: var(--forest); }

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--olive);
  transition: color 0.2s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-bottom-color: var(--forest); color: var(--forest); }

.nav-links .nav-insta {
  background: var(--forest);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
}
.nav-links .nav-insta:hover { background: var(--olive); color: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--ink);
  font: 600 0.875rem var(--font-display);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
  border-radius: 999px;
  padding: 13px 24px;
  font: 600 0.9375rem var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-light:hover { background: var(--leaf); border-color: var(--leaf); color: var(--forest-deep); }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-small { padding: 9px 16px; font-size: 0.875rem; }

/* ---------- Photo placeholders ----------
   Replace each .photo-slot / .plate with an <img> when photos arrive. */

.photo-slot {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 46%, var(--paper) 0 26%, var(--sage-soft) 26.5% 31%, transparent 31.5%),
    linear-gradient(160deg, var(--sage) 0%, #B9C39E 100%);
  color: var(--forest);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 20px;
}

.photo-slot .slot-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(251, 249, 243, 0.85);
  border-radius: 999px;
  padding: 5px 12px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plate {
  aspect-ratio: 1;
  width: min(100%, 460px);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 60%, #E5E0D0 60.5% 66%, var(--cream) 66.5% 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Photos ---------- */

.hero-photo {
  width: min(100%, 480px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid var(--cream);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, rgba(169, 188, 126, 0.16), transparent 70%),
    var(--forest);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy { display: grid; gap: 26px; min-width: 0; }

.hero .eyebrow { color: var(--leaf); }

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 700;
  color: var(--cream);
}

.hero h1 em {
  font-style: normal;
  color: var(--leaf);
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: rgba(243, 239, 227, 0.82);
  max-width: 40ch;
}

.hero-sub strong { font-weight: 600; color: var(--cream); display: block; margin-bottom: 6px; }

.signup {
  display: grid;
  gap: 10px;
  max-width: 480px;
  padding-top: 8px;
  border-top: 1px solid var(--line-dark);
}

.signup label {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
  padding-top: 14px;
}

.signup-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(243, 239, 227, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 6px;
}

.signup input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
}
.signup input[type="email"]::placeholder { color: rgba(243, 239, 227, 0.5); }
.signup input[type="email"]:focus { outline: none; }
.signup-row:focus-within { border-color: var(--leaf); }

.signup-note { font-size: 0.8125rem; color: rgba(243, 239, 227, 0.6); }
.signup-note.is-success { color: var(--leaf); font-weight: 500; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding-block: 24px;
}

.glass-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  background: rgba(22, 33, 20, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(243, 239, 227, 0.22);
  border-radius: 16px;
  padding: 12px 16px;
  color: var(--cream);
  font-size: 0.8125rem;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.glass-chip b {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.glass-chip span { color: rgba(243, 239, 227, 0.85); }

.chip-top { top: 8%; right: -2%; }
.chip-bottom { bottom: 10%; left: -2%; }

/* ---------- Principles strip ---------- */

.principles {
  background: var(--sage);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 64px) 8px;
}

.principles-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--forest);
  margin-bottom: 8px;
}

.principles-title em { font-style: normal; color: var(--olive); }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle {
  display: grid;
  gap: 6px;
  padding: 32px clamp(16px, 3vw, 36px);
  border-left: 1px solid rgba(31, 45, 28, 0.18);
}
.principle:first-child { border-left: 0; padding-left: 0; }

.principle h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.principle p { font-size: 0.9375rem; color: #3E4535; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.section-head > div { display: grid; gap: 12px; }

.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--forest);
}

.section-intro { color: var(--muted); max-width: 48ch; }

/* ---------- Popular recipe cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.recipe-card { display: grid; gap: 18px; min-width: 0; }

.card-media { position: relative; }

.card-media .photo-slot { aspect-ratio: 4 / 5; }

.gl-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: var(--paper);
  color: var(--tomato);
  border-radius: 999px;
  padding: 6px 12px;
  font: 700 0.8125rem var(--font-display);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.card-body { display: grid; gap: 10px; }

.recipe-card h3 {
  font-size: 1.625rem;
  color: var(--forest);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.card-meta b { color: var(--ink); font-weight: 600; }

.macro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.macro-chips li {
  background: var(--sage-soft);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

/* ---------- Instagram reel embed ---------- */

.reel-embed-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  background: var(--forest);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
}

.reel-embed-container .instagram-media,
.reel-embed-container iframe {
  width: 100% !important;
  max-width: 400px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  border-radius: var(--radius-sm) !important;
}

.reel-embed-container blockquote.instagram-media {
  padding: 0; border: 0; background: none;
}

.reel-fallback {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  aspect-ratio: 4 / 5;
  width: 100%;
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  padding: 24px;
}
.reel-fallback:hover { color: var(--leaf); }

.reel-fallback .play {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
}
.reel-fallback .play::before {
  content: "";
  border-left: 15px solid currentColor;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}
.reel-fallback .fallback-title { font: 700 1.25rem var(--font-display); }
.reel-fallback .fallback-handle { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }

/* ---------- Recipe of the week (magazine card) ---------- */

.feature { background: var(--paper); border-block: 1px solid var(--line); }

.feature-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.feature-title {
  font-variation-settings: "wdth" 72;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-block: 14px 20px;
}

.feature-intro { color: var(--muted); max-width: 42ch; }

.feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-stats div {
  display: grid;
  padding: 14px 18px 0 0;
  min-width: 0;
}

.feature-stats dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  order: 2;
}

.feature-stats dd {
  margin: 0;
  font: 700 1.75rem var(--font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.feature-stats .gl dd { color: var(--tomato); }

.feature-block-title {
  font-size: 1.375rem;
  color: var(--forest);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.feature-block-title small {
  font: 500 0.8125rem var(--font-body);
  color: var(--muted);
  letter-spacing: 0;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ingredient-grid li {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 108px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.ingredient-grid .qty {
  font: 700 1.25rem var(--font-display);
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.ingredient-grid .name { font-size: 0.875rem; line-height: 1.3; color: var(--ink); }

.feature-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}

.feature-bottom .photo-slot { aspect-ratio: 1; }

.feature-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.method {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.method li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.method li::before {
  content: counter(step);
  font: 800 1.5rem var(--font-display);
  color: var(--tomato);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.gl-compare {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  max-width: 460px;
}

.gl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name value" "bar bar";
  gap: 4px 12px;
  align-items: baseline;
  font-size: 0.875rem;
}

.gl-name { grid-area: name; color: var(--muted); }

.gl-row b {
  grid-area: value;
  font: 700 1rem var(--font-display);
  font-variant-numeric: tabular-nums;
}

.gl-bar {
  grid-area: bar;
  display: block;
  height: 10px;
  width: var(--w);
  border-radius: 999px;
}

.gl-bar-high { background: var(--tomato); }
.gl-bar-low { background: var(--olive); }
.gl-row:first-child b { color: var(--tomato); }
.gl-row:last-child b { color: var(--olive); }

/* ---------- Instagram band ---------- */

.insta-band {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 96px);
}

.insta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.insta-band h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--cream);
}

.insta-band h2 em { font-style: normal; color: var(--leaf); }

.insta-band p { color: rgba(243, 239, 227, 0.78); font-weight: 300; max-width: 44ch; margin-top: 16px; }

.insta-actions { display: grid; justify-items: start; gap: 14px; }

.handle {
  font: 700 clamp(1.5rem, 3vw, 2.25rem) var(--font-display);
  font-variation-settings: "wdth" 110;
  letter-spacing: 0.02em;
  color: var(--leaf);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: rgba(243, 239, 227, 0.75);
  padding-block: 56px 32px;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}

.site-footer .brand { font-size: 1.25rem; color: var(--cream); }
.site-footer .brand em, .site-footer .brand-mark { color: var(--leaf); }

.footer-grid p { margin-top: 12px; max-width: 34ch; }

.footer-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--leaf);
  margin-bottom: 12px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--cream); text-decoration: none; }
.footer-links a:hover { color: var(--leaf); }

.footer-base {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.8125rem;
}

/* ---------- Method page ---------- */

.method-hero {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 96px);
}
.method-hero .eyebrow { color: var(--leaf); }
.method-hero-inner { display: grid; gap: 18px; }
.method-hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); color: var(--cream); max-width: 16ch; }
.method-lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 300; color: rgba(243, 239, 227, 0.85); max-width: 58ch; }

.method-body {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  padding-block: clamp(56px, 8vw, 96px);
  max-width: 900px;
}

.method-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
}

.step-num {
  font: 800 2.5rem var(--font-display);
  color: var(--tomato);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.method-text { display: grid; gap: 14px; min-width: 0; }
.method-text h2, .method-example h2, .method-notes h2, .method-refs h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest);
}
.method-text p { max-width: 64ch; }

.ref {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  vertical-align: super;
  line-height: 0;
}

.formula {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: 0;
  padding: 16px 20px;
  font: 600 1.0625rem var(--font-display);
  color: var(--forest);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  overflow-x: auto;
}

.gl-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gl-bands li {
  display: grid;
  gap: 2px;
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 120px;
}
.gl-bands b { font: 700 1.125rem var(--font-display); color: var(--forest); }
.gl-bands span { font-size: 0.8125rem; color: var(--muted); }

.method-example {
  display: grid;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
}

.table-wrap { overflow-x: auto; }

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
}
.calc-table th {
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
}
.calc-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
.calc-table th:last-child, .calc-table td:last-child { text-align: right; padding-right: 0; }
.calc-table .subtotal td { font-weight: 600; }
.calc-table .total td {
  font: 700 1.25rem var(--font-display);
  color: var(--olive);
  border-bottom: 0;
}
.example-note { font-size: 0.875rem; color: var(--muted); }

.method-notes ul, .method-refs ol {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  max-width: 68ch;
}
.method-notes b { color: var(--forest); }
.method-refs li { font-size: 0.9375rem; color: var(--muted); scroll-margin-top: 96px; }
.method-refs li:target { color: var(--ink); }

.method-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
}

a.gl-badge, a.glass-chip { text-decoration: none; }
a.gl-badge:hover { background: var(--tomato); color: var(--paper); }
a.glass-chip:hover { border-color: var(--leaf); }
.glass-chip .chip-link { font-size: 0.75rem; color: var(--leaf); }

/* ---------- Recipe pages and listing ---------- */

.gl-badge.gl-low { color: var(--olive); }
.gl-badge.gl-medium { color: var(--tomato); }
a.card-media { display: block; }
.recipe-card h3 a { color: inherit; text-decoration: none; }
.recipe-card h3 a:hover { color: var(--olive); }
.card-tags {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}
.hero-link { color: var(--leaf); }
.hero-link:hover { color: var(--cream); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font: 500 0.9375rem var(--font-display);
  color: var(--ink);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--forest); }
.filter-btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.filter-count { margin: 16px 0 28px; font-size: 0.875rem; color: var(--muted); }

.recipe-crumbs { padding-top: 24px; font-size: 0.9375rem; }
.recipe-crumbs a { text-decoration: none; font-weight: 500; }

.recipe-page {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  padding-block: 24px clamp(56px, 8vw, 96px);
}

.recipe-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.recipe-media { display: grid; gap: 14px; position: sticky; top: 96px; }
.recipe-media .reel-embed-container { border-radius: var(--radius); }
.recipe-media-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.recipe-info { display: grid; gap: 18px; min-width: 0; }
.recipe-info header { display: grid; gap: 12px; }
.recipe-info h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--forest);
}
.recipe-lede { max-width: 58ch; }
.recipe-stats { margin-top: 4px; }

.gl-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.gl-panel-num {
  font: 800 2.25rem var(--font-display);
  line-height: 1;
  text-align: center;
  min-width: 84px;
  font-variant-numeric: tabular-nums;
}
.gl-panel-num small {
  display: block;
  margin-top: 6px;
  font: 600 0.625rem var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gl-panel-low .gl-panel-num { color: var(--olive); }
.gl-panel-medium .gl-panel-num { color: var(--tomato); }
.gl-panel p { font-size: 0.9375rem; }

.recipe-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.recipe-body h2, .recipe-tips h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest);
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recipe-body h2 small { font: 500 0.875rem var(--font-body); color: var(--muted); letter-spacing: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
  line-height: 1.45;
}
.checklist input[type="checkbox"] {
  accent-color: var(--olive);
  width: 18px;
  height: 18px;
  flex: none;
  transform: translateY(3px);
}
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

.method-single { grid-template-columns: 1fr; }

.recipe-tips {
  background: var(--sage-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}
.recipe-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; max-width: 72ch; }

.recipe-disclaimer { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Articles ---------- */

.article-list {
  display: grid;
  gap: 0;
  max-width: 860px;
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.article-item {
  display: grid;
  gap: 10px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.article-item h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article-item h2 a { color: var(--forest); text-decoration: none; }
.article-item h2 a:hover { color: var(--olive); }
.article-item p { color: var(--muted); max-width: 64ch; }

.article-body {
  display: grid;
  gap: 40px;
  max-width: 760px;
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.article-body .prose { font-size: 1.0625rem; }
.article-body .prose h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.article-note { font-size: 0.875rem; color: var(--muted); border-left: 3px solid var(--tomato); padding-left: 14px; }
.article-cta {
  display: grid;
  justify-items: start;
  gap: 14px;
  background: var(--sage-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}

/* ---------- About page ---------- */

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(56px, 8vw, 96px);
}
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--forest); margin-top: 16px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.about-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
}
.about-aside .big {
  font: 700 clamp(1.75rem, 3vw, 2.25rem) var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-aside .big em { font-style: normal; color: var(--leaf); }
.about-aside p { color: rgba(243, 239, 227, 0.85); }
.about-recipes-btn { color: var(--cream); border-color: rgba(243, 239, 227, 0.4); }
.about-recipes-btn:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.plus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plus-list li { display: flex; gap: 10px; align-items: baseline; }
.plus-list b { font: 800 1.125rem var(--font-display); color: var(--leaf); }
.disclaimer {
  border-left: 3px solid var(--tomato);
  padding: 4px 0 4px 16px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .ingredient-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .recipe-top,
  .recipe-body,
  .about-body,
  .hero-grid,
  .feature-top,
  .feature-bottom,
  .insta-grid { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero-visual { max-width: 460px; justify-self: center; width: 100%; }

  .feature-bottom .photo-slot { aspect-ratio: 16 / 10; }
  .feature-photo { max-width: 420px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .recipe-media, .about-aside { position: static; }
  .recipe-media { max-width: 460px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-bar { flex-wrap: wrap; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding-block: 14px; border-bottom: 0; }
  .nav-links .nav-insta {
    display: block;
    text-align: center;
    margin-block: 12px 4px;
  }

  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-left: 0; border-top: 1px solid rgba(31, 45, 28, 0.18); padding: 22px 0; }
  .principle:first-child { border-top: 0; }

  .card-grid { grid-template-columns: 1fr; }

  .method { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 1fr; gap: 8px; }
  .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .chip-top { right: 0; top: 0; }
  .chip-bottom { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Homepage polish (Oct 2026) ---------- */

/* Real-life GL comparison as a highlighted panel */
.gl-compare {
  background: rgba(205, 213, 184, 0.45);
  border: 1px solid rgba(86, 103, 58, 0.18);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  gap: 12px;
}
.gl-compare-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}
.gl-row b { font-size: 1.25rem; }
.gl-row:last-child .gl-name { color: var(--forest); font-weight: 600; }

/* Phones and tablets: food photo first, tighter hero */
@media (max-width: 900px) {
  .hero-visual { order: -1; max-width: 340px; padding-block: 8px; }
}
@media (max-width: 720px) {
  .hero { padding-block: 28px 44px; }
  .hero-grid { gap: 24px; }
  .hero-copy { gap: 18px; }
  .hero-visual { max-width: 260px; }
  .hero-photo { border-width: 7px; }
  .glass-chip { padding: 8px 12px; font-size: 0.75rem; }
  .glass-chip b { font-size: 1.0625rem; }
  .chip-top { right: -10%; top: 4%; }
  .chip-bottom { left: -10%; bottom: 6%; }
  .feature-stats div { padding-right: 14px; }
  .feature-stats dd { font-size: 1.375rem; }
}

/* Line up the buttons across homepage recipe cards */
.card-grid:has(.card-actions) { align-items: stretch; }
.recipe-card:has(.card-actions) { grid-template-rows: auto 1fr; }
.recipe-card:has(.card-actions) .card-body { align-content: start; grid-template-rows: auto auto auto 1fr; }
.recipe-card .card-actions { align-self: end; }

/* "No scales needed" note on recipe pages */
.scales-note {
  background: rgba(205, 213, 184, 0.45);
  border-left: 3px solid var(--olive);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 4px 0 20px;
  font-size: 0.9375rem;
  color: var(--forest);
  display: grid;
  gap: 6px;
}
.scales-note b { font-weight: 600; }
.scales-note .scales-small { font-size: 0.8125rem; color: var(--muted); font-style: italic; }

/* "Swap it" box under recipe ingredients */
.swap-box {
  margin-top: 22px;
  border: 1px solid rgba(86, 103, 58, 0.25);
  border-radius: 12px;
  padding: 16px 18px 18px;
  background: var(--paper, #FAF8F2);
}
.swap-box h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 10px;
}
.swap-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.swap-box li { font-size: 0.9375rem; color: var(--ink, #1F2D1C); line-height: 1.5; }
.swap-box b { color: var(--forest); font-weight: 600; }

/* About page: photo of Charlotte in the header */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  width: min(100%, 360px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--cream);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  justify-self: center;
}
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; width: 200px; justify-self: start; border-width: 6px; }
}

/* Homepage hero: warm multi-glow gradient (option C, Oct 2026) */
.hero {
  background:
    radial-gradient(ellipse 40% 55% at 82% 25%, rgba(169, 188, 126, 0.55), transparent 70%),
    radial-gradient(ellipse 45% 55% at 62% 100%, rgba(201, 98, 63, 0.38), transparent 70%),
    radial-gradient(ellipse 55% 70% at 0% 15%, rgba(86, 103, 58, 0.55), transparent 70%),
    linear-gradient(180deg, #1F2D1C, #141D12);
}

/* Same warm multi-glow gradient on the other dark green sections */
.method-hero,
.insta-band,
.about-aside {
  background:
    radial-gradient(ellipse 40% 55% at 82% 25%, rgba(169, 188, 126, 0.55), transparent 70%),
    radial-gradient(ellipse 45% 55% at 62% 100%, rgba(201, 98, 63, 0.38), transparent 70%),
    radial-gradient(ellipse 55% 70% at 0% 15%, rgba(86, 103, 58, 0.55), transparent 70%),
    linear-gradient(180deg, #1F2D1C, #141D12);
}

/* Homepage: latest articles */
.home-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.home-article {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
.home-article h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.home-article h3 a { color: var(--forest); text-decoration: none; }
.home-article h3 a:hover { color: var(--olive); }
.home-article p { color: var(--muted); max-width: 64ch; }

/* Spacing for paragraphs in method page notes */
.method-notes p + p { margin-top: 14px; }
.method-notes h2 + p { margin-top: 12px; }

/* FAQ page */
.faq-body {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  padding-block: clamp(40px, 6vw, 72px);
  max-width: 820px;
}
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 clamp(20px, 3vw, 28px);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font: 700 clamp(1.125rem, 2vw, 1.375rem)/1.3 var(--font-display);
  color: var(--forest);
  padding: 20px 36px 20px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--olive);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink); padding-bottom: 18px; max-width: 68ch; }
.faq-item p + p { margin-top: -4px; }

/* Affiliate: "What I used" box on recipes + Kitchen page */
.ad-label {
  display: inline-block;
  font: 600 0.625rem/1 var(--font-body, inherit);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 5px;
  vertical-align: middle;
  margin-left: 4px;
}
.kit-box {
  margin-top: 16px;
  border: 1px solid rgba(86, 103, 58, 0.25);
  border-radius: 12px;
  padding: 16px 18px 18px;
  background: var(--paper);
}
.kit-box h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 10px;
}
.kit-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kit-box li { font-size: 0.9375rem; line-height: 1.5; color: var(--ink); }
.kit-box b { color: var(--forest); font-weight: 600; }
.kit-link { color: var(--olive); font-weight: 600; white-space: nowrap; }
.kit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-block: clamp(40px, 6vw, 72px);
}
.kit-card {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  scroll-margin-top: 96px;
}
.kit-card h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--forest); }
.kit-card p { color: var(--muted); }
.kit-used a { color: var(--olive); }
.kit-soon { font-size: 0.8125rem; color: var(--muted); font-style: italic; }
.kit-amazon { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); }
.method-lede .ad-label { color: var(--cream); border-color: rgba(243, 239, 227, 0.4); }

/* Privacy link under the sign-up form + privacy page spacing */
.signup-privacy { font-size: 0.75rem; color: rgba(243, 239, 227, 0.55); }
.signup-privacy a { color: rgba(243, 239, 227, 0.8); }
.faq-body.privacy { gap: 14px; }
.privacy h2 { margin-top: 26px; }
.privacy h2:first-child { margin-top: 0; }
.privacy p { max-width: 68ch; }

/* Kitchen page sections */
.kit-section { padding-top: clamp(36px, 5vw, 56px); }
.kit-section-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--forest); margin-bottom: 18px; }
.kit-section .kit-list { padding-block: 0; }
.kit-foot { padding-block: 28px clamp(40px, 6vw, 72px); }

/* Amazon statement in recipe kit box */
.kit-note { margin: .6rem 0 0; font-size: .78rem; opacity: .7; }

/* Calories shown, but quietly: protein, fibre and GL lead */
.macro-chips li.chip-quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.stat-quiet dd { color: var(--muted); font-weight: 500; }

/* Even line breaks in hero copy, no single word left on its own line */
.hero-sub, .hero-copy h1 { text-wrap: balance; }
