/* ==========================================================================
   KOPERTAIS WILAYAH VII — Design System
   Palette : deep emerald / cream / gold
   Type    : Fraunces (display serif) · Plus Jakarta Sans (UI)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-900: #071d18;
  --ink-800: #0a2e26;
  --ink-700: #0f3d33;
  --ink-600: #175348;
  --ink-500: #1f6b5c;

  --cream-50: #fbf9f3;
  --cream-100: #f6f2e8;
  --cream-200: #ece6d6;
  --cream-300: #ddd4bd;

  --gold-300: #e7c78a;
  --gold-400: #d9ae6a;
  --gold-500: #c9974a;
  --gold-600: #a97a33;

  --text: #14211d;
  --text-mute: #5f6b66;
  --line: rgba(20, 33, 29, .12);
  --line-light: rgba(255, 255, 255, .14);

  --shell: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 40px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Amiri", serif;

  --shadow-sm: 0 2px 8px rgba(10, 46, 38, .06);
  --shadow-md: 0 18px 40px -18px rgba(10, 46, 38, .22);
  --shadow-lg: 0 40px 90px -40px rgba(7, 29, 24, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold-400); color: var(--ink-900); }

body.nav-open { overflow: hidden; }

/* ---------- Utilities ---------- */
.shell { width: min(100% - (var(--pad) * 2), var(--shell)); margin-inline: auto; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -.02em; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-600);
}
.eyebrow-line { width: 34px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.eyebrow--light { color: var(--gold-300); }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-top: 18px;
  text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; }

.lead { font-size: clamp(1.02rem, 1.2vw, 1.16rem); line-height: 1.7; color: var(--text-mute); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .88rem; font-weight: 600; letter-spacing: .01em;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-400);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(10,46,38,.5); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink-900); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--ink-900); }
.btn--gold::before { background: var(--cream-50); }
.btn--gold:hover { color: var(--ink-900); }

.btn--dark { --btn-bg: var(--ink-800); }
.btn--dark::before { background: var(--gold-400); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-800); border: 1px solid var(--line); }
.btn--ghost::before { background: var(--ink-800); }
.btn--ghost:hover { color: #fff; border-color: var(--ink-800); }

.btn--line { --btn-bg: transparent; --btn-fg: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn--line::before { background: #fff; }
.btn--line:hover { color: var(--ink-900); }
.btn--line .play {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14);
}
.btn--line .play svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }

.btn--sm { padding: 10px 18px; font-size: .8rem; }
.btn--lg { padding: 17px 32px; font-size: .93rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-800);
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: gap .35s var(--ease), border-color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover { gap: 16px; border-color: var(--ink-800); }
.link-arrow--light { color: var(--cream-100); border-color: var(--line-light); }
.link-arrow--light:hover { border-color: var(--gold-300); }

.tag {
  display: inline-block;
  padding: 6px 13px; border-radius: 999px;
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.tag--gold { background: var(--gold-400); color: var(--ink-900); }
.tag--dark { background: rgba(7,29,24,.86); color: var(--cream-100); backdrop-filter: blur(8px); }
.tag--line { border: 1px solid var(--line-light); color: var(--gold-300); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; gap: 26px;
  align-content: center;
  background: var(--ink-900);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.loader-mark span {
  font-size: .62rem; font-weight: 800; letter-spacing: .26em; color: var(--cream-100);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.loader-mark em { font-style: normal; color: var(--gold-400); font-size: .8rem; letter-spacing: .1em; }
.loader-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader-ring circle {
  stroke: var(--gold-400); stroke-width: 1.5;
  stroke-dasharray: 289; stroke-dashoffset: 289;
  animation: ring 1.5s var(--ease) infinite;
}
@keyframes ring { 0% { stroke-dashoffset: 289; } 60%,100% { stroke-dashoffset: 0; } }
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--gold-400); animation: bar 1.2s var(--ease) forwards; }
@keyframes bar { to { width: 100%; } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(217,174,106,.75);
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(217,174,106,.14); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255,255,255,.66);
  font-size: .74rem;
  letter-spacing: .02em;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar-note { display: flex; align-items: center; gap: 9px; }
.dot-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(217,174,106,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(217,174,106,0); } 100% { box-shadow: 0 0 0 0 rgba(217,174,106,0); } }
.topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar-links a { transition: color .25s; }
.topbar-links a:hover { color: var(--gold-300); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251,249,243,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s, box-shadow .45s;
}
.nav.is-scrolled {
  background: rgba(251,249,243,.9);
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(10,46,38,.5);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-emblem {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-800);
  box-shadow: 0 0 0 1px rgba(217,174,106,.5), inset 0 0 0 3px var(--ink-800);
  position: relative;
}
.brand-emblem::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(201,151,74,.35);
}
.brand-emblem img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: .86rem; font-weight: 800; letter-spacing: .18em; color: var(--ink-900); }
.brand-text strong em { font-style: normal; color: var(--gold-600); }
.brand-text small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-mute); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 10px 14px;
  font-size: .85rem; font-weight: 500; color: #33433d;
  border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--ink-900); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); place-items: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink-900); transition: transform .35s var(--ease), opacity .25s; }
