/* Hayya Islamic School - palette and type taken from @hayya.islamicschool */
:root {
  --cream: #FCF4EF;
  --cream-d: #F5E6DA;
  --paper: #FFFBF7;
  --sage: #9AA06D;
  --sage-d: #7D8455;
  --sage-l: #DFE3C9;
  --terra: #A86E55;
  --terra-d: #7E4F3B;
  --cocoa: #5E3A26;
  --mustard: #E0A646;
  --mustard-l: #F7E3B6;
  --rust: #C8653E;
  --blush: #F4D8CF;
  --blush-d: #E3A796;
  --ink: #4A3426;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(94, 58, 38, .35);
  --f-display: 'Sniglet', 'Quicksand', system-ui, sans-serif;
  --f-play: 'Grandstander', 'Quicksand', system-ui, sans-serif;
  --f-body: 'Quicksand', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
/* paper grain over everything, like their Canva posts */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .22;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.12;
  color: var(--cocoa);
  margin: .2em 0 .45em;
  letter-spacing: -.01em;
}
.h2 em { font-style: normal; color: var(--sage-d); }
.h2 a { text-decoration: none; }
.h2 a:hover { color: var(--terra); }
.eyebrow {
  font-family: var(--f-play);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 14px;
  color: var(--rust);
  margin: 0;
}
.t3d, .h2-3d {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--sage);
  text-shadow:
    1px 1px 0 var(--terra-d), 2px 2px 0 var(--terra-d), 3px 3px 0 var(--terra-d),
    4px 4px 0 var(--terra-d), 5px 5px 0 var(--terra-d), 6px 6px 0 var(--terra-d),
    10px 14px 22px rgba(94, 58, 38, .28);
}
.h2-3d { font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; letter-spacing: .04em; }
.h2-3d.light { color: var(--cream); text-transform: none; letter-spacing: 0; font-size: clamp(30px, 3.6vw, 46px); }

.pill {
  display: inline-block;
  font-family: var(--f-play);
  font-weight: 800;
  font-size: 15px;
  padding: .5em 1.25em;
  border-radius: 999px;
  margin: 0;
  letter-spacing: .02em;
}
.pill-brown { background: var(--terra); color: var(--cream); box-shadow: 0 4px 0 var(--terra-d); }
.pill-cream { background: var(--cream); color: var(--terra); border: 2.5px solid var(--sage); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-play);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); }
.btn:active { transform: translateY(2px); }
.btn-brown { background: var(--terra); color: var(--cream); box-shadow: 0 5px 0 var(--terra-d), var(--shadow); }
.btn-cream { background: var(--cream); color: var(--terra-d); box-shadow: 0 5px 0 var(--terra-d); }
/* solid fill so the outline button stays readable over the hills and illustrations */
.btn-ghost { background: var(--paper); color: var(--sage-d); box-shadow: inset 0 0 0 2.5px var(--sage), 0 5px 0 var(--sage-d), var(--shadow); }
.btn-ghost.light { background: var(--sage-d); color: var(--cream); box-shadow: inset 0 0 0 2.5px var(--cream), 0 5px 0 #646a42; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 100% - 24px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 251, 247, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 30px -18px rgba(94, 58, 38, .5);
  transition: background .3s, top .3s;
}
.nav.scrolled { background: rgba(255, 251, 247, .94); top: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--terra);
  display: flex;
  flex-direction: column;
}
.brand small { font-family: var(--f-body); font-weight: 700; font-size: 12px; color: var(--rust); letter-spacing: .06em; margin-top: 3px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-family: var(--f-play);
  font-weight: 600;
  text-decoration: none;
  color: var(--cocoa);
  padding: .45em .9em;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--sage-l); color: var(--sage-d); }
.nav-cta { padding: .6em 1.4em; font-size: 16px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--sage-l); flex: none; }
.lang button {
  font-family: var(--f-play);
  font-weight: 800;
  font-size: 13px;
  border: 0;
  background: transparent;
  color: var(--sage-d);
  padding: .4em .75em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--sage); color: #fff; }
