:root {
  --blue: #143CAE;
  --blue-deep: #0E2C82;
  --cyan: #0094C2;
  --gold: #EFCD07;
  --coral: #EE645A;

  --ink: #14161A;
  --ink-soft: rgba(20, 22, 26, 0.66);
  --paper: #FFFFFF;
  --mist: #F5F6F9;
  --line: rgba(20, 22, 26, 0.10);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "Space Mono", monospace;

  --wrap: 1240px;
  --chain-gradient: linear-gradient(90deg, var(--cyan) 0%, var(--coral) 52%, var(--gold) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--chain-gradient);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; display: block; }

/* ---------- Nav ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.nav-link.is-current { color: var(--blue); font-weight: 600; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--chain-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-item.is-open .nav-link::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-item.is-open .nav-link {
  color: var(--blue);
}

.nav-link-ext {
  color: var(--ink-soft);
}
.nav-link-ext svg { opacity: 0.7; }

.chev {
  transition: transform 0.2s ease;
  color: var(--ink-soft);
}
.nav-item.is-open > .nav-trigger .chev { transform: rotate(180deg); color: var(--blue); }

.nav-item { position: relative; }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(760px, 84vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(20, 22, 26, 0.18);
  padding: 28px 28px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mega-label {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
}

.mega-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.cat-chev { display: none; }

.mega-col { display: flex; flex-direction: column; }
.mega-col--cyan { --accent: var(--cyan); --accent-tint: rgba(0, 148, 194, 0.1); }
.mega-col--coral { --accent: var(--coral); --accent-tint: rgba(238, 100, 90, 0.1); }
.mega-col--gold { --accent: var(--gold); --accent-tint: rgba(239, 205, 7, 0.16); }
.mega-col--blue { --accent: var(--blue); --accent-tint: rgba(20, 60, 174, 0.08); }
.mega-col--ink { --accent: var(--ink); --accent-tint: rgba(20, 22, 26, 0.06); }

.mega-chips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-col a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mega-col a:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
}

.cred-code {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  min-width: 42px;
}
.mega-col--gold .cred-code { color: #a3821b; }

.cred-name {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.3;
}

.mega-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mega-all-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--blue);
  white-space: nowrap;
}
.mega-all-link:hover { color: var(--blue-deep); }

.mega-partners { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mega-partners img {
  height: 20px;
  width: auto;
  display: block;
}

/* quiet grayscale-until-hover only makes sense where hover exists (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .mega-partners img {
    filter: grayscale(1);
    opacity: 0.5;
    transition: filter 0.2s ease, opacity 0.2s ease;
  }
  .mega-partners img:hover { filter: grayscale(0); opacity: 1; }
}

/* ---------- CTA button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-cta {
  flex-shrink: 0;
  margin-left: auto;
  background: var(--blue);
  color: #fff;
  padding: 11px 22px;
}
.btn-cta:hover {
  background: var(--blue-deep);
  box-shadow: 0 8px 20px -6px rgba(20, 60, 174, 0.55);
  transform: translateY(-1px);
}

/* ---------- Mobile toggle ---------- */
.nav-toggle { display: none; }
.nav-backdrop { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-inner {
    position: relative;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 4px 20px 24px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 24px 40px -20px rgba(20, 22, 26, 0.25);

    /* closed state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav > .nav-link,
  .main-nav > .nav-item {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .main-nav.is-open > .nav-link,
  .main-nav.is-open > .nav-item {
    opacity: 1;
    transform: translateY(0);
  }
  /* stagger */
  .main-nav > *:nth-child(1) { transition-delay: 0.03s; }
  .main-nav > *:nth-child(2) { transition-delay: 0.07s; }
  .main-nav > *:nth-child(3) { transition-delay: 0.11s; }
  .main-nav > *:nth-child(4) { transition-delay: 0.15s; }
  .main-nav > *:nth-child(5) { transition-delay: 0.19s; }
  .main-nav > *:nth-child(6) { transition-delay: 0.23s; }
  .main-nav > *:nth-child(7) { transition-delay: 0.27s; }
  .main-nav > *:nth-child(8) { transition-delay: 0.31s; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--blue-deep);
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }
  .nav-link.nav-link-ext { color: var(--ink-soft); }

  .chev { color: var(--blue); opacity: 0.7; }

  .nav-item.has-mega { display: flex; flex-direction: column; }
  .nav-item.has-mega .nav-link { border-bottom: 1px solid var(--line); }

  /* grid-rows trick: animates from 0 to the content's natural height without
     knowing that height in advance, and without JS measuring scrollHeight */
  .mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 4px;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows 0.32s ease;
  }
  .mega-body { overflow: hidden; min-height: 0; }
  .mega-inner { padding-top: 2px; grid-template-columns: minmax(0, 1fr); gap: 4px; }

  /* categories collapse to just their heading; tap one to reveal its credential list */
  .mega-col { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .mega-col:last-child { border-bottom: none; }
  .mega-label {
    cursor: pointer;
    margin: 0;
  }
  .cat-chev { display: block; margin-left: auto; }
  .mega-col.is-open .cat-chev { transform: rotate(180deg); color: var(--accent); }

  .mega-cat-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }
  .mega-cat-body > .mega-chips { overflow: hidden; min-height: 0; padding-top: 12px; }
  .mega-col.is-open .mega-cat-body { grid-template-rows: 1fr; }
  .mega-foot {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-item.is-open .mega { grid-template-rows: 1fr; transform: none; }

  .nav-link-ext { border-bottom: 1px solid var(--line); }

  /* this breakpoint is our touch/mobile menu — always show partner logos in full color here,
     regardless of what (hover:hover) reports (resized desktop windows can misreport it) */
  .mega-partners img { filter: none !important; opacity: 1 !important; }

  .btn-cta {
    margin: 18px 0 0;
    width: 100%;
    padding: 15px 22px;
    font-size: 1rem;
    border-bottom: none;
  }

  /* hamburger -> chain-colored bars, morphs to ink X when open */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    position: relative;
    z-index: 1;
  }
  .nav-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.15s ease, background 0.25s ease;
  }
  .nav-toggle span:nth-child(1) { background: var(--cyan); }
  .nav-toggle span:nth-child(2) { background: var(--coral); }
  .nav-toggle span:nth-child(3) { background: var(--gold); }

  .nav-toggle[aria-expanded="true"] span { background: var(--ink); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-backdrop {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(20, 22, 26, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    z-index: -1;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .mega-inner { grid-template-columns: minmax(0, 1fr); }
  .brand-logo { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav > .nav-link, .main-nav > .nav-item { transition-delay: 0s !important; }
}

/* =========================================================
   HOMEPAGE SECTIONS
   ========================================================= */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 20px;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: none;
}
.btn-ghost:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }


/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 32px 88px;
  min-height: 560px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.hero-copy h1 em { font-style: normal; color: var(--blue); }

/* Entrance/replay choreography — driven by .hero.in-view, toggled by
   IntersectionObserver in script.js so it replays every time the hero
   scrolls back into view, not just once on load. */
.line-mask { display: block; overflow: hidden; }
.line {
  display: block;
  transform: translateY(112%);
  transition: transform 0.75s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.hero.in-view .line { transform: translateY(0); }
.line-mask:nth-of-type(1) .line { transition-delay: 0.05s; }
.line-mask:nth-of-type(2) .line { transition-delay: 0.16s; }

.hero-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.hero.in-view .hero-reveal { opacity: 1; transform: none; }
.eyebrow.hero-reveal { transition-delay: 0s; }
.hero-lede.hero-reveal { transition-delay: 0.26s; }
.hero-actions.hero-reveal { transition-delay: 0.36s; }
.hero-badges.hero-reveal { transition-delay: 0.46s; }

.hero-lede {
  font-size: 1.1rem;
  max-width: 46ch;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

.hero-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-badges-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.badge-seal { height: 108px; width: 108px; object-fit: contain; }

/* Hero signature: real training photo — wipes open left-to-right, same
   direction as the chain-gradient bar, so the reveal reads as one gesture */
.hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(20, 22, 26, 0.25);
  aspect-ratio: 4 / 3;
  clip-path: inset(0 100% 0 0 round 18px);
  transition: clip-path 1s cubic-bezier(0.19, 0.85, 0.24, 1) 0.15s;
}
.hero.in-view .hero-photo { clip-path: inset(0 0 0 0 round 18px); }

.hero-photo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--chain-gradient);
  z-index: 2;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .hero-photo img { transition: transform 0.5s ease; }
  .hero-photo:hover img { transform: scale(1.035); }
}
.hero-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(20, 22, 26, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 100px;
}