.burger span + span { margin-top: 4px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 400;
  background: var(--ink-900); color: var(--cream-100);
  padding: 22px 24px 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
}
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.45); flex: none; }
.mobile-close { font-size: 2rem; line-height: 1; color: var(--cream-100); padding: 4px 8px; }
.mobile-links { display: flex; flex-direction: column; margin-top: 20px; gap: 0; }
.mobile-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); font-size: clamp(1.55rem, 6.5vw, 2.2rem);
  line-height: 1.25;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .3s, padding-left .4s var(--ease);
}
.mobile-links i { font-family: var(--font-sans); font-style: normal; font-size: .62rem; letter-spacing: .2em; color: var(--gold-400); flex: none; }
.mobile-links a:hover { color: var(--gold-300); padding-left: 8px; }
.mobile-menu-foot { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: none; }
.mobile-menu-foot p { font-size: .78rem; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 8%, #145247 0%, #0a2e26 42%, #071d18 100%);
  color: var(--cream-100);
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 110px);
  min-height: min(88vh, 900px);
  display: flex; align-items: center;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .85; }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-ornament {
  position: absolute; right: -14%; top: -18%; width: min(78vw, 980px); aspect-ratio: 1;
  color: rgba(217,174,106,.16); z-index: -1;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: .98; letter-spacing: -.04em;
  margin: 26px 0 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em {
  font-style: italic; color: var(--gold-300);
}
@keyframes rise { to { transform: translateY(0); } }

.hero-desc { max-width: 44ch; font-size: clamp(.98rem, 1.1vw, 1.08rem); line-height: 1.75; color: rgba(255,255,255,.7); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  gap: clamp(20px, 3.4vw, 46px);
  margin-top: 48px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; }
.hero-meta span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.44); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  display: block;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  position: relative;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.75);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.hero-card:hover {
  border-color: rgba(217,174,106,.45);
  box-shadow: 0 45px 90px -35px rgba(0,0,0,.85), 0 0 35px rgba(217,174,106,.15);
}
.hero-card-img {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.hero-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
  filter: saturate(.95) contrast(1.05);
}
.hero-card:hover .hero-card-img img { transform: scale(1.08); }
.hero-card-shine {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(217,174,106,.15), transparent 45%, rgba(7,29,24,.55));
}
.hero-card-body { padding: 20px 14px 12px; }
.hero-card-body h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 400; line-height: 1.2; margin-top: 12px; letter-spacing: -.01em; }
.hero-card-body p { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 8px; line-height: 1.6; }

.float-card {
  position: absolute; border-radius: 18px;
  background: rgba(251,249,243,.96); color: var(--ink-900);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  padding: 16px 18px;
}
.float-card--stat { left: -36px; top: 32px; width: 170px; backdrop-filter: blur(8px); }
.fc-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); }
.fc-value { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; margin: 6px 0 2px; letter-spacing: -.03em; }
.fc-sub { font-size: .7rem; color: var(--text-mute); }
.fc-bars { display: flex; gap: 4px; margin-top: 12px; }
.fc-bars i { height: 3px; border-radius: 3px; background: var(--cream-300); flex: 1; position: relative; overflow: hidden; }
.fc-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold-500); }

