:root {
  --navy: #0d2938;
  --navy2: #163d50;
  --gold: #c89b45;
  --gold2: #e4c276;
  --cream: #f4efe4;
  --paper: #fffdf8;
  --ink: #26353d;
  --muted: #718087;
  --line: #dfd6c5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cinzel", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, 90%);
  margin: auto;
}

.section {
  padding: 105px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-family: Cinzel, serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--navy);
  margin: 10px 0 15px;
}

.section-head p {
  line-height: 1.8;
  color: var(--muted);
}


/* =========================
   LOADING VIDEO
========================= */

#loading-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  background: var(--navy);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  opacity: 1;
  transition: opacity .8s ease;
}

#loading-video {
  width: 400px;
  height: 400px;
  object-fit: contain;
  display: block;
}

#loading-screen.hide {
  opacity: 0;
  pointer-events: none;
}


/* =========================
   NAVBAR
========================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: .35s;
  padding: 17px 0;
}

.nav.scrolled {
  background: rgba(13, 41, 56, .94);
  backdrop-filter: blur(12px);
  padding: 11px 0;
  box-shadow: 0 5px 25px #0002;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dba43d;
}

.brand-mark {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 150%;
  height: 150%;
  object-fit: contain;
  display: block;
}

.brand-name {
  font: 600 19px Cinzel;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  color: #fff;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: var(--gold2);
  transition: .3s;
}

.nav-links a:hover:after {
  width: 100%;
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  position: relative;

  display: flex;
  align-items: center;

  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(6,25,35,.92),
      rgba(6,25,35,.58),
      rgba(6,25,35,.72)
    ),
    url("hdr.png")
    center/cover fixed;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 75% 45%,
      transparent 0 18%,
      rgba(0,0,0,.25) 60%,
      rgba(0,0,0,.5)
    );
}

.hero-content {
  position: relative;
  z-index: 1;

  padding-top: 70px;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  margin: 17px 0 18px;
}

.hero-logo {
  width: 250px;
  height: 250px;

  display: block;
  margin: auto;

  object-fit: contain;
}

.hero h2 {
  font: 500 clamp(19px,3vw,29px) Cinzel;
  color: var(--gold2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 25px;

  border: 1px solid var(--gold2);
  color: var(--gold2);

  transition: .3s;
  cursor: pointer;
}

.btn.primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #0003;
}

.scroll-note {
  position: absolute;
  bottom: 25px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 2;

  color: #fff8;
  font-size: 10px;
  letter-spacing: 4px;
}


/* =========================
   FOOTER
========================= */

footer {
  background: #071923;
  color: #fff;

  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
}

footer h3 {
  font: 600 21px Cinzel;
  color: var(--gold2);

  margin-bottom: 15px;
}

footer p,
footer li {
  font-size: 14px;
  color: #9eacb1;
  line-height: 1.9;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 6px;
}

.copy {
  border-top: 1px solid #fff1;

  margin-top: 40px;
  padding-top: 20px;

  text-align: center;

  color: #69787e;
  font-size: 12px;
}


/* =========================
   MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;

  background: #071923cc;
  backdrop-filter: blur(7px);

  z-index: 5000;

  display: none;
  place-items: center;

  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-box {
  background: var(--paper);

  width: min(620px,100%);

  padding: 35px;

  position: relative;

  max-height: 90vh;
  overflow: auto;
}

.modal-close {
  position: absolute;

  right: 18px;
  top: 15px;

  border: 0;
  background: none;

  font-size: 25px;

  cursor: pointer;
  color: var(--navy);
}

.modal-box h3 {
  font: 600 30px Cinzel;
  color: var(--navy);

  margin-bottom: 10px;
}

.modal-box p {
  line-height: 1.8;
  color: var(--muted);
}

.modal-meta {
  margin: 20px 0;

  padding: 18px;

  background: var(--cream);

  line-height: 2;
  font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media(max-width:850px) {

  .nav-links {
    position: absolute;

    top: 70px;
    left: 5%;

    width: 90%;

    display: none;

    flex-direction: column;

    gap: 0;

    background: var(--navy);

    padding: 12px 20px;

    border: 1px solid #fff1;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 13px 0;
  }

  .menu {
    display: block;
  }

  .era-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .competition-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }
}


@media(max-width:560px) {

  .section {
    padding: 75px 0;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .competition-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #fff2;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 230px;
  }

  .timer {
    gap: 5px;
  }

  .time {
    width: 76px;
    padding: 15px 5px;
  }

  .time strong {
    font-size: 25px;
  }

  #loading-video {
    width: 250px;
    height: 250px;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: 1px;
  }
}
/* =========================
   CURSOR BLUE LIGHT TRAIL
========================= */

#cursorTrail {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}
/* =========================================
   EDITORIAL MAGAZINE — ABOUT FTF
========================================= */

.editorial-ftf {
    position: relative;
    background: #f4efe4;
    overflow: hidden;
}


/* DECORATIVE BACKGROUND */

