/* =========================================================
   PT Pandu Wahana Energi — website
   ========================================================= */

/* Plus Jakarta Sans draws "-" almost as wide as a dash ("co-firing" read as "co–firing").
   Borrow only the hyphen glyph from the system font; every other character stays Jakarta. */
@font-face {
  font-family: "PWE Hyphen";
  src: local("Segoe UI"), local("SegoeUI"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"), local("Arial"), local("ArialMT");
  font-weight: 100 500;
  unicode-range: U+002D, U+2010, U+2011;
}
@font-face {
  font-family: "PWE Hyphen";
  src: local("Segoe UI Bold"), local("SegoeUI-Bold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  unicode-range: U+002D, U+2010, U+2011;
}

:root {
  --ink: #0f1a14;
  --ink-2: #2b3a32;
  --muted: #5c6b62;
  --forest: #0c3a29;
  --forest-2: #114a35;
  --forest-3: #1a6346;
  --green: #2f9e44;
  --green-700: #237a35;
  --lime: #9ccf4a;
  --lime-soft: #e6f3cf;
  --sand: #f6f2ea;
  --sand-2: #ebe4d5;
  --paper: #ffffff;
  --line: #e2e6e0;
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 20, 0.06), 0 2px 8px rgba(15, 26, 20, 0.05);
  --shadow: 0 1px 2px rgba(15, 26, 20, 0.06), 0 12px 32px rgba(15, 26, 20, 0.09);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 128px);

  --font: "PWE Hyphen", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* the green crescent from the "pwe" logo, reused as the section marker */
  --arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%232f9e44'/%3E%3Cstop offset='1' stop-color='%239ccf4a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1 11C12 1 36 1 47 11C36 5 12 5 1 11Z' fill='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: light;
}

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

/* smooth scrolling only for in-page jumps; .smooth is added by main.js after load
   so links like ekosistem.html#pakan-ternak land instantly */
html.smooth { scroll-behavior: smooth; }
html {
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */
/* section label: small crescent above the text, like the arc over "pwe" in the logo */
.eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  padding-top: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 40px;
  height: 10px;
  background: var(--arc) no-repeat left top / contain;
}
.eyebrow--light { color: var(--lime); }
.section-head--center .eyebrow::before { left: 50%; transform: translateX(-50%); }

h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--forest {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}
.section--forest h2,
.section--forest h3 { color: #fff; }
.section--forest .lead { color: rgba(255, 255, 255, 0.75); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.18s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }

.btn--primary { --btn-bg: var(--green); }
.btn--primary:hover { --btn-bg: var(--green-700); box-shadow: 0 10px 24px rgba(47, 158, 68, 0.28); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--forest); }
.btn--lime:hover { --btn-bg: #b2df6b; box-shadow: 0 10px 28px rgba(156, 207, 74, 0.3); }
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.16); border-color: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.brand .logo-dark { display: none; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s, background-color 0.15s;
}
.nav-list a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.nav-list a[aria-current="page"] { opacity: 1; }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 26px;
  height: 7px;
  transform: translateX(-50%);
  background: var(--arc) no-repeat center / contain;
}
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s, background-color 0.15s;
}
.login-link .icon { width: 18px; height: 18px; }
.login-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.site-header.is-solid .login-link:hover { background: var(--sand); }
.nav-login-mobile { display: none; }
.header-cta { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.lang-toggle button {
  min-width: 38px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0.75;
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--forest); opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }

/* scrolled / solid header */
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15, 26, 20, 0.06);
  color: var(--ink);
}
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.site-header.is-solid .nav-list a:hover { background: var(--sand); }
.header-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(156, 207, 74, 0.55); }
.site-header.is-solid .lang-toggle { border-color: var(--line); }
.site-header.is-solid .lang-toggle button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.site-header.is-solid .nav-toggle { border-color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 40px;
  color: #fff;
  background: var(--forest);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 36, 25, 0.94) 0%, rgba(8, 36, 25, 0.78) 38%, rgba(8, 36, 25, 0.25) 75%, rgba(8, 36, 25, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 36, 25, 0.9) 0%, rgba(8, 36, 25, 0) 45%),
    linear-gradient(180deg, rgba(8, 36, 25, 0.55) 0%, rgba(8, 36, 25, 0) 22%);
}