.float-card--badge { right: -16px; top: -18px; background: transparent; box-shadow: none; padding: 0; z-index: 4; }
.seal {
  position: relative; width: 96px; height: 96px; color: var(--gold-300);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; filter: drop-shadow(0 14px 28px rgba(0,0,0,.45)); user-select: none;
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.seal-sub { font-size: .52rem; font-weight: 700; letter-spacing: .22em; color: var(--gold-400); line-height: 1; text-transform: uppercase; }
.seal-sub--top { margin-bottom: 2px; }
.seal-sub--bot { margin-top: 2px; }
.seal b { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; line-height: 1; color: #fff; text-shadow: 0 2px 8px rgba(217,174,106,.4); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
.hero-scroll i { width: 1px; height: 42px; background: linear-gradient(to bottom, rgba(217,174,106,.9), transparent); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink-900); border-block: 1px solid rgba(255,255,255,.08);
  overflow: hidden; padding: 16px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em;
  color: rgba(255,255,255,.6); white-space: nowrap;
}
.marquee b { color: var(--gold-500); font-weight: 400; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--cream { background: var(--cream-50); }
.section--bordered { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink-900); color: var(--cream-100); }
.section--dark .h2 { color: var(--cream-100); }
.section--dark .section-head-desc { color: rgba(255,255,255,.55); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-head-desc { margin-inline: auto; }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: end; max-width: none; }
.section-head--baseline { align-items: baseline; justify-items: start; }
.section-head--baseline > .link-arrow { justify-self: end; }
.section-head-desc { font-size: .98rem; line-height: 1.7; color: var(--text-mute); max-width: 42ch; }

/* ---------- Profil ---------- */
.profil-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.profil-visual { position: relative; padding-bottom: 40px; }
.profil-photo {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/4.4;
}
.profil-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.profil-photo:hover img { transform: scale(1.04); }
.profil-photo--sub {
  position: absolute; right: -6%; bottom: 0; width: 52%;
  aspect-ratio: 4/3.2;
  border: 8px solid var(--cream-50);
  box-shadow: var(--shadow-lg);
}
.profil-years {
  position: absolute; left: -28px; top: 34px;
  background: var(--ink-800); color: var(--cream-100);
  border-radius: 18px; padding: 18px 20px; width: 138px;
  box-shadow: var(--shadow-lg);
}
.profil-years strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1; display: block; letter-spacing: -.04em; }
.profil-years sup { font-size: .9rem; color: var(--gold-400); }
.profil-years span { font-size: .68rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); display: block; margin-top: 8px; }
.profil-pattern {
  position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; z-index: -1;
  background-image: radial-gradient(var(--gold-400) 1.2px, transparent 1.2px);
  background-size: 12px 12px; opacity: .5;
}

.profil-copy .lead { margin-top: 22px; }
.profil-copy > p:not(.eyebrow):not(.lead) { margin-top: 16px; color: var(--text-mute); max-width: 56ch; }
.profil-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0 30px; }
.profil-cols h4 {
  display: flex; align-items: baseline; gap: 10px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--ink-800);
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line);
}
.profil-cols h4 span { font-family: var(--font-display); font-style: italic; font-size: .95rem; color: var(--gold-600); letter-spacing: 0; }
.profil-cols p { font-size: .88rem; color: var(--text-mute); line-height: 1.65; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--cream-100); border-block: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat > span {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1;
  letter-spacing: -.04em; color: var(--ink-800);
  display: block;
}
.stat p { font-size: .8rem; color: var(--text-mute); margin-top: 10px; letter-spacing: .02em; }

/* ---------- PTKIS ---------- */
.ptkis-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(31,107,92,.35), transparent 70%);
}
.ptkis-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 44px 0 34px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.72);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip span { opacity: .5; font-size: .7rem; margin-left: 4px; }
.chip:hover { border-color: var(--gold-400); color: #fff; transform: translateY(-1px); }
.chip.is-active { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink-900); font-weight: 700; }
.chip.is-active span { opacity: .7; }

.search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 10px 18px;
  min-width: 260px; flex: 1; max-width: 340px;
  transition: border-color .3s, background .3s;
}
.search:focus-within { border-color: var(--gold-400); background: rgba(255,255,255,.08); }
.search svg { width: 16px; height: 16px; color: rgba(255,255,255,.45); flex: none; }
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: .85rem; color: #fff; }
.search input::placeholder { color: rgba(255,255,255,.36); }
.search input::-webkit-search-cancel-button { filter: invert(1); opacity: .4; }