/* ---------- Shared section scaffolding ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-paper { background: var(--mist); }

.ref-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.ref-tag .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -2px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}

.section-lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 44px;
}

/* ---------- Stats ---------- */
.section-dark { background: var(--blue-deep); border-top-color: rgba(255,255,255,0.14); }

.stats-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat-row { padding: 32px 12px 8px; border-right: 1px solid rgba(255,255,255,0.14); }
.stat-row:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 500;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* tally rule — draws left-to-right right as its number finishes counting,
   like ruling off a closed ledger entry; timings are matched in script.js */
.stat-tally {
  display: block;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  margin: 10px 0 12px;
  transition: transform 0.4s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.stats-ledger.in-view .stat-row:nth-child(1) .stat-tally { transition-delay: 1.1s; }
.stats-ledger.in-view .stat-row:nth-child(2) .stat-tally { transition-delay: 1.21s; }
.stats-ledger.in-view .stat-row:nth-child(3) .stat-tally { transition-delay: 1.32s; }
.stats-ledger.in-view .stat-row:nth-child(4) .stat-tally { transition-delay: 1.43s; }
.stats-ledger.in-view .stat-tally { transform: scaleX(1); }

.stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.stat-check {
  color: var(--gold);
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stats-ledger.in-view .stat-row:nth-child(1) .stat-check { transition-delay: 1.15s; }
.stats-ledger.in-view .stat-row:nth-child(2) .stat-check { transition-delay: 1.26s; }
.stats-ledger.in-view .stat-row:nth-child(3) .stat-check { transition-delay: 1.37s; }
.stats-ledger.in-view .stat-row:nth-child(4) .stat-check { transition-delay: 1.48s; }
.stats-ledger.in-view .stat-check { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .stat-tally { transform: scaleX(1) !important; transition-delay: 0s !important; }
  .stat-check { opacity: 1 !important; transform: scale(1) !important; transition-delay: 0s !important; }
}

/* ---------- Cakupan layanan (4 domain) — a vertical chain: each domain is
   a link, connected by a rail that fills exactly with scroll position (see
   script.js), echoing the interlocking chain in the SBKI mark itself. Scrubs
   both ways, so scrolling back up "unwinds" it — there's no fixed timeline
   to replay, the scrollbar IS the timeline. ---------- */
.scope-chain {
  position: relative;
  max-width: 1040px;
  margin: 0;
  padding-left: 88px;
}

.scope-rail {
  position: absolute;
  left: 25px;
  top: 6px;
  bottom: 6px;
  width: 7px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.scope-rail-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--chain-gradient);
}

.scope-card {
  position: relative;
  padding: 4px 0 44px;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.scope-card:last-child { padding-bottom: 4px; }
.scope-card.is-revealed { opacity: 1; transform: none; }

.scope-card--blue { --accent: var(--blue); }
.scope-card--cyan { --accent: var(--cyan); }
.scope-card--coral { --accent: var(--coral); }
.scope-card--gold { --accent: var(--gold); }

.scope-node {
  position: absolute;
  left: -84px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  z-index: 2;
}
.scope-card--gold .scope-node { color: #a3821b; border-color: #a3821b; }

.scope-ranah {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 4px 0 6px;
}

.scope-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 12px;
}
.scope-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 68ch;
}
.scope-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 8px 32px;
}
.scope-card li { flex: 0 0 auto; }
.scope-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink);
}
.scope-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.scope-card--gold li::before { background: #a3821b; }

@media (prefers-reduced-motion: reduce) {
  .scope-rail-fill { height: 100% !important; }
  .scope-card { opacity: 1 !important; transform: none !important; }
}

/* ---------- Sertifikasi tab explorer — a real browsing tool, not a
   feature-card grid: pick a category, see its actual credential codes
   (same chip language as the nav mega-menu), not an abstract count. ---------- */
.cert-explorer {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.cert-explorer.in-view { opacity: 1; transform: none; }

.cert-tabs {
  display: flex;
  flex-wrap: wrap;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.cert-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  white-space: nowrap;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cert-tab .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.cert-tab:hover { color: var(--ink); background: rgba(20, 22, 26, 0.03); }
.cert-tab.is-active { color: var(--ink); background: var(--paper); border-bottom-color: var(--accent); }

.cert-panels { position: relative; padding: 32px 30px 34px; }
.cert-panel { display: none; }
.cert-panel.is-active { display: block; animation: certPanelIn 0.35s ease; }

@keyframes certPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cert-panel-desc {
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 22px;
}

.cert-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(20, 22, 26, 0.04);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.cert-chip b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent, var(--blue));
}
.cert-chip em { font-style: normal; }

.pillar-cta {
  display: inline-flex;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.cert-explorer.in-view ~ .pillar-cta { opacity: 1; transform: none; transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .cert-explorer, .pillar-cta { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
  .cert-panel.is-active { animation: none !important; }
}

/* ---------- Jadwal — a 12-month strip with the current month locked in,
   because the one true fact here is "diperbarui tiap bulan": the structure
   (all 12 months, one lit up) states that literally instead of decorating
   a generic CTA banner. Replays via .in-view like the rest of the page. ---------- */
.jadwal-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.jadwal-copy .section-lede { margin-bottom: 28px; }

.jadwal-months { flex-shrink: 0; max-width: 340px; }

.month-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.month {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jadwal-months.in-view .month { opacity: 1; transform: scale(1); }
.jadwal-months.in-view .month:nth-child(1) { transition-delay: 0s; }
.jadwal-months.in-view .month:nth-child(2) { transition-delay: 0.04s; }
.jadwal-months.in-view .month:nth-child(3) { transition-delay: 0.08s; }
.jadwal-months.in-view .month:nth-child(4) { transition-delay: 0.12s; }
.jadwal-months.in-view .month:nth-child(5) { transition-delay: 0.16s; }
.jadwal-months.in-view .month:nth-child(6) { transition-delay: 0.2s; }
.jadwal-months.in-view .month:nth-child(7) { transition-delay: 0.24s; }
.jadwal-months.in-view .month:nth-child(8) { transition-delay: 0.28s; }
.jadwal-months.in-view .month:nth-child(9) { transition-delay: 0.32s; }
.jadwal-months.in-view .month:nth-child(10) { transition-delay: 0.36s; }
.jadwal-months.in-view .month:nth-child(11) { transition-delay: 0.4s; }
.jadwal-months.in-view .month:nth-child(12) { transition-delay: 0.44s; }

.month.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}
.jadwal-months.in-view .month.is-current {
  animation: monthPulse 2.2s ease-in-out 0.6s infinite;
}

@keyframes monthPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 60, 174, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(20, 60, 174, 0); }
}

.jadwal-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.5s;
}
.jadwal-months.in-view .jadwal-note { opacity: 1; }

