/* =========================================================
   MI Integral Al-Ukhuwwah — "Buku Tulis & Mihrab"
   Kertas buku tulis + geometri bintang delapan + tinta tangan
   ========================================================= */

@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #f8d79a; }
@property --sky-bottom { syntax: "<color>"; inherits: true; initial-value: #bcdbe3; }

:root {
  --paper: #f4eee2;
  --paper-2: #ece3d1;
  --paper-3: #e2d5bb;
  --card: #fffcf5;
  --ink: #13251e;
  --ink-soft: #44564e;
  --green: #0e4d3a;
  --green-2: #1d6a50;
  --green-3: #2f8a68;
  --green-deep: #0a3a2c;
  --saffron: #f2a93b;
  --saffron-soft: #f8d79a;
  --coral: #e2603c;
  --sky: #bcdbe3;
  --red-pen: #c8372d;
  --rule: rgba(19, 37, 30, .11);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
  --f-ar: "Amiri", "Traditional Arabic", serif;

  --gutter: clamp(16px, 4vw, 40px);
  --hard: 4px 4px 0 var(--ink);
  --soft: 0 1px 0 rgba(19, 37, 30, .06), 0 22px 44px -22px rgba(19, 37, 30, .45);

  --star-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='1.2'%3E%3Crect x='18' y='18' width='28' height='28'/%3E%3Crect x='18' y='18' width='28' height='28' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 32h8M56 32h8M32 0v8M32 56v8'/%3E%3C/g%3E%3C/svg%3E");
  --star-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%2313251e' stroke-opacity='.10' stroke-width='1.2'%3E%3Crect x='18' y='18' width='28' height='28'/%3E%3Crect x='18' y='18' width='28' height='28' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 32h8M56 32h8M32 0v8M32 56v8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* butiran kertas */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.hand { font-family: var(--f-hand); font-weight: 600; }
em { font-style: italic; }

/* ikon kecil */
.i { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Tombol ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.45em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none;
  box-shadow: var(--hard);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--green { --bg: var(--green); --fg: var(--paper); }
.btn--saffron { --bg: var(--saffron); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn--ghost:hover { --bg: var(--card); box-shadow: var(--hard); }
.btn--outline-light { --bg: transparent; --fg: var(--paper); border-color: var(--paper); box-shadow: none; }
.btn--outline-light:hover { --bg: rgba(255,255,255,.08); box-shadow: 4px 4px 0 var(--paper); }
.btn--sm { padding: .65em 1.15em; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--saffron), var(--saffron)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 2px;
  transition: background-size .25s ease;
}
.link:hover { background-size: 100% 100%; }
.link--light { background-image: linear-gradient(var(--coral), var(--coral)); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink); color: var(--paper);
  overflow: hidden; font-size: .86rem; font-weight: 500;
  letter-spacing: .01em;
}
.ticker__track {
  display: flex; width: max-content;
  animation: slide 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: .6em; padding: .6em 1.6em; white-space: nowrap; }
.ticker svg { width: 12px; height: 12px; fill: var(--saffron); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Navigasi ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; }
.nav__inner {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 12px;
  background: rgba(244, 238, 226, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: box-shadow .25s ease;
}
.nav.is-scrolled .nav__inner { box-shadow: var(--hard); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { position: relative; width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.brand__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--green); transition: transform .6s cubic-bezier(.5,1.6,.4,1); }
.brand:hover .brand__mark svg { transform: rotate(45deg); }
.brand__mark b { position: relative; font-family: var(--f-ar); color: var(--saffron-soft); font-size: 1.35rem; line-height: 1; margin-top: 4px; }
.brand__mark--logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.5,1.6,.4,1); }
.brand:hover .brand__mark--logo img { transform: scale(1.08) rotate(-4deg); }
.brand__mark--light.brand__mark--logo { background: var(--paper); border-radius: 14px; padding: 7px; box-shadow: 4px 4px 0 var(--saffron); }
.brand__mark--light svg { fill: var(--saffron); }
.brand__mark--light b { color: var(--green-deep); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text small { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--green-2); }
.brand__text strong { font-family: var(--f-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; font-variation-settings: "SOFT" 100; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55em .95em; border-radius: 999px;
  transition: background-color .2s ease;
}
.nav__links a:hover { background: var(--paper-3); }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--saffron);
  position: relative;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -78px;
  padding: calc(78px + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px);
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 30px 30px,
    var(--paper);
  overflow: hidden;
}
.hero__margin {
  position: absolute; top: 0; bottom: 0;
  left: clamp(10px, 3.2vw, 52px);
  width: 6px;
  border-left: 1.5px solid rgba(200, 55, 45, .45);
  border-right: 1.5px solid rgba(200, 55, 45, .45);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.sticker {
  display: inline-block;
  padding: .45em 1em;
  background: var(--saffron);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 6.3vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__title em {
  color: var(--green-2);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.scribble { position: relative; white-space: nowrap; z-index: 0; }
.scribble::after {
  content: "";
  position: absolute; left: -4%; right: -4%; bottom: -.06em; height: .42em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26 C 60 8, 120 34, 180 18 S 270 10, 296 22' fill='none' stroke='%23f2a93b' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__note {
  display: inline-flex; align-items: flex-start; gap: 6px;
  color: var(--red-pen);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1;
  margin: 10px 0 0 clamp(60px, 16vw, 230px);
  transform: rotate(-4deg);
}
.hero__note svg { width: 46px; height: 32px; margin-top: -14px; }

.hero__lead { max-width: 33em; margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 44px;
  border-top: 2px solid var(--ink);
  max-width: 560px;
}
.hero__facts li { flex: 1 1 0; min-width: 0; padding: 14px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero__facts li + li { padding-left: 16px; border-left: 1.5px dashed rgba(19,37,30,.35); }
.hero__facts b { font-family: var(--f-display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.hero__facts span { font-size: .82rem; line-height: 1.3; color: var(--ink-soft); }

/* komposisi hero */
.hero__art { position: relative; justify-self: center; width: min(460px, 100%); padding: 24px 28px 40px; }
.arch-big {
  position: relative;
  aspect-ratio: 4 / 5.1;
  border-radius: 999px 999px 0 0;
  background: var(--green) var(--star-light);
  border: 2px solid var(--ink);
  padding: 22px 22px 0;
  box-shadow: 10px 10px 0 var(--ink);
}
.arch-big::after { /* alas mihrab */
  content: ""; position: absolute; left: -16px; right: -16px; bottom: -14px; height: 14px;
  background: var(--saffron); border: 2px solid var(--ink); border-radius: 4px;
}
.arch-big__inner { height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; border: 2px solid var(--ink); border-bottom: 0; }
.arch-big__inner svg { width: 100%; height: 100%; }
.hero-sun { transform-origin: 150px 188px; animation: sunPulse 6s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: scale(1.06); } }

.float {
  position: absolute;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--hard);
}
.float--hafalan { left: -6%; top: 30%; width: 200px; padding: 14px 16px; transform: rotate(-5deg); animation: bob 7s ease-in-out infinite; }
.float__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-2); }
.float__title { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; margin: 2px 0 10px; }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); border: 1.5px solid var(--ink); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--v); background: repeating-linear-gradient(-45deg, var(--green-3) 0 6px, var(--green) 6px 12px); }
.float__meta { font-size: .78rem; margin-top: 8px; color: var(--ink-soft); line-height: 1.3; }
.float__meta b { color: var(--ink); }