.editorial-ftf::before {
    content: "FTF";

    position: absolute;

    right: -80px;
    top: 80px;

    font-family: Cinzel, serif;

    font-size: 240px;

    font-weight: 700;

    color: rgba(13, 41, 56, .035);

    pointer-events: none;
}


/* =========================================
   HEADER
========================================= */

.editorial-header {

    display: flex;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 40px;

    border-bottom: 1px solid var(--line);

    padding-bottom: 25px;
}


.editorial-number {

    font-family: Cinzel, serif;

    font-size: 14px;

    color: var(--gold);

    letter-spacing: 2px;

    min-width: 45px;
}


.editorial-header h2 {

    margin-top: 8px;

    font-family: Cinzel, serif;

    font-size:
        clamp(40px, 6vw, 70px);

    color: var(--navy);

    font-weight: 600;

    line-height: 1;
}


/* =========================================
   STORY
========================================= */

.editorial-story {

    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 100px;

    align-items: start;

    margin-bottom: 50px;
}


.editorial-title {

    position: relative;

    padding-left: 30px;

    border-left: 2px solid var(--gold);
}


.editorial-small {

    display: block;

    font-size: 11px;

    letter-spacing: 4px;

    color: var(--gold);

    margin-bottom: 20px;
}


.editorial-title h3 {

    font-family: Cinzel, serif;

    font-size:
        clamp(38px, 5vw, 65px);

    line-height: 1;

    color: var(--navy);

    font-weight: 600;
}


.editorial-title h3 span {

    color: var(--gold);

}


.editorial-line {

    width: 70px;

    height: 1px;

    background: var(--gold);

    margin-top: 28px;
}

/* =========================================
   TEXT
========================================= */

.editorial-text {

    max-width: 650px;
}

/* =========================
   DROPDOWN MENU TENTANG
   Letakkan di luar semua @media
========================= */
.nav-links .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links .nav-dropdown-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.nav-links .dropdown-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-links .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  display: block;
  min-width: 150px;
  padding: 6px 0;
  background: var(--navy);
  border: 1px solid rgba(228, 194, 118, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-links .nav-dropdown-menu a {
  position: static;
  display: block;
  padding: 12px 16px;
  color: #fffdf8;
  background: transparent;
  font-size: 13px;
  white-space: nowrap;
}

.nav-links .nav-dropdown-menu a::after {
  display: none;
}

.nav-links .nav-dropdown-menu a:hover {
  color: var(--gold2);
  background: var(--navy2);
}

.nav-links .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links .nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 850px) {
  .nav-links .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links .nav-dropdown .nav-dropdown-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 0;
    text-align: left;
  }

  .nav-links .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    border: 0;
    border-left: 1px solid var(--gold);
    box-shadow: none;
    transform: none;
    padding: 0 0 0 12px;
  }

  .nav-links .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
  }

  .nav-links .nav-dropdown-menu a {
    padding: 12px;
  }
}

/* =========================
   PERBAIKAN POSISI NAVBAR
========================= */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links > li > a,
.nav-links .nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 0;
  line-height: 1.2;
}

.nav-links .nav-dropdown {
  position: relative;
  align-self: center;
}

.nav-links .nav-dropdown-btn {
  white-space: nowrap;
}

/* Tampilan HP tetap menggunakan menu vertikal */
@media (max-width: 850px) {
  .nav-links {
    align-items: stretch;
  }

  .nav-links > li {
    display: block;
  }

  .nav-links > li > a,
  .nav-links .nav-dropdown-btn {
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
  }

  .nav-links .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================
   ATHAR - KAMI PAGE
   COLOR SYSTEM
========================================== */

:root {
    --kami-navy: #0D2938;
    --kami-deep: #071923;
    --kami-blue: #163D50;
    --kami-cyan: #42B9D6;

    --kami-gold: #C89B45;
    --kami-gold-light: #E4C276;

    --kami-cream: #F4EFE4;
    --kami-paper: #FFFDF8;
    --kami-muted: #827A6C;
}

/* BASE */

.kami-page {
    width: 100%;
    overflow: hidden;
    background: var(--kami-cream);
    color: var(--kami-navy);
    font-family: "DM Sans", sans-serif;
}

.kami-page *,
.kami-page *::before,
.kami-page *::after {
    box-sizing: border-box;
}

.kami-container {
    width: min(1180px, 88%);
    margin: 0 auto;
}

.kami-section {
    position: relative;
    padding: 110px 0;
}

/* ==========================================
   SECTION HEADING
========================================== */

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 65px;
}

.section-number {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--kami-gold);
    margin-bottom: 17px;
}

.section-eyebrow {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--kami-muted);
    margin-bottom: 12px;
}

.section-heading h2 {
    font-family: "Cinzel", serif;
    font-size: clamp(34px, 5vw, 53px);
    font-weight: 500;
    margin: 0 0 15px;
    color: var(--kami-navy);
}

.section-heading > p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--kami-muted);
}

.light-heading h2 {
    color: var(--kami-cream);
}

.light-heading > p {
    color: #B8C6C9;
}

.light-heading .section-eyebrow {
    color: #9DB5BD;
}

/* ==========================================
   02. WHO WE ARE
========================================== */

