:root {
  --green-950: #04130f;
  --green-900: #071c16;
  --green-800: #0b2d23;
  --green-700: #0e4333;
  --green-600: #146147;
  --gold: #d9a33c;
  --gold-soft: #f2d37e;
  --cream: #f7efe0;
  --paper: #fffaf0;
  --ink: #10241c;
  --muted: #809087;
  --white: #fff;
  --line: rgba(217, 163, 60, .24);
  --shadow: 0 24px 80px rgba(0, 0, 0, .25);
  --shadow-soft: 0 14px 40px rgba(23, 42, 34, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--cream);
  background: var(--green-950);
  line-height: 1.65;
  overflow-x: hidden;
}
body.light {
  background: #fff8ea;
  color: var(--ink);
}
body.light .topbar,
body.light .mobile-menu,
body.light .modal__panel { background: rgba(255, 250, 240, .92); color: var(--ink); }
body.light .nav a { color: rgba(16, 36, 28, .75); }
body.light .btn--ghost { color: var(--ink); border-color: rgba(16,36,28,.16); }
body.light .site-noise { opacity: .05; }
body.light .section--dark { background: #0a241c; color: var(--cream); }
body.light .portal-card,
body.light .value-card,
body.light .day-card,
body.light .psb-card,
body.light .leader-card,
body.light .dash-table-wrap,
body.light .login-form { background: rgba(255,255,255,.72); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .07;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16)),
    linear-gradient(150deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16));
  background-size: 90px 150px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(217, 163, 60, .22), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(20, 97, 71, .58), transparent 32%),
    linear-gradient(135deg, #030d0a, #09251c 55%, #04120e);
  transition: .7s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; padding: 42px 24px; position: relative; }
.preloader__inner:before {
  content: "";
  position: absolute;
  inset: 8px 50%;
  width: 210px;
  height: 210px;
  transform: translateX(-50%);
  border: 1px solid rgba(217,163,60,.24);
  border-radius: 50%;
  animation: rotate 5s linear infinite;
}
.preloader img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 0 auto 22px;
  padding: 12px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 60px rgba(217, 163, 60, .25);
  position: relative;
}
.preloader h1 { margin: 0; color: var(--paper); font-size: clamp(1.5rem, 4vw, 2.6rem); letter-spacing: -.04em; }
.preloader p { margin: 8px 0 0; color: rgba(247,239,224,.75); }
.loader { width: min(320px, 78vw); height: 3px; background: rgba(255,255,255,.12); margin: 24px auto 0; border-radius: 99px; overflow: hidden; }
.loader span { display: block; height: 100%; width: 54%; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); animation: loading 1.25s ease-in-out infinite; }
@keyframes loading { from { transform: translateX(-110%); } to { transform: translateX(250%); } }
@keyframes rotate { from { transform: translateX(-50%) rotate(0); } to { transform: translateX(-50%) rotate(360deg); } }

