/* =========================================================
   Gaya beranda selain "klasik" (heroes.js). Ponsel: satu kolom.
   Layar lebar: tiap gaya punya grid-template-areas sendiri.
   ========================================================= */
.h2 { position: relative; display: flex; min-height: calc(100svh - 61px); background: var(--hero-bg, var(--bg)); color: var(--fg); font-family: var(--ui); overflow: clip; }
.h2-wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "photo" "about" "social" "slides" "note"; align-content: center; gap: 22px; width: min(100% - 32px, 1360px); margin: 0 auto; padding: 28px 0 40px; }
.h2-name { grid-area: name; min-width: 0; margin: 0; font-family: var(--ea-display, "Inter", sans-serif); font-weight: var(--name-weight, 900); text-transform: uppercase; line-height: 0.9; letter-spacing: -0.015em; --h2-vh: 0.2; }
.h2-name span { display: block; width: max-content; white-space: nowrap; padding-bottom: 0.02em; }
.h2-n1 { color: var(--name1, var(--ac)); }
.h2-n2 { color: var(--name2, var(--fg)); }
.h2-photo { grid-area: photo; margin: 0; display: flex; justify-content: center; align-items: flex-end; min-height: 0; }
.h2-photo img { display: block; width: auto; max-width: 100%; height: min(52svh, 560px); object-fit: contain; object-position: bottom; }
.h2-about { grid-area: about; min-width: 0; }
.h2-roles { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 0 0 14px; font: 600 13px var(--ui); letter-spacing: 0.16em; text-transform: uppercase; }
.h2-roles i { color: var(--ac-ink); font-style: normal; }
.h2-text { max-width: 58ch; margin: 0 0 12px; font-size: calc(16.5px * var(--z-hero, 1)); line-height: 1.6; }
.h2-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.h2-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 2px solid var(--fg); border-radius: var(--radius); background: var(--fg); color: var(--bg); font: 600 14px var(--ui); text-decoration: none; }
.h2-btn.ghost { background: transparent; color: var(--fg); }
.h2-btn:hover { border-color: var(--ac); background: var(--ac); color: var(--on-ac); }
.h2-socials { grid-area: social; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.h2-socials a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); font: 600 14px var(--ui); text-decoration: none; border-bottom: 2px solid var(--ac); }
.h2-socials a:hover { color: var(--ac-ink); }
.h2 a:focus-visible, .h2 button:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; }
.h2-slides { grid-area: slides; position: relative; margin: 0; aspect-ratio: 4 / 3; min-width: 0; }
.h2-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 1.6s ease; }
.h2-slides img.on { opacity: 1; transform: none; }
.h2-note { grid-area: note; align-self: end; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.h2-note p { margin: 0; }
.h2-note-t { color: var(--mut); font: 500 12px var(--mono); }
.h2-note-b { min-height: 3.2em; margin-top: 8px !important; font: 400 17px / 1.55 var(--mono); }
.h2-note-n { min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--ac-ink); font: 600 13px var(--ui); cursor: pointer; }

