:root {
  --mint-1: #E8F3EA;
  --mint-2: #D5EAD9;
  --forest: #1B4332;
  --forest-2: #2D6A4F;
  --sage: #5B8A6B;
  --gold: #B08D57;
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, #f6fbf7 0%, transparent 60%),
    linear-gradient(180deg, var(--mint-1) 0%, var(--mint-2) 50%, var(--mint-1) 100%);
  background-attachment: fixed;
}

em { font-style: italic; }
h1 em, h2 em, p em.text-sage { font-family: "Instrument Serif", Georgia, serif; }

/* ---------- Navbar ---------- */
#nav.scrolled { background: rgba(243, 249, 244, .75); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(27, 67, 50, .08); }
.nav-link { position: relative; transition: color .2s; }
.nav-link:hover { color: var(--forest); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--sage); transition: width .3s; }
.nav-link:hover::after { width: 100%; }

.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  font-family: "Instrument Serif", serif; font-size: 18px; color: var(--forest);
  background: linear-gradient(145deg, #f7fbf8, var(--mint-2));
  border: 1px solid rgba(27, 67, 50, .18);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7);
}

/* ---------- Pills & tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(27, 67, 50, .75);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(27, 67, 50, .1);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5);
}
.tag { font-size: 12px; padding: .3rem .8rem; border-radius: 999px; background: var(--mint-1); color: var(--forest-2); border: 1px solid rgba(27,67,50,.1); }

/* ---------- Cards (double thin border) ---------- */
.frame-card {
  position: relative; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(232,243,234,.55));
  border: 1px solid rgba(27, 67, 50, .1);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, .45),
    inset 0 0 0 7px rgba(27, 67, 50, .06),
    0 30px 60px -30px rgba(27, 67, 50, .25);
  backdrop-filter: blur(6px);
}
.hover-lift { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.55), inset 0 0 0 7px rgba(91,138,107,.2), 0 40px 70px -30px rgba(27,67,50,.35);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .85rem .9rem .85rem 1.6rem; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #EAF5EC;
  background: linear-gradient(135deg, var(--forest-2), var(--forest));
  box-shadow: 0 14px 30px -12px rgba(27, 67, 50, .6), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(27, 67, 50, .7); }
.btn-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 13px; transition: transform .25s; }
.btn-primary:hover .btn-icon { transform: rotate(45deg); }
.btn-ghost {
  display: inline-flex; align-items: center; padding: .85rem 1.6rem; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--forest);
  border: 1px solid rgba(27, 67, 50, .2); background: rgba(255,255,255,.5); transition: background .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.9); }

/* ---------- Floating faded objects ---------- */
.fade-img, .float-obj {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
  mix-blend-mode: multiply;
}
.float-obj { position: absolute; z-index: 1; pointer-events: none; animation: floaty 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.animate-floaty { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}

/* ---------- Sections ---------- */
.section { padding-top: 7rem; scroll-margin-top: 4rem; }
.section-title { margin-top: 1.25rem; font-family: "Instrument Serif", serif; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; }

/* ---------- Stats ---------- */
.stat { padding: 1.1rem; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(27,67,50,.08); }
.stat span { display: block; font-family: "Instrument Serif", serif; font-size: 2.4rem; line-height: 1; color: var(--forest); }
.stat small { display: block; margin-top: .4rem; font-size: 12px; color: rgba(27,67,50,.6); }

/* ---------- Icons ---------- */
.icon-box { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--forest); box-shadow: inset 0 0 0 3px rgba(255,255,255,.08); }
.icon-box svg { width: 24px; height: 24px; fill: none; stroke: #DDEEE0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--sage) 50%, var(--forest));
  opacity: .5;
}
.timeline li { position: relative; }
.timeline .dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  font-family: "Instrument Serif", serif; font-size: 18px; color: var(--forest);
  background: #f5faf6; border: 1px solid rgba(27,67,50,.2); box-shadow: 0 0 0 6px var(--mint-1);
}
.timeline .era { margin-top: 1.2rem; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { margin-top: .3rem; font-family: "Instrument Serif", serif; font-size: 1.75rem; }
.timeline li > p:last-child { margin-top: .4rem; font-size: 14px; line-height: 1.6; color: rgba(27,67,50,.7); }
@media (max-width: 767px) {
  .timeline::before { left: 26px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--forest)); }
  .timeline li { padding-left: 72px; }
  .timeline .dot { position: absolute; left: 0; top: 0; }
  .timeline .era { margin-top: .2rem; }
}

