/* ============================================================
   Belder Website — internal page styles (case study + works index)
   Built on DS tokens + site.css. Loaded after site.css.
   ============================================================ */

/* ---------- Striped media placeholder ---------- */
.bld-media { position: relative; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: var(--radius-md); background-color: var(--surface-sunken);
  background-image: repeating-linear-gradient(135deg,
    transparent 0, transparent 11px,
    color-mix(in srgb, var(--text-strong) 5%, transparent) 11px,
    color-mix(in srgb, var(--text-strong) 5%, transparent) 12px);
  box-shadow: inset 0 0 0 1px var(--border); }
.bld-media--round { border-radius: var(--radius-round); aspect-ratio: 1 / 1; }
.bld-media__label { font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
  margin: 1.4rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-bright) 80%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bld-media--round .bld-media__label { margin: 0; align-self: center; }

/* ---------- Real seed image frame (matches Media language) ---------- */
.bld-frame { position: relative; overflow: hidden; border-radius: var(--radius-md);
  background-color: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--border); }
.bld-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bld-frame.hero-nudge-up img { object-position: center calc(50% - 10px); }
.bld-frame.hero-nudge-down img { object-position: center calc(50% - 80px); }
.bld-frame.shot-top img { object-position: center top; }
.bld-frame.shot-graph img { object-position: center 33%; }
.bld-frame.shot-bottom img { object-position: center 70%; }
/* Homepage works grid: top-align the Primiero card screenshot */
.works-grid a[href*="p=primiero"] .bld-card__media img { object-position: center top; }
/* Homepage works grid: frame AWQ|Net card like its detail hero (title above graph) */
.works-grid a[href*="p=awqnet"] .bld-card__media img { object-position: center 33%; }
.bld-frame--round { border-radius: var(--radius-round); }
.bld-frame--shadow { box-shadow: var(--shadow-md); }

/* ---------- Entrance reveal (transform-only; opacity is never gated, so content
   is always visible even where animations don't run — print, reduced-motion, etc.) ---------- */
@keyframes bld-reveal { from { transform: translateY(20px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: bld-reveal 0.65s var(--ease-spark) both; }
}

/* ---------- Inner-page top spacing (header is sticky) ---------- */
.inner { padding-top: clamp(2.4rem, 4vw, 4rem); }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono);
  font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; }
.crumb a { color: var(--text-muted); text-decoration: none; transition: color var(--dur-fast); }
.crumb a:hover { color: var(--accent); }
.crumb__sep { width: 1.4rem; height: 1.4rem; }
.crumb__sep svg { width: 100%; height: 100%; fill: var(--text-faint); display: block; }
.crumb__here { color: var(--text-strong); }

/* ---------- Project hero ---------- */
.proj-hero { padding-block: clamp(2.4rem, 4vw, 4rem) clamp(2.4rem, 4vw, 4rem); }
.proj-hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 6rem);
  align-items: end; }
.proj-hero[data-layout="stacked"] .proj-hero__grid { grid-template-columns: 1fr; }
.proj-hero__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(5rem, 12vw, 13rem); line-height: 0.95; letter-spacing: -0.045em;
  margin: 2rem 0 1.6rem; }
.proj-hero__sub { font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.35; color: var(--text-body);
  max-width: 30ch; margin: 0; }
.proj-hero__sub span { color: var(--text-muted); }
.proj-hero__side { display: flex; flex-direction: column; gap: 2.4rem; align-items: flex-start; }
.proj-hero[data-layout="stacked"] .proj-hero__side { align-items: stretch; }
.tag-cluster { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-link { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--font-mono);
  font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); text-decoration: none; transition: color var(--dur-fast); }
.scroll-link:hover { color: var(--accent); }
.scroll-link svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }

/* ---------- Feature / full-bleed media ---------- */
.feature-media { margin-top: 1rem; }
.feature-media .bld-media { aspect-ratio: 16 / 8; box-shadow: var(--shadow-md); }

