
:root {
  --bg: #f7f1e5;
  --paper: #fffaf0;
  --surface: rgba(255, 250, 240, .86);
  --surface-solid: #fffaf0;
  --green-950: #09231a;
  --green-900: #0d3526;
  --green-800: #15543e;
  --green-700: #1c6a4f;
  --green-600: #2d8b67;
  --gold: #d8b56d;
  --gold-2: #f3dc9b;
  --brown: #6e4b2b;
  --text: #17211b;
  --muted: #67746b;
  --line: rgba(21, 84, 62, .16);
  --shadow: 0 24px 70px rgba(9, 35, 26, .16);
  --radius: 26px;
  --radius-lg: 38px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 7% 4%, rgba(216, 181, 109, .18), transparent 30%),
    radial-gradient(circle at 93% 8%, rgba(28, 106, 79, .13), transparent 28%),
    linear-gradient(180deg, #fff8e9 0%, #f8f2e7 48%, #eef5ec 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 9999;
  background: var(--green-900);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.announcement {
  position: relative;
  z-index: 80;
  background: linear-gradient(90deg, var(--green-950), #163f2f);
  color: #fff8e9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  min-height: 42px;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.announcement button {
  border: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: white;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.announcement.is-hidden { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 250, 240, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 250, 240, .92);
  box-shadow: 0 16px 40px rgba(9,35,26,.10);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 220px;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(216,181,109,.45);
  box-shadow: 0 8px 22px rgba(9,35,26,.11);
  background: white;
}
.brand strong {
  display: block;
  color: var(--green-950);
  letter-spacing: -.03em;
  font-weight: 900;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(23,33,27,.78);
  font-weight: 800;
  font-size: 13px;
  transition: all .2s ease;
}
.nav-links a:hover {
  background: rgba(28,106,79,.09);
  color: var(--green-900);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--green-950);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 13px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  color: white;
  box-shadow: 0 14px 32px rgba(13, 53, 38, .24);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(13, 53, 38, .32); }
.btn-ghost {
  color: #fff8e9;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.btn-ghost.dark {
  color: var(--green-950);
  border-color: var(--line);
  background: rgba(255,255,255,.55);
}
.btn-light {
  background: #fff8e9;
  color: var(--green-950);
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  padding: 90px 0 80px;
  overflow: hidden;
  color: #fff8e9;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--green-950);
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.98) contrast(1.08);
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(216,181,109,.25), transparent 31%),
    linear-gradient(90deg, rgba(5, 20, 15, .95) 0%, rgba(9, 35, 26, .78) 44%, rgba(9,35,26,.30) 100%),
    linear-gradient(0deg, rgba(9,35,26,.86) 0%, transparent 38%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1.05fr .58fr;
  gap: 48px;
  align-items: center;
}
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 1000;
}
.badge {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(243,220,155,.38);
  background: rgba(243,220,155,.10);
  color: var(--gold-2);
}
.eyebrow { color: var(--green-700); margin-bottom: 12px; }
.eyebrow.light { color: var(--gold-2); }

.hero h1, .section h2, .cinematic h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  max-width: 880px;
  margin-top: 18px;
  text-shadow: 0 14px 50px rgba(0,0,0,.35);
}
.hero h1 span { color: var(--gold-2); }
.hero p {
  max-width: 650px;
  color: rgba(255,248,233,.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-meta > span {
  min-width: 220px;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  color: rgba(255,248,233,.72);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.hero-meta strong {
  display: block;
  color: white;
  margin-bottom: 0;
  line-height: 1.15;
}

.hero-meta > span > span {
  display: block;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: rgba(255,248,233,.72);
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hero-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 34px 100px rgba(0,0,0,.28);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;
}
.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transform: scale(1.05);
  animation: kenburns 15s ease-in-out infinite alternate;
}
.hero-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(9,35,26,.70);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
}
.hero-card span {
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 900;
}
.hero-card strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.25;
}
.video-toggle {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.34);
  color: white;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.video-toggle.secondary {
  bottom: 24px;
  right: 24px;
}

.quick-stats {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding-bottom: 44px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  background: rgba(255,250,240,.92);
  border: 1px solid rgba(216,181,109,.32);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(9,35,26,.12);
  padding: 22px;
}
.stat strong {
  display: block;
  font-size: 36px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--green-900);
  line-height: .9;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding: 90px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading.center { margin-inline: auto; text-align: center; }
.section h2, .cinematic h2 {
  font-size: clamp(35px, 5vw, 68px);
  color: var(--green-950);
}
.section-heading p, .section-copy p, .daily-panel p, .contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.split {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr .95fr; }
.note {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(28,106,79,.08);
  border: 1px solid var(--line);
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.values span {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--green-950);
  color: #fff8e9;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(9,35,26,.16);
}
.about-mosaic {
  min-height: 560px;
  position: relative;
}
.about-mosaic img {
  position: absolute;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255,250,240,.85);
}
.about-mosaic img:nth-child(1) {
  width: 70%;
  height: 74%;
  right: 0;
  top: 0;
}
.about-mosaic img:nth-child(2) {
  width: 48%;
  height: 44%;
  left: 0;
  bottom: 0;
}
.about-mosaic img:nth-child(3) {
  width: 43%;
  height: 32%;
  left: 8%;
  top: 10%;
}