/* hide the Indonesian text until English is swapped in, when English was chosen before */
.lang-pending [data-i18n] { visibility: hidden; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px 0 0;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 38%, #FBE7D4 0%, transparent 70%),
    radial-gradient(45% 45% at 10% 15%, #F8DDD3 0%, transparent 70%),
    linear-gradient(180deg, #FDF1EA 0%, var(--cream) 60%, #F3EEDC 100%);
  --sc: var(--sage);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: relative;
  z-index: 3;
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 20px;
  min-height: calc(100svh - 180px);
}
.hero-copy { padding-bottom: clamp(40px, 14svh, 150px); container-type: inline-size; }
.hero-title { margin: 22px 0 6px; line-height: .9; }
/* sized to the column (HAYYA is ~3.85em wide in Sniglet) so it never wraps or overflows */
.hero-title .big { display: block; font-size: min(150px, 23.5cqi, 15svh); letter-spacing: .02em; white-space: nowrap; }
.hero-title .big b { display: inline-block; font-weight: 800; animation: drop 1s cubic-bezier(.3, 1.55, .45, 1) both; animation-delay: calc(.15s + var(--i, 0) * .09s); }
.hero-title .big b:nth-child(1) { --i: 0; }
.hero-title .big b:nth-child(2) { --i: 1; }
.hero-title .big b:nth-child(3) { --i: 2; }
.hero-title .big b:nth-child(4) { --i: 3; }
.hero-title .big b:nth-child(5) { --i: 4; }
.hero-title .mid { display: block; font-size: min(60px, 9.4cqi, 6.2svh); white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; margin-top: 8px; }
.hero-tag {
  font-family: var(--f-play);
  font-weight: 800;
  font-size: clamp(18px, 1.9vw, 24px);
  color: var(--rust);
  margin: 22px 0 8px;
}
.hero-lead { max-width: 520px; color: var(--ink); margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li {
  font-family: var(--f-play);
  font-weight: 600;
  font-size: 14px;
  padding: .3em .9em .3em 2.1em;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  position: relative;
}
.hero-chips li::before {
  content: '';
  position: absolute;
  left: .45em; top: 50%;
  width: 1.15em; height: 1.15em;
  translate: 0 -50%;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%239AA06D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.hero-stage { position: relative; aspect-ratio: 600 / 560; width: min(100%, 680px, (100svh - 200px) * 1.07); justify-self: end; margin-bottom: clamp(90px, 17svh, 180px); }
.arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 74;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.8s .3s cubic-bezier(.6, 0, .2, 1) forwards;
  filter: drop-shadow(8px 10px 0 rgba(126, 132, 85, .25));
}
.arch-icons { position: absolute; inset: 0; }
.arch-icons img { position: absolute; width: 13%; opacity: 0; animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) forwards, bob 5s ease-in-out infinite; }
.i-moon   { left: 22%; top: 24%; width: 11% !important; animation-delay: 1.3s, 2s !important; }
.i-sun    { left: 42.5%; top: 15%; width: 15% !important; animation-delay: 1.4s, 2.4s !important; }
.i-bee    { left: 65%; top: 23%; width: 13% !important; animation: pop .7s 1.5s cubic-bezier(.3, 1.6, .5, 1) forwards, buzz 7s 2.2s ease-in-out infinite !important; }
.i-leaf   { left: 19%; top: 40%; width: 11% !important; animation-delay: 1.6s, 2.8s !important; }
.i-heart  { left: 33%; top: 34%; width: 11% !important; animation-delay: 1.7s, 2.1s !important; }
.i-flower { left: 58%; top: 35%; width: 12% !important; animation-delay: 1.8s, 3s !important; }
.hero-kids {
  position: absolute;
  left: 3%;
  bottom: -7%;
  width: 94%;
  max-width: none;
  filter: drop-shadow(0 22px 18px rgba(94, 58, 38, .22));
  animation: kidsIn 1.2s .6s cubic-bezier(.2, 1.2, .4, 1) both;
}
.hero-hills {
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  width: 100%;
  height: min(27vh, 250px);
  object-fit: cover;
  object-position: 50% 100%;
  scale: -1 1;
  z-index: 2;
  opacity: .95;
  pointer-events: none;
}

.float { will-change: transform; user-select: none; -webkit-user-drag: none; }
.cloud { position: absolute; opacity: .9; }
.c1 { width: 190px; top: 15%; left: 4%; animation: drift 48s linear infinite; }
.c2 { width: 130px; top: 9%; left: 52%; animation: drift 62s -20s linear infinite; opacity: .7; }
.c3 { width: 240px; top: 31%; left: 80%; animation: drift 55s -35s linear infinite; }
.balloon { position: absolute; width: 92px; top: 16%; left: 47%; animation: rise 14s ease-in-out infinite; }
.plane { position: absolute; width: 90px; top: 12%; left: -120px; animation: fly 19s 3s linear infinite; }

.scallop {
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 34px;
  z-index: 4;
  background: radial-gradient(circle at 50% 100%, var(--sc, var(--cream)) 33px, transparent 34px) 0 0 / 66px 34px repeat-x;
}
.scallop-top { top: -1px; bottom: auto; background: radial-gradient(circle at 50% 0, var(--cream) 33px, transparent 34px) 0 0 / 66px 34px repeat-x; }

/* ---------- marquee ---------- */
.marquee { background: var(--sage); color: var(--cream); overflow: hidden; padding: 6px 0 18px; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-play); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.marquee i { width: 34px; height: 34px; flex: none; background: url('../float/deco-flower.webp') center/contain no-repeat; animation: spin 9s linear infinite; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(70px, 8vw, 110px) 0; }
.sec-head { margin-bottom: 46px; }
.blob { position: absolute; inset: 8% 6%; border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; animation: morph 14s ease-in-out infinite; z-index: 0; }
.blob-sage { background: var(--sage-l); }
.blob-blush { background: var(--blush); }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-art { position: relative; }
.about-art > img:not(.sticker) { position: relative; z-index: 1; }
.s-books { position: absolute; width: 120px; right: 2%; top: -6%; z-index: 2; animation: bob 6s ease-in-out infinite; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pillar {
  background: var(--paper);
  border-radius: 24px;
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
  border: 2px dashed rgba(154, 160, 109, .55);
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
.pillar:hover { transform: translateY(-6px) rotate(-1deg); }
.pillar img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 8px; }
.pillar h3 { font-family: var(--f-play); font-weight: 800; color: var(--terra); font-size: 19px; margin: 0 0 4px; }
.pillar p { font-size: 15px; margin: 0; line-height: 1.55; }

/* program */
.stripes {
  background-color: #EFE8D8;
  background-image: repeating-linear-gradient(90deg, var(--sage) 0 58px, #F1EADB 58px 72px);
}
.program { padding-top: 120px; padding-bottom: 130px; }
.program .h2-3d { color: var(--cream); }
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prog {
  position: relative;
  background: var(--paper);
  border-radius: 30px;
  padding: 70px 22px 26px;
  margin-top: 40px;
  box-shadow: 0 24px 40px -22px rgba(60, 40, 20, .55);
  rotate: var(--tilt);
  transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1), translate .4s cubic-bezier(.3, 1.6, .5, 1);
}
.prog:hover { rotate: 0deg; translate: 0 -8px; }
.prog h3 { font-family: var(--f-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--sage); margin: 0; text-shadow: 3px 3px 0 var(--terra-d); }
.prog-sub { font-family: var(--f-play); font-weight: 800; color: var(--rust); margin: 6px 0 10px; font-size: 15px; }
.prog p:last-child { font-size: 15px; margin: 0; }
.stamp {
  position: absolute;
  top: -40px;
  left: 50%;
  translate: -50% 0;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--mustard-l);
  border: 3px dashed var(--mustard);
  outline: 6px solid var(--mustard-l);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--cocoa);
}
.stamp small { font-family: var(--f-body); font-weight: 700; font-size: 12px; color: var(--terra); }
.prog-hi { background: var(--cream); outline: 4px solid var(--terra); }
.new { position: absolute; top: 14px; right: 14px; background: var(--rust); color: #fff; font-family: var(--f-play); font-weight: 800; font-size: 13px; padding: .2em .8em; border-radius: 999px; rotate: 8deg; }

/* pec */
.pec-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.pec-art { position: relative; }
.pec-art img { position: relative; z-index: 1; }
.hl { color: var(--terra); background: linear-gradient(transparent 62%, var(--mustard-l) 62% 92%, transparent 92%); padding: 0 .1em; }
.quote-script { font-family: var(--f-play); font-weight: 800; font-size: 24px; color: var(--sage-d); margin: 20px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ticks li {
  background: var(--sage);
  color: #fff;
  font-family: var(--f-play);
  font-weight: 600;
  border-radius: 999px;
  padding: .45em 1em .45em 2.4em;
  position: relative;
  box-shadow: 0 4px 0 var(--sage-d);
}
.ticks li::before, .leafs li::before {
  content: '';
  position: absolute;
  left: .55em; top: 50%;
  width: 1.3em; height: 1.3em;
  translate: 0 -50%;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%239AA06D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* matters */
.matters-card {
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .6), transparent 40%),
    var(--blush);
  border-radius: 48px;
  padding: clamp(46px, 7vw, 90px) clamp(22px, 6vw, 90px);
  box-shadow: var(--shadow);
}
.matters-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2.5px dashed rgba(168, 110, 85, .45);
  border-radius: 38px;
  pointer-events: none;
}
.matters-quote { font-size: clamp(30px, 4.4vw, 54px); max-width: 900px; margin: 22px auto 16px; }
.matters-quote span { color: var(--terra); display: block; }
.matters-sub { max-width: 620px; margin: 0 auto 26px; }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.values li {
  font-family: var(--f-play);
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 21px);
  color: #fff;
  background: var(--c);
  padding: .5em 1.2em;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .14);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.values li:nth-child(odd) { rotate: -2deg; }