/* ---------- Split block (overview / challenge / solution) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.split__head { margin-bottom: 2.8rem; }
.split__manifest { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em;
  color: var(--text-strong); font-size: clamp(2.2rem, 3vw, 3.2rem); line-height: 1.22;
  max-width: 24ch; margin: 0; }
.split__manifest span { color: var(--text-muted); }
.split__actions { margin-top: 2.8rem; }

/* facts list (Client / Sector / Timeline …) */
.facts { display: flex; flex-direction: column; }
.facts__row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.6rem;
  padding: 1.8rem 0; border-top: 1px solid var(--border); }
.facts__row:last-child { border-bottom: 1px solid var(--border); }
.facts__key { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); padding-top: 0.2rem; }
.facts__val { font-size: 1.7rem; line-height: 1.4; color: var(--text-strong); }
.facts__val a { color: var(--accent); text-decoration: none; }
.facts__val a:hover { text-decoration: underline; }

/* data list (provided services / tech stack) */
.data-list { display: flex; flex-direction: column; }
.data-list__row { padding: 2.4rem 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr; gap: 1rem; }
.data-list__row:last-child { border-bottom: 1px solid var(--border); }
.data-list__name { display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 2vw, 2.2rem); color: var(--text-strong); margin: 0; }
.data-list__num { font-family: var(--font-mono); font-weight: 500; font-size: 1.3rem; color: var(--accent); }
.data-list__desc { font-size: 1.55rem; line-height: 1.55; color: var(--text-body); margin: 0; max-width: 48ch; }

/* ---------- Image galleries ---------- */
.gallery { display: grid; gap: clamp(1.6rem, 2.5vw, 2.4rem); }
.gallery--duo { grid-template-columns: 1fr 1fr; }
.gallery .bld-media { aspect-ratio: 4 / 3; }
.gallery--wide .bld-media { aspect-ratio: 16 / 8; }

/* ---------- Results stats ---------- */
.results-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }

/* ---------- Testimonial (reuses .quote* from site.css, just spacing) ---------- */
.proj-quote { max-width: 96rem; }
.proj-quote .quote { text-align: left; }

/* ---------- Next project ---------- */
.next-prj { display: block; text-decoration: none; color: inherit;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 5vw, 5.5rem) 0; transition: background var(--dur-medium) var(--ease-spark); }
.next-prj:hover { background: var(--surface); }
.next-prj__inner { display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter); }
.next-prj__cap { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin: 0 0 1.2rem; }
.next-prj__name { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em;
  color: var(--text-strong); font-size: clamp(3rem, 5.5vw, 6rem); line-height: 1.02; margin: 0; }
.next-prj__name span { color: var(--text-muted); }
.next-prj__arrow { flex: none; width: clamp(4rem, 6vw, 6rem); height: clamp(4rem, 6vw, 6rem);
  border-radius: var(--radius-round); background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-medium) var(--ease-spark); }
.next-prj:hover .next-prj__arrow { transform: translate(6px, -6px); }
.next-prj__arrow svg { width: 42%; height: 42%; fill: var(--on-accent); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center;
  gap: 2.4rem; max-width: 80rem; margin: 0 auto; }
.cta-band__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(2.8rem, 4.5vw, 4.8rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.cta-band__title span { color: var(--text-muted); }

/* ============================================================
   WORKS INDEX
   ============================================================ */
.works-index-hero { padding-block: clamp(2rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem); }
.works-index-hero__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(4rem, 8vw, 8.4rem); line-height: 1; letter-spacing: -0.04em; margin: 1.8rem 0 2.4rem; }
.works-index-hero__title span { color: var(--text-muted); }
.works-index-hero__lead { font-size: clamp(1.7rem, 2.2vw, 2rem); line-height: 1.5; color: var(--text-body);
  max-width: 54ch; margin: 0; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  padding-block: 2.4rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: clamp(3rem, 5vw, 5rem); }
.filter-chip { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
  padding: 0.9rem 1.6rem; border-radius: var(--radius-round); border: 1px solid var(--border);
  background: transparent; cursor: pointer; transition: all var(--dur-fast) var(--ease-spark); }
.filter-chip:hover { color: var(--text-strong); border-color: var(--stroke-muted); }
.filter-chip.is-active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.filter-count { margin-left: auto; font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }

/* works grid */
.works-index-grid { display: grid; grid-template-columns: var(--works-cols, repeat(2, 1fr)); gap: clamp(2rem, 3vw, 3rem); }