.who-section {
    background: var(--kami-cream);
}

.who-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 75px;
}

.who-image {
    position: relative;
    height: 490px;
    overflow: hidden;
    background: var(--kami-blue);
}

.who-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.who-image:hover img {
    transform: scale(1.06);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 22px;

    display: flex;
    justify-content: space-between;

    background: linear-gradient(
        transparent,
        rgba(4, 18, 27, .85)
    );

    color: white;
    font-size: 9px;
    letter-spacing: 2px;
}

.who-content {
    padding: 15px 0;
}

.gold-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--kami-gold);
}

.who-content h3 {
    font-family: "Cinzel", serif;
    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.5;
    font-weight: 500;
    margin: 22px 0;
}

.who-content h3 em {
    display: block;
    color: #B58B49;
    font-weight: 400;
}

.who-content p {
    font-size: 14px;
    line-height: 2;
    color: var(--kami-muted);
    margin-bottom: 18px;
}

.who-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 35px;

    font-size: 9px;
    letter-spacing: 2px;
    color: var(--kami-gold);
}

.signature-line {
    width: 40px;
    height: 1px;
    background: var(--kami-gold);
}

/* ==========================================
   03. OUR PHILOSOPHY
========================================== */

.philosophy-section {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(37, 106, 131, .22),
            transparent 55%
        ),
        var(--kami-deep);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.philosophy-card {
    position: relative;
    min-height: 330px;
    padding: 35px 30px;

    border: 1px solid rgba(201, 155, 69, .25);

    background: rgba(255,255,255,.025);

    transition: .45s ease;
}

.philosophy-card:hover {
    transform: translateY(-9px);
    border-color: var(--kami-gold);
    background: rgba(255,255,255,.06);
}

.philosophy-card.featured {
    background: rgba(28, 79, 101, .45);
    border-color: rgba(66, 185, 214, .5);
}

.philosophy-index {
    position: absolute;
    top: 25px;
    right: 28px;

    font-family: "Cinzel", serif;
    color: rgba(228, 194, 118, .5);
    font-size: 14px;
}

.philosophy-icon {
    font-size: 35px;
    color: var(--kami-gold-light);
    margin: 20px 0 25px;
}

.philosophy-card h3 {
    font-family: "Cinzel", serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--kami-cream);
    margin-bottom: 18px;
}

.philosophy-card p {
    font-size: 13px;
    line-height: 2;
    color: #B7C7CA;
}

.philosophy-bottom {
    display: block;
    margin-top: 25px;

    font-size: 9px;
    letter-spacing: 2px;
    color: var(--kami-gold-light);
}

/* ==========================================
   04. OUR STRUCTURE
========================================== */

.structure-section {
    background: var(--kami-paper);
}

.structure-chart {
    max-width: 1050px;
    margin: auto;
    text-align: center;
}

.structure-top,
.structure-leader {
    width: min(400px, 90%);
    margin: auto;
    padding: 25px;

    border: 1px solid #E4C276;
    background: var(--kami-cream);

    transition: .3s ease;
}

.structure-leader {
    background: #A77B32;
    border-color: var(--kami-gold);
    color: white;
}

.structure-top:hover,
.structure-leader:hover,
.structure-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13,41,56,.09);
}

.structure-role {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--kami-gold);
    margin-bottom: 10px;
}

.structure-top h3,
.structure-leader h3,
.structure-member h3 {
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 8px;
}

.structure-top p,
.structure-leader p {
    font-sizE: 12px;
    margin: 0;
    color: #FFFDF8
}
.structure-member p {
    font-size: 12px;
    margin: 0;
    color: var(--kami-muted);
}

.structure-leader p {
    color: #B8C6C9;
}

.structure-connector {
    width: 1px;
    height: 45px;
    background: var(--kami-gold);
    margin: auto;
}

.structure-core {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 650px;
    margin: auto;
}

.structure-divisions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.structure-member {
    padding: 24px 15px;
    border: 1px solid #E4D7BE;
    background: var(--kami-cream);
    transition: .3s ease;
}
/* Kartu Sekretaris */
.structure-core .structure-member.structure-membering {
    background: #0d2938;
    border: 1px solid #c89b45;
}
/* Kartu bendahara */
.structure-core .structure-member.structure-memberin {
    background: #641E2B;
    border: 1px solid #c89b45;
}

/* Warna tulisan agar tetap terbaca */
.structure-membering .structure-role,
.structure-membering h3,
.structure-membering p,
.structure-membering .structure-click {
    color: #e4c276;
}


.structure-note {
    margin-top: 40px;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--kami-gold);
}

/* ==========================================
   05. OUR DIVISIONS
========================================== */

.division-section {
    background: #EDE6D8;
}

.division-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.division-card {
    position: relative;
    min-height: 285px;

    padding: 35px 30px;

    background: var(--kami-paper);
    border: 1px solid #E8DDC8;

    overflow: hidden;
    transition: .4s ease;
}

.division-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    bottom: -55px;

    border: 1px solid rgba(200,155,69,.3);
    border-radius: 50%;

    transition: .5s ease;
}