.values li:nth-child(even) { rotate: 2deg; }
.values li:hover { transform: scale(1.08) translateY(-4px); }
.m-flower { position: absolute; width: 90px; top: -30px; left: 6%; animation: bob 6s ease-in-out infinite; }
.m-sprig { position: absolute; width: 90px; bottom: -26px; right: 7%; animation: bob 7s -2s ease-in-out infinite; }
.m-star { position: absolute; width: 60px; top: 18%; right: 5%; animation: bob 5s -1s ease-in-out infinite; }

/* room */
.room-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.polaroid {
  position: relative;
  margin: 0;
  background: #fff;
  padding: 14px 14px 18px;
  border-radius: 6px;
  rotate: var(--tilt, 0deg);
  box-shadow: 0 26px 40px -22px rgba(60, 40, 20, .6);
  transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1);
}
.polaroid:hover { rotate: 0deg; }
.polaroid img { border-radius: 3px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--f-play); font-weight: 800; color: var(--terra); text-align: center; margin-top: 10px; font-size: 18px; }
.tape { position: absolute; top: -14px; left: 50%; translate: -50% 0; rotate: -4deg; width: 110px; height: 30px; background: rgba(224, 166, 70, .55); z-index: 2; }
.apparatus { display: flex; gap: 18px; align-items: flex-end; margin-top: 26px; }
.apparatus img { height: 96px; width: auto; animation: bob 6s ease-in-out infinite; }
.apparatus img:nth-child(2) { animation-delay: -1.5s; }
.apparatus img:nth-child(3) { animation-delay: -3s; }
.apparatus img:nth-child(4) { animation-delay: -4.5s; }