.polaroid {
  background: var(--card); padding: 10px 10px 4px;
  border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: var(--soft);
}
.polaroid .ph { aspect-ratio: 1; border-radius: 3px; }
.polaroid figcaption { text-align: center; font-size: 1.25rem; color: var(--ink); padding: 4px 0 2px; }
.float--polaroid { position: absolute; right: -4%; bottom: 4%; width: 150px; transform: rotate(6deg); animation: bob 8s ease-in-out -2s infinite; }

.float--badge { position: absolute; right: -2%; top: 0; width: 118px; height: 118px; }
.float--badge > svg:first-child { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.float--badge text { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; fill: var(--ink); font-family: var(--f-body); }
.float--badge__star { position: absolute; inset: 31%; width: 38%; height: 38%; fill: var(--coral); animation: spin 10s linear infinite reverse; }

.float--arabic {
  position: absolute; left: 2%; bottom: 0;
  padding: 4px 18px 8px;
  background: var(--sky); border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--f-ar); font-size: 1.6rem; line-height: 1.3;
  transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink);
}

@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Placeholder foto ---------- */
.ph {
  position: relative; display: grid; place-items: end start;
  background-color: var(--green-2);
  background-image: var(--star-light);
  overflow: hidden;
}
.ph > span:not(.pin__initial) {
  margin: 8px; padding: 2px 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.85); color: var(--ink); border-radius: 999px;
}
.ph--green { background-color: var(--green-2); }
.ph--coral { background-color: var(--coral); }
.ph--saffron { background-color: var(--saffron); background-image: var(--star-dark); }
.ph--sky { background-color: #7fb2c4; }
.ph--img { background: var(--paper-2); display: block; }
.ph--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Strip nilai (silang) ---------- */
.values { position: relative; padding: 70px 0; overflow: hidden; margin-top: -40px; z-index: 2; }
.values__strip { border-block: 2px solid var(--ink); overflow: hidden; }
.values__strip--front { position: relative; background: var(--green); color: var(--paper); transform: rotate(-2.6deg); margin-inline: -20px; }
.values__strip--back { position: absolute; left: -20px; right: -20px; top: 50%; translate: 0 -50%; background: var(--saffron); transform: rotate(3.4deg); }
.values__track { display: flex; align-items: center; width: max-content; animation: slide 40s linear infinite; }
.values__strip--back .values__track { animation-direction: reverse; animation-duration: 55s; }
.values__track span {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.35;
  padding: 0 .45em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.values__strip--back span { font-family: var(--f-hand); font-style: normal; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.5; }
.values__track svg { width: clamp(18px, 2.4vw, 28px); height: clamp(18px, 2.4vw, 28px); fill: var(--saffron); flex: none; }
.values__strip--back svg { fill: var(--ink); width: 16px; height: 16px; }

/* ---------- Section umum ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--green-2); margin-bottom: 18px;
}
.kicker svg { width: 14px; height: 14px; fill: var(--coral); }
.section h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.section h2 em { color: var(--green-2); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.section__lead { margin-top: 20px; font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.section__head--split .section__lead { margin-top: 0; }
.section__head--light .kicker { color: var(--saffron); }
.section__head--light h2 em { color: var(--saffron); }
.section__head--light .section__lead { color: rgba(244,238,226,.75); }

/* ---------- Integral / pilar ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: end; }
.pillar {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 0 0;
  padding: 0 clamp(22px, 2.6vw, 34px) 34px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translate(-3px, -6px); box-shadow: 11px 14px 0 var(--ink); }
.pillar:nth-child(2) { min-height: 100%; }
.pillar__num {
  font-family: var(--f-ar); font-size: 3.4rem; line-height: 1;
  width: 96px; height: 96px; display: grid; place-items: center;
  margin: 36px 0 12px;
  border: 2px solid currentColor; border-radius: 50%;
  padding-top: 10px;
}
.pillar h3 { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.pillar p { font-size: 1rem; }
.pillar--sky { background: var(--sky); }
.pillar--green { background: var(--green) var(--star-light); color: var(--paper); padding-top: 40px; }
.pillar--green .pillar__num { color: var(--saffron); }
.pillar--saffron { background: var(--saffron-soft); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; }
.chips li { font-size: .8rem; font-weight: 700; padding: .3em .8em; border: 1.5px solid currentColor; border-radius: 999px; }
.integral__note { color: var(--red-pen); font-size: clamp(1.5rem, 2.4vw, 2rem); text-align: right; margin-top: 30px; transform: rotate(-2deg); }

/* ---------- Sehari di MI ---------- */
.day { background: var(--green-deep) var(--star-light); color: var(--paper); border-block: 2px solid var(--ink); }
.day__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.day__stage {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 30px;
  padding: 12px;
  box-shadow: 10px 10px 0 var(--saffron);
}
.sky {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  transition: --sky-top 1s ease, --sky-bottom 1s ease;
}
.sky__arc { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(19,37,30,.4); }
.sky__sun {
  position: absolute; left: 8%; top: 92%;
  width: clamp(44px, 7vw, 72px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6dc, #f8d79a 55%, #f2a93b);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 244, 218, .35), 0 0 0 22px rgba(255, 244, 218, .18);
  transition: left 1s cubic-bezier(.6,.05,.3,1), top 1s cubic-bezier(.6,.05,.3,1);
  z-index: 1;
}
.sky__time {
  position: absolute; left: 20px; top: 14px; z-index: 2;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.sky__time small { font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; margin-left: 8px; vertical-align: super; }
.sky__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 28%; z-index: 2; }

.day__detail { padding: 22px 14px 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: start; }
.day__count { grid-column: 1 / -1; font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--green-2); }
.day__detail h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.day__detail p#dayDesc { grid-column: 1; color: var(--ink-soft); max-width: 40em; margin-top: 6px; }
.day__nav { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 8px; align-self: center; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--saffron);
  display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.round-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

.day__list { display: flex; flex-direction: column; gap: 8px; counter-reset: d; }
.day__list button {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border: 2px solid rgba(244,238,226,.25);
  border-radius: 16px;
  background: transparent;
  color: var(--paper);
  font-weight: 600; font-size: 1rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.day__list button span {
  font-family: var(--f-display); font-variant-numeric: tabular-nums;
  font-size: .95rem; font-weight: 600;
  padding: .2em .6em; border-radius: 8px;
  background: rgba(244,238,226,.1);
}
.day__list button:hover { border-color: var(--saffron); transform: translateX(4px); }
.day__list button[aria-selected="true"] { background: var(--saffron); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.day__list button[aria-selected="true"] span { background: var(--ink); color: var(--saffron); }

/* ---------- Program / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: clamp(14px, 1.8vw, 22px);
}
.tile {
  position: relative; overflow: hidden;
  border: 2px solid var(--ink); border-radius: 26px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: var(--card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 7px 7px 0 var(--ink); }
.tile h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 6px; }
.tile p { font-size: .96rem; line-height: 1.5; }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: .35em .8em; border: 1.5px solid currentColor; border-radius: 999px; }
.tile__icon { width: 44px; height: 44px; }

.tile--tahfidz { grid-column: span 2; grid-row: span 2; background: var(--green) var(--star-light); color: var(--paper); padding: clamp(24px, 3vw, 36px); }
.tile--tahfidz .tile__tag { background: var(--saffron); color: var(--ink); border-color: var(--ink); }
.tile--tahfidz .tile__icon { color: var(--saffron); width: 58px; height: 58px; }
.tile .tile__big { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 500; line-height: .9; letter-spacing: -.04em; color: var(--saffron); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; margin-bottom: 14px; }
.tile--tahfidz h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.tile--tahfidz p { max-width: 30em; color: rgba(244,238,226,.85); font-size: 1.05rem; }
.tile .tile__arabic { position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-family: var(--f-ar); font-size: clamp(5rem, 11vw, 9rem); line-height: 1; color: rgba(244,238,226,.08); pointer-events: none; }
.tile--alam { grid-column: span 2; background: var(--sky); }
.tile--bilingual { background: var(--card); }
.tile--market { background: var(--saffron-soft); }
.tile--seni { background: var(--coral); color: var(--card); }
.tile--robotik { background: var(--paper-2); }
.tile--rihlah { grid-column: span 2; background: var(--ink); color: var(--paper); }
.tile--rihlah .tile__icon { color: var(--saffron); }

.tile__bubbles { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bubble { position: relative; padding: .35em .9em; border: 2px solid var(--ink); border-radius: 16px; font-weight: 700; font-size: .95rem; }
.bubble--a { font-family: var(--f-ar); font-size: 1.2rem; background: var(--green); color: var(--paper); border-bottom-left-radius: 4px; padding: .1em .9em .25em; }
.bubble--b { background: var(--saffron); align-self: flex-end; border-bottom-right-radius: 4px; }

/* ---------- Rapor ---------- */
.rapor { background: var(--paper-2); border-block: 2px solid var(--ink); }
.rapor__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rapor .section__head { margin-bottom: 0; }
.report {
  position: relative;
  background:
    linear-gradient(90deg, transparent 54px, rgba(200,55,45,.35) 54px, rgba(200,55,45,.35) 56px, transparent 56px),
    var(--card);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 28px 28px 24px 76px;
  box-shadow: 12px 12px 0 var(--green);
  transform: rotate(.6deg);
}
.report::before { /* lubang binder */
  content: ""; position: absolute; left: 20px; top: 30px; bottom: 30px; width: 16px;
  background: radial-gradient(circle, var(--paper-2) 6px, var(--ink) 6.5px, var(--ink) 8px, transparent 8.5px) center top / 16px 64px repeat-y;
}
.report__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.report__eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); }
.report__name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.report__meta { text-align: right; font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--ink-soft); }
.report__table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.report__table th, .report__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.report__table thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 700; padding-top: 14px; }
.report__table tbody th { font-weight: 600; font-size: .98rem; }
.score { font-family: var(--f-hand); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--red-pen); font-variant-numeric: tabular-nums; width: 90px; }
.score--circle { position: relative; }
.score--circle::after {
  content: ""; position: absolute; left: -2px; top: 50%; width: 46px; height: 42px; translate: 0 -50%;
  border: 2.5px solid var(--red-pen); border-radius: 50% 46% 52% 44%; transform: rotate(-8deg);
}
.note { font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.1; color: #2c4a8a; }
.report__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.report__remark { font-size: .9rem; max-width: 28em; }
.report__remark > span:first-child { font-weight: 700; }
.report__remark .hand { font-size: 1.35rem; color: #2c4a8a; line-height: 1.15; }
.stamp { width: 110px; height: 110px; flex: none; color: rgba(14, 77, 58, .75); transform: rotate(-14deg); margin: -20px -6px -10px 0; }
.stamp text { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; fill: currentColor; font-family: var(--f-body); }

/* ---------- Guru ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); padding-top: 14px; }
.pin {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 12px 12px 18px;
  box-shadow: var(--soft);
  transform: rotate(var(--r, -2deg));
  transition: transform .35s cubic-bezier(.4,1.6,.5,1), box-shadow .3s ease;
}
.pin:nth-child(4n+2) { --r: 2.2deg; margin-top: 26px; }
.pin:nth-child(4n+3) { --r: -1.2deg; }
.pin:nth-child(4n+4) { --r: 3deg; margin-top: 18px; }
.pin:hover { transform: rotate(0) scale(1.03); box-shadow: 8px 8px 0 var(--ink); z-index: 2; }
.pin::before { /* selotip */
  content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; translate: -50% 0; rotate: -4deg;
  background: rgba(242, 169, 59, .7);
  border-left: 2px dashed rgba(255,255,255,.5); border-right: 2px dashed rgba(255,255,255,.5);
}
.pin__photo { aspect-ratio: 1 / 1.05; border-radius: 3px; place-items: center; }
.pin__initial {
  font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 500; font-style: italic;
  color: var(--card); letter-spacing: -.04em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.ph--saffron .pin__initial { color: var(--ink); }
.pin figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.pin strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.pin figcaption > span { font-size: .82rem; color: var(--green-2); font-weight: 700; }
.pin em { font-style: normal; font-size: 1.25rem; line-height: 1.15; color: var(--ink-soft); margin-top: 6px; }
/* tiga foto utama: yayasan di tengah, director sedikit turun di kiri, kepala madrasah lebih turun di kanan */
.leaders {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 60px); align-items: start;
  max-width: 960px; margin: 0 auto; padding-top: 14px;
}
.leaders .pin.leader { grid-row: 1; }
.leaders .pin.leader--tengah { grid-column: 2; --r: -1.2deg; margin-top: 0; }
.leaders .pin.leader--kiri   { grid-column: 1; --r: -3deg;  margin-top: clamp(56px, 8vw, 104px); }
.leaders .pin.leader--kanan  { grid-column: 3; --r: 2.6deg; margin-top: clamp(96px, 13vw, 168px); }
.leaders .pin.leader:hover { transform: rotate(0) scale(1.03); }
.leader--tengah { box-shadow: 8px 8px 0 var(--green); }
.leader--tengah::before { background: rgba(226, 96, 60, .72); }
.leader__frame { position: relative; }
.leader__role {
  position: absolute; left: -10px; bottom: 14px; max-width: calc(100% - 4px);
  background: var(--saffron); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  padding: .3em .9em; font-size: .8rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink);
}
.leader--tengah .leader__role { background: var(--green); color: var(--paper); }
.leaders .pin figcaption { padding-top: 16px; }
.guru__more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(56px, 7vw, 84px); text-align: center; }
.guru__more .hand { font-size: 1.35rem; color: var(--ink-soft); rotate: -2deg; }