.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(4, 19, 15, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; padding: 4px; border-radius: 14px; }
.brand strong { display: block; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.brand small { display: block; color: var(--gold-soft); font-size: .72rem; line-height: 1.15; }
.nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav a { padding: 10px 12px; font-size: .88rem; color: rgba(247,239,224,.78); border-radius: 999px; transition: .25s ease; }
.nav a:hover { color: var(--gold-soft); background: rgba(255,255,255,.06); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; background: rgba(255,255,255,.08); color: var(--cream); border: 1px solid rgba(255,255,255,.12); width: 42px; height: 42px; border-radius: 50%; }
.mobile-menu { display: none; position: fixed; z-index: 990; top: 88px; left: 18px; right: 18px; padding: 18px; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: rgba(4,19,15,.94); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; margin: 6px 0; text-align: left; }
.mobile-menu.open { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #173225; box-shadow: 0 15px 35px rgba(217,163,60,.28); }
.btn--outline { background: rgba(6,26,20,.48); color: var(--paper); border-color: rgba(242, 211, 126, .55); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--paper); border-color: rgba(255,255,255,.13); }
.btn--block { width: 100%; }

.hero {
  min-height: 820px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 144px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(217,163,60,.28);
}
.hero__visual { position: absolute; inset: 0 0 0 38%; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.03) contrast(1.04); }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, transparent 0, rgba(4,19,15,.2) 36%, rgba(4,19,15,.88) 74%),
    linear-gradient(90deg, rgba(4,19,15,1) 0%, rgba(4,19,15,.95) 30%, rgba(4,19,15,.52) 62%, rgba(4,19,15,.16) 100%);
}
.hero__content { width: min(760px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 2; transform: translateX(-22%); }
.hero__logo { width: 160px; height: 160px; object-fit: contain; background: rgba(255,255,255,.96); padding: 10px; border-radius: 34px; margin-bottom: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--gold-soft); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .94; letter-spacing: -.065em; color: var(--gold-soft); }
.hero__lead { max-width: 620px; color: rgba(247,239,224,.85); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__badges {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(820px, 92vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 16px 20px;
  background: rgba(6, 43, 32, .88);
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 28px 0 0 0;
  backdrop-filter: blur(12px);
}
.hero__badges article { padding: 16px 12px; display: flex; gap: 10px; align-items: center; color: var(--paper); }
.hero__badges span { color: var(--gold-soft); font-weight: 900; }
.hero__badges strong { line-height: 1.2; font-size: .9rem; }

.section { padding: 96px 0; position: relative; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper:before, .section--leaders:before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(217,163,60,.16) 1px, transparent 0);
  background-size: 22px 22px;
}
.section--dark { background: linear-gradient(180deg, var(--green-900), #061610); color: var(--cream); }
.section--leaders { background: #fffaf0; color: var(--ink); }
.section--psb { background: linear-gradient(120deg, #06261d 0%, #0a3a2b 50%, #061a14 100%); color: var(--paper); overflow: hidden; }
.section--psb:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(217,163,60,.18), transparent 30%); }

.grid-2 { display: grid; grid-template-columns: .95fr 1.2fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.grid-2--reverse { grid-template-columns: 1.15fr .95fr; }
.section-copy h2, .section-head h2, .portal-intro h2, .psb-copy h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 4.3rem); line-height: 1; letter-spacing: -.055em; color: inherit; }
.section-copy p, .section-head p, .portal-intro p, .psb-copy p { color: rgba(16, 36, 28, .78); font-size: 1.02rem; }
.section--dark .section-head p, .section--dark .section-copy p, .section--psb .psb-copy p { color: rgba(247,239,224,.78); }
.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; position: relative; z-index: 1; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-700); color: var(--paper); font-size: .8rem; }

.feature-media { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.photo-card { min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); border: 1px solid rgba(217,163,60,.22); background: #ddd; }
.photo-card--wide { min-height: 460px; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card div { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px; border-radius: 16px; background: rgba(5, 46, 35, .86); color: var(--paper); backdrop-filter: blur(10px); }
.photo-card strong { display: block; font-size: 1.1rem; }
.photo-card span { color: rgba(247,239,224,.75); }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card, .day-card, .portal-card, .psb-card, .leader-card, .login-form, .dash-table-wrap {
  border: 1px solid rgba(217, 163, 60, .23);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.value-card { padding: 28px; background: rgba(255,250,240,.05); transition: .25s ease; }
.value-card:hover, .portal-card:hover, .leader-card:hover, .day-card:hover { transform: translateY(-5px); border-color: rgba(242,211,126,.64); }
.icon { width: 58px; height: 58px; border-radius: 22px; display: grid; place-items: center; background: rgba(217,163,60,.16); border: 1px solid rgba(217,163,60,.28); font-size: 1.6rem; }
.value-card h3, .day-card h3 { margin: 18px 0 8px; font-size: 1.3rem; }
.value-card p, .day-card p { margin: 0; color: rgba(247,239,224,.76); }

.image-stack { position: relative; min-height: 540px; }
.image-stack img { border-radius: var(--radius-xl); object-fit: cover; box-shadow: var(--shadow); border: 1px solid rgba(217,163,60,.22); }
.stack-main { width: 82%; height: 470px; }
.stack-small { position: absolute; right: 0; bottom: 0; width: 48%; height: 260px; }
.mini-timeline { display: grid; gap: 16px; margin-top: 28px; }
.mini-timeline div { padding: 18px; border-radius: 18px; background: rgba(14,67,51,.06); border: 1px solid rgba(14,67,51,.12); }
.mini-timeline span { color: var(--gold); font-weight: 900; }
.mini-timeline strong { display: block; font-size: 1.04rem; }
.mini-timeline p { margin: 4px 0 0; }

.day-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.day-card { background: rgba(255,255,255,.05); padding: 26px; transition: .25s ease; }
.day-card span { color: var(--gold-soft); font-weight: 900; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; }
.gallery-grid figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; min-height: 190px; box-shadow: var(--shadow-soft); border: 1px solid rgba(217,163,60,.18); background: #ddd; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(6, 43, 32, .86); color: var(--paper); border-radius: 12px; padding: 10px 12px; font-weight: 800; font-size: .9rem; }
.gallery-grid figure:first-child, .gallery-grid figure:nth-child(6) { grid-column: span 2; }

.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1; }
.leader-card { background: #fff; overflow: hidden; transition: .25s ease; }
.leader-card img { width: 100%; height: 300px; object-fit: cover; object-position: top center; }
.leader-card div { padding: 22px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: var(--paper); }
.leader-card span { color: var(--gold-soft); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.leader-card h3 { margin: 4px 0; font-size: 1.5rem; }
.leader-card p { margin: 0; color: rgba(247,239,224,.72); }

.portal-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; position: relative; z-index: 1; }
.portal-intro div { max-width: 760px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 14px; border-radius: 999px; background: rgba(14,67,51,.1); color: var(--green-700); border: 1px solid rgba(14,67,51,.18); font-weight: 850; white-space: nowrap; }
.pill--gold { background: rgba(217,163,60,.14); color: var(--gold-soft); border-color: rgba(217,163,60,.28); }
.portal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; z-index: 1; }
.portal-card { text-align: center; background: rgba(255,255,255,.72); padding: 20px 12px; color: var(--ink); transition: .25s ease; min-height: 155px; }
.portal-card span { display: block; font-size: 2rem; margin-bottom: 8px; }
.portal-card strong { display: block; line-height: 1.15; }
.portal-card small { display: block; margin-top: 7px; color: rgba(16,36,28,.65); }

.psb-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; position: relative; z-index: 1; }
.psb-card { padding: 28px; background: rgba(255,250,240,.08); color: var(--paper); }
.psb-card h3 { margin: 0 0 14px; font-size: 1.5rem; }
.psb-card ol { margin: 0; padding-left: 18px; }
.psb-card li { margin: 8px 0; }

.footer { background: #03110d; color: rgba(247,239,224,.78); padding: 58px 0 24px; border-top: 1px solid rgba(217,163,60,.22); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.05fr 1fr .8fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 16px; background: #fff; padding: 5px; }
.footer h3 { margin: 0 0 12px; color: var(--gold-soft); }
.footer p { margin: 8px 0; }
.footer a { display: block; margin: 6px 0; color: rgba(247,239,224,.82); }
.footer-bottom { width: min(var(--container), calc(100% - 32px)); margin: 40px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }

.modal { position: fixed; inset: 0; z-index: 5000; display: none; }
.modal.show { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); }
.modal__panel {
  position: relative;
  width: min(980px, calc(100% - 28px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  background: rgba(5, 24, 18, .96);
  color: var(--paper);
  border: 1px solid rgba(217,163,60,.25);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.modal__panel--small { width: min(560px, calc(100% - 28px)); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: inherit; font-size: 1.4rem; z-index: 2; }
.login-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 22px; }
.login-side { padding: 26px; border-radius: 24px; background: linear-gradient(140deg, var(--green-700), var(--green-950)); border: 1px solid rgba(217,163,60,.22); }
.login-side img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 22px; padding: 8px; }
.login-side h2 { font-size: 2.2rem; line-height: 1; letter-spacing: -.05em; margin: 22px 0 10px; }
.login-form { padding: 26px; background: rgba(255,255,255,.05); }
.login-form label, .psb-form label { display: block; margin: 0 0 14px; color: rgba(247,239,224,.86); font-weight: 750; }
.login-form input, .login-form select, .psb-form input {
  display: block; width: 100%; margin-top: 7px; min-height: 46px; border-radius: 14px; border: 1px solid rgba(217,163,60,.2); background: rgba(255,255,255,.08); color: inherit; padding: 0 14px;
}
.login-form select option { color: #111; }
.login-form small { display: block; margin-top: 10px; color: rgba(247,239,224,.6); }
.dashboard { margin-top: 24px; border-top: 1px solid rgba(217,163,60,.16); padding-top: 24px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard-head h2 { margin: 0; font-size: 2rem; line-height: 1; }
.dash-menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.dash-menu span { padding: 8px 12px; background: rgba(217,163,60,.12); border: 1px solid rgba(217,163,60,.18); border-radius: 999px; color: var(--gold-soft); font-size: .9rem; }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.dash-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.dash-card strong { display: block; font-size: 1.4rem; color: var(--gold-soft); }
.dash-card span { color: rgba(247,239,224,.7); font-size: .88rem; }
.dash-table-wrap { overflow: auto; background: rgba(255,255,255,.05); }
.dash-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.dash-table th, .dash-table td { padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }
.dash-table th { color: var(--gold-soft); }
.psb-form { margin-top: 18px; }
.form-note { margin: 12px 0 0; color: var(--gold-soft); font-weight: 800; }

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

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .topbar { border-radius: 28px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero__content { transform: none; }
  .hero__visual { inset: 0; opacity: .58; }
  .hero__shade { background: linear-gradient(90deg, rgba(4,19,15,.95), rgba(4,19,15,.72)); }
  .hero__badges, .cards-4, .day-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar { top: 10px; width: calc(100% - 20px); padding: 10px; }
  .brand strong { font-size: .9rem; }
  .topbar__actions .btn--primary, #themeToggle { display: none; }
  .hero { min-height: 760px; padding-top: 120px; }
  .hero__content { width: min(100% - 28px, 640px); }
  .hero__logo { width: 112px; height: 112px; border-radius: 24px; }
  .hero h1 { font-size: clamp(2.6rem, 16vw, 4.3rem); }
  .hero__badges { position: relative; margin: 34px auto 0; right: auto; width: calc(100% - 24px); grid-template-columns: 1fr 1fr; border-radius: 24px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-2--reverse, .feature-media, .psb-wrap, .login-grid { grid-template-columns: 1fr; }
  .cards-4, .day-grid, .gallery-grid, .leaders-grid, .portal-grid, .dash-cards, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child, .gallery-grid figure:nth-child(6) { grid-column: span 1; }
  .portal-intro, .dashboard-head { align-items: flex-start; flex-direction: column; }
  .image-stack { min-height: 440px; }
  .stack-main { width: 90%; height: 340px; }
  .stack-small { width: 55%; height: 190px; }
  .photo-card, .photo-card--wide { min-height: 300px; }
  .modal__panel { padding: 18px; border-radius: 22px; }
}

.admin-psb{margin:18px 0;padding:18px;border:1px solid rgba(214,166,74,.35);border-radius:18px;background:rgba(255,255,255,.06)}
.admin-psb h3{margin:0 0 12px;color:var(--gold)}
.saved-list{display:grid;gap:10px;margin-bottom:12px}
.saved-item{display:grid;gap:4px;padding:12px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.saved-item strong{color:var(--cream)}
.saved-item span,.saved-item small,.empty-state{color:rgba(255,255,255,.78)}

.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.news-card{overflow:hidden;border-radius:26px;background:#fff;border:1px solid rgba(217,163,60,.22);box-shadow:0 18px 45px rgba(16,36,28,.12)}
.news-card img{width:100%;height:210px;object-fit:cover;display:block}
.news-card div{padding:20px}
.news-card small{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.news-card h3{margin:8px 0 8px;color:var(--green-800);font-size:1.35rem;line-height:1.15}
.news-card p{margin:0;color:var(--muted)}
@media(max-width:900px){.news-grid{grid-template-columns:1fr}}

/* Update beranda: tampilan pertama menjadi slider penuh */
.hero-slider {
  min-height: 100svh;
  padding: 0;
  display: block;
  background: #04130f;
  border-bottom: 1px solid rgba(217,163,60,.28);
}
.hero-slider__track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s ease;
  filter: saturate(1.05) contrast(1.03);
}
.hero-slide.is-active .hero-slide__image { transform: scale(1); }
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,19,15,.92) 0%, rgba(4,19,15,.72) 42%, rgba(4,19,15,.18) 100%),
    linear-gradient(0deg, rgba(4,19,15,.76) 0%, rgba(4,19,15,.08) 48%, rgba(4,19,15,.58) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 48px));
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 142px 0 112px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
  color: var(--paper);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity .72s ease .18s, transform .72s ease .18s;
}
.hero-slide.is-active .hero-slide__content {
  opacity: 1;
  transform: translateY(0);
}
.hero-slider .hero__logo {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero-slider h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 6.8vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.06em;
  color: var(--gold-soft);
  text-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.hero-slider .hero__lead {
  max-width: 710px;
  margin-top: 18px;
  color: rgba(247,239,224,.9);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}
.hero-slider .hero__actions { margin-top: 30px; }
.hero-slider__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(242,211,126,.38);
  background: rgba(4,19,15,.44);
  color: var(--paper);
  font-size: 2.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.hero-slider__arrow:hover {
  background: rgba(217,163,60,.22);
  border-color: rgba(242,211,126,.7);
  transform: translateY(-50%) scale(1.04);
}
.hero-slider__arrow--prev { left: 26px; }
.hero-slider__arrow--next { right: 26px; }
.hero-slider__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(4,19,15,.44);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.hero-slider__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.46);
  transition: width .25s ease, background .25s ease;
}
.hero-slider__dot.is-active {
  width: 34px;
  background: var(--gold-soft);
}
body.light .hero-slide__content { color: var(--paper); }

@media (max-width: 1080px) {
  .hero-slider { min-height: 100svh; padding: 0; }
  .hero-slide__content {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 128px 0 110px;
  }
  .hero-slide__overlay {
    background:
      linear-gradient(90deg, rgba(4,19,15,.9), rgba(4,19,15,.55)),
      linear-gradient(0deg, rgba(4,19,15,.78), rgba(4,19,15,.12));
  }
}
@media (max-width: 760px) {
  .hero-slider { min-height: 100svh; padding: 0; }
  .hero-slide__content {
    width: calc(100% - 30px);
    padding: 116px 0 116px;
  }
  .hero-slider .hero__logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin-bottom: 18px;
  }
  .hero-slider h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
    letter-spacing: -.05em;
  }
  .hero-slider .hero__lead { font-size: .98rem; }
  .hero-slider__arrow {
    top: auto;
    bottom: 26px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }
  .hero-slider__arrow--prev { left: 16px; }
  .hero-slider__arrow--next { right: 16px; }
  .hero-slider__dots { bottom: 31px; }
}

/* Perbaikan slider beranda v2: teks berada di atas gambar, logo besar di slide dihapus, layout awal lebih rapi */
.topbar {
  top: 14px;
  width: min(1180px, calc(100% - 32px));
  padding: 10px 12px;
  border-radius: 28px;
  background: rgba(4, 19, 15, .86);
}
.brand {
  min-width: 250px;
  max-width: 340px;
}
.brand strong {
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
}
.nav {
  flex: 1;
  justify-content: flex-end;
  gap: 2px;
}
.nav a {
  padding: 9px 11px;
  white-space: nowrap;
}
.topbar__actions .btn--ghost {
  display: none;
}
.hero-slider {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: block;
  isolation: isolate;
}
.hero-slider__track,
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-slide__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 18, 14, .90) 0%, rgba(3, 18, 14, .72) 42%, rgba(3, 18, 14, .28) 72%, rgba(3, 18, 14, .15) 100%),
    linear-gradient(0deg, rgba(3, 18, 14, .78) 0%, rgba(3, 18, 14, .18) 46%, rgba(3, 18, 14, .58) 100%);
}
.hero-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: clamp(116px, 17vh, 150px) clamp(26px, 7vw, 96px) 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--paper);
  transform: translateY(16px);
}
.hero-slider .eyebrow {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(.72rem, 1.2vw, .86rem);
  letter-spacing: .13em;
  text-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.hero-slider h1 {
  max-width: min(840px, 72vw);
  font-size: clamp(2.7rem, 5.6vw, 5.55rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  color: var(--gold-soft);
  text-shadow: 0 18px 60px rgba(0,0,0,.58);
}
.hero-slider .hero__lead {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(247,239,224,.92);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  text-shadow: 0 10px 34px rgba(0,0,0,.48);
}
.hero-slider .hero__actions {
  margin-top: 28px;
}
.hero-slider__arrow {
  z-index: 8;
}
.hero-slider__dots {
  z-index: 8;
}

@media (max-width: 1180px) {
  .topbar {
    width: calc(100% - 24px);
  }
  .brand {
    min-width: 220px;
  }
  .nav a {
    padding: 8px 9px;
    font-size: .82rem;
  }
  .topbar__actions .btn--primary {
    padding-inline: 13px;
  }
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 24px;
  }
  .nav,
  .topbar__actions .btn--primary {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .brand {
    min-width: 0;
    max-width: calc(100% - 60px);
  }
  .brand small {
    display: block;
  }
  .hero-slide__content {
    padding: 120px 24px 112px;
  }
  .hero-slider h1 {
    max-width: 780px;
    font-size: clamp(2.7rem, 9vw, 4.7rem);
  }
  .hero-slide__overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 14, .92), rgba(3, 18, 14, .62)),
      linear-gradient(0deg, rgba(3, 18, 14, .80), rgba(3, 18, 14, .15));
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 18px);
    padding: 9px 10px;
  }
  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .brand strong {
    font-size: .86rem;
  }
  .brand small {
    display: none;
  }
  .mobile-menu {
    top: 80px;
  }
  .hero-slide__content {
    padding: 105px 18px 116px;
    justify-content: center;
  }
  .hero-slider .eyebrow {
    font-size: .68rem;
    line-height: 1.55;
    letter-spacing: .10em;
  }
  .hero-slider h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12vw, 3.65rem);
    line-height: 1.04;
  }
  .hero-slider .hero__lead {
    font-size: .95rem;
  }
  .hero-slider__dots {
    bottom: 28px;
  }
}