.program {
  background: linear-gradient(180deg, rgba(255,250,240,.40), rgba(21,84,62,.06));
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.program-card {
  min-height: 320px;
  border-radius: 30px;
  padding: 24px;
  background: rgba(255,250,240,.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(9,35,26,.09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(9,35,26,.15);
}
.program-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(216,181,109,.38), rgba(28,106,79,.13));
  margin-bottom: 40px;
}
.status {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--brown);
  background: rgba(216,181,109,.18);
  border: 1px solid rgba(216,181,109,.30);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.program-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--green-950);
}
.program-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.daily {
  background:
    radial-gradient(circle at left bottom, rgba(216,181,109,.20), transparent 32%),
    #f4efe3;
}
.daily-panel {
  padding: 34px;
  background: var(--green-950);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.daily-panel h2 { color: white; }
.daily-panel p { color: rgba(255,248,233,.70); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}
.timeline li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.timeline span {
  color: var(--gold-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 1000;
}
.timeline strong {
  font-size: 17px;
  line-height: 1.45;
}
.small {
  font-size: 14px !important;
}
.media-stack {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 14px;
  align-items: stretch;
}
.media-stack video, .media-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid rgba(255,250,240,.88);
  box-shadow: var(--shadow);
}
.media-stack img {
  height: 390px;
  align-self: end;
  margin-left: -80px;
}

.staff-grid {
  display: grid;
  grid-template-columns: 1.05fr .85fr .85fr;
  gap: 18px;
}
.staff-card {
  border-radius: 30px;
  background: rgba(255,250,240,.86);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(9,35,26,.10);
  overflow: hidden;
}
.staff-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.staff-card.main img { height: 360px; }
.staff-card div { padding: 24px; }
.staff-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  color: var(--green-950);
}
.staff-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.staff-card.main {
  grid-row: span 1;
}

.cinematic {
  position: relative;
  min-height: 620px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-950);
}
.cinematic-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinematic-bg > div {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,20,15,.94), rgba(9,35,26,.70), rgba(9,35,26,.24)),
    radial-gradient(circle at 80% 20%, rgba(216,181,109,.24), transparent 35%);
}
.cinematic-content {
  max-width: 760px;
}
.cinematic h2 {
  color: white;
  max-width: 820px;
}
.cinematic p {
  color: rgba(255,248,233,.78);
  font-size: 18px;
  line-height: 1.8;
  max-width: 720px;
}

.gallery {
  background: linear-gradient(180deg, #fbf6eb, #eff6ef);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter {
  border: 1px solid var(--line);
  background: rgba(255,250,240,.86);
  color: var(--green-950);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}
.filter.active {
  color: white;
  background: var(--green-950);
}
.gallery-grid {
  columns: 4 230px;
  column-gap: 16px;
}
.gallery-card {
  width: 100%;
  position: relative;
  display: inline-block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--green-950);
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(9,35,26,.12);
}
.gallery-card[hidden] { display: none; }
.gallery-card img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
  opacity: .72;
}
.gallery-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 18px;
  padding: 12px;
  text-align: left;
  background: rgba(9,35,26,.75);
  color: white;
  backdrop-filter: blur(12px);
  transform: translateY(8px);
  opacity: 0;
  transition: all .25s ease;
}
.gallery-card:hover span {
  transform: translateY(0);
  opacity: 1;
}
.gallery-card strong, .gallery-card small {
  display: block;
}
.gallery-card strong {
  font-size: 14px;
}
.gallery-card small {
  color: rgba(255,248,233,.75);
  line-height: 1.35;
  margin-top: 3px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.video-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,250,240,.86);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(9,35,26,.12);
}
.video-card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #000;
}
.video-card.portrait video { object-fit: contain; background: #0b1712; }
.video-card div {
  padding: 18px 20px;
}
.video-card strong {
  display: block;
  color: var(--green-950);
}
.video-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.registration {
  padding-top: 40px;
}
.reg-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255,250,240,.94), rgba(236,246,235,.92)),
    url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0L75 45L120 60L75 75L60 120L45 75L0 60L45 45Z' fill='%23d8b56d' opacity='.08'/%3E%3C/svg%3E");
  border: 1px solid rgba(216,181,109,.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.reg-card h2 { margin-bottom: 14px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(28,106,79,.08);
  border: 1px solid var(--line);
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  color: var(--green-700);
  margin-right: 8px;
}
.reg-action {
  align-self: stretch;
  background: var(--green-950);
  color: white;
  border-radius: 28px;
  padding: 26px;
  display: grid;
  align-content: center;
}
.reg-action strong {
  font-size: 24px;
  line-height: 1.2;
}
.reg-action p {
  color: rgba(255,248,233,.72);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.faq {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,250,240,.86);
  box-shadow: 0 14px 38px rgba(9,35,26,.08);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 900;
  color: var(--green-950);
}
.faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  background: #f3efe4;
}
.contact-grid {
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: 44px;
  align-items: center;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
.contact-list a {
  display: block;
  padding: 17px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,250,240,.78);
  box-shadow: 0 12px 32px rgba(9,35,26,.07);
}
.contact-list span {
  display: block;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 1000;
}
.contact-list strong {
  display: block;
  margin-top: 4px;
  color: var(--green-950);
  line-height: 1.45;
}
.map-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green-950);
  color: white;
  box-shadow: var(--shadow);
}
.map-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  opacity: .92;
}
.map-card div { padding: 28px; }
.map-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-family: "Playfair Display", Georgia, serif;
}
.map-card p {
  color: rgba(255,248,233,.74);
  line-height: 1.7;
}
.map-card a {
  color: var(--gold-2);
  font-weight: 900;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255,248,233,.72);
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .55fr .55fr;
  gap: 42px;
}
.footer-brand strong { color: white; }
.footer-brand small { color: rgba(255,248,233,.62); }
.site-footer p {
  max-width: 520px;
  line-height: 1.8;
}
.site-footer strong {
  display: block;
  color: white;
  margin-bottom: 12px;
}
.site-footer a {
  display: block;
  color: rgba(255,248,233,.72);
  margin: 9px 0;
  font-weight: 700;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 36px;
  padding-top: 22px;
  font-size: 13px;
}