.jadwal-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.jadwal-months.in-view .jadwal-pulse { animation: monthDot 2.2s ease-in-out 0.6s infinite; }
@keyframes monthDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  .month { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
  .month.is-current { animation: none !important; box-shadow: 0 0 0 4px rgba(20, 60, 174, 0.2); }
  .jadwal-note { opacity: 1 !important; }
  .jadwal-pulse { animation: none !important; }
}

/* ---------- Profil — leads with the real "9 tahun" figure instead of a
   plain heading, and the right panel uses actual partner seals + the same
   chip language as the Sertifikasi explorer, not a generic bordered frame. ---------- */
.profil-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.profil-grid.in-view { opacity: 1; transform: none; }

.profil-years { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.profil-years-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--blue);
}
.profil-years-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.profil-copy p { font-size: 1.02rem; color: var(--ink-soft); max-width: 56ch; }
.profil-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.profil-list li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--ink); }
.profil-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.profil-membership {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px;
  background: var(--paper);
}
.cert-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }

.membership-seals { display: flex; gap: 16px; margin-bottom: 24px; }
.membership-seals img {
  height: 120px; width: 120px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.profil-grid.in-view .membership-seals img { opacity: 1; transform: scale(1); }
.profil-grid.in-view .membership-seals img:nth-child(1) { transition-delay: 0.15s; }
.profil-grid.in-view .membership-seals img:nth-child(2) { transition-delay: 0.26s; }

.membership-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 0 0 14px;
}
.membership-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.membership-chips .cert-chip {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.profil-grid.in-view .membership-chips .cert-chip { opacity: 1; transform: none; }
.profil-grid.in-view .membership-chips .cert-chip:nth-child(1) { transition-delay: 0.3s; }
.profil-grid.in-view .membership-chips .cert-chip:nth-child(2) { transition-delay: 0.36s; }
.profil-grid.in-view .membership-chips .cert-chip:nth-child(3) { transition-delay: 0.42s; }
.profil-grid.in-view .membership-chips .cert-chip:nth-child(4) { transition-delay: 0.48s; }
.profil-grid.in-view .membership-chips .cert-chip:nth-child(5) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .profil-grid, .membership-seals img, .membership-chips .cert-chip {
    opacity: 1 !important; transform: none !important; transition-delay: 0s !important;
  }
}