/* Tambahan fitur BK dan Kartu Pelajar */
.student-thumb{width:46px;height:56px;object-fit:cover;border-radius:10px;border:1px solid rgba(15,23,42,.14);background:#f8fafc}
.btn.small,.btn.ghost.small{padding:7px 11px;font-size:.82rem;white-space:nowrap}
.bk-downloads{margin-top:18px;padding:18px;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:rgba(248,250,252,.8)}
.bk-downloads h4{margin-top:0}.download-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px dashed rgba(15,23,42,.14)}.download-item:first-of-type{border-top:0}.download-item p{margin:.35rem 0 0}.form small{display:block;margin-top:6px;color:#64748b;line-height:1.4}.table-wrap td .student-thumb{display:block}
@media (max-width:720px){.download-item{align-items:flex-start;flex-direction:column}.tabs-title{gap:12px}.quick-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}

/* Perbaikan foto website v5: gambar dibuat stabil, tajam, dan tidak gepeng */
img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.hero-slide__image,
.photo-card img,
.image-stack img,
.gallery-grid img,
.news-card img,
.leader-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-slide__image {
  height: 100%;
  object-position: center center;
}
.photo-card img,
.gallery-grid img,
.news-card img {
  background: #e7eadf;
}
.gallery-grid figure,
.news-card,
.photo-card,
.leader-card {
  isolation: isolate;
}
.gallery-grid figure::after,
.photo-card::after,
.news-card::after,
.leader-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 45%, rgba(4,19,15,.08));
  opacity: .7;
}
.news-card,
.leader-card { position: relative; }
.leader-card img {
  height: 300px;
  object-position: center top;
}
.image-stack .stack-main,
.image-stack .stack-small {
  object-position: center center;
}
.img-fallback {
  object-position: center !important;
}
@media (min-width: 900px) {
  .gallery-grid figure { min-height: 230px; }
}