.floating-wa, .back-top {
  position: fixed;
  z-index: 60;
  border: 0;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(9,35,26,.24);
}
.floating-wa {
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  font-size: 26px;
}
.floating-wa::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: 5px;
  top: 6px;
  border-radius: 999px;
  background: #f6d46b;
  border: 2px solid white;
}
.back-top {
  right: 84px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green-950);
  color: white;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all .2s ease;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0,0,0,.86);
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 86vh;
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0,0,0,.50);
}
.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 30px;
  cursor: pointer;
}

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

@keyframes kenburns {
  from { transform: scale(1.03); }
  to { transform: scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .hero-media video, .cinematic-bg video, .media-stack video { display: none; }
}

@media (max-width: 1050px) {
  .hero-content, .split, .split.reverse, .contact-grid, .reg-card {
    grid-template-columns: 1fr;
  }
  .hero-card { max-width: 560px; }
  .stat-grid, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid, .video-grid { grid-template-columns: 1fr 1fr; }
  .about-mosaic { min-height: 480px; }
  .media-stack img { margin-left: 0; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrap { height: 68px; }
  .brand { min-width: 0; }
  .brand img { width: 42px; height: 42px; border-radius: 14px; }
  .brand small { display: none; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,250,240,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px; }
  .menu-btn { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .hero { min-height: auto; padding: 86px 0 68px; }
  .hero-content { gap: 34px; }
  .hero h1 { font-size: clamp(44px, 14vw, 68px); }
  .hero p { font-size: 16px; }
  .hero-card, .hero-card img { min-height: 360px; }
  .hero-meta > span { min-width: 100%; }
  .quick-stats { margin-top: 0; padding-top: 16px; }
  .stat-grid, .program-grid, .staff-grid, .video-grid, .faq-grid, .footer-grid, .check-list {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .section h2, .cinematic h2 { font-size: clamp(34px, 11vw, 52px); }
  .about-mosaic { min-height: auto; display: grid; gap: 12px; }
  .about-mosaic img {
    position: static;
    width: 100% !important;
    height: 280px !important;
    border-width: 5px;
  }
  .media-stack {
    grid-template-columns: 1fr;
  }
  .media-stack video, .media-stack img {
    height: 360px;
    border-width: 5px;
  }
  .staff-card.main img, .staff-card img { height: 280px; }
  .gallery-grid { columns: 1; }
  .cinematic { min-height: 520px; padding: 86px 0; }
  .reg-card { padding: 24px; }
  .floating-wa { width: 54px; height: 54px; }
  .back-top { display: none; }
}

@media (max-width: 420px) {
  .brand strong { font-size: 14px; }
  .announcement { font-size: 12px; }
  .btn { width: 100%; }
  .hero-card div { left: 14px; right: 14px; bottom: 14px; }
  .timeline li { grid-template-columns: 1fr; }
}


/* Admin link */
.admin-nav-link {
  color: var(--green-900) !important;
  background: rgba(216, 181, 109, .18);
  border: 1px solid rgba(216, 181, 109, .36);
  border-radius: 999px;
  padding-inline: 14px !important;
}

/* Google Form embed */
.form-embed-wrap {
  grid-column: 1 / -1;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,250,240,.94);
  box-shadow: 0 20px 60px rgba(9,35,26,.12);
}
.form-embed-wrap[hidden] { display: none !important; }
.form-embed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(21,84,62,.12);
}
.form-embed-head strong { color: var(--green-950); }
.form-embed-head span { color: var(--muted); font-weight: 700; font-size: 13px; }
.form-embed-wrap iframe {
  width: 100%;
  min-height: 780px;
  border: 0;
  background: white;
}

/* Floating CTA system */
.floating-actions {
  position: fixed;
  z-index: 62;
  right: 18px;
  bottom: 18px;
  display: grid;
  justify-items: end;
  gap: 10px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}
.floating-actions[data-position="left"] {
  right: auto;
  left: 18px;
  justify-items: start;
}
.floating-actions.is-delayed {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
.floating-actions.is-delayed.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-actions.is-muted {
  opacity: 0;
  pointer-events: none;
}
.floating-main {
  border: 0;
  cursor: pointer;
  min-height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  background: #25d366;
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(9,35,26,.24);
}
.floating-main::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  right: 6px;
  top: 5px;
  border-radius: 999px;
  background: #f6d46b;
  border: 2px solid white;
}
.floating-panel {
  display: none;
  min-width: 238px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,250,240,.98);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(9,35,26,.20);
}
.floating-actions.is-open .floating-panel,
.floating-actions[data-variant="card"] .floating-panel {
  display: grid;
  gap: 8px;
}
.floating-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  color: var(--green-950);
  background: rgba(21,84,62,.07);
}
.floating-panel a:hover { background: rgba(216,181,109,.20); }
.floating-actions[data-variant="circle"] .floating-main {
  width: 58px;
  height: 58px;
  padding: 0;
  justify-content: center;
}
.floating-actions[data-variant="circle"] .floating-main span { display: none; }
.floating-actions[data-variant="pill"] .floating-panel { display: none !important; }
.floating-actions[data-variant="bar"] {
  left: 12px;
  right: 12px;
  bottom: 12px;
  justify-items: stretch;
}
.floating-actions[data-variant="bar"] .floating-main { display: none; }
.floating-actions[data-variant="bar"] .floating-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 0;
  width: 100%;
  border-radius: 22px;
}
.floating-actions[data-variant="bar"] .floating-panel a {
  justify-content: center;
  text-align: center;
  min-height: 48px;
  font-size: 12px;
  padding: 9px 6px;
}

