/* ==========================================================================
   SDM Model School — design v3 "Four houses, morning sun"
   House colours (red, yellow, green, blue) mark each part of the site;
   the sun rays of the school emblem are the signature graphic.
   ========================================================================== */
:root {
  --ink: #16181d;
  --ink-2: #4b5260;
  --ink-3: #7d8494;
  --line: #e6e7eb;
  --soft: #f4f5f7;
  --paper: #ffffff;

  --red: #ef4136;  --red-soft: #fdebe9;  --red-deep: #b8261d;
  --sun: #ffb81c;  --sun-soft: #fff4d9;  --sun-deep: #9a6a00;
  --leaf: #1aa05b; --leaf-soft: #e3f5ea; --leaf-deep: #0f6e3c;
  --sky: #2f6fed;  --sky-soft: #e7eefd;  --sky-deep: #1f4fb8;

  --acc: var(--sky); --acc-soft: var(--sky-soft); --acc-deep: var(--sky-deep);

  --f-head: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1260px;
  --pad: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sh: 0 30px 60px -30px rgba(22, 24, 29, .35);
}
.h-red  { --acc: var(--red);  --acc-soft: var(--red-soft);  --acc-deep: var(--red-deep); }
.h-sun  { --acc: var(--sun);  --acc-soft: var(--sun-soft);  --acc-deep: var(--sun-deep); }
.h-leaf { --acc: var(--leaf); --acc-soft: var(--leaf-soft); --acc-deep: var(--leaf-deep); }
.h-sky  { --acc: var(--sky);  --acc-soft: var(--sky-soft);  --acc-deep: var(--sky-deep); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc-deep); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow > * { max-width: 900px; }
.lost .narrow { max-width: 900px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.i { flex: none; }
.rays { fill: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; font: 700 15.5px/1 var(--f-body); padding: 16px 26px; min-height: 52px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--ink, .btn--green, .btn--gold { background: var(--ink); color: #fff; }
.btn--ink:hover, .btn--green:hover, .btn--gold:hover { background: #000; color: #fff; box-shadow: 0 14px 28px -14px rgba(0,0,0,.6); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffc545; color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14.5px; }
.btn:disabled { opacity: .7; transform: none; cursor: progress; }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--ink); color: #fff; font-size: 14.5px; }
.ribbon__in { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.ribbon p { margin: 0; flex: 1; padding: 9px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.ribbon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255,184,28,.6); animation: pulse 2s infinite; }
.ribbon a { color: var(--sun); font-weight: 700; }
.ribbon a:hover { color: #fff; }
.ribbon__x { background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.ribbon__x:hover { opacity: 1; background: rgba(255,255,255,.1); }
.ribbon.is-hidden { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,184,28,0); } 100% { box-shadow: 0 0 0 0 rgba(255,184,28,0); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s var(--ease); }
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(22,24,29,.35); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { margin-right: auto; }
.brand img { height: 46px; width: auto; }
.header__act { display: flex; align-items: center; gap: 10px; }
.header__call { display: none; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.header__call .i { color: var(--leaf); }
.header__cta { min-height: 44px; padding: 12px 20px; font-size: 14.5px; }
.menu-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; position: relative; z-index: 70; }
.menu-btn__bars { width: 18px; height: 12px; position: relative; display: block; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__bars i:first-child { top: 1px; } .menu-btn__bars i:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.nav { position: fixed; inset: var(--navtop, 0px) 0 0 0; z-index: 45; background: #fff; padding: 12px var(--pad) 40px; border-top: 1px solid var(--line); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__list > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.nav__list > li > a { flex: 1; padding: 14px 0; font-family: var(--f-head); font-size: clamp(22px, 6vw, 30px); font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.nav.is-open .nav__list > li { animation: navIn .5s var(--ease) both; }
.nav.is-open .nav__list > li:nth-child(n+2) { animation-delay: .04s; } .nav.is-open .nav__list > li:nth-child(n+4) { animation-delay: .1s; }
.nav.is-open .nav__list > li:nth-child(n+6) { animation-delay: .16s; } .nav.is-open .nav__list > li:nth-child(n+8) { animation-delay: .22s; }
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } }
.nav a[aria-current="page"] { color: var(--sky); }
.sub-toggle { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.sub-toggle .i { transition: transform .3s var(--ease); }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub { display: none; width: 100%; padding: 0 0 14px !important; }
.sub.is-open { display: block; }
.sub a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav__foot { display: grid; gap: 10px; margin-top: 28px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.nav__phone .i { color: var(--leaf); }
.nav-open { overflow: hidden; }
.nav-scrim { display: none; }

@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .header__in { min-height: 88px; }
  .brand { margin-right: 0; }
  .brand img { height: 54px; }
  .header__call { display: inline-flex; }
  .nav { position: static; inset: auto; padding: 0; background: none; border: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; transition: none; margin: 0 auto; }
  .nav__foot { display: none; }
  .nav__list { display: flex; gap: 2px; }
  .nav__list > li { border: 0; flex-wrap: nowrap; position: relative; }
  .nav__list > li > a { font-family: var(--f-body); font-size: 15px; font-weight: 700; padding: 10px 12px; border-radius: 999px; letter-spacing: 0; transition: background .2s, color .2s; }
  .nav__list > li > a:hover { background: var(--soft); }
  .nav__list > li > a[aria-current="page"] { background: var(--ink); color: #fff; }
  .nav.is-open .nav__list > li { animation: none; }
  .sub-toggle { background: none; width: 22px; height: 22px; margin-left: -6px; }
  .sub { display: block; position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border-radius: var(--r); padding: 10px !important; box-shadow: 0 0 0 1px var(--line), var(--sh); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .sub.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .sub a { padding: 10px 14px; border-radius: 12px; }
  .sub a:hover { background: var(--soft); color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__school { display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin: 0 0 22px; }
.hero__school img { border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hero__slides { position: relative; }
.hero__slide.is-on { animation: textIn .8s var(--ease) both; }
@keyframes textIn { from { opacity: 0; transform: translateY(18px); } }
.hero__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(32px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 20px; text-wrap: balance; color: var(--ink); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 44ch; margin: 0 0 28px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero__ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.hero__ctrl button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero__count { font-weight: 700; color: var(--ink-3); font-size: 15px; min-width: 48px; text-align: center; }
.hero__count b { color: var(--ink); }

/* Photo deck */
.deck { position: relative; height: clamp(320px, 88vw, 460px); margin: 10px 8px 0; color: var(--sun); }
.deck .rays { position: absolute; width: 150%; max-width: 640px; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 0; opacity: .9; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.deck__card { position: absolute; inset: 6% 4% 6% 4%; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: 0 30px 60px -28px rgba(22,24,29,.55); border: 6px solid #fff; transition: transform .7s var(--ease), opacity .5s var(--ease); cursor: pointer; }
.deck__card picture, .deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card[data-pos="0"] { z-index: 4; transform: none; }
.deck__card[data-pos="1"] { z-index: 3; transform: translate(4%, -3%) rotate(4deg) scale(.96); }
.deck__card[data-pos="2"] { z-index: 2; transform: translate(-5%, 2%) rotate(-5deg) scale(.92); }
.deck__card[data-pos="3"] { z-index: 1; transform: rotate(2deg) scale(.88); opacity: 0; }
.deck__card.is-out { animation: dealOut .7s var(--ease) both; z-index: 5; }
@keyframes dealOut { 0% { transform: none; opacity: 1; } 55% { transform: translate(-70%, 6%) rotate(-14deg); opacity: 1; } 100% { transform: rotate(2deg) scale(.88); opacity: 0; } }
.facts-row { list-style: none; margin: 36px 0 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--line); }
.facts-row li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.facts-row li:nth-child(1) .i { color: var(--red); } .facts-row li:nth-child(2) .i { color: var(--leaf); } .facts-row li:nth-child(3) .i { color: var(--sky); }
.facts-row a { color: var(--ink); text-decoration: none; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .deck { height: 540px; margin: 0; }
  .deck__card { inset: 8% 6%; }
}

/* ---------- Notice ticker ---------- */
.ticker { background: var(--ink); color: #fff; }
.ticker__in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-body); font-size: 14px; font-weight: 800; color: var(--ink); background: var(--sun); padding: 8px 14px; border-radius: 999px; letter-spacing: 0; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239,65,54,.6); animation: pulseR 2s infinite; }
@keyframes pulseR { 70% { box-shadow: 0 0 0 8px rgba(239,65,54,0); } 100% { box-shadow: 0 0 0 0 rgba(239,65,54,0); } }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.ticker__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; }
.ticker__track.is-moving { animation: tick var(--dur, 40s) linear infinite; }
.ticker__view:hover .ticker__track, .ticker__view:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__track li { flex: none; }
.ticker__track a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 18px 0; font-weight: 600; white-space: nowrap; }
.ticker__track a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.ticker__track time { color: var(--sun); font-weight: 800; font-size: 14px; }
.ticker__all { flex: none; color: #fff; font-weight: 700; font-size: 14px; display: none; }
.ticker__all:hover { color: var(--sun); }
@media (min-width: 720px) { .ticker__all { display: inline; } }
.ticker .tag--new { background: rgba(255,255,255,.14); color: #fff; }
.ticker .tag--file { background: rgba(255,255,255,.14); color: #fff; }

.tag { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; line-height: 1.3; vertical-align: middle; }
.tag--new { background: var(--sun-soft); color: var(--sun-deep); }
.tag--pin { background: var(--red); color: #fff; }
.tag--file { background: var(--sky-soft); color: var(--sky-deep); }
.tag--soon { background: var(--acc); color: #fff; }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.sec--tint { background: var(--acc-soft); }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.sec__head .h-sec { margin: 0; }
.h-sec { font-size: clamp(28px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; position: relative; padding-bottom: 18px; text-wrap: balance; }
.h-sec::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 6px; border-radius: 6px; background: var(--acc); }
.h-sm { font-size: 22px; }
.lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; font-weight: 500; }
.link-more { font-weight: 800; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; }
.link-more::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more:hover::after { transform: translateX(4px); }
.h-sun .link-more::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }

/* ---------- Intro ---------- */
.intro { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 26px; max-width: 34em; }
.intro__img { position: relative; margin: 0; }
.intro__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.intro__img::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -14px; bottom: -14px; border-radius: var(--r-lg); background: var(--leaf); z-index: -1; }
.intro__img::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; left: -14px; top: -14px; border-radius: 50%; background: var(--sun); z-index: -1; }
.intro .h-sec { --acc: var(--red); }
.pillars { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillars li { position: relative; padding: 26px 24px 24px; border-radius: var(--r); background: var(--acc-soft); display: grid; gap: 6px; overflow: hidden; transition: transform .4s var(--ease); }
.pillars li:hover { transform: translateY(-4px); }
.pillars li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--acc); }
.pillars img { width: 48px; margin-bottom: 8px; }
.pillars b { font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.pillars span { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 80px; } .pillars { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Labs: expanding panels ---------- */
.panels { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scrollbar-width: none; }
.panels::-webkit-scrollbar { display: none; }
.panel { position: relative; display: block; height: 420px; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; background: var(--ink); isolation: isolate; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,24,29,0) 40%, rgba(22,24,29,.85)); }
.panel__body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.panel__name { font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.panel__sum { font-size: 15px; color: #e7e9ee; line-height: 1.5; }
.panel:hover img { transform: scale(1.06); }
@media (min-width: 960px) {
  .panels { display: flex; overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .panel { flex: 1 1 0; min-width: 0; height: 480px; transition: flex-grow .7s var(--ease); }
  .panel.is-open, .panel:hover, .panel:focus-visible { flex-grow: 3.2; }
  .panels:hover .panel.is-open:not(:hover) { flex-grow: 1; }
  .panel__name { white-space: nowrap; }
  .panel__sum { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), max-height .5s var(--ease); max-width: 36ch; }
  .panel.is-open .panel__sum, .panel:hover .panel__sum { opacity: 1; max-height: 9em; transform: none; transition-delay: .2s; }
  .panels:hover .panel.is-open:not(:hover) .panel__sum { opacity: 0; max-height: 0; transition-delay: 0s; }
  .panel:not(.is-open):not(:hover) .panel__name, .panels:hover .panel.is-open:not(:hover) .panel__name { font-size: 17px; white-space: normal; }
}

/* ---------- Events + activities ---------- */
.happen { display: grid; gap: 72px; }
@media (min-width: 1000px) { .happen { grid-template-columns: 1fr 1fr; gap: 80px; } }
.evlist { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 78px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.ev:last-child { border-bottom: 1px solid var(--line); }
.ev__date { display: grid; place-items: center; align-content: center; width: 78px; height: 78px; border-radius: 20px; background: var(--acc-soft); color: var(--acc-deep); font-weight: 800; font-size: 13px; line-height: 1; gap: 4px; transition: background .3s, color .3s, transform .4s var(--ease); }
.ev__date b { font-family: var(--f-head); font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.ev:hover .ev__date, .ev--soon .ev__date { background: var(--acc); color: #fff; }
.ev:hover .ev__date { transform: rotate(-6deg); }
.ev__body { display: grid; align-content: center; gap: 6px; }
.ev__body .tag { justify-self: start; }
.ev h3 { font-size: 19px; margin: 0; line-height: 1.3; letter-spacing: -.02em; }
.ev h3 a { color: var(--ink); text-decoration: none; }
.ev h3 a:hover { color: var(--acc-deep); }
.ev__meta { margin: 0; color: var(--ink-2); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ev__meta span { display: inline-flex; align-items: center; gap: 5px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.act { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.act__img { display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--acc-soft); transition: border-radius .5s var(--ease); }
.act__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.act:hover .act__img { border-radius: 50%; }
.act:hover .act__img img { transform: scale(1.08); }
.act__t { font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }

/* ---------- Gallery reel ---------- */
.reel { padding: clamp(64px, 9vw, 120px) 0; background: var(--ink); overflow: hidden; }
.reel .h-sec, .reel .link-more { color: #fff; }
.reel__row { overflow: hidden; margin-bottom: 14px; }
.reel__track { display: flex; gap: 14px; width: max-content; animation: tick 60s linear infinite; }
.reel__row--rev .reel__track { animation-direction: reverse; animation-duration: 70s; }
.reel__row:hover .reel__track { animation-play-state: paused; }
.reel__item { flex: none; width: clamp(220px, 26vw, 340px); aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #22252c; }
.reel__row--rev .reel__item { width: clamp(180px, 20vw, 260px); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.9); }
.reel__item:hover img { transform: scale(1.08); filter: saturate(1.15); }

/* ---------- News magazine ---------- */
.mag { display: grid; gap: 28px; }
.mag__lead { display: grid; gap: 22px; color: var(--ink); text-decoration: none; }
.mag__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.mag__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mag__lead:hover .mag__img img { transform: scale(1.04); }
.mag__body { display: grid; gap: 10px; align-content: start; }
.mag time { color: var(--acc-deep); font-weight: 800; font-size: 14px; }
.mag__t { font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.mag__lead:hover .mag__t { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--acc); text-underline-offset: 6px; }
.mag__sum { color: var(--ink-2); }
.mag__list { list-style: none; margin: 0; padding: 0; }
.mag__list a { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mag__list span { font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.mag__list a:hover span { color: var(--acc-deep); }
@media (min-width: 960px) {
  .mag { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .mag--one .mag__lead { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
}

/* ---------- Enquiry band ---------- */
.cta { position: relative; overflow: hidden; background: var(--sun); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0; }
.cta > .rays { position: absolute; width: 820px; aspect-ratio: 1; right: -330px; top: calc(50% - 410px); color: #fff; opacity: .45; animation: spin2 120s linear infinite; }
@keyframes spin2 { to { transform: rotate(-360deg); } }
@media (max-width: 900px) { .cta > .rays { width: 560px; right: -300px; top: -200px; } }
.cta__grid { display: grid; gap: 36px; position: relative; }
.cta .h-sec { --acc: var(--ink); max-width: 11ch; }
.cta__text p { max-width: 40ch; font-size: 18px; font-weight: 600; }
.cta__phones { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.cta__phones a { color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.cta__phones a:hover { text-decoration: underline; text-underline-offset: 5px; }
.cta .enq { background: #fff; padding: clamp(22px, 3.2vw, 38px); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(80,50,0,.55); }
@media (min-width: 960px) { .cta__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; } }

/* ---------- Forms ---------- */
.enq__grid { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 600px) { .enq__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field span { font-weight: 700; font-size: 14px; }
.field em { font-weight: 500; color: var(--ink-3); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: 14px; padding: 13px 15px; min-height: 54px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 700; font-size: 15px; animation: textIn .5s var(--ease) both; }
.alert--ok { background: var(--leaf-soft); color: var(--leaf-deep); }
.alert--err { background: var(--red-soft); color: var(--red-deep); }
.enq button[type=submit] { width: 100%; }
@media (min-width: 600px) { .enq button[type=submit] { width: auto; min-width: 210px; } }

/* ---------- Inner page head ---------- */
.phead { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phead__rays { position: absolute; width: 520px; aspect-ratio: 1; right: -170px; top: -230px; color: var(--acc); opacity: .9; animation: spin 90s linear infinite; }
.phead .wrap { position: relative; }
.phead h1 { font-size: clamp(30px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; margin: 16px 0 0; max-width: 20ch; text-wrap: balance; animation: textIn .8s var(--ease) both; }
.phead__lead { margin: 20px 0 0; color: var(--ink-2); max-width: 60ch; font-size: clamp(17px, 1.7vw, 20px); animation: textIn .8s var(--ease) .1s both; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { color: var(--acc-deep); }
@media (max-width: 700px) { .phead__rays { width: 300px; right: -150px; top: -150px; opacity: .6; } }

/* ---------- Cards (listings) ---------- */
.grid { display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { position: relative; display: grid; gap: 16px; align-content: start; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--acc-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--acc); }
.datechip { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--acc); color: #fff; font-weight: 800; font-size: 12px; line-height: 1; gap: 2px; }
.h-sun .datechip { color: var(--ink); }
.datechip b { font-family: var(--f-head); font-size: 22px; font-weight: 700; }
.card__count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; background: #fff; color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.card__body { display: grid; gap: 6px; }
.card__meta { margin: 0; font-size: 14px; font-weight: 800; color: var(--acc-deep); display: flex; gap: 6px; align-items: center; }
.card__title { font-size: 19px; margin: 0; line-height: 1.3; letter-spacing: -.02em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--acc); text-underline-offset: 5px; }
.card__sum { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- Albums ---------- */
.albums { display: grid; gap: 44px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.album { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.album__img { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; isolation: isolate; }
.album__img::before, .album__img::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); z-index: -1; transition: transform .5s var(--ease); }
.album__img::before { background: var(--sun); transform: rotate(-4deg); }
.album__img::after { background: var(--leaf); transform: rotate(3deg); }
.album:hover .album__img::before { transform: rotate(-9deg) translate(-10px, 4px); }
.album:hover .album__img::after { transform: rotate(8deg) translate(10px, 2px); }
.album__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); transition: transform .5s var(--ease); }
.album:hover .album__img img { transform: translateY(-6px); }
.album__t { font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.album__m { color: var(--ink-3); font-weight: 700; font-size: 14px; }

/* ---------- Detail ---------- */
.detail { display: grid; gap: 56px; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; } .detail--album { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--acc-soft); }
.facts .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--acc); color: #fff; }
.h-sun .facts .i { color: var(--ink); }
.facts b { display: block; font-size: 12.5px; color: var(--ink-2); }
.facts span { font-weight: 800; line-height: 1.35; }
.detail__cover { margin: 0 0 30px; border-radius: var(--r-lg); overflow: hidden; }
.prose { max-width: 70ch; font-size: 17.5px; line-height: 1.8; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--acc); font-weight: 800; }
.prose a { color: var(--ink); text-decoration-color: var(--acc); text-decoration-thickness: 2px; font-weight: 700; }
.prose img { border-radius: var(--r); margin: 1.2em 0; }
.prose blockquote { margin: 1.8em 0; padding: 28px 30px; border-radius: var(--r-lg); background: var(--acc-soft); font-family: var(--f-head); font-weight: 500; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; letter-spacing: -.02em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; }
.photos { display: grid; gap: 10px; margin: 32px 0; grid-template-columns: repeat(2, 1fr); }
.photos__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.photos__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photos__item:hover img { transform: scale(1.05); }
.photos--1 { grid-template-columns: 1fr; }
.photos--1 .photos__item { aspect-ratio: 16 / 10; }
.photos--3 .photos__item:first-child, .photos--5 .photos__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 720px) {
  .photos { gap: 14px; }
  .photos--4 { grid-template-columns: repeat(3, 1fr); }
  .photos--4 .photos__item:first-child { grid-column: span 3; aspect-ratio: 16 / 8; }
  .photos--5 { grid-template-columns: repeat(4, 1fr); }
  .photos--5 .photos__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .detail--album .photos { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .detail--album .photos .photos__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
.side__h { font-size: 20px; margin: 0 0 18px; }
.detail__side { display: grid; gap: 14px; align-content: start; }
@media (min-width: 1000px) { .detail__side { position: sticky; top: 120px; } }
.mini { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 8px; margin: 0 -8px; border-radius: var(--r); transition: background .2s; }
.mini:hover { background: var(--acc-soft); }
.mini__img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--soft); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__t { font-weight: 800; line-height: 1.3; font-size: 15.5px; }
.mini__t small { display: block; color: var(--ink-3); font-weight: 700; font-size: 13px; margin-top: 4px; }
.more-albums { margin-top: 72px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.share__label { font-weight: 800; margin-right: 6px; }
.share a, .share button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.share--wa:hover { background: #1fa855 !important; } .share--fb:hover { background: #1877f2 !important; } .share--in:hover { background: #0a66c2 !important; }
.share button.is-copied { background: var(--sun); color: var(--ink); }

/* ---------- Notices ---------- */
.nlist { list-style: none; margin: 0; padding: 0; }
.nitem { display: grid; grid-template-columns: 78px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.nitem:last-child { border-bottom: 1px solid var(--line); }
.nitem--pin .ev__date { background: var(--red); color: #fff; }
.nitem__tags { display: flex; gap: 6px; margin: 0 0 6px; }
.nitem__tags:empty { display: none; }
.nitem h2 { font-size: clamp(18px, 2vw, 22px); margin: 0 0 4px; line-height: 1.3; }
.nitem__date { color: var(--ink-3); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.nitem .prose { font-size: 16.5px; line-height: 1.7; }
.nitem .prose p:last-child { margin: 0; }
.nitem__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 44px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cinfo li { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--acc-soft); }
.cinfo .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--acc); color: #fff; flex: none; }
.cinfo li.h-sun .i { color: var(--ink); }
.cinfo b { display: block; font-size: 13px; color: var(--ink-2); }
.cinfo span { font-weight: 700; }
.cinfo a { color: var(--ink); }
.contact__form { border-radius: var(--r-lg); padding: clamp(22px, 3.2vw, 40px); box-shadow: 0 0 0 1px var(--line), var(--sh); align-self: start; }
.map { margin-top: 64px; border-radius: var(--r-lg); overflow: hidden; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Static pages ---------- */
.page { display: grid; gap: 44px; }
@media (min-width: 1000px) { .page--img { grid-template-columns: minmax(0, 1.3fr) .7fr; gap: 80px; align-items: start; } }
.page__img { margin: 0; position: sticky; top: 120px; }
.page__img img { border-radius: var(--r-lg); }
.page__img::after { content: ""; display: block; height: 10px; margin-top: 12px; border-radius: 10px; background: linear-gradient(90deg, var(--red) 25%, var(--sun) 25% 50%, var(--leaf) 50% 75%, var(--sky) 75%); }

/* ---------- 404 ---------- */
.lost { position: relative; overflow: hidden; text-align: center; }
.lost__rays { position: absolute; width: 700px; aspect-ratio: 1; left: 50%; top: -260px; transform: translateX(-50%); color: var(--sun); opacity: .6; }
.lost .wrap { position: relative; }
.lost__code { font-family: var(--f-head); font-weight: 700; font-size: clamp(80px, 16vw, 180px); line-height: 1; margin: 0 0 10px; letter-spacing: -.06em; }
.lost h1 { font-size: clamp(22px, 3vw, 32px); }
.links404 { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Misc ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 56px; }
.pager a, .pager span { min-width: 48px; height: 48px; padding: 0 16px; display: grid; place-items: center; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 800; color: var(--ink); transition: background .2s, color .2s; }
.pager a:hover { background: var(--ink); color: #fff; }
.pager [aria-current] { background: var(--acc); color: #fff; }
.pager .gap { background: none; }
.empty { text-align: center; padding: 64px 20px; color: var(--ink-2); }
.empty .i { color: var(--acc); margin: 0 auto 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b6bbc6; font-size: 15px; }
.houses { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; border-top: 6px solid var(--ink); box-sizing: content-box; }
.houses i:nth-child(1) { background: var(--red); } .houses i:nth-child(2) { background: var(--sun); }
.houses i:nth-child(3) { background: var(--leaf); } .houses i:nth-child(4) { background: var(--sky); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__word { font-family: var(--f-head); font-weight: 700; color: #fff; font-size: clamp(30px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.footer__top .btn:hover { color: var(--ink); }
.footer__grid { display: grid; gap: 40px; padding: 48px 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer__about img { background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 16px; }
.footer__h { color: #fff; font-family: var(--f-body); font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__addr { font-style: normal; }
.footer__addr p { display: flex; gap: 12px; }
.footer__addr .i { color: var(--sun); margin-top: 4px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, color .2s; }
.footer__social a:hover { background: var(--sun); color: var(--ink); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__base p { margin: 0; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* Mobile dock */
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; gap: 4px; padding: 5px; background: var(--ink); border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); animation: dockIn .7s var(--ease) .6s both; }
@keyframes dockIn { from { transform: translateY(130%); } }
.dock a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px 7px; font-size: 12px; font-weight: 800; color: #fff; text-decoration: none; border-radius: 17px; }
.dock .dock__main { background: var(--sun); color: var(--ink); }
body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .dock { display: none; } body { padding-bottom: 0; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,13,16,.96); display: grid; grid-template-rows: 1fr auto; padding: 56px 12px 18px; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 12px; }
.lb__fig { margin: 0; display: grid; min-height: 0; }
.lb__cap { color: #e7e9ee; text-align: center; padding: 12px 56px 0; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 22px; }
.lb button:hover { background: var(--sun); color: var(--ink); }
.lb__x { top: 12px; right: 12px; }
.lb__p { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__n { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- CBSE mandatory disclosure ---------- */

.disc__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.disc__nav a { padding: 9px 16px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.disc__nav a:hover { background: var(--ink); color: #fff; }
.disc__updated { color: var(--ink-3); font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.disc__sec { margin-top: 44px; scroll-margin-top: 110px; }
.disc__sec h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin-bottom: 16px; }
.disc__table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; font-size: 15.5px; }
.disc__table thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; font-size: 14px; padding: 13px 18px; }
.disc__table td, .disc__table tbody th { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.disc__table tbody tr:first-child td, .disc__table tbody tr:first-child th { border-top: 0; }
.disc__table tbody tr:nth-child(even) { background: #fafafb; }
.disc__table tbody tr { transition: background .2s; }
.disc__table tbody tr:hover { background: var(--sky-soft); }
.disc__no { width: 76px; text-align: center !important; color: var(--ink-3); font-weight: 700; }
.disc__label { font-weight: 600; color: var(--ink); width: 48%; }
.disc__val { color: var(--ink-2); }
.disc__val span { display: block; }
.disc__val span + .disc__doc { margin-top: 8px; }
.disc__val a:not(.disc__doc) { word-break: break-word; }
.disc__na { color: var(--ink-3); }
.disc__doc { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, color .2s, transform .25s var(--ease); }
.disc__doc:hover { background: var(--sky); color: #fff; transform: translateY(-2px); }
@media (max-width: 720px) {
  .disc__nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 14px; padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .disc__nav::-webkit-scrollbar { display: none; }
  .disc__nav a { flex: none; }
  .disc__table, .disc__table tbody, .disc__table tr, .disc__table td, .disc__table th { display: block; width: auto; }
  .disc__table thead { display: none; }
  .disc__table { border: 0; background: none; border-radius: 0; overflow: visible; }
  .disc__table tbody { display: grid; gap: 10px; }
  .disc__table tbody tr { display: grid; grid-template-columns: 34px 1fr; background: #fff !important; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; column-gap: 8px; }
  .disc__table td, .disc__table tbody th { border: 0; padding: 0; }
  .disc__no { width: auto; text-align: left !important; grid-row: span 2; font-size: 14px; padding-top: 1px !important; }
  .disc__label { width: auto; margin-bottom: 6px; font-size: 15.5px; line-height: 1.4; }
}
@media print { .disc__nav, .disc__doc svg { display: none; } .disc__table tbody tr:hover { background: none; } }


/* ---------- Scroll reveal (enabled by site.js) ---------- */
.rv-on .rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv-on .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv-on .rv { opacity: 1; transform: none; }
  .reel__row { overflow-x: auto; }
}
@media print { .ribbon, .header, .footer, .dock, .share, .cta, .ticker { display: none !important; } }

/* Narrow-phone safety: grid/flex children may shrink, long words (emails, links) wrap */
.contact > *, .detail > *, .page > *, .intro__grid > *, .hero__grid > *, .happen > *, .cta__grid > *, .mag > *, .enq__grid > *, .footer__grid > * { min-width: 0; }
.cinfo span, .footer__addr span, .facts span, .disc__val, .mini__t, .prose { overflow-wrap: anywhere; }
.ribbon a { display: inline-block; padding: 6px 0; }
