:root {
  --bg: #0d0b08;
  --bg-2: #0d0b08;
  --card: #120d0a;
  --card-2: #181109;
  --gold: #b8893a;
  --gold-light: #ecd48c;
  --text: #f4efe6;
  --muted: #a89f8e;
  --line: rgba(236, 212, 140, .16);
  --red: #c8321f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(0, 0, 0, .4);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg); }

/* Type */
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: .5rem; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); line-height: 1.15; color: var(--gold-light); }
.body { color: var(--muted); margin-top: 1rem; max-width: 62ch; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.6rem; border-radius: 9999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1208; box-shadow: 0 8px 22px rgba(184, 137, 58, .3); }
.btn.primary:hover { box-shadow: 0 12px 28px rgba(184, 137, 58, .45); }
.btn.ghost { border-color: rgba(236, 212, 140, .45); color: var(--gold-light); background: rgba(255, 255, 255, .04); }
.btn.ghost:hover { background: rgba(236, 212, 140, .12); }
.btn.small { padding: .5rem 1.1rem; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 11, 8, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-ntv { height: 26px; width: auto; }
.brand-x { font-size: 1.3rem; line-height: 1; color: var(--muted); }
.brand-kem { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .9rem; }
.nav-links a:not(.btn) { position: relative; padding: .25rem 0; color: #d8d0c0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.nav-links a:not(.btn):hover { color: var(--gold-light); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-check, .nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 640px; display: grid; align-items: center; background: #020202 url("../img/hero-bg.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 8, .55), rgba(13, 11, 8, .35) 45%, var(--bg)); }
.hero-inner { position: relative; padding: 5rem 0 4rem; text-align: center; animation: rise .8s both; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem 1rem; border-radius: 9999px; border: 1px solid rgba(236, 212, 140, .4); background: rgba(13, 11, 8, .55); backdrop-filter: blur(6px); color: var(--gold-light); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 137, 58, .25); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; color: var(--gold-light); margin: 1.2rem auto 1rem; max-width: 16ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.lead { max-width: 56ch; margin: 0 auto 1.8rem; font-size: 1.1rem; color: #e6dfd0; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 640px; margin: 2.6rem auto 0; }
.meta-card { padding: 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18, 13, 10, .65); backdrop-filter: blur(8px); box-shadow: var(--shadow); transition: transform .2s; }
.meta-card:hover { transform: translateY(-3px); }
.meta-card dt { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--gold-light); line-height: 1.1; }
.meta-card dd { font-size: .8rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pill { padding: .35rem .9rem; border-radius: 9999px; border: 1px solid var(--line); background: rgba(236, 212, 140, .07); color: var(--gold-light); font-size: .8rem; }
.info-card { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem 1.5rem; }
.info-card div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.info-card div:last-child { border: 0; }
.info-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); padding-top: .15rem; }
.info-card dd { font-weight: 500; }

/* Regions */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.region-grid li { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.region-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(236, 212, 140, .5); }
.region-grid img { height: 64px; width: auto; flex: none; }
.region-grid strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.region-grid span { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }

/* Live */
.pill-live { display: inline-flex; align-items: center; gap: 8px; background: var(--red); border-radius: 9999px; padding: .3rem .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.player { position: relative; margin-top: 1.6rem; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #020202; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Agenda */
.agenda-wrap { margin-top: .5rem; }
.section-title .note { margin: 0; font-size: .85rem; color: var(--muted); text-align: right; }
.timeline { display: grid; gap: 1.1rem; position: relative; }
.item { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; align-items: stretch; }
.when { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.when time { position: relative; z-index: 1; min-width: 76px; padding: .35rem .6rem; text-align: center; white-space: nowrap; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-family: var(--serif); font-weight: 700; line-height: 1.15; }
.t-start { font-size: 1.35rem; color: var(--gold-light); }
.t-end, .t-line { display: none; }
/* satu garis menerus; jam awal tiap kartu berada di tengah kartu */
.when::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: -1.1rem; width: 2px; background: var(--gold); }
.item:first-child .when::before { top: 50%; }
.item:last-child .when::before { bottom: 50%; }
/* kartu terakhir: tampilkan jam selesai di bawah jam awal */
.item:last-child .when { gap: 0; }
.item:last-child .t-line { display: block; width: 2px; height: 28px; background: var(--gold); }
.item:last-child .t-end { display: block; font-size: 1.05rem; color: var(--muted); }
.item:last-child .when::before { bottom: auto; height: 50%; }
.slot { padding: 1.3rem 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.item:hover .slot { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(236, 212, 140, .5); }
.tag { display: inline-block; padding: .15rem .7rem; border-radius: 9999px; background: rgba(184, 137, 58, .18); color: var(--gold-light); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.slot h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25; margin: .6rem 0 .3rem; }
.slot > p { color: #d8d0c0; font-size: .95rem; }
.steps { margin-top: .4rem; padding-left: 1.2rem; color: var(--muted); font-size: .92rem; }
ul.steps { list-style: disc; }
ol.steps { list-style: decimal; }
.steps li::marker { color: var(--gold); }

/* Kartu agenda dengan foto */
:root {
    --cream: #f3ead2;
}

.slot.has-photo {
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 1.5rem;
    align-items: center;
    justify-items: start;
}

.slot-photo {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.photo-frame {
    width: 160px;
    aspect-ratio: 3 / 4;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Ccircle cx='30' cy='30' r='12' fill='%23ecd48c' fill-opacity='.25'/%3E%3Cpath d='M6 80c0-18 11-28 24-28s24 10 24 28z' fill='%23ecd48c' fill-opacity='.25'/%3E%3C/svg%3E") center / 60% no-repeat;
}

.slot-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slot-photo figcaption {
    margin-top: .7rem;
    display: grid;
    gap: .15rem;
    color: var(--cream);
    text-align: center;
}

.slot-photo figcaption strong {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cream);
}

.slot-photo figcaption span {
    font-size: .78rem;
    line-height: 1.4;
    color: var(--cream);
    opacity: .85;
}

/* Gallery carousel */
.carousel-nav { display: flex; gap: .5rem; }
.car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(236, 212, 140, .45); background: rgba(255, 255, 255, .04); color: var(--gold-light); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.car-btn:hover { background: rgba(236, 212, 140, .14); transform: translateY(-2px); }
.track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.slide:hover img { transform: scale(1.06); }
.car-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 9999px; border: 0; background: rgba(236, 212, 140, .3); cursor: pointer; transition: width .25s, background .25s; }
.car-dots button.on { width: 26px; background: var(--gold-light); }

.lightbox { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .9); place-items: center; padding: 2rem; }
.lightbox:target { display: grid; animation: rise .3s both; }
.lightbox img { max-height: 88vh; border-radius: 12px; }
.lb-close { position: absolute; top: 16px; right: 24px; font-size: 2.4rem; color: var(--gold-light); line-height: 1; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-bottom: 2rem; }
.footer-logos { display: inline-flex; align-items: center; gap: 1.4rem; }
.logo-ntv { height: 40px; width: auto; }
.logo-x { font-size: 1.8rem; line-height: 1; color: var(--muted); }
.logo-kemendagri { height: 72px; width: auto; }
.footer-brand p { margin-top: .9rem; max-width: 52ch; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.channels { max-width: 540px; }
.channels h3 { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.handles { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.1rem; }
.handles li { display: inline-flex; align-items: center; }
.handle-logo { height: 32px; width: auto; opacity: .9; transition: opacity .2s; }
.handles li:hover .handle-logo { opacity: 1; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 2px solid var(--gold-light); color: var(--gold-light); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.social:hover { background: #3a4953; border-color: #3a4953; color: #fff; transform: translateY(-2px); }
.copy { padding: 1.2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .slide { flex-basis: calc((100% - 1rem) / 2); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: grid; gap: 5px; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--gold-light); }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 4%; background: rgba(13, 11, 8, .97); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: .8rem 0 !important; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: .8rem; border: 0; }
  .nav-check:checked ~ .nav-links { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 560px; }
  .meta { gap: .6rem; }
  .meta-card dt { font-size: 1.7rem; }
  .region-grid { grid-template-columns: 1fr; }
  .slide { flex-basis: 100%; }
  .item { grid-template-columns: 1fr; gap: .6rem; }
  .slot.has-photo { grid-template-columns: 1fr; }
  .slot-photo { max-width: 200px; justify-self: center; }
  .brand-ntv { height: 20px; }
  .brand-kem { height: 38px; }
  .brand { gap: 10px; }
  .when { flex-direction: row; justify-content: flex-start; gap: .5rem; }
  .when::before, .item:last-child .t-line { display: none; }
  .section-title .note { text-align: left; }
  .section-title { flex-wrap: wrap; }
  .info-card div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}