@media (max-width: 560px) {
  /* Fixed proportional width instead of shrink-wrap — keeps two chips per
     row (real badge proportions) instead of each one falling to its own
     full-width line. */
  .membership-chips { gap: 10px 8px; }
  .membership-chips .cert-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 8px 10px;
  }
  .membership-chips .cert-chip em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .membership-seals { justify-content: center; }
}

/* ---------- Testimoni — one statement at a time, in large display type,
   switched by clicking a name pill, instead of four small cards read at
   once. The quote mark itself carries the weight typography should. ---------- */
.testi-feature {
  max-width: 720px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.19, 0.85, 0.24, 1);
}
.testi-feature.in-view { opacity: 1; transform: none; }

.testi-display {
  margin: 0 0 28px;
  position: relative;
  min-height: 160px;
}
.testi-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.25;
  margin-bottom: 4px;
}
.testi-display p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 20px;
  transition: opacity 0.2s ease;
}
.testi-display footer cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: opacity 0.2s ease;
}
.testi-display.is-switching p,
.testi-display.is-switching footer cite { opacity: 0; }

.testi-switch { display: flex; gap: 10px; }
.testi-pill {
  padding: 4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.testi-pill.is-active { border-color: var(--blue); }
.testi-pill:hover:not(.is-active) { border-color: var(--line); }

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-pill:not(.is-active) .testi-avatar { background: var(--ink-soft); opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  .testi-feature { opacity: 1 !important; transform: none !important; }
}

/* ---------- Client logo wall — grouped by real sector (not decoration:
   these are the actual industries SBKI's clients come from) behind a
   filter strip, so "lintas industri" is something you can verify, not
   just claim. Entrance staggers in three row-waves, replaying via
   .in-view like the rest of the page. ---------- */
.klien-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.klien-filter {
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.klien-filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .klien-filter:hover:not(.is-active) { border-color: var(--blue); color: var(--blue); }
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.client-grid img {
  background: var(--paper);
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 20px 28px;
  opacity: 0;
  transform: scale(0.85);
  transition: filter 0.2s ease, opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.client-grid.in-view img { opacity: 1; transform: scale(1); }
.client-grid.in-view img:nth-child(-n+6) { transition-delay: 0s; }
.client-grid.in-view img:nth-child(n+7):nth-child(-n+12) { transition-delay: 0.09s; }
.client-grid.in-view img:nth-child(n+13) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .client-grid img { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}

/* Grayscale-until-hover only makes sense where hover exists — on touch,
   logos show full color right away since there's no hover to reveal them. */
@media (hover: hover) and (pointer: fine) {
  .client-grid img { filter: grayscale(1); }
  .client-grid.in-view img { opacity: 0.7; }
  .client-grid img:hover { filter: grayscale(0); opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,0.75); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 32px 48px; }
.footer-logo { height: 30px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; margin: 16px 0 0; line-height: 1.6; }
.footer-accred { font-family: var(--font-mono); font-size: 0.72rem !important; color: var(--gold) !important; margin-top: 18px !important; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 18px; }
.footer-col a { display: block; font-size: 0.9rem; padding: 6px 0; opacity: 0.8; color: rgba(255,255,255,0.9); }
.footer-col a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 32px; font-size: 0.8rem; opacity: 0.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px 24px 56px; text-align: left; }
  .hero-photo { order: -1; margin-bottom: 8px; }

  .cert-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cert-tab { flex: 0 0 auto; }
  .cert-panels { padding: 26px 20px 28px; }
  .scope-chain { padding-left: 60px; }
  .scope-rail { left: 19px; }
  .scope-node { left: -60px; width: 40px; height: 40px; font-size: 0.68rem; }
  .stats-ledger { grid-template-columns: repeat(2, 1fr); }
  .stat-row:nth-child(2) { border-right: none; }
  .stat-row:nth-child(3), .stat-row:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.14); }

  .profil-grid { grid-template-columns: minmax(0, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .klien-filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .klien-filter { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .jadwal-wrap { flex-direction: column; align-items: stretch; }
  .jadwal-months { max-width: 100%; margin-top: 8px; }
  .month-strip { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { padding-top: 20px; border-top: 1px solid var(--line); }

  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding: 48px 20px 40px; }
  .stats-ledger { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   SERTIFIKASI (dedicated page)
   ========================================================= */

.certpage-hero { padding-top: 64px; padding-bottom: 56px; }
.certpage-title { font-size: clamp(2rem, 4vw, 2.8rem); }

/* Registry list — each credential is a ledger entry (registry number, code,
   name, one-line differentiator) that links out to its own page, instead of
   a wall of identical cards repeating the same boilerplate sentence. */
.registry-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.registry-row {
  display: grid;
  grid-template-columns: 58px 76px 1fr 22px;
  align-items: start;
  column-gap: 18px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.15s ease;
}
.registry-list.in-view .registry-row { opacity: 1; transform: none; }
.registry-list.in-view .registry-row:nth-child(1) { transition-delay: 0.05s; }
.registry-list.in-view .registry-row:nth-child(2) { transition-delay: 0.11s; }
.registry-list.in-view .registry-row:nth-child(3) { transition-delay: 0.17s; }
.registry-list.in-view .registry-row:nth-child(4) { transition-delay: 0.23s; }
.registry-list.in-view .registry-row:nth-child(5) { transition-delay: 0.29s; }

.registry-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding-top: 3px;
}
.registry-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--accent, var(--blue));
  padding-top: 1px;
}
.registry-name {
  grid-column: 3 / 4;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.35;
}
.registry-hook {
  grid-column: 3 / 4;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
  max-width: 56ch;
}
.registry-arrow {
  color: var(--accent, var(--blue));
  font-size: 1.05rem;
  padding-top: 1px;
  transition: transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .registry-row:hover { background: var(--mist); }
  .registry-row:hover .registry-arrow { transform: translateX(4px); }
}

@media (max-width: 640px) {
  .registry-row { grid-template-columns: 44px 1fr 18px; row-gap: 4px; padding: 16px 4px; }
  .registry-no { display: none; }
  .registry-code { grid-column: 1 / 2; }
  .registry-name { grid-column: 2 / 3; }
  .registry-hook { grid-column: 2 / 3; }
  .registry-arrow { grid-column: 3 / 4; }
}

@media (prefers-reduced-motion: reduce) {
  .registry-row { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}

/* ---------- Jadwal page ---------- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.format-card { background: var(--paper); padding: 30px 28px; }
.format-icon { display: block; font-size: 1.8rem; margin-bottom: 14px; }
.format-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 10px; color: var(--ink); }
.format-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.jadwal-cat-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.jadwal-cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.15s ease;
}
.jadwal-cat-row:hover { padding-left: 10px; }
.jadwal-cat-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.jadwal-cat-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); flex: 1; }
.jadwal-cat-cta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); white-space: nowrap; }

@media (max-width: 560px) {
  .format-grid { grid-template-columns: minmax(0, 1fr); }
  .jadwal-cat-row { flex-wrap: wrap; }
  .jadwal-cat-cta { width: 100%; padding-left: 23px; }
}

/* =========================================================
   SERTIFIKASI (single-credential detail page)
   ========================================================= */

.credpage-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.credpage-breadcrumb a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.credpage-breadcrumb a:hover { color: var(--accent, var(--blue)); }

.credpage-hero { padding-top: 56px; padding-bottom: 48px; }
.credpage-body-section { border-top: none; padding-top: 0; }
.credpage-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 84px;
  padding: 0 14px;
  border: 2px solid var(--accent, var(--blue));
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent, var(--blue));
  margin-bottom: 22px;
}
.credpage-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.credpage-hero .section-lede { margin-bottom: 0; max-width: 68ch; }