@keyframes h2-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.h2-wrap > * { animation: h2-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.h2-wrap > :nth-child(2) { animation-delay: 0.1s; } .h2-wrap > :nth-child(3) { animation-delay: 0.2s; } .h2-wrap > :nth-child(4) { animation-delay: 0.3s; } .h2-wrap > :nth-child(n+5) { animation-delay: 0.4s; }
.h2-instant .h2-wrap > * { animation: none; }
@media (prefers-reduced-motion: reduce) { .h2-wrap > * { animation: none; } .h2-slides img { transition: none; } }

/* ---------- penyesuaian yang berlaku di semua ukuran ---------- */
.h2-tengah .h2-wrap, .h2-sampul .h2-wrap, .h2-kartu .h2-wrap { text-align: center; }
.h2-tengah :is(.h2-name span, .h2-text), .h2-sampul .h2-name span, .h2-kartu :is(.h2-name span, .h2-text) { margin-inline: auto; }
.h2-tengah :is(.h2-roles, .h2-acts, .h2-socials), .h2-sampul :is(.h2-roles, .h2-acts, .h2-socials), .h2-kartu :is(.h2-roles, .h2-acts, .h2-socials) { justify-content: center; }
.h2-terbelah .h2-photo, .h2-cermin .h2-photo { border-bottom: 10px solid var(--ac); }
.h2-sampul .h2-name { position: relative; z-index: 0; }
.h2-sampul .h2-photo { position: relative; z-index: 1; }
.h2-kartu .h2-wrap { max-width: 720px; margin-block: 28px; padding: 36px clamp(18px, 4vw, 52px); border: 1px solid var(--card-line); border-radius: var(--radius-lg); background: var(--card); box-shadow: 0 30px 60px -36px var(--shadow-strong); }
.h2-kartu .h2-wrap, .h2-bulat .h2-wrap { align-self: center; }
.h2-kartu .h2-photo img, .h2-bulat .h2-photo img, .h2-sederhana .h2-photo img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--ac-bg); }
.h2-kartu { }
.h2-kartu :is(.h2-slides, .h2-note) { display: none; }
.h2-bulat .h2-photo img { width: min(72vw, 440px); height: min(72vw, 440px); background: var(--ac); }
.h2-sederhana .h2-wrap { max-width: 760px; }
.h2-sederhana .h2-wrap { grid-template-areas: "photo" "name" "about" "social"; }
.h2-sederhana .h2-photo { justify-content: flex-start; }
.h2-sederhana .h2-photo img { width: 120px; height: 120px; }
.h2-sederhana .h2-name { --h2-vh: 0.11; }
.h2-sederhana :is(.h2-slides, .h2-note) { display: none; }
.h2-raksasa .h2-name { --h2-vh: 0.42; }
.h2-raksasa .h2-photo, .h2-raksasa .h2-note, .h2-raksasa .h2-slides { display: none; }
.h2-poster { background: var(--ac); color: var(--on-ac); }
.h2-poster { --fg: var(--on-ac); --bg: var(--ac); --ac-ink: var(--on-ac); --name1: var(--on-ac); --name2: var(--on-ac); }
.h2-poster .h2-btn { border-color: currentColor; background: var(--on-ac); color: var(--tone-ac); }
.h2-poster .h2-btn.ghost { background: transparent; color: inherit; }
.h2-poster .h2-btn:hover { text-decoration: underline; background: var(--on-ac); color: var(--tone-ac); }
.h2-poster .h2-socials a { border-color: currentColor; }
.h2-poster a:focus-visible { outline-color: currentColor; }
.h2-poster .h2-name { --h2-vh: 0.34; }
.h2-poster :is(.h2-slides, .h2-note) { display: none; }
.h2-foto .h2-slides { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; background: #0b0e14; }
.h2-foto .h2-slides img { object-fit: cover; }
.h2-foto .h2-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 8, 14, 0.92) 25%, rgba(5, 8, 14, 0.66) 60%, rgba(5, 8, 14, 0.25)); }
.h2-foto:not(.no-slides) { --fg: #fff; --ac-ink: #fff; --name1: #fff; --name2: #fff; color: #fff; }
.h2-foto .h2-wrap { align-content: end; }
.h2-foto .h2-wrap > :not(.h2-slides) { position: relative; z-index: 1; }
.h2-foto .h2-wrap > .h2-slides { animation: none; }
.h2-foto:not(.no-slides) .h2-btn { border-color: #fff; background: #fff; color: #0b0e14; }
.h2-foto:not(.no-slides) .h2-btn.ghost { background: transparent; color: #fff; }
.h2-foto .h2-photo, .h2-foto .h2-note { display: none; }
.h2-panel .h2-photo { margin-inline: -16px; padding-top: 18px; background: var(--ac); }
.h2-strip .h2-slides { aspect-ratio: 21 / 9; }
.h2-strip .h2-slides img { object-fit: cover; border-radius: var(--radius-lg); }
.h2-strip :is(.h2-photo, .h2-note) { display: none; }
.h2-strip .h2-name { --h2-vh: 0.3; }
.h2-papan .h2-wrap { gap: 14px; }
.h2-papan .h2-wrap > :is(.h2-name, .h2-photo, .h2-about, .h2-socials, .h2-slides) { padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--card); }
.h2-papan .h2-photo { padding-bottom: 0 !important; background: var(--ac-bg) !important; }
.h2-papan .h2-note { align-self: stretch; }

/* ---------- layar lebar ---------- */
@media (min-width: 900px) {
  .h2-wrap { width: min(100% - 80px, 1360px); column-gap: 48px; }
  .h2-terbelah .h2-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "name photo" "about photo" "social photo" "note photo"; }
  .h2-cermin .h2-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "photo name" "photo about" "photo social" "photo note"; }
  .h2-terbelah .h2-photo img, .h2-cermin .h2-photo img { height: calc(min(76svh, 760px) * var(--h2-shrink, 1)); }
  .h2-terbelah .h2-slides, .h2-cermin .h2-slides { display: none; }
  .h2-tengah .h2-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr); grid-template-areas: "name name name" "slides photo note" "about about about" "social social social"; }
  .h2-tengah .h2-name { --h2-vh: 0.15; }
  .h2-tengah .h2-photo img { height: calc(42svh * var(--h2-shrink, 1)); }
  .h2-tengah .h2-slides { align-self: center; height: calc(30svh * var(--h2-shrink, 1)); aspect-ratio: auto; }
  .h2-tengah .h2-note { align-self: center; text-align: left; }
  .h2-tengah .h2-text { max-width: 80ch; }
  .h2-sampul .h2-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "name name name" "about photo slides" "social photo note"; row-gap: 14px; }
  .h2-sampul .h2-name { --h2-vh: 0.3; margin-bottom: 0; text-align: center; }
  .h2-sampul .h2-name span { display: inline-block; margin-inline: 0.1em; }
  .h2-sampul .h2-name { white-space: nowrap; }
  .h2-sampul .h2-photo { margin-top: -5vw; }
  .h2-sampul .h2-photo img { height: calc(66svh * var(--h2-shrink, 1)); }
  .h2-sampul .h2-about { align-self: end; text-align: left; }
  .h2-sampul .h2-about :is(.h2-roles, .h2-acts) { justify-content: flex-start; }
  .h2-sampul .h2-slides { align-self: end; }
  .h2-raksasa .h2-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "name name" "about social"; }
  .h2-raksasa .h2-text { font-size: calc(19px * var(--z-hero, 1)); }
  .h2-raksasa .h2-socials { flex-direction: column; align-items: flex-end; align-self: start; }
  .h2-bulat .h2-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "name photo" "about photo" "social photo"; }
  .h2-bulat .h2-photo { align-items: center; }
  .h2-bulat .h2-photo img { width: min(36vw, 70svh, 520px); height: calc(min(36vw, 70svh, 520px) * var(--h2-shrink, 1)); }
  .h2-bulat :is(.h2-slides, .h2-note) { display: none; }
  .h2-foto .h2-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "name name" "about social"; align-items: end; }
  .h2-foto .h2-socials { justify-content: flex-end; }
  .h2-foto .h2-name { --h2-vh: 0.28; }
  .h2-panel .h2-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "photo name" "photo about" "photo social" "photo slides"; width: 100%; max-width: none; padding: 0 max(40px, calc((100% - 1360px) / 2)) 0 0; }
  .h2-panel .h2-wrap { align-content: stretch; grid-template-rows: auto auto auto 1fr; row-gap: 20px; }
  .h2-panel .h2-photo { margin: 0; height: 100%; }
  .h2-panel .h2-photo img { height: calc(min(84svh, 860px) * var(--h2-shrink, 1)); }
  .h2-panel .h2-name { align-self: end; padding-top: 48px; }
  .h2-panel .h2-slides { max-width: 340px; align-self: start; margin-bottom: 28px; }
  .h2-panel .h2-note { display: none; }
  .h2-poster .h2-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "name name" "about photo" "social photo"; padding-bottom: 0; align-content: end; row-gap: 14px; }
  .h2-poster .h2-photo img { height: calc(min(52svh, 560px) * var(--h2-shrink, 1)); }
  .h2-poster .h2-socials { padding-bottom: 36px; align-self: start; }
  .h2-strip .h2-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "name name" "slides slides" "about social"; }
  .h2-strip .h2-slides { aspect-ratio: auto; height: calc(34svh * var(--h2-shrink, 1)); }
  .h2-strip .h2-socials { justify-content: flex-end; align-self: start; }
  .h2-papan .h2-wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "name name name name name name name photo photo photo photo photo" "about about about about slides slides slides photo photo photo photo photo" "social social social social slides slides slides note note note note note"; column-gap: 14px; padding-block: 18px; }
  .h2-papan .h2-name { --h2-vh: 0.17; align-content: center; }
  .h2-papan .h2-photo img { height: calc(min(46svh, 480px) * var(--h2-shrink, 1)); }
  .h2-papan .h2-slides { aspect-ratio: auto; min-height: calc(200px * var(--h2-shrink, 1)); }
  .h2-papan .h2-slides img { object-fit: cover; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); border-radius: var(--radius); }
}
.h2-pause { position: absolute; right: 8px; bottom: 8px; z-index: 2; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius); background: rgba(8, 11, 18, 0.78); color: #fff; font: 600 12px var(--ui); cursor: pointer; }
.h2-foto .h2-slides .h2-pause { top: 14px; right: 14px; bottom: auto; }
.h2-foto .h2-wrap > .h2-slides { z-index: 0; }
@media (min-width: 900px) {
  .h2-wrap { padding-block: calc(24px * var(--h2-shrink, 1)); row-gap: calc(18px * var(--h2-shrink, 1)); }
  .h2-terbelah .h2-note, .h2-cermin .h2-note, .h2-panel .h2-slides { display: none; }
  .h2-panel .h2-wrap { padding-block: 0; grid-template-rows: auto auto 1fr; grid-template-areas: "photo name" "photo about" "photo social"; }
  .h2-panel .h2-name { padding-top: 40px; }
  .h2-sampul .h2-name span { margin-inline: 0.08em; }
  .h2-kartu .h2-wrap { max-width: 860px; margin-block: 16px; padding-block: calc(28px * var(--h2-shrink, 1)); row-gap: 12px; }
  .h2-kartu .h2-name { --h2-vh: 0.09; }
  .h2-kartu .h2-photo img { width: calc(140px * var(--h2-shrink, 1)); height: calc(140px * var(--h2-shrink, 1)); }
  .h2-kartu .h2-text { max-width: 78ch; margin-bottom: 8px; font-size: calc(15px * var(--z-hero, 1)); }
}
@media (min-width: 900px) {
  .h2-papan .h2-note { display: none; }
  .h2-papan .h2-wrap { grid-template-areas: "name name name name name name name photo photo photo photo photo" "about about about about slides slides slides photo photo photo photo photo" "social social social social slides slides slides photo photo photo photo photo"; }
  .h2-papan .h2-photo img { height: calc(62svh * var(--h2-shrink, 1)); }
}