@media (max-width: 720px) {
  /* HP: yayasan di atas tengah, director & kepala madrasah berdampingan di bawahnya */
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; max-width: 420px; }
  .leaders .pin.leader { grid-row: auto; padding: 8px 8px 14px; }
  .leaders .pin.leader--tengah { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
  .leaders .pin.leader--kiri { grid-column: 1; margin-top: 0; }
  .leaders .pin.leader--kanan { grid-column: 2; margin-top: 44px; }
  .leaders .pin::before { width: 64px; height: 22px; top: -11px; }
  .leaders .pin strong { font-size: 1rem; }
  .leaders .pin em { font-size: 1.05rem; }
  .leader__role { font-size: .7rem; left: -6px; bottom: 8px; padding: .25em .7em; }
}

/* ---------- Halaman Album Guru ---------- */
.album-page { padding-top: clamp(48px, 7vw, 90px); }
.album-page .section__head { margin-bottom: clamp(32px, 5vw, 48px); }
.album {
  position: relative;
  background: var(--paper-2);
  background-image: radial-gradient(rgba(19,37,30,.07) 1px, transparent 1.4px);
  background-size: 14px 14px;
  border: 2px solid var(--ink); border-radius: 10px 26px 26px 10px;
  box-shadow: 10px 10px 0 var(--green);
  padding: clamp(28px, 4vw, 52px) clamp(18px, 4vw, 52px) clamp(36px, 5vw, 60px) clamp(46px, 6vw, 84px);
}
.album::before { /* jilid ring */
  content: ""; position: absolute; top: 24px; bottom: 24px; left: clamp(14px, 2vw, 26px); width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--paper) 0 4px, var(--ink) 4.5px 6px, transparent 6.5px) 0 0 / 14px 34px repeat-y;
}
.album + .album { margin-top: clamp(36px, 5vw, 56px); }
.album .album__title {
  font-family: var(--f-hand); font-weight: 700; letter-spacing: 0; font-variation-settings: normal; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1;
  display: inline-block; margin-bottom: clamp(26px, 4vw, 40px); rotate: -1.5deg;
  background: linear-gradient(var(--saffron-soft), var(--saffron-soft)) 0 82% / 100% 34% no-repeat;
  padding: 0 .2em;
}
.album__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: clamp(26px, 4vw, 40px); }
.album .album__head .album__title { margin-bottom: 0; }
.album__count { font-size: .82rem; font-weight: 800; padding: .3em .85em; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); rotate: 2deg; }
.album__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 44px) clamp(18px, 2.6vw, 34px); }
.album__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.snap { margin: 0; rotate: var(--r, -1.5deg); transition: rotate .3s ease, translate .3s ease; }
.snap:nth-child(3n+2) { --r: 1.8deg; }
.snap:nth-child(3n+3) { --r: -.6deg; }
.snap:hover { rotate: 0deg; translate: 0 -4px; }
.snap__frame { position: relative; background: #fff; padding: 9px; box-shadow: 0 1px 0 rgba(19,37,30,.08), 0 14px 26px -16px rgba(19,37,30,.55); }
.snap__frame::after { /* sudut foto album */
  content: ""; position: absolute; inset: -5px; pointer-events: none;
  --c: var(--green-deep);
  background:
    linear-gradient(135deg, var(--c) 0 50%, transparent 50.5%) top left / 30px 30px no-repeat,
    linear-gradient(225deg, var(--c) 0 50%, transparent 50.5%) top right / 30px 30px no-repeat,
    linear-gradient(45deg, var(--c) 0 50%, transparent 50.5%) bottom left / 30px 30px no-repeat,
    linear-gradient(315deg, var(--c) 0 50%, transparent 50.5%) bottom right / 30px 30px no-repeat;
}
.snap__photo { aspect-ratio: 4 / 5; place-items: center; }
.snap figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; text-align: center; }
.snap strong { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.snap figcaption > span { font-size: .8rem; color: var(--green-2); font-weight: 700; }
.snap em { font-style: normal; font-size: 1.2rem; line-height: 1.15; color: var(--ink-soft); margin-top: 4px; }
.album-empty { font-family: var(--f-hand); font-size: 1.5rem; color: var(--ink-soft); }
@media (max-width: 1080px) {
  .album__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .album__grid, .album__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .album { padding-left: 40px; padding-right: 16px; }
  .album__grid, .album__grid--3 { gap: 24px 14px; }
  .snap__frame { padding: 6px; }
  .snap strong { font-size: 1rem; }
  .snap em { font-size: 1.05rem; }
}

/* ---------- Kabar / koran ---------- */
.guru { padding-bottom: clamp(40px, 5vw, 60px); }
.kabar { padding-top: clamp(40px, 5vw, 60px); }
.paper {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: clamp(20px, 3.4vw, 44px);
  box-shadow: 12px 12px 0 var(--ink);
  position: relative;
}
.paper__mast { text-align: center; border-bottom: 4px double var(--ink); padding-bottom: 18px; margin-bottom: 28px; }
.paper__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-block: 1.5px solid var(--ink); padding: 8px 0; color: var(--ink-soft); }
.section .paper__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 9vw, 7.4rem);
  font-weight: 800; line-height: .95; letter-spacing: -.045em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  margin: 18px 0 8px;
}
.paper__tagline { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); }
.paper__body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; }
.paper__main { padding-right: clamp(20px, 3vw, 40px); border-right: 1.5px solid var(--ink); }
.paper__cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--coral); margin-bottom: 6px; }
.paper__main h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.paper__deck { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); margin: 12px 0 18px; }
.paper__photo { aspect-ratio: 16 / 7; border: 2px solid var(--ink); margin-bottom: 18px; }
.paper__cols { column-count: 2; column-gap: 28px; column-rule: 1px solid var(--rule); font-size: .98rem; margin-bottom: 18px; }
.paper__cols p + p { margin-top: 12px; }
.paper__cols p:first-child::first-letter {
  float: left; font-family: var(--f-display); font-weight: 700; font-size: 3.6em; line-height: .82; padding: 4px 8px 0 0; color: var(--green);
}
.paper__side { padding-left: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; }
.paper__side article { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.paper__side article:first-child { padding-top: 0; }
.paper__side article:last-child { border-bottom: 0; }
.paper__side h4 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 6px; }
.paper__side p:not(.paper__cat) { font-size: .93rem; color: var(--ink-soft); }

