/* ===================================================================
   STIKAS Santo Yohanes Salib — Site Stylesheet
   Design language: an institutional "charter" feel — ordered chapters
   (I–IV), a gold/olive/maroon palette drawn from the college seal,
   serif display type for headings, quiet sans body type.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --ink: #241f16;
  --ink-soft: #56503f;
  --paper: #ffffff;
  --paper-alt: #f7f4ec;
  --olive: #4a4620;
  --olive-dark: #332f14;
  --gold: #ab8a34;
  --gold-soft: #d9c078;
  --maroon: #6d2233;
  --sage: #4f5c37;
  --line: #e4ddc9;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.hero {
  scroll-margin-top: 74px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.on-dark {
  color: var(--gold-soft);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--olive-dark);
  margin: 0;
  line-height: 1.12;
}

.chapter-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
  margin-right: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-top: 8px;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
  border: none;
}

.rule.left {
  margin-left: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .02em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}

.btn-primary {
  background: var(--gold);
  color: #2a2308;
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-outline {
  border-color: var(--olive);
  color: var(--olive);
}

.btn-outline:hover {
  background: var(--olive);
  color: #fff;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olive-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand img {
  height: 42px;
  width: 42px;
}

.brand-text {
  line-height: 1.15;
}

.brand-text .name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.brand-text .sub {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a,
.nav-links>li>button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  color: #f1ecda;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links>li>a:hover,
.nav-links>li>button:hover,
.nav-links>li.open>button {
  color: var(--gold-soft);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease;
}

.nav-links>li.open .caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(20, 17, 5, .18);
  padding: 8px;
  display: none;
}

.nav-links>li.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 3px;
}

.dropdown a:hover {
  background: var(--paper-alt);
  color: var(--olive);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--olive-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/building.jpg');
  background-size: cover;
  background-position: center 65%;
  opacity: .5;
  filter: grayscale(.6) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 8, .55) 0%, rgba(23, 20, 8, .72) 55%, var(--olive-dark) 100%);
}

.hero-seal {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  opacity: .12;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  padding: 120px 28px 90px;
  margin: 0 auto;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-inner .copy {
  max-width: 620px;
}

.hero-inner .eyebrow {
  display: block;
  margin-bottom: 22px;
}

.hero-inner h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 60px);
  font-style: italic;
  font-weight: 600;
}

.hero-inner .translation {
  color: var(--gold-soft);
  font-size: 15px;
  letter-spacing: .04em;
  margin-top: 14px;
}

.hero-inner .lede {
  color: #ded6bc;
  font-size: 17px;
  max-width: 560px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: rgba(15, 13, 5, .35);
}

.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 28px;
  color: #e8e2cc;
  font-size: 14px;
}

.hero-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-strip .item b {
  color: #fff;
  font-weight: 600;
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

section.alt {
  background: var(--paper-alt);
}

.chapter-label {
  text-align: center;
  margin-bottom: 6px;
}

/* Sub-nav pills used inside chaptered sections */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 52px;
}

.subnav button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}

.subnav button:hover {
  border-color: var(--gold);
  color: var(--olive);
}

.subnav button.active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
  animation: fadein .35s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Chapter dossier layout (Profil / Akademik / Penjaminan Mutu) ---------- */
/* Replaces the centered-title pattern with an asymmetric sidebar + content
   composition so each chapter doesn't read as the same template repeated. */

.chapter-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 12px 64px;
  align-items: start;
}

.chapter-side {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.chapter-side .chapter-num-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 68px;
  line-height: 1;
  color: var(--gold);
  opacity: .55;
  display: block;
}

.chapter-side .eyebrow {
  display: block;
  margin-top: -6px;
}

.chapter-side h2 {
  font-size: 32px;
  margin-top: 14px;
}

.chapter-side .desc {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 260px;
}

.side-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--line);
  width: 100%;
  min-width: 0;
}

.side-nav button {
  text-align: left;
  padding: 12px 4px 12px 20px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}

.side-nav button:hover {
  color: var(--olive);
}

.side-nav button.active {
  color: var(--olive-dark);
  border-left-color: var(--gold);
  background: linear-gradient(90deg, var(--paper-alt), transparent);
}

.chapter-content {
  min-width: 0;
}

.chapter-content .panel h3:first-child {
  margin-top: 0;
}

/* ---------- Profil: Sejarah ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}

.split img {
  border-radius: 4px;
}

.split .tone-photo {
  height: 520px;
  border-radius: 4px;
}

/* Offset frame: a thin gold rule set back from the photo for an
   editorial, "matted" look instead of a plain rounded rectangle. */