/* nature */
.stripes-soft {
  background-color: #EEF0DF;
  background-image: repeating-linear-gradient(90deg, rgba(154, 160, 109, .2) 0 54px, transparent 54px 70px);
}
.nature { padding-top: 130px; padding-bottom: 140px; }
.nature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.leafs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.leafs li { position: relative; padding-left: 2.2em; font-weight: 700; color: var(--cocoa); }
.leafs li::before { left: 0; background-color: var(--sage); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nature-art { position: relative; padding: 40px 0 70px; }
.nature-art > img { position: relative; z-index: 1; }
.polaroid.mini { position: absolute; width: 34%; padding: 9px 9px 12px; z-index: 2; }
.polaroid.mini .tape { width: 70px; height: 22px; top: -10px; }
.p1 { right: -2%; top: -4%; }
.p2 { left: 0; bottom: 0; }

/* community */
.comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.comm {
  position: relative;
  background: var(--bg);
  border-radius: 30px;
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .35s;
}
.comm:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.comm > img:first-child { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.comm h3 { font-family: var(--f-display); font-weight: 800; font-size: 25px; color: var(--cocoa); margin: 0; line-height: 1.15; }
.comm-meta { font-family: var(--f-play); font-weight: 800; font-size: 14px; color: var(--rust); margin: 6px 0 10px; }
.comm p:not(.comm-meta) { font-size: 15px; margin: 0 0 10px; }
.comm a { font-family: var(--f-play); font-weight: 800; color: var(--terra-d); }
.comm-mom .comm-ill { width: 100%; height: 170px; object-fit: contain; margin: -6px 0 8px; }

/* instagram rail */
.insta { padding-bottom: 70px; }
.insta-rail { overflow: hidden; padding: 20px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.insta-track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; }
.insta-rail:hover .insta-track { animation-play-state: paused; }
.insta-track a { flex: none; width: 250px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(60, 40, 20, .6); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); background: var(--cream-d); }
.insta-track a:nth-child(odd) { rotate: -1.5deg; }
.insta-track a:nth-child(even) { rotate: 1.5deg; translate: 0 14px; }
.insta-track a:hover { transform: scale(1.05); }
.insta-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ayat */
.ayat { padding: 50px 0 90px; }
.ayat .wrap { position: relative; }
.arab { font-family: 'Amiri', serif; font-size: clamp(38px, 6vw, 64px); color: var(--sage-d); margin: 0; line-height: 1.6; }
.ayat-tr { font-family: var(--f-play); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--cocoa); max-width: 680px; margin: 6px auto; }
.ayat-src { font-weight: 700; color: var(--rust); margin: 0; }
.ayat-moon { position: absolute; width: 70px; left: 8%; top: -20px; animation: bob 6s ease-in-out infinite; }

