/* =========================================================
   مدارس الفاضل محمود بشير الخاصة — الدامر
   الهوية: أخضر وذهبي مستوحيان من شعار المدارس
   ========================================================= */

:root {
  --g950: #041f15;
  --g900: #062b1e;
  --g800: #0a3d2a;
  --g700: #0e5236;
  --g600: #136b45;
  --g500: #1b8a57;
  --g100: #e4f2e9;
  --gold: #f2c230;
  --gold-2: #f8da6e;
  --gold-3: #d6a312;
  --gold-ink: #8a6400;
  --rose: #8e2453;
  --rose-2: #c2477c;
  --cream: #fbf7ee;
  --sand: #f4ecda;
  --paper: #ffffff;
  --ink: #10231a;
  --ink-2: #2d4237;
  --muted: #5f7168;
  --line: #e7dec9;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(6, 43, 30, .06);
  --shadow: 0 14px 34px -16px rgba(6, 43, 30, .28);
  --shadow-lg: 0 34px 70px -28px rgba(6, 43, 30, .42);
  --container: 1200px;
  --head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif;
  --deco: "Aref Ruqaa", "Amiri", "Traditional Arabic", serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23f2c230' stroke-width='1.1'%3E%3Cpath d='M44 10l9.5 24.5L78 44l-24.5 9.5L44 78l-9.5-24.5L10 44l24.5-9.5z'/%3E%3Cpath d='M20 20l24 9.9L68 20l-9.9 24L68 68l-24-9.9L20 68l9.9-24z'/%3E%3Ccircle cx='44' cy='44' r='8'/%3E%3Cpath d='M0 0l10 10M88 0L78 10M0 88l10-10M88 88L78 78'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.45; margin: 0 0 .5em; color: var(--g900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
.ico { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { width: 1.15em; height: 1.15em; fill: currentColor; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .82em 1.45em; border-radius: 999px; border: 0;
  font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.4;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2b1f00; box-shadow: 0 10px 22px -10px rgba(214, 163, 18, .9), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-gold:hover { box-shadow: 0 16px 30px -12px rgba(214, 163, 18, .95), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-green { background: var(--g700); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 82, 54, .9); }
.btn-green:hover { background: var(--g600); }
.btn-line { color: var(--g700); border: 1.5px solid currentColor; background: transparent; }
.btn-line:hover { background: var(--g700); color: #fff; border-color: var(--g700); }
.btn-sm { padding: .6em 1.1em; font-size: 14px; }

/* ---------- announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-3));
  color: #251a00; font-size: 14px; font-weight: 600; text-align: center;
  padding: 8px 16px; line-height: 1.6;
}
.announce a { font-family: var(--head); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; margin-inline-start: 8px; white-space: nowrap; }
.announce .ico { vertical-align: -3px; margin-inline-end: 6px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--g950); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info a:hover { color: var(--gold-2); }
.topbar .ico { color: var(--gold); width: 15px; height: 15px; }
.social { display: flex; gap: 8px; }
.social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); transition: background .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--g950); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 238, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(6, 43, 30, .35); background: rgba(251, 247, 238, .96); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 56px; height: auto; filter: drop-shadow(0 4px 8px rgba(6, 43, 30, .18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text b { font-family: var(--head); font-weight: 800; font-size: 17px; color: var(--g900); }
.brand-text small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 10px;
  font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 50%; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--gold); transition: inset .25s ease;
}
.nav-links a:hover { color: var(--g700); background: rgba(14, 82, 54, .05); }
.nav-links a.active { color: var(--g700); }
.nav-links a.active::after { inset-inline: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--g800); place-items: center; }
.menu-btn .ico { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(242, 194, 48, .2), transparent 62%),
    radial-gradient(800px 520px at -5% 105%, rgba(27, 138, 87, .45), transparent 60%),
    linear-gradient(160deg, var(--g800) 0%, var(--g900) 55%, var(--g950) 100%);
  padding: 76px 0 150px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: var(--star); background-size: 88px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 56px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(242, 194, 48, .12); border: 1px solid rgba(242, 194, 48, .35); color: var(--gold-2);
  font-family: var(--head); font-weight: 700; font-size: 13.5px;
}
.chip .ico { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.3; margin: 22px 0 6px; letter-spacing: 0; }
.hero h1 span { color: var(--gold); }
.slogan { font-family: var(--deco); font-size: clamp(1.7rem, 3.2vw, 2.45rem); color: var(--gold-2); margin: 0 0 18px; line-height: 1.6; }
.slogan i { font-style: normal; color: rgba(255, 255, 255, .45); font-size: .55em; vertical-align: middle; margin: 0 .35em; }
.lead { color: rgba(255, 255, 255, .84); font-size: 1.12rem; max-width: 34em; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--gold); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 30px 30px; overflow: hidden;
  border: 7px solid rgba(255, 255, 255, .08);
  outline: 2px solid rgba(242, 194, 48, .85); outline-offset: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  background: var(--g700);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.02); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 31, 21, .55)); }
.hero-logo {
  position: absolute; top: -18px; inset-inline-end: -26px; width: 118px; height: 118px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55);
  border: 4px solid var(--gold); z-index: 2;
}
.hero-logo img { width: 92px; }
.hero-achv {
  position: absolute; bottom: 34px; inset-inline-start: -64px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); max-width: 290px;
  transition: transform .3s ease;
}
.hero-achv:hover { transform: translateY(-4px); }
.hero-achv img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 3px solid var(--gold); background: var(--g700); }
.hero-achv b { display: block; font-family: var(--head); font-size: 15px; color: var(--g800); line-height: 1.45; }
.hero-achv span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; }
.hero-achv .pct { color: var(--gold-ink); font-weight: 800; font-family: var(--head); }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -86px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 10px; border: 1px solid rgba(231, 222, 201, .7);
}
.stat { text-align: center; padding: 24px 14px 22px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--head); font-weight: 900; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; color: var(--g700); }
.stat .num small { font-size: .55em; color: var(--gold-3); margin-inline-start: 2px; }
.stat .lbl { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 6px; }
.stat .lbl b { color: var(--ink-2); font-family: var(--head); display: block; font-size: 15px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; position: relative; }
.section-sand { background: var(--sand); }
.section-white { background: var(--paper); }
.section-dark {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(242, 194, 48, .14), transparent 60%),
    linear-gradient(165deg, var(--g800), var(--g950));
  color: #fff; isolation: isolate; overflow: hidden;
}
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--star); background-size: 88px; opacity: .05; }
.section-dark h2, .section-dark h3 { color: #fff; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head.start { text-align: start; margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--gold-ink);
  font-family: var(--head); font-weight: 800; font-size: 14px; margin-bottom: 10px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-3)); }
.eyebrow::after { transform: scaleX(-1); }
.sec-head.start .eyebrow::before { display: none; }
.section-dark .eyebrow { color: var(--gold-2); }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-dark .sec-head p { color: rgba(255, 255, 255, .74); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; padding-bottom: 70px; padding-inline-end: 50px; }
.about-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-rules {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 58%;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px 18px;
  border-top: 5px solid var(--gold);
}
.about-rules h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.about-rules h3 .ico { color: var(--g600); }
.about-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; padding: 5px 0; color: var(--ink-2); }
.about-rules li span { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--g100); color: var(--g700); font-family: var(--head); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.about-text p { color: var(--ink-2); }
.values { display: grid; gap: 14px; margin-top: 28px; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(231, 222, 201, .6); transition: transform .3s, box-shadow .3s; }
.value:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.value-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, var(--g600), var(--g800)); color: var(--gold-2); flex: none; }
.value-ico .ico { width: 24px; height: 24px; }
.value h3 { font-size: 17px; margin: 0 0 2px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- leadership ---------- */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leader {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: center;
  background: var(--paper); border-radius: 30px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(231, 222, 201, .7);
}
.leader::before { content: ""; position: absolute; inset-inline-end: -110px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 194, 48, .2), transparent 65%); pointer-events: none; }
.lead-photo { border-radius: 999px 999px 24px 24px; overflow: hidden; outline: 2px solid var(--gold); outline-offset: 7px; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--g800); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-role { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; color: var(--gold-ink); background: rgba(242, 194, 48, .18); padding: 4px 14px; border-radius: 999px; font-size: 13.5px; margin-bottom: 12px; }
.lead-role .ico { width: 15px; height: 15px; }
.leader h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin: 0 0 2px; }
.lead-sub { color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.leader p:last-child { color: var(--ink-2); margin: 0; font-size: 15.5px; line-height: 1.85; }
.lead-quote { font-family: var(--deco); font-size: 1.9rem; color: var(--g700); text-align: center; margin: 44px 0 0; line-height: 1.7; }
.lead-quote::before, .lead-quote::after { content: "✦"; font-size: .55em; color: var(--gold-3); vertical-align: middle; margin: 0 .6em; }

/* ---------- stages ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.stages::before { content: ""; position: absolute; top: 44px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-3) 0 10px, transparent 10px 18px); opacity: .55; }
.stage { position: relative; text-align: center; background: var(--paper); border-radius: 22px; padding: 0 22px 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(231, 222, 201, .7); transition: transform .3s, box-shadow .3s; }
.stage:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stage-ico { width: 88px; height: 88px; margin: -22px auto 16px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--g500), var(--g800)); color: var(--gold-2); border: 6px solid var(--cream); box-shadow: 0 12px 24px -12px rgba(6, 43, 30, .6); position: relative; }
.stage-ico .ico { width: 34px; height: 34px; stroke-width: 1.8; }
.stage-ico em { position: absolute; top: -2px; inset-inline-end: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #2b1f00; font-style: normal; font-family: var(--head); font-weight: 900; font-size: 13px; display: grid; place-items: center; border: 3px solid var(--cream); }
.stage h3 { font-size: 18.5px; margin-bottom: 6px; }
.stage p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; font-family: var(--head); padding: 4px 12px; border-radius: 999px; background: var(--g100); color: var(--g700); }
.tag.gold { background: rgba(242, 194, 48, .18); color: var(--gold-ink); }
.tag.rose { background: rgba(194, 71, 124, .12); color: var(--rose); }

.campus-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 84px 0 28px; flex-wrap: wrap; }
.campus-head h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; }
.campus-head p { margin: 0; color: var(--muted); }
.campuses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.campus { background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.campus:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.campus-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--g700); }
.campus-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.campus:hover .campus-img img { transform: scale(1.05); }
.campus-img .badge { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(4, 31, 21, .78); color: #fff; backdrop-filter: blur(6px); padding: 5px 14px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 13px; }
.campus-img.girls {
  display: grid; place-items: center; color: #fff; text-align: center; isolation: isolate;
  background: radial-gradient(420px 260px at 80% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(150deg, var(--rose-2), var(--rose) 55%, #5a1033);
}
.campus-img.girls::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--star); background-size: 76px; opacity: .14; filter: brightness(3); }
.campus-img.girls .ico { width: 64px; height: 64px; stroke-width: 1.4; color: #ffe08a; }
.campus-img.girls b { display: block; font-family: var(--deco); font-size: 1.9rem; margin-top: 4px; }
.campus-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.campus-body h4 { font-size: 18px; margin-bottom: 8px; }
.campus-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.campus-meta { display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.campus-meta span, .campus-meta a { display: flex; align-items: center; gap: 8px; }
.campus-meta a:hover { color: var(--g700); }
.campus-meta .ico { color: var(--g600); width: 17px; height: 17px; }
.campus-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }

/* ---------- achievements ---------- */
.spot { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.spot-visual { position: relative; display: grid; place-items: end center; min-height: 520px; }
.spot-visual::before {
  content: ""; position: absolute; bottom: 0; width: min(92%, 400px); aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px;
  background: radial-gradient(circle at 50% 35%, var(--gold-2), var(--gold) 45%, var(--gold-3) 100%);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), inset 0 0 0 8px rgba(255, 255, 255, .18);
}
.spot-visual::after { content: ""; position: absolute; bottom: -16px; width: min(100%, 440px); height: 28px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); z-index: -1; }
.spot-visual img { position: relative; width: auto; max-height: 560px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.laurel { position: absolute; bottom: 30px; width: 120px; color: var(--gold-2); opacity: .9; }
.laurel.r { inset-inline-start: 2%; } .laurel.l { inset-inline-end: 2%; transform: scaleX(-1); }
.spot-text .eyebrow { color: var(--gold-2); }
.spot-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.spot-pct { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 18px; }
.spot-pct b { font-family: var(--head); font-size: clamp(3.4rem, 7vw, 5.2rem); font-weight: 900; line-height: 1; background: linear-gradient(180deg, #fff3c2, var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spot-pct span { color: rgba(255, 255, 255, .75); font-size: 1rem; }
.ranks { display: grid; gap: 12px; margin-bottom: 26px; }
.rank { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.rank i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--head); font-weight: 900; font-size: 20px; color: #2b1f00; background: radial-gradient(circle at 35% 30%, #fff3c2, var(--gold) 55%, var(--gold-3)); flex: none; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.rank b { font-family: var(--head); font-size: 17px; display: block; line-height: 1.5; }
.rank span { color: rgba(255, 255, 255, .7); font-size: 14px; }
.spot-note { color: rgba(255, 255, 255, .72); font-size: 15px; }

.mini-wins { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 72px; }
.win { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 20px 18px; transition: transform .3s, background-color .3s; }
.win:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); }
.win .score { font-family: var(--head); font-weight: 900; font-size: 2rem; color: var(--gold); line-height: 1.2; }
.win b { display: block; font-family: var(--head); font-size: 15px; line-height: 1.6; margin: 6px 0 4px; color: #fff; }
.win span { display: block; color: rgba(255, 255, 255, .66); font-size: 13.5px; line-height: 1.6; }

/* ---------- honor board ---------- */
.honor-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; background: var(--paper); padding: 6px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--g700); color: #fff; box-shadow: 0 8px 18px -10px rgba(14, 82, 54, .9); }
.tab:not([aria-selected="true"]):hover { color: var(--g700); background: var(--g100); }
.search { position: relative; flex: 1; max-width: 340px; min-width: 220px; }
.search input { width: 100%; padding: 12px 46px 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); box-shadow: var(--shadow-sm); }
.search input:focus { outline: none; border-color: var(--g500); box-shadow: 0 0 0 4px rgba(27, 138, 87, .14); }
.search .ico { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: 19px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.board { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: 18px; border: 1px solid rgba(231, 222, 201, .7); }
.board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.board-col h4 { font-size: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--g100); color: var(--g800); margin: 0 0 8px; }
.board-col h4 small { font-family: var(--body); font-weight: 600; color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.list-2 { columns: 2; column-gap: 18px; }
.row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; break-inside: avoid; transition: background-color .2s; }
.row:nth-child(odd) { background: #faf6ec; }
.row:hover { background: rgba(242, 194, 48, .14); }
.row .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--g100); color: var(--g700); font-family: var(--head); font-weight: 800; font-size: 13px; }
.row .nm { font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.row .sc { font-family: var(--head); font-weight: 800; color: var(--g700); font-size: 15px; direction: ltr; }
.row.top1 .n { background: linear-gradient(145deg, #ffe07a, var(--gold-3)); color: #3b2a00; }
.row.top2 .n { background: linear-gradient(145deg, #eef1f4, #b7bec7); color: #2c3440; }
.row.top3 .n { background: linear-gradient(145deg, #f4c9a2, #c47a3c); color: #3b1e05; }
.row.hide { display: none; }
.row mark { background: rgba(242, 194, 48, .45); color: inherit; border-radius: 4px; padding: 0 2px; }
.empty { display: none; text-align: center; color: var(--muted); padding: 28px; }
.empty.show { display: block; }
.board-foot { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- teachers ---------- */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher { position: relative; border-radius: 24px; overflow: hidden; background: var(--g900); box-shadow: var(--shadow); isolation: isolate; transition: transform .35s ease, box-shadow .35s ease; }
.teacher:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.teacher img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s ease; }
.teacher:hover img { transform: scale(1.04); }
.teacher::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(4, 31, 21, .55) 72%, rgba(4, 31, 21, .92) 100%); }
.teacher-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 18px 18px 18px; color: #fff; }
.teacher-info h3 { color: #fff; font-size: 17px; margin: 0 0 8px; line-height: 1.5; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.teacher-info h3 small { display: block; font-family: var(--body); font-weight: 500; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.subject { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: #2b1f00; font-family: var(--head); font-weight: 800; font-size: 13px; }
.subject .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.teacher-link { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--g800); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; }
.teacher:hover .teacher-link, .teacher-link:focus-visible { opacity: 1; transform: none; }
.teacher-link .ico { width: 18px; height: 18px; }
.teacher-badge { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: rgba(6, 43, 30, .88); color: var(--gold-2); border: 1px solid rgba(242, 194, 48, .55); font-family: var(--head); font-weight: 800; font-size: 12.5px; }
.teacher-badge .ico { width: 13px; height: 13px; }
.teachers-note { text-align: center; margin: 44px auto 0; max-width: 680px; color: var(--muted); font-size: 16px; }
.teachers-note b { color: var(--g700); font-family: var(--head); }

/* ---------- gallery ---------- */
.masonry { columns: 3; column-gap: 18px; }
.shot { display: block; position: relative; margin-bottom: 18px; border-radius: 20px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); background: var(--g800); }
.shot img { width: 100%; transition: transform .8s ease, filter .4s; }
.shot:hover img { transform: scale(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4, 31, 21, .6)); opacity: 0; transition: opacity .4s; }
.shot:hover::after { opacity: 1; }
.zoom { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: #2b1f00; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.shot:hover .zoom { opacity: 1; transform: none; }
.zoom .ico { width: 19px; height: 19px; }

/* ---------- news ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -24px 0 38px; }
.filter { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); padding: 8px 18px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 14px; transition: all .2s; }
.filter:hover { border-color: var(--g500); color: var(--g700); }
.filter.on { background: var(--g800); color: #fff; border-color: var(--g800); }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post { background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(231, 222, 201, .7); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post.hide { display: none; }
.post-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); display: block; }
.post-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s ease; }
.post:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 14px 16px 18px; }
.post-body .tag { margin-bottom: 8px; }
.post-body h3 { font-size: 15px; line-height: 1.65; margin: 0; color: var(--ink); }

/* ---------- register band ---------- */
.register {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: 56px 48px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(255, 255, 255, .35), transparent 60%), linear-gradient(120deg, var(--gold-3), var(--gold) 45%, var(--gold-2));
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg);
}
.register::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--star); background-size: 88px; opacity: .25; filter: brightness(.2); }
.register h2 { color: var(--g950); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.register p { color: #3a2c00; margin: 0; font-size: 1.05rem; }
.register-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.register .btn-dark { background: var(--g900); color: #fff; }
.register .btn-dark:hover { background: var(--g700); }
.register .btn-wa { background: #fff; color: var(--g800); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-card { background: var(--paper); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(231, 222, 201, .75); }
.c-card.wide { grid-column: 1 / -1; }
.c-card .c-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--g100); color: var(--g700); margin-bottom: 10px; }
.c-card .c-ico .ico { width: 21px; height: 21px; }
.c-card h3 { font-size: 15.5px; margin: 0 0 4px; }
.c-card .ph { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--g800); direction: ltr; display: inline-block; letter-spacing: .3px; }
.c-card .ph:hover { color: var(--g500); }
.c-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.c-card .phs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.c-card .phs a { font-family: var(--head); font-weight: 700; color: var(--g800); direction: ltr; font-size: 15.5px; }
.c-card .row-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.c-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.c-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 14px; color: #fff; transition: transform .2s; }
.c-social a:hover { transform: translateY(-2px); }
.c-social svg { width: 17px; height: 17px; fill: currentColor; }
.fb { background: #1877f2; } .tt { background: #111; } .wa { background: #1fa855; }
.maps { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(231, 222, 201, .75); }
.map-tabs { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); }
.map-tabs .tab { flex: 1; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame[hidden] { display: none; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.map-foot span { color: var(--muted); font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; }
.map-foot .ico { color: var(--g600); }

/* ---------- footer ---------- */
.footer { background: var(--g950); color: rgba(255, 255, 255, .72); padding: 72px 0 0; position: relative; isolation: isolate; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--star); background-size: 88px; opacity: .04; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.f-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.f-brand img { width: 74px; background: #fff; border-radius: 50%; padding: 6px; }
.f-brand b { font-family: var(--head); color: #fff; font-size: 18px; line-height: 1.5; display: block; }
.f-brand span { font-family: var(--deco); color: var(--gold-2); font-size: 1.25rem; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer li { padding: 4px 0; font-size: 15px; }
.footer li a:hover { color: var(--gold-2); }
.f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact .ico { color: var(--gold); width: 16px; height: 16px; }
.f-contact a { direction: ltr; }
.f-bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.f-bottom b { color: var(--gold-2); font-family: var(--deco); font-size: 1.15rem; font-weight: 700; }

/* ---------- floating ---------- */
.fab { position: fixed; z-index: 70; inset-inline-end: 20px; bottom: 20px; display: grid; gap: 10px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s, opacity .3s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .wa-btn { background: #1fa855; color: #fff; }
.fab .wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.fab .top-btn { background: var(--g800); color: var(--gold-2); opacity: 0; pointer-events: none; }
.fab .top-btn.show { opacity: 1; pointer-events: auto; }
.fab .top-btn .ico { width: 22px; height: 22px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(2, 16, 11, .94); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; padding: 24px 12px; backdrop-filter: blur(6px); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: calc(100vh - 48px); height: calc(100dvh - 48px); min-width: 0; }
.lb img { max-width: 100%; max-height: calc(100% - 64px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); background: #0b2a1e; }
.lb figcaption { color: #fff; text-align: center; font-family: var(--head); font-weight: 600; font-size: 15px; max-width: 760px; line-height: 1.7; }
.lb figcaption small { display: block; color: rgba(255, 255, 255, .55); font-family: var(--body); font-weight: 500; font-size: 13px; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background-color .2s; justify-self: center; }
.lb button:hover { background: var(--gold); color: #2b1f00; }
.lb button .ico { width: 24px; height: 24px; }
.lb .lb-close { position: absolute; top: 16px; inset-inline-end: 16px; }
body.lock { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .mini-wins { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    box-shadow: 0 20px 40px -20px rgba(6, 43, 30, .4);
    transform-origin: top; transform: scaleY(.96); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--g100); }
  .nav .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { width: min(100%, 380px); }
  .about-grid, .spot, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .leaders { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .stages { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .stages::before { display: none; }
  .campuses { grid-template-columns: 1fr 1fr; }
  .teachers { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .board-cols { grid-template-columns: 1fr; }
  .register { grid-template-columns: 1fr; text-align: center; padding: 44px 28px; }
  .register-actions { justify-content: center; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .spot-visual { min-height: 440px; }
  .spot-visual img { max-height: 470px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .topbar { display: none; }
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
  .hero { padding: 48px 0 128px; }
  .hero-logo { width: 92px; height: 92px; inset-inline-end: -8px; top: -14px; }
  .hero-logo img { width: 72px; }
  .hero-achv { inset-inline-start: 50%; transform: translateX(50%); bottom: -40px; width: max-content; max-width: calc(100vw - 40px); }
  .hero-achv:hover { transform: translateX(50%) translateY(-3px); }
  .hero-visual { width: min(100% - 24px, 330px); margin-bottom: 30px; }
  .stats { margin-top: -64px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-media { padding-inline-end: 0; padding-bottom: 0; }
  .leader { grid-template-columns: 1fr; text-align: center; padding: 26px 22px 28px; gap: 26px; }
  .leader .lead-photo { width: min(100%, 250px); margin-inline: auto; }
  .about-rules { position: relative; width: auto; margin: -40px 16px 0; }
  .stages { grid-template-columns: 1fr; }
  .campuses { grid-template-columns: 1fr; }
  .teachers { grid-template-columns: 1fr 1fr; gap: 14px; }
  .teacher { border-radius: 18px; }
  .teacher-info { padding: 12px; }
  .teacher-info h3 { font-size: 14.5px; margin-bottom: 6px; }
  .teacher-info h3 small { font-size: 11.5px; }
  .subject { font-size: 11.5px; padding: 4px 10px; }
  .teacher-link { opacity: 1; transform: none; width: 34px; height: 34px; top: 10px; inset-inline-end: 10px; }
  .masonry { columns: 2; column-gap: 12px; }
  .shot { margin-bottom: 12px; border-radius: 14px; }
  .posts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .post-body { padding: 10px 12px 14px; }
  .post-body h3 { font-size: 13.5px; }
  .mini-wins { grid-template-columns: 1fr 1fr; }
  .list-2 { columns: 1; }
  .board { padding: 10px; border-radius: 18px; }
  .row { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 8px; }
  .row .nm { font-size: 14.5px; }
  .tabs { border-radius: 18px; width: 100%; }
  .tab { flex: 1 1 auto; padding: 9px 12px; font-size: 13px; }
  .search { max-width: none; }
  .c-cards { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 30px; }
  .lb { grid-template-columns: 1fr; padding: 60px 8px 80px; }
  .lb .lb-prev, .lb .lb-next { position: absolute; bottom: 18px; }
  .lb .lb-prev { inset-inline-start: calc(50% - 64px); }
  .lb .lb-next { inset-inline-end: calc(50% - 64px); }
  .lb figure { height: calc(100dvh - 140px); }
  .brand img { width: 48px; }
  .brand-text b { font-size: 15px; }
  .brand-text small { font-size: 11.5px; }
  .nav { min-height: 68px; }
  .spot-visual { min-height: 380px; }
  .spot-visual img { max-height: 410px; }
  .laurel { width: 84px; }
  .win .score { font-size: 1.7rem; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .hero-points { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .announce, .topbar, .header, .fab, .lb, .maps, .filters { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero, .section-dark { color: #000; background: #fff; }
}
