/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Mi Negra";
  src: url("../fonts/mi-negra-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mi Negra";
  src: url("../fonts/mi-negra-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #faf7f2;
  --bg-tint: #f1ebe1;
  --ink: #1d1b18;
  --muted: #6b645a;
  --accent: #0061c7;
  --accent-soft: #d9e9fb;
  --card: #ffffff;
  --line: #e2dacd;
  --dark-bg: #1d1b18;
  --dark-ink: #f4efe7;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --display: "Mi Negra", "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --bg-tint: #1e1c19;
    --ink: #f1ece4;
    --muted: #a59d91;
    --accent: #5aa9ff;
    --accent-soft: #14273d;
    --card: #23211d;
    --line: #34302a;
    --dark-bg: #0c0b0a;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.35rem; font-weight: 400; }
p { margin: 0 0 1em; }
a { color: inherit; }
kbd {
  font: 600 .8em var(--sans);
  padding: .1em .45em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--card);
}

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.narrow-text { max-width: 60ch; }
.section { padding: clamp(80px, 14vh, 160px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark-bg); color: var(--dark-ink); }
.eyebrow {
  font: 600 .8rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.big { font: 400 clamp(1.35rem, 2.6vw, 1.75rem)/1.45 var(--serif); }

/* ---------- Scroll progress bar ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 100;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
/* Native scroll-driven animation where supported (JS fallback sets --p) */
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__brand { font: 900 1.05rem var(--display); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - 60px);
  display: grid; place-content: center; text-align: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 45%),
    radial-gradient(circle at 80% 70%, var(--accent-soft), transparent 40%);
}
.hero__title { font-size: clamp(3rem, 11vw, 7.5rem); letter-spacing: -.02em; }
.hero__title em { color: var(--accent); font-style: normal; }
.hero__lede { max-width: 52ch; margin: 0 auto 3rem; font-size: 1.2rem; color: var(--muted); }
.scroll-cue {
  justify-self: center; width: 28px; height: 46px;
  border: 2px solid var(--muted); border-radius: 20px; position: relative;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--accent);
  animation: cue 1.6s var(--ease) infinite;
}
@keyframes cue { to { transform: translateY(16px); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal.from-left { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 20px; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s;
  transition-delay: calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s;
}
.card.is-visible:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .25); }
.card__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font: 900 1.1rem var(--display);
}
.card p { color: var(--muted); margin: 0; }

