/* css/base/tokens.css */
/* Biru Sistem design tokens — adapted from toko_batik's tokens.css, so
   header/hero/layout/interactions.css keep working unmodified. No dark/
   light toggle here, so [data-theme] is collapsed into one palette. */
:root {
  /* Sora (display) pairs as a "cousin" font to Plus Jakarta Sans (body,
     solid ID+EN coverage) — swapped 2026-08-20 from Space Grotesk/IBM Plex
     Sans, boss review item #10 */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Caveat — script font, used only by the career pages' closing CTA
     (partials/section-closer.php, 2026-08-13) */
  --font-script: "Caveat", cursive;

  --fs-eyebrow: 0.74rem;
  --fs-body: 1.02rem;
  --fs-lead: clamp(1.12rem, 0.6rem + 1.1vw, 1.4rem);
  --h4: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  --h3: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  --h2: clamp(2.05rem, 1.2rem + 3.4vw, 3.4rem);
  --h1: clamp(2.6rem, 1.1rem + 6vw, 5.2rem);

  /* spacing / layout */
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(60px, 6vw, 104px);
  --radius: 2px;
  --radius-lg: 4px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 0.6s;
  --dur-fast: 0.25s;
}

/* ---- Biru Sistem palette ---- */
:root {
  --bg: #f7f9fc;          /* paper — subpage/WIP background */
  --bg-2: #eef2f9;
  --bg-3: #ffffff;
  --text: #0b1220;        /* ink */
  --text-2: #4b5468;
  --text-3: #7c8496;
  --line: #dde3ee;
  --line-2: #c7d0e0;

  --accent: #2e7bff;      /* electric blue — interactive / hover */
  --accent-2: #5c9bff;
  --accent-ink: #ffffff;

  /* brand blues — header, hero overlay, footer */
  --biru-ink: #060b17;    /* near-black navy, deepest overlay stop */
  --biru-deep: #0b1b3d;   /* header / brand surface */
  --biru-royal: #14318c;  /* mid blue accent */

  /* biru-boss (2026-08-18) — brand blue from the client, distinct from
     --accent/--biru-royal/--biru-deep above. Not yet sitewide — full
     --accent -> --biru-boss swap (~65 usages) is a separate pass. */
  --biru-boss: #213e9c;
  --biru-boss-dark: #152b6e; /* mobile mega-menu panels: ~30% darker than --biru-boss */

  /* PDF-preview widget's deliberate warm/yellow accent against the
     otherwise navy/blue palette — download CTA + hover only, so it reads
     as a distinct action. 2026-08-18: hex updated to client brand yellow. */
  --biru-yellow: #fdd017;
  --biru-yellow-ink: #1a1400;

  --overlay: linear-gradient(180deg, rgba(6,11,23,0.35) 0%, rgba(6,11,23,0.50) 100%);
  --shadow: 0 24px 60px -28px rgba(6,11,23,0.55);
  --img-filter: contrast(1.02);
}

/* css/base/reset.css */
/* Minimal modern reset. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--biru-boss); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* The [hidden] attribute must always win, even over flex/grid display. */
[hidden] { display: none !important; }

/* css/base/typography.css */
/* Type — Sora display against Plus Jakarta Sans body. */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.01em;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--text);
}
h1 { font-size: var(--h1); font-weight: 400; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); line-height: 1.2; }

.display-italic { font-style: italic; }

p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--biru-boss);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--biru-boss);
  opacity: 0.7;
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--biru-boss);
  opacity: 0.7;
}

.lede {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-2);
}

.muted { color: var(--text-3); }

/* ID/EN bilingual display. Every bilingual field renders both spans;
   lang.js toggles html[data-lang] and CSS does the rest. Use .lang-id/
   .lang-en inline, add .block for headings/paragraphs needing their own line. */
.lang-id, .lang-en { display: inline; }
.lang-id.block, .lang-en.block { display: block; }
.lang-en { display: none; }
.lang-en.block { display: none; }
html[data-lang="en"] .lang-id { display: none; }
html[data-lang="en"] .lang-en { display: inline; }
html[data-lang="en"] .lang-en.block { display: block; }

/* css/components/layout.css */
/* Layout primitives + the repeating section rhythm. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.section--alt { background: var(--bg-2); }
/* The CTA follows an already-padded section — drop its top padding so the gap
   between them is single, not doubled. */
.cta-section { padding-top: 0; }

/* CTA banner — shared across all pages. */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.cta-banner .bg { position: absolute; inset: 0; z-index: -2; }
.cta-banner .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) brightness(0.6); }
.cta-banner .bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.cta-banner .inner { padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 80px); text-align: center; }
.cta-banner h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 48ch; margin: 0.8em auto 32px; }
.cta-banner .btn-primary { background: var(--biru-boss); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 0.4em; }
.section-head .lede { margin-top: 0.6em; }

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head.split > div { max-width: 640px; }

