/* ==========================================================================
   Extra Vergine Schweiz — stylesheet
   Warm, appetising consumer magazine. Rounded shapes, real photography,
   a single coral accent for actions. No frameworks, no JavaScript.
   ========================================================================== */

@font-face {
  font-family: "Gabarito";
  src: url("../fonts/gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #FBF7EE;
  --cream-2: #F4EDDD;
  --cream-3: #E9DFC8;
  --ink: #23301B;
  --ink-2: #46523A;
  --muted: #5A624E;
  --muted-dark: #B7BCA9;
  --green: #3F6824;
  --green-2: #669C3D;
  --green-deep: #2C4A1B;
  --green-soft: #E6EFD9;
  --gold: #E2B43E;
  --gold-soft: #FBEBB8;
  --gold-text: #7A5C0E;
  --swiss-red: #DA291C;
  --coral: #DA291C;
  --coral-2: #B01F14;
  --coral-soft: #FBE1D6;
  --rule: rgba(35, 48, 27, 0.12);
  --focus: var(--green-deep);
  --display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 44rem;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(64, 44, 12, 0.06);
  --shadow: 0 14px 40px rgba(64, 44, 12, 0.12);
  --shadow-lg: 0 32px 70px rgba(64, 44, 12, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a, button, summary { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, .card-title { text-wrap: balance; }
p, li { text-wrap: pretty; }
:root { color-scheme: light; accent-color: var(--green); }

/* Jumping to a section from the ToC briefly marks where you landed. */
.article-body h2:target { animation: target-flash 1.6s var(--ease); border-radius: 6px; }
@keyframes target-flash { from { background: var(--gold-soft); } to { background: transparent; } }

/* Same-origin page changes cross-fade instead of flashing white. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

::selection { background: var(--gold-soft); color: var(--ink); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-sm { width: 1em; height: 1em; }

/* Shared type roles */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }

.kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.kicker a { transition: color 0.2s; }
.kicker a:hover { color: var(--ink); }
.kicker a + a::before { content: "·"; margin: 0 0.5em; color: var(--muted); }

.meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Buttons and pills */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 22px rgba(218, 41, 28, 0.32);
}
.btn-primary:hover { background: var(--coral-2); box-shadow: 0 12px 28px rgba(218, 41, 28, 0.38); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-sm.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  background: var(--gold);
  color: var(--ink);
}
.badge-testsieger { background: var(--gold); }
.badge-preis-tipp { background: var(--coral); color: #fff; }
.badge-bio { background: var(--green); color: #fff; }
.badge-neu, .badge-new { background: var(--coral); color: #fff; }
.badge-vergine { background: var(--cream-3); color: var(--ink-2); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chip small { font-size: 0.74rem; font-weight: 600; color: var(--green); transition: color 0.2s; }
.chip:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.chip:hover small { color: var(--green-soft); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--swiss-red); }
.brand .mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 3px 6px rgba(218, 41, 28, 0.25)); transition: transform 0.25s var(--ease); }
.brand:hover .mark { transform: rotate(-6deg) scale(1.04); }
.brand-name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--swiss-red);
  white-space: nowrap;
}
.brand-name em { font-style: normal; font-weight: 500; color: var(--ink); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name em { color: var(--muted-dark); }

.main-nav { display: flex; justify-content: center; gap: 2px; }
.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--cream-2); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--green-soft); color: var(--green-deep); }

.header-side { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--cream-2);
}
.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--cream); }