@media (max-width: 820px) {
  .admin-nav-link {
    border-radius: 18px;
    text-align: center;
  }
  .form-embed-head {
    display: block;
  }
  .form-embed-head span {
    display: block;
    margin-top: 4px;
  }
  .form-embed-wrap iframe {
    min-height: 680px;
  }
  .floating-actions {
    right: 14px;
    bottom: 14px;
  }
  .floating-main {
    min-height: 54px;
    padding: 0 14px;
  }
  .floating-panel {
    min-width: min(300px, calc(100vw - 28px));
  }
  .floating-actions[data-variant="bar"] .floating-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .floating-actions[data-variant="expandable"] .floating-main span,
  .floating-actions[data-variant="card"] .floating-main span {
    display: none;
  }
  .floating-actions[data-variant="bar"] .floating-panel {
    grid-template-columns: 1fr 1fr;
  }
}


.latest-activities-wrap {
  margin-top: 54px;
}
.latest-activities-wrap[hidden] { display: none !important; }
.latest-activities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.latest-activity {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,250,240,.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(9,35,26,.10);
}
.latest-activity span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.latest-activity h3 {
  margin: 0 0 8px;
  color: var(--green-950);
}
.latest-activity p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px) {
  .latest-activities {
    grid-template-columns: 1fr;
  }
}

/* v5 — visual builder settings */
body[data-theme="gold"] {
  --green-950: #2d2011;
  --green-900: #443018;
  --green-800: #6e4b2b;
  --green-700: #a8742f;
  --green-600: #c59242;
  --gold: #d8b56d;
  --gold-2: #ffe7a8;
  --bg: #fff5dd;
}
body[data-theme="clean"] {
  --bg: #ffffff;
  --paper: #ffffff;
  --surface: rgba(255,255,255,.9);
  --surface-solid: #ffffff;
  --green-950: #10231d;
  --green-900: #1f3b31;
  --green-700: #287052;
  --gold: #caa45d;
  --text: #17211b;
  --muted: #5f6e66;
  --line: rgba(16,35,29,.13);
}
body[data-theme="night"] {
  --bg: #07100d;
  --paper: #0d1f18;
  --surface: rgba(13,31,24,.88);
  --surface-solid: #0d1f18;
  --green-950: #05120d;
  --green-900: #09231a;
  --green-700: #44b383;
  --gold: #e1bd75;
  --gold-2: #ffe4a3;
  --text: #f4f0e8;
  --muted: rgba(244,240,232,.7);
  --line: rgba(255,255,255,.12);
}
body[data-theme="night"] .section-heading h2,
body[data-theme="night"] .section-copy h2,
body[data-theme="night"] .daily-panel h2,
body[data-theme="night"] .program-card h3,
body[data-theme="night"] .staff-card h3,
body[data-theme="night"] .faq summary,
body[data-theme="night"] .reg-card h2,
body[data-theme="night"] .contact-copy h2 { color: var(--text); }
body[data-theme="night"] .program-card,
body[data-theme="night"] .staff-card,
body[data-theme="night"] .faq,
body[data-theme="night"] .map-card,
body[data-theme="night"] .reg-card { background: rgba(13,31,24,.88); color: var(--text); }
body[data-bg-pattern="plain"] { background: var(--bg); }
body[data-bg-pattern="plain"]::before { display: none; }
body[data-bg-pattern="ornament"]::before { opacity: .075; }
body[data-card-radius="sharp"] { --radius: 14px; --radius-lg: 20px; }
body[data-card-radius="round"] { --radius: 34px; --radius-lg: 52px; }
body[data-gallery-layout="grid"] .gallery-grid {
  columns: initial;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
body[data-gallery-layout="grid"] .gallery-card { margin: 0; display: block; }
body[data-gallery-layout="featured"] .gallery-grid {
  columns: initial;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
body[data-gallery-layout="featured"] .gallery-card {
  margin: 0;
  display: block;
  grid-column: span 2;
}
body[data-gallery-layout="featured"] .gallery-card:first-child,
body[data-gallery-layout="featured"] .gallery-card:nth-child(8) {
  grid-column: span 3;
  grid-row: span 2;
}
body[data-hero-video-mode="soft"] .hero-media video { opacity: .55; filter: saturate(.75) blur(1px); }
body[data-hero-video-mode="image"] .hero-media video { display: none; }
body[data-hero-video-mode="image"] .hero-media {
  background: url("../images/pondok/pondok-01.jpg") center/cover no-repeat;
}
[data-section-key][hidden] { display: none !important; }
@media (max-width: 720px) {
  body[data-gallery-layout="featured"] .gallery-grid { grid-template-columns: 1fr; }
  body[data-gallery-layout="featured"] .gallery-card,
  body[data-gallery-layout="featured"] .gallery-card:first-child,
  body[data-gallery-layout="featured"] .gallery-card:nth-child(8) { grid-column: auto; grid-row: auto; }
}


/* v7 visual builder public variants */
body[data-button-style="soft"] .btn-primary {
  background: rgba(13, 53, 38, .10);
  color: var(--green-950);
  border-color: rgba(13,53,38,.20);
  box-shadow: none;
}
body[data-button-style="outline"] .btn-primary {
  background: transparent;
  color: var(--green-950);
  border-color: rgba(13,53,38,.35);
  box-shadow: none;
}
body[data-button-style="soft"] .hero .btn-primary,
body[data-button-style="outline"] .hero .btn-primary {
  background: rgba(255,248,233,.90);
  color: var(--green-950);
}
body[data-theme="gold"] {
  --green-950: #2b2110;
  --green-900: #4a3516;
  --green-800: #71501d;
  --green-700: #9b6d25;
  --gold: #d8b56d;
}
body[data-theme="clean"] {
  --bg: #f7faf7;
  --paper: #ffffff;
  --surface: rgba(255,255,255,.90);
  --surface-solid: #ffffff;
  --green-950: #10231b;
  --green-900: #17392b;
  --gold: #c79a3b;
}
body[data-theme="night"] {
  --bg: #07100d;
  --paper: #0d1f18;
  --surface: rgba(13,31,24,.82);
  --surface-solid: #10251c;
  --text: #e8f0ec;
  --muted: rgba(232,240,236,.68);
  --line: rgba(255,255,255,.11);
  --green-950: #04100b;
  --green-900: #07180f;
  --green-800: #103522;
  --gold: #e6c47d;
}
body[data-bg-pattern="plain"]::before {
  display: none;
}
body[data-bg-pattern="ornament"]::before {
  opacity: .12;
}
body[data-card-radius="sharp"] {
  --radius: 12px;
  --radius-lg: 18px;
}
body[data-card-radius="round"] {
  --radius: 34px;
  --radius-lg: 52px;
}


/* v8: form pendaftaran internal */
.internal-form-wrap {
  grid-column: 1 / -1;
  background: rgba(255, 250, 240, .72);
  border: 1px solid rgba(216, 181, 109, .38);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 28px);
  margin-top: 18px;
}
.internal-registration-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.internal-registration-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--green-950, #09231a);
}
.internal-registration-form input,
.internal-registration-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 84, 62, .18);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: inherit;
}
.internal-registration-form textarea { min-height: 92px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-status {
  margin: 0;
  font-weight: 800;
  color: var(--green-800, #1c6a4f);
}
.form-status.error { color: #b42318; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  opacity: 0 !important;
  height: 1px !important;
  width: 1px !important;
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* v9 — Audit polish: prevent mobile CTA overlap and improve small-screen stability */
body[data-floating-variant="bar"] {
  padding-bottom: 92px;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  min-width: 0;
}
.gallery-card,
.latest-activity,
.program-card,
.staff-card,
.faq-item {
  overflow-wrap: anywhere;
}
@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 68px);
  }
  .hero-meta > span {
    min-width: min(220px, 100%);
  }
}
@media (max-width: 420px) {
  .floating-actions[data-variant="bar"] {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .floating-actions[data-variant="bar"] .floating-panel {
    grid-template-columns: 1fr 1fr;
  }
}


/* v11 — activity media cards */
.latest-activity.has-media {
  padding: 0;
  overflow: hidden;
}
.latest-activity-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #e8eee8;
}
video.latest-activity-media {
  background: #0d3526;
}
.latest-activity-body {
  padding: 22px;
}