.ptkis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 16px; }
.ptkis-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 24px 14px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.032);
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .4s;
  animation: cardIn .5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.ptkis-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.ptkis-card:hover { transform: translateY(-5px); border-color: rgba(217,174,106,.45); background: rgba(255,255,255,.07); box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.ptkis-card:hover::after { transform: scaleX(1); }
.ptkis-card.is-hidden { display: none; }
.ptkis-logo {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream-50); display: grid; place-items: center; padding: 10px;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.ptkis-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.ptkis-card:hover .ptkis-logo { transform: scale(1.08); box-shadow: 0 6px 20px rgba(217,174,106,.25); }
.ptkis-card:hover .ptkis-logo img { transform: scale(1.06); }
.ptkis-text { display: flex; flex-direction: column; gap: 2px; }
.ptkis-card h4 { font-size: .78rem; font-weight: 600; line-height: 1.35; color: var(--cream-100); letter-spacing: .005em; }
.ptkis-card p { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.ptkis-arrow {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-400); color: var(--ink-900);
  opacity: 0; transform: scale(.7) rotate(-30deg); transition: opacity .4s, transform .5s var(--ease);
}
.ptkis-arrow svg { width: 11px; height: 11px; stroke-width: 2.2; }
.ptkis-card:hover .ptkis-arrow { opacity: 1; transform: scale(1) rotate(0); }

.ptkis-empty { text-align: center; padding: 50px 0; color: rgba(255,255,255,.45); font-size: .9rem; }
.ptkis-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.ptkis-foot p { font-size: .78rem; color: rgba(255,255,255,.4); letter-spacing: .06em; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 36px clamp(20px, 2.6vw, 34px) 32px;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background .45s var(--ease);
  overflow: hidden;
}
.service:nth-child(3n) { border-right: 0; }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-800);
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.service:hover::before { transform: translateY(0); }
.service:hover { color: var(--cream-100); }
.service-no {
  font-family: var(--font-display); font-style: italic; font-size: .8rem; color: var(--gold-600);
  transition: color .3s;
}
.service-icon {
  width: 46px; height: 46px; margin: 26px 0 22px; padding: 11px;
  border-radius: 13px; border: 1px solid var(--line); color: var(--ink-700);
  transition: border-color .4s, color .4s, transform .5s var(--ease);
}
.service:hover .service-icon { border-color: rgba(217,174,106,.5); color: var(--gold-300); transform: translateY(-3px); }
.service:hover .service-no { color: var(--gold-300); }
.service h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.service p { margin-top: 10px; font-size: .87rem; line-height: 1.68; color: var(--text-mute); transition: color .35s; }
.service:hover p { color: rgba(255,255,255,.62); }
.service-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-800); transition: color .3s, gap .35s var(--ease);
}
.service-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.service:hover .service-link { color: var(--gold-300); gap: 11px; }
.service-link:hover svg { transform: translate(2px,-2px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 25px; left: 6%; right: 6%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 6px, transparent 6px 14px);
}
.step { position: relative; padding-right: clamp(16px, 2.4vw, 34px); }
.step-no {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: var(--ink-900);
  font-family: var(--font-display); font-style: italic; font-size: .95rem; color: var(--gold-300);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.step:hover .step-no { background: var(--gold-400); color: var(--ink-900); border-color: var(--gold-400); transform: scale(1.06); }
.step h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; margin-top: 22px; }
.step p { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.5); margin-top: 8px; max-width: 30ch; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.news-feature { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.news-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-img { position: relative; aspect-ratio: 16/9.6; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-feature:hover .news-img img { transform: scale(1.05); }
.news-img .tag { position: absolute; top: 18px; left: 18px; }
.news-count {
  position: absolute; bottom: 16px; right: 18px; font-size: .66rem; letter-spacing: .18em;
  color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.news-body { padding: clamp(20px, 2.4vw, 32px); }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.news-body h3 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.24; letter-spacing: -.02em; margin-top: 12px;
  transition: color .3s;
}
.news-feature:hover .news-body h3 { color: var(--ink-600); }
.news-body > p { font-size: .9rem; line-height: 1.7; color: var(--text-mute); margin-top: 12px; }
.news-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-800);
}
.news-more svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.news-feature:hover .news-more svg { transform: translateX(5px); }

.news-side { display: flex; flex-direction: column; gap: 14px; }
.arsip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.arsip-grid .news-mini { grid-template-columns: 1fr; }
.arsip-grid .news-mini-img { aspect-ratio: 16/10; }
@media (max-width: 900px) { .arsip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .arsip-grid { grid-template-columns: 1fr; } }
.news-mini {
  display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center;
  padding: 12px; border-radius: var(--r-md); background: #fff;
  border: 1px solid transparent; box-shadow: var(--shadow-sm);
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.news-mini:hover { border-color: var(--line); transform: translateX(4px); box-shadow: var(--shadow-md); }
.news-mini-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.news-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-mini:hover img { transform: scale(1.07); }
.news-mini-body .news-meta { font-size: .64rem; }
.news-mini h4 { font-size: .92rem; font-weight: 600; line-height: 1.42; margin-top: 7px; letter-spacing: -.005em; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ink-800); color: var(--cream-100); padding: clamp(48px, 6vw, 76px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-head p { font-size: .85rem; color: rgba(255,255,255,.5); max-width: 34ch; }
.gallery-track {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--pad) 18px;
  scroll-snap-type: x mandatory; cursor: grab;
  scrollbar-width: thin; scrollbar-color: rgba(217,174,106,.4) transparent;
}
.gallery-track::-webkit-scrollbar { height: 4px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(217,174,106,.4); border-radius: 4px; }
.gallery-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { flex: 0 0 clamp(230px, 26vw, 330px); scroll-snap-align: start; position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3.1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8);
  transform: translateY(4px); opacity: .85; transition: transform .4s var(--ease), opacity .4s;
}
.gallery figure:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- Agenda ---------- */
.agenda { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); }
.agenda-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: 28px 6px; border-bottom: 1px solid rgba(255,255,255,.12);
  transition: padding .45s var(--ease), background .45s;
  position: relative;
}
.agenda-row::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(217,174,106,.08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.agenda-row:hover { padding-inline: 20px; }
.agenda-row:hover::before { opacity: 1; }
.agenda-date { display: flex; align-items: flex-start; gap: 8px; }
.agenda-date strong { font-family: var(--font-display); font-size: 2.6rem; line-height: .9; font-weight: 400; letter-spacing: -.04em; color: var(--cream-100); transition: color .35s; }
.agenda-row:hover .agenda-date strong { color: var(--gold-300); }
.agenda-date span { font-size: .64rem; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); padding-top: 4px; }
.agenda-main h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 400; line-height: 1.3; margin-top: 10px; }
.agenda-main p { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 6px; }
.agenda-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300);
  padding: 10px 18px; border: 1px solid rgba(217,174,106,.35); border-radius: 999px;
  transition: background .35s, color .35s;
}
.agenda-cta svg { width: 13px; height: 13px; }
.agenda-row:hover .agenda-cta { background: var(--gold-400); color: var(--ink-900); border-color: var(--gold-400); }