.paper__body--single { grid-template-columns: 1fr; }
.paper__body--single .paper__main { padding-right: 0; border-right: 0; }
.paper__link { text-decoration: none; background: linear-gradient(var(--saffron), var(--saffron)) 0 100% / 0 3px no-repeat; transition: background-size .3s ease; }
.paper__link:hover { background-size: 100% 3px; }
.paper__all { margin-top: 18px; align-self: flex-start; }

/* ---------- Halaman Kabar ---------- */
.kabar-page { padding-top: clamp(48px, 7vw, 90px); }
.kabar-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.kabar-title em { color: var(--green-2); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.kabar-back { margin-bottom: 24px; }
.kabar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.news-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 2px solid var(--ink); border-radius: 22px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.news-card__img { aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink); }
.news-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.news-card__body .paper__cat span { color: var(--ink-soft); }
.news-card h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--green-2); }
.news-card p:last-child { font-size: .95rem; color: var(--ink-soft); }
.article { max-width: 860px; margin-inline: auto; }
.article__head { text-align: center; margin-bottom: 26px; }
.article__head .paper__meta { justify-content: center; gap: 24px; }
.article__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; margin-top: 22px;
}
.article__deck { margin-bottom: 0; }
.article__photo { aspect-ratio: 16 / 9; border: 2px solid var(--ink); margin: 0 0 28px; }
.article__body { font-size: 1.1rem; line-height: 1.75; max-width: 40em; margin-inline: auto; }
.article__body p + p { margin-top: 1em; }
.article__body p:first-child::first-letter {
  float: left; font-family: var(--f-display); font-weight: 700; font-size: 3.8em; line-height: .8; padding: 6px 10px 0 0; color: var(--green);
}
.kabar-more { font-family: var(--f-display); font-weight: 600; font-size: 1.8rem; letter-spacing: -.02em; margin: clamp(56px, 7vw, 80px) 0 22px; }