.split .tone-photo {
  outline: 1.5px solid var(--gold);
  outline-offset: 14px;
}

.prose h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.prose p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 16px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose.drop p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 700;
  color: var(--gold);
  float: left;
  line-height: .8;
  padding: 4px 8px 0 0;
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--olive);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
}

/* ---------- Visi Misi ---------- */

.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.vm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
}

section.alt .vm-card {
  background: #fff;
}

.vm-card .tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 10px;
  display: block;
}

.vm-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.vm-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 0 10px;
}

.vm-card ol,
.vm-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.vm-card li {
  margin-bottom: 9px;
}

.vm-card li:last-child {
  margin-bottom: 0;
}

/* ---------- Lambang ---------- */

.symbol-list {
  display: grid;
  gap: 18px;
}

.symbol-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.symbol-item:last-child {
  border-bottom: none;
}

.symbol-item .label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--olive);
}

.symbol-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- Org chart ---------- */

.org-chart {
  overflow-x: auto;
  padding-bottom: 8px;
}

.org-top {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.org-node {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--olive-dark);
  background: var(--paper);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
}

.org-node.primary {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

.org-branches {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-branch>.org-node {
  margin-bottom: 14px;
}

.org-branch ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-branch li {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 16px;
  text-align: center;
}

/* ---------- Dosen table ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.dosen {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

table.dosen th {
  text-align: left;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-alt);
  background: var(--olive);
  padding: 13px 16px;
}

table.dosen th:first-child {
  border-radius: 4px 0 0 0;
}

table.dosen th:last-child {
  border-radius: 0 4px 0 0;
}

table.dosen td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

table.dosen tr:nth-child(even) td {
  background: var(--paper-alt);
}

table.dosen td.no {
  color: var(--gold);
  font-weight: 700;
  width: 40px;
}

table.dosen td.nama {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Lokasi ---------- */

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.loc-grid img {
  border-radius: 6px;
  border: 1px solid var(--line);
}

.loc-details dl {
  margin: 0;
}

.loc-details dt {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-top: 22px;
}

.loc-details dt:first-child {
  margin-top: 0;
}

.loc-details dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Kurikulum accordion ---------- */

.accordion {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--olive-dark);
  text-align: left;
}

.acc-head .plus {
  width: 22px;
  height: 22px;
  position: relative;
  flex: none;
}

.acc-head .plus::before,
.acc-head .plus::after {
  content: '';
  position: absolute;
  background: var(--gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.acc-head .plus::before {
  width: 14px;
  height: 2px;
}

.acc-head .plus::after {
  width: 2px;
  height: 14px;
  transition: transform .2s ease;
}

.acc-item.open .acc-head .plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.acc-body {
  display: none;
  padding: 0 4px 26px;
}

.acc-item.open .acc-body {
  display: block;
}

.acc-body ul {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.acc-body li {
  break-inside: avoid;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.acc-body .sks {
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
}

/* ---------- Card grid (link cards: WEB LPM, Jurnal, Administrasi) ---------- */

.link-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.link-card.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.link-card.reverse .content {
  order: -1;
}

.link-card img {
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  min-height: 260px;
}

.link-card .content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-card h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.link-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
}

.link-card .url {
  display: inline-block;
  font-size: 13px;
  color: var(--sage);
  margin-top: 16px;
  word-break: break-all;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* ---------- Contact / Administrasi ---------- */

.admin-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--olive-dark);
  border-radius: 8px;
  padding: 56px 40px;
}

.admin-box h3 {
  color: #fff;
  font-size: 26px;
}

.admin-box p {
  color: #d8d1b8;
  margin: 14px 0 28px;
  font-size: 15px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--olive-dark);
  color: #cfc8ac;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 40px;
}

.footer-brand .name {
  font-family: var(--serif);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.footer-brand .motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 13px;
}

footer .col-title {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 10px;
  font-size: 14px;
}

footer a:hover {
  color: #fff;
}

footer p {
  font-size: 14px;
  margin: 0 0 8px;
  color: #cfc8ac;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #9a9377;
}

/* ---------- Photo treatment: unify mixed-quality photography ---------- */

.tone-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--olive-dark);
}

.tone-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.16) brightness(.86) sepia(.12);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.tone-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(74, 70, 32, .72) 0%, rgba(109, 34, 51, .38) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}

.tone-photo:hover img {
  transform: scale(1.045);
}

.tone-photo.light::after {
  background: linear-gradient(150deg, rgba(74, 70, 32, .5) 0%, rgba(171, 138, 52, .32) 100%);
}