.divider { height: 1px; background: var(--line); border: 0; }
.gold-rule { width: 56px; height: 2px; background: var(--biru-boss); border: 0; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 36px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Scroll-reveal: hidden until JS adds .is-visible. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* css/components/buttons.css */
/* Buttons + text links. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--biru-boss); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--biru-boss); color: var(--biru-boss); }

.btn-on-image {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-on-image:hover { background: #fff; color: #111; border-color: #fff; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-text .arrow { transition: transform var(--dur-fast) var(--ease); color: var(--biru-boss); }
.btn-text:hover { color: var(--biru-boss); border-color: var(--biru-boss); }
.btn-text:hover .arrow { transform: translateX(5px); }

/* Yellow CTA chip — generic primary action pill (same --biru-yellow as
   the PDF download button). Arrow separated via gap, translates on
   hover (same trick as .btn-text/.arrow above). */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0.85em 1.5em;
  background: var(--biru-yellow);
  color: var(--biru-yellow-ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-yellow .arrow { transition: transform var(--dur-fast) var(--ease); }
.btn-yellow:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-yellow:hover .arrow { transform: translateX(4px); }
.btn-yellow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  transform: none;
}
.btn-yellow:disabled:hover { filter: none; transform: none; }
.btn-yellow:disabled:hover .arrow { transform: none; }

/* css/components/header.css */
/* Site header — adapted from toko_batik. Fixed positioning, .scrolled
 * toggle (nav.js), .is-solid for pages with no dark hero. Two stacked
 * logos cross-fade on .scrolled/.is-solid state. */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.is-solid {
  padding-block: 10px;
  background: color-mix(in srgb, var(--bg-3) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
/* Dark overlay variant — semi-transparent black bg, white text, white logo
 * (no crossfade to colored mark). Controlled by .header--overlay-dark;
 * higher specificity than light-state rules, wins when present.
 */
.site-header.header--overlay-dark.scrolled,
.site-header.header--overlay-dark.is-solid {
  background: rgba(6, 11, 23, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
/* Readability pass for the transparent (pre-scroll) overlay-dark state
 * only — once .scrolled/.is-solid land, the darker bg above already
 * gives enough contrast, so this is scoped off for those. */
.site-header.header--overlay-dark:not(.scrolled):not(.is-solid)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px; /* covers tallest (18px) pre-scroll padding; fixed value simpler than syncing to the padding transition */
  z-index: -1;
  background: linear-gradient(to bottom, rgba(6, 11, 23, 0.55) 0%, rgba(6, 11, 23, 0.28) 55%, transparent 100%);
  pointer-events: none;
}
/* Text-shadow glow on nav/lang text — same convention as the hero/subpage
 * h1 glow, applied here for the same problem shape (one line of text
 * over an image). */
.site-header.header--overlay-dark:not(.scrolled):not(.is-solid) .nav-item > a,
.site-header.header--overlay-dark:not(.scrolled):not(.is-solid) .nav-item > .nav-trigger,
.site-header.header--overlay-dark:not(.scrolled):not(.is-solid) .lang-trigger,
.site-header.header--overlay-dark:not(.scrolled):not(.is-solid) .login-btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
}
.site-header.header--overlay-dark.scrolled .brand-img--white,
.site-header.header--overlay-dark.is-solid .brand-img--white { opacity: 1; }
.site-header.header--overlay-dark.scrolled .brand-img--color,
.site-header.header--overlay-dark.is-solid .brand-img--color { opacity: 0; }
.site-header.header--overlay-dark.scrolled .nav-item > a,
.site-header.header--overlay-dark.scrolled .nav-item > .nav-trigger,
.site-header.header--overlay-dark.is-solid .nav-item > a,
.site-header.header--overlay-dark.is-solid .nav-item > .nav-trigger { color: rgba(255, 255, 255, 0.82); }
.site-header.header--overlay-dark.scrolled .nav-item:hover > a,
.site-header.header--overlay-dark.scrolled .nav-item:hover > .nav-trigger,
.site-header.header--overlay-dark.scrolled .nav-item.is-open > .nav-trigger,
.site-header.header--overlay-dark.is-solid .nav-item:hover > a,
.site-header.header--overlay-dark.is-solid .nav-item:hover > .nav-trigger,
.site-header.header--overlay-dark.is-solid .nav-item.is-open > .nav-trigger { color: #fff; }
.site-header.header--overlay-dark.scrolled .lang-trigger,
.site-header.header--overlay-dark.is-solid .lang-trigger { color: rgba(255, 255, 255, 0.85); }
.site-header.header--overlay-dark.scrolled .lang-trigger:hover,
.site-header.header--overlay-dark.is-solid .lang-trigger:hover,
.site-header.header--overlay-dark.scrolled .lang-switch.is-open .lang-trigger,
.site-header.header--overlay-dark.is-solid .lang-switch.is-open .lang-trigger { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-header.header--overlay-dark.scrolled .nav-toggle span,
.site-header.header--overlay-dark.is-solid .nav-toggle span { background: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: none; /* edge-anchor: logo flush left, lang switcher flush right on wide screens,
                       instead of centering within the 1280px .container cap */
}

/* ---- Logo: large, prominent, far left. Two images cross-fade so the mark
   stays legible over a dark hero image AND a solid white header. ---- */
.brand { position: relative; display: block; flex: none; }
.brand-img {
  display: block;
  height: 46px;      /* ~3.16:1 ratio of the 300x95 source keeps this proportionate */
  width: auto;
  transition: opacity var(--dur-fast) var(--ease);
}
.brand-img--color {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.site-header.scrolled .brand-img--white,
.site-header.is-solid .brand-img--white { opacity: 0; }
.site-header.scrolled .brand-img--color,
.site-header.is-solid .brand-img--color { opacity: 1; }

/* Primary nav / mega menu — .nav fills remaining width (flex:1), nav-links
 * sits close to logo, lang-switch pushed far right.
 */
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-item > a,
.nav-item > .nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  transition: color var(--dur-fast) var(--ease);
}
.site-header.scrolled .nav-item > a,
.site-header.scrolled .nav-item > .nav-trigger,
.site-header.is-solid .nav-item > a,
.site-header.is-solid .nav-item > .nav-trigger { color: var(--text-2); }

.nav-item > a::after,
.nav-item > .nav-trigger::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  height: 1px;
  background: var(--biru-boss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-item:hover > a,
.nav-item:hover > .nav-trigger,
.nav-item.is-open > .nav-trigger { color: #fff; }
.site-header.scrolled .nav-item:hover > a,
.site-header.scrolled .nav-item:hover > .nav-trigger,
.site-header.scrolled .nav-item.is-open > .nav-trigger,
.site-header.is-solid .nav-item:hover > a,
.site-header.is-solid .nav-item:hover > .nav-trigger,
.site-header.is-solid .nav-item.is-open > .nav-trigger { color: var(--text); }
.nav-item:hover > a::after,
.nav-item:hover > .nav-trigger::after,
.nav-item.is-open > .nav-trigger::after { transform: scaleX(1); }

.nav-trigger .caret { width: 8px; height: 8px; flex: none; transition: transform var(--dur-fast) var(--ease); }
.nav-item.is-open > .nav-trigger > .caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Language switcher — dropdown (trigger + panel) ---- */
.lang-switch { position: relative; }

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.lang-trigger:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lang-switch.is-open .lang-trigger { color: #fff; background: rgba(255, 255, 255, 0.16); }
.site-header.scrolled .lang-trigger,
.site-header.is-solid .lang-trigger { color: var(--text-2); }
.site-header.scrolled .lang-trigger:hover,
.site-header.is-solid .lang-trigger:hover,
.site-header.scrolled .lang-switch.is-open .lang-trigger,
.site-header.is-solid .lang-switch.is-open .lang-trigger { color: var(--text); background: var(--bg-2); }

.lang-trigger .caret { width: 9px; height: 9px; flex: none; transition: transform var(--dur-fast) var(--ease); }
.lang-switch.is-open .lang-trigger .caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
  z-index: 10;
}
.lang-switch.is-open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-2);
  text-align: left;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.lang-option:hover { background: var(--bg-2); color: var(--text); }
.lang-option.is-active { color: var(--biru-boss); }

.lang-trigger .flag,
.lang-option .flag { display: block; width: 18px; height: 13px; border-radius: 2px; overflow: hidden; flex: none; }
.lang-trigger .flag svg,
.lang-option .flag svg { display: block; width: 100%; height: 100%; }

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.login-btn:hover,
.login-btn:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---- Mobile hamburger ---- */
.nav-toggle { position: relative; z-index: 2; display: none; width: 48px; height: 48px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin: -4px; }
.nav-toggle span { display: block; height: 1.5px; width: 22px; margin-inline: auto; background: #fff; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.site-header.scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span { background: var(--text); }
/* Open state: lines resolve into an X so the close affordance is as clear
   as the open one. Stays white regardless of .scrolled/.is-solid since the
   full-screen panel behind it is always the dark --biru-deep surface. */
body.menu-open .site-header .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: var(--biru-boss);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    padding: 100px 6vw 40px;
  }
  body.menu-open .nav { transform: none; }
  body.menu-open { overflow: hidden; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  /* Bug fix: this used to be always-on for every collapsed item, so the
   * divider showed regardless of open state. Scoped to .is-open so the
   * line only appears under the item that is currently expanded. */
  .nav-item.is-open { border-bottom: 1px solid rgba(255,255,255,0.18); }
  /* Bug fix: the desktop rule above (line ~117) sets white-space:nowrap
   * for a single-line horizontal menu bar and was never reset for mobile
   * — forcing long labels like "TATA KELOLA PERUSAHAAN" onto one
   * unbreakable line, which overflowed the drawer sideways the moment
   * the accordion opened (invisible while collapsed, since zero height
   * hid the overflow). Normal wrapping is what the accordion actually
   * needs here. */
  .nav-item > a, .nav-item > .nav-trigger { width: 100%; padding: 16px 4px; font-size: 0.9rem; color: #fff; justify-content: space-between; white-space: normal; text-align: left; text-shadow: 0 1px 2px rgba(6, 11, 23, 0.35); }
  .nav-item > a::after, .nav-item > .nav-trigger::after { display: none; }
  .header-actions { margin: 24px 0 0; justify-content: flex-start; }
  .lang-trigger { color: rgba(255,255,255,0.85); }
  .lang-switch.is-open .lang-trigger,
  .lang-trigger:hover { color: #fff; background: rgba(255,255,255,0.12); }
  .lang-dropdown { right: auto; left: 0; }
  .login-btn { color: rgba(255,255,255,0.85); }
  .login-btn:hover,
  .login-btn:focus-visible { color: #fff; background: rgba(255,255,255,0.12); }

/* Menu overlay panel — always dark --biru-deep, independent of the
 * header bar's .scrolled/.is-solid state. Re-assert light palette with
 * enough specificity to beat those resets. */
  body.menu-open .site-header .brand-img--white { opacity: 1; }
  body.menu-open .site-header .brand-img--color { opacity: 0; }
  body.menu-open .site-header .nav-item > a,
  body.menu-open .site-header .nav-item > .nav-trigger { color: #fff; }
  body.menu-open .site-header .nav-item.is-open > .nav-trigger,
  body.menu-open .site-header .nav-item:hover > .nav-trigger { color: #fff; }
  body.menu-open .site-header .lang-trigger { color: rgba(255,255,255,0.85); }
  body.menu-open .site-header .lang-switch.is-open .lang-trigger,
  body.menu-open .site-header .lang-trigger:hover { color: #fff; background: rgba(255,255,255,0.12); }
}

/* Preloader. color was --biru-ink */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--biru-boss); 
  opacity: 1;
}
/* Fade-in disabled on request: the splash now appears instantly at full
   opacity instead of transitioning in. core/preloader.js still adds
   .is-visible a frame after paint (harmless no-op now, left as-is so the
   JS doesn't need a matching change) and .loaded still fades OUT below —
   only the fade IN was removed. */
.preloader.is-visible { opacity: 1; }
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
/* core/preloader.js adds this alongside .loaded (no .is-visible in between)
   when skipping the splash for a lang-switch navigation — belt-and-braces
   with the opacity:0 default so there's no transition to even skip past. */
.preloader.no-transition { transition: none !important; }
.preloader .mark { width: 160px; opacity: 0; animation: markIn 1s var(--ease) forwards; }
@keyframes markIn { 0% { opacity: 0; transform: scale(0.92); } 100% { opacity: 1; transform: none; } }

/* css/components/hero.css */
/* Hero — adapted from toko_batik. Full-bleed slide cross-fade (.is-active
 * opacity swap), driven by hero-slideshow.js. Changed from toko_batik:
 * dot indicators became .theme-progress segments; copy is left-aligned. */

.hero {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(48px, 10vh, 120px);
  padding-top: 140px;
  overflow: hidden;
  background: var(--biru-ink);
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
}

.hero-bg-overlay { position: absolute; inset: 0; z-index: -1; background: var(--overlay); pointer-events: none; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,11,23,0.75) 0%, transparent 62%);
}

.hero-inner {
  width: 100%;
  position: relative;
  max-width: none; /* edge-anchor: copy sits flush left on wide screens instead of
                       centering within the 1280px .container cap */
}
.hero-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.hero-copy.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero .eyebrow { color: #cfe0ff; margin-bottom: 24px; }
.hero .eyebrow::before { background: #cfe0ff; opacity: 0.9; }
.hero .tagline {
  max-width: 15ch;
  color: #fff;
  margin-bottom: 0.5em;
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3rem);
}
.hero .lede { max-width: 46ch; color: rgba(255, 255, 255, 0.82); margin-bottom: 44px; }

.hero-foot {
  position: absolute;
  left: 50%; bottom: clamp(40px, 7vh, 90px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
}

@media (max-width: 760px) {
  .hero { padding-top: 120px; }
}
@media (max-width: 400px) {
  .hero .tagline { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .hero .lede { font-size: 0.9rem; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 10px;
}
/* Toggle: add class="scroll-hint is-hidden" (or class="hero hero--no-scroll-hint" and
   nest ".hero--no-scroll-hint .scroll-hint" below) to hide without deleting markup/styles. */
.scroll-hint.is-hidden { display: none; }
.scroll-hint .line { width: 40px; height: 1px; background: rgba(255,255,255,0.4); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleX(0.3); opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }
@media (max-width: 760px) { .scroll-hint { display: none; } }

/* css/components/interactions.css */
/* Interactions — adaptive slot for mega-menu hover panels + hero progress,
 * replacing toko_batik's original accordion/slider. */
   .mega-panel {
    position: absolute;
    top: 100%; left: 50%;
    transform: translate(-50%, 8px);
    min-width: 190px;
    padding: 6px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  .nav-item.is-open > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  
/* Submenu list — <ul class="submenu"> of child <li class="nav-item">,
 * whether leaf links or nested flyout items. */
  .submenu { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .submenu .nav-item { position: relative; }
  .submenu .nav-item > a,
  .submenu .nav-item > .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    background: none;
    border-radius: var(--radius);
    font-size: 0.72rem;
    text-align: left;
    color: var(--text-2);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  }
  .submenu .nav-item > a:hover,
  .submenu .nav-item:hover > .nav-trigger,
  .submenu .nav-item.is-open > .nav-trigger { color: var(--biru-boss); background: var(--bg-2); }
  .submenu .nav-trigger .caret { width: 6px; height: 6px; transform: rotate(-90deg); }
/* Dark-overlay variant — mega-panel follows header--overlay-dark toggle
 * (was always light/white). Applies at any nesting depth. */
  .site-header.header--overlay-dark .mega-panel {
    background: rgba(6, 11, 23, 0.92);
    border-color: rgba(255, 255, 255, 0.14);
  }
  .site-header.header--overlay-dark .submenu .nav-item > a,
  .site-header.header--overlay-dark .submenu .nav-item > .nav-trigger { color: rgba(255, 255, 255, 0.78); }
  .site-header.header--overlay-dark .submenu .nav-item > a:hover,
  .site-header.header--overlay-dark .submenu .nav-item:hover > .nav-trigger,
  .site-header.header--overlay-dark .submenu .nav-item.is-open > .nav-trigger { color: #fff; background: rgba(255, 255, 255, 0.1); }
  
/* Nested flyout — opens right of its trigger (cascading sideways), not
 * below it, e.g. "Tentang Kami" children cascade from its parent panel.
 * Bug fix: this used to have no min-width guard at all. Its selectors
 * (.submenu .mega-panel / .submenu .nav-item.is-open > .mega-panel) are
 * MORE specific than the mobile reset a few rules down (.mega-panel /
 * .nav-item.is-open > .mega-panel), so on a nested item — e.g. "Tentang
 * Kami" inside "Siapa Kami" — these desktop sideways-flyout coordinates
 * were winning the cascade even on mobile, leaving the panel positioned
 * absolutely instead of flattening into the accordion. Only nesting depth
 * 2+ was affected; a depth-1 item like "Siapa Kami" itself has no
 * .submenu ancestor, so it was never touched by this. */
  @media (min-width: 981px) {
    .submenu .mega-panel { top: -7px; left: 100%; transform: translate(4px, -4px); }
    .submenu .nav-item.is-open > .mega-panel { transform: translate(8px, -4px); }
    .submenu .nav-item.is-open > .nav-trigger > .caret { transform: rotate(-90deg); }
  }
  
  @media (max-width: 980px) {
    .mega-panel { min-width: 0; }
  }
  
  @media (max-width: 980px) {
    /* Task 7.6 (mobile nav redesign): height now animates via the
     * grid-template-rows 0fr->1fr trick instead of an instant display
     * toggle — animates smoothly without JS needing to measure pixel
     * heights, and handles content of any length safely. The single grid
     * row's child (.submenu) needs overflow:hidden + min-height:0 for the
     * collapse to actually reach zero. Padding lives on .submenu, not
     * .mega-panel itself, for the same reason — padding on the row-track
     * element would stop it fully collapsing.
     *
     * Bug fix: grid (and flex) items default to min-width:auto, meaning
     * they refuse to shrink below their CONTENT's natural width unless
     * told otherwise. .mega-panel is now display:grid at every nesting
     * depth, so a long label like "TATA KELOLA PERUSAHAAN" several levels
     * down was forcing every ancestor .mega-panel AND the .nav-item <li>
     * itself (a flex item inside .nav-links) wider than the drawer,
     * pushing rows off-screen sideways. min-width:0 at all three levels
     * (.nav-item, .mega-panel, .submenu) breaks that chain — same fix
     * family as the min-height:0 already needed for the vertical collapse. */
    .nav-item { min-width: 0; }
    /* Bug fix: .site-header.header--overlay-dark .mega-panel (2 classes)
     * outranks the plain .mega-panel reset below (1 class), so its dark
     * background/border-color kept winning on mobile even though this
     * media query is meant to flatten the panel to transparent. Matching
     * the selector here, placed after the overlay-dark rule in source
     * order, resets it for real. */
    .site-header.header--overlay-dark .mega-panel {
      background: transparent;
      border-color: transparent;
    }
    /* Drawer is Biru Boss; an opened mega-menu section sits on a darker
     * Biru Boss with a soft inset shadow top/bottom so it reads as recessed.
     * Applies to every header variant (not only overlay-dark). */
    .site-header .nav-item.is-open > .mega-panel,
    .site-header.header--overlay-dark .nav-item.is-open > .mega-panel {
      background: var(--biru-boss-dark);
      border-color: rgba(255, 255, 255, 0.14);
      box-shadow: inset 0 8px 10px -8px rgba(6, 11, 23, 0.55),
                  inset 0 -8px 10px -8px rgba(6, 11, 23, 0.45);
    }
    .mega-panel {
      position: static;
      transform: none;
      opacity: 1; visibility: visible; pointer-events: auto;
      display: grid;
      grid-template-rows: 0fr;
      min-width: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      padding: 0;
    }
    .nav-item.is-open > .mega-panel { grid-template-rows: 1fr; transform: none; }
    .mega-panel > .submenu {
      min-width: 0;
      min-height: 0;
      overflow: hidden;
      padding: 0 0 0 14px;
      /* Yellow rail marks "you're inside this section" — compounds at
       * each nesting depth for free, since it's the same rule recursing.
       * Bug fix: this used to apply to every .submenu the moment its
       * parent panel opened, so all sibling rails lit up together even
       * for items still collapsed. Scoped to .nav-item.is-open so the
       * rail only appears on the item that is itself expanded. */
      margin-left: 6px;
    }
    .nav-item.is-open > .mega-panel > .submenu {
      border-left: 2px solid rgba(253, 208, 23, 0.55);
      padding-bottom: 8px;
    }
    /* Collapsed panels are fully inert (not tappable, not focusable, not
     * read by screen readers). Before, the 0fr collapse left a strip that
     * still caught taps on the opacity:0 first child. Keeps the reset's
     * visibility/pointer-events for the open state. */
    .nav-item:not(.is-open) > .mega-panel {
      visibility: hidden;
      pointer-events: none;
    }
    .nav-item.is-open > .mega-panel {
      visibility: visible;
      pointer-events: auto;
    }
    .submenu .nav-item > a,
    .submenu .nav-item > .nav-trigger { color: #fff; padding: 12px 4px; font-size: 0.95rem; white-space: normal; text-align: left; text-shadow: 0 1px 2px rgba(6, 11, 23, 0.4); }
    .submenu .nav-item > a:hover,
    .submenu .nav-item:hover > .nav-trigger { color: #fff; background: transparent; }
    /* Active/expanded trigger: soft card, not a hard fill — yellow stays
     * an accent (the caret only) rather than a background color, so it
     * doesn't compete with the rail line right next to it. */
    .submenu .nav-item.is-open > .nav-trigger {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
    }
    .submenu .nav-trigger .caret { transform: rotate(0deg); }
    .submenu .nav-item.is-open > .nav-trigger .caret {
      transform: rotate(180deg);
      color: var(--biru-yellow);
    }

    @media (prefers-reduced-motion: no-preference) {
      .mega-panel { transition: grid-template-rows var(--dur) var(--ease), visibility 0s linear var(--dur); }
      .nav-item.is-open > .mega-panel { transition: grid-template-rows var(--dur) var(--ease), visibility 0s; }
      .submenu .nav-trigger .caret { transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
      /* Direct children of a panel fade + settle in, staggered slightly so
       * they feel like they're dropping into place rather than appearing
       * as a flat block. Scoped to direct children of THIS panel only
       * (> .submenu > .nav-item), so a nested panel one level down gets
       * its own independent stagger when IT opens, not a compounded one. */
      .mega-panel > .submenu > .nav-item {
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
      }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item {
        opacity: 1;
        transform: none;
      }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(1) { transition-delay: 0ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(2) { transition-delay: 30ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(3) { transition-delay: 60ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(4) { transition-delay: 90ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(5) { transition-delay: 120ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(6) { transition-delay: 150ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(7) { transition-delay: 180ms; }
      .nav-item.is-open > .mega-panel > .submenu > .nav-item:nth-child(8) { transition-delay: 210ms; }
    }
  }
  
  /* ---- Right-click / drag protection for hero + placeholder photography ---- */
  .no-protect-select {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
  
/* Hero theme progress — segments toggle solid/dim on theme change, no
 * fill animation, discrete per hero-slideshow.js. */
  .theme-progress { display: flex; gap: 8px; }
  .theme-progress .seg {
    display: block;
    width: 34px; height: 3px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease);
  }
  .theme-progress .seg.is-active { background: #fff; }

/* css/components/footer.css */
/* Footer — redesigned 2026-08-06. Renders nav columns from live nav_menu
 * (show_in_footer). Conditionally skipped on homepage via $no_footer.
 */
.site-footer {
  background: var(--biru-boss); 
  position: relative; /* anchors the decorative corner SVGs below */
  overflow: hidden;   /* keeps them contained to the footer's own box */
}
/* Decorative corner SVGs — ambient background dressing (aria-hidden).
 * z-index:0 ensures deterministic stacking regardless of DOM order. */
.footer-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.footer-decor svg { display: block; width: 100%; height: 100%; }

.footer-decor-left {
  top: 15px;
  left: 1px;
  width: 96px;
  height: 76px;
}
.footer-decor-left circle { fill: rgba(255,255,255,0.16); }

.footer-decor-right {
  right: clamp(16px, 4vw, 48px);
  bottom: 80px;
  width: 220px;
  height: 184px;
}
.footer-decor-shape-faint { stroke: rgba(255,255,255,0.14); stroke-width: 1.5; }
/* shape-mid/solid switched from --accent-2 to white-based strokes
 * (footer-local) — --accent-2 lost contrast against --biru-boss bg
 * (~2:1). White keeps the 3-step hierarchy legible. */
.footer-decor-shape-mid   { stroke: rgba(255,255,255,0.35); stroke-width: 1.5; }
.footer-decor-shape-solid { stroke: rgba(255,255,255,0.55); stroke-width: 2; }
.footer-decor-dot         { fill: rgb(255, 255, 255); }
/* The one deliberate warm-accent pop — reuses --biru-yellow, same
   convention as culture-opener.php's tallest chart bar. */
.footer-decor-dot-accent  { fill: var(--biru-yellow); }

/* ---- Top: brand+newsletter+contact, and two nav-group columns ---- */
.footer-top {
  position: relative; /* sits above .footer-decor, see z-index:1 below */
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 80px);
}

.footer-brand-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.footer-logo { height: 34px; width: auto; max-width: 200px; flex-shrink: 0; align-self: flex-start; }

.footer-newsletter-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.footer-newsletter-form { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.footer-newsletter-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.5em 0.1em;
}
.footer-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter-form input[type="email"]:focus { outline: none; border-color: var(--biru-yellow); }

/* Reuses --biru-yellow — the one deliberate warm accent in this project,
   introduced for the PDF-download CTA — as the newsletter's "primary
   action" button, per the design-token convention. */
.footer-newsletter-form button {
  background: var(--biru-yellow);
  color: var(--biru-yellow-ink);
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.85em 1.4em;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-newsletter-form button:hover:not(:disabled) { background: #ffc933; transform: translateY(-1px); }
.footer-newsletter-form button:disabled { opacity: 0.6; cursor: default; }

/* Honeypot — off-screen, never visible/reachable to a real visitor */
.footer-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.footer-newsletter-msg {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.footer-newsletter-msg.is-ok { color: #7fe0a8; }
.footer-newsletter-msg.is-error { color: #ff9d9d; }

.footer-contact { font-size: 0.86rem; line-height: 1.6; color: rgba(255,255,255,0.72); }
/* 2026-08-18: explicit !important guard — .footer-contact p should match
 * the mailto link's 0.72 opacity, but rendered much dimmer. Something
 * outside this file wins; pinned explicitly until tracked down. */
.footer-contact p { margin: 0 0 6px; }
.footer-contact p:not(.footer-contact-name) { color: rgba(255,255,255,0.8) !important; }
.footer-contact-name { font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: 8px !important; }
.footer-contact a { color: rgba(255,255,255,0.72); transition: color var(--dur-fast) var(--ease); }
.footer-contact a:hover { color: #fff; }

.footer-nav-col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.footer-nav-group { display: flex; flex-direction: column; gap: 4px; }
.footer-nav-heading {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
/* 2026-08-18: hover color changed from --accent-2 to a lighter local
   tint — --accent-2 fell to ~3.5:1 against the new --biru-boss bg
   (fails WCAG AA 4.5:1); this tint clears ~4.7:1. */
.footer-nav-heading:hover { color: #8fb2ff; }
/* 2026-08-26 (footer unclickable-heading feature): a <span> heading has no
   hover state to speak of (the rule above only ever matched the <a>
   variant), just make sure it doesn't invite a click either. */
.footer-nav-heading--static { cursor: default; }
.footer-nav-group ul { display: flex; flex-direction: column; gap: 0px; list-style: none; margin: 0; padding: 0; }
.footer-nav-group a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--dur-fast) var(--ease); }
.footer-nav-group a:hover { color: #fff; }
/* Footer item with "bisa diklik" switched off in the nav admin: same look, not a link. */
.footer-nav-group .footer-nav-text { color: rgba(255,255,255,0.65); font-size: 0.88rem; cursor: default; }
.footer-legal-links .footer-nav-text { color: rgba(255,255,255,0.6); cursor: default; }

.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%;
  display: grid; place-items: center; color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.socials a:hover { color: #fff; border-color: #fff; }
.socials i { font-size: 15px; }

/* ---- Bottom legal bar ---- */
.footer-row {
  position: relative; /* sits above .footer-decor, see z-index:1 below */
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
/* 2026-08-18: opacity bumped 0.45 -> 0.6 — at 0.45 this fell to ~3.3:1
   against the new --biru-boss bg, below WCAG AA's 4.5:1. 0.6 clears
   ~4.6:1. */
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin: 0; }

/* Tiny/unobvious on purpose — this is boilerplate (privacy/terms), not
   real site nav, so it stays visually quiet next to the copyright line
   rather than competing with it. */
.footer-legal-links {
  display: flex; align-items: center; gap: 10px;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.78rem;
}
.footer-legal-links li + li { border-left: 1px solid rgba(255,255,255,0.25); padding-left: 10px; }
.footer-legal-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.footer-legal-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }

  /* Dot-grid moves from top-left to top-right; shape cluster stays
     bottom-right but shrinks, per discussion. */
  .footer-decor-left {
    left: auto;
    right: clamp(12px, 4vw, 24px);
  }
  .footer-decor-right {
    width: 150px;
    height: 126px;
  }
}

/* css/components/pdf-preview.css */
.pdf-preview { margin-top: clamp(28px, 4vw, 44px); max-width: var(--container-narrow); margin-inline: auto; }

.pdf-preview-doc + .pdf-preview-doc { margin-top: clamp(20px, 3vw, 32px); }

.pdf-preview-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ---- square thumbnail / trigger ---- */
.pdf-preview-thumb {
  position: relative;
  width: 168px;
  height: 168px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.pdf-preview-thumb:hover,
.pdf-preview-thumb:focus-visible { transform: translateY(-3px) scale(1.02); }
.pdf-preview-thumb canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none; 
}

.pdf-preview-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--biru-royal);
  font-size: 2.4rem;
}
.pdf-preview-thumb[data-pdf-ready] .pdf-preview-fallback { display: none; }

.pdf-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
}
.pdf-preview-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,11,23,0.15) 0%, rgba(6,11,23,0.72) 100%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.pdf-preview-thumb:hover .pdf-preview-overlay-bg,
.pdf-preview-thumb:focus-visible .pdf-preview-overlay-bg { opacity: 1; }

.pdf-preview-overlay i {
  position: relative;
  font-size: 1.5rem;
  color: var(--biru-ink);
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdf-preview-thumb:hover .pdf-preview-overlay i,
.pdf-preview-thumb:focus-visible .pdf-preview-overlay i { opacity: 1; color: #fff; }

.pdf-preview-overlay-label {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.pdf-preview-thumb:hover .pdf-preview-overlay-label,
.pdf-preview-thumb:focus-visible .pdf-preview-overlay-label { opacity: 1; }

.pdf-preview-caption {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* Name caption — always in the DOM (see pdf-preview.php), hidden here by
   default; only [data-pdf-layout="grid"] below shows + styles it, so
   "below"/"right" layouts render exactly as they did before this existed. */
.pdf-preview-name { display: none; }

/* ---- download button — the one yellow accent on the site, deliberately ---- */
.pdf-preview-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--biru-yellow);
  color: var(--biru-yellow-ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pdf-preview-download:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---- lightbox (injected once into <body> by pdf-preview.js) ---- */
.pdf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.pdf-lightbox[hidden] { display: none; }
.pdf-lightbox-scrim { position: absolute; inset: 0; background: rgba(6,11,23,0.82); }
.pdf-lightbox-box {
  position: relative;
  width: min(760px, 100%);
  height: min(88vh, 960px);
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
/* Every doc — portrait or landscape — gets --lb-w/--lb-h computed in
   pdf-preview.js from its real page aspect ratio, so the modal always hugs
   a single full-size page instead of a fixed shape designed around a
   two-page spread. */
.pdf-lightbox-box.is-fitted-doc {
  width: var(--lb-w, min(760px, 100%));
  height: var(--lb-h, min(88vh, 960px));
}
.pdf-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-2);
}
.pdf-lightbox-nav { display: flex; align-items: center; gap: 12px; }
.pdf-lightbox-nav button {
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: var(--radius);
  width: 30px; height: 30px;
  cursor: pointer;
  color: var(--text);
}
.pdf-lightbox-nav button:disabled { opacity: 0.35; cursor: default; }
.pdf-lightbox-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 0 12px;
  height: 30px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdf-lightbox-mode-toggle:hover,
.pdf-lightbox-mode-toggle:focus-visible { border-color: var(--biru-boss); color: var(--biru-boss); }
.pdf-lightbox-close { border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--text-3); }
.pdf-lightbox-close:hover { color: var(--biru-boss); }
.pdf-lightbox-body { flex: 1; position: relative; overflow: auto; display: grid; place-items: center; background: var(--bg-2); padding: 16px; }
.pdf-lightbox-body canvas { max-width: 100%; box-shadow: var(--shadow); }
.pdf-lightbox-body canvas[hidden] { display: none; }

.pdf-lightbox-book {
  width: 100%;
  height: 100%;
  max-width: 900px;
  justify-self: stretch;
  align-self: stretch;
}
.pdf-lightbox-book[hidden] { display: none; }

.stf__parent { position: relative; display: block; box-sizing: border-box; transform: translateZ(0); -ms-touch-action: pan-y; touch-action: pan-y; }
.sft__wrapper { position: relative; width: 100%; box-sizing: border-box; }
.stf__parent canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #fff;
  -webkit-user-drag: none;
}
.stf__block { position: absolute; width: 100%; height: 100%; box-sizing: border-box; perspective: 2000px; }
.stf__item { display: none; position: absolute; transform-style: preserve-3d; }

/* Book pages are now loaded via loadFromHtml() (see pdf-preview.js /
   pdf-preview-fullscreen.js) instead of loadFromImages(), so the browser
   paints the <img> natively at full display resolution instead of PageFlip
   re-rasterizing it onto a 1x-density internal canvas — that re-draw step
   was the source of the pixelated/blurry text in book mode. */
.pdf-flip-page { width: 100%; height: 100%; background: #fff; }
.pdf-flip-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}
.stf__outerShadow,
.stf__innerShadow,
.stf__hardShadow,
.stf__hardInnerShadow { position: absolute; left: 0; top: 0; }

.pdf-lightbox-book-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 0.86rem;
}
.pdf-lightbox-book-loading[hidden] { display: none; }
.pdf-lightbox-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--biru-boss);
  animation: pdf-lb-spin 0.8s linear infinite;
}
@keyframes pdf-lb-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .pdf-lightbox-mode-toggle span { display: none; } /* icon-only on narrow screens, nav row is already tight */
}

@media (max-width: 640px) {
  .pdf-preview-thumb { width: 132px; height: 132px; }
}

[data-pdf-layout="right"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
}
[data-pdf-layout="right"] > h1 { flex-basis: 100%; }
[data-pdf-layout="right"] > .page-body {
  flex: 1 1 420px;
  max-width: none;
  margin-inline: 0;
}
[data-pdf-layout="right"] > .pdf-preview {
  flex: 0 0 auto;
  margin-top: 0;
  max-width: none;
}
[data-pdf-layout="right"] .pdf-preview-card { align-items: center; }
[data-pdf-layout="right"] .pdf-preview-thumb {
  width: clamp(200px, 18vw, 260px);
  height: clamp(280px, 25vw, 360px);
}
[data-pdf-layout="right"] > .icon-grid { flex-basis: 100%; }
[data-pdf-layout="right"] > .gallery { flex-basis: 100%; }

[data-pdf-layout="right"]:has(> .spec-sheet) > .page-body { flex-basis: 100%; }
[data-pdf-layout="right"] > .spec-sheet {
  flex: 1 1 420px;
  max-width: none;
}

@media (max-width: 860px) {
  [data-pdf-layout="right"] > .page-body,
  [data-pdf-layout="right"] > .spec-sheet,
  [data-pdf-layout="right"] > .pdf-preview { flex-basis: 100%; }

  /* Stacked under the text: center the thumbnail card(s). Column, so pages
     with several documents still stack vertically instead of sitting in a row. */
  [data-pdf-layout="right"] > .pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

[data-pdf-layout="grid"] .pdf-preview {
  max-width: none; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
}
[data-pdf-layout="grid"] .pdf-preview-doc + .pdf-preview-doc { margin-top: 0; }
[data-pdf-layout="grid"] .pdf-preview-card { align-items: center; }
[data-pdf-layout="grid"] .pdf-preview-thumb {
  width: clamp(200px, 18vw, 260px);
  height: clamp(280px, 25vw, 360px);
}
.pdf-preview-grid-heading {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  max-width: var(--container);
  margin: 0 auto clamp(24px, 3vw, 36px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-3);
}
.pdf-preview-grid-heading::before,
.pdf-preview-grid-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-2);
}

/* ---- inline viewer (pdf_layout="inline") — classic mode rendered directly
   on the page, no click required. See pdf-preview-inline.php + the
   initInlineGroup() section of pdf-preview.js. ---- */
.pdf-preview-inline { max-width: var(--container-narrow); }
.pdf-inline-group + .pdf-inline-group { margin-top: clamp(20px, 3vw, 32px); }

.pdf-inline-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.pdf-inline-switch {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-3);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pdf-inline-switch:hover { transform: translateY(-2px); }
.pdf-inline-switch.is-active { border-color: var(--biru-boss); }
.pdf-inline-switch canvas { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.pdf-inline-switch-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--biru-royal);
  font-size: 1.2rem;
}
.pdf-inline-switch[data-pdf-ready] .pdf-inline-switch-fallback { display: none; }

.pdf-inline-viewer { display: flex; flex-direction: column; }

.pdf-inline-meta { margin-bottom: 6px; }
.pdf-inline-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--biru-boss);
}
.pdf-inline-caption { margin: 2px 0 0; font-size: 0.8rem; color: var(--text-3); }

.pdf-inline-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.pdf-inline-toolbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1;
}
.pdf-inline-nav,
.pdf-inline-zoom-btn,
.pdf-inline-fullscreen {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--biru-boss);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pdf-inline-nav:hover:not(:disabled),
.pdf-inline-zoom-btn:hover:not(:disabled),
.pdf-inline-fullscreen:hover { filter: brightness(1.12); transform: translateY(-1px); }
.pdf-inline-nav:disabled,
.pdf-inline-zoom-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.pdf-inline-fullscreen {
  flex: 0 0 auto;
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--line-2);
  font-size: 0.82rem;
}
.pdf-inline-fullscreen:hover { border-color: var(--biru-boss); color: var(--biru-boss); filter: none; }

.pdf-inline-mode-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdf-inline-mode-toggle:hover,
.pdf-inline-mode-toggle:focus-visible { border-color: var(--biru-boss); color: var(--biru-boss); }
.pdf-inline-pagelabel {
  min-width: 8ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
}

.pdf-inline-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: auto;
}
/* No max-width here (unlike the lightbox's canvas) — width/height are both
   set explicitly in JS from the same scale factor, so capping only one
   axis via CSS would break the aspect ratio once zoomed past fit-width.
   The stage's own overflow:auto lets a zoomed-in canvas scroll instead. */
.pdf-inline-stage canvas { box-shadow: var(--shadow); }
.pdf-inline-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 200px;
  color: var(--biru-royal);
  font-size: 2.4rem;
}

/* ---- book/page-flip mode — same page-flip library + single-page-only
   setup as the lightbox's book view, ported in for the inline widget. See
   openBook() in pdf-preview.js. ---- */
.pdf-inline-book {
  width: 100%;
  height: 100%;
  max-width: 1600px; /* kept in lockstep with BOOK_RASTER_W in pdf-preview.js */
}
.pdf-inline-book[hidden] { display: none; }

.pdf-inline-book-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 0.86rem;
}
.pdf-inline-book-loading[hidden] { display: none; }
.pdf-inline-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--biru-boss);
  animation: pdf-lb-spin 0.8s linear infinite;
}

.pdf-inline-download { margin-top: 16px; align-self: flex-start; }

/* ---- classic-mode tap zones (shared by the inline viewer, the lightbox and
   the fullscreen dialog). Invisible left/right strips over the page that turn
   it. They are grid items sharing the canvas's cell (grid-area 1/1) rather than
   absolutely-positioned overlays, so they span the page's FULL height and
   scroll with it when a tall page overflows its scroller. JS sets
   data-zones="on" on the viewer/body only in classic mode, on a multi-page
   doc, at fit zoom. Arrow shows on hover/press; touch-only devices get a faint
   always-on arrow so the zone is discoverable. ---- */
.pdf-zone {
  grid-area: 1 / 1;
  align-self: stretch;
  z-index: 2;
  width: 22%;
  max-width: 140px;
  display: none;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast) var(--ease);
}
.pdf-zone--prev { justify-self: start; justify-content: flex-start; }
.pdf-zone--next { justify-self: end; justify-content: flex-end; }
[data-zones="on"] .pdf-zone { display: flex; }
.pdf-zone i {
  /* sticky top+bottom keep the arrow inside the visible band of the scroller,
     so on a page taller than the screen it isn't stranded at mid-page. */
  position: sticky;
  top: 40%;
  bottom: 40%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6,11,23,0.6);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.pdf-zone--prev:hover,
.pdf-zone--prev:active { background: linear-gradient(to right, rgba(6,11,23,0.22), transparent); }
.pdf-zone--next:hover,
.pdf-zone--next:active { background: linear-gradient(to left, rgba(6,11,23,0.22), transparent); }
.pdf-zone:hover i,
.pdf-zone:active i { opacity: 1; }
.pdf-zone:disabled { pointer-events: none; }
.pdf-zone:disabled i { opacity: 0 !important; }
@media (hover: none) {
  .pdf-zone i { opacity: 0.55; }
}

/* Zones share the canvas's grid cell, so the canvas and its siblings must be
   pinned to it explicitly (otherwise auto-placement would push them to row 2
   whenever zones are displayed). Only one of these is visible at a time. */
.pdf-inline-stage > canvas,
.pdf-inline-stage > .pdf-inline-fallback,
.pdf-inline-stage > .pdf-inline-book,
.pdf-inline-stage > .pdf-inline-book-loading,
.pdf-lightbox-body > canvas,
.pdf-lightbox-body > .pdf-lightbox-book,
.pdf-lightbox-body > .pdf-lightbox-book-loading { grid-area: 1 / 1; }

/* ---- "Open book" gate: covers the stage while book mode is selected but the
   flipbook hasn't been built yet. Page 1 shows dimmed behind it. ---- */
.pdf-inline-book-gate {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: rgba(6,11,23,0.4);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast) var(--ease);
}
.pdf-inline-book-gate[hidden] { display: none; }
.pdf-inline-book-gate:hover,
.pdf-inline-book-gate:focus-visible { background: rgba(6,11,23,0.55); }
.pdf-inline-book-gate-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--biru-boss);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---- fullscreen (native Fullscreen API on supporting browsers; a
   fixed-position CSS fallback with the same layout elsewhere). Resets to
   fit-width zoom on both entry and exit — see initInlineGroup()'s
   onFsResize() in pdf-preview.js. ---- */
.pdf-inline-viewer:fullscreen,
.pdf-inline-viewer:-webkit-full-screen,
.pdf-inline-viewer.is-fullscreen-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  max-width: none;
  padding: clamp(12px, 3vw, 32px);
  background: var(--bg-2);
}
.pdf-inline-viewer.is-fullscreen-fallback {
  position: fixed;
  inset: 0;
  z-index: 300;
}
.pdf-inline-viewer:fullscreen .pdf-inline-stage,
.pdf-inline-viewer:-webkit-full-screen .pdf-inline-stage,
.pdf-inline-viewer.is-fullscreen-fallback .pdf-inline-stage {
  flex: 1;
  min-height: 0;
  border: 0;
  background: transparent;
}
.pdf-inline-viewer:fullscreen .pdf-inline-meta,
.pdf-inline-viewer:-webkit-full-screen .pdf-inline-meta,
.pdf-inline-viewer.is-fullscreen-fallback .pdf-inline-meta { flex: 0 0 auto; }
.pdf-inline-viewer:fullscreen .pdf-inline-download,
.pdf-inline-viewer:-webkit-full-screen .pdf-inline-download,
.pdf-inline-viewer.is-fullscreen-fallback .pdf-inline-download { align-self: center; }

@media (max-width: 640px) {
  .pdf-inline-switch { width: 52px; height: 52px; }
  .pdf-inline-nav, .pdf-inline-zoom-btn, .pdf-inline-fullscreen, .pdf-inline-mode-toggle { width: 34px; height: 34px; font-size: 0.8rem; }
  .pdf-inline-toolbar-center { gap: 10px; }
}

[data-pdf-layout="grid"] .pdf-preview-name {
  display: block;
  margin: 2px 0 0;
  max-width: clamp(200px, 18vw, 260px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--biru-boss);
}

/* ---- "Try classic view" hints (see createBookNudge / createModeHint in
   pdf-preview.js, and the gate link in pdf-preview-inline.php). ---- */

/* Slow-load nudge inside the book loading overlays. */
.pdf-book-nudge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-3);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.pdf-book-nudge[hidden] { display: none; }
.pdf-book-nudge.is-visible { opacity: 1; transform: none; }
.pdf-book-nudge button {
  padding: 6px 14px;
  border: 1px solid var(--biru-boss);
  border-radius: 999px;
  background: transparent;
  color: var(--biru-boss);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdf-book-nudge button:hover,
.pdf-book-nudge button:focus-visible { background: var(--biru-boss); color: #fff; }

/* Floating bubble under the mode toggle. Containers are positioned and
   stacked above the page area so the bubble can overlap it. */
.pdf-inline-toolbar { position: relative; z-index: 4; }
.pdf-lightbox-head { position: relative; z-index: 2; }
.pdf-mode-hint {
  position: absolute;
  top: calc(100% + 10px);
  z-index: 5;
  display: flex;
  align-items: stretch;
  max-width: min(260px, calc(100vw - 32px));
  border-radius: var(--radius-lg);
  background: var(--biru-boss);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.pdf-mode-hint.is-visible { opacity: 1; transform: none; }
.pdf-mode-hint::before {
  content: "";
  position: absolute;
  top: -6px;
  right: var(--arrow-right, 14px);
  width: 12px;
  height: 12px;
  background: var(--biru-boss);
  transform: rotate(45deg);
  border-radius: 2px;
}
.pdf-mode-hint-text {
  position: relative;
  flex: 1;
  padding: 10px 4px 10px 14px;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.pdf-mode-hint-close {
  position: relative;
  flex: 0 0 auto;
  padding: 0 12px 0 8px;
  border: 0;
  background: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.pdf-mode-hint-close:hover { color: #fff; }

/* Static link on the inline "Open book" gate. */
.pdf-inline-gate-classic {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--biru-boss);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pdf-inline-gate-classic[hidden] { display: none; }
.pdf-inline-gate-classic:hover,
.pdf-inline-gate-classic:focus-visible { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .pdf-book-nudge,
  .pdf-mode-hint { transition: none; transform: none; }
}

/* css/components/pdf-preview-fullscreen.css */
body.pdf-fs-open { overflow: hidden; }

.pdf-fs {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
}
.pdf-fs[hidden] { display: none; }
.pdf-fs.is-fallback-fs { position: fixed; inset: 0; width: 100vw; height: 100vh; }
.pdf-fs:fullscreen { width: 100%; height: 100%; }

.pdf-fs-head {
  position: relative; /* anchors the "try classic view" bubble */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-2);
}
.pdf-fs-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-fs-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pdf-fs-nav button {
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: var(--radius);
  width: 34px; height: 34px;
  cursor: pointer;
  color: var(--text);
}
.pdf-fs-nav button:disabled { opacity: 0.35; cursor: default; }
.pdf-fs-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 34px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdf-fs-mode-toggle:hover,
.pdf-fs-mode-toggle:focus-visible { border-color: var(--biru-boss); color: var(--biru-boss); }
.pdf-fs-close {
  border: 0;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-3);
  flex-shrink: 0;
}
.pdf-fs-close:hover { color: var(--biru-boss); }

.pdf-fs-body {
  flex: 1;
  position: relative;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pdf-fs-body canvas { box-shadow: var(--shadow); }
.pdf-fs-zoom-btn { font-size: 0.8rem; }
.pdf-fs-body canvas[hidden] { display: none; }
/* Pinned to the shared grid cell so the tap zones (.pdf-zone, see
   pdf-preview.css) can overlay the page — same reason as the lightbox. */
.pdf-fs-body > canvas,
.pdf-fs-body > .pdf-fs-book,
.pdf-fs-body > .pdf-fs-book-loading { grid-area: 1 / 1; }

.pdf-fs-book {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdf-fs-book[hidden] { display: none; }

.pdf-fs-book-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.pdf-fs-book-loading[hidden] { display: none; }
.pdf-fs-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--biru-boss);
  animation: pdf-fs-spin 0.8s linear infinite;
}
@keyframes pdf-fs-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .pdf-fs-title { display: none; }
  .pdf-fs-mode-toggle span { display: none; }
}

/* css/components/timeline.css */
.timeline { margin-top: clamp(28px, 4vw, 44px); }

.timeline-scroll-wrap { position: relative; }

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 4px; /* room for the scrollbar without clipping content */
  cursor: grab;
  touch-action: pan-y; /* leave vertical page scroll to the browser; horizontal drag is ours */
}
.timeline-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none; /* don't fight the drag with snap-back mid-gesture */
  user-select: none; /* avoid accidental text selection while dragging */
}

.timeline-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  background: var(--biru-royal);
  box-shadow: 0 2px 10px rgba(10, 20, 60, 0.25);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.timeline-arrow:hover:not(:disabled) { background: var(--accent); }
.timeline-arrow:active:not(:disabled) { transform: translateY(-50%) scale(0.94); }
.timeline-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}
.timeline-arrow--prev { left: 2px; }
.timeline-arrow--next { right: 2px; }

.timeline-fade {
  position: absolute;
  top: 0;
  bottom: 4px; /* matches .timeline-scroll's scrollbar gutter */
  width: clamp(32px, 6vw, 72px);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.timeline-fade.is-visible { opacity: 1; }
.timeline-fade--left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.timeline-fade--right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(var(--count, 1), minmax(130px, 1fr));
  grid-template-rows: auto 26px auto 26px auto;
  column-gap: clamp(8px, 1.2vw, 16px);
  position: relative;
  min-width: max-content;
  width: 100%;
  padding: clamp(16px, 2vw, 28px) var(--gutter);
  margin-inline: auto;
  max-width: var(--container);
}

.timeline-baseline {
  grid-row: 3;
  grid-column: 1 / -1;
  align-self: start;
  margin-top: 9px; /* = timeline-dot's radius, so the line crosses through the dot's center, not the row's */
  height: 3px;
  background: var(--biru-royal);
  border-radius: 2px;
}

.timeline-col { display: contents; }

.timeline-content,
.timeline-stem,
.timeline-node { grid-column: inherit; }

.timeline-content {
  align-self: end; /* rows auto-size around this; text sits flush against its stem */
  padding: 0 4px 6px;
  max-width: 22ch;
}
.timeline-content--above { grid-row: 1; align-self: end; }
.timeline-content--below { grid-row: 5; align-self: start; padding: 6px 4px 0; }

.timeline-stem {
  grid-column: inherit;
  justify-self: center;
  width: 2px;
  background: var(--biru-royal);
  position: relative;
}
.timeline-stem--above { grid-row: 2; align-self: end; height: 100%; }
.timeline-stem--below { grid-row: 4; align-self: start; height: 100%; }
/* small diamond cap where the stem meets the text block, matching the
   reference screenshot's connector detail */
.timeline-stem--above::before,
.timeline-stem--below::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--biru-royal);
  transform: translateX(-50%) rotate(45deg);
}
.timeline-stem--above::before { top: -4px; }
.timeline-stem--below::before { bottom: -4px; }

.timeline-node {
  grid-row: 3;
  grid-column: inherit;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--biru-yellow);
  border: 3px solid var(--bg-3);
  box-shadow: 0 0 0 2px var(--biru-royal);
  flex: none;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--biru-royal);
}

.timeline-bullets { display: flex; flex-direction: column; gap: 10px; }

.timeline-bullet-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--biru-boss);
}
.timeline-content--above .timeline-bullets,
.timeline-content--below .timeline-bullets { text-align: center; align-items: center; }