.credpage-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.credpage-block { margin-bottom: 40px; }
.credpage-block:last-child { margin-bottom: 0; }
.credpage-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 14px;
}
.credpage-block p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 12px; }
.credpage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.credpage-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.credpage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--blue));
}

.credpage-note {
  background: var(--mist);
  border-left: 3px solid var(--accent, var(--blue));
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.credpage-rail {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.credpage-rail h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.credpage-rail .btn { width: 100%; margin-bottom: 10px; }
.credpage-rail-accred { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.credpage-rail-accred img { height: 30px; width: auto; object-fit: contain; }

@media (max-width: 860px) {
  /* minmax(0, 1fr), not plain 1fr — a plain 1fr track sizes to its content's
     min-content width, so a wide table/word inside can force this whole
     grid (and the page with it) wider than the viewport on mobile. */
  .credpage-body { grid-template-columns: minmax(0, 1fr); }
  .credpage-rail { position: static; }
}

/* Curriculum — the one place a numbered sequence is earned: modules really
   are taken in order, so the number carries real information (unlike a
   decorative 01/02/03 on a feature grid). Distinct from the registry-list
   (a directory to browse) and credpage-list (a flat set of benefits). */
.credpage-curriculum {
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.credpage-curriculum.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .credpage-curriculum { opacity: 1 !important; transform: none !important; }
}

.credpage-curriculum-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.credpage-curriculum-item:last-child { border-bottom: none; padding-bottom: 0; }
.credpage-curriculum-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent, var(--blue));
  padding-top: 3px;
}
.credpage-curriculum-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.credpage-curriculum-item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   JADWAL — monthly poster gallery
   Sheets are presented like pinned notices (slight alternating tilt,
   a torn corner tab carrying the real accreditation gradient) rather
   than three flat <img> stacked in a column.
   ========================================================= */

.jadwal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 40px 0 0;
  padding: 8px 0 24px;
}