/* ---------- Viewer ---------- */
.viewer-wrap { min-height: 380px; height: 100%; background: radial-gradient(circle at 50% 55%, #fff 0%, var(--mint-1) 70%); }

/* ---------- Values ---------- */
.value-pill {
  display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.8rem; border-radius: 999px;
  font-family: "Instrument Serif", serif; font-size: 1.6rem; color: var(--forest);
  background: rgba(255,255,255,.6); border: 1px solid rgba(27,67,50,.12);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.5); transition: transform .3s, background .3s;
}
.value-pill span { font-size: 1rem; color: var(--gold); }
.value-pill:hover { transform: translateY(-3px); background: #fff; }

/* ---------- Team ---------- */
.avatar {
  margin: 0 auto; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 999px;
  overflow: hidden;
  font-family: "Instrument Serif", serif; font-size: 2rem; color: var(--forest);
  background: linear-gradient(145deg, #fff, var(--mint-2));
  box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 0 0 7px rgba(27,67,50,.12);
}
.avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}

/* ---------- Form ---------- */
.field {
  width: 100%; padding: .9rem 1.1rem; border-radius: 18px; font-size: 14px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(27,67,50,.14); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(91,138,107,.15); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .float-obj, .animate-floaty { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   ORNAMEN TRADISIONAL (batik kawung, parang, tumpal,
   mega mendung, gunungan, sudut ukiran)
   ========================================================= */
:root {
  --kawung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%231B4332' stroke-width='.8'%3E%3Cellipse cx='10' cy='10' rx='9' ry='5' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='9' ry='5' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='9' ry='5' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='9' ry='5' transform='rotate(45 30 30)'/%3E%3Cellipse cx='10' cy='10' rx='4' ry='1.4' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='4' ry='1.4' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='4' ry='1.4' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='4' ry='1.4' transform='rotate(45 30 30)'/%3E%3C/g%3E%3Cg fill='%23B08D57'%3E%3Ccircle cx='20' cy='20' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='40' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='40' r='1.6'/%3E%3Ccircle cx='40' cy='40' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  --parang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231B4332' stroke-width='1'%3E%3Cpath d='M0 24 C6 18 6 12 12 12 S18 6 24 0'/%3E%3Cpath d='M-12 24 C-6 18 -6 12 0 12 S6 6 12 0 M12 24 C18 18 18 12 24 12 S30 6 36 0' stroke-opacity='.45'/%3E%3C/g%3E%3Ccircle cx='5' cy='5' r='1.3' fill='%23B08D57'/%3E%3Ccircle cx='19' cy='19' r='1.3' fill='%23B08D57'/%3E%3C/svg%3E");
  --tumpal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M0 16 L14 1 L28 16' fill='none' stroke='%23B08D57'/%3E%3Cpath d='M6 16 L14 7 L22 16' fill='none' stroke='%231B4332' stroke-opacity='.6'/%3E%3Ccircle cx='14' cy='12.5' r='1.2' fill='%23B08D57'/%3E%3C/svg%3E");
  --ornamen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='14' viewBox='0 0 140 14'%3E%3Cpath d='M0 7 H56 M84 7 H140' stroke='%23B08D57'/%3E%3Cpath d='M70 1 L76 7 L70 13 L64 7 Z' fill='none' stroke='%23B08D57'/%3E%3Ccircle cx='70' cy='7' r='1.6' fill='%231B4332'/%3E%3Ccircle cx='59' cy='7' r='1.3' fill='%23B08D57'/%3E%3Ccircle cx='81' cy='7' r='1.3' fill='%23B08D57'/%3E%3C/svg%3E");
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='none' stroke='%23B08D57'%3E%3Cpath d='M2 34 V12 Q2 2 12 2 H34'/%3E%3Cpath d='M8 34 V16 Q8 8 16 8 H34' stroke-opacity='.5'/%3E%3C/g%3E%3Ccircle cx='15' cy='15' r='2' fill='%23B08D57'/%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg transform='scale(-1 1) translate(-36 0)'%3E%3Cg fill='none' stroke='%23B08D57'%3E%3Cpath d='M2 34 V12 Q2 2 12 2 H34'/%3E%3Cpath d='M8 34 V16 Q8 8 16 8 H34' stroke-opacity='.5'/%3E%3C/g%3E%3Ccircle cx='15' cy='15' r='2' fill='%23B08D57'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg transform='scale(1 -1) translate(0 -36)'%3E%3Cg fill='none' stroke='%23B08D57'%3E%3Cpath d='M2 34 V12 Q2 2 12 2 H34'/%3E%3Cpath d='M8 34 V16 Q8 8 16 8 H34' stroke-opacity='.5'/%3E%3C/g%3E%3Ccircle cx='15' cy='15' r='2' fill='%23B08D57'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg transform='scale(-1 -1) translate(-36 -36)'%3E%3Cg fill='none' stroke='%23B08D57'%3E%3Cpath d='M2 34 V12 Q2 2 12 2 H34'/%3E%3Cpath d='M8 34 V16 Q8 8 16 8 H34' stroke-opacity='.5'/%3E%3C/g%3E%3Ccircle cx='15' cy='15' r='2' fill='%23B08D57'/%3E%3C/g%3E%3C/svg%3E");
  --gunungan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cg fill='none' stroke='%231B4332' stroke-width='1.2'%3E%3Cpath d='M100 4 C125 40 170 100 186 170 C192 200 184 230 170 240 H30 C16 230 8 200 14 170 C30 100 75 40 100 4 Z'/%3E%3Cpath d='M100 22 C120 55 158 108 170 168 C175 195 168 220 158 228 H42 C32 220 25 195 30 168 C42 108 80 55 100 22 Z'/%3E%3Cpath d='M100 40 V200 M100 80 C85 90 70 100 60 120 M100 80 C115 90 130 100 140 120 M100 115 C80 125 62 140 52 160 M100 115 C120 125 138 140 148 160 M100 150 C85 158 72 170 66 185 M100 150 C115 158 128 170 134 185'/%3E%3Cpath d='M76 240 V205 Q100 185 124 205 V240'/%3E%3Cpath d='M40 240 H160 M30 252 H170'/%3E%3C/g%3E%3Cg fill='%23B08D57'%3E%3Ccircle cx='60' cy='120' r='2.5'/%3E%3Ccircle cx='140' cy='120' r='2.5'/%3E%3Ccircle cx='52' cy='160' r='2.5'/%3E%3Ccircle cx='148' cy='160' r='2.5'/%3E%3Ccircle cx='100' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --mega: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Cdefs%3E%3Cpath id='c' d='M14 80 C2 80 2 62 16 60 C14 42 36 36 46 48 C48 26 80 22 88 42 C96 26 128 30 124 54 C144 52 150 78 132 82 Z'/%3E%3C/defs%3E%3Cg stroke='%231B4332' stroke-width='1'%3E%3Cuse href='%23c' fill='%23BFDDC5'/%3E%3Cuse href='%23c' fill='%23D5EAD9' transform='translate(15.2 10.4) scale(.8)'/%3E%3Cuse href='%23c' fill='%23E8F3EA' transform='translate(30.4 20.8) scale(.6)'/%3E%3Cuse href='%23c' fill='%23F3F9F4' transform='translate(45.6 31.2) scale(.4)'/%3E%3C/g%3E%3C/svg%3E");
}

/* Latar batik kawung, lebih tegas di tepi layar dan memudar di tengah */
body { position: relative; background-color: #E8F0E3; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--kawung); background-size: 56px 56px; opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, transparent 25%, #000 85%);
          mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, transparent 25%, #000 85%);
}
/* Pinggiran kain (selendang parang) di kiri & kanan layar */
@media (min-width: 1280px) {
  body::after {
    content: ""; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; pointer-events: none;
    background:
      var(--tumpal) left 34px top 0 / 28px 16px repeat-y,
      var(--parang) left 0 top 0 / 24px 24px repeat-y,
      var(--tumpal) right 34px top 0 / 28px 16px repeat-y,
      var(--parang) right 0 top 0 / 24px 24px repeat-y;
    opacity: .28;
  }
}

/* Sudut ukiran emas di setiap kartu */
.frame-card::before {
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  background:
    var(--corner-tl) left top / 30px 30px no-repeat,
    var(--corner-tr) right top / 30px 30px no-repeat,
    var(--corner-bl) left bottom / 30px 30px no-repeat,
    var(--corner-br) right bottom / 30px 30px no-repeat;
  opacity: .75;
}

/* Pemisah section bermotif tumpal */
.section { padding-top: 5rem; }
.section::before {
  content: ""; display: block; height: 16px; width: min(520px, 80%); margin: 0 auto 4rem;
  background: var(--tumpal) center / 28px 16px repeat-x; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* Ornamen kecil di bawah judul section */
.section-title::after {
  content: ""; display: block; width: 140px; height: 14px; margin: 1.1rem auto 0;
  background: var(--ornamen) center / contain no-repeat;
}
.section-title.text-left::after { margin-left: 0; }

/* Gunungan wayang samar di belakang headline */
.gunungan {
  position: absolute; left: 50%; top: 50%; width: min(440px, 80%); aspect-ratio: 200 / 260;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  background: var(--gunungan) center / contain no-repeat; opacity: .09;
}
/* Awan mega mendung */
.mega {
  position: absolute; z-index: 0; pointer-events: none; width: 240px; aspect-ratio: 160 / 100;
  background: var(--mega) center / contain no-repeat; opacity: .45;
  animation: drift 14s ease-in-out infinite;
}
.mega-l { left: -40px; top: 42%; }
.mega-r { right: -40px; top: 30%; transform: scaleX(-1); animation-name: drift-r; }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 14px -6px; } }
@keyframes drift-r { 0%,100% { translate: 0 0; } 50% { translate: -14px 6px; } }

/* Pita batik parang di atas footer */
footer { position: relative; }
footer::before {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: -14px; height: 10px;
  background: var(--parang) 0 0 / 10px 10px repeat-x; opacity: .35;
}

@media (max-width: 640px) {
  .mega { width: 150px; opacity: .3; }
  body::before { opacity: .09; }
}
@media (prefers-reduced-motion: reduce) { .mega { animation: none; } }


/* =========================================================
   SILUET ARCA (gabungan arca, candi & stupa)
   Gambar siluet hijau di atas putih → dibaurkan dengan multiply
   ========================================================= */
.arca-layer { position: fixed; pointer-events: none; z-index: -1; mix-blend-mode: multiply; }

/* Cakrawala arca di dasar layar */
.arca-horizon {
  left: 0; right: 0; bottom: 0; height: 30vh;
  background: url("assets/arca-panorama.jpg") center bottom / auto 100% repeat-x;
  opacity: .1;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent);
          mask-image: linear-gradient(to top, #000 40%, transparent);
}

/* Sepasang Dwarapala penjaga gerbang di kiri & kanan */
.arca-guard {
  top: 12vh; bottom: 0; width: 15vw; max-width: 230px; display: none;
  background: url("assets/arca-pair.jpg") center bottom / contain no-repeat;
  opacity: .09;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%);
          mask-image: linear-gradient(to bottom, transparent, #000 25%);
}
.arca-guard.left { left: 64px; }
.arca-guard.right { right: 64px; transform: scaleX(-1); }
@media (min-width: 1280px) { .arca-guard { display: block; } }

/* Siluet arca di dasar kartu hero & CTA */
.arca-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 0; pointer-events: none;
  background: url("assets/arca-panorama.jpg") center bottom / auto 100% repeat-x;
  mix-blend-mode: multiply; opacity: .14;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
          mask-image: linear-gradient(to top, #000 30%, transparent);
}

/* Cakrawala arca penutup di atas footer */
.footer-skyline {
  height: 140px; margin-top: 5rem;
  background: url("assets/arca-panorama.jpg") center bottom / auto 100% repeat-x;
  mix-blend-mode: multiply; opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

@media (max-width: 640px) {
  .arca-horizon { height: 18vh; opacity: .07; }
  .arca-skyline { height: 28%; }
  .footer-skyline { height: 90px; }
}


/* =========================================================
   WEBAR + FUN FACT CARD SHOWCASE (sesuai referensi gambar 2)
   ========================================================= */
.ar-card {
  position: relative;
  border-radius: 26px;
  padding: 14px;
  background: linear-gradient(180deg, #E8F8EE 0%, #CFF0DC 100%);
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 0 0 1px rgba(27, 67, 50, .12),
    0 24px 48px -20px rgba(27, 67, 50, .35);
}

.ar-title-pill {
  position: absolute;
  left: 18px;
  top: -14px;
  z-index: 3;
  display: inline-block;
  padding: .42rem 1.05rem;
  border-radius: 13px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--forest);
  background: linear-gradient(180deg, #B8F1D0 0%, #8AE2B2 100%);
  border: 2px solid #fff;
  box-shadow: 0 6px 16px -6px rgba(27, 67, 50, .35);
}

.ar-stage {
  position: relative;
  height: 290px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: #E2F6EA;
  background-image:
    linear-gradient(to right, rgba(91, 138, 107, .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(91, 138, 107, .12) 1px, transparent 1px),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.92) 0%, rgba(210, 243, 224, .55) 75%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  border: 1px solid rgba(255, 255, 255, .85);
}

.ar-stage-img {
  height: 215px;
  width: auto;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 65%, transparent 100%);
          mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 65%, transparent 100%);
  mix-blend-mode: multiply;
  cursor: grab;
}

.ar-controls {
  position: absolute;
  right: 12px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ar-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--forest);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(27, 67, 50, .12);
  box-shadow: 0 4px 10px rgba(27, 67, 50, .12);
  transition: transform .2s, background .2s;
}
.ar-ctrl-btn:hover { background: #fff; transform: scale(1.07); }

.ar-hint-pill {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: .28rem .85rem;
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(27, 67, 50, .7);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(27, 67, 50, .08);
}

.ar-info-panel {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(186, 239, 210, .75) 0%, rgba(226, 248, 235, .9) 100%);
  border: 1px solid rgba(255, 255, 255, .9);
}

.ar-q-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #B4F1D1 75%);
  border: 1.5px solid #fff;
  box-shadow: 0 4px 10px rgba(27, 67, 50, .18);
  transition: transform .25s, background .25s;
}
.ar-q-btn:hover, .ar-q-btn.open {
  transform: scale(1.08);
  background: var(--forest);
  color: #fff;
}

.ar-fact-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(27, 67, 50, .18);
}

.ar-tab {
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--forest);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(27, 67, 50, .14);
  transition: all .2s;
}
.ar-tab:hover { background: rgba(255, 255, 255, .9); }
.ar-tab.active {
  background: var(--forest);
  color: #EAF5EC;
  border-color: var(--forest);
  box-shadow: 0 8px 20px -8px rgba(27, 67, 50, .55);
}