.timeline-list {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-list-item {
  position: relative;
  padding: 2px 0 28px 28px;
  border-left: 2px solid var(--biru-royal);
}
.timeline-list-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-list-dot {
  position: absolute;
  left: -10px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--biru-yellow);
  border: 3px solid var(--bg-3);
  box-shadow: 0 0 0 2px var(--biru-royal);
}
.timeline-list-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--biru-royal);
  margin-bottom: 8px;
}
.timeline-list .timeline-bullets { text-align: center; align-items: center; }

@media (max-width: 720px) {
  .timeline-scroll-wrap { display: none; }
  .timeline-list { display: block; }
}

/* css/components/board-members.css */
/* Board-members stacked-list + modal widget (2026-08-05 redesign). Loaded
   globally (layout.php $component_css); markup only exists when a page has
   rows (board-members.php), so no cost on pages without any. */

.board-members { margin-top: clamp(28px, 4vw, 44px); }

/* ---- stacked rows (one landscape banner per member, always visible) ---- */
.bm-list { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); }

/* Row entrance: each .bm-row slides in on its own data-bm-dir, driven by
   board-members.js's IntersectionObserver — not core/reveal.js's .reveal
   (fixed translateY would clash with this translateX). */
.bm-row[data-bm-dir] {
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bm-row[data-bm-dir]:not(.is-visible) { opacity: 0; }
.bm-row[data-bm-dir="left"]:not(.is-visible) { transform: translateX(-40px); }
.bm-row[data-bm-dir="right"]:not(.is-visible) { transform: translateX(40px); }
@media (prefers-reduced-motion: reduce) {
  .bm-row[data-bm-dir]:not(.is-visible) { opacity: 1; transform: none; }
}

.bm-row {
  position: relative;
  width: 100%;
  height: clamp(200px, 26vw, 400px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--biru-ink);
  box-shadow: var(--shadow);
  transition: transform var(--dur-fast) var(--ease);
}
.bm-row:hover { transform: translateY(-2px); }
.bm-row:focus-visible { outline: 2px solid var(--biru-boss); outline-offset: 3px; }

.bm-row-photo { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); -webkit-user-drag: none; }
/* Admin-uploaded photos vary wildly, so instead of a gradual ramp, hold a
   solid dark band over the bottom ~38% (.bm-row-info) to keep text
   legible regardless of the photo underneath. */
.bm-row-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6,11,23,0) 0%,
    rgba(6,11,23,0.08) 45%,
    rgba(6,11,23,0.55) 62%,
    rgba(6,11,23,0.88) 100%);
}
.bm-row-info {
  position: absolute;
  left: clamp(16px, 2.4vw, 32px);
  bottom: clamp(12px, 2vw, 22px);
  right: 24px;
  color: #fff;
}
.bm-row-name {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: var(--h4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff; /* explicit + text-shadow below: second line of defense vs low-contrast photos */
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 1px 12px rgba(0,0,0,0.35);
}
.bm-row-title {
  margin: 0;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 1px 12px rgba(0,0,0,0.35);
}

/* ---- grid layout (square cards) — toggled via data-bm-layout="grid"
   (pages.board_members_layout; default/unset = stacked banners above).
   Same markup + click-to-open-modal JS; only arrangement/shape differ. */
.board-members[data-bm-layout="grid"] .bm-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}
.board-members[data-bm-layout="grid"] .bm-row {
  flex: 0 1 320px;
  width: clamp(275px, 22vw, 320px);
  height: auto;
  aspect-ratio: 3 / 4;
}
/* smaller cards -> scale name/title down a step */
.board-members[data-bm-layout="grid"] .bm-row-name { font-size: var(--fs-lead); }
.board-members[data-bm-layout="grid"] .bm-row-title { font-size: 0.875rem; }
.board-members[data-bm-layout="grid"] .bm-row-info { left: clamp(12px, 1.6vw, 20px); right: 16px; bottom: clamp(10px, 1.4vw, 16px); }

@media (max-width: 560px) {
  /* Edge-to-edge on mobile: cancel the page container's gutter and give
     the grid its own slimmer side padding instead, so cards sit closer
     to the screen edge than the rest of the page content. */
  .board-members[data-bm-layout="grid"] {
    /* Same bleed technique as the desktop rows/banner mode (see
       min-width:761px block below): 50vw - 50% is the exact gap between
       the viewport edge and this element's own container edge, however
       that container's padding is set — no dependency on --gutter
       matching, and (unlike a transform-based bleed) doesn't fight the
       .reveal entrance animation, which also uses transform. */
    --bm-bleed: calc(50vw - 50%);
    width: calc(100% + var(--bm-bleed) * 2);
    margin-inline: calc(-1 * var(--bm-bleed));
    padding-inline: 6px;
  }
  .board-members[data-bm-layout="grid"] .bm-row { flex-basis: 188px; width: clamp(150px, 40vw, 188px); }
}

/* ---- hover drawer (redesign §3, 2026-08-19) — teaser slides up from
   bottom-right on hover/focus. :focus-within needed since .bm-row has
   tabindex="0"/role="button". Pure CSS — modal click stays untouched. */
.bm-row-drawer {
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 1;
  max-width: min(60%, 320px);
  padding: clamp(10px, 1.4vw, 16px) clamp(14px, 1.8vw, 20px);
  border-radius: var(--radius, 10px);
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  box-shadow: 0 10px 28px -10px rgba(6,11,23,0.45);
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  pointer-events: none;
}
.bm-row-drawer p { margin: 0; }
.bm-row-drawer p + p { margin-top: 0.5em; }
.bm-row:hover .bm-row-drawer,
.bm-row:focus-within .bm-row-drawer {
  transform: translateY(0);
  opacity: 1;
}
/* grid cards are smaller -> cap drawer size/font further */
.board-members[data-bm-layout="grid"] .bm-row-drawer {
  max-width: min(72%, 220px);
  font-size: 0.85rem;
  padding: 8px 12px;
}

/* ---- corner drawer, wide viewports only ----
   Fixed-size box overlapping the row's outer corner, sliding in on
   hover/focus — alternates sides with data-bm-dir. Row stays the single
   click target; this layer is hover-only. */
@media (min-width: 761px) {
  /* One-sided breakout from .container: photo side hugs the viewport
     edge, opposite edge stays put. --bm-bleed = distance from
     .container's content edge to the viewport edge. */
  .bm-row {
    --bm-bleed: calc(50vw - 50%);
  }
  .bm-row[data-bm-dir="left"] {
    width: calc(100% + var(--bm-bleed));
    margin-left: calc(-1 * var(--bm-bleed));
  }
  .bm-row[data-bm-dir="right"] {
    width: calc(100% + var(--bm-bleed));
    margin-right: calc(-1 * var(--bm-bleed));
  }

  .bm-row-drawer {
    top: 0;
    right: auto;
    bottom: auto;
    left: auto;
    /* sized off viewport width (row is ~full-bleed here), not a small
       fixed cap, to match the redesign reference rather than a sliver */
    width: clamp(300px, 26vw, 560px);
    height: 100%;
    max-width: none;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: clamp(40px, 4vw, 56px); /* room for arrow badge */
    border-radius: 0;
    box-shadow: -18px 0 36px -18px rgba(6,11,23,0.35);
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
    /* base 0.85rem would look tiny in a box this wide -> scale up to fill it */
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.6;
  }

  /* left-entering row -> drawer overlaps right corner, hidden past right edge */
  .bm-row[data-bm-dir="left"] .bm-row-drawer {
    right: 0;
    transform: translateX(100%);
  }
  /* right-entering row -> drawer overlaps left corner, hidden past left edge */
  .bm-row[data-bm-dir="right"] .bm-row-drawer {
    left: 0;
    transform: translateX(-100%);
  }
  .bm-row:hover .bm-row-drawer,
  .bm-row:focus-within .bm-row-drawer {
    transform: translateX(0);
  }

  /* decorative "clickable" arrow badge; ::after so no markup/click intercept needed */
  .bm-row-drawer::after {
    content: "↗";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--biru-boss, #2e7bff);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
  }
}