/* ---------- Surat wali murid ---------- */
.letters { background: var(--paper-2); border-top: 2px solid var(--ink); }
.letters__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.letter {
  position: relative;
  margin: 0;
  padding: 30px 26px 24px 52px;
  background:
    linear-gradient(90deg, transparent 34px, rgba(200,55,45,.4) 34px, rgba(200,55,45,.4) 36px, transparent 36px),
    repeating-linear-gradient(transparent 0 33px, rgba(44,74,138,.22) 33px 34px),
    var(--card);
  background-position: 0 0, 0 14px, 0 0;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--soft);
  transform: rotate(var(--r, -1.5deg));
}
.letter:nth-child(3n+2) { --r: 1.2deg; margin-top: 30px; }
.letter:nth-child(3n+3) { --r: -.6deg; margin-top: 10px; }
.letter p { font-size: 1.55rem; line-height: 34px; color: #23386a; }
.letter footer { margin-top: 16px; font-weight: 700; font-size: .95rem; }
.letter footer span { font-weight: 500; color: var(--ink-soft); }

/* ---------- PPDB ticket ---------- */
.ppdb { padding-top: clamp(80px, 10vw, 130px); overflow-x: clip; }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
}
.ticket__main, .ticket__stub { box-shadow: 12px 12px 0 var(--ink); }
.ticket__main {
  position: relative;
  background: var(--green) var(--star-light);
  color: var(--paper);
  border: 2px solid var(--ink); border-right: 0;
  border-radius: 28px 0 0 28px;
  padding: clamp(28px, 4.4vw, 56px);
}
.ticket__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--saffron); }
.ticket__eyebrow svg { width: 14px; height: 14px; fill: currentColor; }
.ticket h2 { font-family: var(--f-display); font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 600; line-height: .95; letter-spacing: -.04em; margin: 12px 0 14px; }
.ticket h2 em { color: var(--saffron); font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ticket__lead { color: rgba(244,238,226,.82); max-width: 34em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 30px 0 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1.5px dashed rgba(244,238,226,.4); border-radius: 16px; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.steps b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--saffron); color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; border: 2px solid var(--ink); }
.ticket__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ticket__closed { font-weight: 700; color: var(--saffron); padding: .6em 0; }