/* ---------- Icons ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  color: var(--gold);
  flex: none;
}

.icon-badge .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--olive-dark);
  padding: 0;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}

.stat .cap {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: #cfc8ac;
}

/* ---------- Campus life gallery ---------- */

/* Grid seragam: semua foto sama besar, 3 per baris. Urutan foto bisa
   diubah-ubah tanpa mengubah bentuk/ukuran tata letak. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid .tone-photo {
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 6px;
}

/* ---------- Video (YouTube): 1 utama + daftar di bawah ---------- */

.video-player {
  margin: 0 auto;
}

.video-main .video-frame {
  box-shadow: 0 18px 40px rgba(35, 30, 10, .14);
}

.video-main-info {
  margin-top: 16px;
  text-align: center;
}

.video-main-info h3 {
  font-size: 21px;
  margin: 0 0 6px;
}

.video-main-info p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
}

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.video-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-thumb span {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
}

.video-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.video-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(171, 138, 52, .25);
}

.video-thumb.is-active span {
  font-weight: 600;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Formulir pendaftaran (situs publik) ---------- */

.reg-form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 30px;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.reg-field {
  margin-bottom: 18px;
}

.reg-grid .reg-field {
  margin-bottom: 0;
}

.reg-field label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.reg-field .req {
  color: var(--gold);
}

.reg-form input[type=text],
.reg-form input[type=email],
.reg-form select,
.reg-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}

.reg-form textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(171, 138, 52, .15);
}

/* Honeypot: disembunyikan dari manusia, tetap terbaca bot. */
.reg-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.reg-alert {
  max-width: 780px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14.5px;
}

.reg-alert.ok {
  background: #eef6ee;
  border: 1px solid #cfe4cf;
  color: #2f6b2f;
}

.reg-alert.err {
  background: #fceceb;
  border: 1px solid #f1d4d2;
  color: #a3352f;
}

@media (max-width: 700px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }

  .reg-grid .reg-field {
    margin-bottom: 0;
  }
}

/* ---------- Section icon rows (symbol list / contact) ---------- */

.symbol-item {
  display: grid;
  grid-template-columns: 42px 150px 1fr;
  align-items: start;
  gap: 18px;
}

.symbol-item .icon-badge {
  margin-top: 2px;
}

.loc-details dt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loc-details dt .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

footer li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

footer li .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--gold-soft);
  flex: none;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scrollspy active nav state ---------- */

.nav-links>li>a.current,
.nav-links>li.has-dropdown.current>button {
  color: var(--gold-soft);
}

.nav-links>li>a.current::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
}

/* ---------- Card hover polish ---------- */

.vm-card,
.link-card,
.org-node,
.btn {
  transition: all .2s ease;
}

.vm-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(74, 70, 32, .1);
  transform: translateY(-3px);
}

.link-card:hover {
  box-shadow: 0 18px 40px rgba(35, 30, 10, .14);
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {

  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .burger {
    display: flex;
  }

  .split,
  .loc-grid,
  .two-col,
  .link-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split .tone-photo {
    height: 320px;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .link-card img {
    min-height: 200px;
  }

  .symbol-item {
    grid-template-columns: 42px 1fr;
    gap: 6px 14px;
  }

  .symbol-item .label {
    grid-column: 2;
  }

  .symbol-item p {
    grid-column: 1 / -1;
    margin-top: 6px;
  }

  .acc-body ul {
    columns: 1;
  }

  section {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 90px 22px 60px;
  }

  .hero-seal {
    width: 320px;
    opacity: .08;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .chapter-side {
    position: static;
  }

  .chapter-side .desc {
    max-width: none;
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-left: none;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    gap: 4px;
    margin-top: 24px;
    padding-bottom: 2px;
  }

  .side-nav button {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    padding: 10px 14px;
  }

  .side-nav button.active {
    border-bottom-color: var(--gold);
    background: none;
  }

  .nav {
    height: auto;
    min-height: 66px;
    padding: 10px 0;
  }

  .brand-text .name {
    font-size: 15px;
  }

  .brand-text .sub {
    display: none;
  }

  .brand img {
    height: 34px;
    width: 34px;
  }

  .nav-cta .btn-primary {
    padding: 10px 16px;
    font-size: 13px;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--olive-dark);
    padding: 10px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .site-header.nav-open .nav-links>li>a,
  .site-header.nav-open .nav-links>li>button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .site-header.nav-open .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, .15);
    display: none;
    width: 100%;
  }

  .site-header.nav-open .nav-links>li.open .dropdown {
    display: block;
  }

  .site-header.nav-open .dropdown a {
    color: #e8e2cc;
    font-weight: 500;
  }

  .site-header.nav-open .dropdown a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--gold-soft);
  }
}