/* bio + gallery source data — hidden, only read by board-members.js for the modal */
.bm-row-data,
.bm-row-gallery { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- modal (rounded rectangle, soft yellow glow, two light panels) ---- */
.bm-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
.bm-modal[hidden] { display: none; }
.bm-modal-scrim { position: absolute; inset: 0; background: rgba(6,11,23,0.72); backdrop-filter: blur(2px); }

/* stage: outer nav buttons are flex siblings of the flip wrapper, sitting
   just outside the modal box with a visible gap and moving with it. */
.bm-modal-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: 100%;
  max-width: 1400px;
}

.bm-modal-flip-wrap { position: relative; flex: 1; min-width: 0; perspective: 2000px; }

.bm-modal-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  width: 100%;
  height: min(88vh, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-3);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  /* subtle --biru-yellow glow around the outer edge — accent use, not the usual solid-fill CTA */
  border: 1px solid rgba(245,180,0,0.55);
  box-shadow: 0 0 0 1px rgba(245,180,0,0.12), 0 0 46px 6px rgba(245,180,0,0.28), var(--shadow);
}

.bm-modal-panel--photo { position: relative; background: var(--biru-ink); min-height: 0; }
/* cursor matches .gallery-item (gallery.css); click opens shared gallery lightbox — board-members.js */
.bm-modal-panel--photo img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; cursor: zoom-in; }

/* Scroll hint badge — same treatment as .nm-modal-banner-badge (news
   modal): a yellow circle overlapping the photo's bottom-right corner.
   Hidden by default; only shown on the mobile single-scroll layout
   (≤760px, see media query below) where there's an actual "more below
   the fold" affordance to hint at — the desktop two-panel layout has
   no such scroll, so the badge stays hidden there. */
.bm-modal-banner-badge {
  display: none;
  position: absolute;
  right: clamp(16px, 3vw, 28px);
  bottom: 0;
  transform: translateY(50%);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--biru-yellow);
  color: var(--biru-yellow-ink);
  font-size: 1.1rem;
  box-shadow: 0 10px 24px -8px rgba(6,11,23,0.45), 0 0 0 4px var(--bg-3);
  z-index: 1;
}

.bm-modal-panel--text {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  overflow-y: auto;
  background: var(--bg-3);
  color: var(--text);
}

/* Close button floats outside the box's top-right corner. Positioned
   relative to .bm-modal-flip-wrap (no clipping, matches box bounds)
   rather than .bm-modal-box (overflow:hidden would clip it). */
.bm-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--biru-boss);
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(6,11,23,0.55);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bm-modal-close:hover, .bm-modal-close:focus-visible { background: var(--line); transform: translate(40%, -40%) scale(1.06); }

.bm-modal-logo { position: absolute; top: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px); width: 34px; height: auto; }

.bm-modal-name {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--biru-boss);
  text-transform: uppercase;
}
.bm-modal-title { margin: 0 0 18px; font-size: var(--fs-lead); color: var(--text-2); }
.bm-modal-bio { font-size: var(--fs-body); line-height: 1.7; color: var(--text); text-align: justify; text-justify: inter-word; }
.bm-modal-bio p { margin: 0 0 1em; }
.bm-modal-bio p:last-child { margin-bottom: 0; }

/* ---- outer nav: switches board member, lives OUTSIDE the modal box ---- */
.bm-modal-outer-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--biru-royal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(6,11,23,0.5);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.bm-modal-outer-nav:hover, .bm-modal-outer-nav:focus-visible { background: #fff; transform: scale(1.06); }
.bm-modal-outer-nav[hidden] { display: none; }

/* ---- inner nav: pages through the active member's own gallery, lives INSIDE the photo panel ---- */
.bm-modal-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(6,11,23,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bm-modal-gallery-nav:hover, .bm-modal-gallery-nav:focus-visible { background: rgba(6,11,23,0.8); transform: translateY(-50%) scale(1.06); }
.bm-modal-gallery-nav[hidden] { display: none; }
.bm-modal-gallery-prev { left: 12px; }
.bm-modal-gallery-next { right: 12px; }

.bm-modal-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(6,11,23,0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.bm-modal-gallery-count[hidden] { display: none; }

@media (max-width: 900px) {
  .bm-modal-stage { gap: 8px; }
  .bm-modal-outer-nav { width: 38px; height: 38px; }
  .bm-modal-box { height: min(90vh, 680px); height: min(90dvh, 680px); }
}

@media (max-width: 760px) {
  /* dvh (dynamic viewport height) accounts for mobile browser chrome
     (address bar, etc.) so the box tracks the *actual* visible height
     instead of the vh unit's static/largest-possible value; vh stays
     first as the fallback for browsers without dvh support. */
  /* Block flow, not grid, for the mobile stack: with height:auto photos
     (below), CSS Grid's row auto-sizing was shrinking the photo's row
     shorter than the image's real rendered height — min-height:0 had
     removed grid's normal "don't shrink below content" floor — so the
     text panel's opaque background painted over most of the photo.
     Plain block flow just stacks photo-then-text at their natural
     sizes with no track-sizing math involved, matching how the news
     modal's single scroll column works. */
  .bm-modal-box { display: block; height: min(94vh, 720px); height: min(94dvh, 720px); overflow-y: auto; border-radius: 20px; }
  /* One scrolling "page" instead of a fixed photo banner + separately-
     scrolling text panel: photo shows at its natural aspect (like the
     news-article modal's banner) rather than being cropped to fill a
     fixed-height box, and the text panel no longer scrolls on its own
     — .bm-modal-box above is the single scroll container for both. */
  .bm-modal-panel--photo { min-height: 0; }
  .bm-modal-panel--photo img { height: auto; }
  /* Always rendered here so it can animate: fades out and slides down a bit
     once the box is scrolled, and eases back in at the top. */
  .bm-modal-banner-badge {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear 0s;
  }
  .bm-modal-box.is-scrolled .bm-modal-banner-badge {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(50% + 12px));
    /* delay visibility so the fade-out finishes before it's removed */
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
  }
  @media (prefers-reduced-motion: reduce) {
    .bm-modal-banner-badge,
    .bm-modal-box.is-scrolled .bm-modal-banner-badge { transition: none; }
  }
  .bm-modal-panel--text { overflow-y: visible; }
  /* box wraps to its own line; outer prev/next flow below it, centered —
     still visually outside the box, just stacked instead of side-by-side */
  .bm-modal-stage { flex-wrap: wrap; justify-content: center; }
  .bm-modal-flip-wrap { flex-basis: 100%; order: 1; }
  .bm-modal-outer-prev { order: 2; }
  .bm-modal-outer-next { order: 3; }
  /* box alone can hit 94vh, pushing the stacked nav buttons below the
     viewport; .bm-modal itself never scrolled before (only the text
     panel did) — let the whole stage scroll on short screens instead */
  .bm-modal { align-items: start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .bm-modal-stage { margin-block: auto; }
}

@media (max-width: 560px) {
  .bm-row { height: 30vh; min-height: 150px; }
  .bm-row-info { right: 16px; }

  /* 2026-09-24: was a hard min(64vh, 460px) cap here, which left a lot of
     unused space (and a cramped, over-scrolled text panel) on taller
     phones — the box never grew past ~460px no matter how tall the
     screen was. Scale with the real viewport instead (dvh, so mobile
     browser chrome doesn't throw the sizing off), with a floor so very
     short screens don't collapse the photo, and a ceiling so very tall
     screens don't stretch it absurdly. The 760px query's scroll
     fallback stays as the safety net for long bios either way.
     Padding is kept a touch roomier than before (was 10px) so the box
     still reads as a floating card, not edge-to-edge like the news
     modal on mobile. */
  .bm-modal { padding: 14px; }
  .bm-modal-box { height: min(88vh, 640px); height: max(min(88dvh, 640px), 420px); }
  .bm-modal-outer-nav { width: 34px; height: 34px; }

  .bm-modal-panel--text { padding: 16px 18px; }
  .bm-modal-logo { width: 26px; top: 14px; right: 14px; }
  .bm-modal-name { font-size: var(--h4); margin-bottom: 1px; }
  .bm-modal-title { font-size: 0.85rem; margin-bottom: 10px; }
  .bm-modal-bio { font-size: 0.82rem; line-height: 1.5; }
}

/* css/components/section-intro.css */
.section-intro {
  position: relative; 
  margin-bottom: clamp(20px, 3vw, 32px);
  --intro-fs: clamp(1.3125rem, 0.975rem + 1.125vw, 1.875rem);
}
.section-intro-heading {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--intro-fs);
  line-height: 1.15;
  color: var(--text);
}
.section-intro-script {
  /* Equalized with the rest of the heading (was font-size: 1.15em, made the
     highlighted words look bolder/heavier than the surrounding text). */
  font-family: inherit;
  color: #000;
  font-size: 1em;
}
.section-intro-end-marker {
  display: inline-block;
  width: 0;
  overflow: hidden;
}

.section-intro-mark {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.section-intro-arrow {
  width: calc(var(--intro-fs) * 1.2);
  height: auto;
  clip-path: inset(0 0 100% 0);
  /* Hidden per request (delete this line to bring the arrow back). */
  display: none;
}
.section-intro-arrow.is-revealed {
  animation: section-intro-arrow-wipe 0.9s var(--ease) forwards;
}
@keyframes section-intro-arrow-wipe {
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .section-intro-arrow { clip-path: none; }
  .section-intro-arrow.is-revealed { animation: none; }
}

[data-intro-style="checkmark"] .section-intro-heading {
  font-family: var(--font-display);
}
[data-intro-style="checkmark"] .section-intro-script {
  font-family: inherit;
  font-weight: 700;
  color: #000;
  font-size: 1em;
}

.section-intro-checkmark {
  width: calc(var(--intro-fs) * 2.05);
  height: auto;
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center;
}
.section-intro-checkmark.is-revealed {
  animation: section-intro-checkmark-stamp 0.45s cubic-bezier(.2, 1.4, .4, 1) forwards;
}
@keyframes section-intro-checkmark-stamp {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .section-intro-checkmark { transform: scale(1); opacity: 1; }
  .section-intro-checkmark.is-revealed { animation: none; }
}

/* css/components/icon-grid.css */
/* Icon grid — heading + row of icon/label items. Loaded globally but
 * markup only exists when the page has rows. */

.icon-grid { margin-top: clamp(28px, 4vw, 44px); }

.icon-grid-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--biru-boss);
  text-align: center;
}

.icon-grid-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px);
}

.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 132px;
  text-align: center;
}

.icon-grid-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  /* filter: var(--img-filter) intentionally NOT applied here (unlike
     bm-row-photo) — these are flat brand-colored line icons, not photos,
     so they shouldn't get the same photo-normalizing treatment. */
}

/* Font Awesome variant — same box size as .icon-grid-icon so mixed
   image/fa rows line up; color falls back to brand blue unless the row
   sets its own icon_color inline. */
.icon-grid-icon--fa {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  color: var(--biru-boss);
}

.icon-grid-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--biru-boss);
}

@media (max-width: 560px) {
  .icon-grid-list { gap: 24px 20px; }
  .icon-grid-item { width: 104px; }
  .icon-grid-icon { width: 56px; height: 56px; }
  .icon-grid-icon--fa { width: 56px; height: 56px; font-size: 26px; }
  .icon-grid-label { font-size: 0.82rem; }
}

/* css/components/gallery.css */
/* Photo gallery — masonry grid + lightbox. Loaded globally but markup
 * only exists when the page has rows. CSS multi-column masonry (not
 * Grid masonry) — break-inside:avoid prevents split photos. */
.gallery {
  margin-top: clamp(36px, 5vw, 64px);
  /* Capped + centered gallery width (--container-narrow) so sparse
     galleries don't strand an empty column on the right. Lines up with
     .page-body text column. */
  max-width: var(--container-narrow);
  margin-inline: auto;
  column-count: 3;
  column-gap: clamp(12px, 1.6vw, 20px);
  }

.gallery-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0; /* kill the baseline gap under inline img */
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  filter: var(--img-filter);
  transition: transform var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease), opacity .35s var(--ease);
  -webkit-user-drag: none; /* pairs with gallery.js's draggable=false + contextmenu prevention */
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.03);
  filter: var(--img-filter) brightness(1.03);
}

.gallery-item:focus-visible { outline: 2px solid var(--biru-boss); outline-offset: 3px; }

/* ---- loading skeleton (opt-in: only inside [data-gallery-skeleton]) ----
   gallery.js adds .is-pending to a tile only while its photo is still
   downloading, so the columns hold gray shimmering blocks instead of blank
   space. Ratios vary (3:4 / 1:1 / 4:3) so the placeholder reads as masonry.
   .gallery-skel is the same block as a standalone element (filter-change
   skeleton + the bottom "loading more" row; see gallery-listing.css). */
.gallery-item.is-pending,
.gallery-skel {
  background-color: var(--bg-2);
  background-image: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%);
  background-size: 220% 100%;
  animation: gal-skel-shimmer 1.4s ease-in-out infinite;
}
.gallery-item.is-pending { aspect-ratio: 4 / 3; cursor: progress; }
.gallery-item.is-pending:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.gallery-item.is-pending:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.gallery-item.is-pending img { opacity: 0; }

.gallery-skel {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}
.gallery-skel:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.gallery-skel:nth-child(3n+2) { aspect-ratio: 1 / 1; }

@keyframes gal-skel-shimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

@media (max-width: 900px) {
  .gallery { column-count: 2; }
}
@media (max-width: 560px) {
  .gallery { column-count: 1; }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;

  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);

  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.gallery-lightbox.is-open { opacity: 1; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-scrim { position: absolute; inset: 0; background: rgba(6,11,23,0.86); }

.gallery-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(6,11,23,0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible { background: rgba(6,11,23,0.8); transform: scale(1.06); }

.gallery-lightbox-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  max-width: 100%;
  max-height: 100%;
  /* pairs with .gallery-lightbox's opacity transition above — the content
     scales in slightly alongside the overlay fading in, same duration/easing. */
  transform: scale(0.96);
  transition: transform var(--dur-fast) var(--ease);
}
.gallery-lightbox.is-open .gallery-lightbox-row { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox,
  .gallery-lightbox-row { transition: none; }
}

/* prev/next — same shape/behavior as .pm-modal-gallery-nav/
   .bm-modal-gallery-nav, just flanking outside the image here instead of
   overlaid inside a panel. */
.gallery-lightbox-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(6,11,23,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.gallery-lightbox-arrow:hover,
.gallery-lightbox-arrow:focus-visible { background: rgba(6,11,23,0.8); transform: scale(1.06); }
.gallery-lightbox-arrow:disabled { opacity: 0.35; cursor: default; }

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.gallery-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 58vh;
  box-shadow: var(--shadow);
  -webkit-user-drag: none;
}

.gallery-lightbox-info {
  margin-top: 12px;
  max-width: min(680px, 90vw);
  text-align: center;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  background: rgba(6,11,23,0.55);
  /* Long descriptions must not push the lightbox past the viewport: cap the
     box and let only the description scroll (caption stays pinned above). */
  display: flex;
  flex-direction: column;
  max-height: 28vh;
  min-height: 0;
}
.gallery-lightbox-info[hidden] { display: none; }
.gallery-lightbox-caption {
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 500;
  flex: 0 0 auto;
}
.gallery-lightbox-caption:empty { display: none; }

.gallery-lightbox-desc {
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-body);
  line-height: 1.6;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;      /* don't scroll the page behind */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;             /* slim bar, only shown when text overflows */
  scrollbar-color: rgba(255,255,255,0.35) transparent;
}
.gallery-lightbox-desc::-webkit-scrollbar { width: 6px; }
.gallery-lightbox-desc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 3px; }
.gallery-lightbox-desc::-webkit-scrollbar-track { background: transparent; }
.gallery-lightbox-desc:empty { display: none; }

/* Short screens (phones, landscape): shrink the photo so the text gets room. */
@media (max-height: 760px) {
  .gallery-lightbox-stage img { max-height: 46vh; }
  .gallery-lightbox-info { max-height: 34vh; }
}

@media (max-width: 560px) {
  .gallery-lightbox-arrow { width: 36px; height: 36px; }
  .gallery-lightbox-close { width: 34px; height: 34px; top: 12px; right: 12px; font-size: 1.2rem; }
}

/* css/components/projects.css */
.projects { max-width: var(--container-narrow); margin-inline: auto; margin-top: clamp(28px, 4vw, 44px); }

/* Disable the shared scroll-reveal fade/slide-up (see .reveal in layout.css)
   for this widget on mobile only — show it fully visible immediately instead
   of animating in as the user scrolls down from the hero. */
@media (max-width: 768px) {
  .projects.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- card list (thumbnail left, text + CTA right) ---- */
.proj-list { display: flex; flex-direction: column; }

.proj-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease);
}
.proj-list .proj-card:first-child { padding-top: 0; }
.proj-card:hover { transform: translateX(4px); }
.proj-card:focus-visible { outline: 2px solid var(--biru-boss); outline-offset: 4px; }

.proj-card-thumb {
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 240px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--biru-ink);
}
.proj-card-photo { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); -webkit-user-drag: none; }

.proj-card-body { flex: 1; min-width: 0; }
.proj-card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--h4);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}
.proj-card-summary { margin: 0 0 16px; color: var(--text-2); line-height: 1.6; }
.proj-card-summary + .proj-card-summary { margin-top: -12px; }

.proj-card-cta { pointer-events: none; }

/* source data — never shown inline, only read into the modal by projects.js */
.proj-card-data,
.proj-card-meta,
.proj-card-scopes,
.proj-card-gallery { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 640px) {
  .proj-card { flex-direction: column; align-items: stretch; gap: 16px; }
  .proj-card-thumb { width: 100%; aspect-ratio: 16 / 9; }
}

.projects[data-proj-layout="grid"],
.projects[data-proj-layout="grid-fixed"] { max-width: var(--container); }

.projects[data-proj-layout="grid"] .proj-list,
.projects[data-proj-layout="grid-fixed"] .proj-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.6vw, 22px);
}

/*
 * 'grid' (masonry) reads left-to-right, top-to-bottom (horizontal/
 * row-major), so cards must keep CSS Grid rather than multi-column —
 * multi-column is inherently vertical-first (fills column 1 completely
 * before column 2), which can't produce a horizontal reading order at
 * all. Rows are a 1px unit; projects.js explicitly computes BOTH the
 * column and the row-start for every card itself (round-robin: card 0
 * -> col 1, card 1 -> col 2, ... card N -> col 1 of the next row), then
 * sets grid-row-end from its own rendered height. Explicit placement is
 * the key fix over the original bug: CSS Grid's own auto-placement
 * scans for whichever cell happens to be free right now, which could
 * shove a later, unrelated card sideways into some other column purely
 * because an earlier tall card in its "natural" column was still in the
 * way — reshuffling the reading order even though the underlying
 * DOM/sort order (year_start DESC, id DESC) never changed. Explicit
 * per-card placement can't be reshuffled that way.
 */
.projects[data-proj-layout="grid"] .proj-list { grid-auto-rows: 1px; }

.projects[data-proj-layout="grid"] .proj-card,
.projects[data-proj-layout="grid-fixed"] .proj-card {
  display: block;
  position: relative; /* positioning context for .proj-card-body overlay below */
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--biru-ink);
  container-type: inline-size; /* lets .proj-card-title/-summary scale to this card's own width, not the viewport, so narrow columns and small breakpoints both shrink text automatically */
}
.projects[data-proj-layout="grid"] .proj-card:hover,
.projects[data-proj-layout="grid-fixed"] .proj-card:hover { transform: none; }

.projects[data-proj-layout="grid"] .proj-card:focus-visible,
.projects[data-proj-layout="grid-fixed"] .proj-card:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--biru-boss); }

.projects[data-proj-layout="grid"] .proj-card-thumb,
.projects[data-proj-layout="grid-fixed"] .proj-card-thumb {
  width: 100%;
  border-radius: 0;
  position: relative;
}
.projects[data-proj-layout="grid"] .proj-card-thumb { aspect-ratio: auto; /* natural ratio — packed into place by the JS masonry span */ }
.projects[data-proj-layout="grid-fixed"] .proj-card-thumb { aspect-ratio: 10 / 16; /* fixed portrait — every card the same size, no masonry packing */ }