.ticket__stub {
  position: relative;
  background: var(--saffron);
  border: 2px solid var(--ink); border-left: 0;
  border-radius: 0 28px 28px 0;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  /* perforasi */
  background-image: radial-gradient(circle at 0 50%, var(--paper) 0 7px, var(--ink) 7.5px 9px, transparent 9.5px);
  background-size: 18px 26px;
  background-repeat: repeat-y;
  background-position: -9px 0;
}
.ticket__stub::before, .ticket__stub::after { /* takik */
  content: ""; position: absolute; left: -22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 2px solid transparent;
  transform: rotate(-45deg);
}
.ticket__stub::before { top: -24px; border-left-color: var(--ink); border-bottom-color: var(--ink); }
.ticket__stub::after { bottom: -24px; border-top-color: var(--ink); border-right-color: var(--ink); }
.ticket__label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.ticket__value { font-family: var(--f-display); font-size: 4rem; font-weight: 700; line-height: .9; font-style: italic; }
.ticket__text { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.ticket__text b { font-size: 2rem; }
.barcode { height: 54px; margin-top: auto; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.ticket__no { font-size: .8rem; font-weight: 700; letter-spacing: .2em; margin-top: -10px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 96px) 0 28px; margin-top: clamp(60px, 8vw, 100px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 32px; }
.footer__brand .brand__mark { width: 56px; height: 56px; margin-bottom: 16px; }
.footer__brand .brand__mark b { font-size: 1.7rem; }
.footer__brand p { color: rgba(244,238,226,.7); max-width: 22em; }
.footer h3 { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--saffron); margin-bottom: 12px; }
.footer p { font-size: .98rem; }
.footer a { text-decoration-color: rgba(242,169,59,.6); text-underline-offset: 3px; }
.footer a:hover { color: var(--saffron); }
.footer__hours { margin-top: 10px; color: rgba(244,238,226,.65); }
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer__links a { text-decoration: none; }
.footer .footer__giant {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(3rem, 15vw, 14rem); line-height: .9; letter-spacing: -.05em;
  white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,238,226,.35);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: clamp(48px, 7vw, 80px) 0 24px;
  transition: color .5s ease;
}
.footer .footer__giant:hover { color: var(--saffron); -webkit-text-stroke-color: var(--saffron); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(244,238,226,.18); font-size: .88rem; color: rgba(244,238,226,.7); }
.footer__bottom .hand { font-size: 1.3rem; color: var(--saffron); }
.footer__bottom .link { color: var(--paper); }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.js-off .reveal { opacity: 1; translate: none; }