.division-card:hover {
    transform: translateY(-7px);
    background: var(--kami-navy);
    border-color: var(--kami-navy);
}

.division-card:hover h3,
.division-card:hover p {
    color: var(--kami-cream);
}

.division-card:hover .division-number {
    color: var(--kami-gold-light);
}

.division-number {
    position: absolute;
    top: 25px;
    right: 28px;

    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #B8A17A;
}

.division-symbol {
    display: block;
    font-size: 29px;
    color: var(--kami-gold);
    margin-bottom: 25px;
}

.division-card h3 {
    font-family: "Cinzel", serif;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 15px;
    transition: .3s ease;
}

.division-card p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--kami-muted);
    transition: .3s ease;
}

.division-caption {
    display: block;
    margin-top: 25px;

    font-size: 9px;
    letter-spacing: 2px;
    color: var(--kami-gold);
}

/* ==========================================
   06. BEHIND THE FESTIVAL
========================================== */

.behind-section {
    background:
        linear-gradient(
            130deg,
            #071923,
            #0D2938 60%,
            #12394B
        );
}

.behind-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, 240px);
    gap: 18px;
}

.behind-card {
    position: relative;
    overflow: hidden;
    background: #163D50;
}

.behind-card.behind-large {
    grid-row: span 2;
}

.behind-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: .75;
    transition: transform .8s ease, opacity .5s ease;
}

.behind-card:hover img {
    transform: scale(1.07);
    opacity: .95;
}

.behind-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    background: linear-gradient(
        transparent 15%,
        rgba(3, 16, 24, .9)
    );
}

.behind-overlay span {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--kami-gold-light);
}

.behind-overlay h3 {
    font-family: "Cinzel", serif;
    font-size: clamp(17px, 2vw, 25px);
    font-weight: 500;
    color: white;
    margin: 12px 0;
}

.behind-overlay p {
    font-size: 12px;
    color: #D2DCDD;
}

.behind-quote {
    text-align: center;
    margin-top: 75px;
}

.behind-quote span {
    font-size: 9px;
    letter-spacing: 3px;
    color: #9AB6BE;
}

.behind-quote h3 {
    font-family: "Cinzel", serif;
    font-size: clamp(21px, 3vw, 31px);
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--kami-gold-light);
}

/* ==========================================
   07. OUR JOURNEY
========================================== */

.journey-section {
    background: var(--kami-cream);
}

.journey-timeline {
    position: relative;
    max-width: 760px;
    margin: auto;
}

.journey-timeline::before {
    content: "";
    position: absolute;

    top: 15px;
    bottom: 30px;
    left: 29px;

    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--kami-gold),
        var(--kami-cyan),
        transparent
    );
}

.journey-item {
    position: relative;
    display: flex;
    gap: 35px;

    padding-bottom: 50px;
}

.journey-marker {
    flex-shrink: 0;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid var(--kami-gold);

    background: var(--kami-cream);

    font-family: "Cinzel", serif;
    font-size: 14px;
    color: var(--kami-gold);

    z-index: 2;

    transition: .3s ease;
}

.journey-item:hover .journey-marker {
    background: var(--kami-navy);
    color: var(--kami-gold-light);
    box-shadow: 0 0 0 7px rgba(200,155,69,.12);
}

.journey-content {
    padding-top: 5px;
}

.journey-phase {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--kami-gold);
}

.journey-content h3 {
    font-family: "Cinzel", serif;
    font-size: 23px;
    font-weight: 500;
    margin: 12px 0;
}

.journey-content p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--kami-muted);
    max-width: 550px;
}

/* ==========================================
   08. CLOSING
========================================== */

.kami-closing {
    position: relative;
    min-height: 510px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 20px;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center,
            rgba(38, 116, 138, .3),
            transparent 60%
        ),
        var(--kami-deep);
}

.closing-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    text-align: center;
}

.closing-eyebrow {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--kami-gold-light);
}

.closing-content h2 {
    font-family: "Cinzel", serif;
    font-size: clamp(35px, 6vw, 64px);
    line-height: 1.35;
    font-weight: 500;

    color: var(--kami-cream);
    margin: 25px 0;
}

.closing-content h2 em {
    display: block;
    color: var(--kami-gold-light);
    font-weight: 400;
}

.closing-content p {
    max-width: 580px;
    margin: auto;

    font-size: 14px;
    line-height: 2;

    color: #B7C7CA;
}

.closing-divider {
    width: 65px;
    height: 1px;
    background: var(--kami-gold);
    margin: 35px auto;
}

.closing-signature {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--kami-gold-light);
}

/* ORBIT DECORATION */