.projects[data-proj-layout="grid"] .proj-card-photo { height: auto; object-fit: unset; display: block; }
.projects[data-proj-layout="grid-fixed"] .proj-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.projects[data-proj-layout="grid"] .proj-card-body,
.projects[data-proj-layout="grid-fixed"] .proj-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2.4vw, 26px) clamp(14px, 2vw, 20px) clamp(12px, 1.6vw, 16px);
  background: linear-gradient(to top, rgba(6,11,23,0.88) 0%, rgba(6,11,23,0.55) 55%, transparent 100%);
  overflow: hidden; /* long titles on narrow cards clamp/shrink (below) instead of spilling past the card */
}
/* 'grid': caption hidden until hover/focus. 'grid-fixed': caption always on, like the reference screenshot — no reveal transition needed. */
.projects[data-proj-layout="grid"] .proj-card-body {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.projects[data-proj-layout="grid"] .proj-card:hover .proj-card-body,
.projects[data-proj-layout="grid"] .proj-card:focus-visible .proj-card-body {
  opacity: 1;
  transform: translateY(0);
}

.projects[data-proj-layout="grid"] .proj-card-title,
.projects[data-proj-layout="grid-fixed"] .proj-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(0.8rem, 4cqi + 0.3rem, var(--fs-lead));
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Year, directly above the title — 'grid' (masonry) and 'grid-fixed'. Hidden
   on 'list' (wasn't asked for there). */
.proj-card-year { display: none; }
.projects[data-proj-layout="grid"] .proj-card-year,
.projects[data-proj-layout="grid-fixed"] .proj-card-year {
  display: block;
  margin: 0 0 4px;
  color: var(--biru-yellow);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Status badge — top-right corner of the thumb, always visible (lives
   outside .proj-card-body, so it's independent of the hover/focus reveal
   above). Masonry ('grid') only, per the reference screenshot; harmless
   no-op elsewhere since it stays display:none by default. */
.proj-card-status {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(6,11,23,0.5);
}
.projects[data-proj-layout="grid"] .proj-card-status,
.projects[data-proj-layout="grid-fixed"] .proj-card-status { display: inline-flex; align-items: center; }

.proj-card-status[data-status="finished"] { background: var(--biru-yellow); color: var(--biru-yellow-ink); }
.proj-card-status[data-status="ongoing"] { background: var(--accent); color: #fff; }
.proj-card-status[data-status="upcoming"] { background: rgba(255,255,255,0.92); color: var(--biru-royal); }

/* Both grid layouts: summary is hidden entirely — year eyebrow + title
   (+ owner/location footer on grid-fixed, below) only. */
.projects[data-proj-layout="grid"] .proj-card-summary,
.projects[data-proj-layout="grid-fixed"] .proj-card-summary { display: none; }

/* Owner/location footer — 'grid-fixed' only, per the reference screenshot's
   icon rows. Source markup: .proj-card-info in projects.php. */
.proj-card-info { display: none; }
.projects[data-proj-layout="grid-fixed"] .proj-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.proj-card-owner,
.proj-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.68rem, 2.2cqi + 0.32rem, 0.8rem);
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.proj-card-owner svg,
.proj-card-location svg { flex: 0 0 auto; color: var(--biru-yellow); }
.proj-card-owner span,
.proj-card-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects[data-proj-layout="grid"] .proj-card-cta,
.projects[data-proj-layout="grid-fixed"] .proj-card-cta { display: none; }

/* ---- masonry ('grid') loading skeleton ----
   projects.js adds .is-pending to a card only while its photo is still
   downloading (never with JS off / cached images / broken images), so blank
   collapsed cards become a gray shimmering block at a 4:3 placeholder ratio,
   then the photo fades in and the masonry re-flows once. */
.projects[data-proj-layout="grid"] .proj-card-photo { transition: opacity .35s var(--ease); }
.projects[data-proj-layout="grid"] .proj-card.is-pending .proj-card-thumb {
  aspect-ratio: 4 / 3;
  background-color: var(--bg-2);
  background-image: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%);
  background-size: 220% 100%;
  animation: proj-skel-shimmer 1.4s ease-in-out infinite;
}
.projects[data-proj-layout="grid"] .proj-card.is-pending .proj-card-photo,
.projects[data-proj-layout="grid"] .proj-card.is-pending .proj-card-status { opacity: 0; }
.projects[data-proj-layout="grid"] .proj-card.is-pending .proj-card-body { visibility: hidden; }
@keyframes proj-skel-shimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

@media (max-width: 980px) {
  .projects[data-proj-layout="grid"] .proj-list,
  .projects[data-proj-layout="grid-fixed"] .proj-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .projects[data-proj-layout="grid"] .proj-list,
  .projects[data-proj-layout="grid-fixed"] .proj-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .projects[data-proj-layout="grid"] .proj-list,
  .projects[data-proj-layout="grid-fixed"] .proj-list { grid-template-columns: 1fr; }
}

.pm-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
.pm-modal[hidden] { display: none; }
.pm-modal-scrim { position: absolute; inset: 0; background: rgba(6,11,23,0.72); backdrop-filter: blur(2px); }

.pm-modal-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: 100%;
  max-width: 1400px;
}

.pm-modal-flip-wrap { position: relative; flex: 1; min-width: 0; perspective: 2000px; }

.pm-modal-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  width: 100%;
  height: min(88vh, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-3);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  border: 1px solid rgba(245,180,0,0.55);
  box-shadow: 0 0 0 1px rgba(245,180,0,0.12), 0 0 46px 6px rgba(245,180,0,0.28), var(--shadow);
}

.pm-modal-panel--photo { position: relative; background: var(--biru-ink); min-height: 0; }
/* cursor:zoom-in — same affordance/reasoning as board-members.css's
   .bm-modal-panel--photo img; opens the shared gallery lightbox on click. */
.pm-modal-panel--photo img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; cursor: zoom-in; }

/* Scroll hint badge — same treatment as .bm-modal-banner-badge (board-members.css):
   a yellow circle overlapping the photo's bottom-right corner. Hidden by default;
   only shown on the mobile single-scroll layout (<=760px, see media query below). */
.pm-modal-banner-badge {
  display: none;
  position: absolute;
  right: clamp(16px, 3vw, 28px);
  bottom: 0;
  transform: translateY(50%);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--biru-yellow);
  color: var(--biru-yellow-ink);
  font-size: 1.1rem;
  box-shadow: 0 10px 24px -8px rgba(6,11,23,0.45), 0 0 0 4px var(--bg-3);
  z-index: 1;
}

.pm-modal-panel--text {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  overflow-y: auto;
  background: var(--bg-3);
  color: var(--text);
}

.pm-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--biru-boss);
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(6,11,23,0.55);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pm-modal-close:hover, .pm-modal-close:focus-visible { background: var(--line); transform: translate(40%, -40%) scale(1.06); }

.pm-modal-logo { position: absolute; top: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px); width: 34px; height: auto; }

.pm-modal-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--biru-boss);
  text-transform: uppercase;
  padding-right: clamp(44px, 5vw, 60px); /* keep clear of the logo badge */
}
.pm-modal-desc { font-size: var(--fs-body); line-height: 1.7; color: var(--text); margin-bottom: clamp(22px, 3vw, 32px); }
.pm-modal-desc p { margin: 0 0 1em; }
.pm-modal-desc p:last-child { margin-bottom: 0; }

/* ---- metadata: Pemilik Proyek / Lokasi / Tahun stat list + Ruang
   Lingkup Pekerjaan tag list, side by side per the reference screenshot. ---- */
.pm-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}
.pm-modal-stats { display: flex; flex-direction: column; gap: 6px; }
.pm-modal-stat { margin: 0; font-size: 0.92rem; color: var(--text-2); }
.pm-modal-stat b { color: var(--text); font-weight: 600; }

.pm-modal-scopes-label { display: block; margin: 0 0 8px; font-size: 0.92rem; color: var(--text-2); }
.pm-modal-scope-list { display: flex; flex-direction: column; gap: 8px; }
.pm-modal-scope { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.pm-modal-scope img { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---- outer nav: switches project, lives OUTSIDE the modal box (same shape as .bm-modal-outer-nav) ---- */
.pm-modal-outer-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--biru-royal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(6,11,23,0.5);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.pm-modal-outer-nav:hover, .pm-modal-outer-nav:focus-visible { background: #fff; transform: scale(1.06); }
.pm-modal-outer-nav[hidden] { display: none; }

.pm-modal-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(6,11,23,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pm-modal-gallery-nav:hover, .pm-modal-gallery-nav:focus-visible { background: rgba(6,11,23,0.8); transform: translateY(-50%) scale(1.06); }
.pm-modal-gallery-nav[hidden] { display: none; }
.pm-modal-gallery-prev { left: 12px; }
.pm-modal-gallery-next { right: 12px; }

.pm-modal-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(6,11,23,0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.pm-modal-gallery-count[hidden] { display: none; }

@media (max-width: 900px) {
  .pm-modal-stage { gap: 8px; }
  .pm-modal-outer-nav { width: 38px; height: 38px; }
  .pm-modal-box { height: min(90vh, 680px); }
}

@media (max-width: 760px) {
  /* Block flow, not grid: same reason as board-members.css — with height:auto
     photos, grid row auto-sizing can shrink the photo's row below the image's
     real height and the text panel then paints over the photo. Block flow just
     stacks photo-then-text at natural sizes. dvh tracks the real visible height
     (mobile browser chrome); vh stays first as the fallback. */
  .pm-modal-box { display: block; height: min(94vh, 720px); height: min(94dvh, 720px); overflow-y: auto; border-radius: 20px; }
  /* One scrolling "page": .pm-modal-box is the single scroll container for both
     photo and text; the text panel no longer scrolls on its own. */
  .pm-modal-panel--photo { position: relative; min-height: 0; height: auto; flex: none; }
  .pm-modal-panel--photo img { position: relative; width: 100%; height: auto; max-height: none; object-fit: contain; }
  .pm-modal-panel--text { overflow-y: visible; }
  /* Always rendered here so it can animate: fades out and slides down a bit once
     the box is scrolled, and eases back in at the top. */
  .pm-modal-banner-badge {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear 0s;
  }
  .pm-modal-box.is-scrolled .pm-modal-banner-badge {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(50% + 12px));
    /* delay visibility so the fade-out finishes before it's removed */
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
  }
  @media (prefers-reduced-motion: reduce) {
    .pm-modal-banner-badge,
    .pm-modal-box.is-scrolled .pm-modal-banner-badge { transition: none; }
  }
  .pm-modal-stage { flex-wrap: wrap; justify-content: center; }
  .pm-modal-flip-wrap { flex-basis: 100%; order: 1; }
  .pm-modal-outer-prev { order: 2; }
  .pm-modal-outer-next { order: 3; }
  .pm-modal { align-items: start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .pm-modal-stage { margin-block: auto; }
}

/* Kept AFTER the 900px/760px blocks on purpose: at equal specificity the later
   rule wins, so the small-phone height/padding/nav size actually apply. */
@media (max-width: 560px) {
  .pm-modal-meta { grid-template-columns: 1fr; }

  .pm-modal { padding: 14px; }
  .pm-modal-box { height: min(88vh, 640px); height: max(min(88dvh, 640px), 420px); }
  .pm-modal-panel--photo { min-height: 130px; }
  .pm-modal-outer-nav { width: 34px; height: 34px; }

  .pm-modal-panel--text { padding: 16px 18px; }
  .pm-modal-logo { width: 26px; top: 14px; right: 14px; }
  .pm-modal-title { font-size: var(--h4); margin-bottom: 10px; padding-right: 34px; }
  .pm-modal-desc { font-size: 0.82rem; line-height: 1.5; margin-bottom: 14px; }
  .pm-modal-meta { gap: 12px; padding-top: 12px; }
  .pm-modal-stat,
  .pm-modal-scopes-label,
  .pm-modal-scope { font-size: 0.78rem; }
}

/* css/components/services.css */
.services { margin-top: clamp(28px, 4vw, 44px); }

.services-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--biru-royal);
  font-size: var(--h4);
  margin: 0 0 clamp(20px, 3vw, 32px);
  max-width: var(--container-narrow);
  margin-inline: auto;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.service-item[data-svc-side="right"] { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.service-item[data-svc-side="right"] .service-img-wrap { order: 2; }
.service-item[data-svc-side="right"] .service-body { order: 1; }

.service-item.service-item--noimg { grid-template-columns: 1fr; }

@media (max-width: 720px) {
  .service-item,
  .service-item[data-svc-side="right"] { grid-template-columns: 1fr; }
  .service-item[data-svc-side="right"] .service-img-wrap,
  .service-item[data-svc-side="right"] .service-body { order: initial; }
}

/* ---- image side ---- */
.service-img-wrap {
  display: block;
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.service-img-wrap:hover,
.service-img-wrap:focus-visible { transform: translateY(-3px) scale(1.02); }
.service-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.service-img-wrap:hover .service-img,
.service-img-wrap:focus-visible .service-img { transform: scale(1.06); }
.service-img-wrap { -webkit-touch-callout: none; }
.service-img-wrap,
.service-img { -webkit-user-drag: none; }

/* ---- text side — ghost card, not a filled box ---- */
.service-body {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--biru-boss);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  background: transparent;
}
.service-item--noimg .service-body { max-width: var(--container-narrow); margin-inline: auto; }

.service-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 8px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--biru-royal);
  font-size: var(--h4);
  margin: 0 0 12px;
}

.service-desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}

/* css/components/customers-carousel.css */
/* Customers carousel — coverflow-style: center-active card + peeking
 * prev/next, logo + name, arrows/dots below. Loaded globally but markup
 * only exists when the page has rows (see subpage-content.php). */

.customers-carousel { margin-top: clamp(28px, 4vw, 44px); }

.customers-carousel-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--biru-boss);
  text-align: center;
}

.customers-carousel-viewport {
  position: relative;
  padding-inline: clamp(68px, 10vw, 120px);
}

.customers-carousel-stage {
  position: relative;
  height: clamp(180px, 16vw, 240px);
  max-width: 1180px;
  margin-inline: auto;
}

.customers-carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(clamp(160px, 16vw, 240px), 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: none;
  border: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translate(-50%, -50%) scale(0.6);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  z-index: 1;
}
.customers-carousel-card.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
}
.customers-carousel-card.is-peek-next,
.customers-carousel-card.is-peek-prev {
  opacity: 0.4;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}
.customers-carousel-card.is-peek-next:hover,
.customers-carousel-card.is-peek-prev:hover { opacity: 0.65; }
.customers-carousel-card.is-peek-next { transform: translate(calc(-50% + 100%), -50%) scale(0.62); }
.customers-carousel-card.is-peek-prev { transform: translate(calc(-50% - 100%), -50%) scale(0.62); }

.customers-carousel-card.is-far-next,
.customers-carousel-card.is-far-prev {
  opacity: 0.12;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1;
}
.customers-carousel-card.is-far-next:hover,
.customers-carousel-card.is-far-prev:hover { opacity: 0.3; }
.customers-carousel-card.is-far-next { transform: translate(calc(-50% + 190%), -50%) scale(0.5); }
.customers-carousel-card.is-far-prev { transform: translate(calc(-50% - 190%), -50%) scale(0.5); }

.customers-carousel-logo { display: block; width: 100%; height: 64px; }
.customers-carousel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customers-carousel-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  text-align: center;
}

.customers-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex: none;
  width: clamp(40px, 3vw, 52px);
  height: clamp(40px, 3vw, 52px);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.customers-carousel-arrow--prev { left: 0; }
.customers-carousel-arrow--next { right: 0; }
.customers-carousel-arrow:hover,
.customers-carousel-arrow:focus-visible {
  background: var(--biru-boss);
  border-color: var(--biru-boss);
  color: var(--accent-ink);
  transform: translateY(-50%) scale(1.06);
}

.customers-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 2.4vw, 32px);
}
.customers-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.customers-carousel-dot.is-active {
  background: var(--biru-boss);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .customers-carousel-card { transition: none; }
}

@media (max-width: 840px) {
  .customers-carousel-card.is-far-next,
  .customers-carousel-card.is-far-prev { opacity: 0; pointer-events: none; }
  .customers-carousel-viewport { padding-inline: clamp(52px, 9vw, 80px); }
  .customers-carousel-stage { max-width: 640px; }
  .customers-carousel-card.is-peek-next { transform: translate(calc(-50% + 78%), -50%) scale(0.62); }
  .customers-carousel-card.is-peek-prev { transform: translate(calc(-50% - 78%), -50%) scale(0.62); }
}

@media (max-width: 640px) {
  .customers-carousel-card.is-peek-next,
  .customers-carousel-card.is-peek-prev,
  .customers-carousel-card.is-far-next,
  .customers-carousel-card.is-far-prev { opacity: 0; pointer-events: none; }
  .customers-carousel-viewport { padding-inline: clamp(48px, 14vw, 64px); }
  .customers-carousel-stage { height: clamp(160px, 40vw, 200px); touch-action: pan-y; }
  .customers-carousel-card { width: min(200px, 60vw); }
}

/* css/components/customers-marquee.css */
/* Customers marquee — full-width auto-scroll alternative to
 * customers-carousel.css. Loaded globally but markup only exists when a
 * page has rows AND customers_display_mode = 'marquee'. See
 * app/views/partials/page-content/customers-marquee.php.
 *
 * The @keyframes/animation below is a no-JS fallback only — normally
 * components/customers-marquee.js takes over the track's transform
 * directly (requestAnimationFrame) so it can ease speed smoothly,
 * support drag-to-scroll, and step with the control panel. */

.customers-marquee { margin-top: clamp(28px, 4vw, 44px); }

.customers-marquee-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--biru-boss);
  text-align: center;
}

/* Full-bleed: breaks out of the page's centered container so the track
 * can scroll edge to edge, with a soft fade at both margins instead of a
 * hard clip. */
.customers-marquee-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 min(80px, 6vw), #000 calc(100% - min(80px, 6vw)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 min(80px, 6vw), #000 calc(100% - min(80px, 6vw)), transparent 100%);
}

/* JS toggles this while a drag/swipe is in progress on the track. */
.customers-marquee-viewport.is-dragging {
  cursor: grabbing;
}
.customers-marquee-viewport.is-dragging .customers-marquee-track {
  user-select: none;
}

.customers-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: cm-scroll var(--cm-duration, 44s) linear infinite;
}

/* JS (components/customers-marquee.js) toggles this on pointerenter/leave
 * of the viewport and on focus-within, so keyboard users tabbing through
 * the links also stop the scroll. Falls back to plain :hover if JS fails
 * to load. */
.customers-marquee-viewport.is-paused .customers-marquee-track,
.customers-marquee-viewport:hover .customers-marquee-track {
  animation-play-state: paused;
}

@keyframes cm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.customers-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-inline: clamp(14px, 2vw, 28px);
  flex-shrink: 0;
}

.customers-marquee-card {
  display: block;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.customers-marquee-shape {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 16vw, 280px);
  height: clamp(200px, 16vw, 280px);
  background: var(--cm-bg, #ffffff);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.customers-marquee-card:hover .customers-marquee-shape,
.customers-marquee-card:focus-visible .customers-marquee-shape,
.customers-marquee-card.is-revealed .customers-marquee-shape {
  box-shadow: var(--shadow);
}

/* Shape variants — clip the TILE only. The logo underneath always keeps
 * object-fit: contain, so nothing about the mark itself is ever cropped;
 * padding just tightens per shape so contain-fit doesn't touch a
 * clipped corner (mainly the hexagon). */
.customers-marquee-shape.is-shape-square { border-radius: var(--radius); padding: 16%; }
.customers-marquee-shape.is-shape-circle { border-radius: 50%; border-color: transparent; padding: 20%; }
.customers-marquee-shape.is-shape-hexagon {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: none;
  padding: 24%;
}

.customers-marquee-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

/* Hover reveal — logo fades + shrinks away, detail panel (name + blurb)
 * cross-fades in over the accent color. Both layers are absolutely
 * stacked so there's no layout shift. */
.customers-marquee-detail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 12%;
  background: var(--cm-accent, var(--biru-deep));
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}

/* Category pill — optional, only rendered when category_id/category_en
 * is set on the item. Sits above the name, same idea as the b.stage
 * reference (broad sector tag + specific name + specific blurb). */
.customers-marquee-pill {
  display: inline-block;
  margin-bottom: 2px;
  padding: 0.32em 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow badge — only rendered when the card actually links out
 * (link_url set), so it never implies a destination that isn't there. */
.customers-marquee-arrow {
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 0.9rem;
  line-height: 1;
  color: #ffffff;
}

.customers-marquee-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
}

.customers-marquee-blurb {
  font-size: 0.85rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.customers-marquee-card:hover .customers-marquee-logo,
.customers-marquee-card:focus-visible .customers-marquee-logo,
.customers-marquee-card.is-revealed .customers-marquee-logo {
  opacity: 0;
  transform: scale(0.82);
}

.customers-marquee-card:hover .customers-marquee-detail,
.customers-marquee-card:focus-visible .customers-marquee-detail,
.customers-marquee-card.is-revealed .customers-marquee-detail {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* No-JS fallback only (JS reads the same preference itself and simply
 * starts the control panel in a paused state instead — see the JS file). */
@media (prefers-reduced-motion: reduce) {
  .customers-marquee-track { animation: none; }
}

@media (max-width: 640px) {
  .customers-marquee-shape { width: clamp(160px, 40vw, 200px); height: clamp(160px, 40vw, 200px); }
  .customers-marquee-blurb { display: none; }
}

/* Control panel — always visible below the track: step prev/next, and
 * play/pause the autoplay. Bound entirely in JS (components/
 * customers-marquee.js); with JS disabled the buttons simply do
 * nothing and the no-JS CSS-animation fallback above keeps scrolling. */
.customers-marquee-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(16px, 2vw, 24px);
}

.customers-marquee-btn {
  flex: none;
  width: clamp(36px, 3vw, 44px);
  height: clamp(36px, 3vw, 44px);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.customers-marquee-btn:hover,
.customers-marquee-btn:focus-visible {
  background: var(--biru-boss);
  border-color: var(--biru-boss);
  color: var(--accent-ink);
  transform: scale(1.06);
}

/* Play/pause icon swap — JS only ever toggles data-state, never the
 * markup, so it stays a plain attribute-selector swap. */
.customers-marquee-btn--playpause .customers-marquee-icon--play { display: none; }
.customers-marquee-btn--playpause[data-state="paused"] .customers-marquee-icon--pause { display: none; }
.customers-marquee-btn--playpause[data-state="paused"] .customers-marquee-icon--play { display: block; }

/* css/components/scope-grid.css */
.scope-grid { margin-top: clamp(28px, 4vw, 44px); }

.scope-grid-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--biru-boss);
  text-align: center;
}

.scope-grid-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
}