/* custom work card (theme-aware media placeholder) */
.work-card { display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform var(--dur-medium) var(--ease-spark), box-shadow var(--dur-medium) var(--ease-spark); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-card__media { position: relative; }
.work-card__media .bld-media,
.work-card__media .bld-frame { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.work-card__body { display: flex; flex-direction: column; gap: 1.2rem; padding: 2.4rem; flex: 1; }
.work-card__eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.work-card__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--text-strong); font-size: 2.2rem; }
.work-card__arrow { flex: none; width: 1.8rem; height: 1.8rem; margin-top: 0.3rem;
  transition: transform var(--dur-medium) var(--ease-spark); }
.work-card__arrow svg { width: 100%; height: 100%; fill: var(--accent); display: block; }
.work-card:hover .work-card__arrow { transform: translate(3px, -3px); }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 0.2rem; }
.work-card__tags span { font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.work-card.is-hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .proj-hero__grid, .split, .results-row, .works-index-grid { grid-template-columns: 1fr; }
  .proj-hero__side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .results-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery--duo, .results-row { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: 9rem 1fr; }
  .next-prj__inner { gap: 1.4rem; }
}

/* ============================================================
   ABOUT / WHO WE ARE
   ============================================================ */
.about-hero { padding-block: clamp(2rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem); }
.about-hero__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.about-hero__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(4rem, 9vw, 9rem); line-height: 0.98; letter-spacing: -0.04em; margin: 1.8rem 0 2rem; }
.about-hero__title span { color: var(--text-muted); }
.about-hero__lead { font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.5; color: var(--text-body); max-width: 40ch; margin: 0; }
.about-meta { display: flex; flex-direction: column; }
.about-meta__row { display: grid; grid-template-columns: 11rem 1fr; gap: 1.4rem;
  padding: 1.5rem 0; border-top: 1px solid var(--border); }
.about-meta__row:last-child { border-bottom: 1px solid var(--border); }
.about-meta__key { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.about-meta__val { font-size: 1.6rem; color: var(--text-strong); }

/* studio band */
.studio-media .bld-frame { aspect-ratio: 16 / 10; box-shadow: var(--shadow-md); }

/* team grid */
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(2.8rem, 4vw, 4rem); }
.team-grid { display: grid; grid-template-columns: var(--team-cols, repeat(3, 1fr)); gap: clamp(2rem, 3vw, 3.2rem); }
.profile { display: flex; flex-direction: column; }
.profile__media { margin-bottom: 1.8rem; }
.profile__media .bld-frame { aspect-ratio: 1 / 1; border-radius: var(--radius-md); }
.profile__role { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 0.8rem; }
.profile__name { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-strong); font-size: clamp(2rem, 2.4vw, 2.4rem); line-height: 1.1; margin: 0 0 1rem; }
.profile__bio { font-size: 1.55rem; line-height: 1.55; color: var(--text-body); margin: 0 0 1.4rem; max-width: 38ch; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; }
.profile__tags span { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
  padding: 0.5rem 0.9rem; border-radius: var(--radius-round); border: 1px solid var(--border); }

@media (max-width: 960px) {
  .about-hero__grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr !important; }
  .team-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CONTACT FORM — GDPR consent, status, honeypot
   ============================================================ */
.contact-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px;
  overflow: hidden; }
