/* =========================================================
   FARAH SAVIRA — Tema dari logo: hitam, kuning, pink, putih
   ========================================================= */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #5d5d5d;
  --paper: #ffffff;
  --cream: #fbfaf3;
  --yellow: #f7ee2e;
  --pink: #e354a0;
  --pink-dark: #c63d86;
  --line: #e6e4da;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius: 6px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 10px; background: var(--pink); }
.eyebrow--light { color: var(--paper); }
.eyebrow--light::before { background: var(--yellow); }

.title {
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 56px);
  letter-spacing: -.01em;
  max-width: 18ch;
}
.title--light { color: var(--paper); }

mark { color: inherit; padding: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-yellow { background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.hl-pink { background: linear-gradient(transparent 55%, var(--pink) 55%); }
.title--light .hl-pink { color: var(--paper); }

.block { display: inline-block; vertical-align: middle; }
.block--yellow { background: var(--yellow); }
.block--pink { background: var(--pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { box-shadow: 4px 4px 0 var(--pink); }
.btn--pink { background: var(--pink); color: var(--paper); }
.btn--outline { background: var(--paper); color: var(--ink); }
.btn--outline:hover { background: var(--yellow); }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand img { height: 52px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a:not(.btn) {
  font-weight: 600; font-size: 15px; text-decoration: none;
  position: relative; padding: 4px 0;
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 4px;
  background: var(--yellow); transition: right .2s ease;
}
.nav__menu a:not(.btn):hover::after { right: 0; }
.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: var(--ink); border: 0; border-radius: var(--radius); cursor: pointer;
  }
  .nav__toggle span { height: 3px; background: var(--paper); transition: transform .2s ease, opacity .2s ease; }
  .nav__toggle span:nth-child(1) { background: var(--yellow); }
  .nav__toggle span:nth-child(3) { background: var(--pink); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__menu .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; background: var(--paper); }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-bottom: 72px;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(52px, 8.6vw, 116px);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: .98;
  margin-bottom: 28px;
}
.hero__title .line { display: flex; align-items: center; gap: .18em; white-space: nowrap; }
.hero__title .block { height: .72em; flex: 1; min-width: .6em; max-width: 3.2em; }
.hero__title .word { display: inline-block; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero__title .line:nth-child(2) .word { animation-delay: .1s; }
.hero__title .line:nth-child(3) .word { animation-delay: .2s; }
.hero__title .block { animation: grow .8s cubic-bezier(.2,.8,.2,1) .25s both; }
.hero__title .block--yellow { transform-origin: left; }
.hero__title .block--pink { transform-origin: right; }

.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 36em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; }
.portrait {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--yellow), -14px -14px 0 var(--pink);
  margin: 14px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: var(--paper);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px),
    var(--ink);
}
.portrait__placeholder span { font-family: var(--font-display); font-weight: 900; font-size: 120px; letter-spacing: .06em; line-height: 1; }
.portrait__placeholder small { font-size: 13px; opacity: .6; letter-spacing: .08em; text-transform: uppercase; }

.tag {
  position: absolute; font-family: var(--font-display); font-weight: 800;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border: 2px solid var(--ink); border-radius: var(--radius);
  animation: float 5s ease-in-out infinite;
}
.tag--yellow { background: var(--yellow); left: -18px; bottom: 18%; }
.tag--pink { background: var(--pink); color: var(--paper); right: -10px; top: 10%; animation-delay: -2.5s; }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; }
  .hero__visual { max-width: 380px; width: 100%; margin: 0 auto; }
  .tag--yellow { left: 0; }
  .tag--pink { right: 0; }
}
@media (max-width: 420px) {
  .hero__title { letter-spacing: .02em; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
}

/* Marquee */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.marquee__track i { width: 34px; height: 12px; background: var(--yellow); flex: none; }
.marquee__track i:nth-of-type(even) { background: var(--pink); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } }
.section__head { margin-bottom: 52px; }
.section__lead { color: var(--muted); max-width: 40em; margin-top: 18px; }