.scope-grid-item {
  position: relative;
  overflow: hidden;
  flex: 1 1 260px;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow: var(--shadow);
  cursor: default;
}

.scope-grid-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.scope-grid-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 46, 0.35), rgba(10, 20, 46, 0.86));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.scope-grid-item.is-active .scope-grid-photo {
  opacity: 1;
  transform: scale(1.06); /* same slow-zoom-on-reveal treatment as .service-img on hover */
}
.scope-grid-item.is-active .scope-grid-scrim { opacity: 1; }

.scope-grid-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
}

.scope-grid-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Font Awesome variant — same slot/size as .scope-grid-icon. Forced white
   on hover (like the label/code) regardless of the row's own icon_color,
   since that color is applied inline and would otherwise win over a plain
   color rule here. */
.scope-grid-icon--fa {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: var(--biru-boss);
  transition: color var(--dur-fast) var(--ease);
}
.scope-grid-item.is-active .scope-grid-icon--fa { color: #fff !important; }

.scope-grid-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--biru-boss);
  transition: color var(--dur-fast) var(--ease);
}
.scope-grid-item.is-active .scope-grid-label { color: #fff; }

.scope-grid-code {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color var(--dur-fast) var(--ease);
}
.scope-grid-item.is-active .scope-grid-code { color: rgba(255, 255, 255, 0.8); }

@media (max-width: 560px) {
  .scope-grid-item { flex-basis: 100%; max-width: 420px; }
}

/* css/components/content-image.css */
/* Image + body text pairing (content-image.php + cta.php). data-image-position
 * (none/right/left) drives CSS Grid layout via named areas: body paired
 * with image, cta under body. */
[data-image-position="right"],
[data-image-position="left"] {
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
[data-image-position="right"] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas:
    "body  image"
    "cta   image";
}
[data-image-position="left"] {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-areas:
    "image body"
    "image cta";
}

[data-image-position="right"] > .page-body,
[data-image-position="left"] > .page-body {
  grid-area: body;
  max-width: none;
  margin-inline: 0;
}
/* Sits directly under .page-body, its own grid row in the text column —
   not sharing a row with .content-image; that's why the areas are named
   explicitly instead of relying on flex-wrap to guess. */
[data-image-position="right"] > .content-cta,
[data-image-position="left"] > .content-cta {
  grid-area: cta;
  margin-top: -8px;
  /* Grid items stretch to fill their area by default — .btn-yellow is
     inline-flex sized to its own label elsewhere, so pin it to natural
     width instead of stretching. */
  justify-self: start;
}
[data-image-position="right"] > .content-image,
[data-image-position="left"] > .content-image {
  grid-area: image;
}

/* data-image-position="none": .content-cta previously fell into the wide
 * --container (1280px) instead of the narrow column .page-body centers
 * in, so the button sat flush left. Fix: match .page-body's column width
 * + centering via fit-content + margin-inline. */
[data-image-position="none"] > .content-cta {
  display: flex;
  width: fit-content;
  max-width: var(--container-narrow);
  margin: -8px auto 0;
  margin-top: 20px;
}

/* Forces every other widget onto its own full-width row below the pair —
   same safety net [data-pdf-layout="right"] uses for icon-grid/gallery. */
[data-image-position="right"] > .icon-grid,
[data-image-position="left"] > .icon-grid,
[data-image-position="right"] > .services,
[data-image-position="left"] > .services,
[data-image-position="right"] > .scope-grid,
[data-image-position="left"] > .scope-grid,
[data-image-position="right"] > .timeline,
[data-image-position="left"] > .timeline,
[data-image-position="right"] > .pdf-preview-grid-heading,
[data-image-position="left"] > .pdf-preview-grid-heading,
[data-image-position="right"] > .pdf-preview,
[data-image-position="left"] > .pdf-preview,
[data-image-position="right"] > .projects,
[data-image-position="left"] > .projects,
[data-image-position="right"] > .gallery,
[data-image-position="left"] > .gallery {
  grid-column: 1 / -1;
}

/* Spec-sheet takes the body grid-area beside image when present; page-body
 * moves to its own full-width row below. Spec-sheet pages rarely set a
 * CTA, so its row collapses to avoid dead space. */
[data-image-position="right"]:has(> .spec-sheet),
[data-image-position="left"]:has(> .spec-sheet) {
  grid-template-rows: auto;
}
[data-image-position="right"]:has(> .spec-sheet) {
  grid-template-areas: "body image";
}
[data-image-position="left"]:has(> .spec-sheet) {
  grid-template-areas: "image body";
}
[data-image-position="right"]:has(> .spec-sheet) > .page-body,
[data-image-position="left"]:has(> .spec-sheet) > .page-body {
  grid-column: 1 / -1;
  grid-row: 2;
}
[data-image-position="right"]:has(> .spec-sheet) > .content-cta,
[data-image-position="left"]:has(> .spec-sheet) > .content-cta {
  grid-column: 1 / -1;
  grid-row: 3;
}
[data-image-position="right"] > .spec-sheet {
  grid-area: body;
}
[data-image-position="left"] > .spec-sheet {
  grid-area: body;
}

/* [data-content-image-trigger] button wraps <img> for click-to-enlarge
 * (shared gallery lightbox). Reset button chrome so it looks like the
 * bare <img> it replaces, with subtle hover/focus affordance.
 */
.content-image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 12px;
}
.content-image-trigger:focus-visible {
  outline: 2px solid var(--biru-boss);
  outline-offset: 3px;
}
.content-image-trigger:hover img {
  filter: brightness(0.92);
}

.content-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: filter 0.15s ease;
}

@media (max-width: 860px) {
  [data-image-position="right"],
  [data-image-position="left"] {
    display: block;
  }
/* Mobile: grid-area is ignored once the wrapper drops to display:block,
 * so elements flow in DOM order. Remove the desktop negative margin
 * and center CTA via fit-content + auto margins. */
  [data-image-position="right"] > .content-cta,
  [data-image-position="left"] > .content-cta {
    margin-top: 20px;
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

/* css/components/content-3d.css */
/* 3D model viewer widget sizing/chrome, inside .content-image (3D + photo
 * stack under one slot). Only handles the <model-viewer> box, expand
 * button, and failure states. */
.content-3d {
  position: relative;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}
.content-3d model-viewer {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: color-mix(in srgb, var(--biru-ink) 4%, transparent);
  --poster-color: transparent;
}

/* No model-viewer support — widget disappears. Standalone photo from
 * content-image.php is always there, so no backup needed. */
.content-3d model-viewer:not(:defined),
.content-3d.content-3d-failed model-viewer {
  display: none;
}
.content-3d model-viewer:not(:defined) + .content-3d-expand,
.content-3d.content-3d-failed .content-3d-expand {
  display: none;
}

/* ---- expand-to-lightbox button ---- */
.content-3d-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: rgba(6, 11, 23, 0.55);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.content-3d-expand:hover,
.content-3d-expand:focus-visible {
  background: var(--biru-boss);
}

/* ---- lightbox (injected once into <body> by content-3d.js, same
   scrim/box/close pattern as .gallery-lightbox/.pdf-lightbox — see
   components/gallery.css for the sibling this mirrors) ---- */
.content-3d-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.content-3d-lightbox[hidden] { display: none; }
.content-3d-lightbox-scrim { position: absolute; inset: 0; background: rgba(6, 11, 23, 0.86); }
.content-3d-lightbox-box {
  position: relative;
  width: min(1100px, 100%);
  height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-3d-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.content-3d-lightbox-close { border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--text-3); }
.content-3d-lightbox-close:hover { color: var(--biru-boss); }
.content-3d-lightbox-body { flex: 1; position: relative; }
.content-3d-lightbox-body model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: color-mix(in srgb, var(--biru-ink) 4%, transparent);
  --poster-color: transparent;
}

/* css/components/spec-sheet.css */
.spec-sheet {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.spec-sheet-row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 16px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-sheet-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.spec-sheet-value {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-2);
}

@media (max-width: 560px) {
  .spec-sheet[data-spec-layout="stacked"] .spec-sheet-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .spec-sheet[data-spec-layout="stacked"] .spec-sheet-label { font-size: 0.82rem; color: var(--text-3); }
}

.spec-sheet[data-spec-layout="pills"] {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 0;
  margin: 0;
}

.spec-sheet[data-spec-layout="pills"] .spec-sheet-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 160px;
  flex: 1 1 160px;
  padding: 0;
  border-bottom: 0;
  text-align: center;
}

.spec-sheet[data-spec-layout="pills"] .spec-sheet-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85em 1.1em;
  border-radius: var(--radius);
  background: var(--biru-royal);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-sheet[data-spec-layout="pills"] .spec-sheet-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

@media (max-width: 560px) {
  .spec-sheet[data-spec-layout="pills"] .spec-sheet-row { flex: 1 1 45%; min-width: 130px; }
}

.spec-sheet[data-spec-layout="list"] {
  display: flex;
  flex-direction: column;
  border-top: 0;
  margin: 0;
}

.spec-sheet[data-spec-layout="list"] .spec-sheet-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.spec-sheet[data-spec-layout="list"] .spec-sheet-row:last-child {
  border-bottom: 0;
}

.spec-sheet[data-spec-layout="list"] .spec-sheet-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--biru-royal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.spec-sheet[data-spec-layout="list"] .spec-sheet-label {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-3);
}

.spec-sheet[data-spec-layout="list"] .spec-sheet-value {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-align: right;
}

@media (max-width: 560px) {
  .spec-sheet[data-spec-layout="list"] .spec-sheet-row { gap: 10px; padding: 11px 2px; }
  .spec-sheet[data-spec-layout="list"] .spec-sheet-icon { width: 28px; height: 28px; font-size: 0.72rem; }
  .spec-sheet[data-spec-layout="list"] .spec-sheet-label,
  .spec-sheet[data-spec-layout="list"] .spec-sheet-value { font-size: 0.86rem; }
}

/* css/components/products.css */
.products { margin-top: clamp(28px, 4vw, 44px); }

.products-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.products-pill {
  font: inherit;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text-3);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.products-pill:hover,
.products-pill:focus-visible {
  border-color: var(--biru-boss);
  color: var(--biru-boss);
}
.products-pill.is-active {
  border-color: var(--biru-boss);
  background: var(--biru-boss);
  color: var(--accent-ink);
}

/* ---- mobile: category pills become ONE swipeable row (desktop keeps wrapping) ----
   Scoped to .products so the news/gallery filter bars (which already scroll
   via their own rules) are untouched. The row bleeds to the screen edges
   (same 50vw - 50% technique as board-members.css) while padding puts the
   first/last chip back on the page-content edge. products.js toggles
   .has-more-left / .has-more-right, which drive the soft edge fade below. */
@media (max-width: 760px) {
  .products .products-filter {
    --pf-bleed: calc(50vw - 50%);
    --pf-fade-l: 0px;
    --pf-fade-r: 0px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: calc(100% + var(--pf-bleed) * 2);
    margin-inline: calc(-1 * var(--pf-bleed));
    padding-inline: var(--pf-bleed);
    /* overflow-x:auto also clips vertically, so give the chips' focus ring room */
    padding-block: 4px;
    margin-top: -4px;
    margin-bottom: calc(clamp(20px, 3vw, 28px) - 4px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--pf-fade-l), #000 calc(100% - var(--pf-fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--pf-fade-l), #000 calc(100% - var(--pf-fade-r)), transparent 100%);
  }
  .products .products-filter::-webkit-scrollbar { display: none; }
  .products .products-filter.has-more-left  { --pf-fade-l: 28px; }
  .products .products-filter.has-more-right { --pf-fade-r: 28px; }
  .products .products-pill { flex: 0 0 auto; white-space: nowrap; }
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
}

.product-card {
  display: block;
  position: relative;
  flex: 1 1 240px;
  max-width: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--biru-boss);
}

.product-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.product-card-thumb--empty { background: var(--line-2); }

.product-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card-photo,
.product-card:focus-visible .product-card-photo {
  transform: scale(1.06); /* same slow-zoom-on-hover treatment as .service-img / .scope-grid-photo */
}

.product-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.product-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--biru-royal);
}

.product-card-arrow {
  flex: none;
  color: var(--text-3);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.product-card:hover .product-card-arrow,
.product-card:focus-visible .product-card-arrow {
  color: var(--biru-boss);
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .product-card { flex-basis: 100%; max-width: 420px; }
}

/* css/components/paint-colors.css */
.paint-colors {
  margin-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(20px, 3vw, 32px); 
  max-width: var(--container);
  margin-inline: auto;
}

.paint-colors-now {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}
.paint-colors-now-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease);
}
.paint-colors-now-text { display: flex; flex-direction: column; gap: 2px; }
.paint-colors-now-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--biru-royal);
}
.paint-colors-now-price {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-3);
}

.paint-colors-strip {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 18px;
  margin: 0 -6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.paint-colors-strip:focus-visible { outline: 2px solid var(--biru-boss); outline-offset: 4px; }
.paint-colors-strip::-webkit-scrollbar { height: 6px; }
.paint-colors-strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: var(--radius); }

.paint-colors-chip {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 96px;
  cursor: pointer; 
}

.paint-colors-swatch {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  transition: transform var(--dur-fast) var(--ease);
}
.paint-colors-chip.is-active .paint-colors-swatch {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--bg-3), 0 0 0 5px var(--biru-boss), var(--shadow);
}
.paint-colors-chip:hover .paint-colors-swatch { transform: scale(1.05); }
.paint-colors-chip.is-active:hover .paint-colors-swatch { transform: scale(1.08); }

.paint-colors-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.paint-colors-chip:hover .paint-colors-caption,
.paint-colors-chip:focus-visible .paint-colors-caption,
.paint-colors-chip.is-active .paint-colors-caption {
  opacity: 1;
  transform: translateY(0);
}
.paint-colors-caption-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--text-2);
}
.paint-colors-caption-price {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-3);
}

@media (prefers-reduced-motion: reduce) {
  .paint-colors-strip { scroll-behavior: auto; }
  .paint-colors-swatch,
  .paint-colors-now-swatch { transition: none; }
}

@media (max-width: 640px) {
  .paint-colors-chip { width: 80px; }
  .paint-colors-swatch { width: 60px; height: 60px; }
}

/* css/components/price-checker.css */
.price-checker {
  max-width: var(--container-narrow);
  margin: 2.4rem auto 0;
  padding: clamp(1.4rem, 2vw, 2.2rem);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-checker-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  align-items: end;
}

.price-checker-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-checker-field label {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.price-checker select,
.price-checker input[type="text"] {
  width: 100%;
  padding: 0.75em 0.9em;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease);
}

.price-checker select:focus,
.price-checker input[type="text"]:focus {
  outline: none;
  border-color: var(--biru-boss);
}

.price-checker input[type="text"]:disabled {
  background: var(--bg-2);
  color: var(--text-3);
  cursor: not-allowed;
}

.price-checker-suggestions {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-checker-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65em 0.9em;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.price-checker-suggestion:last-child { border-bottom: 0; }
.price-checker-suggestion:hover,
.price-checker-suggestion.is-active { background: var(--bg-2); color: var(--biru-boss); }

.price-checker-suggestion-empty {
  color: var(--text-3);
  cursor: default;
}
.price-checker-suggestion-empty:hover { background: none; color: var(--text-3); }

.price-checker [data-pc-submit] {
  justify-self: start;
  border: 0;
}

.price-checker-status {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-2);
}

.price-checker-result {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.price-checker-result-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.price-checker-result-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
}
.price-checker-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

.price-checker-result-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}

.price-checker-result-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.price-checker-result-info {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  cursor: pointer;
}
.price-checker-result-info:hover,
.price-checker-result-info:focus-visible {
  border-color: var(--biru-boss);
  color: var(--biru-boss);
}

.price-checker-result-color {
  font-family: var(--font-display);
  font-size: var(--h4);
  color: var(--text);
}

.price-checker-result-base {
  font-size: 0.82rem;
  color: var(--text-2);
}

.price-checker-result-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-checker-result-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.1em 0.8em;
  background: var(--bg-3);
  text-align: center;
}

.price-checker-result-size {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.price-checker-result-price {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--biru-boss);
}

@media (max-width: 640px) {
  .price-checker-picker { grid-template-columns: 1fr; }
}

/* css/components/product-info-modal.css */
.product-info-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.product-info-modal[hidden] { display: none; }

.product-info-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 23, 0.82);
}

.product-info-modal-box {
  position: relative;
  width: min(420px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-info-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-info-modal-close:hover,
.product-info-modal-close:focus-visible { color: var(--biru-boss); }

.product-info-modal-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
}
.product-info-modal-media[hidden] { display: none; }
.product-info-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none; 
}

.product-info-modal-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-info-modal-title {
  font-family: var(--font-display);
  font-size: var(--h4);
  color: var(--text);
  margin: 0;
}

.product-info-modal-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
  white-space: pre-line;
  margin: 0;
}

.product-info-modal-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--biru-boss);
  text-decoration: none;
}
.product-info-modal-link[hidden] { display: none; }
.product-info-modal-link .arrow { transition: transform var(--dur-fast) var(--ease); }
.product-info-modal-link:hover .arrow { transform: translateX(3px); }

/* css/components/stores.css */
.stores { margin-top: clamp(28px, 4vw, 44px); }

.stores-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.stores-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stores-filter-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.stores-filter select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.6em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
}
.stores-filter select:hover { border-color: var(--biru-boss); }

.stores-locate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55em 1em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  margin-left: auto;
}
.stores-locate:hover:not(:disabled) { border-color: var(--biru-boss); color: var(--biru-boss); }
.stores-locate:disabled { cursor: default; opacity: .7; }

/* "You are here" — deliberately distinct from the store pin icon so it's never mistaken
 * for an outlet. Plain CSS dot, no extra image asset. */
.stores-me-marker span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--biru-boss);
  border: 3px solid var(--bg-3);
  box-shadow: 0 0 0 2px var(--biru-boss), 0 2px 6px rgba(0, 0, 0, .3);
}

.stores-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: start;
}
@media (max-width: 860px) {
  .stores-body { grid-template-columns: 1fr; }
}

.stores-map {
  position: sticky;
  top: 24px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
@media (max-width: 860px) {
  .stores-map { position: static; height: 340px; }
}

.stores-map .leaflet-popup-content { font-family: var(--font-body); font-size: 0.88rem; }
.stores-map .leaflet-popup-content strong { font-family: var(--font-display); }

.stores-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}
@media (max-width: 860px) {
  .stores-list { max-height: none; overflow-y: visible; }
}

.stores-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  scroll-margin-top: 24px;
}
.stores-card:hover { border-color: var(--line-2); }
.stores-card.is-active { border-color: var(--biru-boss); box-shadow: 0 0 0 1px var(--biru-boss); }
.stores-card.is-hidden { display: none; }

.stores-card-photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.stores-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stores-card-body { flex: 1; min-width: 0; }

.stores-card-city {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--biru-boss);
  margin-bottom: 4px;
}

.stores-card-distance {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  margin: 0 0 4px 8px;
}

.stores-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.stores-card-address {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 8px;
}

.stores-card-hours {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
  margin: 0 0 12px;
}
.stores-card-hours i { color: var(--text-3); }

.stores-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stores-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55em 1em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.stores-action:hover { border-color: var(--biru-boss); color: var(--biru-boss); }
.stores-action.btn-yellow { border: 0; } /* .btn-yellow already supplies its own fill/border */

.stores-action-directions.btn-yellow {
  padding: 0.55em 1em;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: normal;
}

/* css/components/section-closer.css */
.closer-section {
  background: var(--bg-3);
  padding-block: var(--section-y);
}

/* =====================================================================
   Closer — "bar" mode. Rounded, inset color card (not edge-to-edge),
   heading left, an outlined button right. Structural reference was a
   Nestlé careers-page CTA bar (solid color band + bordered button) but
   in BIRU's own blue instead of their magenta, contained within the
   page's normal width instead of full-bleed, and with a diagonal
   bottom-left-to-top-right wave fill on button hover instead of a flat
   color swap. Independent of .closer-section/.closer-cta above — no
   typewriter, no divider, just the site's standard .reveal fade.
   ===================================================================== */
/* padding-top: 0 — this follows an already-padded section (kbb-benefits),
   same convention as .cta-section in layout.css: without it the two
   stacked paddings read as an empty section between benefits and the bar. */
/* padding-inline here (not just on the inner .container div) is the fix for
   the bar going edge-to-edge on viewports narrower than --container (1280px)
   — e.g. common laptop widths. Below that width .container's width:100%
   simply fills the section with no margin, so .closer-bar's own `padding`
   shorthand (which overrides .container's padding-inline for left/right)
   was the only inset left, and it shrinks a lot at smaller sizes. This
   guarantees a real gutter gap on both sides at every size above the
   560px breakpoint, where the design intentionally goes full-bleed. */
.closer-bar-section { padding-block: var(--section-y); padding-top: 0; padding-inline: var(--gutter); background: var(--bg-3); }
.closer-bar {
  background: var(--biru-boss);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}
.closer-bar-heading {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
}