/* --------------------------------------------------------------------------
   Home: hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
/* soft organic glow behind the hero */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% -20% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 180, 62, 0.28), rgba(226, 180, 62, 0));
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  bottom: -30%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(102, 156, 61, 0.22), rgba(102, 156, 61, 0));
  animation: drift 20s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s;
}
.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
.hero-badge:hover { background: var(--gold); }

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-title mark {
  background: none;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero-title mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.22em;
  border-radius: 999px;
  background: var(--gold-soft);
  z-index: -1;
}
.hero-lede {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.trust-row .icon { color: var(--green); }

.hero-media { position: relative; width: 100%; max-width: 540px; justify-self: end; }
.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 5.4;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 42% 46% 54% 58%;
  box-shadow: var(--shadow-lg);
  animation: morph 18s ease-in-out infinite alternate;
}
.float-card {
  position: absolute;
  left: -6%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(300px, 78%);
  padding: 12px 16px 12px 12px;
  border-radius: var(--r);
  background: rgba(251, 247, 238, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card img, .float-card svg { width: 56px; height: 72px; object-fit: contain; flex: none; }
.float-card .placeholder { color: var(--green); }
.float-card .placeholder text { font-family: var(--display); font-weight: 700; }
.float-card .badge { margin-bottom: 6px; }
.float-name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.float-price { margin: 4px 0 0; font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }
.float-price small { font-weight: 500; color: var(--muted); }
.float-badge {
  position: absolute;
  top: 4%;
  right: -3%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  animation: bob 7s ease-in-out 1s infinite;
}
.float-badge .icon { color: var(--gold); }

@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-6%, 8%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(218, 41, 28, 0); } }
@keyframes morph {
  0%   { border-radius: 46% 54% 52% 48% / 42% 46% 54% 58%; }
  50%  { border-radius: 52% 48% 44% 56% / 50% 40% 60% 50%; }
  100% { border-radius: 44% 56% 56% 44% / 46% 54% 46% 54%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-media { animation: rise 1s var(--ease) 0.15s both; }

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

.section { padding-block: clamp(36px, 5vw, 64px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section-lead { margin: 8px 0 0; max-width: 40em; color: var(--ink-2); }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  transition: color 0.2s, gap 0.2s;
}
.section-link:hover { color: var(--ink); gap: 10px; }

/* Article cards with cover photo */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img { transform: scale(1.04); }
.card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(251, 247, 238, 0.92);
  color: var(--green-deep);
  font-size: 0.74rem;
  font-weight: 700;
}
.card-media .badge { position: absolute; top: 14px; left: 14px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.card .kicker { position: relative; z-index: 2; }
.card-title { margin: 0; font-size: 1.28rem; line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a { transition: color 0.2s; }
.card:hover .card-title a { color: var(--green); }
.card-desc { margin: 0; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }
.card .meta { margin-top: auto; padding-top: 6px; }

.card-lg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-column: 1 / -1; }
.card-lg .card-media { aspect-ratio: auto; min-height: 320px; }
.card-lg .card-body { justify-content: center; padding: clamp(22px, 3vw, 40px); gap: 12px; }
.card-lg .card-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.card-lg .card-desc { font-size: 1.02rem; }

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  padding: 18px;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.product-media img,
.product-media svg {
  height: 164px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(64, 44, 12, 0.18));
  transition: transform 0.4s var(--ease);
}
.product-media .placeholder { color: var(--green); }
.product-media .placeholder text { font-family: var(--display); font-weight: 700; fill: var(--cream); }
.product:hover .product-media img { transform: translateY(-4px) scale(1.03); }
.product-media .badge { position: absolute; top: 12px; left: 12px; }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.retailer {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream-2);
  color: var(--ink-2);
}
.retailer[data-retailer="migros"] { background: #FFE2CC; color: #A34A00; }
.retailer[data-retailer="coop"] { background: #FFD9D9; color: #A31616; }
.retailer[data-retailer^="aldi"] { background: #D9E7FF; color: #123E9C; }
.retailer[data-retailer^="lidl"] { background: #FFF1C2; color: #7A5800; }
.retailer[data-retailer="denner"] { background: #FFD9D9; color: #A31616; }
.retailer[data-retailer="manor"] { background: #E5E5E5; color: #333; }
.retailer[data-retailer="globus"] { background: #E5E5E5; color: #333; }
.product-name { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.2; }
.product-name span { display: block; font-family: var(--text); font-weight: 500; font-size: 0.92rem; color: var(--ink-2); margin-top: 2px; }
.product-origin { margin: 0; font-size: 0.82rem; color: var(--muted); }
.product-price { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 2px; }
.product-price strong { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--green-deep); line-height: 1; }
.product-price small { font-size: 0.78rem; color: var(--muted); }
.test-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 0.76rem;
  color: var(--ink);
}
.test-pill .icon { color: var(--gold); }
.product .btn { margin-top: 8px; align-self: flex-start; }

.product-inline {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 2em 0;
  font-family: var(--text);
}
.product-inline .product-media { height: auto; min-height: 180px; border-radius: var(--r) 0 0 var(--r); }
.product-inline .product-name { font-size: 1.15rem; }

/* Trust band */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--green-deep);
  color: var(--cream);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(251, 247, 238, 0.12);
  color: var(--gold);
}
.trust-icon .icon { width: 24px; height: 24px; }
.trust h3 { margin: 0 0 6px; font-size: 1.15rem; }
.trust p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 4px;
  background: var(--coral);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.article-head {
  max-width: var(--measure);
  padding-block: clamp(32px, 5vw, 60px) 0;
}
.article-head h1,
.page-head h1,
.prose h1 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.standfirst {
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.article-cover {
  margin: clamp(22px, 3vw, 36px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 40px);
}

.health-note {
  margin: 2em 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--green);
  border-radius: var(--r-sm);
  background: var(--green-soft);
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* Ad slots. The reserved min-height stops the text below from jumping when the
   ad arrives, which is what wrecks CLS on article pages. */
.ad {
  margin: 2.4em 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-top { margin-top: 0; }

/* Marks a price relevé that is too old to be trusted on a comparison table. */
.chip-warn {
  background: var(--gold-soft);
  color: var(--ink-2);
  white-space: nowrap;
}

.ad ins { width: 100%; }

.summary {
  margin: 0 0 2em;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--gold-soft);
}
.summary-title { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; line-height: 1.5; }
.summary li .icon { margin-top: 0.2em; color: var(--green); }

.toc {
  position: sticky;
  top: 96px;
  max-width: 20rem;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--cream-2);
  font-size: 0.88rem;
  line-height: 1.4;
}
.toc-title { margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; }
.toc li + li { margin-top: 9px; }
.toc li::before { content: counter(toc, decimal-leading-zero); flex: none; font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.toc a { display: inline-block; padding-block: 3px; color: var(--ink-2); transition: color 0.2s; }
.toc a:hover { color: var(--green); }

.article-body { font-size: 1.1rem; line-height: 1.7; overflow-wrap: break-word; }
.article-body > p:first-child { font-size: 1.18rem; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 {
  margin: 2em 0 0.6em;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.article-body h3 { margin: 1.6em 0 0.5em; font-size: 1.15rem; color: var(--green-deep); }
.article-body a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(63, 104, 36, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.article-body a:hover { color: var(--green-deep); text-decoration-color: var(--green-deep); }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article-body li + li { margin-top: 0.4em; }
.article-body ul li::marker { color: var(--gold); }
.article-body ol li::marker { color: var(--green); font-weight: 700; }
.article-body strong { font-weight: 700; }
.article-body blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-radius: var(--r);
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 1.05em;
  line-height: 1.5;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
/* Prices page: how the numbers are collected, right under the table. */
.method-note { margin-top: 20px; padding: 18px 22px; border-radius: var(--r); background: var(--green-soft); color: var(--ink-2); font-size: 0.95rem; }
.method-note p { margin: 0; }
.method-title { margin-bottom: 6px !important; font-weight: 700; color: var(--green-deep); }
.method-note a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-prices .page-head .summary { margin-top: 24px; }
.page-prices .faq-section { margin-top: 0; }

/* Footer "cookie settings": a button that reads as a link. */
.link-button { min-height: 24px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--cream); }
/* Stand-alone links in a meta line are targets, not inline text (WCAG 2.5.8). */
.meta > a { display: inline-flex; align-items: center; min-height: 24px; }
.table-wrap:focus-visible { outline-offset: 2px; border-radius: var(--r); }
.article-body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.45; }
.article-body th {
  padding: 12px 14px;
  background: var(--green-deep);
  color: var(--cream);
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-body td { padding: 12px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: var(--cream); }

.faq {
  margin: 0 0 10px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.faq-body { padding: 0 20px 18px; font-size: 1rem; }
.faq-body p:last-child { margin-bottom: 0; }

.sources { font-size: 0.9rem; color: var(--ink-2); }
.sources li::marker { color: var(--muted); }

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: var(--measure);
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--cream-2);
}
.author-mark { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--green); }
.author-mark .mark { width: 30px; height: 30px; }
.author-title { margin: 0 0 4px; font-family: var(--display); font-weight: 700; }
.author-text { margin: 0 0 10px; font-size: 0.95rem; color: var(--ink-2); }

.article-foot { max-width: var(--measure); margin-top: 28px; }
.foot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.foot-tags > span { margin-right: 4px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Topic / archive pages and static pages */
.page-head { max-width: var(--measure); padding-block: clamp(32px, 5vw, 60px) 0; }
.page-head .meta { margin-top: 4px; }
.prose { max-width: var(--measure); padding-block: clamp(32px, 5vw, 56px) 0; }
.prose h1 { margin-top: 0; }

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

.site-footer { --focus: var(--gold); margin-top: clamp(48px, 8vw, 96px); background: var(--ink); color: var(--muted-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-brand .mark { width: 36px; height: 36px; }
.footer-name { margin: 14px 0 8px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--cream); }
.footer-blurb { margin: 0; max-width: 34em; font-size: 0.92rem; line-height: 1.6; }
.footer-label { margin: 0 0 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.footer-label-gap { margin-top: 24px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a, .footer-contact a { display: inline-block; padding-block: 3px; font-size: 0.94rem; color: var(--muted-dark); transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-langs { margin: 0; font-size: 0.94rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px 28px;
  border-top: 1px solid rgba(251, 247, 238, 0.12);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Language chooser (root index.html)
   -------------------------------------------------------------------------- */

.chooser { min-height: 100vh; display: grid; place-items: center; padding: var(--gutter); }
.chooser-card { width: min(100%, 520px); text-align: center; }
.chooser-card .mark { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--green); }
.chooser-card .brand-name { font-size: 1.9rem; }
.chooser-hint { margin: 10px 0 0; font-size: 0.92rem; color: var(--muted); }
.chooser-links { display: grid; gap: 10px; margin-top: 30px; text-align: left; }
.chooser-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
}
.chooser-links a span { font-family: var(--text); font-weight: 500; font-size: 0.84rem; color: var(--muted); transition: color 0.2s; }
.chooser-links a:hover { background: var(--green-deep); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow); }
.chooser-links a:hover span { color: var(--muted-dark); }

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

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; justify-self: center; margin-top: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-lg { grid-template-columns: 1fr; }
  .card-lg .card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { order: -1; position: static; max-width: none; }
  .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .header-grid { grid-template-columns: 1fr auto; row-gap: 0; min-height: 0; padding-top: 12px; }
  .brand { grid-row: 1; grid-column: 1; }
  .header-side { grid-row: 1; grid-column: 2; justify-self: end; }
  .main-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-inline: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 7px 12px; }
  /* products become a swipeable row */
  .products {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
  .product-inline { grid-template-columns: 1fr; }
  .product-inline .product-media { border-radius: var(--r) var(--r) 0 0; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .hero-media { max-width: 100%; }
  .float-card { left: 0; width: min(280px, 82%); }
  .float-badge { right: 0; }
  .brand-name { font-size: 1.12rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .progress { display: none; }
}