.closing-orbit {
    position: absolute;
    left: 50%;
    top: 50%;

    border: 1px solid rgba(82, 178, 203, .12);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.closing-orbit-one {
    width: 450px;
    height: 450px;
}

.closing-orbit-two {
    width: 650px;
    height: 650px;
    border-color: rgba(200,155,69,.10);
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 900px) {

    .kami-section {
        padding: 85px 0;
    }

    .who-grid {
        gap: 35px;
    }

    .who-image {
        height: 410px;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-card:last-child {
        grid-column: span 2;
    }

    .division-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .structure-divisions {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width: 600px) {

    .kami-container {
        width: 90%;
    }

    .kami-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading > p {
        font-size: 12px;
    }

    /* WHO */

    .who-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .who-image {
        height: 320px;
    }

    .who-content h3 {
        font-size: 29px;
    }

    /* PHILOSOPHY */

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-card,
    .philosophy-card:last-child {
        grid-column: auto;
        min-height: 290px;
    }

    /* STRUCTURE */

    .structure-core {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .structure-divisions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .structure-member {
        padding: 20px 8px;
    }

    .structure-member h3 {
        font-size: 13px;
    }

    .structure-member p {
        font-size: 10px;
    }

    .structure-top h3,
    .structure-leader h3 {
        font-size: 14px;
    }

    /* DIVISIONS */

    .division-grid {
        grid-template-columns: 1fr;
    }

    .division-card {
        min-height: 250px;
    }

    /* BEHIND */

    .behind-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 260px);
    }

    .behind-card.behind-large {
        grid-row: auto;
    }

    .behind-overlay {
        padding: 22px;
    }

    .behind-quote {
        margin-top: 50px;
    }

    /* JOURNEY */

    .journey-item {
        gap: 20px;
        padding-bottom: 40px;
    }

    .journey-marker {
        width: 48px;
        height: 48px;
        font-size: 12px;
    }

    .journey-timeline::before {
        left: 23px;
    }

    .journey-content h3 {
        font-size: 18px;
    }

    .journey-content p {
        font-size: 12px;
    }

    /* CLOSING */

    .kami-closing {
        min-height: 450px;
        padding: 75px 20px;
    }

    .closing-content h2 {
        font-size: 36px;
    }

    .closing-content p {
        font-size: 12px;
    }

    .closing-orbit-one {
        width: 300px;
        height: 300px;
    }

    .closing-orbit-two {
        width: 430px;
        height: 430px;
    }

}
/* PEMBINA INTERAKTIF */

.structure-top {
    cursor: pointer;
    transition: all 0.3s ease;
}

.structure-top:hover {
    transform: translateY(-4px);
}

/* Foto awalnya disembunyikan */
.advisor-photo {
    display: none;
    margin-top: 22px;
    animation: advisorReveal 0.4s ease;
}

.advisor-photo img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--gold);
    display: block;
    margin: 0 auto;
}

/* Saat diklik */
.structure-top.active .advisor-photo {
    display: block;
}

.structure-click {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gold);
}

@keyframes advisorReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   DIVISION PHOTO INTERACTION
   TWO PHOTOS - FADE & SLIDE
========================================= */

/* Kartu divisi */
.structure-divisions .structure-member {
    cursor: pointer;
    overflow: hidden;
}

/* Tempat dua foto anggota */
.structure-divisions .division-photo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;

    width: 100%;
    margin-top: 20px;

    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;

    transform: translateX(-25px);

    transition:
        max-height .6s ease,
        opacity .45s ease,
        transform .5s ease,
        visibility .45s ease;

    pointer-events: none;
}

/* Ketika divisi diklik */
.structure-divisions .structure-member.active .division-photo {
    max-height: 260px;
    opacity: 1;
    visibility: visible;

    transform: translateX(0);

    pointer-events: auto;
}

/* Masing-masing profil */
.structure-divisions .person-card {
    flex: 0 0 120px;
    width: 120px;
    min-width: 0;

    text-align: center;

    opacity: 0;
    transform: translateX(25px);

    transition:
        opacity .45s ease,
        transform .45s ease;
}

/* Foto muncul ketika kartu aktif */
.structure-divisions .structure-member.active .person-card {
    opacity: 1;
    transform: translateX(0);
}

/* Urutan animasi */
.structure-divisions .structure-member.active .person-card:nth-child(1) {
    transition-delay: .1s;
}

.structure-divisions .structure-member.active .person-card:nth-child(2) {
    transition-delay: .2s;
}

/* Gambar anggota */
.structure-divisions .person-card img {
    display: block;

    width: 120px;
    height: 150px;

    object-fit: cover;

    border: 1px solid var(--kami-gold);
    border-radius: 9px;

    margin: 0 auto 10px;
}

/* Nama anggota */
.structure-divisions .person-card h4 {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: var(--kami-navy);
    margin-top: 8px;
}

/* Jabatan anggota */
.structure-divisions .person-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    color: var(--kami-gold);
    margin-top: 4px;
}

/* Petunjuk klik */
.structure-divisions .structure-click {
    display: block;
    margin-top: 12px;

    font-size: 10px;
    letter-spacing: 1px;
    color: var(--kami-gold);
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 600px) {

    .structure-divisions .division-photo {
        gap: 8px;
    }

    .structure-divisions .person-card {
        flex-basis: 105px;
        width: 105px;
    }

    .structure-divisions .person-card img {
        width: 105px;
        height: 135px;
    }

    .structure-divisions .person-card h4 {
        font-size: 10px;
    }

}
/* INTERAKSI KETUA, SEKRETARIS, BENDAHARA */