/* contact */
.contact { padding-top: 20px; }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 44px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 30px 60px -30px rgba(94, 70, 30, .7);
}
.contact-card .pill-cream { border-color: var(--cream); }
.contact-card .h2-3d { margin: 18px 0 14px; }
.contact-card p { margin: 0 0 22px; }
.info { margin: 30px 0 0; display: grid; gap: 12px; }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.info dt { font-family: var(--f-play); font-weight: 800; color: var(--mustard-l); }
.info dd { margin: 0; font-weight: 600; }
.contact-map { border-radius: 30px; overflow: hidden; min-height: 340px; border: 6px solid var(--cream); }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.c-bee { position: absolute; width: 96px; top: -40px; right: 40px; animation: buzz 8s ease-in-out infinite; }

/* footer */
.foot { padding: 50px 0 40px; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 2.5px dashed rgba(154, 160, 109, .6); padding-top: 30px; }
.foot-script { font-family: var(--f-play); font-weight: 800; color: var(--sage-d); font-size: 24px; margin: 0; }
.foot-copy { margin: 0; font-size: 14px; color: var(--terra); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; translate: 0 34px; transition: opacity .8s ease, translate .9s cubic-bezier(.2, 1, .3, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
.reveal-load { animation: up .9s cubic-bezier(.2, 1, .3, 1) both; animation-delay: var(--d, 0s); }

/* ---------- keyframes ---------- */
@keyframes drop { 0% { opacity: 0; transform: translateY(-120px) rotate(-12deg) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes jiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(2px) rotate(3deg); } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -14px; rotate: 4deg; } }
@keyframes buzz {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: 26px -18px; rotate: 10deg; }
  50% { translate: 4px -34px; rotate: -6deg; }
  75% { translate: -22px -12px; rotate: -12deg; }
}
@keyframes drift { from { translate: -30vw 0; } to { translate: 110vw 0; } }
@keyframes rise { 0%, 100% { translate: 0 30px; rotate: -3deg; } 50% { translate: 20px -40px; rotate: 4deg; } }
@keyframes fly {
  0% { translate: 0 120px; rotate: 8deg; opacity: 0; }
  5% { opacity: 1; }
  45% { translate: 55vw -20px; rotate: -6deg; }
  70% { translate: 85vw 60px; rotate: 10deg; }
  95% { opacity: 1; }
  100% { translate: calc(100vw + 240px) -60px; rotate: -10deg; opacity: 0; }
}
@keyframes kidsIn { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; }
  50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .prog-grid, .comm-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-radius: 26px;
    padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    translate: 0 -10px;
    transition: opacity .25s, translate .25s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav-links a { font-size: 18px; padding: .6em 1em; }
  .lang { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sage-l); cursor: pointer; }
  .burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--sage-d); transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .brand span { font-size: 19px; }

  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 10px; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero-stage { justify-self: center; width: 92%; margin: 10px auto 70px; }
  .c3 { display: none; }
  .balloon { width: 64px; left: 76%; top: 60%; }

  .about-grid, .pec-grid, .room-grid, .nature-grid, .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .pec-art { order: -1; }
  .room-grid .polaroid { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .nav { width: calc(100% - 16px); padding: 6px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { display: none; }
  .nav-cta { padding: .55em 1.1em; font-size: 15px; }
  .prog-grid, .comm-grid, .ticks { grid-template-columns: 1fr; }
  .prog { margin-top: 46px; }
  .insta-track a { width: 200px; }
  .info div { grid-template-columns: 1fr; gap: 0; }
  .apparatus img { height: 64px; }
  .balloon { display: none; }
  .c1 { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: none; }
  .arch path { stroke-dashoffset: 0; }
}