.contact-consent { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 0.4rem; }
.contact-consent .bld-check { font-size: 1.4rem; color: var(--text-body); }
.contact-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.contact-consent .req { color: var(--accent); }
.contact-consent .opt { color: var(--text-muted); }
.contact-consent__err { margin: -0.6rem 0 0 3rem; font-size: 1.3rem; color: var(--danger); }
.contact-form__status { margin: 0; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--danger); font-size: 1.45rem; line-height: 1.4; }
.contact-form__submit { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.contact-form__fineprint { font-size: 1.3rem; color: var(--text-muted); }
.contact-sent { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start;
  align-self: center; }
.contact-sent__mark { width: 5.6rem; height: 5.6rem; border-radius: var(--radius-round);
  background: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-sent__mark svg { width: 46%; height: 46%; fill: var(--on-accent); }
.contact-sent p { font-size: 1.7rem; line-height: 1.55; color: var(--text-body); margin: 0; max-width: 40ch; }
.contact-sent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* footer legal links */
.site-footer__legal { display: flex; gap: 1.6rem; }
.site-footer__legal a { font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
  text-decoration: none; transition: color var(--dur-fast); }
.site-footer__legal a:hover { color: var(--accent); }

/* ============================================================
   LEGAL / PRIVACY PAGE
   ============================================================ */
.legal-hero { padding-block: clamp(1.6rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); max-width: 70rem; }
.legal-hero__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: 1.04; letter-spacing: -0.035em; margin: 1.6rem 0 1.8rem; }
.legal-hero__meta { display: block; margin: 0 0 2.4rem; color: var(--text-faint); }
.legal-hero__lead { font-size: clamp(1.7rem, 2.1vw, 2rem); line-height: 1.55; color: var(--text-body); margin: 0; }

.legal-wrap { display: grid; grid-template-columns: 24rem 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.legal-toc { position: sticky; top: 11rem; display: flex; flex-direction: column; gap: 1.2rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem;
  counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { font-size: 1.45rem; line-height: 1.4; color: var(--text-muted); text-decoration: none;
  display: flex; gap: 0.8rem; transition: color var(--dur-fast); }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono);
  font-weight: 600; font-size: 1.2rem; color: var(--text-faint); }
.legal-toc a:hover { color: var(--accent); }

.legal-body { max-width: 72ch; display: flex; flex-direction: column; gap: clamp(3rem, 5vw, 4.5rem); }
.legal-section { scroll-margin-top: 11rem; }
.legal-section__title { display: flex; gap: 1.4rem; align-items: baseline;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; color: var(--text-strong);
  font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1.2; margin: 0 0 1.6rem; }
.legal-section__n { font-family: var(--font-mono); font-weight: 600; font-size: 1.4rem; color: var(--accent);
  flex: none; padding-top: 0.4rem; }
.legal-section__p { font-size: 1.6rem; line-height: 1.65; color: var(--text-body); margin: 0 0 1.4rem; }
.legal-section__p:last-child { margin-bottom: 0; }
.legal-deflist { margin: 0.6rem 0 0; display: flex; flex-direction: column; }
.legal-deflist__row { display: grid; grid-template-columns: 16rem 1fr; gap: 1.6rem;
  padding: 1.6rem 0; border-top: 1px solid var(--border); }
.legal-deflist__row:last-child { border-bottom: 1px solid var(--border); }
.legal-deflist dt { font-family: var(--font-sans); font-weight: 700; font-size: 1.5rem; color: var(--text-strong); }
.legal-deflist dd { margin: 0; font-size: 1.55rem; line-height: 1.6; color: var(--text-body); }
.legal-note { margin: 1rem 0 0; padding: 1.6rem 1.8rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 1.4rem; line-height: 1.55; color: var(--text-muted); }

@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 2.6rem; }
  .legal-toc { position: static; }
  .legal-deflist__row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ============================================================
   ESG / SUSTAINABILITY
   ============================================================ */
.esg-hero { max-width: 92rem; padding-top: clamp(1.6rem, 3vw, 3rem); }
.esg-hero__title { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: clamp(3.6rem, 7.5vw, 8rem); line-height: 1; letter-spacing: -0.04em; margin: 1.8rem 0 2rem; }
.esg-hero__title span { color: var(--text-muted); }
.esg-hero__lead { font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.55; color: var(--text-body); max-width: 56ch; margin: 0; }
.esg-hero__lead em, .split__manifest em, .esg-section-lead em { font-style: italic; color: var(--text-strong); }
.esg-section-lead { font-size: clamp(1.7rem, 2.1vw, 2rem); line-height: 1.55; color: var(--text-body);
  max-width: 64ch; margin: 0 0 clamp(3rem, 4vw, 4.5rem); }