/* v13 — Button studio, floating variations, video controls, and dynamic stats */
body[data-button-shape="rounded"] .btn { border-radius: 18px; }
body[data-button-shape="square"] .btn { border-radius: 8px; }
body[data-button-shape="bubble"] .btn { border-radius: 28px 999px 999px 28px; padding-inline: 24px; }
body[data-button-color="gold"] .btn-primary {
  background: linear-gradient(135deg, #d8b56d, #f5df9d);
  color: var(--green-950);
  box-shadow: 0 16px 44px rgba(216,181,109,.32);
}
body[data-button-color="dark"] .btn-primary {
  background: linear-gradient(135deg, #06100c, #17392b);
  color: #fff8e9;
}
body[data-button-color="cream"] .btn-primary {
  background: #fff8e9;
  color: var(--green-950);
  border-color: rgba(216,181,109,.44);
}
body[data-button-color="gradient"] .btn-primary {
  background: linear-gradient(135deg, #0d3526, #25d366 45%, #d8b56d);
  color: white;
}
body[data-button-effect="none"] .btn,
body[data-floating-effect="none"] .floating-main { animation: none !important; transform: none; }
body[data-button-effect="pulse"] .btn-primary,
.floating-actions[data-effect="pulse"] .floating-main { animation: tamrinutPulse 2.4s ease-in-out infinite; }
body[data-button-effect="glow"] .btn-primary,
.floating-actions[data-effect="glow"] .floating-main { animation: tamrinutGlow 2.8s ease-in-out infinite; }
body[data-button-effect="bubble"] .btn-primary,
.floating-actions[data-effect="breathing"] .floating-main { animation: tamrinutBubble 2.8s ease-in-out infinite; }
.floating-actions[data-effect="bounce"] .floating-main { animation: tamrinutBounce 1.8s ease-in-out infinite; }

.floating-actions[data-color="emerald"] .floating-main { background: linear-gradient(135deg, var(--green-800), var(--green-950)); }
.floating-actions[data-color="gold"] .floating-main { background: linear-gradient(135deg, #d8b56d, #f5df9d); color: var(--green-950); }
.floating-actions[data-color="dark"] .floating-main { background: linear-gradient(135deg, #06100c, #17392b); color: #fff8e9; }
.floating-actions[data-color="gradient"] .floating-main { background: linear-gradient(135deg, #25d366, #0d3526, #d8b56d); color: white; }
.floating-actions[data-size="compact"] .floating-main { min-height: 48px; padding-inline: 14px; font-size: 13px; }
.floating-actions[data-size="compact"][data-variant="circle"] .floating-main { width: 48px; height: 48px; }
.floating-actions[data-size="large"] .floating-main { min-height: 68px; padding-inline: 24px; font-size: 16px; }
.floating-actions[data-size="large"][data-variant="circle"] .floating-main { width: 68px; height: 68px; }

body[data-video-toggle-style="gold"] .video-toggle {
  background: linear-gradient(135deg, #d8b56d, #f5df9d);
  color: var(--green-950);
  border-color: rgba(255,255,255,.45);
}
body[data-video-toggle-style="dark"] .video-toggle {
  background: rgba(3, 12, 8, .78);
  color: #fff8e9;
}
body[data-video-toggle-style="minimal"] .video-toggle {
  background: rgba(255,250,240,.92);
  color: var(--green-950);
  border-color: rgba(21,84,62,.16);
}
body[data-video-toggle-position="bottom-left"] .video-toggle { right: auto; left: 22px; bottom: 22px; top: auto; }
body[data-video-toggle-position="top-right"] .video-toggle { right: 22px; left: auto; top: 22px; bottom: auto; }
body[data-video-toggle-position="top-left"] .video-toggle { right: auto; left: 22px; top: 22px; bottom: auto; }

@keyframes tamrinutPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 18px 44px rgba(9,35,26,.24); }
  50% { transform: translateY(-1px) scale(1.035); box-shadow: 0 22px 58px rgba(9,35,26,.32); }
}
@keyframes tamrinutGlow {
  0%, 100% { box-shadow: 0 18px 44px rgba(9,35,26,.22), 0 0 0 rgba(216,181,109,0); }
  50% { box-shadow: 0 24px 70px rgba(9,35,26,.26), 0 0 34px rgba(216,181,109,.45); }
}
@keyframes tamrinutBubble {
  0%, 100% { transform: scale(1); border-radius: 999px; }
  50% { transform: scale(1.045); border-radius: 26px 999px 999px 26px; }
}
@keyframes tamrinutBounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-7px); }
}

.stat-grid:has(.stat:nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1120px) {
  .stat-grid:has(.stat:nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .stat-grid:has(.stat:nth-child(5)) { grid-template-columns: 1fr; }
}
[data-custom-body-zone] {
  display: contents;
}


/* v14 — Button Studio expanded variations */
body[data-button-style="glass"] .btn-primary {
  background: rgba(255,255,255,.16);
  color: #fff8e9;
  border-color: rgba(255,255,255,.30);
  backdrop-filter: blur(14px);
}
body:not(.hero) [data-button-style="glass"] .btn-primary { color: var(--green-950); }
body[data-button-color="whatsapp"] .btn-primary { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }
body[data-button-shape="capsule"] .btn { border-radius: 999px; padding-inline: 28px; min-height: 58px; }
body[data-button-shadow="deep"] .btn-primary { box-shadow: 0 24px 70px rgba(9,35,26,.30); }
body[data-button-shadow="none"] .btn-primary { box-shadow: none; }
body[data-button-text-case="uppercase"] .btn { text-transform: uppercase; letter-spacing: .08em; }
body[data-button-hover="scale"] .btn:hover { transform: scale(1.035); }
body[data-button-hover="glow"] .btn:hover { box-shadow: 0 0 0 4px rgba(216,181,109,.15), 0 22px 64px rgba(9,35,26,.28); }
body[data-button-effect="wave"] .btn-primary,
.floating-actions[data-effect="wave"] .floating-main { position: relative; overflow: hidden; }
body[data-button-effect="wave"] .btn-primary::before,
.floating-actions[data-effect="wave"] .floating-main::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-80%);
  animation: tamrinutWave 3s ease-in-out infinite;
}
body[data-button-effect="shine"] .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.32), transparent);
  transform: translateX(-120%);
  animation: tamrinutShine 2.8s ease-in-out infinite;
}
body[data-button-icon="arrow"] .btn-primary span::after,
body[data-button-icon="arrow"] .btn-primary::after { content: " →"; }
body[data-button-icon="spark"] .btn-primary::before { content: "✦ "; }
body[data-button-icon="chat"] .btn-primary::before { content: "💬 "; }

.floating-actions[data-variant="mini"] .floating-main {
  width: 54px;
  height: 54px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
}
.floating-actions[data-variant="mini"] .floating-main span { display: none; }
.floating-actions[data-icon="none"] .floating-main::after { display: none; }
.floating-actions[data-icon="chat"] .floating-main::after { content: "💬"; width: auto; height: auto; background: white; color: var(--green-950); padding: 2px 5px; font-size: 11px; }
.floating-actions[data-icon="phone"] .floating-main::after { content: "☎"; width: auto; height: auto; background: white; color: var(--green-950); padding: 2px 5px; font-size: 11px; }
.floating-actions[data-motion="calm"] .floating-main { animation-duration: 4.8s !important; }
.floating-actions[data-motion="lively"] .floating-main { animation-duration: 1.45s !important; }
body[data-floating-visibility="mobile-only"] .floating-actions { display: none; }
@media (max-width: 760px) {
  body[data-floating-visibility="mobile-only"] .floating-actions { display: grid; }
}
body[data-video-toggle-shape="circle"] .video-toggle { width: 54px; height: 54px; padding: 0; border-radius: 999px; display: grid; place-items: center; }
body[data-video-toggle-shape="square"] .video-toggle { border-radius: 12px; }
body[data-video-toggle-effect="glow"] .video-toggle { box-shadow: 0 0 28px rgba(216,181,109,.40); }
body[data-video-toggle-effect="pulse"] .video-toggle { animation: tamrinutPulse 2.4s ease-in-out infinite; }

@keyframes tamrinutWave {
  0%, 55%, 100% { transform: translateX(-85%) rotate(8deg); }
  70% { transform: translateX(85%) rotate(8deg); }
}
@keyframes tamrinutShine {
  0%, 55%, 100% { transform: translateX(-120%); }
  75% { transform: translateX(120%); }
}


/* v15 active component blueprint variants */
[data-section-key] {
  transition: opacity .22s ease, transform .22s ease;
}
.section-profil-variant-minimal .about-mosaic,
.section-profil-variant-minimal .values {
  display: none;
}
.section-profil-variant-deep .section-copy {
  max-width: 820px;
}
.section-profil-variant-featured .split {
  align-items: stretch;
}
.section-program-variant-compact .program-grid,
.section-galeri-variant-compact .gallery-grid,
.section-video-variant-compact .video-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.section-program-variant-compact .program-card,
.section-galeri-variant-compact .gallery-card,
.section-video-variant-compact .video-card {
  border-radius: 18px;
}
.section-stats-variant-compact .stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.section-stats-variant-minimal .stat {
  box-shadow: none;
  background: rgba(255,255,255,.42);
}
.section-galeri-variant-featured .gallery-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.section-galeri-variant-featured .gallery-card:first-child img {
  min-height: 420px;
}
.section-pendaftaran-variant-focus,
.section-pendaftaran-variant-form-first {
  background:
    radial-gradient(circle at 12% 18%, rgba(216,181,109,.24), transparent 32%),
    linear-gradient(135deg, rgba(9,35,26,.96), rgba(28,106,79,.92));
  color: #fff8e9;
}
.section-pendaftaran-variant-focus h2,
.section-pendaftaran-variant-form-first h2,
.section-pendaftaran-variant-focus .eyebrow,
.section-pendaftaran-variant-form-first .eyebrow {
  color: #fff8e9;
}
.section-pendaftaran-variant-focus p,
.section-pendaftaran-variant-form-first p {
  color: rgba(255,248,233,.78);
}
.section-kontak-variant-whatsapp-card .contact-card:first-child {
  border: 2px solid rgba(37, 211, 102, .35);
  box-shadow: 0 24px 70px rgba(37,211,102,.13);
}
.section-hero-variant-ppdb-cta .hero-content {
  align-items: center;
}
.section-hero-variant-ppdb-cta .badge::after {
  content: " • Pendaftaran";
}
.section-hero-variant-image-minimal .hero-media video {
  opacity: 0;
}
.section-hero-variant-image-minimal .hero-overlay {
  background: linear-gradient(90deg, rgba(9,35,26,.78), rgba(9,35,26,.35));
}
.section-hero-variant-split-clean .hero-overlay {
  background: linear-gradient(90deg, rgba(9,35,26,.88), rgba(255,248,233,.12));
}
@media (max-width: 720px) {
  .section-galeri-variant-featured .gallery-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .section-galeri-variant-featured .gallery-card:first-child img {
    min-height: auto;
  }
}


/* v18 — video background fallback for desktop browsers */
.video-fallback-play {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(9,35,26,.82);
  color: #fff8e9;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.video-fallback-play:hover {
  transform: translateY(-1px);
}
.hero,
.story-video,
.cinematic-card {
  position: relative;
}
.video-needs-action video {
  filter: saturate(.9) brightness(.92);
}
@media (max-width: 640px) {
  .video-fallback-play {
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    padding: 9px 12px;
  }
}


/* v19 Smart Stats variants */
.stat em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(23, 33, 27, .58);
}
body[data-stats-style="minimal"] .stat {
  box-shadow: none;
  border-color: rgba(9, 35, 26, .10);
  background: rgba(255,255,255,.72);
}
body[data-stats-style="bold"] .stat strong {
  font-size: clamp(38px, 5vw, 72px);
}
body[data-stats-style="bold"] .stat span {
  font-size: 18px;
}
body[data-stats-style="glass"] .stat {
  background: rgba(255,255,255,.54);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.42);
}
body[data-stats-motion="glow"] .stat {
  box-shadow: 0 22px 60px rgba(216, 181, 109, .22), 0 0 0 1px rgba(216, 181, 109, .16);
}
body[data-stats-motion="none"] .stat {
  transition: none;
}
body[data-stats-motion="none"] .stat:hover {
  transform: none;
}