/* About */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__body p { font-size: 18px; color: var(--ink-2); }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.values li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 2px solid var(--ink);
}
.values b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Focus */
.focus { background: var(--ink); color: var(--paper); }
.focus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: #1c1c1c; border: 1px solid #2f2f2f; border-radius: var(--radius);
  padding: 32px 28px 30px; overflow: hidden;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 8px; width: 64px;
  background: var(--yellow); transition: width .3s ease;
}
.card:nth-child(even)::before { background: var(--pink); }
.card:hover { transform: translateY(-4px); border-color: #444; }
.card:hover::before { width: 100%; }
.card__num { font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: .14em; color: #8d8d8d; }
.card h3 { font-size: 26px; font-weight: 800; margin: 14px 0 12px; }
.card p { color: #c9c9c9; margin: 0; font-size: 16px; }
@media (max-width: 900px) { .focus__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .focus__grid { grid-template-columns: 1fr; } }

/* Program kerja */
.program { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  font: inherit; font-weight: 700; font-size: 14px;
  padding: 10px 16px; min-height: 44px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.filter:hover { background: var(--yellow); }
.filter.is-active { background: var(--ink); color: var(--paper); }
.filter:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.program__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog {
  display: flex; flex-direction: column;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 24px 24px 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.prog:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.prog[data-cat="perempuan"]:hover, .prog[data-cat="kesehatan"]:hover { box-shadow: 6px 6px 0 var(--pink); }
.prog[data-cat="pendidikan"]:hover, .prog[data-cat="lingkungan"]:hover { box-shadow: 6px 6px 0 var(--yellow); }
.prog.is-hidden { display: none; }
.prog__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.prog__cat {
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px;
}
.cat--pink { background: var(--pink); color: var(--paper); }
.cat--yellow { background: var(--yellow); }
.cat--dark { background: var(--ink); color: var(--paper); }
.prog__no { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .1em; color: #9a9a9a; }
.prog h3 { font-size: 23px; font-weight: 800; margin-bottom: 10px; }
.prog > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.prog__points { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.prog__points li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 600; }
.prog__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; background: var(--pink); }
.prog__points li:nth-child(2)::before { background: var(--yellow); outline: 1px solid var(--ink); }
.program__empty { text-align: center; color: var(--muted); padding: 40px 0; }

.program__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 40px; padding: 28px 32px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius);
}
.program__cta p { margin: 0; font-size: 17px; }
.program__cta .btn { flex: none; white-space: nowrap; }
@media (max-width: 900px) { .program__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .program__list { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .program__cta { flex-direction: column; align-items: stretch; padding: 22px 20px; }
}

/* Agenda */
.agenda { background: var(--paper); }
.tabs.tabs--light { background: var(--cream); border: 1px solid var(--line); }
.tabs--light .tab { color: var(--muted); }
.tabs--light .tab:hover { color: var(--ink); }
.tabs--light .tab.is-active { background: var(--ink); color: var(--paper); }

.agenda__list { display: grid; gap: 18px; }
.event {
  display: grid; grid-template-columns: 150px 1fr;
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper);
  transition: box-shadow .15s ease, transform .15s ease;
}
.event:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 20px 12px; border-right: 2px solid var(--ink); text-align: center;
}
.event__date--yellow { background: var(--yellow); }
.event__date--pink { background: var(--pink); color: var(--paper); }
.event__date--dark { background: var(--ink); color: var(--paper); }
.event__day { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .9; }
.event__month { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.event__body { padding: 24px 28px; }
.event__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.event__type, .event__today {
  font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; background: var(--cream); border: 1px solid var(--line);
}
.event__today { background: var(--pink); color: var(--paper); border-color: var(--pink); }
.event h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.event__info { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.event__info li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
.event__info li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px;
  background: var(--ink); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.i-cal { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H4a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-3V2h-2v2H9V2zM5 9h14v10H5z'/%3E%3C/svg%3E"); }
.i-time { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm-1 3v6l5 3 1-1.7-4-2.4V7z'/%3E%3C/svg%3E"); }
.i-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.i-note { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E"); }
.event__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.agenda__empty {
  border: 2px dashed var(--ink); border-radius: var(--radius); padding: 40px 28px; text-align: center;
  background: var(--cream);
}
.agenda__empty b { font-family: var(--font-display); font-size: 22px; }
.agenda__empty p { color: var(--muted); max-width: 34em; margin: 10px auto 20px; }

.past-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.past {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.past:focus { outline: 3px solid var(--pink); outline-offset: 2px; }
.past__date { display: flex; flex-direction: column; line-height: 1.1; }
.past__date b { font-family: var(--font-display); font-weight: 900; font-size: 32px; }
.past__date span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.past__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.past__type {
  align-self: flex-start; font-family: var(--font-display); font-weight: 800; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px;
}
.past__type--pink { background: var(--pink); color: var(--paper); }
.past__type--dark { background: var(--ink); color: var(--paper); }
.past__type--yellow { background: var(--yellow); }
.past__title { font-size: 17px; }
.past__place { color: var(--muted); font-size: 14px; }
.past__map {
  font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 14px; min-height: 44px;
  display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--radius);
}
.past__map:hover { background: var(--yellow); }
.agenda__note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.agenda__more { margin-top: 16px; }
.agenda__more .btn[hidden] { display: none; }

@media (max-width: 640px) {
  .event { grid-template-columns: 1fr; }
  .event__date { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 20px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .event__day { font-size: 40px; }
  .event__body { padding: 20px; }
  .event h3 { font-size: 22px; }
  .event__actions .btn { flex: 1 1 auto; }
  .past { grid-template-columns: 70px 1fr; gap: 12px; }
  .past__date b { font-size: 26px; }
  .past__map { grid-column: 2; justify-self: start; min-height: 40px; padding: 8px 12px; }
}

/* Track / stats */
.track { background: var(--cream); }
.track .maplink { background: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat {
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 160px; justify-content: flex-end;
}
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 600; font-size: 15px; }
.stat--yellow { background: var(--yellow); }
.stat--pink { background: var(--pink); color: var(--paper); }
.stat--dark { background: var(--ink); color: var(--paper); }
.stat--white { background: var(--paper); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .stat { min-height: 130px; padding: 20px 16px; } }

.maps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.maplink {
  position: relative; display: block; text-decoration: none;
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.maplink:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.maplink h3 { font-size: 24px; font-weight: 800; margin: 18px 0 8px; }
.maplink p { color: var(--muted); font-size: 15px; margin: 0; max-width: 26ch; }
.maplink__chip {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px;
}
.chip--yellow { background: var(--yellow); }
.chip--pink { background: var(--pink); color: var(--paper); }
.chip--dark { background: var(--ink); color: var(--paper); }
.maplink__arrow {
  position: absolute; right: 22px; bottom: 20px; font-size: 28px; font-weight: 700;
  transition: transform .2s ease;
}
.maplink:hover .maplink__arrow { transform: translateX(5px); }
@media (max-width: 900px) { .maps { grid-template-columns: 1fr; } }

/* News */
.news { background: var(--paper); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease; }
.post:hover { transform: translateY(-4px); }
.post__img {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
.post__img--yellow { background: var(--yellow); }
.post__img--pink { background: var(--pink); color: var(--paper); }
.post__img--dark { background: var(--ink); color: var(--paper); }
.post__img span { opacity: .6; }
.post__body { padding: 22px 24px 26px; }
.post time { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post h3 { font-size: 22px; font-weight: 800; margin: 8px 0 10px; }
.post p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .news__grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Galeri */
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gallery { background: var(--ink); color: var(--paper); }
.tabs { display: inline-flex; padding: 4px; background: #1f1f1f; border: 1px solid #333; border-radius: 999px; }
.tab {
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #cfcfcf; transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--paper); }
.tab.is-active { background: var(--yellow); color: var(--ink); }
.tab:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px;
  grid-auto-flow: dense;
}
.tile {
  position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius);
  cursor: zoom-in; font: inherit; color: inherit; text-align: left;
}
.tile:nth-child(8n + 1) { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(8n + 4) { grid-row: span 2; }
.tile:nth-child(8n + 6) { grid-column: span 2; }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--pink { background: var(--pink); color: var(--paper); }
.tile--dark { background: #262626; color: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .55;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 12px, transparent 12px 24px);
}
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  display: flex; flex-direction: column; gap: 2px; color: var(--paper);
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  transform: translateY(8px); opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.tile__cap b { font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.tile__cap small { font-size: 13px; opacity: .85; }
.tile:hover img { transform: scale(1.05); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 480px) {
  .photo-grid { grid-auto-rows: 140px; gap: 10px; }
  .tile:nth-child(8n + 6) { grid-column: span 1; }
}

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  background: #1c1c1c; border: 1px solid #2f2f2f; border-radius: var(--radius); overflow: hidden;
  color: var(--paper); font: inherit; transition: transform .2s ease, border-color .2s ease;
}
.vcard:hover { transform: translateY(-4px); border-color: #555; }
.vcard:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__thumb--yellow { background: var(--yellow); color: var(--ink); }
.vcard__thumb--pink { background: var(--pink); }
.vcard__thumb--dark { background: #2a2a2a; }
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: var(--ink); border: 3px solid var(--paper); border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}
.vcard__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px;
  border-left: 18px solid var(--paper); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.vcard:hover .vcard__play { transform: scale(1.1); background: var(--pink); }
.vcard__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; }
.vcard__body b { font-family: var(--font-display); font-size: 19px; line-height: 1.25; }
.vcard__body small { color: #9a9a9a; font-size: 13px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* Lightbox */
body.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 64px 24px 24px; background: rgba(10,10,10,.94);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; width: min(1000px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lightbox__media { display: flex; justify-content: center; }
.lightbox__media img { max-width: 100%; max-height: 74vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.lightbox__ph {
  width: 100%; aspect-ratio: 4 / 3; max-height: 70vh; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
}
.lightbox__ph.is-video { aspect-ratio: 16 / 9; }
.lightbox__ph--yellow { background: var(--yellow); color: var(--ink); }
.lightbox__ph--pink { background: var(--pink); color: var(--paper); }
.lightbox__ph--dark { background: #2a2a2a; color: var(--paper); }
.lightbox__caption { display: flex; flex-direction: column; gap: 2px; color: var(--paper); }
.lightbox__caption b { font-family: var(--font-display); font-size: 20px; }
.lightbox__caption span { color: #a8a8a8; font-size: 14px; }
.lightbox__close, .lightbox__nav {
  border: 0; cursor: pointer; color: var(--ink); background: var(--paper);
  font-size: 30px; line-height: 1; border-radius: 50%; width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.lightbox__close { position: absolute; top: 12px; right: 16px; background: var(--yellow); }
.lightbox__nav:hover { background: var(--pink); color: var(--paper); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.lightbox__nav[hidden] { visibility: hidden; display: flex; }
@media (max-width: 700px) {
  .lightbox { padding: 72px 16px 96px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* Aspirasi */
.aspire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.aspire__text > p { font-size: 18px; color: var(--ink-2); margin-top: 24px; max-width: 30em; }
.aspire__blocks { display: grid; gap: 14px; margin-top: 36px; max-width: 320px; }
.aspire__blocks .block { height: 44px; width: 100%; }
.aspire__blocks .block--pink { margin-left: 30%; width: 70%; }

.form {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 32px; box-shadow: 10px 10px 0 var(--yellow);
}
.form__row { margin-bottom: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .15s ease, background .15s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pink); background: var(--paper); }
.form [aria-invalid="true"] { border-color: var(--pink-dark); }
.form__error { color: var(--pink-dark); font-weight: 600; font-size: 14px; min-height: 1em; margin: 0 0 12px; }
@media (max-width: 900px) { .aspire__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) {
  .form { padding: 22px 18px; box-shadow: 6px 6px 0 var(--yellow); }
  .form__row--2 { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo {
  display: grid; grid-template-columns: auto auto; gap: 8px 12px; width: max-content; align-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 34px; letter-spacing: .18em;
}
.footer__logo .block { height: 30px; width: 100%; min-width: 60px; }
.footer__tag { margin-top: 18px; color: #b5b5b5; }
.footer h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.footer__grid a { display: block; text-decoration: none; color: #dcdcdc; padding: 5px 0; }
.footer__grid a:hover { color: var(--pink); }
.footer__bottom { border-top: 1px solid #2c2c2c; padding: 22px 24px; font-size: 14px; color: #9a9a9a; }
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__logo { font-size: 26px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
