/* =========================================================
   HIMA MEKA PENS — Core Stylesheet
   Design language: Industrial Minimalism
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color — warm, orange-forward palette */
  --color-primary: #F5720F;
  --color-primary-dark: #C9560A;
  --color-primary-light: #FDEBD8;
  --color-primary-bright: #FF8C2E;
  --color-ink: #23120A;
  --color-ink-2: #431C0B;
  --color-secondary: #7C2D12;
  --color-secondary-dark: #2A1206;
  --color-accent: #F4B942;
  --color-bg: #FBF8F5;
  --color-surface: #FFFFFF;
  --color-text: #1C1310;
  --color-text-secondary: #6B5F58;
  --color-border: #ECE2DA;
  --gradient-warm: linear-gradient(160deg, var(--color-ink) 0%, var(--color-ink-2) 45%, var(--color-primary-dark) 100%);
  --gradient-primary-text: linear-gradient(100deg, var(--color-primary-bright), var(--color-primary));

  /* Type */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Scale */
  --fs-9xl: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --fs-6xl: clamp(2rem, 3vw + 1rem, 3.25rem);
  --fs-4xl: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  --fs-2xl: 1.375rem;
  --fs-xl: 1.125rem;
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Space */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(35,18,10,0.05), 0 1px 3px rgba(35,18,10,0.05);
  --shadow-md: 0 6px 16px rgba(35,18,10,0.08), 0 2px 6px rgba(35,18,10,0.05);
  --shadow-lg: 0 16px 40px rgba(35,18,10,0.12), 0 6px 12px rgba(35,18,10,0.06);

  /* Layout */
  --container-w: 1200px;
  --navbar-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.section { padding-block: var(--space-2xl); }
.section-tight { padding-block: var(--space-xl); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  max-width: 640px;
}
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-head h2 { font-size: var(--fs-6xl); }
.section-head p { color: var(--color-text-secondary); font-size: var(--fs-xl); }

/* ---------- Blueprint texture (signature motif) ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,114,15,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,114,15,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.corner-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--color-primary);
  opacity: 0.3;
}
.corner-mark.tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.corner-mark.tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.corner-mark.bl { bottom: 24px; left: 24px; border-right: none; border-top: none; }
.corner-mark.br { bottom: 24px; right: 24px; border-left: none; border-top: none; }

.dim-line {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(120deg, var(--color-primary-bright), var(--color-primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,114,15,0.28);
}
.btn-primary:hover { background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark)); box-shadow: 0 8px 22px rgba(245,114,15,0.34); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-primary); background: var(--color-primary-light); transform: translateY(-2px); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: var(--fs-xs); }

/* ---------- Brand strip ---------- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-primary);
  z-index: 101;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 4px; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 72px;
  border-bottom: 1px solid var(--color-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  transition: color 0.35s ease;
}
.navbar.solid .nav-logo { color: var(--color-text); }
.nav-logo .mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.nav-logo .mark.is-image {
  background: transparent;
}
.nav-logo .sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; opacity: 0.75; letter-spacing: 0.03em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s ease;
}
.navbar.solid .nav-menu a { color: var(--color-text-secondary); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}
.nav-menu a:hover { color: #fff; }
.navbar.solid .nav-menu a:hover { color: var(--color-text); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: #fff; }
.navbar.solid .nav-menu a.active { color: var(--color-primary); }

.nav-cta { display: flex; align-items: center; gap: var(--space-sm); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: #fff;
  transition: all 0.3s ease;
}
.navbar.solid .nav-toggle span { background: var(--color-text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-warm);
  overflow: hidden;
  color: #fff;
  border-bottom: 4px solid var(--color-primary);
}
.hero .blueprint-grid { background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}
.hero .corner-mark { border-color: rgba(255,255,255,0.4); }
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  right: -240px; top: -200px;
  background: radial-gradient(circle, rgba(255,140,46,0.45) 0%, rgba(255,140,46,0) 70%);
  pointer-events: none;
}
.hero-glow-bottom {
  position: absolute;
  width: 500px; height: 500px;
  left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(244,185,66,0.25) 0%, rgba(244,185,66,0) 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: var(--navbar-h);
}
.hero-logo {
  width: 84px; height: 84px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(6px);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-sm);
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--color-accent); }
.hero h1 {
  font-size: var(--fs-9xl);
  margin-bottom: var(--space-sm);
  color: #fff;
}
.hero h1 span {
  background: var(--gradient-primary-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .hero-subtitle {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.hero p.lead {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin-bottom: var(--space-lg);
}
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-md);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  z-index: 2;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--color-primary);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

.hero-coords {
  position: absolute;
  top: calc(var(--navbar-h) + 20px);
  right: var(--space-md);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  text-align: right;
  line-height: 1.8;
}

/* ---------- Generic section: Tentang / intro ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-intro .visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--gradient-warm);
  overflow: hidden;
}
.about-intro .visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.about-intro .visual .frame {
  position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  pointer-events: none;
}
.about-intro .stat-chip {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}
.about-intro .stat-chip .num { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--color-primary); }
.about-intro .stat-chip .label { font-size: var(--fs-xs); color: var(--color-text-secondary); }

.about-intro .content p { color: var(--color-text-secondary); font-size: var(--fs-xl); margin-bottom: var(--space-md); max-width: 560px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.stat-row .stat .num {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-text);
}
.stat-row .stat .num .plus { color: var(--color-primary); }
.stat-row .stat .label { font-size: var(--fs-sm); color: var(--color-text-secondary); margin-top: 4px; }

/* ---------- Cabinet highlight ---------- */
.cabinet-highlight {
  position: relative;
  background: var(--gradient-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  border-left: 4px solid var(--color-primary);
}
.cabinet-highlight .info { padding: var(--space-2xl); position: relative; z-index: 2; }
.cabinet-highlight .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(244,185,66,0.4);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: var(--space-md);
}
.cabinet-highlight h2 { font-size: var(--fs-6xl); color: #fff; margin-bottom: 4px; }
.cabinet-highlight .period { font-family: var(--font-mono); color: var(--color-primary-bright); font-size: var(--fs-sm); margin-bottom: var(--space-md); }
.cabinet-highlight p { color: rgba(255,255,255,0.7); max-width: 440px; margin-bottom: var(--space-lg); }
.cabinet-highlight .visual {
  position: relative;
  background: linear-gradient(135deg, rgba(255,140,46,0.22), rgba(244,185,66,0.12));
}
.cabinet-highlight .visual img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }

/* ---------- Cards: generic ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.two-col-grid { grid-template-columns: 1fr 1fr; }
.dept-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--color-ink); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .thumb .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary-dark);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; font-weight: 600;
}
.card .body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-secondary); }
.card .meta svg { width: 14px; height: 14px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--color-text-secondary); font-size: var(--fs-sm); flex: 1; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--color-primary); margin-top: 6px; }
.card .card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ---------- Gallery preview ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 10px;
}
.gallery-grid .g-item {
  grid-column: span 2; grid-row: span 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.gallery-grid .g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(35,18,10,0.6) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid .g-item:hover::after { opacity: 1; }
.gallery-grid .g-item:hover img { transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--color-primary);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: var(--space-lg);
  padding-block: var(--space-2xl);
  position: relative; z-index: 2;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: var(--space-sm); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: var(--fs-sm); max-width: 320px; margin-bottom: var(--space-md); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); font-weight: 500; margin-bottom: var(--space-md); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: var(--fs-sm); transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-col .contact-item { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.6); font-size: var(--fs-sm); }
.footer-col .contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.45);
  position: relative; z-index: 2;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom .made { font-family: var(--font-mono); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--navbar-h) + var(--space-2xl));
  padding-bottom: var(--space-xl);
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-2) 60%, var(--color-secondary) 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 4px solid var(--color-primary);
}
.page-hero .blueprint-grid { background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); }
.page-hero .corner-mark { border-color: rgba(255,255,255,0.35); }
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(255,140,46,0.35) 0%, rgba(255,140,46,0) 70%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5); margin-bottom: var(--space-sm);
  display: flex; align-items: center; gap: 8px; position: relative; z-index: 2;
}
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero h1 { font-size: var(--fs-6xl); color: #fff; position: relative; z-index: 2; max-width: 700px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: var(--fs-xl); margin-top: var(--space-sm); max-width: 560px; position: relative; z-index: 2; }

/* ---------- Reveal animation hooks ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Misc components (used across inner pages) ---------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.badge-pengumuman { background: var(--color-primary-light); color: var(--color-primary-dark); }
.badge-artikel { background: #E0F2FE; color: #0369A1; }
.badge-press { background: #EDE9FE; color: #6D28D9; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.tab-btn {
  padding: 12px 20px; font-size: var(--fs-sm); font-weight: 600; color: var(--color-text-secondary);
  border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-primary); border-color: var(--color-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: var(--color-surface); }
.accordion-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; }
.accordion-head h4 { font-size: var(--fs-base); font-weight: 600; }
.accordion-head svg { width: 18px; height: 18px; color: var(--color-primary); transition: transform .3s ease; flex-shrink: 0; }
.accordion-item.open .accordion-head svg { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-body-inner { padding: 0 22px 20px; color: var(--color-text-secondary); font-size: var(--fs-sm); }

/* ---------- Person grid (Struktur Pengurus roster) ---------- */
.accordion-head .count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-secondary); font-weight: 500; margin-right: auto; margin-left: 12px; }
.person-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px; padding: 4px 22px 22px;
}
.person-card {
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 14px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--color-primary); }
.person-photo {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px;
  background: var(--color-border); border: 2px solid var(--color-surface); box-shadow: 0 0 0 1px var(--color-border);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.person-role {
  display: inline-block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-primary-dark); margin: 6px 0 8px;
}
.person-role.is-lead { color: var(--color-secondary); font-weight: 700; }
.person-desc { font-size: 0.78rem; color: var(--color-text-secondary); line-height: 1.5; }
.person-nrp { font-family: var(--font-mono); font-size: 0.7rem; color: var(--color-text-secondary); letter-spacing: 0.03em; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1.5px; background: var(--color-border); }
.timeline-item { position: relative; padding-bottom: var(--space-lg); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -32px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--color-surface); border: 2.5px solid var(--color-primary); }
.timeline-item .t-date { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-primary); font-weight: 600; letter-spacing: 0.04em; }
.timeline-item h4 { margin-top: 4px; margin-bottom: 4px; font-size: var(--fs-base); }
.timeline-item p { color: var(--color-text-secondary); font-size: var(--fs-sm); }

.modal-overlay { position: fixed; inset: 0; background: rgba(35,18,10,0.65); backdrop-filter: blur(4px); z-index: 200; display: none; align-items: center; justify-content: center; padding: var(--space-md); }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--color-surface); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--color-bg); display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal-close svg { width: 16px; height: 16px; }

.stat-block { text-align: center; padding: var(--space-lg); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.stat-block .num { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-4xl); color: var(--color-primary); }
.stat-block .label { color: var(--color-text-secondary); font-size: var(--fs-sm); margin-top: 6px; }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-md); }
.form-field label { font-size: var(--fs-sm); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(245,114,15,0.14); outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary); }
.back-to-top svg { width: 18px; height: 18px; }

.filter-chip.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