.hero-content { padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hl { color: var(--lime); }
.hero-lead {
  max-width: 58ch;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  margin: 0;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
}
.stat-value {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.stat-value small { font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--lime); }
.stat-label { font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.7); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.about-text h2 { margin-bottom: 22px; }
.about-text .lead { color: var(--ink-2); }
.about-text p:not(.lead):not(.eyebrow) { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.fact { padding: 24px; background: var(--paper); }
.fact dt {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin: 0; font-size: 1.06rem; font-weight: 700; line-height: 1.35; color: var(--ink); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
}
.vision-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
}
.vision-text {
  position: relative;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
}
.mission-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand);
}
.mission-list { counter-reset: m; display: grid; gap: 14px; }
.mission-list li {
  counter-increment: m;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.mission-list li::before {
  content: counter(m);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--sand-2);
  color: var(--green-700);
  font-weight: 800;
}

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card,
.value-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.card-icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green-700);
}
.card-icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.card-kicker { margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.card p:last-child { color: var(--muted); }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--sand-2); }
.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
}
.step-icon .icon { width: 22px; height: 22px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step:last-child .step-icon { background: var(--forest); color: var(--lime); }

/* ---------- Quality ---------- */
.quality-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.quality-text h2 { margin-bottom: 20px; }
.param-title {
  margin: 32px 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.param-list { display: flex; flex-wrap: wrap; gap: 8px; }
.param-list li {
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.metrics { display: grid; gap: 16px; }
.metric {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.metric-value {
  margin: 0 0 4px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.metric-unit { margin: 0 0 14px; font-weight: 700; color: var(--lime); }
.metric-label { margin: 0; color: rgba(255, 255, 255, 0.7); }

/* ---------- Feedstock ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feed-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.feed-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feed-card p { flex: 1; margin-bottom: 18px; color: var(--muted); font-size: 0.97rem; }
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--lab { background: #e5f0fb; color: #1f5f9e; }
.badge--blend { background: #fbf0dc; color: #8a5a10; }
.badge--partner { background: var(--lime-soft); color: var(--green-700); }

.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: clamp(56px, 7vw, 88px) 0 24px; }
.gallery-head h3 { font-size: 1.5rem; }
.gallery-head p { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--sand);
}
.gallery figcaption { margin-top: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Ecosystem ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.eco-text h2 { margin-bottom: 20px; }
.eco-text p:not(.lead):not(.eyebrow) { color: var(--muted); }

.eco-wheel {
  --size: min(100%, 560px);
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
}
.eco-wheel::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1.5px solid #dbe3d4;
  border-radius: 50%;
}
.eco-core {
  position: absolute;
  inset: 31%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  text-align: center;
}
.eco-core .icon { width: 30px; height: 30px; margin-bottom: 4px; color: var(--lime); }
.eco-core strong { font-size: clamp(1.1rem, 4.4cqi, 1.5rem); font-weight: 800; letter-spacing: -0.02em; }
.eco-core span { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.1em; }

.eco-items { margin: 0; padding: 0; list-style: none; }
.eco-item {
  --angle: calc(var(--i) * 45deg - 90deg);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24cqi;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(38cqi) rotate(calc(var(--angle) * -1));
}
.eco-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: clamp(0.72rem, 2.5cqi, 0.86rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.eco-chip .icon { width: 22px; height: 22px; color: var(--green-700); }
.eco-chip--link { border-color: rgba(47, 158, 68, 0.5); background: #fbfef6; }
.eco-chip--link:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.eco-chip .eco-ext { position: absolute; top: 7px; right: 7px; width: 13px; height: 13px; color: var(--green); stroke-width: 2.2; }
.eco-hint { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.9rem; font-weight: 600; color: var(--green-700); }


/* ---------- Research timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.tl-item {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.tl-item.is-active { border-color: rgba(47, 158, 68, 0.45); }
.tl-status {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.tl-item.is-active .tl-status { background: var(--lime-soft); color: var(--green-700); }
.tl-item h3 { margin-bottom: 10px; font-size: 1.35rem; }
.tl-num { color: var(--green); margin-right: 4px; }
.tl-item p { color: var(--muted); }

/* ---------- Values ---------- */
.value-term { font-size: 1.6rem; letter-spacing: -0.02em; }
.value-sub { margin: 4px 0 12px; font-weight: 700; color: var(--green-700); }
.value-card p:last-child { color: var(--muted); }
.note {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Legal ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.kbli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kbli {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-2);
}
.kbli-code {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--green-700);
}
.compliance {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
}
.compliance ul { display: grid; gap: 16px; }
.compliance li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.compliance li .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(156, 207, 74, 0.18);
  color: var(--lime);
  stroke-width: 2.4;
}

/* ---------- Partnership ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.partner-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.partner-card p { flex: 1; margin-bottom: 18px; font-size: 0.97rem; color: var(--muted); }
.partner-card .more { font-size: 0.94rem; }

.partner-ext {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(47, 158, 68, 0.4);
  border-radius: var(--radius);
  background: #fbfef6;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.partner-ext:hover { border-color: var(--green); background: var(--lime-soft); }
.partner-ext img { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.partner-ext > span { flex: 1; display: grid; gap: 2px; }
.partner-ext b { font-size: 1.02rem; }
.partner-ext > span > span { font-size: 0.95rem; color: var(--muted); }
.partner-ext > .icon { color: var(--green-700); }
.partner-ext--compact { padding: 14px 16px; gap: 14px; }
.partner-ext--compact img { width: 44px; height: 44px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact-list { display: grid; gap: 4px; margin-bottom: 24px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .card-icon {
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  background: var(--lime-soft);
}
.contact-list .card-icon .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.contact-label {
  margin: 0 0 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a,
.contact-list address { font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.map {
  overflow: hidden;
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand);
  aspect-ratio: 21 / 8;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand);
}
.contact-form h2 { margin-bottom: 24px; font-size: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--sand-2);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 158, 68, 0.15);
}
.field [aria-invalid="true"] { border-color: #c2410c; }
.form-error { margin: 0 0 12px; font-size: 0.92rem; font-weight: 600; color: #c2410c; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-hint { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: #08261b;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; }
.footer-title { margin-bottom: 14px; font-weight: 700; color: #fff; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  padding-right: calc(var(--gutter) + 72px); /* keep clear of the floating WhatsApp button */
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; stroke-width: 2; }

/* ---------- Multi-page components ---------- */
.icon-sm { width: 0.95em; height: 0.95em; vertical-align: -0.1em; }

/* page header with breadcrumb (sub-pages) */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
  background: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}
.page-head-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}
.page-head-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 36, 25, 0.95) 0%, rgba(8, 36, 25, 0.82) 45%, rgba(8, 36, 25, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 36, 25, 0.6) 0%, rgba(8, 36, 25, 0) 30%);
}
.page-head--plain { background: var(--forest); }
.page-head h1 {
  max-width: 18ch;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}