.jadwal-poster {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 10px 14px;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.06);
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.jadwal-poster:nth-child(1) { --tilt: -1.6deg; }
.jadwal-poster:nth-child(2) { --tilt: 0.8deg; }
.jadwal-poster:nth-child(3) { --tilt: -0.7deg; }

.jadwal-gallery.in-view .jadwal-poster { opacity: 1; }
.jadwal-gallery.in-view .jadwal-poster:nth-child(1) { transition-delay: 0.05s; }
.jadwal-gallery.in-view .jadwal-poster:nth-child(2) { transition-delay: 0.15s; }
.jadwal-gallery.in-view .jadwal-poster:nth-child(3) { transition-delay: 0.25s; }

.jadwal-poster::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(calc(var(--tilt) * -1));
  width: 46px;
  height: 16px;
  background: var(--chain-gradient);
  border-radius: 2px;
  opacity: 0.85;
}

.jadwal-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.jadwal-poster-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .jadwal-poster:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(20, 22, 26, 0.25);
  }
}

.jadwal-timeline-cta { margin-top: 8px; }

@media (max-width: 860px) {
  .jadwal-gallery { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .jadwal-poster { opacity: 1 !important; transform: rotate(var(--tilt, 0deg)) !important; transition-delay: 0s !important; }
}

/* =========================================================
   ABOUT (Tentang Kami)
   ========================================================= */

/* Static registry rows (Enam Bidang Kompetensi) — same ledger look as the
   Sertifikasi registry, but these don't link anywhere, so no hover/arrow. */
.registry-row--static { cursor: default; }
.registry-row--static:hover { background: none; }

.link-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
}
.link-arrow:hover { color: var(--blue-deep); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.why-card {
  border-top: 3px solid var(--accent, var(--blue));
  padding-top: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-grid.in-view .why-card { opacity: 1; transform: none; }
.why-grid.in-view .why-card:nth-child(1) { transition-delay: 0.04s; }
.why-grid.in-view .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid.in-view .why-card:nth-child(3) { transition-delay: 0.16s; }
.why-grid.in-view .why-card:nth-child(4) { transition-delay: 0.22s; }
.why-grid.in-view .why-card:nth-child(5) { transition-delay: 0.28s; }
.why-grid.in-view .why-card:nth-child(6) { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  .why-card { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}
.why-card--blue { --accent: var(--blue); }
.why-card--cyan { --accent: var(--cyan); }
.why-card--coral { --accent: var(--coral); }
.why-card--gold { --accent: var(--gold); }
.why-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent, var(--blue));
  margin-bottom: 10px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.why-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Hero: copy + a corporate "seal" — the site's certification/registry motif
   turned on the company itself, standing in for a founding photo we don't have. */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: center;
}
.about-hero-copy { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.about-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.about-hero-facts span { position: relative; padding-left: 16px; }
.about-hero-facts span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.about-seal {
  justify-self: center;
  opacity: 0;
  transform: scale(0.8) rotate(6deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
  transition-delay: 0.12s;
}
.about-seal-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--chain-gradient);
  padding: 5px;
  transform: rotate(-5deg);
}
.about-seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--paper);
  border: 1px dashed rgba(20, 22, 26, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.about-seal-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.about-seal-year {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.about-seal-loc {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.certpage-hero.in-view .about-hero-copy { opacity: 1; transform: none; }
.certpage-hero.in-view .about-seal { opacity: 1; transform: scale(1) rotate(0deg); }

@media (max-width: 760px) {
  .about-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .about-seal { order: -1; margin-bottom: 8px; }
  .about-seal-ring { width: 168px; height: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-copy, .about-seal { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}

/* Closing corporate section — a small highlight card balances the single
   long paragraph so the section doesn't read as one lonely column. */
.corporate-block {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: center;
}
.corporate-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
}
.corporate-note-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.corporate-note-num em { font-style: normal; font-size: 1rem; color: var(--ink-soft); margin-left: 4px; }
.corporate-note p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

@media (max-width: 760px) {
  .corporate-block { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   PORTOFOLIO — case log
   Real, named programs presented as case files (who, what, why it
   mattered) instead of an anonymous logo wall with no context.
   ========================================================= */

.case-log {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.case-file {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-log.in-view .case-file { opacity: 1; transform: none; }
.case-log.in-view .case-file:nth-child(1) { transition-delay: 0.05s; }
.case-log.in-view .case-file:nth-child(2) { transition-delay: 0.1s; }
.case-log.in-view .case-file:nth-child(3) { transition-delay: 0.15s; }
.case-log.in-view .case-file:nth-child(4) { transition-delay: 0.2s; }
.case-log.in-view .case-file:nth-child(5) { transition-delay: 0.25s; }
.case-log.in-view .case-file:nth-child(6) { transition-delay: 0.3s; }

.case-file-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding-top: 2px;
}

.case-file-main { display: flex; gap: 24px; align-items: flex-start; }
.case-file-body { flex: 1; min-width: 0; }

.case-file-thumb {
  width: 132px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.case-file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case-file-org {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 6px;
}
.case-file-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.case-file-body h3 em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-left: 8px;
  vertical-align: middle;
}
.case-file-body p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; line-height: 1.65; max-width: 60ch; }

@media (max-width: 640px) {
  .case-file { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case-file-main { flex-direction: column-reverse; }
  .case-file-thumb { width: 100%; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .case-file { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}

/* ---------- Program pagination ---------- */
.case-log-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.case-log-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.case-log-pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.case-log-pagination .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.case-log-pagination .page-numbers.dots { border: none; }

/* ---------- Jadwal period nav ---------- */
.jadwal-period-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.jadwal-period-nav .jadwal-filters { margin-bottom: 0; }
.jadwal-period-more {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.jadwal-period-more label { white-space: nowrap; }
.jadwal-period-more select {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.jadwal-period-more .btn { padding: 9px 18px; font-size: 0.85rem; }

/* =========================================================
   WAWASAN (blog) — an editorial log, not a card grid: each entry
   is dated like a registered dispatch (postmark stamp, rotated like
   a stamped stationery), echoing the accreditation/seal motif used
   on the About page and the pinned jadwal posters, rather than
   inventing a new "blog card" idiom from scratch.
   ========================================================= */
.wawasan-log {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.wawasan-entry {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Each row reveals on its own — as it individually scrolls into view,
   not all at once when the list's top edge first appears. */
.wawasan-entry.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wawasan-entry { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}

/* The stamp: a rotated, ringed date — real information (publish date),
   not a decorative index number. Ring color cycles through the same
   5-accent system the Sertifikasi tabs use, tying this page into the
   site's existing category color language. */
.wawasan-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--accent, var(--blue));
  color: var(--accent, var(--blue));
  font-family: var(--font-mono);
  transform: rotate(-4deg);
  transition: transform 0.2s ease;
}
.wawasan-entry:nth-child(even) .wawasan-stamp { transform: rotate(3deg); }
@media (hover: hover) and (pointer: fine) {
  .wawasan-entry:hover .wawasan-stamp { transform: rotate(0deg) scale(1.04); }
}
.wawasan-stamp .stamp-day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}
.wawasan-stamp .stamp-month {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.wawasan-stamp .stamp-year {
  font-size: 0.56rem;
  opacity: 0.7;
}

.wawasan-thumb {
  flex-shrink: 0;
  display: block;
  width: 132px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.wawasan-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wawasan-entry-body { flex: 1; min-width: 0; }
.wawasan-entry-meta {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2px 0 10px;
}
.wawasan-entry-meta .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
}
.wawasan-entry-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.wawasan-entry-body h2 a { color: inherit; }
.wawasan-entry-body h2 a:hover { color: var(--accent, var(--blue)); }
.wawasan-entry-excerpt {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 62ch;
}

.wawasan-entry-meta--single {
  font-size: 0.78rem;
  margin: 0 0 32px;
}

/* Mobile: the list becomes a compact index — stamp + title + meta only.
   Thumbnail and excerpt drop out (full detail lives on the article itself),
   so scanning ten entries doesn't mean scrolling through ten small pages. */
@media (max-width: 640px) {
  .wawasan-entry { padding: 18px 4px; gap: 14px; align-items: center; }
  .wawasan-thumb { display: none; }
  .wawasan-entry-excerpt { display: none; }
  .wawasan-entry-body .link-arrow { display: none; }

  .wawasan-stamp { width: 46px; height: 46px; }
  .wawasan-stamp .stamp-day { font-size: 0.9rem; }
  .wawasan-stamp .stamp-month { font-size: 0.5rem; margin-top: 1px; }
  .wawasan-stamp .stamp-year { display: none; }

  .wawasan-entry-meta { margin: 0 0 4px; font-size: 0.66rem; }
  .wawasan-entry-body h2 { font-size: 1rem; margin: 0; line-height: 1.4; }
}

/* ---------- Single article: featured image wipe (mirrors .hero-photo) ---------- */
.entry-photo {
  position: relative;
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(20, 22, 26, 0.25);
  aspect-ratio: 16 / 9;
  clip-path: inset(0 100% 0 0 round 18px);
  transition: clip-path 1s cubic-bezier(0.19, 0.85, 0.24, 1) 0.15s;
}
.entry-hero.in-view .entry-photo { clip-path: inset(0 0 0 0 round 18px); }
.entry-photo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--chain-gradient);
  z-index: 2;
}
.entry-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .entry-photo { clip-path: inset(0 0 0 0 round 18px) !important; }
}

/* ---------- Single article: body copy (reuses credpage-block rhythm) ---------- */
.entry-content {
  max-width: 68ch;
  /* A long unbroken word/URL pasted into the block editor can otherwise
     force the whole page wider than the viewport, which mobile browsers
     "fix" by silently zooming out — this makes the text itself wrap
     instead, so the viewport width never has to move. */
  overflow-wrap: break-word;
  word-break: break-word;
}
.entry-content h2, .entry-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 36px 0 14px;
}
.entry-content h2 { font-size: 1.35rem; }
.entry-content h3 { font-size: 1.12rem; }
.entry-content ul, .entry-content ol { color: var(--ink-soft); line-height: 1.7; padding-left: 22px; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--blue-deep); }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }

/* The classic [caption] shortcode hardcodes an inline `style="width: 739px"`
   (or whatever the image's pixel width is) on this wrapper div — no amount
   of ordinary CSS can beat an inline style except !important, and left
   alone this is exactly what forces the whole page wider than a phone
   screen. */
.entry-content .wp-caption { max-width: 100% !important; width: auto !important; }
.entry-content .wp-caption img { max-width: 100%; height: auto; }
.entry-content .wp-caption-text { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content pre, .entry-content code { overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

/* Tables keep their real <table> layout (rows/columns intact) — only the
   wrapper added by script.js scrolls sideways on narrow screens, so the
   rest of the page never has to widen to fit a wide table. */
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 20px; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.entry-content th, .entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  word-break: break-word;
  white-space: normal;
}
.entry-content th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--mist);
  white-space: nowrap;
}

/* ---------- Prev/next article nav ---------- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  transition: transform 0.15s ease;
}
.post-nav-link--next { text-align: right; align-items: flex-end; }
@media (hover: hover) and (pointer: fine) {
  .post-nav-link--prev:hover { transform: translateX(-4px); }
  .post-nav-link--next:hover { transform: translateX(4px); }
}
.post-nav-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.post-nav-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav-link--next { text-align: left; align-items: flex-start; }
}

/* ---------- Floating WhatsApp CTA — persists across every template ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.wa-float:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28); }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* ---------- Tim roster — personnel-file cards, same registry/stamp
   vocabulary as the rest of the site (file numbers, ink-stamp tag, accent
   border keyed to bidang keahlian) rather than a generic avatar grid. ---------- */
.tim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}

.tim-card {
  position: relative;
  background: var(--paper);
  padding: 28px 24px 26px;
  border-top: 3px solid var(--accent, var(--blue));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.tim-grid.in-view .tim-card { opacity: 1; transform: none; }
.tim-grid.in-view .tim-card:nth-child(3n+1) { transition-delay: 0.05s; }
.tim-grid.in-view .tim-card:nth-child(3n+2) { transition-delay: 0.14s; }
.tim-grid.in-view .tim-card:nth-child(3n+3) { transition-delay: 0.23s; }

.tim-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.tim-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--mist);
  margin-bottom: 18px;
}
.tim-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(0.85) contrast(1.02);
  transition: filter 0.35s ease;
}
.tim-card:hover .tim-photo img { filter: grayscale(0); }
.tim-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--accent, var(--blue));
  background: var(--mist);
}

.tim-stamp {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border: 1.5px solid var(--accent, var(--blue));
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, var(--blue));
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(-4deg);
  pointer-events: none;
}

.tim-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.tim-jabatan {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.tim-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, var(--blue));
  background: var(--mist);
  background: color-mix(in srgb, var(--accent, var(--blue)) 12%, transparent);
  margin-bottom: 14px;
}
.tim-bio {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 12px;
}
.tim-linkedin {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent, var(--blue));
  text-decoration: none;
}
.tim-linkedin:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .tim-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tim-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tim-card { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }
}