.closer-bar-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.7em 1.6em;
  border: 1.5px solid #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
.closer-bar-cta-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}
/* Wave fill: a white panel parked off the bottom-left corner, rotated so
   its leading edge reads as a diagonal wave front, sweeps up to cover
   the button on hover. Faster than a typical fill transition (~0.35s)
   per request. */
.closer-bar-cta::before {
  content: '';
  position: absolute;
  inset: -10% -30%;
  background: #fff;
  transform: translate(-115%, 115%) rotate(8deg);
  transform-origin: bottom left;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.closer-bar-cta:hover::before,
.closer-bar-cta:focus-visible::before {
  transform: translate(0, 0) rotate(0deg);
}
.closer-bar-cta:hover .closer-bar-cta-text,
.closer-bar-cta:focus-visible .closer-bar-cta-text {
  color: var(--biru-boss);
}

@media (max-width: 560px) {
  .closer-bar-section { padding-inline: 0; }
  .closer-bar { justify-content: center; text-align: center; border-radius: 0; }
  .closer-bar-cta { width: 100%; }
}

.closer-divider {
  width: 100%;
  line-height: 0;
}
.closer-divider svg {
  display: block;
  width: 100%;
  height: clamp(18px, 2.6vw, 30px);
  overflow: visible;
}
.closer-divider-line {
  fill: none;
  stroke: var(--biru-boss); 
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--dash-len, 2000);
  stroke-dashoffset: var(--dash-len, 2000);
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.closer-divider-line.is-drawing {
  stroke-dashoffset: 0;
}
.closer-divider-chevron {
  fill: none;
  stroke: var(--biru-yellow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.closer-divider-chevron.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.closer-inner {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.closer-heading {
  position: relative; /* anchors the absolutely-positioned caret below */
  margin: 0;
  font-weight: 500;
  font-size: var(--h2);
  line-height: 1.25;
}

.closer-heading-text {
  opacity: 0;
}
.closer-heading-text.tw-ready {
  opacity: 1;
}
.tw-char {
  opacity: 0;
}
.tw-char.is-visible {
  opacity: 1;
}
.closer-heading-caret {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 1em;
  background: var(--biru-boss);
  visibility: hidden;
  animation: closer-caret-blink 0.85s step-end infinite;
}
.closer-heading-caret.is-active {
  visibility: visible;
}
.closer-heading-caret.is-done {
  animation: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
@keyframes closer-caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.closer-cta {
  display: inline-flex;
  position: relative;
  margin-top: clamp(28px, 5vw, 48px);
  color: var(--biru-yellow);
  text-decoration: none;
}
.closer-cta-text {
  position: relative;
  display: inline-block;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.closer-cta-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.closer-cta-underline {
  position: absolute;
  left: -14%;
  bottom: -0.22em;
  width: 128%;
  height: 0.34em;
  overflow: visible;
}
.closer-cta-underline path {
  fill: none;
  stroke: var(--biru-boss);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--dash-len, 500);
  stroke-dashoffset: var(--dash-len, 500);
  transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.closer-cta-underline path.is-drawing {
  stroke-dashoffset: 0;
}

.closer-cta:hover .closer-cta-underline path,
.closer-cta:focus-visible .closer-cta-underline path {
  stroke: var(--accent-2);
}

@media (max-width: 560px) {
  .closer-cta-underline { left: -10%; width: 120%; }
}

/* css/components/bg-decoration.css */
/* Decorative background filler — prototype (2026-08-24), gated by
 * bg_decoration_enabled + bg_decoration_url. Intentionally unconstrained
 * (no pdf_layout check), so may overlap content on cramped pages. */
.subpage-content-inner {
  /* New stacking context, site-wide — no-op without bg-decoration but
     lets future widgets escape its z-index. */
  position: relative;
  z-index: 0;
}

.bg-decoration {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: auto;
  /* Bottom offset: bleeds into .subpage-content's bottom padding (flush
     with footer). Reads --subpage-content-pad-b to stay in sync; 100px
     fallback only if subpage.css is missing. */
  bottom: calc(-1 * var(--subpage-content-pad-b, 100px));
  right: 0;
  height: calc(65% + var(--subpage-content-pad-b, 100px));
  width: auto;
  max-width: 55%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.bg-decoration img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.9;
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 860px) {
/* Hide on narrow viewports — no leftover side-space at this breakpoint
   (pdf-preview.css goes single-column), avoids overlapping content. */
  .bg-decoration { display: none; }
}

/* css/components/wall-trace.css */
.walltrace-stage {
  position: relative;
  max-width: 560px;
  border: 1px solid var(--line-2, #ddd);
  border-radius: 6px;
  overflow: hidden;
  background: #f4f4f5;
}
.walltrace-imgwrap {
  position: relative;
  line-height: 0;
  cursor: crosshair;
  /* taps place points without double-tap zoom, but a swipe scrolls the page */
  touch-action: manipulation;
}
.walltrace-imgwrap img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.walltrace-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.walltrace-path {
  fill: rgba(255, 200, 0, 0.22);
  stroke: #ffc800;
  stroke-width: 0.006;
  vector-effect: non-scaling-stroke;
}
.walltrace-path.is-closed {
  fill: rgba(255, 200, 0, 0.32);
}
.walltrace-vertex {
  fill: #ffc800;
  stroke: #111;
  stroke-width: 0.004;
  vector-effect: non-scaling-stroke;
}
.walltrace-stage.is-finished .walltrace-imgwrap {
  cursor: default;
}

.walltrace-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.walltrace-btn {
  font-family: var(--font-body, inherit);
  font-size: 0.85rem;
  padding: 0.5em 1em;
  border: 1px solid var(--line-2, #ccc);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.walltrace-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.walltrace-btn-primary {
  background: #ffc800;
  border-color: #ffc800;
  font-weight: 600;
}

.walltrace-hint {
  font-size: 0.82rem;
  color: var(--text-2, #666);
  margin-top: 8px;
}

/* Dimmed, non-interactive outlines of other already-finished regions,
   shown while tracing/editing one region for spatial reference (§2.4).
   Dark + dashed rather than the active trace's solid yellow, so it reads
   against most interior photos regardless of wall color. */
.walltrace-reference-path {
  fill: rgba(255, 200, 0, 0.08);
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 0.005;
  stroke-dasharray: 0.012 0.008;
  vector-effect: non-scaling-stroke;
}

/* Multi-region wrapper (§2.4) */
.walltrace-multi-root { display: flex; flex-direction: column; gap: 10px; }
.walltrace-region-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.walltrace-region-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line-2, #ddd);
  border-radius: 6px;
  background: #f7f7f7;
}
.walltrace-region-row.is-active {
  border-color: #ffc800;
  background: rgba(255, 200, 0, 0.15);
}
.walltrace-region-label {
  font-family: var(--font-body, inherit);
  font-size: 0.85rem;
  flex: 1;
  color: #111;
}
.walltrace-region-label-input {
  flex: 1;
  font-family: var(--font-body, inherit);
  font-size: 0.85rem;
  padding: 0.35em 0.6em;
  border: 1px solid var(--line-2, #ccc);
  border-radius: 6px;
  background: #fff;
  color: #111;
}
.walltrace-region-select,
.walltrace-region-remove {
  padding: 0.35em 0.8em;
  font-size: 0.8rem;
}
.walltrace-region-remove {
  padding: 0.35em 0.7em;
  line-height: 1;
  color: #a33;
}
.walltrace-add-region {
  align-self: flex-start;
  background: #fff;
  color: #111;
}

/* css/components/color-visualizer.css */
.color-visualizer { margin-top: clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); }

.color-visualizer-landing {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) {
  .color-visualizer-landing { grid-template-columns: 1fr 1fr; align-items: start; }
}

.color-visualizer-choice h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.color-visualizer-templates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.color-visualizer-template {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}
.color-visualizer-template img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
}
.color-visualizer-template span {
  display: block;
  font-size: 0.78rem;
  padding: 6px 8px;
  color: var(--text-2);
}
.color-visualizer-template:hover { border-color: var(--text-1); }

.color-visualizer-upload { display: inline-block; cursor: pointer; }
.color-visualizer-privacy-note {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 10px;
  max-width: 40ch;
}

.color-visualizer-workspace {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .color-visualizer-workspace { grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); align-items: start; }
}

.color-visualizer-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.color-visualizer-canvas-wrap {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 14px;
}
.color-visualizer-canvas-wrap canvas { display: block; width: 100%; height: auto; border-radius: 6px; }

.color-visualizer-trace-done {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #ffc800;
  border-color: #ffc800;
  font-weight: 600;
  cursor: pointer;
}
.color-visualizer-trace-done:disabled { opacity: 0.45; cursor: not-allowed; }

.color-visualizer-edit-walls {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  cursor: pointer;
}

.color-visualizer-region-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.color-visualizer-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.4em 0.9em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
.color-visualizer-region-pill.is-active {
  border-color: var(--text-1);
  background: var(--bg-2, #f5f5f5);
  font-weight: 600;
}
.color-visualizer-region-pill-swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.color-visualizer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.color-visualizer-picker { display: flex; flex-direction: column; gap: 12px; }
.color-visualizer-field { position: relative; display: flex; flex-direction: column; gap: 4px; }
.color-visualizer-field label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.color-visualizer-field select,
.color-visualizer-field input[type="text"] {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.6em 0.9em;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.color-visualizer-field input:disabled { opacity: 0.5; }

.color-visualizer-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.color-visualizer-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 0.5em 0.8em;
  font-size: 0.88rem;
  background: none;
  border: none;
  cursor: pointer;
}
.color-visualizer-suggestion:hover { background: var(--bg-2, #f5f5f5); }
.color-visualizer-suggestion-empty { color: var(--text-2); cursor: default; }
.color-visualizer-suggestion-swatch {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.color-visualizer-status { font-size: 0.85rem; color: var(--text-2); }

.color-visualizer-download-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.color-visualizer-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-2);
}
.color-visualizer-format select {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.3em 0.5em;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

.color-visualizer-download,
.color-visualizer-restart {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
/* css/components/modal.css */
/* ==========================================================================
   Shared overlay motion + page scroll lock — driven by core/modal.js
   (.modal-anim = armed, .is-open = shown, .is-closing = fading out).
   Open is a touch slower than close so dismissing feels snappy.
   prefers-reduced-motion is already handled globally in base/reset.css
   (transition-duration collapses to ~0), so the overlays just appear/vanish.
   ========================================================================== */

/* ---- root fade (scrim + everything inside fades together) ---- */
.modal-anim {
  opacity: 0;
  transition: opacity 160ms var(--ease);
}
.modal-anim.is-open {
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease);
}

/* ---- content panel: small rise + scale on top of the fade ---- */
.modal-anim > :is(
  .bm-modal-stage,
  .pm-modal-stage,
  .nm-modal-box,
  .ja-modal-box,
  .product-info-modal-box,
  .pdf-lightbox-box,
  .content-3d-lightbox-box
) {
  transform: translateY(12px) scale(0.96);
  transition: transform 160ms var(--ease);
}
.modal-anim.is-open > :is(
  .bm-modal-stage,
  .pm-modal-stage,
  .nm-modal-box,
  .ja-modal-box,
  .product-info-modal-box,
  .pdf-lightbox-box,
  .content-3d-lightbox-box
) {
  transform: none;
  transition: transform var(--dur-fast) var(--ease);
}

/* ---- image lightboxes: fade only, image eases in with a slight scale
        (no vertical travel — it's a photo viewer, not a dialog) ---- */
.modal-anim .gallery-lightbox-stage,
.modal-anim.ja-preview-lightbox img {
  transform: scale(0.97);
  transition: transform 160ms var(--ease);
}
.modal-anim.is-open .gallery-lightbox-stage,
.modal-anim.is-open.ja-preview-lightbox img {
  transform: none;
  transition: transform var(--dur-fast) var(--ease);
}

/* ---- page scroll lock ---- */
html.modal-open {
  overflow: hidden;
  /* gives back the width the vanished scrollbar took (0 on overlay-scrollbar
     devices), so the page doesn't shift sideways */
  padding-right: var(--modal-sbw, 0px);
}
html.modal-open .site-header { padding-right: var(--modal-sbw, 0px); }

/* scrolling to the end of a modal must not start scrolling the page behind it */
.bm-modal, .pm-modal, .nm-modal, .ja-modal,
.product-info-modal, .pdf-lightbox, .content-3d-lightbox,
.bm-modal-box, .pm-modal-box,
.bm-modal-panel--text, .pm-modal-panel--text,
.nm-modal-scroll, .ja-modal-scroll,
.product-info-modal-box {
  overscroll-behavior: contain;
}

/* css/pages/life-at-biru.css */
:root {
  --lab-dim: #f4f6fa;
}

.lab-body { background: var(--bg-3); }

.lab-section {
  padding-block: var(--section-y);
}
.lab-section-inner,
.lab-blog-inner {
  max-width: var(--container);
  margin-inline: auto;
}
.lab-blog-inner,
.lab-gallery-inner {
  max-width: none;
  margin-inline: 0;
}

.lab-testimonials { background: var(--bg-3); overflow: hidden; padding-block: 0; }
.lab-culture       { background: var(--lab-dim); overflow: hidden; padding-block: 0; }
.lab-blog           { background: var(--bg-3); }
.lab-gallery        { background: var(--bg-3); padding-top: 0; }

.lab-opener { background: var(--bg-3); }
.lab-opener-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: clamp(28px, 5vw, 56px);
  padding-inline: var(--gutter);
}
.lab-opener-heading {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 400;
  font-size: calc(var(--h1) * 0.75);
}
.lab-hl { font-style: normal; font-size: 1.2em; color: #000; }
.lab-opener-heading .lab-hl { font-size: 1.15em; font-weight: 700; }

.lab-opener-body {
  grid-column: 1 / 2;
  max-width: 46ch;
}
.lab-opener-body p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.lab-opener-art {
  grid-column: 2 / 3;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: min(220px, 80%);
  height: auto;
}

.lab-opener-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform var(--dur) var(--ease);
}
.lab-opener-bar:nth-child(1) { transition-delay: 0s; }
.lab-opener-bar:nth-child(2) { transition-delay: 0.1s; }
.lab-opener-bar:nth-child(3) { transition-delay: 0.2s; }
.lab-opener-bar:nth-child(4) { transition-delay: 0.3s; }
.lab-opener.is-visible .lab-opener-bar { transform: scaleY(1); }

.lab-opener-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset var(--dur) var(--ease);
  transition-delay: 0.55s;
}
.lab-opener.is-visible .lab-opener-line { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .lab-opener-bar { transform: scaleY(1); transition: none; }
  .lab-opener-line { stroke-dashoffset: 0; transition: none; }
}

@media (max-width: 860px) {
  .lab-opener-inner { grid-template-columns: 1fr; padding-inline: var(--gutter); }
  .lab-opener-body { grid-column: 1 / -1; max-width: none; }
  .lab-opener-art { display: none; }
}

.lab-testimonials-head-band { background: var(--lab-dim); }
.lab-testimonials-head {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
  padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.lab-testimonials-heading { text-transform: uppercase; margin: 0; }

.lab-testimonials-track { position: relative; display: grid; overflow: hidden; cursor: grab; touch-action: pan-y; }
.lab-testimonials-track.is-dragging { cursor: grabbing; user-select: none; }
.lab-testimonials-track.is-dragging * { user-select: none; }

.lab-testimonial {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  min-height: 460px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0);
  z-index: 1;
}
.lab-testimonial.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform var(--dur) var(--ease);
  z-index: 2;
}

.lab-testimonial.is-incoming-right { opacity: 1; visibility: visible; transform: translateX(100%); transition: none; z-index: 2; }
.lab-testimonial.is-incoming-left  { opacity: 1; visibility: visible; transform: translateX(-100%); transition: none; z-index: 2; }

.lab-testimonial.is-leaving-left  { opacity: 1; visibility: visible; transform: translateX(-100%); transition: transform var(--dur) var(--ease); z-index: 1; }
.lab-testimonial.is-leaving-right { opacity: 1; visibility: visible; transform: translateX(100%); transition: transform var(--dur) var(--ease); z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .lab-testimonial,
  .lab-testimonial.is-active,
  .lab-testimonial.is-incoming-right,
  .lab-testimonial.is-incoming-left,
  .lab-testimonial.is-leaving-left,
  .lab-testimonial.is-leaving-right { transition: none; transform: translateX(0); }
}

@media (min-width: 861px) {
  .lab-testimonials-track { height: var(--lab-slide-vh, 640px); }
  .lab-testimonial { min-height: 0; height: 100%; }
  .lab-testimonial-copy { max-height: 100%; min-height: 0; }
  .lab-testimonial-quote { overflow-y: auto; min-height: 0; }
}

.lab-testimonial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline-start: var(--gutter);
  padding-inline-end: clamp(24px, 5vw, 64px);
  padding-block: clamp(40px, 6vw, 72px);
}
.lab-testimonial-photo { overflow: hidden; }
.lab-testimonial-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-testimonial-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(20px, 3vw, 28px);
  max-width: 560px;
}
.lab-testimonial-arrow {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.lab-testimonial-arrow:hover,
.lab-testimonial-arrow:focus-visible {
  background: var(--biru-boss);
  border-color: var(--biru-boss);
  color: var(--accent-ink);
  transform: scale(1.06);
}

.lab-testimonial-pause {
  width: 34px;
  height: 34px;
  margin-left: 2px;
}
.lab-testimonial-pause .lab-icon-play { display: none; }
.lab-testimonial-pause.is-paused .lab-icon-pause { display: none; }
.lab-testimonial-pause.is-paused .lab-icon-play { display: block; }

.lab-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 3rem + 2vw, 5rem);
  line-height: 1;
  color: var(--biru-royal);
  opacity: 0.9;
  margin-bottom: -0.2em;
}
.lab-testimonial-quote {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(0.79rem, 0.51rem + 0.9vw, 1.55rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--text);
  max-width: 560px;
}
.lab-testimonial-name { margin: 0 0 2px; font-weight: 700; color: var(--text); }
.lab-testimonial-role { margin: 0; color: var(--text-2); font-size: 0.92rem; }

.lab-testimonial-dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 10px;
}
.lab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.lab-dot:hover { background: var(--accent-2); }
.lab-dot.is-active { background: var(--biru-boss); transform: scale(1.15); }

@media (max-width: 860px) {
  .lab-testimonial { grid-template-columns: 1fr; min-height: 0; }
  .lab-testimonial-photo { order: -1; min-height: 280px; }
  .lab-testimonial-copy { padding-inline: var(--gutter); }
}

.lab-culture-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: 460px;
}
.lab-culture-photo { overflow: hidden; }
.lab-culture-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lab-culture-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline-start: clamp(24px, 5vw, 64px);
  padding-inline-end: var(--gutter);
  padding-block: clamp(40px, 6vw, 72px);
  max-width: 680px;
}
.lab-culture-heading { margin: 14px 0 18px; }
.lab-culture-body { margin-bottom: 26px; color: var(--text-2); line-height: 1.7; }
.lab-culture-body p { margin: 0 0 1em; color: inherit; }
.lab-culture-body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .lab-culture-inner { grid-template-columns: 1fr; min-height: 0; }
  .lab-culture-photo { min-height: 280px; }
  .lab-culture-text { padding-inline: var(--gutter); max-width: none; }
}

/* Alternate photo/text side for the repeatable culture-pillar blocks
   (culture-blocks.php) — same column ratio, flipped via order so the
   markup stays photo-then-text regardless of visual side. */
.lab-culture-inner--reverse .lab-culture-photo { order: 2; }
.lab-culture-inner--reverse .lab-culture-text {
  order: 1;
  padding-inline-start: var(--gutter);
  padding-inline-end: clamp(24px, 5vw, 64px);
}
@media (max-width: 860px) {
  .lab-culture-inner--reverse .lab-culture-photo { order: -1; }
  .lab-culture-inner--reverse .lab-culture-text { order: 0; padding-inline: var(--gutter); }
}

.lab-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}
.lab-blog-heading { margin: 10px 0 0; }

.lab-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.lab-blog-card { display: block; }
.lab-blog-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.lab-blog-thumb--empty { background: var(--bg-2); }
.lab-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0) contrast(1);
  transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.lab-blog-card:hover .lab-blog-thumb img {
  filter: brightness(1.04);
  transform: scale(1.03);
}

.lab-blog-card-body { padding-top: 14px; }
.lab-blog-card-category {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--biru-boss);
}
.lab-blog-card-title {
  margin: 0;
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

@media (max-width: 860px) {
  .lab-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lab-blog-grid { grid-template-columns: 1fr; }
  .lab-blog-head { align-items: flex-start; }
}

.lab-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}
.lab-gallery-heading { margin: 10px 0 0; }

.lab-gallery-grid.gallery {
  max-width: none;
  margin-inline: 0;
  margin-top: 0;
}

@media (max-width: 900px) {
  .lab-gallery-head { align-items: flex-start; }
}

/* Culture cluster opener — centered, text-only intro before the culture
   pillar blocks (culture-cluster-opener.php). Replaces the old
   "Satu Tim, Satu Tujuan" photo band. */