.page-lead { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.crumb { margin-bottom: 18px; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.crumb a { color: var(--lime); text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb span[aria-hidden] { margin: 0 6px; }

/* in-page jump links */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.subnav a:hover { background: var(--sand); color: var(--green-700); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }

/* section heading with "more" link */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.head-row .section-head { margin-bottom: 0; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
}
.more .icon { width: 1.05em; height: 1.05em; transition: transform 0.18s ease; }
.more:hover .icon { transform: translateX(3px); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-text .more,
.quality-text .more,
.eco-teaser .more { margin-top: 24px; }
.more--light { color: var(--lime); }

/* CTA box */
.section--cta { padding-block: 0 var(--section-y); }
.section--sand + .section--cta,
.section--forest + .section--cta { padding-top: var(--section-y); }
.cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--forest);
  color: rgba(255, 255, 255, 0.8);
}
/* the logo crescent, oversized and faint, rising from the bottom-right corner */
.cta-box::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -40px;
  width: 420px;
  height: 105px;
  background: var(--arc) no-repeat center / contain;
  opacity: 0.18;
}
.cta-box > div:first-child { flex: 1 1 420px; }
.cta-box h2 { margin-bottom: 10px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* home: ecosystem teaser + partner card */
.eco-teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eco-teaser h2 { margin-bottom: 18px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-list li > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--sand-2);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.chip-list a {
  border-color: rgba(47, 158, 68, 0.5);
  color: var(--green-700);
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.chip-list a:hover { background: var(--lime-soft); border-color: var(--green); }

.ext-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.ext-card > p { margin: 18px 0 22px; color: var(--muted); }
.ext-top { display: flex; align-items: center; gap: 16px; }
.ext-top img { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.ext-top h2,
.ext-top h3 { font-size: 1.25rem; line-height: 1.25; }
.ext-top h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ext-kicker {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* ecosystem page: livestock feed feature */
.feed-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feed-feature-media { margin: 0; }
.feed-feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.feed-feature-media figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.feed-feature-text .lead { margin: 22px 0 24px; }
.ext-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.ext-products a {
  position: relative;
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 14px 36px 14px 16px;
  border: 1px solid var(--sand-2);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ext-products a:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.ext-products b { font-size: 1rem; }
.ext-products span { font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.ext-products .icon { position: absolute; top: 14px; right: 14px; color: var(--green-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* feedstock status legend */
.legend {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-size: 0.92rem;
  color: var(--muted);
}
.legend p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
.legend .badge { flex: none; }

/* footer link to pakanalami.com */
.footer-ext {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.footer-ext img { width: 40px; height: 40px; margin: 0 !important; border-radius: 10px; }
.footer-ext span { display: grid; line-height: 1.3; }
.footer-ext small { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.footer-ext b { color: #fff; }
.footer-ext .icon { width: 16px; height: 16px; }
.footer-ext:hover { border-color: rgba(156, 207, 74, 0.5); }

/* gallery buttons + lightbox */
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery button img { transition: transform 0.4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox {
  width: min(92vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #08261b;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(5, 20, 14, 0.82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #000; }
.lightbox p { margin: 0; padding: 16px 20px; font-weight: 600; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(15, 26, 20, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-list a:hover { background: transparent; color: var(--green-700); }
  .nav-list a[aria-current="page"] { color: var(--green-700); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 20px; }
  .login-link { display: none; }
  .nav-login-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
  }

  .site-header.nav-open { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .site-header.nav-open .logo-light { display: none; }
  .site-header.nav-open .logo-dark { display: block; }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.nav-open .nav-toggle { border-color: var(--line); }
  .site-header.nav-open .nav-toggle .icon-open { display: none; }
  .site-header.nav-open .nav-toggle .icon-close { display: block; }
  .site-header.nav-open .lang-toggle { border-color: var(--line); }
  .site-header.nav-open .lang-toggle button[aria-pressed="true"] { background: var(--forest); color: #fff; }
}

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .about-grid,
  .quality-grid,
  .eco-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .cards-3,
  .timeline { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .eco-teaser,
  .feed-feature { grid-template-columns: 1fr; }
  .feed-feature-media img { aspect-ratio: 16 / 10; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .map { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand img { height: 36px; }
  .header-actions { gap: 8px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); padding-bottom: 24px; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(8, 36, 25, 0.96) 0%, rgba(8, 36, 25, 0.82) 55%, rgba(8, 36, 25, 0.55) 100%);
  }
  .hero-actions .btn { width: 100%; }
  .stat-value { font-size: 1.35rem; }
  .facts { grid-template-columns: 1fr; }
  .feed-grid,
  .partner-grid,
  .kbli-grid,
  .metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { gap: 12px; }
  .form-actions .btn { width: 100%; }
  .field-row,
  .ext-products { grid-template-columns: 1fr; }
  .cta-actions,
  .cta-actions .btn,
  .btn-row .btn { width: 100%; }
  .page-head { padding-top: calc(var(--header-h) + 40px); }
  .map { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }

  /* Ecosystem wheel becomes a grid on small screens */
  .eco-wheel { aspect-ratio: auto; container-type: normal; }
  .eco-wheel::before { display: none; }
  .eco-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .eco-core {
    position: static;
    flex-direction: row;
    gap: 10px;
    padding: 18px;
    border-radius: 16px;
    box-shadow: none;
  }
  .eco-core .icon { margin: 0; }
  .eco-core strong { font-size: 1.2rem; }
  .eco-item { position: static; width: auto; transform: none; }
  .eco-chip { height: 100%; justify-content: center; padding: 16px 12px; font-size: 0.86rem; }
}

@media (min-width: 641px) and (max-width: 880px) {
  .eco-wheel { --size: min(100%, 520px); }
}

/* ---------- Photos in cards and sections ---------- */
/* Card photos run edge to edge across the top; the card clips them to its rounded corners. */
.step,
.feed-card,
.partner-card { overflow: hidden; }
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: -24px -24px 20px;
  overflow: hidden; /* keeps portrait photos from stretching the box past 4:3 */
  background: var(--sand);
}
.partner-card .card-media { margin: -28px -24px 20px; }
.card-media img,
.quality-media img,
.eco-media img,
.riset-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.quality-media,
.eco-media,
.riset-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.quality-media { grid-column: 1 / -1; aspect-ratio: 16 / 9; border: 1px solid var(--line-dark); }
.eco-media { margin-top: 28px; aspect-ratio: 3 / 2; }
.riset-media { aspect-ratio: 3 / 2; }

.riset-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.riset-head .section-head { margin-bottom: 0; }

/* AI-generated images are labelled so they are not mistaken for photos of our own sites. */
.media-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 26, 20, 0.62);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

@media (max-width: 880px) {
  .riset-head { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .card-media { aspect-ratio: 16 / 10; }
}