/* V20.8 — Public custom ready blocks */
.custom-blocks-root {
  display: contents;
}

.custom-block {
  position: relative;
  overflow: hidden;
}

.custom-block-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.custom-block-copy {
  max-width: 780px;
}

.custom-block-copy h2 {
  margin: 10px 0 14px;
}

.custom-block-copy p {
  color: rgba(22, 52, 40, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

.custom-block-media img,
.custom-block-media iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg, 28px);
  box-shadow: 0 22px 60px rgba(10, 35, 26, 0.15);
  background: #0d3526;
}

.custom-block-media img {
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.custom-block-media iframe {
  aspect-ratio: 16 / 9;
  display: block;
}

.custom-block-notice {
  background: linear-gradient(135deg, rgba(255,248,226,0.96), rgba(236,250,241,0.9));
}

.custom-block-cta,
.custom-block-support {
  background: radial-gradient(circle at top right, rgba(214,168,79,.22), transparent 36%), linear-gradient(135deg, #0d3526, #174d38);
  color: #fff;
}

.custom-block-cta .eyebrow,
.custom-block-support .eyebrow,
.custom-block-cta h2,
.custom-block-support h2,
.custom-block-cta p,
.custom-block-support p {
  color: #fff;
}

.custom-block-quote {
  background: #fbf7ed;
}

.custom-block-quote .custom-block-copy {
  border-left: 5px solid var(--gold, #d6a84f);
  padding-left: 24px;
}

.custom-block-media {
  background: linear-gradient(135deg, rgba(13,53,38,.05), rgba(214,168,79,.09));
}

.custom-block-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.custom-block-faq details {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(13,53,38,.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.custom-block-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #0d3526;
}

.custom-block-faq p {
  margin: 10px 0 0;
  font-size: .96rem;
}

.custom-block-timeline {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.custom-block-timeline li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(13,53,38,.1);
  border-radius: 18px;
  color: rgba(22,52,40,.82);
}

.custom-block-timeline li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold, #d6a84f);
  box-shadow: 0 0 0 5px rgba(214,168,79,.15);
}

@media (min-width: 920px) {
  .custom-block-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  }
  .custom-block-media:empty {
    display: none;
  }
}


/* V20.9 — Scheduled announcement styles */
.announcement[data-schedule-style]:not([data-schedule-style="default"]) {
  gap: 12px;
  flex-wrap: wrap;
}
.announcement[data-schedule-style="success"] {
  background: linear-gradient(90deg, #0d3526, #1c6a4f);
}
.announcement[data-schedule-style="warning"],
.announcement[data-schedule-style="ppdb"] {
  background: linear-gradient(90deg, #6e4b2b, #b7791f);
}
.announcement[data-schedule-style="urgent"] {
  background: linear-gradient(90deg, #6b1d1d, #b42318);
}
.announcement [data-scheduled-announcement-link] {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

/* v21.1.4 — Hero meta cleanup: prevent nested live-text spans from inheriting card styling */
@media (max-width: 560px) {
  .hero-meta {
    width: 100%;
  }

  .hero-meta > span {
    width: 100%;
    min-width: 0;
  }
}


/* v21.1.7 — Live content safety + hero layout polish
   Menjaga hero tetap rapi ketika sebagian data Supabase lama kosong/berbeda. */
.hero {
  min-height: min(820px, calc(100vh - 120px));
  padding-top: clamp(68px, 7vw, 90px);
  padding-bottom: clamp(64px, 7vw, 86px);
}
.hero-content {
  align-items: center;
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 88px);
  max-width: 820px;
}
.hero p {
  max-width: 620px;
}
.hero-card {
  min-height: clamp(380px, 34vw, 500px);
}
.hero-card img {
  min-height: clamp(380px, 34vw, 500px);
}
.brand span,
.hero-copy,
.hero-copy .badge,
.hero-copy h1,
.hero-copy p {
  min-width: 0;
}
@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }
  .hero-card {
    margin-inline: auto;
  }
}
@media (max-width: 820px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
  }
}


/* v21.1.15 — Fast live start.
   Loader layar penuh dinonaktifkan agar halaman tetap responsif.
   Hanya kartu statistik memakai skeleton netral sampai data asli Supabase terbaca. */
.site-live-loader {
  display: none !important;
}
html.live-data-pending .announcement,
html.live-data-pending .site-header,
html.live-data-pending main,
html.live-data-pending .site-footer,
html.live-data-pending .floating-actions,
html.live-data-pending .back-top {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.stats-awaiting-live .stat,
.stats-skeleton {
  position: relative;
  overflow: hidden;
}
.stats-awaiting-live .stat strong,
.stats-skeleton strong {
  opacity: .45;
}
.stats-awaiting-live .stat span,
.stats-awaiting-live .stat em,
.stats-skeleton span,
.stats-skeleton em {
  min-height: 14px;
  color: transparent !important;
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.24), rgba(255,255,255,.10));
  background-size: 220% 100%;
  border-radius: 999px;
  animation: statsSkeletonSweep 1.15s ease-in-out infinite;
}
.stats-awaiting-live .stat span,
.stats-skeleton span {
  display: inline-block;
  width: 72%;
}
.stats-awaiting-live .stat em,
.stats-skeleton em {
  display: inline-block;
  width: 52%;
}
@keyframes statsSkeletonSweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* v21.1.11 — richer public social links */
.contact-social-block {
  margin: 14px 0 20px;
}
.contact-social-title {
  display: block;
  margin-bottom: 10px;
  color: rgba(9,35,26,.70);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.social-chip-row,
.footer-social-links,
.floating-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-chip-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(9,35,26,.12);
  background: rgba(255,255,255,.62);
  color: var(--green-950);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(9,35,26,.08);
}
.social-chip-row a:hover {
  transform: translateY(-1px);
  background: rgba(255,248,233,.96);
}
.footer-social-links {
  flex-direction: column;
  align-items: flex-start;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.floating-social-links {
  flex-direction: column;
}
.floating-social-links a {
  width: 100%;
}

/* v21.1.11 — desktop autoplay fallback is more visible but not intrusive */
.video-fallback-play {
  animation: videoFallbackPulse 1.6s ease-in-out infinite;
}
@keyframes videoFallbackPulse {
  0%, 100% { box-shadow: 0 16px 40px rgba(0,0,0,.18); }
  50% { box-shadow: 0 16px 46px rgba(216,181,109,.28); }
}
.video-is-playing .video-fallback-play {
  display: none;
}
body[data-hero-video-mode="image"] .hero-media video,
body[data-hero-video-mode="none"] .hero-media video {
  opacity: 0;
}
body[data-hero-video-mode="none"] .video-toggle {
  display: none;
}


/* v21.1.14 — statistik publik tidak lagi menampilkan angka contoh sebelum data asli siap */
.stat-grid.stats-loading {
  grid-template-columns: minmax(0, 1fr);
}
.stat.stats-placeholder {
  display: grid;
  place-items: center;
  min-height: 112px;
  text-align: center;
  opacity: .78;
}
.stat.stats-placeholder strong {
  animation: statPulse 1.1s ease-in-out infinite alternate;
}
.stat em {
  display: block;
  margin-top: 8px;
  color: rgba(102,117,109,.78);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}
@keyframes statPulse {
  from { opacity: .45; transform: translateY(1px); }
  to { opacity: 1; transform: translateY(0); }
}