/* ---------- Regulasi ---------- */
.regulasi-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.regulasi-copy .lead { margin-top: 20px; }
.regulasi-copy .btn { margin-top: 30px; }
.reg-list { display: flex; flex-direction: column; }
.reg-list li { border-bottom: 1px solid var(--line); }
.reg-list li:first-child { border-top: 1px solid var(--line); }
.reg-list a {
  display: grid; grid-template-columns: 62px 1fr 22px; gap: 16px; align-items: center;
  padding: 22px 8px; transition: padding .45s var(--ease), background .4s;
}
.reg-list a:hover { padding-inline: 18px; background: rgba(255,255,255,.6); }
.reg-list .reg-static {
  display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: center;
  padding: 22px 8px;
}
.reg-type {
  font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); border: 1px solid rgba(201,151,74,.4); border-radius: 6px;
  padding: 5px 0; text-align: center;
}
.reg-list h4 { font-size: .96rem; font-weight: 600; letter-spacing: -.005em; }
.reg-list p { font-size: .8rem; color: var(--text-mute); margin-top: 3px; }
.reg-list svg { width: 18px; height: 18px; color: var(--text-mute); transition: transform .4s var(--ease), color .3s; }
.reg-list a:hover svg { color: var(--ink-800); transform: translate(2px,-2px); }

/* ---------- Quote ---------- */
.quote {
  position: relative; background: var(--cream-200); color: var(--ink-900);
  padding: clamp(70px, 9vw, 120px) 0; overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,46,38,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 75%);
}
.quote-orn {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 26rem; line-height: 1; color: rgba(201,151,74,.16);
  pointer-events: none;
}
.quote blockquote { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote > p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3.3vw, 2.6rem); line-height: 1.28; letter-spacing: -.025em;
  text-wrap: balance;
}
.quote footer { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; text-align: left; }
.q-line { width: 46px; height: 1px; background: var(--gold-600); }
.quote footer strong { display: block; font-size: .88rem; font-weight: 700; }
.quote footer small { font-size: .74rem; color: var(--text-mute); letter-spacing: .04em; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 85% 15%, rgba(31,107,92,.5), transparent 70%),
              radial-gradient(40% 40% at 5% 100%, rgba(201,151,74,.16), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.contact-copy .lead { margin-top: 20px; color: rgba(255,255,255,.6); }
.contact-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.contact-list li { display: flex; gap: 16px; }
.ci {
  width: 42px; height: 42px; flex: none; border-radius: 12px; padding: 11px;
  border: 1px solid rgba(255,255,255,.16); color: var(--gold-300);
  background: rgba(255,255,255,.03);
}
.contact-list strong { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.contact-list p { font-size: .84rem; color: rgba(255,255,255,.5); margin-top: 3px; line-height: 1.6; }
.contact-list a:hover { color: var(--gold-300); }

.contact-form {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -50px #000;
}
.cf-head { margin-bottom: 26px; }
.cf-head h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
.cf-head p { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 4px; }

.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 20px 16px 10px;
  font-size: .88rem; color: #fff;
  outline: none; resize: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select { appearance: none; padding-right: 38px; }
.field select option { background: var(--ink-800); color: #fff; }
.field textarea { min-height: 92px; }
.field label {
  position: absolute; left: 17px; top: 16px;
  font-size: .85rem; color: rgba(255,255,255,.45);
  pointer-events: none;
  transition: transform .3s var(--ease), font-size .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-400); background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(217,174,106,.12);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300);
}
.field select { color: transparent; }
.field select:focus,
.field select:not([data-empty]) { color: #fff; }
.field select:focus + label,
.field select:not([data-empty]) + label,
.field label.is-static {
  transform: translateY(-9px); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300);
}
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #e0705a; }
.field::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 10px;
  margin-top: -6px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ae6a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  opacity: 0; pointer-events: none;
}
.field:has(select)::after { opacity: 1; }