.structure-leader,
.structure-core .structure-member {
    cursor: pointer;
    transition: all 0.3s ease;
}
.structure-leader:hover,
.structure-core .structure-member:hover {
    transform: translateY(-4px);
}

/* FOTO ANGGOTA */

.structure-people {
    display: none;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    animation: divisionReveal 0.4s ease;
}

.structure-leader.active .structure-people,
.structure-core .structure-member.active .structure-people {
    display: flex;
}

.person-card {
    width: 150px;
    text-align: center;
}

.person-card img {
    width: 140px;
    height: 175px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--gold);
}

.person-card h4 {
    margin-top: 10px;
    font-size: 13px;
}

.person-card span {
    font-size: 11px;
    color: var(--gold);
}

.structure-click {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gold);
}

@keyframes divisionReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .structure-people {
        gap: 12px;
    }

    .person-card {
        width: 125px;
    }

    .person-card img {
        width: 115px;
        height: 145px;
    }
}

/* =====================================
   ANIMASI FOTO STRUKTUR ORGANISASI
===================================== */

/* Kondisi awal: foto tersembunyi */
.structure-core .structure-people {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    width: 100%;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    visibility: hidden;

    transform: translateX(-25px);

    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        max-height 0.6s ease,
        visibility 0.5s ease;

    pointer-events: none;
}

/* Ketika kartu diklik */
.structure-core .structure-member.active .structure-people {
    max-height: 350px;
    opacity: 1;
    visibility: visible;

    transform: translateX(0);

    pointer-events: auto;
}

/* Animasi masing-masing foto */
.structure-core .person-card {
    flex: 0 0 130px;
    width: 130px;

    opacity: 0;
    transform: translateX(25px);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

/* Foto muncul secara berurutan */
.structure-core .structure-member.active .person-card {
    opacity: 1;
    transform: translateX(0);
}

.structure-core .structure-member.active .person-card:nth-child(1) {
    transition-delay: 0.1s;
}

.structure-core .structure-member.active .person-card:nth-child(2) {
    transition-delay: 0.2s;
}

/* Tampilan foto */
.structure-core .person-card img {
    width: 130px;
    height: 165px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #c89b45;
}

/* Tampilan mobile */
@media (max-width: 600px) {
    .structure-core .structure-people {
        gap: 10px;
    }

    .structure-core .person-card {
        flex-basis: 110px;
        width: 110px;
    }

    .structure-core .person-card img {
        width: 110px;
        height: 145px;
    }
}

/* FOTO DUA ANGGOTA SETIAP DIVISI */

.structure-divisions .division-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;

    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;

    margin-top: 0;
    transform: translateX(-20px);

    transition:
        opacity .45s ease,
        transform .45s ease,
        max-height .55s ease,
        margin-top .45s ease,
        visibility .45s ease;
}

.structure-divisions .structure-member.active .division-photo {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    margin-top: 22px;
    transform: translateX(0);
}