.eco-tags { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- diagram shells ---- */
.esg-diagram { width: 100%; background: var(--surface-bright); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: clamp(2rem, 3vw, 3.2rem); }
.esg-diagram svg { width: 100%; height: auto; display: block; }

/* ---- energy flow ---- */
.flow-node rect { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.flow-node--hub rect { fill: color-mix(in srgb, var(--accent) 10%, var(--surface-bright));
  stroke: color-mix(in srgb, var(--accent) 45%, var(--border)); stroke-width: 2; }
.flow-node__ico { color: var(--accent); }
.flow-node--hub .flow-node__ico { color: var(--accent); }
.flow-node__t1 { font-family: var(--font-sans); font-weight: 700; font-size: 17px; fill: var(--text-strong); letter-spacing: -0.01em; }
.flow-node__t2 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; fill: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.03em; }
.flow-conn path { stroke: color-mix(in srgb, var(--accent) 55%, var(--border)); stroke-width: 2.5;
  stroke-dasharray: 7 7; }
.flow-arrow path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .flow-conn path, .flow-conn path { animation: flow-dash 1.1s linear infinite; }
}
@keyframes flow-dash { to { stroke-dashoffset: -28; } }

/* ---- REC radial ---- */
.rec-diagram { max-width: 62rem; margin-inline: auto; }
.rec-split .rec-diagram { max-width: none; margin: 0; width: 100%; }
.rec-split__text { display: flex; flex-direction: column; }
@media (min-width: 961px) { .rec-split__text .rec-partner { margin-top: auto; } }
.rec-spoke line { stroke: var(--border); stroke-width: 1.5; }
.rec-pulse line { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 5 95; }
@media (prefers-reduced-motion: no-preference) {
  .rec-pulse line { animation: rec-pulse 2.4s linear infinite; }
}
@keyframes rec-pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.rec-home circle { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.rec-home__ico { color: var(--text-muted); }
.rec-prod circle { stroke: var(--accent); stroke-width: 2; }
.rec-prod .rec-home__ico { color: var(--accent); }
.rec-hub circle { fill: var(--accent); }
.rec-hub__ico { color: var(--on-accent); }
.rec-legend { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  width: fit-content; margin: 2rem auto 0; }
.rec-legend span { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; color: var(--text-muted); }
.rec-dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--stroke-muted); }
.rec-dot--hub { background: var(--accent); border-color: var(--accent); }
.rec-dot--prod { background: var(--surface); border-color: var(--accent); border-width: 2px; }

/* ---- REC partner link (Verd&Blu) ---- */
.rec-partner { display: flex; align-items: center; gap: 1.8rem; max-width: 62rem;
  margin: 3.2rem 0 0; padding: 1.4rem 1.8rem; text-decoration: none;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface-bright);
  transition: border-color var(--dur-medium), transform var(--dur-medium), box-shadow var(--dur-medium); }
.rec-partner:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rec-partner__logo { flex: none; width: 5.4rem; height: 5.4rem; border-radius: 12px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.rec-partner__logo img { width: 4rem; height: 4rem; object-fit: contain; }
.rec-partner__text { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.rec-partner__label { color: var(--text-muted); }
.rec-partner__name { font-family: var(--font-sans); font-weight: 600; color: var(--text-strong);
  font-size: 1.6rem; line-height: 1.25; }
.rec-partner__cta { flex: none; display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); white-space: nowrap; }
.rec-partner__cta svg { width: 1.2rem; height: 1.2rem; fill: currentColor; transition: transform var(--dur-medium); }
.rec-partner:hover .rec-partner__cta svg { transform: translate(2px, -2px); }
@media (max-width: 560px) {
  .rec-partner { flex-wrap: wrap; gap: 1.2rem; }
  .rec-partner__cta { width: 100%; }
}

/* ---- ESG pillars ---- */
.esg-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3vw, 2.8rem); }
.pillar { display: flex; flex-direction: column; padding: clamp(2.4rem, 3vw, 3.2rem);
  border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.pillar__tag { width: 4.4rem; height: 4.4rem; border-radius: var(--radius-round); flex: none;
  display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-sans); font-weight: 700; font-size: 2rem; margin-bottom: 2rem; }
.pillar__title { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-strong); font-size: clamp(2rem, 2.4vw, 2.4rem); margin: 0 0 1.6rem; }
.pillar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.pillar__list li { position: relative; padding-left: 2.2rem; font-size: 1.5rem; line-height: 1.5; color: var(--text-body); }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 0.9rem; height: 0.9rem;
  border-radius: 2px; background: var(--accent); }

@media (max-width: 860px) {
  .esg-pillars { grid-template-columns: 1fr; }
  .esg-diagram { padding: 1.6rem; }
}