.contact-form .btn { margin-top: 8px; }
.cf-note { font-size: .78rem; margin-top: 12px; min-height: 1.2em; color: var(--gold-300); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-top: clamp(56px, 7vw, 86px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); padding-bottom: 48px; }
.brand--light .brand-text strong { color: var(--cream-100); }
.brand--light .brand-text small { color: rgba(255,255,255,.42); }
.brand--light .brand-emblem { box-shadow: 0 0 0 1px rgba(217,174,106,.5), inset 0 0 0 3px var(--ink-900); background: rgba(255,255,255,.1); }
.footer-brand > p { font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,.45); margin-top: 20px; max-width: 34ch; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; padding: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.socials a:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink-900); transform: translateY(-3px); }
.footer-col h5 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: .86rem; padding: 6px 0; color: rgba(255,255,255,.55); transition: color .25s, transform .3s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-mid { height: 84px; opacity: .18; color: var(--gold-400); }
.footer-mid svg { width: 100%; height: 100%; stroke: none; fill: currentColor; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .76rem; color: rgba(255,255,255,.38);
}
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a:hover { color: var(--cream-100); }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top svg { width: 13px; height: 13px; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}

/* ==========================================================================
   Struktur Organisasi
   ========================================================================== */
.org {
  margin-top: clamp(44px, 6vw, 68px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

/* --- Koordinator (kartu utama) --- */
.org-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--ink-800);
  color: var(--cream-100);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}
.org-lead::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 174, 106, .16), transparent 68%);
  pointer-events: none;
}
.org-lead-photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.org-lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); }
.org-lead-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 29, 24, .55) 100%);
  pointer-events: none;
}
.org-lead:hover .org-lead-photo img { transform: scale(1.04); }

.org-role {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 174, 106, .35);
}
.org-lead-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 16px 0 10px;
  text-wrap: balance;
}
.org-lead-body p { font-size: .88rem; color: rgba(255, 255, 255, .55); line-height: 1.6; }

/* --- Level 2: wakil & sekretaris --- */
.org-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.org-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 151, 74, .4);
}
.org-avatar {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--cream-200);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 4px rgba(217, 174, 106, .18);
}
.org-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.92) contrast(1.03); }
.org-initials {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-700);
  letter-spacing: .02em;
}
.org-lead .org-initials { font-size: 2.6rem; color: rgba(255, 255, 255, .5); }
.org-card .org-role { color: var(--gold-600); border-bottom: 0; padding-bottom: 0; }
.org-card h4 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-top: 6px;
  color: var(--ink-900);
}
.org-card p { font-size: .76rem; color: var(--text-mute); margin-top: 4px; }

/* --- Level 3 & 4: daftar staf --- */
.org-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px clamp(18px, 2.4vw, 28px);
}
.org-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.org-group-title span {
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  flex: none;
}
.org-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px 26px;
}
.org-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft, rgba(20, 33, 29, .06));
}
.org-list li:first-child,
.org-list li:nth-child(2) { border-top: 0; }
.org-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  margin-top: 8px;
  flex: none;
}
.org-list-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--cream-200);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 3px rgba(217, 174, 106, .15);
}
.org-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50% !important;
}
.org-list-avatar .org-initials { font-size: .8rem; color: var(--ink-700); }
.org-list strong {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}
.org-list small {
  display: block;
  font-size: .74rem;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ---------- Download Dokumen ---------- */
.dokumen-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.dokumen-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.dokumen-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(201,151,74,.45); }
.dokumen-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold-600); background: rgba(217,174,106,.14);
}
.dokumen-ic svg { width: 22px; height: 22px; }
.dokumen-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dokumen-body strong { font-size: .98rem; font-weight: 700; color: var(--ink-900); }
.dokumen-body small { font-size: .72rem; color: var(--text-mute); letter-spacing: .06em; text-transform: uppercase; }
.dokumen-dl { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-700); background: var(--cream-100); transition: background .3s, color .3s; }
.dokumen-dl svg { width: 18px; height: 18px; }
.dokumen-item:hover .dokumen-dl { background: var(--gold-400); color: var(--ink-900); }

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; background: rgba(255,255,255,.03); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: left; color: var(--cream-100);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
}
.faq-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-300); transition: transform .35s var(--ease); }
.faq-ic svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-ic { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner { padding: 0 22px; color: rgba(255,255,255,.7); font-size: .94rem; line-height: 1.7; }
.faq-item.is-open .faq-a-inner { padding-bottom: 22px; }

/* ---------- Google Maps ---------- */
.contact-map { margin-top: 24px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); }
.contact-map iframe { display: block; }