.structure-divisions .person-card {
    flex: 0 0 125px;
    width: 125px;

    opacity: 0;
    transform: translateX(20px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

.structure-divisions .structure-member.active .person-card {
    opacity: 1;
    transform: translateX(0);
}

.structure-divisions .person-card:nth-child(1) {
    transition-delay: .1s;
}

.structure-divisions .person-card:nth-child(2) {
    transition-delay: .2s;
}

.structure-divisions .person-card img {
    width: 125px;
    height: 155px;
    object-fit: cover;
    border: 1px solid var(--kami-gold);
    border-radius: 10px;
}

.structure-divisions .person-card h4 {
    margin-top: 9px;
    font-size: 12px;
}

.structure-divisions .person-card p {
    font-size: 10px;
    color: var(--kami-muted);
}

@media (max-width: 600px) {
    .structure-divisions .division-photo {
        gap: 10px;
    }

    .structure-divisions .person-card {
        flex-basis: 105px;
        width: 105px;
    }

    .structure-divisions .person-card img {
        width: 105px;
        height: 135px;
    }
}

/* =========================================
   CHRONO SHIFT — ELEGANT CLOCK & BORDER
   ========================================= */

/* Bingkai utama semua kartu struktur */
.structure-top,
.structure-leader,
.structure-member {
    position: relative;
    border: 1px solid #D5AD66 !important;
    border-radius: 9px !important;

    box-shadow:
        0 12px 25px rgba(50, 30, 10, .16),
        inset 0 0 0 2px rgba(228, 194, 118, .18),
        inset 0 0 0 5px rgba(228, 194, 118, .07) !important;

    outline: 1px solid rgba(167, 123, 50, .55);
    outline-offset: -7px;

    overflow: hidden;
}

/* Ornamen jam antik transparan */
.structure-top,
.structure-leader,
.structure-member {
    background-repeat: no-repeat !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='88' fill='none' stroke='%23D6AD64' stroke-width='2' opacity='.65'/%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23D6AD64' stroke-width='1' opacity='.45'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23D6AD64' stroke-width='1' opacity='.4'/%3E%3Cg stroke='%23D6AD64' stroke-width='2' opacity='.7'%3E%3Cpath d='M100 10V23 M100 177V190 M10 100H23 M177 100H190 M36 36L45 45 M155 155L164 164 M164 36L155 45 M45 155L36 164'/%3E%3C/g%3E%3Cg fill='%23D6AD64' font-family='serif' font-size='17' text-anchor='middle' opacity='.8'%3E%3Ctext x='100' y='39'%3EXII%3C/text%3E%3Ctext x='163' y='106'%3EIII%3C/text%3E%3Ctext x='100' y='176'%3EVI%3C/text%3E%3Ctext x='37' y='106'%3EIX%3C/text%3E%3C/g%3E%3Cpath d='M100 100L100 55 M100 100L133 117' stroke='%23D6AD64' stroke-width='3' stroke-linecap='round' opacity='.8'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23D6AD64'/%3E%3C/svg%3E"),

        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='88' fill='none' stroke='%23D6AD64' stroke-width='2' opacity='.65'/%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23D6AD64' stroke-width='1' opacity='.45'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23D6AD64' stroke-width='1' opacity='.4'/%3E%3Cg stroke='%23D6AD64' stroke-width='2' opacity='.7'%3E%3Cpath d='M100 10V23 M100 177V190 M10 100H23 M177 100H190 M36 36L45 45 M155 155L164 164 M164 36L155 45 M45 155L36 164'/%3E%3C/g%3E%3Cg fill='%23D6AD64' font-family='serif' font-size='17' text-anchor='middle' opacity='.8'%3E%3Ctext x='100' y='39'%3EXII%3C/text%3E%3Ctext x='163' y='106'%3EIII%3C/text%3E%3Ctext x='100' y='176'%3EVI%3C/text%3E%3Ctext x='37' y='106'%3EIX%3C/text%3E%3C/g%3E%3Cpath d='M100 100L100 55 M100 100L133 117' stroke='%23D6AD64' stroke-width='3' stroke-linecap='round' opacity='.8'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23D6AD64'/%3E%3C/svg%3E");

    background-size: 145px 145px, 145px 145px !important;
    background-position: left -48px center, right -48px center !important;
}

/* Border dekoratif sudut */
.structure-top::after,
.structure-leader::after,
.structure-member::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(228, 194, 118, .48);
    border-radius: 4px;
    pointer-events: none;
    z-index: 0;
}

/* Pastikan tulisan tetap berada di atas ornamen */
.structure-top > *,
.structure-leader > *,
.structure-member > * {
    position: relative;
    z-index: 1;
}

/* Efek hover yang halus */
.structure-top:hover,
.structure-leader:hover,
.structure-member:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 30px rgba(50, 30, 10, .20),
        inset 0 0 0 2px rgba(228, 194, 118, .3),
        inset 0 0 0 5px rgba(228, 194, 118, .10) !important;
}

/* Jam latar lebih terlihat */
.structure-section {
    background-image:
        radial-gradient(circle at 8% 45%,
            transparent 0 115px,
            rgba(167, 123, 50, .20) 116px 118px,
            transparent 120px 130px,
            rgba(167, 123, 50, .12) 131px 133px,
            transparent 135px),
        radial-gradient(circle at 93% 30%,
            transparent 0 135px,
            rgba(167, 123, 50, .20) 136px 138px,
            transparent 140px 150px,
            rgba(167, 123, 50, .12) 151px 153px,
            transparent 155px),
        linear-gradient(135deg, #F8F0E2, #F1E4D0);
}

/* =====================================
   STRUCTURE — SPACING & TYPOGRAPHY
   ===================================== */

/* Jarak Pembina dengan Ketua */
.structure-top {
    margin-bottom: 30px !important;
}

/* Jarak Ketua dengan Sekretaris dan Bendahara */
.structure-leader {
    margin-bottom: 34px !important;
}

/* Jarak Sekretaris dan Bendahara */
.structure-core {
    gap: 26px !important;
    margin-top: 0 !important;
}

/* Samakan karakter tipografi seluruh kartu */
.structure-top .structure-role,
.structure-leader .structure-role,
.structure-member .structure-role {
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    color: #D9AD61 !important;
}

.structure-top h3,
.structure-leader h3,
.structure-member h3 {
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
}

/* Warna judul kartu */
.structure-top h3 {
    color: #25343A !important;
}

.structure-leader h3,
.structure-member h3 {
    color: #F8EBD2 !important;
}

/* Samakan gaya teks deskripsi */
.structure-top p,
.structure-leader p,
.structure-member p {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500;
}

/* Teks petunjuk */
.structure-top .structure-click,
.structure-leader .structure-click,
.structure-member .structure-click {
    font-family: 'DM Sans', sans-serif !important;
    color: #E5BD75 !important;
    letter-spacing: .5px;
}

/* Garis dekoratif tidak mengganggu susunan */
.structure-top,
.structure-leader,
.structure-member {
    box-sizing: border-box;
}

/* Jarak pada layar tablet dan HP */
@media (max-width: 768px) {
    .structure-top {
        margin-bottom: 24px !important;
    }

    .structure-leader {
        margin-bottom: 28px !important;
    }

    .structure-core {
        gap: 18px !important;
    }
}

/* PEMBINA, KETUA, DAN DIVISI: HANYA JAM KANAN */
.structure-top,
.structure-leader,
.structure-divisions .structure-member {
    background-size: 0 0, 145px 145px !important;

    background-position:
        left -48px center,
        right -48px center !important;
}

/* SEKRETARIS DAN BENDAHARA: HANYA JAM KANAN */
.structure-core .structure-membering,
.structure-core .structure-memberin {
    background-size: 0 0, 145px 145px !important;

    background-position:
        left -48px center,
        right -48px center !important;
}

/* =====================================
   ORGANIZATIONAL STRUCTURE — CHRONO
   ===================================== */

/* Area struktur */
.structure-section .kami-container {
    position: relative;
}

/* PEMBINA */
.structure-top {
    width: min(600px, 100%);
    margin: 0 auto 36px !important;
    text-align: center;
    position: relative;
}

/* Garis Pembina menuju Ketua */
.structure-leader {
    width: min(600px, 100%);
    margin: 0 auto 58px !important;
    text-align: center;
    position: relative;
}

/* Garis vertikal Pembina ke Ketua */
.structure-leader::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 36px;
    background: linear-gradient(
        to bottom,
        #B88A43,
        #E5C783
    );
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
}