/* =========================================================
   Responsif
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links a { padding: .55em .7em; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tahfidz { grid-row: span 1; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .pin:nth-child(n) { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Menu jadi tombol di bawah 1140px (7 tautan tidak muat di satu baris) */
@media (max-width: 1140px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 2px;
    padding: 84px 16px 24px; overflow-y: auto;
    background: var(--green) var(--star-light);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .nav__links a { color: var(--paper); font-family: var(--f-display); font-size: clamp(1.4rem, 4.4vh, 2.2rem); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
  .nav__links a:hover { background: transparent; color: var(--saffron); }
  .nav__cta-mobile { display: inline-block !important; margin-top: 18px; background: var(--saffron); color: var(--ink) !important; border: 2px solid var(--ink); font-family: var(--f-body) !important; font-size: 1.1rem !important; font-weight: 700 !important; padding: .8em 1.6em !important; box-shadow: var(--hard); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .brand { color: var(--paper); }
  .nav.is-open .nav__inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .brand__text small { color: var(--saffron); }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 920px) {

  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(420px, 92%); margin-top: 10px; }
  .section__head--split { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .day__grid { grid-template-columns: 1fr; }
  .day__list { flex-direction: row; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; }
  .day__list li { flex: none; scroll-snap-align: start; }
  .day__list button { white-space: nowrap; }
  .day__list button:hover { transform: none; }
  .day__stage { order: 2; }
  .rapor__grid { grid-template-columns: 1fr; }
  .paper__body { grid-template-columns: 1fr; }
  .paper__main { padding-right: 0; border-right: 0; border-bottom: 1.5px solid var(--ink); padding-bottom: 24px; margin-bottom: 24px; }
  .paper__side { padding-left: 0; }
  .letters__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .kabar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter:nth-child(n) { margin-top: 0; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__main { border-right: 2px solid var(--ink); border-bottom: 0; border-radius: 28px 28px 0 0; }
  .ticket__stub {
    border-left: 2px solid var(--ink); border-top: 0; border-radius: 0 0 28px 28px;
    display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: end; gap: 12px 24px;
    background-image: radial-gradient(circle at 50% 0, var(--paper) 0 7px, var(--ink) 7.5px 9px, transparent 9.5px);
    background-size: 26px 18px; background-repeat: repeat-x; background-position: 0 -9px;
  }
  .ticket__stub::before, .ticket__stub::after { top: -22px; bottom: auto; }
  .ticket__stub::before { left: -24px; border-color: transparent; border-right-color: var(--ink); border-bottom-color: var(--ink); }
  .ticket__stub::after { left: auto; right: -24px; border-color: transparent; border-top-color: var(--ink); border-left-color: var(--ink); }
  .barcode { margin-top: 0; height: 44px; }
  .ticket__no { grid-column: 1 / -1; margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__text strong { font-size: 1.1rem; }
  .brand__mark { width: 38px; height: 38px; }
  .hero__margin { display: none; }
  .hero__note { margin-left: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__facts b { font-size: 1.6rem; }
  .hero__facts li + li { padding-left: 12px; }
  .hero__art { padding: 18px 18px 34px; }
  .float--hafalan { width: 168px; left: -4%; padding: 10px 12px; }
  .float__title { font-size: 1.35rem; }
  .float--polaroid { width: 118px; right: -3%; }
  .float--badge { width: 92px; height: 92px; right: -3%; }
  .float--arabic { font-size: 1.3rem; }
  .bento { grid-template-columns: 1fr; }
  .tile--tahfidz, .tile--alam, .tile--rihlah { grid-column: auto; }
  .board { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .report { padding: 22px 16px 20px 50px; transform: none; box-shadow: 8px 8px 0 var(--green); background: linear-gradient(90deg, transparent 38px, rgba(200,55,45,.35) 38px, rgba(200,55,45,.35) 40px, transparent 40px), var(--card); }
  .report::before { left: 12px; }
  .report__head { flex-direction: column; }
  .report__name { font-size: 1.15rem; }
  .report__meta { text-align: left; }
  .report__table thead { display: none; }
  .report__table tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .report__table th, .report__table td { border: 0; padding: 2px 4px; }
  .report__table .note { grid-column: 1 / -1; }
  .score { width: auto; text-align: right; }
  .score--circle::after { left: auto; right: -12px; }
  .report__foot { flex-direction: column; align-items: flex-start; }
  .stamp { align-self: flex-end; margin: -40px 0 0; }
  .paper__meta { justify-content: center; }
  .paper__meta span:nth-child(3) { display: none; }
  .paper__cols { column-count: 1; }
  .kabar-grid { grid-template-columns: 1fr; }
  .article__head .paper__meta { gap: 6px 16px; }
  .letter p { font-size: 1.4rem; }
  .ticket__stub { grid-template-columns: repeat(3, auto); }
  .barcode { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: center; }
  .ticket__cta .btn { flex: 1 1 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .day__detail { grid-template-columns: 1fr; }
  .day__nav { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .sky { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}

/* =========================================================
   Prestasi — lemari piala
   ========================================================= */
.prestasi {
  background-color: var(--green-deep); background-image: var(--star-light);
  color: var(--paper); border-block: 2px solid var(--ink); overflow-x: clip;
}
.prestasi__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(36px, 5vw, 72px); align-items: end; }
.prestasi .section__head { margin-bottom: 0; }
.prestasi h2 em { color: var(--saffron); }
.tally { display: flex; gap: clamp(20px, 3vw, 36px); margin: 28px 0 30px; }
.tally li { display: flex; flex-direction: column; }
.tally b { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--saffron); }
.tally span { font-size: .86rem; color: rgba(244,238,226,.75); margin-top: 6px; max-width: 9em; }

.shelf {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px); align-items: end; padding: 46px clamp(10px, 2vw, 22px) 0;
}
.shelf::after { /* papan kayu */
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; border-radius: 4px;
  background: linear-gradient(180deg, #b07a45, #8a5a2b 60%, #6e4520); border: 2px solid var(--ink);
  box-shadow: 0 14px 0 -4px rgba(0,0,0,.28);
}
.shelf .trophy:nth-child(2) { margin-bottom: 26px; }
.shelf .trophy:nth-child(1) { rotate: -1.5deg; }
.shelf .trophy:nth-child(3) { rotate: 1.5deg; }

.trophy {
  --m1: #ffe08a; --m2: #c8961a;
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--card); color: var(--ink); text-align: center;
  border: 2px solid var(--ink); border-radius: 14px; padding: 60px 18px 22px;
  box-shadow: 6px 6px 0 rgba(0,0,0,.22);
}
.trophy::before { /* bingkai ganda piagam */
  content: ""; position: absolute; inset: 6px; border: 1.5px solid rgba(19,37,30,.18); border-radius: 9px; pointer-events: none;
}
.trophy--silver { --m1: #f4f6f9; --m2: #9aa3ae; }
.trophy--bronze { --m1: #f6c08f; --m2: #a8622a; }
.trophy--green  { --m1: #8fd6b5; --m2: #1d6a50; }
.medal { position: absolute; top: -34px; left: 50%; translate: -50% 0; width: 66px; height: 88px; }
.medal__ribbon {
  position: absolute; top: 0; left: 50%; translate: -50% 0; width: 46px; height: 44px;
  background: linear-gradient(90deg, var(--coral) 0 50%, var(--green) 50% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.medal__disc {
  position: absolute; bottom: 0; left: 0; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55) 0 14%, transparent 15%), radial-gradient(circle, var(--m1) 0 52%, var(--m2) 53% 100%);
}
.medal__disc svg { width: 28px; height: 28px; fill: var(--m2); }
.trophy__rank { font-family: var(--f-hand); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--m2); }
.trophy--gold .trophy__rank { color: #a87808; }
.trophy--silver .trophy__rank { color: #6d7783; }
.trophy__event { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.trophy__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: .78rem; color: var(--ink-soft); }
.trophy__level { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-2); }
.trophy__name { font-weight: 700; font-size: .95rem; line-height: 1.3; margin-top: 4px; }
.trophy__name small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-soft); }
.trophy__note { font-size: .88rem; color: var(--ink-soft); }
.trophy__photo { display: block; width: 100%; margin-top: 8px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.trophy__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trophy__who {
  margin-top: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft);
}

/* Halaman Prestasi */
.prestasi-page { padding-top: clamp(48px, 7vw, 90px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.1em; border: 2px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-weight: 700; background: var(--card);
}
.tabs a span { font-size: .78rem; background: var(--paper-2); border-radius: 999px; padding: 1px 8px; }
.tabs a[aria-current="page"] { background: var(--green); color: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.tabs a[aria-current="page"] span { background: var(--saffron); color: var(--ink); }
.year + .year { margin-top: clamp(48px, 6vw, 72px); }
.section .year__title {
  font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1;
  display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 52px; border-bottom: 2px dashed var(--rule);
}
.year__title small { font-family: var(--f-hand); font-size: 1.4rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.trophy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 58px 22px; }

/* =========================================================
   Mading — papan gabus
   ========================================================= */
.mading { background: var(--paper-2); border-top: 2px solid var(--ink); }
.cork {
  border: 14px solid #7a4e2a; border-radius: 10px;
  outline: 2px solid var(--ink);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 10px 10px 0 var(--ink);
  background-color: #c99a63;
  background-image:
    radial-gradient(rgba(90,55,20,.35) 1px, transparent 1.6px),
    radial-gradient(rgba(255,235,200,.28) 1px, transparent 1.8px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px;
  padding: clamp(28px, 3.4vw, 44px) clamp(18px, 3vw, 40px) clamp(6px, 1vw, 14px);
}
.cork__grid { columns: 3 250px; column-gap: clamp(18px, 2.4vw, 30px); }
.tack {
  --r: -1.4deg;
  position: relative; display: inline-block; width: 100%; margin: 0 0 30px;
  rotate: var(--r); box-shadow: 0 12px 20px -12px rgba(40,20,0,.75);
  transition: rotate .3s ease;
}
.tack:nth-child(4n+2) { --r: 1.2deg; }
.tack:nth-child(4n+3) { --r: -.5deg; }
.tack:nth-child(4n+4) { --r: 2deg; }
.tack:hover { rotate: 0deg; }
.tack__pin {
  position: absolute; z-index: 2; top: -9px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9b84, var(--red-pen) 60%, #7d1a12);
  box-shadow: 1px 3px 3px rgba(0,0,0,.45);
}
.tack--note { padding: 26px 20px 22px; background: var(--saffron-soft); }
.tack--green { background: #cfe8d6; }
.tack--sky { background: #d4e9ef; }
.tack--coral { background: #f7c7b5; }
.tack--paper { background: var(--card); background-image: repeating-linear-gradient(transparent 0 27px, rgba(19,37,30,.12) 27px 28px); }
.tack--note time { display: block; font-size: 1.15rem; color: var(--ink-soft); line-height: 1; margin-bottom: 4px; }
.tack--note h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 8px; }
.tack--note p { font-size: .98rem; line-height: 1.5; }
.tack--photo { background: #fff; padding: 10px 10px 14px; }
.tack__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tack__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tack figcaption { font-size: .9rem; line-height: 1.4; padding: 10px 4px 0; color: var(--ink-soft); }
.tack figcaption strong { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.tack--video { background: var(--card); padding: 0 0 14px; }
.tv { background: #26302c; padding: 10px 10px 18px; border-radius: 4px 4px 0 0; position: relative; }
.tv::after { content: ""; position: absolute; right: 14px; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: #e2603c; box-shadow: -12px 0 0 #5c6a64; }
.tv__screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.tv__screen img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s ease; }
.tv__screen:hover img { opacity: 1; }
.tv__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: scale .2s ease;
}
.tv__play::after { content: ""; position: absolute; top: 50%; left: 54%; translate: -50% -50%; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--paper); }
.tv__screen:hover .tv__play { scale: 1.08; }
.tv__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.tack--video figcaption { padding: 12px 14px 0; }

/* =========================================================
   Mitra — perangko berjalan
   ========================================================= */
.partners { padding: clamp(52px, 7vw, 84px) 0; border-top: 2px solid var(--ink); background: var(--paper-2); overflow: hidden; }
.partners__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.partners .kicker { margin: 0; }
.partners__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.partners__title em { color: var(--green-2); font-variation-settings: "SOFT" 100, "WONK" 1; }
.partners__marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partners__track { display: flex; width: max-content; padding: 8px 0; animation: slide var(--dur, 30s) linear infinite; }
.partners__marquee:hover .partners__track, .partners__marquee:focus-within .partners__track { animation-play-state: paused; }
.partner {
  flex: none; margin-right: 22px; width: 176px; height: 108px; padding: 18px 20px;
  display: grid; place-items: center; text-decoration: none; color: var(--ink); background: #fff;
  -webkit-mask: radial-gradient(circle 5px, #0000 97%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) center / calc(100% - 12px) calc(100% - 12px) no-repeat;
  mask: radial-gradient(circle 5px, #0000 97%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) center / calc(100% - 12px) calc(100% - 12px) no-repeat;
  filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease, translate .25s ease;
}
.partner:hover, .partner:focus-visible { filter: none; opacity: 1; translate: 0 -3px; }
.partner img { max-width: 100%; max-height: 64px; object-fit: contain; }
.partner__name { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; line-height: 1.15; text-align: center; color: var(--green); }

/* kredit footer (HTML dari admin utama) */
.footer__credit a { color: var(--saffron); }

@media (max-width: 1080px) {
  .prestasi__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shelf {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 46px var(--gutter) 30px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf::after { left: var(--gutter); right: var(--gutter); bottom: 8px; }
  .shelf .trophy { flex: 0 0 78%; scroll-snap-align: start; margin-bottom: 0; }
  .shelf .trophy:nth-child(n) { rotate: 0deg; margin-bottom: 0; }
  .cork { border-width: 10px; padding-inline: 14px; }
  .partner { width: 140px; height: 90px; margin-right: 14px; padding: 14px; }
  .partner img { max-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
  .partners__marquee { overflow-x: auto; }
}