@media (max-width: 780px) {
  .org-lead { grid-template-columns: 1fr; gap: 22px; }
  .org-lead-photo { aspect-ratio: 16 / 10; max-width: 320px; }
  .org-row { grid-template-columns: 1fr; }
  .org-card { padding: 16px; gap: 14px; }
  .org-avatar { width: 52px; height: 52px; }
  .org-list li:nth-child(2) { border-top: 1px solid rgba(20, 33, 29, .06); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 10px; font-size: .8rem; }
  .nav-actions .btn--ghost { display: none; }
  .ptkis-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 560px; }
  .hero-meta { grid-template-columns: repeat(4, 1fr); }
  .profil-grid { grid-template-columns: 1fr; gap: 72px; }
  .profil-visual { max-width: 560px; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .news { grid-template-columns: 1fr; }
  .news-side { display: grid; grid-template-columns: repeat(3, 1fr); }
  .news-mini { grid-template-columns: 1fr; }
  .news-mini-img { aspect-ratio: 16/10; }
  .regulasi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .hero { padding-top: 40px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-meta li { border-left: 1px solid rgba(255,255,255,.12); padding-left: 14px; }
  .hero-meta li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .float-card--stat { left: 8px; bottom: -18px; }
  .float-card--badge { right: 4px; top: -18px; }
  .seal { width: 84px; height: 84px; }
  .seal b { font-size: 1.3rem; }
  .hero-scroll { display: none; }
  .profil-years { left: -8px; width: 120px; padding: 14px; }
  .profil-photo--sub { right: 0; width: 56%; border-width: 6px; }
  .profil-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(3n) { border-right: 0; }
  .ptkis-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .ptkis-toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
  .ptkis-card { padding: 18px 12px; }
  .news-side { grid-template-columns: 1fr; }
  .news-mini { grid-template-columns: 104px 1fr; }
  .news-mini-img { aspect-ratio: 1; }
  .agenda-row { grid-template-columns: 76px 1fr; }
  .agenda-cta { display: none; }
  .agenda-date strong { font-size: 2.1rem; }
  .quote-orn { font-size: 16rem; top: -30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-mid { height: 56px; }
  .hero-title { font-size: clamp(2.3rem, 9.6vw, 3.4rem); }
}

@media (max-width: 420px) {
  .ptkis-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .ptkis-card h4 { font-size: .72rem; }
  .mobile-links a { font-size: 1.7rem; }
}

/* ========== HERO FIX ========== */
/* ==========================================================================
   HERO — perbaikan overlap + animasi lanjutan
   Ditambahkan di akhir style.css agar menimpa aturan lama.
   ========================================================================== */

/* ---------- 1. Isolasi ornamen: tidak boleh mempengaruhi layout ---------- */
.hero { isolation: isolate; contain: paint; overflow: clip; }

.hero-ornament {
  position: absolute;
  top: -18%;
  right: 0;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  max-width: none;
  pointer-events: none;
  transform: translateX(28%);
  animation: heroOrnSpin 120s linear infinite;
  opacity: .85;
}
@keyframes heroOrnSpin {
  from { transform: translateX(28%) rotate(0deg); }
  to   { transform: translateX(28%) rotate(360deg); }
}

/* Glow lembut di belakang visual agar kartu tidak "menempel" ke teks */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -8% -14% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(31, 107, 92, .55), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

/* ---------- 2. Grid hero lebih seimbang ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
}

/* Di bawah 1024px: satu kolom, kartu visual tidak boleh berebut lebar */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}

.hero-copy { min-width: 0; }
.hero-title { text-wrap: balance; }
.hero-desc { max-width: 46ch; }

/* Ruang aman: kartu visual tidak pernah menimpa kolom teks */
.hero-visual { position: relative; min-width: 0; }

/* ---------- 3. Kartu berita: proporsi rapi & foto penuh ---------- */
.hero-card {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 22px;
}
.hero-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
}
.hero-card-body { padding: 16px 12px 10px; }
.hero-card-body h3 {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card-body p { font-size: .76rem; margin-top: 6px; }

/* ---------- 4. Floating card: posisi aman di sudut atas, tidak menutupi judul berita ---------- */
.float-card--stat {
  left: clamp(-36px, -2.4vw, -12px);
  top: clamp(20px, 3.2vw, 42px);
  bottom: auto;
  width: 158px;
  padding: 14px 16px;
  z-index: 3;
}
.fc-value { font-size: 2rem; }

.float-card--badge {
  right: clamp(-12px, -1vw, 2px);
  top: -16px;
  z-index: 4;
}
.seal { width: 96px; height: 96px; }

/* Pada layar sedang/kecil, posisikan tetap aman di sudut foto tanpa menutupi teks */
@media (max-width: 1024px) {
  .float-card--stat {
    position: absolute;
    left: 14px;
    top: 14px;
    bottom: auto;
    width: 142px;
    padding: 10px 12px;
  }
  .float-card--badge { display: none; }
  .hero-card-img { width: 100%; aspect-ratio: 16 / 10; max-height: none; }
}

@media (max-width: 780px) {
  .float-card--stat {
    top: 10px;
    left: 10px;
    bottom: auto;
    width: 130px;
    padding: 8px 10px;
  }
  .fc-value { font-size: 1.5rem; }
  .hero-visual { padding-bottom: 12px; }
  .hero-visual::before { inset: -8% -4% -10% -8%; }
}

/* ---------- 5. Animasi masuk berurutan (stagger) ---------- */
.hero-copy > * { animation: heroRise .95s var(--ease) both; }
.hero-copy > .eyebrow        { animation-delay: .10s; }
.hero-copy > .hero-title      { animation-delay: .18s; }
.hero-copy > .hero-desc       { animation-delay: .40s; }
.hero-copy > .hero-cta        { animation-delay: .52s; }
.hero-copy > .hero-meta       { animation-delay: .64s; }

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

/* Visual muncul dari samping + skala */
.hero-visual > .hero-card-wrap { animation: heroVisualIn 1.1s var(--ease) .34s both, heroFloat 7s ease-in-out 2.2s infinite; }
@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* Garis aksen yang tumbuh di bawah eyebrow */
.hero-copy .eyebrow-line {
  transform-origin: left center;
  animation: lineGrow .9s var(--ease) .35s both;
}
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 6. Animasi ambient berkelanjutan ---------- */
/* Kartu berita mengambang naik-turun sangat halus */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
/* Diterapkan lewat wrapper agar tidak bentrok dengan transform tilt */
.hero-card { will-change: transform; }
/* Float diterapkan pada wrapper agar tidak berebut transform dengan tilt */
.hero-card-wrap {
  animation: heroFloat 7s ease-in-out 1.6s infinite;
  will-change: transform;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-.35deg); }
}