.lab-culture-intro {
  background: var(--lab-dim);
  padding-block: var(--section-y);
}
.lab-culture-intro-inner { width: 100%; }
.lab-culture-intro-inner {
  max-width: 640px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.lab-culture-intro-inner .eyebrow { justify-content: center; margin-bottom: 14px; }
.lab-culture-intro-inner .lab-culture-heading { margin: 0 0 16px; }
.lab-culture-intro-inner .lab-culture-body { margin-bottom: 0; }
.lab-culture-intro-inner .lab-culture-body p { margin: 0; }

/* Culture cluster closer — centered pull-quote wrapping up the cluster
   before the page's final Join Us CTA (culture-cluster-closer.php). */
.lab-culture-outro {
  background: var(--bg-3);
  padding-block: var(--section-y);
}
.lab-culture-outro-quote { width: 100%; }
.lab-culture-outro-quote {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.lab-culture-outro-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent-2);
  opacity: 0.35;
  margin-bottom: 6px;
}
.lab-culture-outro-quote p { margin: 0; }

/* Culture cluster divider — thin, quiet group-marker label sitting between
   the Budaya and Prinsip pillar blocks (culture-divider.php). Deliberately
   smaller than the shared .lab-section padding — contrast with the
   animated chevron divider used before the final CTA, and with the fuller
   .lab-culture-intro block above it. Background matches the pillar blocks
   (.lab-culture) it sits between, rather than the page's base background,
   so it doesn't read as a seam. */
.lab-culture-divider {
  --culture-divider-fs: 1.2rem;
  background: #eef0f5;
  padding-block: clamp(14px, 3vw, 24px);
}
.lab-culture-divider .eyebrow { font-size: var(--culture-divider-fs); }
.lab-culture-divider-inner {
  width: 100%;
}
/* Budaya: left-aligned, keeps the base .eyebrow's leading tick only. */
.lab-culture-divider--start .lab-culture-divider-inner { text-align: left; padding-left: clamp(12px, 2vw, 20px); }
/* Prinsip: right-aligned, and the tick moves to trail the text instead —
   swap the leading ::before for a trailing ::after so it still points
   toward the content column rather than off the page edge. */
.lab-culture-divider--end .lab-culture-divider-inner { text-align: right; padding-right: clamp(12px, 2vw, 20px); }
.lab-culture-divider--end .eyebrow::before { content: none; }
.lab-culture-divider--end .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--biru-boss);
  opacity: 0.7;
}

/* Note: previously had extra top padding here for breathing room above the
   first pillar block, but that now sits directly under culture-divider.php
   and reads as an unwanted gap, so it's been removed. */

/* css/pages/karir-bersama-biru.css */
:root {
  --kbb-dim: #f4f6fa;
}

.kbb-body { background: var(--bg-3); }

.kbb-section { padding-block: var(--section-y); }

.kbb-team-inner { max-width: none; margin-inline: 0; }

/* =====================================================================
   Growth opener — split layout (heading left, body right), own markup
   scoped to this page. Replaces the old centered lab-culture-intro band;
   deliberately not using .kbb-opener-inner's proportions so this reads
   distinct from the page's top "Join our mission" opener, not a repeat
   of it.
   ===================================================================== */
.kbb-growth-opener { background: var(--bg-3); padding-block: var(--section-y); }
.kbb-growth-opener-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-inline: var(--gutter);
}
.kbb-growth-opener-heading { grid-column: 1 / 2; }
.kbb-growth-opener-heading .eyebrow { margin-bottom: 14px; }
.kbb-growth-opener-heading .lab-culture-heading { margin: 0; }

.kbb-growth-opener-body { grid-column: 2 / 3; max-width: 56ch; margin: 0; }
.kbb-growth-opener-body p { margin: 0 0 1em; color: var(--text-2); line-height: 1.7; }
.kbb-growth-opener-body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .kbb-growth-opener-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .kbb-growth-opener-heading,
  .kbb-growth-opener-body { grid-column: 1 / -1; max-width: none; }
}

/* =====================================================================
   Growth pillars — styled after the "layanan" services widget
   (page-content/services.php / services.css): contained width, photo in
   a rounded/shadowed frame, text in a bordered ghost card with an
   accent left edge, numbered eyebrow. Unlike services.css this does NOT
   alternate — photo stays left, text stays right on every row, so it
   reads distinct from Life at BIRU's zigzag pillars rather than a copy
   of it. Proportions (5fr/7fr split, card padding, image aspect ratio)
   intentionally match services.css so it doesn't invent a third visual
   language on the site.
   ===================================================================== */
.kbb-pillars { background: var(--bg-3); }
.kbb-pillars-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.kbb-pillar-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

@media (max-width: 720px) {
  .kbb-pillar-item { grid-template-columns: 1fr; }
}

.kbb-pillar-img-wrap {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kbb-pillar-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kbb-pillar-body {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--biru-boss);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  background: transparent;
}

.kbb-pillar-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 8px;
}

.kbb-pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--biru-royal);
  font-size: var(--h4);
  margin: 0 0 12px;
}

.kbb-pillar-desc { margin: 0; }
.kbb-pillar-desc p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}

/* =====================================================================
   Opener — "Join our mission..." intro
   ===================================================================== */
.kbb-opener { background: var(--bg-3); }
.kbb-opener-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: clamp(28px, 5vw, 56px);
  padding-inline: var(--gutter);
}
.kbb-opener-heading {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 400;
  font-size: calc(var(--h1) * 0.5625);
}

.lab-hl { font-style: normal; font-size: 1.2em; color: #000; }

.kbb-opener-heading .lab-hl { font-size: 1.15em; font-weight: 700; }

.kbb-opener-body { grid-column: 2 / 3; max-width: 46ch; }
.kbb-opener-body p { margin: 0; color: var(--text-2); font-size: calc(var(--fs-lead) * 0.75); line-height: 1.6; }

.kbb-opener-art {
  grid-column: 1 / 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: min(220px, 80%);
  height: auto;
}

.kbb-opener-art.is-armed path {
  stroke-dasharray: var(--kbb-line-len, 0);
  stroke-dashoffset: var(--kbb-line-len, 0);
  transition: stroke-dashoffset 1.1s var(--ease);
}
.kbb-opener-art.is-armed.is-drawn path { stroke-dashoffset: 0; }

.kbb-opener-art.is-armed circle {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box; 
  transform-origin: center;
}
.kbb-opener-art.is-armed.is-drawn circle {
  animation: kbb-dot-pop 0.4s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes kbb-dot-pop {
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .kbb-opener-art path,
  .kbb-opener-art circle { transition: none; animation: none; }
  .kbb-opener-art.is-armed path { stroke-dashoffset: 0; }
  .kbb-opener-art.is-armed circle { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .kbb-opener-inner { grid-template-columns: 1fr; padding-inline: var(--gutter); }
  .kbb-opener-body { grid-column: 1 / -1; max-width: none; }
  .kbb-opener-art { display: none; }
}

.kbb-two-step { background: var(--kbb-dim); }

.kbb-two-step-inner { max-width: none; margin-inline: 0; }

.kbb-two-step-inner:not(.has-text) img {
  display: block;
  width: 100%;
  height: auto;
}

.kbb-two-step-inner.has-text {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 116px);
  padding-inline: var(--gutter);
}
/* Restored to text-left/image-right (was briefly reversed to image-first,
   text-second — see git history). Using `order` rather than swapping the
   markup so the DOM/reading order for screen readers is unaffected. */
.kbb-two-step-card { order: 2; }
.kbb-two-step-text { order: 1; }
.kbb-two-step-heading {
  margin: 0 0 18px;
  font-size: clamp(2.05rem, 1.2rem + 3.4vw, 5rem);
}
.kbb-two-step-body {
  margin-bottom: 26px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: clamp(1.02rem, 0.85rem + 0.5vw, 1.25rem);
}
.kbb-two-step-body p { margin: 0 0 1em; color: inherit; }
.kbb-two-step-body p:last-child { margin-bottom: 0; }

.kbb-two-step-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.5vw, 48px);
}
.kbb-two-step-card img { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .kbb-two-step-inner { padding-inline: var(--gutter); }
  .kbb-two-step-inner.has-text { grid-template-columns: 1fr; row-gap: clamp(20px, 5vw, 32px); }
}

/* =====================================================================
   Careers-and-growth band — same shape as Life at BIRU's culture band
   ===================================================================== */
.kbb-growth { background: var(--kbb-dim); overflow: hidden; padding-block: 0; }
.kbb-growth-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: 460px;
}
.kbb-growth-photo { overflow: hidden; }
.kbb-growth-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kbb-growth-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: min(760px, 100%);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 96px);
  padding-block: clamp(40px, 6vw, 116px);
}
.kbb-growth-heading {
  margin: 14px 0 18px;
  font-size: clamp(2.05rem, 1.2rem + 3.4vw, 5rem);
}
.kbb-growth-body {
  margin-bottom: 26px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: clamp(1.02rem, 0.85rem + 0.5vw, 1.25rem);
}
.kbb-growth-body p { margin: 0 0 1em; color: inherit; }
.kbb-growth-body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .kbb-growth-inner { grid-template-columns: 1fr; min-height: 0; }
  .kbb-growth-photo { min-height: 280px; }
  .kbb-growth-text { padding-inline: var(--gutter); width: 100%; margin-inline: 0; }
}

.kbb-team { background: var(--kbb-dim); }

.kbb-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 116px);
}

.kbb-team-head { max-width: 460px; }
.kbb-team-heading {
  margin: 8px 0 0;
  font-size: clamp(2.05rem, 1.2rem + 3.4vw, 5rem);
}
.kbb-team-body {
  margin: 18px 0 0;
  color: var(--text-2);
  line-height: 1.7;
  font-size: clamp(1.02rem, 0.85rem + 0.5vw, 1.25rem);
}
.kbb-team-body p { margin: 0 0 1em; color: inherit; }
.kbb-team-body p:last-child { margin-bottom: 0; }
.kbb-team-head .btn-yellow { margin-top: 22px; }

/* ---- Carousel ---- */
.kbb-team-carousel { position: relative; }

.kbb-team-counter {
  margin: 0 0 14px;
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(14px, 1vw, 18px);
  letter-spacing: 0.03em;
  color: var(--text-2);
}

.kbb-team-stage {
  position: relative;
  height: clamp(360px, 34vw, 650px);
}

.kbb-team-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(clamp(300px, 24vw, 460px), 58%);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.68);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  z-index: 1;
}
.kbb-team-card.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
}
.kbb-team-card.is-peek-next,
.kbb-team-card.is-peek-prev {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}
.kbb-team-card.is-peek-next { transform: translate(calc(-50% + 46%), calc(-50% - 24%)) scale(0.66); }
.kbb-team-card.is-peek-prev { transform: translate(calc(-50% - 46%), calc(-50% + 24%)) scale(0.66); }

.kbb-team-card-photo { position: absolute; inset: 0; }
.kbb-team-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kbb-team-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Same rgb triple as --biru-ink / --overlay (tokens.css). */
  background: linear-gradient(180deg,
    rgba(6, 11, 23, 0.12) 0%,
    rgba(6, 11, 23, 0) 32%,
    rgba(6, 11, 23, 0) 52%,
    rgba(6, 11, 23, 0.85) 100%);
}

.kbb-team-card-scrim {
  position: absolute;
  inset: auto 0 0 0;
  /* 2026-08-13 widget enlarge — scaled up along with the card itself. */
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(16px, 1.8vw, 22px);
  color: #fff;
}
.kbb-team-card-dept {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(11px, 0.85vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.kbb-team-card-name { margin: 0 0 2px; font-size: clamp(17px, 1.35vw, 24px); color: #fff; }
.kbb-team-card-title { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: clamp(13px, 1vw, 17px); }

.kbb-team-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 46px);
  margin-top: clamp(18px, 2.4vw, 46px);
}
.kbb-team-arrow {
  flex: none;
  width: clamp(40px, 3vw, 52px);
  height: clamp(40px, 3vw, 52px);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.kbb-team-arrow:hover,
.kbb-team-arrow:focus-visible {
  background: var(--biru-boss);
  border-color: var(--biru-boss);
  color: var(--accent-ink);
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .kbb-team-card { transition: none; }
}

@media (max-width: 860px) {
  .kbb-team-grid { grid-template-columns: 1fr; row-gap: clamp(28px, 5vw, 48px); }
  .kbb-team-head { max-width: none; }
  /* Card width is a variable so the stage can be exactly as tall as the
   * card (3:4). The old fixed stage height (320px on phones) was shorter
   * than the 373px card, so it overlapped the counter and the arrows. */
  .kbb-team-carousel { --kbb-card-w: min(280px, 74vw); }
  /* Hidden peeks are parked behind the active card instead of sitting at
   * their desktop offsets, where the invisible "next" card pushed past the
   * right edge and caused a sideways page scroll. */
  .kbb-team-card.is-peek-next,
  .kbb-team-card.is-peek-prev {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.68);
  }
  .kbb-team-stage { height: calc(var(--kbb-card-w) * 4 / 3); }
  .kbb-team-card { width: var(--kbb-card-w); }
}

.kbb-gallery { background: var(--bg-3); padding-top: 0; }

.kbb-gallery-inner {
  max-width: none;
  margin-inline: 0;
}

.kbb-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}
.kbb-gallery-heading { margin: 10px 0 0; }

.kbb-gallery-grid.gallery {
  max-width: none;
  margin-inline: 0;
  margin-top: 0;
}

@media (max-width: 900px) {
  .kbb-gallery-head { align-items: flex-start; }
}

/* =====================================================================
   Benefits grid — sits after Team carousel, before Closer. Light-themed
   card grid (photo top, title, short body); deliberately not Nestle's
   dark cards — plain white surfaces matching the rest of the site.
   ===================================================================== */
.kbb-benefits { background: var(--bg-3); }

.kbb-benefits-head { max-width: 640px; margin-inline: auto; text-align: center; }
.kbb-benefits-heading { margin: 10px 0 0; }

.kbb-benefits-grid {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.kbb-benefits-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kbb-benefits-card-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.kbb-benefits-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.kbb-benefits-card-body { padding: clamp(18px, 2vw, 26px); }
.kbb-benefits-card-title {
  margin: 0 0 8px;
  font-size: var(--h4);
  color: var(--biru-boss);
}
.kbb-benefits-card-text {
  margin: 0;
  color: var(--text-2);
  line-height: 1.6;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .kbb-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .kbb-benefits-grid { grid-template-columns: 1fr; }
}

/* Extra white space above the closer chevron divider — Karir Bersama BIRU
   only, kept as a standalone spacer rather than touching section-closer's
   own CSS/markup, since that component is shared with Life at BIRU. */
.kbb-closer-spacer { background: var(--bg-3); height: clamp(40px, 6vw, 96px); }

/* css/pages/bergabung-dengan-tim.css */
.bdt-body { background: var(--bg-3); }
.bdt-listing { padding-block: var(--section-y); }

/* ---------------------------------------------------------------------
   Filter bar
   --------------------------------------------------------------------- */
.bdt-filters {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 22px);
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.bdt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.bdt-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 420px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: 0 14px;
}
.bdt-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-family: var(--font-body);
  color: var(--text);
}
.bdt-search input:focus { outline: none; }
.bdt-search i { color: var(--text-3); font-size: 0.9rem; }
.bdt-search:focus-within { border-color: var(--biru-boss); }
.bdt-search:focus-within i { color: var(--biru-boss); }

.bdt-dropdown { position: relative; flex: 0 0 auto; }

/* Mobile-only helpers (see the max-width: 640px block). On desktop the chip
 * wrapper adds no box of its own, so the toolbar lays out exactly as before. */
.bdt-chips { display: contents; }
.bdt-dropdown-facet,
.bdt-sheet-title,
.bdt-clear,
.bdt-sheet-backdrop { display: none; }

.bdt-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  max-width: 220px;
  padding: 9px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text-3);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
@media (hover: hover) {
  .bdt-dropdown-trigger:hover { border-color: var(--biru-boss); color: var(--biru-boss); }
}
.bdt-dropdown-trigger:focus-visible { border-color: var(--biru-boss); color: var(--biru-boss); }
.bdt-dropdown.is-open .bdt-dropdown-trigger { border-color: var(--biru-boss); color: var(--biru-boss); }

.bdt-dropdown-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bdt-dropdown-trigger i { font-size: 0.8rem; flex: none; }

.bdt-dropdown-caret { width: 9px; height: 9px; flex: none; transition: transform var(--dur-fast) var(--ease); }
.bdt-dropdown.is-open .bdt-dropdown-caret { transform: rotate(180deg); }

.bdt-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  min-width: 200px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
}
.bdt-dropdown.is-open .bdt-dropdown-panel { opacity: 1; visibility: visible; transform: none; }

.bdt-dropdown-option {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.bdt-dropdown-option:hover { background: var(--bg-2); color: var(--text); }
.bdt-dropdown-option.is-active { color: var(--biru-boss); }

.bdt-count-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.bdt-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
}
.bdt-count [data-bdt-count-num] { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------------
   Card grid
   --------------------------------------------------------------------- */
.bdt-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bdt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bdt-card:hover,
.bdt-card:focus-visible {
  border-color: var(--biru-boss);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.bdt-card-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bdt-card-eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--biru-boss);
}
.bdt-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h4);
  font-weight: 500;
  color: var(--text);
}

.bdt-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.bdt-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  color: var(--text-2);
}
.bdt-tag-closing { background: rgba(245, 180, 0, 0.14); color: #8a6300; }

.bdt-card-meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  flex-shrink: 0;
  white-space: nowrap;
}
.bdt-card-posted { font-size: 0.82rem; color: var(--text-3); }
.bdt-card-arrow {
  font-size: 1.2rem;
  color: var(--biru-boss);
  transition: transform var(--dur-fast) var(--ease);
}
.bdt-card:hover .bdt-card-arrow,
.bdt-card:focus-visible .bdt-card-arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .bdt-card { flex-direction: column; align-items: flex-start; }
  .bdt-card-meta { flex-direction: row-reverse; justify-content: space-between; width: 100%; }
}

/* Mobile filters: search on top, one scrollable row of filter chips, and each
 * chip's options open as a bottom sheet (the same .bdt-dropdown-panel, just
 * fixed to the bottom of the screen). */
@media (max-width: 640px) {
  .bdt-filters { gap: 12px; }
  /* nowrap: with the inherited flex-wrap: wrap, a column toolbar is
   * multi-line, so every item stretches to the widest one (the chip row's
   * full content width) and the search box and page overflowed sideways. */
  .bdt-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; min-width: 0; }
  .bdt-search { flex: 1 1 auto; max-width: none; }

  .bdt-chips {
    display: flex;
    min-width: 0;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bdt-chips::-webkit-scrollbar { display: none; }
  /* Scroll hint: the row fades out on any side that has more chips beyond
   * it. has-more-left / has-more-right are set by bergabung-dengan-tim.js
   * from the scroll position, so each fade disappears at its end. */
  .bdt-chips {
    --bdt-fade-l: 0px;
    --bdt-fade-r: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--bdt-fade-l), #000 calc(100% - var(--bdt-fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--bdt-fade-l), #000 calc(100% - var(--bdt-fade-r)), transparent 100%);
  }
  .bdt-chips.has-more-left { --bdt-fade-l: 28px; }
  .bdt-chips.has-more-right { --bdt-fade-r: 28px; }
  .bdt-dropdown { flex: 0 0 auto; }

  .bdt-dropdown-trigger {
    width: auto;
    max-width: none;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 999px;
  }
  .bdt-dropdown-trigger > i { display: none; }
  .bdt-dropdown-facet { display: inline; }
  .bdt-dropdown-trigger-label { display: none; }
  .bdt-dropdown.is-filtered .bdt-dropdown-trigger-label { display: inline; max-width: 120px; }
  .bdt-dropdown.is-filtered .bdt-dropdown-facet::after { content: ':'; }
  .bdt-dropdown.is-filtered .bdt-dropdown-trigger {
    background: var(--biru-boss);
    border-color: var(--biru-boss);
    color: var(--accent-ink);
  }

  .bdt-clear {
    display: inline-flex;
    flex: none;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--biru-boss);
    text-decoration: underline;
    cursor: pointer;
  }
  .bdt-clear[hidden] { display: none; }

  /* Bottom sheet */
  .bdt-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(6, 11, 23, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
  }
  html.bdt-sheet-open .bdt-sheet-backdrop { opacity: 1; visibility: visible; transition: opacity var(--dur-fast) var(--ease), visibility 0s; }
  html.bdt-sheet-open,
  html.bdt-sheet-open body { overflow: hidden; }

  .bdt-dropdown-panel {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    min-width: 0;
    max-height: 70vh;
    max-height: 70dvh;
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
    padding: 6px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    opacity: 1;
    transform: translateY(100%);
    transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .bdt-dropdown.is-open .bdt-dropdown-panel { transform: none; transition: transform var(--dur) var(--ease), visibility 0s; }

  .bdt-sheet-title {
    display: block;
    margin: 0;
    padding: 18px 10px 8px;
    position: relative;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
  }
  .bdt-sheet-title::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: var(--line-2);
  }
  .bdt-dropdown-option { font-size: 1rem; padding: 14px 12px; }
  .bdt-dropdown-option.is-active { background: var(--bg-2); }
}

/* Touch screens: no outline ring left on a chip after a tap (keyboard focus
 * rings elsewhere are unaffected). */
@media (max-width: 640px) and (hover: none) {
  .bdt-dropdown-trigger:focus-visible { outline: none; }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .bdt-dropdown-panel,
  .bdt-sheet-backdrop { transition: none; }
}

/* ---------------------------------------------------------------------
   Empty / no-results / show more
   --------------------------------------------------------------------- */
.bdt-empty,
.bdt-no-results {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 0;
  color: var(--text-3);
  font-size: var(--fs-lead);
}

.bdt-showmore-wrap { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 36px); }
.bdt-showmore {
  font: inherit;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.bdt-showmore:hover,
.bdt-showmore:focus-visible { border-color: var(--biru-boss); color: var(--biru-boss); }