/* AREA SEKRETARIS DAN BENDAHARA */
.structure-core {
    width: min(100%, 1000px);
    margin: 0 auto 50px !important;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;

    position: relative;
    padding-top: 28px;
}

/* Garis horizontal penghubung */
.structure-core::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2px;

    background: linear-gradient(
        to right,
        #B88A43,
        #E5C783,
        #B88A43
    );
}

/* Garis vertikal dari Ketua ke garis horizontal */
.structure-core::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 29px;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #C49A53;
}

/* Garis dari cabang horizontal ke masing-masing kartu */
.structure-core .structure-member::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 29px;
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
    background: #C49A53;
}

/* KARTU */
.structure-top,
.structure-leader,
.structure-core .structure-member {
    box-sizing: border-box;
}

/* Keseragaman font judul */
.structure-top .structure-role,
.structure-leader .structure-role,
.structure-member .structure-role,
.structure-top h3,
.structure-leader h3,
.structure-member h3 {
    font-family: 'Cinzel', serif !important;
    font-weight: 600;
    letter-spacing: .7px;
}

/* Warna teks kartu gelap */
.structure-leader .structure-role,
.structure-leader h3,
.structure-leader p,
.structure-leader .structure-click,
.structure-membering .structure-role,
.structure-membering h3,
.structure-membering p,
.structure-membering .structure-click,
.structure-memberin .structure-role,
.structure-memberin h3,
.structure-memberin p,
.structure-memberin .structure-click {
    color: #F7EBD2 !important;
}

/* Warna teks Pembina */
.structure-top .structure-role,
.structure-top h3,
.structure-top p,
.structure-top .structure-click {
    color: #49351F !important;
}

/* Font keterangan */
.structure-top p,
.structure-leader p,
.structure-member p,
.structure-click {
    font-family: 'DM Sans', sans-serif !important;
}

/* Jarak isi kartu */
.structure-top h3,
.structure-leader h3,
.structure-member h3 {
    margin-top: 7px;
    margin-bottom: 9px;
}

.structure-top p,
.structure-leader p,
.structure-member p {
    margin-bottom: 12px;
}

/* Divisi tetap mengikuti ukuran dan warna sebelumnya */
.structure-divisions {
    margin-top: 35px;
}

/* Tampilan tablet dan HP */
@media (max-width: 700px) {

    .structure-top,
    .structure-leader {
        width: 92%;
    }

    .structure-core {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 28px;
    }

    .structure-core::before {
        display: none;
    }

    .structure-core .structure-member::before {
        height: 29px;
        top: -29px;
    }

    .structure-core .structure-member:first-child::before {
        height: 29px;
    }

    .structure-leader {
        margin-bottom: 58px !important;
    }
}

/* =====================================
   OUR STRUCTURE - CANVA BACKGROUND
===================================== */

.structure-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0d2938;
}

/* Lapisan desain Canva */
.structure-canva-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Tampilan iframe */
.structure-canva-bg iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: none;
    pointer-events: none;
}

/* Lapisan gelap agar tulisan terbaca */
.structure-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(9, 23, 36, 0.48);

    pointer-events: none;
}

/* Konten struktur tetap di atas background */
.structure-section .kami-container {
    position: relative;
    z-index: 1;
}

/* Responsif */
@media (max-width: 768px) {
    .structure-canva-bg iframe {
        width: 100%;
        height: 100%;
    }
}

.structure-section {
    position: relative;
    isolation: isolate;

    background:
        linear-gradient(
            rgba(9, 23, 36, 0.48),
            rgba(9, 23, 36, 0.65)
        ),
        url("assets/images/structure-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}