/* Badge segel statis & anggun (tanpa putaran yang memusingkan) */
.seal b {
  color: #fff;
}

/* Sorot emas berjalan pada bingkai kartu berita */
.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--shine, 0deg), transparent 0deg, rgba(217,174,106,.55) 40deg, transparent 90deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: shineSweep 9s linear infinite;
}
@property --shine {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes shineSweep {
  to { --shine: 360deg; }
}

/* Marquee lebih hidup: gradien tepi + kecepatan variatif */
.marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { animation-duration: 38s; }
.marquee-track span { transition: color .4s; }
.marquee:hover .marquee-track span { color: rgba(255,255,255,.85); }

/* Angka statistik: garis emas yang mengalir di bawah label */
.hero-meta li { position: relative; }
.hero-meta li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  animation: metaLine 1s var(--ease) 1s forwards;
}
@keyframes metaLine { to { width: 100%; } }

/* Tombol utama: kilau melintas periodik */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: btnShine 4.5s ease-in-out 2.4s infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 55% { left: -60%; }
  75%     { left: 130%; }
  100%    { left: 130%; }
}

/* Scroll indicator: titik turun berulang */
.hero-scroll i {
  position: relative;
  overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--gold-300));
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -40%; }
  70%  { top: 100%; }
  100% { top: 100%; }
}

/* ---------- 7. Hormati preferensi reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-ornament,
  .hero-visual > .hero-card,
  .seal b,
  .seal text,
  .hero-card::after,
  .btn--gold::after,
  .hero-scroll i::after,
  .hero-meta li::after,
  .hero-copy > *,
  .hero-visual,
  .hero-copy .eyebrow-line {
    animation: none !important;
  }
  .hero-copy > *, .hero-visual { opacity: 1; transform: none; }
}

/* ---------- 8. Navbar mobile: cegah meluber ---------- */
@media (max-width: 780px) {
  .nav-inner { gap: 12px; height: 68px; }
  .nav-actions { gap: 8px; min-width: 0; flex: none; }
  .nav-actions .btn--gold { display: none; }
  .brand { min-width: 0; }
  .brand-emblem { width: 40px; height: 40px; }
  .brand-emblem img { width: 23px; height: 23px; }
  .brand-text strong { font-size: .78rem; letter-spacing: .14em; }
  .brand-text small { font-size: .6rem; letter-spacing: .2em; }
  .burger { width: 42px; height: 42px; flex: none; }
}

@media (max-width: 380px) {
  .brand-text small { display: none; }
}

/* ---------- 9. Ornamen hero tidak boleh menambah scroll ---------- */
.hero-ornament { will-change: transform; }

/* ---------- 10. Pengaman global anti-overflow horizontal ---------- */
html, body { max-width: 100%; overflow-x: clip; }
.marquee { overflow: hidden; }
.gallery-track { overscroll-behavior-x: contain; }

/* ---------- 11. Tilt via CSS variable (float tetap berjalan di wrapper) ---------- */
.hero-card {
  perspective: 900px;
  transform-style: preserve-3d;
  transform:
    perspective(900px)
    rotateY(var(--tilt-y, 0deg))
    rotateX(var(--tilt-x, 0deg));
  transition: transform .55s var(--ease);
}
.hero-card.is-tilting { transition: transform .12s linear; }