/* ---------- Sticky scrollytelling ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 3rem; }
.story__sticky { position: sticky; top: 15vh; height: 70vh; display: grid; place-items: center; }
.story__visual {
  position: relative; width: min(100%, 380px); aspect-ratio: 1;
  border-radius: 50%; background: var(--bg-tint); border: 1px solid var(--line);
}
.vis {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  opacity: 0; transform: scale(.85) rotate(-8deg);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.vis span { font-size: clamp(4rem, 10vw, 7rem); }
.vis small { font: 600 .9rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.story__visual[data-active="0"] .vis--0,
.story__visual[data-active="1"] .vis--1,
.story__visual[data-active="2"] .vis--2 { opacity: 1; transform: none; }
.step {
  min-height: 70vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .25; transition: opacity .5s;
}
.step.is-active { opacity: 1; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 1rem 0 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { top: 64px; height: 38vh; z-index: 1; background: var(--bg); }
  .story__visual { width: min(70%, 260px); }
  .step { min-height: 60vh; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 3rem 0 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 70px; top: 0; bottom: 0; width: 2px;
  background: color-mix(in srgb, var(--dark-ink) 20%, transparent);
}
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 32px; padding: 18px 0; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 64px; top: 28px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--dark-bg);
}
.timeline time { font: 900 1.1rem var(--display); color: var(--accent); padding-top: 2px; }
.timeline p { margin: 0; }

/* ---------- Split debate ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 2.5rem; }
.split__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.split__col ul { margin: 0; padding-left: 1.2em; }
.split__col li { margin-bottom: .6em; }
.split__col li::marker { color: var(--accent); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Typeform-style forms ---------- */
.tf {
  position: relative; margin-top: 2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px); min-height: 380px;
  display: flex; flex-direction: column;
}
.tf__bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 32px; }
.tf__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.tf__q { border: 0; margin: 0; padding: 0; display: none; }
.tf__q.is-current { display: block; animation: tf-in .5s var(--ease); }
@keyframes tf-in { from { opacity: 0; transform: translateY(40px); } }
.tf legend { font: 400 clamp(1.3rem, 3vw, 1.7rem)/1.3 var(--serif); margin-bottom: 24px; padding: 0; }
.tf__n { color: var(--accent); font-size: .7em; margin-right: .3em; }
.tf label {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.tf label:hover { background: var(--accent-soft); border-color: var(--accent); }
.tf input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.tf input[type=radio]:focus-visible + .key { outline: 2px solid var(--accent); outline-offset: 2px; }
.tf label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.tf label.is-correct { border-color: #2e8b57; background: color-mix(in srgb, #2e8b57 15%, transparent); }
.tf label.is-wrong { border-color: var(--accent); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.key {
  display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px;
  border: 1px solid var(--line); border-radius: 6px; font: 600 .8rem var(--sans); background: var(--bg);
}
.tf__text {
  width: 100%; font: 400 1.4rem var(--serif); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--line);
  padding: 8px 0; outline: none; transition: border-color .2s;
}
.tf__text:focus { border-color: var(--accent); }
.tf__feedback { min-height: 1.6em; margin-top: 12px; color: var(--muted); font-size: .95rem; }
.tf__result { text-align: center; animation: tf-in .6s var(--ease); margin: auto 0; }
.tf__result .score { font: 900 4rem/1 var(--display); color: var(--accent); }
.tf__nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 24px; }
.btn {
  font: 600 1rem var(--sans); padding: 12px 22px; border-radius: 10px; cursor: pointer;
  border: 0; background: var(--accent); color: #fff;
  transition: transform .15s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 48px 16px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

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

/* ---------- Logo (hero title) ---------- */
:root { --azure: #0072e5; --azure-deep: #0059b8; --lemon: #fff01a; --lemon-deep: #c9a800; }
/* --azure is a touch deeper than pure azure (#007fff) so white text on it passes contrast (4.6:1) */
.hero {
  background: var(--azure);
  color: #fff;
}
.hero .eyebrow { color: #fff; opacity: .85; }
.hero .hero__lede { color: rgb(255 255 255 / .9); }
.hero .scroll-cue { border-color: #fff; }
.hero .scroll-cue span { background: #fff; }

.logo {
  --shadow: .045em .05em 0 #000;
  position: relative;
  display: inline-block;
  justify-self: center;
  margin: 0 0 .5em;
  padding: .65em 0 0 2.07em;           /* room for the arrow */
  font: 900 min(7rem, 7.9vw)/1 var(--display);
  letter-spacing: -.005em;
  color: #fff;
  white-space: nowrap;
}
.logo__text { text-shadow: var(--shadow); }
.logo__u { position: relative; display: inline-block; }
.logo__u::after {                       /* rounded underline under "Lemons" */
  content: "";
  position: absolute;
  left: .06em; right: .05em; bottom: -.14em;   /* flush with the ink of the first and last letters */
  height: .1em;
  border-radius: 1em;
  background: #fff;
  box-shadow: var(--shadow);
}

.logo__text { position: relative; display: inline-block; }

/* ".com" hidden for now — delete this rule to show it again */
.logo__tld { display: none; }

/* ---------- Option icons (mid-century clip-art style) ---------- */
.opt-icon {
  width: 2.6em; height: 2.6em; flex: none; margin: -.3em 0;
  --gap: var(--card);   /* colour of the white cut-in details */
  transition: transform .35s var(--ease), color .2s;
}
.opt-icon--down { transform: scaleY(-1); }               /* thumbs down = flipped thumbs up */
.tf label:hover .opt-icon,
.tf label:has(input:checked) .opt-icon { color: var(--accent); transform: rotate(-12deg) scale(1.12); }
.tf label:hover .opt-icon--down,
.tf label:has(input:checked) .opt-icon--down { transform: scaleY(-1) rotate(12deg) scale(1.12); }

/* ---------- Opening poll: just the answers in a rounded frame ---------- */
.tf--poll {
  min-height: 0;
  border-radius: 28px;
  padding: clamp(16px, 3vw, 24px);
}
.tf--poll .tf__feedback:empty { display: none; }
.tf--poll .tf__feedback { margin: 4px 4px 0; }
.tf--poll .tf__nav { padding: 16px 0 4px; }
.tf--poll:not(.is-answered) .tf__nav { display: none; }   /* Continue appears after answering */
.tf--poll label:last-of-type { margin-bottom: 0; }

/* ---------- Title with an azure icon badge ---------- */
.title-with-icon { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 24px); margin-bottom: 1.25rem; }
.title-with-icon h2 { margin: 0; }
.icon-badge {
  flex: none;
  display: grid; place-items: center;
  width: clamp(60px, 9vw, 92px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--azure);
  color: #000;          /* icon solid parts */
  --gap: #fff;          /* icon cut-in details */
}
.icon-badge svg { width: 72%; height: 72%; }

/* Wide screens: hang the badge in the left margin so the title lines up with
   the centered text column (like the logo's arrow) */
@media (min-width: 1000px) {
  .title-with-icon { display: block; position: relative; }
  .title-with-icon .icon-badge {
    position: absolute;
    right: calc(100% + 24px);
    top: 50%;
    translate: 0 -50%;
  }
}

/* ---------- Case study: illustrated story steps ---------- */
.tale {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: tale;
}
.tale__item {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
  counter-increment: tale;
}
.tale__item::after {                       /* step number in the corner */
  content: counter(tale);
  position: absolute; top: 18px; right: 22px;
  font: 900 2rem/1 var(--display); color: var(--line);
}
.tale__item h3 { margin: .2em 0 .35em; }
.tale__item p { margin: 0; color: var(--muted); }
.tale__item .tale__when {
  margin-top: 14px; color: var(--accent);
  font: 600 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.icon-badge--sm { width: 64px; }
.tale__lesson {
  margin-top: 28px; padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--azure); color: #fff;
}
.tale__lesson h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.tale__lesson p { max-width: 70ch; }
.tale__lesson .tale__note { margin: 0; font-size: .85rem; opacity: .85; }
.tale__lesson a { color: #fff; }
@media (min-width: 640px) { .tale { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tale { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Hero layout + title swap on scroll ---------- */
.hero { display: block; place-content: normal; padding: 0; }
.hero__pin {
  min-height: calc(100svh - 53px);
  display: grid; place-content: center; text-align: center;
  padding: 40px 16px;
}

/* ---------- Burger questions (sequential, auto-advancing) ---------- */
.tf--seq { min-height: 0; border-radius: 28px; }
.tf--seq [data-next] { display: none; }              /* picking an answer moves on by itself */
.tf--seq .tf__nav { padding-top: 12px; }
.tf--seq .tf__result { text-align: left; margin: 0; }
.tf__summary { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tf__summary li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.tf__summary strong { color: var(--accent); text-align: right; }
.tally__q { margin-bottom: 1.25rem; }
.tally__q p { margin: 0 0 .4rem; font-weight: 600; }
.tally__row { display: grid; grid-template-columns: minmax(0, 14rem) 1fr 3rem; gap: 10px; align-items: center; font-size: .9rem; }
.tally__bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.tally__bar i { display: block; height: 100%; background: var(--accent); transition: width .8s var(--ease); }
.tally__row b { text-align: right; }
.tf__summary span strong { color: inherit; }

/* The HTML `hidden` attribute always wins over display rules like `.tf__nav { display: flex }` */
[hidden] { display: none !important; }

/* ---------- Featured $777 burger ---------- */
.feature-burger {
  display: grid; gap: 8px 32px; align-items: center;
  margin: 1.5rem 0 2rem;
  padding: clamp(20px, 4vw, 32px);
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
}
@media (min-width: 700px) { .feature-burger { grid-template-columns: 5fr 6fr; } }
.feature-burger__art { margin: 0; }
.feature-burger__art svg { display: block; width: 100%; height: auto; }
.feature-burger__place {
  margin: 0 0 .3rem; color: var(--accent);
  font: 600 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.feature-burger h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .3em; }
.feature-burger ul { margin: 0 0 1rem; padding-left: 1.2em; }
.feature-burger li { margin-bottom: .2em; }
.feature-burger li::marker { color: var(--accent); }
.feature-burger blockquote {
  margin: 0; padding: 12px 16px;
  border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0;
  font: italic 400 1.15rem/1.4 var(--serif);
}
.feature-burger cite { display: block; margin-top: 4px; font: 600 .8rem var(--sans); font-style: normal; color: var(--muted); }
.feature-burger cite::before { content: "— "; }
.feature-burger__ask { font: 900 clamp(1.4rem, 3vw, 1.8rem) var(--display); margin: 0 0 -.5rem; }
.tf__botcheck:not(:empty) { margin: 0 0 1rem; }   /* Cloudflare's checkbox, only when it needs one */

/* ---------- Section 1, photo version: full-width photo, question card overlapping its lower edge ---------- */

.burger-photo {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0 0 clamp(40px, 6vw, 72px);
  background: #0b0b0c;                          /* the photo's own black, so it blends seamlessly */
  color: #f4efe7;
}
.burger-photo__bg { position: relative; display: block; z-index: -1; }
.burger-photo__bg img {
  display: block; width: 100%; height: auto;
  min-height: 300px; max-height: 78vh;
  object-fit: cover; object-position: 50% 45%;
}
.burger-photo__bg::after {                      /* fade the bottom of the photo into the black */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, #0b0b0c 100%);
}
.burger-photo .container { margin-top: clamp(-110px, -6.5vw, -44px); }  /* card overlaps the photo, below the burger */
.burger-photo__card {
  padding: clamp(22px, 4vw, 40px);
  border-radius: 28px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8);
}
.burger-photo__card h2 { margin-bottom: .3em; font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.tf--flat { margin-top: 1.25rem; padding: 0; background: transparent; border: 0; min-height: 0; }
/* the questions sit in their own rounded white panel inside the photo card */
.burger-photo__card .tf--flat {
  margin-top: 1.5rem;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 10px 30px -18px rgb(0 0 0 / .35);
}
.burger-photo__caption {
  width: min(720px, 100% - 32px); margin: 14px auto 0;
  font-size: .78rem; text-align: center; color: rgb(244 239 231 / .62);
}
@media (prefers-reduced-motion: no-preference) {
  .burger-photo__bg img { transform: scale(1.05); transition: transform 1.6s var(--ease); }
  .burger-photo:has(.burger-photo__card.is-visible) .burger-photo__bg img { transform: none; }
}

/* Golden Boy facts list + Inter question text inside the photo card */
.burger-facts {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; gap: 10px 24px; grid-template-columns: 1fr;
  font: 400 .98rem/1.4 var(--sans);
}
@media (min-width: 720px) { .burger-facts { grid-template-columns: 1fr 1fr; } }
.burger-facts li { display: flex; align-items: center; gap: 12px; }
.fact-icon { flex: none; width: 40px; height: 40px; }
.burger-photo__card .tf legend { font: 600 1.15rem/1.35 var(--sans); }
.burger-photo__card .tf legend strong,
.burger-photo__card .tf legend b { font-weight: 800; }
.burger-photo__card > .tf__bar { margin: .2rem 0 1.25rem; }
/* small icon in front of a question */
.tf legend.legend-with-icon { display: flex; align-items: center; gap: 12px; }
.legend-icon { flex: none; width: 2.2em; height: 2.2em; }
/* Takeaway shown after answering (reuses the facts-list layout) */
/* Takeaway headline in the logo's style: white Mi Negra, hard black shadow, rounded underline */
.takeaway-logo {
  --shadow: .045em .05em 0 #000;
  margin: 0 0 1.1rem; padding: 0 0 .55em;
  border-bottom: 4px solid var(--azure-deep);          /* break line under the headline */
  color: #fff;
  font: 900 clamp(1.5rem, 4vw, 2.2rem)/1.15 var(--display);
  text-shadow: var(--shadow);
  text-align: center;
}
.burger-facts.takeaway { grid-template-columns: 1fr; gap: 2px 24px; margin: 0 0 1.75rem; }
.burger-facts.takeaway { font-size: inherit; }   /* same size as the "Your answers" list */
.burger-facts.takeaway { width: fit-content; max-width: 100%; margin-inline: auto; font-weight: 800; }   /* centered block, extra-bold */
/* takeaway points in the logo's lettering, same responsive size as the headline */
.burger-facts.takeaway {
  font: 900 clamp(1.5rem, 4vw, 2.2rem)/1.15 var(--display);
  --shadow: .045em .05em 0 #000;          /* used by the logo-style underlines */
  text-shadow: .045em .05em 0 #000;
  gap: 6px 24px;
}
.burger-facts.takeaway .fact-icon { width: 1.6em; height: 1.6em; }
.burger-facts.takeaway span { text-wrap: balance; max-width: 11.5em; }   /* even two-line breaks; capped so the block can center */

/* The burger photo cards are designed light-on-photo: keep them in the light palette
   even when the device is in dark mode (otherwise the card goes dark gray and the
   white question panel gets light text). */
.burger-photo__card,
.nav,          /* the top bar and its Topics menu, same reason: designed light */
.mm__phone {
  color-scheme: light;
  --bg: #faf7f2;
  --bg-tint: #f1ebe1;
  --ink: #1d1b18;
  --muted: #6b645a;
  --accent: #0061c7;
  --accent-soft: #d9e9fb;
  --card: #ffffff;
  --line: #e2dacd;
  color: var(--ink);
}



/* takeaway: icon above each point, text centered and free to use the full width */
.burger-facts.takeaway { width: 100%; }
.burger-facts.takeaway li { flex-direction: column; gap: 2px; text-align: center; }
.burger-facts.takeaway span:not(.logo__u) { max-width: none; }
.burger-facts.takeaway li + li { margin-top: 10px; }
/* give the takeaway room to fit each point on one line on desktop */
.burger-facts.takeaway { letter-spacing: -.006em; }
.burger-facts.takeaway li + li { margin-top: 2px; }
/* both takeaway icons side by side, above the two points */
.takeaway__icons { display: flex; justify-content: center; gap: 14px; margin: 0 0 .35rem; }
.takeaway__icons .fact-icon { width: clamp(2.6rem, 6vw, 3.4rem); height: clamp(2.6rem, 6vw, 3.4rem); }


/* Questions with a right answer: wrong pick is marked, a correction appears underneath */
.tf label.is-wrong { background: #fbdde3; border-color: var(--accent); }
.tf label.is-wrong > span:not(.key)::after { content: " ✕"; color: var(--accent); font-weight: 800; }
.tf label.is-correct { border-color: #2e8b57; background: color-mix(in srgb, #2e8b57 12%, #fff); }
.tf__correction,
.tf__confirm {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 10px 0 2px; padding: 12px 14px;
  border-radius: 10px; background: #fff3d6;           /* yellow: "Actually, …" after a wrong pick */
  color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.45;
  animation: tf-in .35s var(--ease);
}
.tf__confirm { background: #e9f5ee; }                 /* green: "Right. …" after the right pick */
.tf__correction .correction-icon,
.tf__confirm .correction-icon { width: 30px; height: 30px; }
.tf__confirm .tf__right { color: #1f6b43; font-weight: 800; }
.tf__correction[hidden] { display: none; }
.correction-icon { flex: none; width: 2.6em; height: 2.6em; }
/* right/wrong colors must beat the generic "selected" style (.tf label:has(input:checked)) */
.tf label.is-correct,
.tf label.is-correct:has(input:checked) { background: #e3f2e8; border-color: #2e8b57; }
.tf label.is-correct:has(input:checked) .opt-icon { color: #2e8b57; }
.tf label.is-correct > span:not(.key)::after { content: " ✓"; color: #2e8b57; font-weight: 800; }
.tf label.is-wrong,
.tf label.is-wrong:has(input:checked) { background: #fbdde3; border-color: var(--accent); }

/* Hover is neutral (gray), so it can't be confused with a wrong (red) or right (green) answer */
.tf label:hover { background: #f1efeb; border-color: #bdb6aa; }
.tf label:hover .opt-icon { color: inherit; }
/* keep the right/wrong colors when hovering an already-marked answer */
.tf label.is-wrong:hover { background: #fbdde3; border-color: var(--accent); }
.tf label.is-correct:hover { background: #e3f2e8; border-color: #2e8b57; }
.tf__thanks { margin: 0; font-weight: 700; text-align: center; }
.burger-facts.takeaway:last-child { margin-bottom: 0; }

/* Burger facts: two headline facts span the card; the ingredients sit in a rounded box */
.burger-facts--intro { grid-template-columns: 1fr !important; }
.burger-facts--ingredients {
  margin-top: .9rem;
  padding: clamp(14px, 2.5vw, 20px);
  border-radius: 16px;
  background: var(--line);
}

/* keep a phrase on one line (e.g. names) */
.nowrap { white-space: nowrap; }


/* ---------- TEMPORARILY HIDDEN (hero): delete this rule to bring the scroll hint back ---------- */
.hero .scroll-cue { display: none !important; }
/* ingredients read top-to-bottom like the burger: fill the left column first, then the right */
@media (min-width: 720px) {
  .burger-facts--ingredients { grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
}

/* ---------- Takeaway: Swiss bold (Inter Black, tight, left-aligned, knocked-out key phrases) ---------- */
.takeaway-swiss { text-align: left; color: #fff; }
.takeaway-swiss__kicker {
  margin: 0 0 10px;
  font: 600 .9rem var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .92;
}
.takeaway-swiss__big {
  margin: 0;
  font: 900 clamp(1.7rem, 5vw, 2.6rem)/1.08 var(--sans); letter-spacing: -.035em;
  text-wrap: balance;               /* no lonely last word */
}
.takeaway-swiss .ko {
  background: var(--lemon); color: #1d1b18; padding: 0 .14em;   /* lemon highlight, dark ink (14:1) */
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

/* Small source references under a correction */
.tf__sources { display: block; margin-top: 6px; font-size: .74rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.tf__sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tf__sources a:hover { color: var(--ink); }

/* "See the studies": references stay folded away until asked for */
.tf__refs { margin-top: 4px; }
.tf__refs > summary {
  display: inline; cursor: pointer; list-style: none;
  font-size: .78rem; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.tf__refs > summary::-webkit-details-marker { display: none; }
.tf__refs > summary::after { content: " ▾"; }
.tf__refs[open] > summary::after { content: " ▴"; }
.tf__refs > summary:hover { color: var(--ink); }

/* Takeaway: green check after "your money", red X after "their money" */
.takeaway-swiss .ko-mark { width: .62em; height: .62em; vertical-align: .02em; }

/* Hero: compact band, just tall enough for the logo (no full-screen height) */
.hero, .hero__pin { min-height: 0; }
.hero__pin {
  padding: clamp(28px, 5vw, 48px) 16px;
  /* extra bottom space = the "An interactive explainer" line + its gap, so the logo itself sits centered */
  padding-bottom: calc(clamp(28px, 5vw, 48px) + 1.75rem);
}
.hero__pin .logo { margin-bottom: .38em; }
.hero__pin .hero__lede { margin-bottom: 0; }   /* underline overhang + the empty space above the letters inside the font box, so the logo sits visually centered */

/* Takeaway: smaller follow-up line under the big statement */
.takeaway-swiss__more {
  margin: 16px 0 0; max-width: 46ch;
  font: 600 clamp(1rem, 2.4vw, 1.2rem)/1.45 var(--sans); letter-spacing: -.005em;
  color: rgb(255 255 255 / .94);
}
.takeaway-swiss__more { display: flex; align-items: center; gap: 14px; }
.takeaway-swiss__icon { flex: none; width: 3.2rem; height: 3.2rem; color: #fff; }

/* ---------- Stacked questions (form[data-stack]) ----------
   Each answered question stays on screen showing only the right answer, the next one appears
   underneath, and the takeaway shows last as its own azure panel: a visible chain of reasoning. */
.tf[data-stack] .tf__q.is-done { display: block; margin-bottom: 22px; }
.tf[data-stack] .tf__q.is-done label:not(.is-correct):not(.is-chosen),
.tf[data-stack] .tf__q.is-done .tf__correction { display: none; }
.tf[data-stack] .tf__q.is-done label.is-correct { cursor: default; }
.tf[data-stack] .tf__nav { display: none; }
.tf[data-stack] .tf__result {
  margin-top: 4px; padding: clamp(18px, 3vw, 28px);
  background: var(--azure); color: #fff; border-radius: 16px;
}
.tf[data-stack] .tf__q, .tf[data-stack] .tf__result { scroll-margin-top: 70px; }   /* clear the sticky nav */

/* ---------- Takeaway chart: price changes 2000–2025 (subsidized vs market-priced) ---------- */
.pchart {
  --sub: #c2361f; --mkt: #2f6db5; --grid: #e4ded4;
  margin: 22px 0 0; padding: clamp(14px, 3vw, 22px);
  background: #fff; color: #1a1a1a; border-radius: 14px;
  font: 400 .85rem/1.35 var(--sans); letter-spacing: 0;
}
.pchart__title { font: 800 1.05rem/1.2 var(--sans); margin: 0 0 4px; }
.pchart__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 14px; color: #555; font-size: .8rem; }
.pchart__key::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pchart__key--sub::before { background: var(--sub); }
.pchart__key--mkt::before { background: var(--mkt); }
.pchart__plot { position: relative; padding-top: 30px; }
.pchart__rows { list-style: none; margin: 0; padding: 0; }
.pchart__row {
  display: grid; grid-template-columns: 8.2rem 1fr 3.3rem; gap: 10px; align-items: center;
  padding: 3px 0; border-radius: 4px;
}
.pchart__row:hover { background: #f4f1ec; }
/* group headers: one icon + label above each set of bars (replaces a legend) */
.pchart__group { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 700; font-size: .85rem; position: relative; z-index: 1; }
.pchart__group span { background: #fff; padding-right: 6px; }   /* keeps the dashed reference lines from running through the text */
.pchart__group + .pchart__row { margin-top: 0; }
.pchart__row + .pchart__group { margin-top: 14px; }
.pchart__group--sub { color: var(--sub); }
.pchart__group--mkt { color: var(--mkt); }
.pchart__gicon { flex: none; width: 22px; height: 22px; }
.pchart__label { font-weight: 500; }
.pchart__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pchart__track { position: relative; height: 14px; }
.pchart__track::before { content: ""; position: absolute; left: var(--zero); top: -3px; bottom: -3px; width: 1px; background: #9a9186; }   /* zero line */
.pchart__track i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.pchart__row--sub i { background: var(--sub); }
.pchart__row--mkt i { background: var(--mkt); }
/* reference lines (overall inflation, wages) run down the bar column */
.pchart__ref {
  position: absolute; top: 0; bottom: 0; pointer-events: none;
  left: calc(8.2rem + 10px + (100% - 8.2rem - 3.3rem - 20px) * var(--x) / 100);
}
.pchart__ref::before { content: ""; position: absolute; top: 18px; bottom: 0; left: 0; border-left: 1.5px dashed #8a8177; }
.pchart__ref b { position: absolute; top: 0; white-space: nowrap; font-size: .72rem; font-weight: 600; color: #555; }
.pchart__ref--cpi b { right: 4px; }    /* label sits left of its line */
.pchart__ref--wage b { left: 4px; }    /* label sits right of its line */
.pchart__source { margin: 12px 0 0; font-size: .72rem; color: #6b645b; }
/* phones: label + value on one line, bar full width underneath */
@media (max-width: 560px) {
  .pchart__row { grid-template-columns: 1fr auto; grid-template-areas: "label val" "bar bar"; gap: 2px 8px; padding: 4px 0; }
  .pchart__label { grid-area: label; } .pchart__val { grid-area: val; }
  .pchart__track { grid-area: bar; height: 10px; }
  .pchart__ref { left: calc(100% * var(--x) / 100); }
}
/* takeaway label too long for one line: "This is " is hidden by main.js (fitKickers) */
.takeaway-swiss__kicker.is-short .kicker-lead { display: none; }
.takeaway-swiss__kicker { line-height: 1.4; }
/* "A $5,000 Hamburger." fits on one line on phones: scales down with the screen, full size from ~420px up */
.burger-photo__card h2 { font-size: clamp(1.3rem, 9.2vw - 8px, 2rem); }
@media (min-width: 640px) { .burger-photo__card h2 { font-size: clamp(2rem, 5vw, 3.25rem); } }

/* ---------- Work section: same card as "Costs", no photo ---------- */
/* stacked opinion questions: keep the chosen answer, hide the other */
.tf[data-stack] .tf__q.is-done label.is-chosen { cursor: default; }
/* opinion answers have no right/wrong: the kept answer is neutral, not red */
.tf[data-stack] label.is-chosen,
.tf[data-stack] label.is-chosen:has(input:checked) { background: #f1efeb; border-color: #8f877b; }
.tf[data-stack] label.is-chosen:has(input:checked) .opt-icon { color: var(--ink); }

/* Work takeaway: Soviet private-plots mini chart (no reference lines, so no top gutter; wider labels) */
.pchart--plots .pchart__plot { padding-top: 12px; }
.pchart--plots .pchart__row { grid-template-columns: 10.5rem 1fr 3.3rem; }
@media (max-width: 560px) { .pchart--plots .pchart__row { grid-template-columns: 1fr auto; } }
.pchart__lead { margin: 4px 0 0; font-size: .95rem; line-height: 1.4; color: #2a2622; text-wrap: pretty; }
.pchart__lead b { color: var(--mkt); }
.pchart__title--icon { display: flex; align-items: center; gap: 8px; }
.pchart__ticon { flex: none; width: 1.5em; height: 1.5em; color: var(--azure); }
.pchart__ticon--flag { width: 2em; height: 1.33em; border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.pchart__ticon--seal { width: 1.75em; height: 1.75em; }
/* phones: icon sits above the follow-up line so the text can use the full width */
@media (max-width: 560px) {
  .takeaway-swiss__more { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .takeaway-swiss__icon { width: 2.6rem; height: 2.6rem; }
}
/* phones: slimmer card + question panel padding so the text gets more width */
@media (max-width: 560px) {
  .burger-photo__card { padding: 18px 12px; border-radius: 22px; }
  .burger-photo__card .tf--flat { padding: 14px 10px; border-radius: 16px; }
  .tf[data-stack] .tf__result { padding: 18px 14px; }
}

/* Competition: lone store photo; generic-drug chart */
.pchart__gicon--row { width: 86px; }
/* Wide store icons (viewBox 124x48): stores stay the same size as the single-store icon */
.fact-icon--wide { width: calc(40px * 124 / 48); }
.legend-icon--wide { width: calc(2.2em * 124 / 48); }
/* Small inline icon at the end of each "Actually, …" correction (decorative) */
.correction-tail { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: -.38em; margin-left: .1em; }

/* Quality: empty-shelves photo; Trabant stat tiles */
.pchart__ticon--car { width: 1.9em; height: 1.9em; }
.pstats { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pstats li { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; border-radius: 12px; background: #f4efe7; }
.pstats__num { font: 900 clamp(1.35rem, 3.4vw, 1.75rem)/1.05 Inter, sans-serif; letter-spacing: -.02em; color: var(--sub); }
.pstats__num small { font-size: .55em; font-weight: 800; letter-spacing: 0; }
.pstats__label { font-size: .85rem; line-height: 1.3; color: #2a2622; text-wrap: pretty; }
@media (max-width: 560px) { .pstats { grid-template-columns: 1fr; } .pstats li { flex-direction: row; align-items: baseline; gap: 10px; } .pstats__num { flex: none; min-width: 6.2rem; } }

/* No sideways scrolling: the photo zoom-in (scale 1.05) and slide-in reveals (translateX)
   poke past the screen edge. Clip them; "clip" (unlike "hidden") keeps the sticky header working. */
.burger-photo__bg { overflow: hidden; }
html, body { overflow-x: clip; }
.opt-icon--wide { width: calc(2.6em * 124 / 48); }

/* Stacked takeaway charts, and a short "story" card of dated points */
.takeaway-swiss .pchart + .pchart { margin-top: 14px; }
.pfacts { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 10px; }
.pfacts li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: #f4efe7; font-size: .95rem; line-height: 1.4; color: #2a2622; text-wrap: pretty; }
.pfacts__year { flex: none; font: 900 1.25rem/1 Inter, sans-serif; color: var(--mkt); min-width: 3.2rem; }
/* Wide answer icons: a gentler tilt when picked, so they don't run into the text */
.tf label:hover .opt-icon--wide,
.tf label:has(input:checked) .opt-icon--wide { transform: rotate(-3deg) scale(1.03); }
.pstats--2 { grid-template-columns: repeat(2, 1fr); }
.pstats__head { display: flex; align-items: center; gap: 10px; }
.pstats__icon { flex: none; width: 2.2rem; height: 2.2rem; }
@media (max-width: 560px) { .pstats--2 { grid-template-columns: 1fr; } .pstats--2 li { flex-direction: column; } }

/* "In the real world" label: marks where the takeaway's evidence (charts, cards) begins */
.takeaway-swiss__evidence {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 0; font: 600 .9rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: rgb(255 255 255 / .9);
}
.takeaway-swiss__evidence { justify-content: center; text-align: center; }
.takeaway-swiss__evidence::before,
.takeaway-swiss__evidence::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / .35); }

/* Step-by-step "tick-tock" list with an icon per step */
.psteps { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 4px; }
.psteps li { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; gap: 12px; padding: 6px 0; font-size: .97rem; line-height: 1.4; color: #2a2622; text-wrap: pretty; }
.psteps li + li { border-top: 1px solid #efe9df; }
.psteps__icon { width: 2.1rem; height: 2.1rem; justify-self: center; }
.psteps__icon--wide { width: 4.6rem; }
.psteps__icons { display: flex; justify-content: center; gap: 4px; }
.psteps__icon--tall { width: 2.7rem; height: 4rem; }
.pchart__title + .psteps { margin-top: 10px; padding-top: 8px; border-top: 2px solid var(--azure); }
.pstats--1 { grid-template-columns: 1fr; }
/* A small boxed group inside an evidence card (e.g. "Other towns that ran their own grocery stores") */
.pchart__sub { margin: 12px 0 4px; padding: 10px 14px 4px; border-radius: 12px; background: #f4efe7; }
.pchart__sub .psteps { margin: 0; }
.pchart__sub .psteps li + li { border-top-color: #e4ded4; }

/* Quotes inside evidence cards */
.pchart__quote { margin: 12px 0 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--azure); font: 600 1rem/1.45 var(--sans); color: #1a1a1a; text-wrap: pretty; }
.pchart__list { margin: 4px 0 12px; padding-left: 20px; font-size: .92rem; line-height: 1.5; color: #2a2622; }
.pchart__list li { margin: 0 0 6px; }
.pchart__list li::marker { color: var(--azure); }
.pstats + .pchart__lead,
.bars + .pchart__lead { margin-top: 14px; }
.pchart__quote cite { display: block; margin-top: 4px; font-style: normal; font-weight: 500; font-size: .82rem; color: #6b645b; }
.pchart__quote + .pstats { margin-top: 14px; }
.pchart__photo { display: block; width: 100%; height: auto; margin: 10px 0 12px; border-radius: 12px; }
.pstats__tall { grid-row: span 2; }
.pshelf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 12px; }
.pshelf__col { padding: 10px 14px; border-radius: 12px; background: #f4efe7; }
.pshelf__head { margin: 0 0 6px; font-weight: 800; font-size: .9rem; color: #1a1a1a; }
.pshelf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; line-height: 1.35; color: #2a2622; }
.pshelf li { position: relative; padding-left: 1.3em; }
.pshelf li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.pshelf__col--yes li::before { content: "✓"; color: #2f6db5; }
.pshelf__col--no li::before { content: "✗"; color: #e53a2f; }
@media (max-width: 520px) { .pshelf { grid-template-columns: 1fr; } }
.pchart__subhead { margin: 14px 0 0; font-weight: 800; font-size: .9rem; color: #1a1a1a; }
.pchart--stats.pchart--plots .pstats { margin-top: 14px; }

.takeaway-swiss__quote { margin: 18px 0 0; max-width: 46ch; border-left-color: rgb(255 255 255 / .85); color: #fff; font-size: 1.05rem; }
.takeaway-swiss__quote cite { color: rgb(255 255 255 / .8); }
.takeaway-swiss__quote:has(.takeaway-swiss__qicon) { display: flex; align-items: center; gap: 14px; border-left: 0; padding-left: 0; max-width: none; }
.takeaway-swiss__qicon { flex: none; width: 3.2rem; height: 3.8rem; color: #fff; transform: scale(1.15); }
.takeaway-swiss__quote > span { max-width: 46ch; padding-left: 14px; border-left: 3px solid rgb(255 255 255 / .85); }
@media (max-width: 560px) { .psteps__icons--stack { flex-direction: column; align-items: center; } }
@media (max-width: 560px) { .pstats li:has(.pstats__head) { flex-direction: column; align-items: flex-start; gap: 6px; } .pstats li:has(.pstats__head) .pstats__num { min-width: 0; } }
.pchart__svg { display: block; width: 100%; height: auto; margin: 6px 0 4px; }
.takeaway-swiss__quote:not(:has(.takeaway-swiss__qicon)) > span { border-left: 0; padding-left: 0; }
/* Takeaway follow-up broken into several lines, each with its own icon */
.takeaway-swiss__steps { margin: 18px 0 0; display: grid; gap: 14px; }
.takeaway-swiss__steps .takeaway-swiss__more { margin: 0; max-width: 52ch; }
.takeaway-swiss__steps .takeaway-swiss__icon { width: 2.6rem; height: 2.6rem; }
@media (max-width: 560px) {
  .takeaway-swiss__steps .takeaway-swiss__more { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; }
  .takeaway-swiss__steps .takeaway-swiss__icon { width: 2.2rem; height: 2.2rem; margin-top: 2px; }
}
.takeaway-swiss__bullets { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.takeaway-swiss__bullets li { display: flex; align-items: center; gap: 10px; }
.takeaway-swiss__bullets b { font-weight: 800; }
.takeaway-swiss__bicon { flex: none; width: 1.4rem; height: 1.4rem; color: #fff; opacity: .95; }


/* Answer options: no A/B/C letter badges (letter-key shortcuts still work); keyboard focus ring moves to the option */
.tf label > .key { display: none; }
.tf label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Photo sections: the photo is a banner across the top of the card, with the category and title on it
   and the progress bar along its bottom edge (replaces the full-width background photo) */
.burger-photo { padding-top: clamp(28px, 5vw, 56px); background: var(--azure); }  /* azure, so the dark banner tops stand out */
/* lemon glow above the card + a shadow kept short so it fades out before the section edge (overflow is hidden) */
.burger-photo__card { --sh: 0 18px 40px -22px rgb(0 25 60 / .55); box-shadow: 0 -6px 30px -6px rgb(255 240 26 / .3), var(--sh); }
.burger-photo__caption { color: rgb(255 255 255 / .8); }
.burger-photo .container { margin-top: 0; }
.burger-photo__card { --pad: clamp(15px, 2.7vw, 27px); padding: 0; overflow: hidden; background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
.burger-photo__banner { position: relative; aspect-ratio: 3.2; overflow: hidden; background: #0b0b0c; }
.burger-photo__banner .burger-photo__bg { position: absolute; inset: 0; z-index: auto; }
.burger-photo__banner .burger-photo__bg img { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; }
.burger-photo__banner .burger-photo__bg::after { background: linear-gradient(to bottom, transparent, rgb(11 11 12 / .5) 55%, rgb(11 11 12 / .9)); }  /* darkens from the top so the label reads on light photos */
.burger-photo__title { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); z-index: 1; }
.burger-photo__title .eyebrow { margin: 0 0 .25em; font-size: .9rem; font-weight: 800; color: var(--lemon); }
.burger-photo__card .burger-photo__title h2 { margin: 0; color: #fff; font-size: clamp(2.45rem, 5.2vw, 3.25rem); line-height: 1.02; text-wrap: balance; }
.burger-photo__banner > .tf__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; height: 5px; border-radius: 0; background: rgb(255 255 255 / .22); }
.burger-photo__banner > .tf__bar span { border-radius: 0; }
.burger-photo__body { padding: var(--pad); background: var(--bg-tint); }  /* warm tint so the white question panel stands out */
.burger-photo__body > :first-child { margin-top: 0; }
.burger-photo__body:has(> .burger-facts--intro:first-child) { padding-top: calc(var(--pad) - clamp(2px, .4vw, 4px)); }
@media (max-width: 620px) {
  .burger-photo__banner { aspect-ratio: 2.4; }
  .burger-photo__card .burger-photo__title h2 { font-size: 2.45rem; }
}


/* "Two ways to get rich": free market vs. power, side by side (Wealth takeaway) */
.versus { margin: 22px 0 0; padding: clamp(14px, 3vw, 22px); background: #fff; color: #1a1a1a; border-radius: 14px; font: 400 .85rem/1.35 var(--sans); letter-spacing: 0; }
.versus__title { font: 800 1.05rem/1.2 var(--sans); margin: 0 0 12px; }
.versus__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.versus__grid p { margin: 0; }
.versus__head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: .9rem; line-height: 1.15; }
.versus__head svg { flex: none; width: 30px; height: 30px; }
.versus__head--market { background: #e3f1e8; color: #1f6b43; }
.versus__head--power { background: #fbe4e1; color: #a32a1a; }
.versus__label { grid-column: 1 / -1; margin-top: 10px !important; color: #7a7268; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.versus__row { padding: 7px 10px 8px; border-radius: 6px; }
.versus__label + .versus__row { background: #f3f8f4; }            /* free market column */
.versus__row + .versus__row { background: #fdf3f1; }              /* power column */
@media (max-width: 560px) {
  .versus__head { font-size: .8rem; padding: 7px 8px; gap: 6px; }
  .versus__head svg { width: 22px; height: 22px; }
  .versus__row { padding: 6px 8px 7px; font-size: .8rem; }
}

/* "Then vs. now" variant (Richer than Rockefeller): neutral past, green present */
.versus__head--then { background: #efe8dc; color: #4a3424; }
.versus__head--now { background: #e3f1e8; color: #1f6b43; }
.versus__grid--then-now { margin: 12px 0 6px; }
.versus__grid--then-now .versus__label + .versus__row { background: #f6f1e9; }
.versus__grid--then-now .versus__row + .versus__row { background: #f3f8f4; }
.versus__label { display: flex; align-items: center; gap: 7px; }
.versus__label svg { flex: none; width: 22px; height: 22px; }

/* Simple labeled bar charts inside evidence cards ("The tax that lost money") */
.bars { margin: 14px 0 4px; }
.bars + .bars { margin-top: 18px; }
.bars__title { margin: 0 0 8px; font-weight: 700; font-size: .8rem; color: #555; }
.bars__row { display: grid; grid-template-columns: 9.5rem 1fr 4.4rem; gap: 10px; align-items: center; padding: 4px 0; }
.bars__label { font-size: .82rem; color: #1a1a1a; }
.bars__track { position: relative; height: 16px; }
.bars__track--zero::before { content: ""; position: absolute; left: var(--zero); top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #4a3424; z-index: 1; }
.bars__bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.bars__bar--good { background: #2f8f5b; }
.bars__bar--bad { background: #c2361f; }
.bars__bar--muted { background: #d8d1c4; }
.bars__val { text-align: right; font-weight: 800; font-size: .85rem; color: #1a1a1a; font-variant-numeric: tabular-nums; }
.bars__row--total { margin-top: 4px; padding-top: 8px; border-top: 1px solid #e4ded4; }
.bars__row--total .bars__label { font-weight: 700; }
.bars__note { margin: 8px 0 0; font-size: .75rem; color: #6b6359; }
@media (max-width: 560px) {
  .bars__row { grid-template-columns: 6.6rem 1fr 3.9rem; gap: 8px; }
  .bars__label { font-size: .76rem; line-height: 1.2; }
}
.bars__label--icon { display: flex; align-items: center; gap: 8px; }
.bars__label--icon svg { flex: none; width: 28px; height: 28px; }
.bars__row:has(.bars__label--icon) { grid-template-columns: 12.5rem 1fr 4.4rem; }
@media (max-width: 560px) {
  /* narrow screens: label on its own line, bar and value beneath it */
  .bars__row:has(.bars__label--icon) { grid-template-columns: 1fr 3.9rem; row-gap: 4px; }
  .bars__row:has(.bars__label--icon) .bars__label { grid-column: 1 / -1; }
}

/* Numbered steps with icons ("Three steps out of poverty") */
.steps3 { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 6px; padding: 0; }
.steps3 li { counter-increment: st; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: 12px; background: #f4efe7; text-align: center; font-size: .85rem; line-height: 1.3; }
.steps3 li::before { content: counter(st); position: absolute; top: 8px; left: 10px; font-weight: 800; color: var(--azure); }
.steps3 svg { width: 40px; height: 40px; }
@media (max-width: 560px) {
  .steps3 { grid-template-columns: 1fr; gap: 6px; }
  .steps3 li { flex-direction: row; justify-content: flex-start; text-align: left; padding: 8px 12px 8px 30px; }
  .steps3 li::before { top: 50%; transform: translateY(-50%); }
  .steps3 svg { width: 30px; height: 30px; }
}

/* Card titles with an icon.
   Wider screens: icon beside the title, with a thin line underneath.
   Small screens: icon centered above the title, with the same thin line underneath. */
.pchart__title--icon { gap: 6px; padding-bottom: 10px; margin-bottom: 12px;
  background: linear-gradient(#ddd5c8,#ddd5c8) left bottom / 100% 1px no-repeat; }
.pchart__title--icon .pchart__ticon { width: 1.3em; height: 1.3em; }
@media (max-width: 560px) {
  /* icon centered above the title, a thin line under the title; a little less space above the icon */
  .pchart__title--icon { flex-direction: column; align-items: center; gap: 4px; text-align: center; margin-top: -4px; }
  .pchart__title--icon .pchart__ticon { width: 1.6em; height: 1.6em; }
}

/* Topics menu: six categories (Comparing, Learning, Letting Go, Hoping, Comforting, Redeeming).
   Wider screens: a tab per category opens a drop-down panel. Phones: a "Topics" button opens a full-screen list. */
.mm { display: flex; align-items: center; }
.mm__tabs { display: flex; gap: 2px; }
.mm__tab { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .9rem var(--sans); cursor: pointer; }
.mm__tab svg { width: 22px; height: 22px; }
.mm__tab:hover, .mm__tab[aria-expanded="true"] { background: rgb(0 0 0 / .06); }
.mm__drop { position: absolute; left: 0; right: 0; top: 100%; }
.mm__panel { max-width: 980px; margin: 0 auto; padding: 18px 20px 20px; background: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); }
.mm__head { margin: 0 0 12px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.mm__head span { color: var(--muted); }
.mm__head svg { width: 26px; height: 26px; }
.mm__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.mm__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); background: #f7f3ed; }
a.mm__item:hover { background: #efe8dc; }
.mm__item svg { flex: none; width: 36px; height: 36px; }
.mm__item b { display: block; font-size: .92rem; }
.mm__item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.mm__item em { display: inline-block; margin-top: 4px; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a847a; }
.mm__item--soon { opacity: .55; background: transparent; outline: 1px dashed #d8d1c4; }
.mm__burger { display: none; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 700 .85rem var(--sans); cursor: pointer; }
.mm__burger span, .mm__burger span::before, .mm__burger span::after { display: block; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.mm__burger span::before { position: absolute; top: -5px; } .mm__burger span::after { position: absolute; top: 5px; }
.mm__phone { position: fixed; inset: 63px 0 0 0; overflow-y: auto; padding: 12px 16px 40px; background: var(--bg); z-index: 60; }
.mm__group { margin-bottom: 18px; }
.mm__group .mm__item { margin-bottom: 6px; }
@media (max-width: 860px) {
  .mm__tabs, .mm__drop { display: none; }
  .mm__burger { display: flex; }
}
@media (min-width: 861px) { .mm__phone { display: none !important; } }   /* the phone list never shows on wide screens */
.nav .mm { margin-left: auto; }
.mm__tab.is-current { color: var(--accent); }

/* ---------- Don't Waste Your Lemons: logo + plain banner ---------- */
.logo { padding: 0; white-space: normal; text-align: center; line-height: .98;
  font-size: min(6.4rem, calc((100vw - 32px) / 6.2)); }      /* "Don't Waste" is the wider line, about 6.2em */
.logo__lemon { display: block; width: .9em; height: .9em; margin: 0 auto .12em;
  filter: drop-shadow(.03em .035em 0 #000); }
.logo .logo__u { color: var(--lemon); }
.logo .logo__u::after { background: var(--lemon); }
.coming-soon .cs-u { color: var(--lemon); }

/* Sections without a photo yet: azure-to-deep banner with a big lemon on the right */
.burger-photo__banner--plain { background: linear-gradient(135deg, var(--azure-deep), #003a7a); }
.burger-photo__art { position: absolute; right: var(--pad); top: var(--pad); width: clamp(56px, 15%, 112px); height: auto;
  aspect-ratio: 1; rotate: -14deg; filter: drop-shadow(.04em .05em 0 rgb(0 0 0 / .5)); }
