/* ============================================================
   style8.css — Site8 "Sky of Dreams"
   Bright sunrise palette, wide display type, paper-airplane motif.
   Motion is progressive: content is only pre-hidden once JS runs
   (.s8-js) and is always revealed by .s8-failsafe.
   ============================================================ */

/* ---- Tokens ---- */
:root {
    --s8-brand: #3d5afe;             /* overridden by navbar_bg_color */
    --s8-blue: var(--s8-brand);
    --s8-coral: #ff6a4d;
    --s8-sun: #ffc23d;
    --s8-mint: #19c39a;
    --s8-lilac: #9b7bff;
    --s8-ink: #121535;
    --s8-text: #1d2148;
    --s8-body: #454a6e;
    --s8-muted: #6d7294;
    --s8-cream: #fbf8f2;
    --s8-tint: #f2f0fb;
    --s8-white: #ffffff;
    --s8-border: #e8e5f2;
    --s8-radius: 28px;
    --s8-radius-sm: 18px;
    --s8-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --s8-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --s8-shadow: 0 1px 2px rgba(18, 21, 53, 0.04), 0 18px 40px -22px rgba(18, 21, 53, 0.25);
    --s8-shadow-pop: 0 30px 60px -30px rgba(18, 21, 53, 0.4);
    --s8-font: 'Anek Bangla', system-ui, sans-serif;

    /* Aliases used inline by the shared inner pages */
    --s8-navy: var(--s8-ink);
    --s8-teal: var(--s8-blue);
    --s8-teal-dark: var(--s8-blue);
    --s8-gold: var(--s8-sun);
    --s8-green: var(--s8-mint);
    --s8-accent: var(--s8-coral);
    --s8-bg: var(--s8-tint);
    --s8-card: var(--s8-white);
    --s8-paper: var(--s8-cream);
}

/* Colour "tones" used by cards, chips and dates */
.s8-tone-blue { --tone: var(--s8-blue); --tone-soft: #e8ecff; --tone-ink: #fff; }
.s8-tone-coral { --tone: var(--s8-coral); --tone-soft: #ffe9e3; --tone-ink: #fff; }
.s8-tone-sun { --tone: var(--s8-sun); --tone-soft: #fff3d1; --tone-ink: var(--s8-ink); }
.s8-tone-mint { --tone: var(--s8-mint); --tone-soft: #dcf7ef; --tone-ink: #fff; }
.s8-tone-lilac { --tone: var(--s8-lilac); --tone-soft: #efe9ff; --tone-ink: #fff; }

/* ---- Base ---- */
body.s8-body {
    margin: 0;
    background: var(--s8-cream);
    color: var(--s8-text);
    font-family: var(--s8-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    top: 0 !important;
}
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; }
.s8-body a { text-decoration: none; color: inherit; }
.s8-body ::selection { background: var(--s8-sun); color: var(--s8-ink); }
.s8-main { display: block; overflow-x: hidden; overflow-x: clip; }
/* Lenis drives scrolling; Bootstrap's scroll-behavior: smooth would fight it and make the wheel lag */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }
html.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.s8-body img { max-width: 100%; }

/* ---- Progressive reveal states ---- */
.s8-js [data-s8-reveal], .s8-js [data-aos], .s8-js [data-s8-stagger] > * { opacity: 0; }
.s8-js [data-s8-mask] { clip-path: inset(100% 0 0 0 round 28px); }
.s8-js [data-s8-split]:not(.is-split) { visibility: hidden; }
.s8-failsafe [data-s8-reveal], .s8-failsafe [data-aos], .s8-failsafe [data-s8-stagger] > * { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.s8-failsafe [data-s8-mask] { clip-path: none !important; }
.s8-failsafe [data-s8-split] { visibility: visible !important; }
.s8-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.s8-char { display: inline-block; will-change: transform; }

/* ---- Typography ---- */
.s8-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--s8-blue);
}
.s8-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s8-coral); box-shadow: 0 0 0 4px rgba(255, 106, 77, 0.2); }
.s8-eyebrow--light { color: #fff; }
.s8-eyebrow--light::before { background: var(--s8-sun); box-shadow: 0 0 0 4px rgba(255, 194, 61, 0.3); }

.s8-heading {
    margin: 0;
    font-weight: 800;
    font-stretch: 118%;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--s8-ink);
}

/* Marker highlight that "draws" itself in */
.s8-hl {
    --hl: rgba(61, 90, 254, 0.22);
    background-image: linear-gradient(var(--hl), var(--hl));
    background-repeat: no-repeat;
    background-position: 0 88%;
    background-size: 0% 0.42em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.08em;
    transition: background-size 1.1s var(--s8-ease) 0.2s;
}
.s8-hl.is-drawn, .s8-failsafe .s8-hl, .s8-no-js .s8-hl { background-size: 100% 0.42em; }
.s8-hl--sun { --hl: rgba(255, 194, 61, 0.55); }
.s8-hl--coral { --hl: rgba(255, 106, 77, 0.3); }
.s8-hl--mint { --hl: rgba(25, 195, 154, 0.32); }
.s8-hl--lilac { --hl: rgba(155, 123, 255, 0.32); }

.s8-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--s8-blue) !important; transition: gap 0.3s var(--s8-ease); }
.s8-link i { font-size: 0.8em; }
.s8-link:hover, a:hover > .s8-link { gap: 12px; }

.s8-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--tone-soft, #e8ecff); color: var(--tone, var(--s8-blue)); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; }
.s8-tone-sun .s8-tag { color: #9a6a00; }
.s8-tag--light { background: rgba(255, 255, 255, 0.9); color: var(--s8-ink); }

/* ---- Buttons ---- */
.s8-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--s8-font);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--s8-ease);
}
.s8-btn i { font-size: 0.9em; }
.s8-btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.s8-btn-ink { background: var(--s8-ink); color: #fff !important; box-shadow: 0 12px 26px -14px rgba(18, 21, 53, 0.7); }
.s8-btn-ink:hover { background: var(--s8-blue); box-shadow: 0 16px 30px -14px rgba(61, 90, 254, 0.7); }
.s8-btn-tone { background: var(--tone); color: var(--tone-ink) !important; box-shadow: 0 12px 26px -16px var(--tone); }
.s8-btn-tone:hover { transform: translateY(-2px); filter: saturate(1.15); }
.s8-btn-ghost { background: rgba(255, 255, 255, 0.75); border-color: rgba(18, 21, 53, 0.12); color: var(--s8-ink) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.s8-btn-ghost:hover { background: #fff; border-color: var(--s8-ink); }
.s8-btn-light { background: #fff; color: var(--s8-ink) !important; }
.s8-btn-light:hover { background: var(--s8-sun); }
.s8-btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff !important; }
.s8-btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.s8-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--s8-dot, var(--s8-blue)); }

.s8-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); color: var(--s8-ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 18px -12px rgba(18, 21, 53, 0.4); }
.s8-chip i { color: var(--s8-coral); }
.s8-chip--ghost { background: transparent; border: 1.5px solid rgba(18, 21, 53, 0.14); box-shadow: none; }

/* ============================================================
   CHROME: preloader, curtain, cursor, progress, to-top
   ============================================================ */
.s8-preloader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: linear-gradient(180deg, #d6e6ff, #fde9dc 70%, var(--s8-cream)); transition: opacity 0.4s, visibility 0.4s; }
.s8-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.s8-seen .s8-preloader, .s8-no-js .s8-preloader, .s8-entering .s8-preloader { display: none; }
.s8-preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.s8-preloader-inner img { width: 88px; height: 88px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; box-shadow: var(--s8-shadow-pop); animation: s8-float 3s ease-in-out infinite; }
.s8-preloader-num { font-weight: 800; font-stretch: 125%; font-size: 3.4rem; line-height: 1; color: var(--s8-ink); font-variant-numeric: tabular-nums; }
.s8-preloader-bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(18, 21, 53, 0.1); overflow: hidden; }
.s8-preloader-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--s8-blue), var(--s8-coral), var(--s8-sun)); transform: scaleX(0); transform-origin: 0 50%; }

.s8-curtain { position: fixed; inset: 0; z-index: 2500; pointer-events: none; }
.s8-curtain-panel { position: absolute; inset: 0; transform: translateY(100%); }
.s8-curtain-panel--1 { background: var(--s8-sun); }
.s8-curtain-panel--2 { background: var(--s8-coral); }
.s8-curtain-panel--3 { background: var(--s8-blue); }
.s8-entering .s8-curtain-panel { transform: translateY(0); }
.s8-failsafe .s8-curtain-panel { transform: translateY(100%) !important; }

.s8-cursor { position: fixed; left: 0; top: 0; z-index: 2600; pointer-events: none; display: none; }
.s8-has-cursor .s8-cursor { display: block; }
.s8-cursor-dot, .s8-cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
.s8-cursor-dot { width: 7px; height: 7px; background: var(--s8-ink); }
.s8-cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(18, 21, 53, 0.35); display: grid; place-items: center; transition: width 0.35s var(--s8-ease), height 0.35s var(--s8-ease), background 0.3s, border-color 0.3s; }
.s8-cursor-ring span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.2s; }
.s8-cursor.is-hover .s8-cursor-ring { width: 62px; height: 62px; background: rgba(61, 90, 254, 0.1); border-color: transparent; }
.s8-cursor.is-label .s8-cursor-ring { width: 84px; height: 84px; background: var(--s8-ink); border-color: transparent; }
.s8-cursor.is-label .s8-cursor-ring span { opacity: 1; }
.s8-cursor.is-label .s8-cursor-dot { opacity: 0; }
.s8-cursor.is-gone { opacity: 0; }

.s8-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100; pointer-events: none; }
.s8-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--s8-blue), var(--s8-coral), var(--s8-sun)); transform: scaleX(0); transform-origin: 0 50%; }

.s8-to-top { position: fixed; right: 20px; bottom: 22px; z-index: 1040; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--s8-ink); color: #fff; box-shadow: var(--s8-shadow-pop); opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9); transition: 0.4s var(--s8-ease); }
.s8-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.s8-to-top:hover { background: var(--s8-blue); }

/* ============================================================
   HEADER
   ============================================================ */
.s8-strip { background: var(--s8-ink); color: #c9cde6; font-size: 0.8rem; position: relative; z-index: 1031; }
.s8-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.s8-strip-group { display: flex; align-items: center; gap: 18px; }
.s8-strip-group a, .s8-strip-group span { display: inline-flex; align-items: center; gap: 7px; color: #c9cde6; }
.s8-strip-group a:hover { color: var(--s8-sun); }
.s8-strip-group i { color: var(--s8-sun); font-size: 0.72rem; }
.s8-lang-switcher { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.25); }
.s8-lang-switcher button { border: 0; background: transparent; color: #c9cde6; font-size: 0.72rem; font-weight: 700; padding: 3px 11px; cursor: pointer; }
.s8-lang-switcher button.lang-active { background: var(--s8-sun); color: var(--s8-ink); }

.s8-nav-wrap { position: sticky; top: 0; z-index: 1030; padding: 12px 0; margin-bottom: -88px; transition: transform 0.5s var(--s8-ease); pointer-events: none; }
.s8-nav-wrap > nav { pointer-events: auto; }
.s8-nav-wrap.is-hidden { transform: translateY(-120%); }
.s8-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 30px -18px rgba(18, 21, 53, 0.35);
    transition: box-shadow 0.4s, padding 0.4s var(--s8-ease);
}
.s8-nav-wrap.is-scrolled .s8-nav { box-shadow: 0 18px 40px -20px rgba(18, 21, 53, 0.45); }
.s8-nav-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.s8-nav-brand img { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; box-shadow: 0 0 0 2px var(--s8-sun); }
.s8-nav-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.s8-nav-brand-text b { max-width: 230px; font-weight: 800; font-stretch: 108%; font-size: 0.98rem; line-height: 1.2; color: var(--s8-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s8-nav-brand-text small { font-size: 0.72rem; color: var(--s8-muted); white-space: nowrap; }

.s8-menu-desktop { list-style: none; margin: 0 auto; padding: 0; align-items: center; gap: 2px; }
.s8-menu-desktop > li { position: relative; }
.s8-menu-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border: 0; border-radius: 999px; background: transparent; color: var(--s8-ink); font-family: var(--s8-font); font-weight: 600; font-size: 0.94rem; cursor: pointer; transition: background 0.25s, color 0.25s; }
.s8-menu-link i { font-size: 0.65rem; transition: transform 0.3s; }
.s8-menu-link:hover, .s8-has-drop:hover > .s8-menu-link, .s8-has-drop.is-open > .s8-menu-link { background: var(--s8-tint); }
.s8-menu-link.is-active { background: var(--s8-ink); color: #fff; }
.s8-has-drop:hover > .s8-menu-link i, .s8-has-drop.is-open > .s8-menu-link i { transform: rotate(180deg); }
.s8-drop { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 270px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: var(--s8-shadow-pop); border: 1px solid var(--s8-border); opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(0.98); transition: opacity 0.25s, visibility 0.25s, transform 0.35s var(--s8-ease); }
.s8-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.s8-has-drop:hover .s8-drop, .s8-has-drop.is-open .s8-drop, .s8-has-drop:focus-within .s8-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.s8-drop ul { list-style: none; margin: 0; padding: 0; }
.s8-drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; font-weight: 600; font-size: 0.92rem; color: var(--s8-ink); transition: background 0.2s; }
.s8-drop a i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--s8-tint); color: var(--s8-blue); font-size: 0.78rem; flex-shrink: 0; transition: 0.25s; }
.s8-drop a:hover { background: var(--s8-tint); }
.s8-drop a:hover i { background: var(--s8-blue); color: #fff; }

.s8-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.s8-burger { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--s8-ink); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.s8-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.4s var(--s8-ease); }
.s8-menu-open .s8-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.s8-menu-open .s8-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.s8-menu-open .s8-nav-wrap { transform: none !important; }

.s8-overlay { position: fixed; inset: 0; z-index: 1025; overflow-y: auto; background: var(--s8-cream); transform: translateY(-100%); transition: transform 0.7s var(--s8-ease); }
.s8-menu-open .s8-overlay { transform: none; }
.s8-overlay-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.s8-overlay-sky i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.s8-overlay-sky i:nth-child(1) { width: 320px; height: 320px; background: #b9d3ff; top: -60px; right: -80px; }
.s8-overlay-sky i:nth-child(2) { width: 260px; height: 260px; background: #ffd2c2; bottom: 10%; left: -80px; }
.s8-overlay-sky i:nth-child(3) { width: 200px; height: 200px; background: #ffe7a6; bottom: -40px; right: 10%; }
.s8-overlay-inner { position: relative; padding: 124px 22px 40px; }
.s8-overlay-menu { list-style: none; margin: 0; padding: 0; }
.s8-overlay-item { border-bottom: 1px solid rgba(18, 21, 53, 0.1); }
.s8-overlay-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border: 0; background: transparent; color: var(--s8-ink); font-family: var(--s8-font); font-weight: 700; font-stretch: 105%; font-size: clamp(1.05rem, 4.4vw, 1.25rem); text-align: left; }
.s8-overlay-link i { font-size: 0.9rem; color: var(--s8-blue); transition: transform 0.3s; }
.s8-overlay-item.is-open .s8-overlay-link i { transform: rotate(45deg); }
.s8-overlay-sub { list-style: none; margin: 0; padding: 0 0 14px 4px; display: none; }
.s8-overlay-item.is-open .s8-overlay-sub { display: block; }
.s8-overlay-sub a { display: block; padding: 7px 0 7px 12px; font-weight: 500; font-size: 0.98rem; color: var(--s8-body); }
.s8-overlay-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.s8-overlay-messages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.s8-overlay-messages a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--s8-border); font-weight: 600; font-size: 0.9rem; color: var(--s8-ink); }
.s8-overlay-messages i { color: var(--s8-coral); font-size: 0.8rem; }

/* ============================================================
   HERO
   ============================================================ */
.s8-hero {
    position: relative;
    min-height: clamp(660px, 100vh, 980px);
    padding: 140px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 14%, rgba(255, 216, 150, 0.95), transparent 32%),
        linear-gradient(180deg, #b8d4ff 0%, #d9e8ff 36%, #ffe6d4 76%, var(--s8-cream) 100%);
}
.s8-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; background: var(--s8-cream); border-radius: 50%; }
.s8-hero-sky { position: absolute; inset: 0; pointer-events: none; }
.s8-hero-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.s8-sky-ready .s8-hero-sky canvas { opacity: 1; }
.s8-hero-sky-fallback i { position: absolute; border-radius: 50%; background: #fff; filter: blur(40px); opacity: 0.7; animation: s8-drift 26s ease-in-out infinite alternate; }
.s8-hero-sky-fallback i:nth-child(1) { width: 380px; height: 120px; top: 22%; left: -60px; }
.s8-hero-sky-fallback i:nth-child(2) { width: 300px; height: 100px; top: 48%; right: 4%; animation-duration: 32s; }
.s8-hero-sky-fallback i:nth-child(3) { width: 260px; height: 90px; top: 10%; left: 42%; animation-duration: 22s; }
.s8-hero-inner { position: relative; z-index: 2; width: 100%; }
.s8-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.s8-hero-title { margin: 0 0 18px; font-weight: 800; font-stretch: 125%; font-size: clamp(2.3rem, 5.2vw, 4.8rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--s8-ink); }
.s8-hero-quote { margin: 0 0 14px; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: var(--s8-ink); }
.s8-hero-lead { max-width: 600px; margin: 0 0 28px; font-size: 1.05rem; color: var(--s8-body); }
.s8-dock { display: flex; flex-wrap: wrap; gap: 10px; }

.s8-polaroids { position: relative; width: min(100%, 400px); height: clamp(330px, 34vw, 430px); margin: 0 auto; cursor: pointer; }
.s8-polaroid { position: absolute; inset: 0 0 auto 0; margin: 0; padding: 12px 12px 56px; border-radius: 6px; background: #fff; box-shadow: 0 34px 60px -30px rgba(18, 21, 53, 0.55); transform: rotate(var(--r)); }
.s8-polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: -3deg; background: rgba(255, 220, 140, 0.75); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.s8-polaroid img { display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 3px; background: var(--s8-tint); }
.s8-polaroid--logo img { object-fit: contain; padding: 30px; }
.s8-polaroid figcaption { position: absolute; left: 14px; right: 14px; bottom: 15px; font-weight: 700; font-size: 1.05rem; color: var(--s8-ink); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s8-polaroid-dots { position: absolute; left: 0; right: 0; bottom: -46px; display: flex; justify-content: center; gap: 6px; }
.s8-polaroid-dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(18, 21, 53, 0.2); transition: width 0.4s var(--s8-ease), background 0.3s; }
.s8-polaroid-dots i.is-active { width: 26px; background: var(--s8-ink); }

.s8-capsule { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 64px; padding: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 34px -22px rgba(18, 21, 53, 0.45); }
.s8-capsule-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; background: var(--s8-ink); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.s8-capsule-label i { color: var(--s8-sun); }
.s8-capsule-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.s8-capsule .s8-marquee a { font-weight: 600; font-size: 0.95rem; color: var(--s8-ink); white-space: nowrap; }
.s8-capsule .s8-marquee a:hover { color: var(--s8-blue); }
.s8-capsule-sep { font-style: normal; color: var(--s8-coral); font-size: 0.75rem; }
.s8-capsule:hover .s8-marquee { animation-play-state: paused; }
.s8-capsule-all { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--s8-sun); color: var(--s8-ink); transition: transform 0.3s var(--s8-ease); }
.s8-capsule-all:hover { transform: rotate(-45deg); }

.s8-marquee { display: flex; align-items: center; gap: 22px; width: max-content; animation: s8-marquee var(--s8-dur, 40s) linear infinite; }
.s8-marquee--reverse { animation-direction: reverse; }

.s8-scroll-cue { position: absolute; left: 50%; bottom: 34px; z-index: 2; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--s8-muted); }
.s8-scroll-cue i { width: 22px; height: 36px; border: 2px solid rgba(18, 21, 53, 0.3); border-radius: 12px; position: relative; }
.s8-scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; border-radius: 2px; background: var(--s8-ink); translate: -50% 0; animation: s8-wheel 1.8s ease-in-out infinite; }

/* ============================================================
   SECTIONS
   ============================================================ */
.s8-section { position: relative; padding: 96px 0; }
.s8-section--tight { padding: 30px 0; }
.s8-section--tint { margin: 0 14px; border-radius: 48px; background: var(--s8-tint); }
.s8-section--tint + .s8-section--tint { margin-top: 24px; }
.s8-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 44px; }
.s8-head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.s8-head--center { flex-direction: column; align-items: center; text-align: center; }
.s8-arrows { display: flex; gap: 10px; }
.s8-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(18, 21, 53, 0.15); background: #fff; color: var(--s8-ink); transition: 0.3s var(--s8-ease); }
.s8-arrows button:hover { background: var(--s8-ink); color: #fff; border-color: var(--s8-ink); transform: scale(1.06); }

/* ---- Leaders ---- */
.s8-leader { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 30px 26px 26px; text-align: center; background: #fff; border-radius: var(--s8-radius); border: 1px solid var(--s8-border); box-shadow: var(--s8-shadow); }
.s8-leader-photo { position: relative; width: 176px; height: 176px; margin: 4px auto 22px; flex-shrink: 0; }
.s8-leader-blob { position: absolute; inset: -16px; background: var(--tone-soft); border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; animation: s8-morph 12s ease-in-out infinite; }
.s8-leader-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; box-shadow: 0 0 0 5px #fff, 0 20px 40px -20px rgba(18, 21, 53, 0.5); }
.s8-sticker { position: absolute; right: -10px; top: -8px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: var(--tone-ink); rotate: -12deg; box-shadow: 0 10px 20px -10px var(--tone); }
.s8-leader-body { display: flex; flex-direction: column; align-items: center; flex: 1; }
.s8-leader-name { margin: 12px 0 2px; font-weight: 800; font-stretch: 110%; font-size: 1.35rem; color: var(--s8-ink); }
.s8-leader-role { margin: 0 0 10px; font-size: 0.86rem; color: var(--s8-muted); }
.s8-leader-excerpt { flex: 1; margin: 0 0 16px; color: var(--s8-body); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.s8-leader--solo { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center; padding: 38px; text-align: left; }
.s8-leader--solo .s8-leader-photo { width: 230px; height: 230px; margin: 0; }
.s8-leader--solo .s8-leader-body { align-items: flex-start; }
.s8-leader--solo .s8-leader-name { font-size: 1.8rem; }
.s8-leader--solo .s8-leader-excerpt { font-size: 1.05rem; -webkit-line-clamp: 6; }

/* ---- About ---- */
.s8-about-visual { position: relative; max-width: 480px; margin: 0 auto; padding-bottom: 64px; }
.s8-about-img { width: 82%; aspect-ratio: 4 / 4.6; border-radius: var(--s8-radius); overflow: hidden; background: #fff; box-shadow: var(--s8-shadow-pop); }
.s8-about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s8-about-img--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid #fff; }
.s8-badge-spin { position: absolute; left: -12px; bottom: 30px; z-index: 2; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: var(--s8-sun); box-shadow: 0 0 0 6px #fff, var(--s8-shadow-pop); }
.s8-badge-spin svg { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); animation: s8-spin 22s linear infinite; }
.s8-badge-spin text { fill: var(--s8-ink); font-size: 9px; font-weight: 700; letter-spacing: 2.4px; }
.s8-badge-spin b { position: relative; font-weight: 800; font-stretch: 120%; font-size: 1.45rem; color: var(--s8-ink); }
.s8-fill { margin: 20px 0 28px; font-size: 1.12rem; line-height: 1.85; color: var(--s8-body); }
.s8-fill-w { opacity: 0.18; }
.s8-about-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.s8-about-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--s8-border); font-weight: 700; color: var(--s8-ink); transition: transform 0.35s var(--s8-ease), border-color 0.3s; }
.s8-about-link > i:first-child { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--tone-soft); color: var(--tone); }
.s8-about-link span { flex: 1; }
.s8-about-link > i:last-child { font-size: 0.8rem; color: var(--s8-muted); transition: transform 0.3s; }
.s8-about-link:hover { transform: translateY(-3px); border-color: var(--tone); }
.s8-about-link:hover > i:last-child { transform: translateX(3px); color: var(--tone); }

/* ---- Achievement bento ---- */
.s8-bento-stats { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 16px; }
.s8-stat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 26px; border-radius: var(--s8-radius); background: var(--tone-soft); }
.s8-stat-icon { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tone); color: var(--tone-ink); }
.s8-stat-num { font-weight: 800; font-stretch: 125%; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--s8-ink); font-variant-numeric: tabular-nums; }
.s8-stat-label { font-weight: 600; color: var(--s8-body); }
.s8-stat--hero { grid-row: span 2; background: var(--s8-ink); justify-content: space-between; }
.s8-stat--hero .s8-stat-label { color: #c9cde6; font-size: 1.05rem; }
.s8-stat--hero .s8-stat-num { font-size: clamp(3.4rem, 7vw, 6rem); background: linear-gradient(100deg, var(--s8-sun), var(--s8-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s8-stat-plane { position: absolute; right: 26px; top: 26px; width: 76px; height: 76px; color: var(--s8-ink); animation: s8-float 4s ease-in-out infinite; }

/* ---- Snap scrollers (team, testimonials) ---- */
.s8-snap { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; scrollbar-width: none; }
.s8-snap::-webkit-scrollbar { display: none; }
.s8-snap > * { scroll-snap-align: start; }
.s8-person { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 18px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--s8-border); text-align: center; transition: transform 0.35s var(--s8-ease), box-shadow 0.35s; }
.s8-person:hover { transform: translateY(-6px); box-shadow: var(--s8-shadow-pop); }
.s8-person-photo { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--tone); }
.s8-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.s8-person b { margin-top: 8px; font-weight: 800; font-size: 1.05rem; color: var(--s8-ink); line-height: 1.3; }
.s8-person small { color: var(--s8-muted); margin-bottom: 10px; }

/* ---- Panels (notice board, calendar, chart) ---- */
.s8-panel { position: relative; height: 100%; padding: 26px; border-radius: var(--s8-radius); background: #fff; border: 1px solid var(--s8-border); box-shadow: var(--s8-shadow); }
.s8-panel--flush { padding: 0; overflow: hidden; }
.s8-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.s8-panel-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 800; font-stretch: 110%; font-size: 1.28rem; color: var(--s8-ink); }
.s8-panel-head h3 i { color: var(--s8-coral); }
.s8-panel-head--pad { margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--s8-border); }
.s8-panel-head--coral { background: var(--s8-coral); border-bottom: 0; }
.s8-panel-head--coral h3, .s8-panel-head--coral h3 i { color: #fff; }

.s8-notice-list { list-style: none; margin: 0; padding: 0; }
.s8-vticker { position: relative; height: 470px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.s8-vticker-track { animation: s8-vscroll var(--s8-dur, 40s) linear infinite; }
.s8-vticker:hover .s8-vticker-track, .s8-vticker:focus-within .s8-vticker-track { animation-play-state: paused; }
.s8-vticker.is-static { height: auto; -webkit-mask-image: none; mask-image: none; }
.s8-vticker.is-static .s8-vticker-track { animation: none; }
.s8-vticker.is-static [aria-hidden="true"] { display: none; }
.s8-notice-list a { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 18px; transition: background 0.25s; }
.s8-notice-list li + li { border-top: 1px dashed var(--s8-border); }
.s8-notice-list a:hover { background: var(--s8-tint); }
.s8-date { flex-shrink: 0; width: 54px; height: 58px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.1; }
.s8-tone-sun.s8-date { color: #9a6a00; }
.s8-date b { font-size: 1.35rem; font-weight: 800; color: var(--s8-ink); letter-spacing: 0; }
.s8-notice-text { flex: 1; font-weight: 600; font-size: 0.96rem; color: var(--s8-ink); line-height: 1.45; }
.s8-notice-go { font-size: 0.75rem; color: var(--s8-muted); }

.s8-event-feature { position: relative; display: block; height: 100%; min-height: 400px; border-radius: var(--s8-radius); overflow: hidden; background: var(--s8-ink); }
.s8-event-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--s8-ease); }
.s8-event-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 53, 0.9) 5%, rgba(18, 21, 53, 0.2) 55%, transparent); }
.s8-event-feature:hover img { transform: scale(1.06); }
.s8-event-feature-date { position: absolute; top: 18px; left: 18px; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: 18px; background: #fff; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; color: var(--s8-muted); line-height: 1.15; }
.s8-event-feature-date b { font-size: 1.6rem; font-weight: 800; color: var(--s8-ink); }
.s8-event-feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }
.s8-event-feature-body b { font-weight: 800; font-stretch: 112%; font-size: 1.55rem; line-height: 1.2; color: #fff; }
.s8-event-list { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.s8-event-row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 22px; background: #fff; border: 1px solid var(--s8-border); transition: transform 0.35s var(--s8-ease), box-shadow 0.35s; }
.s8-event-row:hover { transform: translateX(5px); box-shadow: var(--s8-shadow); }
.s8-event-row-text { display: flex; flex-direction: column; min-width: 0; }
.s8-event-row-text small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s8-muted); }
.s8-event-row-text b { font-weight: 700; color: var(--s8-ink); line-height: 1.35; }
.s8-event-all { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 22px; border: 1.5px dashed rgba(18, 21, 53, 0.2); font-weight: 700; color: var(--s8-ink); transition: 0.3s; }
.s8-event-all:hover { background: var(--s8-ink); color: #fff; border-color: var(--s8-ink); }

/* ---- Hall of fame ---- */
.s8-section--fame { background: radial-gradient(600px 300px at 15% 20%, #e9e3ff, transparent 70%), radial-gradient(600px 300px at 85% 80%, #ffe9d6, transparent 70%); }
.s8-ring { --radius: calc(var(--n) * 36px + 110px); position: relative; height: 400px; perspective: 1500px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.s8-ring:active { cursor: grabbing; }
.s8-ring-track { position: relative; width: 220px; height: 300px; transform-style: preserve-3d; }
.s8-ring-card { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--radius)); backface-visibility: hidden; }
.s8-star { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 22px 16px; border-radius: 26px; text-align: center; background: var(--s8-star-bg, linear-gradient(150deg, #ffe7a3, #ffc23d)); box-shadow: 0 26px 50px -26px rgba(18, 21, 53, 0.5); }
.s8-star img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid #fff; margin-bottom: 6px; }
.s8-star b { font-weight: 800; font-size: 1.08rem; color: var(--s8-ink); line-height: 1.3; }
.s8-star small { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.8rem; color: var(--s8-ink); }
.s8-star span { margin-top: auto; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.65); font-weight: 700; font-size: 0.78rem; color: var(--s8-ink); }
.s8-star-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.s8-star-grid .s8-star { width: 240px; height: auto; min-height: 290px; }

/* ---- Campus video ---- */
.s8-video-stage { padding: 30px 0 0; }
.s8-video-frame { position: relative; height: clamp(440px, 74vh, 700px); overflow: hidden; border-radius: 48px; background: var(--s8-ink); transform-origin: 50% 50%; will-change: transform; }
.s8-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s8-video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 21, 53, 0.15), rgba(18, 21, 53, 0.65)); }
.s8-video-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.s8-video-title { margin: 0 0 10px; max-width: 980px; font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.05; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }

/* ---- Faculty marquee ---- */
.s8-people-row { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.s8-people-row + .s8-people-row { margin-top: 6px; }
.s8-people-row:hover .s8-marquee { animation-play-state: paused; }
.s8-marquee--people { gap: 14px; }
.s8-avatar-pill { display: flex; align-items: center; gap: 12px; min-width: 250px; padding: 7px 22px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--s8-border); transition: border-color 0.3s, transform 0.3s var(--s8-ease); }
.s8-avatar-pill:hover { border-color: var(--tone); transform: translateY(-3px); }
.s8-avatar-pill img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; box-shadow: 0 0 0 3px var(--tone-soft); }
.s8-avatar-pill span { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.s8-avatar-pill b { font-weight: 700; font-size: 0.92rem; color: var(--s8-ink); }
.s8-avatar-pill small { font-size: 0.78rem; color: var(--s8-muted); }

/* ---- Calendar, hotline, chart, visitors ---- */
.s8-calendar { display: block; width: 100%; height: 540px; border: 0; }
.s8-static-img { display: block; width: 100%; border-radius: 16px; }
.s8-panel--flush .s8-static-img { border-radius: 0; }
.s8-hotline { padding: 16px; display: flex; justify-content: center; }
.s8-hotline img { max-width: 100%; max-height: 540px; object-fit: contain; border-radius: 14px; }
.s8-tabs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.s8-tabs .nav-link { border: 1.5px solid var(--s8-border); border-radius: 999px; padding: 7px 16px; color: var(--s8-ink); font-weight: 600; font-size: 0.86rem; background: transparent; }
.s8-tabs .nav-link.active { background: var(--s8-ink); border-color: var(--s8-ink); color: #fff; }
.s8-chart-caption { margin: 0 0 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s8-muted); }
.s8-visitors { height: 100%; padding: 28px; border-radius: var(--s8-radius); color: #fff; background-color: var(--s8-blue); background-image: radial-gradient(circle at 90% 10%, rgba(255, 194, 61, 0.45), transparent 40%), linear-gradient(155deg, var(--s8-blue), #7b5cff); box-shadow: 0 30px 60px -32px rgba(61, 90, 254, 0.7); }
.s8-visitors h3 { margin: 0 0 12px; font-weight: 800; font-stretch: 115%; font-size: 1.8rem; }
.s8-visitor { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.s8-visitor:last-child { border-bottom: 0; }
.s8-visitor > i { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); }
.s8-visitor span { display: flex; flex-direction: column; }
.s8-visitor b { font-weight: 800; font-stretch: 115%; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.s8-visitor small { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }

/* ---- Gallery ---- */
.s8-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.s8-masonry-col { display: flex; flex-direction: column; gap: 18px; }
.s8-shot { position: relative; display: block; border-radius: 24px; overflow: hidden; background: #fff; }
.s8-shot img { display: block; width: 100%; height: auto; transition: transform 1s var(--s8-ease); }
.s8-shot:hover img { transform: scale(1.06); }
.s8-shot span { position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.82rem; color: var(--s8-ink); opacity: 0; transform: translateY(8px); transition: 0.35s var(--s8-ease); }
.s8-shot:hover span { opacity: 1; transform: none; }
.s8-video-card { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--s8-border); box-shadow: var(--s8-shadow); }
.s8-video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.s8-video-card p { margin: 0; padding: 12px 16px; font-weight: 600; color: var(--s8-ink); }

/* ---- Testimonials ---- */
.s8-snap--quotes { grid-auto-columns: calc((100% - 40px) / 3); }
.s8-quote { position: relative; display: flex; flex-direction: column; margin: 0; padding: 30px 28px 26px; border-radius: var(--s8-radius); background: #fff; border: 1px solid var(--s8-border); overflow: hidden; }
.s8-quote::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--tone); }
.s8-quote-mark { font-size: 2rem; color: var(--tone); margin-bottom: 14px; }
.s8-quote blockquote { flex: 1; margin: 0 0 20px; font-size: 1.05rem; line-height: 1.75; color: var(--s8-body); }
.s8-quote figcaption { display: flex; align-items: center; gap: 12px; }
.s8-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--tone-soft); }
.s8-quote figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.s8-quote figcaption b { font-weight: 800; color: var(--s8-ink); }
.s8-quote figcaption small { font-size: 0.78rem; font-weight: 700; color: var(--tone); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Quick access ---- */
.s8-quick { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 230px; padding: 26px; border-radius: var(--s8-radius); background: var(--tone-soft); overflow: hidden; }
.s8-quick-icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; margin-bottom: auto; background: var(--tone); color: var(--tone-ink); font-size: 1.3rem; box-shadow: 0 14px 26px -14px var(--tone); }
.s8-quick b { margin-top: 18px; font-weight: 800; font-stretch: 112%; font-size: 1.4rem; color: var(--s8-ink); }
.s8-quick small { color: var(--s8-body); font-size: 0.92rem; padding-right: 40px; }
.s8-quick-go { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--s8-ink); rotate: -45deg; transition: rotate 0.4s var(--s8-ease), background 0.3s, color 0.3s; }
.s8-quick:hover .s8-quick-go { rotate: 0deg; background: var(--s8-ink); color: #fff; }

/* ---- Location ---- */
.s8-location { display: grid; grid-template-columns: 0.9fr 1.4fr; border-radius: 40px; overflow: hidden; background: #fff; box-shadow: var(--s8-shadow-pop); }
.s8-location-card { padding: 44px 40px; color: #d9dcf2; background-color: var(--s8-ink); background-image: radial-gradient(circle at 100% 0%, rgba(61, 90, 254, 0.55), transparent 55%), radial-gradient(circle at 0% 100%, rgba(255, 106, 77, 0.35), transparent 50%); }
.s8-location-card h2 { margin: 0 0 22px; font-weight: 800; font-stretch: 118%; font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.s8-location-card ul { list-style: none; margin: 0 0 26px; padding: 0; }
.s8-location-card li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.s8-location-card li i { color: var(--s8-sun); margin-top: 5px; width: 16px; }
.s8-location-card a { color: #d9dcf2; }
.s8-location-card a:hover { color: var(--s8-sun); }
.s8-location-map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.s8-footer { position: relative; padding: 40px 0 0; margin-top: 40px; background: linear-gradient(180deg, var(--s8-cream) 0, #eef1ff 140px, #e6eaff 100%); overflow: hidden; }
.s8-footer-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 48px 52px; border-radius: 40px; color: #fff; background-color: var(--s8-blue); background-image: linear-gradient(120deg, var(--s8-blue), #7b5cff 60%, var(--s8-coral)); box-shadow: 0 40px 70px -40px rgba(61, 90, 254, 0.8); }
.s8-footer-cta-sky { position: absolute; inset: 0; pointer-events: none; }
.s8-footer-cta-sky i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.s8-footer-cta-sky i:nth-child(1) { width: 240px; height: 240px; right: -60px; top: -90px; }
.s8-footer-cta-sky i:nth-child(2) { width: 160px; height: 160px; left: 40%; bottom: -100px; }
.s8-footer-cta-sky i:nth-child(3) { width: 80px; height: 80px; left: 12%; top: -30px; }
.s8-footer-cta-text { position: relative; max-width: 640px; }
.s8-footer-cta-title { margin: 0; font-weight: 800; font-stretch: 118%; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.12; color: #fff; }
/* On gradient/dark cards the marker becomes a thin gold underline */
.s8-footer-cta-title .s8-hl, .s8-location-card .s8-hl { --hl: var(--s8-sun); background-position: 0 96%; }
.s8-footer-cta-title .s8-hl.is-drawn, .s8-location-card .s8-hl.is-drawn, .s8-failsafe .s8-footer-cta-title .s8-hl, .s8-failsafe .s8-location-card .s8-hl { background-size: 100% 0.12em; }
.s8-footer-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.s8-footer-cols { padding: 64px 0 20px; }
.s8-footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.s8-footer-brand img { width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 0 0 2px var(--s8-sun); }
.s8-footer-brand span { font-weight: 800; font-stretch: 110%; font-size: 1.15rem; color: var(--s8-ink); text-align: left; line-height: 1.25; }
.s8-footer-text { color: var(--s8-body); margin-bottom: 18px; }
.s8-socials { display: flex; gap: 8px; }
.s8-socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--s8-ink); box-shadow: var(--s8-shadow); transition: 0.3s var(--s8-ease); }
.s8-socials a:hover { background: var(--s8-ink); color: #fff; transform: translateY(-4px) rotate(-8deg); }
.s8-footer-heading { margin-bottom: 16px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s8-blue); }
.s8-footer-links { list-style: none; margin: 0; padding: 0; }
.s8-footer-links li { margin-bottom: 10px; }
.s8-footer-links a { font-weight: 600; color: var(--s8-ink); transition: color 0.25s; }
.s8-footer-links a:hover { color: var(--s8-blue); }
.s8-footer-contact { list-style: none; margin: 0; padding: 0; display: inline-block; text-align: left; }
.s8-footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--s8-body); }
.s8-footer-contact i { color: var(--s8-coral); margin-top: 5px; width: 16px; }
.s8-footer-contact a { color: var(--s8-body); }
.s8-footer-contact a:hover { color: var(--s8-blue); }

.s8-wordmark { position: relative; padding: 10px 0 0; overflow: hidden; user-select: none; }
.s8-wordmark-text { display: block; font-weight: 800; font-stretch: 125%; font-size: clamp(4rem, 17vw, 15rem); line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap; background: linear-gradient(100deg, var(--s8-blue), var(--s8-lilac) 45%, var(--s8-coral) 75%, var(--s8-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9; }
.s8-wordmark-plane { position: absolute; top: 10%; left: 0; width: 64px; height: 64px; color: var(--s8-ink); animation: s8-fly 11s linear infinite; }

.s8-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 20px 0 24px; border-top: 1px solid rgba(18, 21, 53, 0.1); }
.s8-footer-bottom p { margin: 0; font-size: 0.86rem; color: var(--s8-muted); }
.s8-footer-bottom a { color: var(--s8-ink); font-weight: 600; }
.s8-footer-bottom a:hover, .s8-footer-dev { color: var(--s8-blue) !important; }
.s8-footer-visitors { display: flex; gap: 16px; }
.s8-footer-visitors b { color: var(--s8-ink); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.s8-page-header { position: relative; overflow: hidden; padding: 140px 0 74px; border-radius: 0 0 48px 48px; background: linear-gradient(180deg, #c9ddff 0%, #e2ecff 40%, #ffe8d9 85%, #fff2e6 100%); }
.s8-aurora { position: absolute; inset: 0; pointer-events: none; }
.s8-aurora i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.7; animation: s8-drift 18s ease-in-out infinite alternate; }
.s8-aurora i:nth-child(1) { width: 360px; height: 360px; background: #fff; top: -120px; left: 8%; }
.s8-aurora i:nth-child(2) { width: 300px; height: 300px; background: #ffd5c2; bottom: -140px; right: 12%; animation-duration: 24s; }
.s8-aurora i:nth-child(3) { width: 220px; height: 220px; background: #ffe7a1; top: 20%; right: 30%; animation-duration: 20s; }
.s8-page-header-trail { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 160px; color: rgba(18, 21, 53, 0.22); }
.s8-page-header-plane { position: absolute; right: 7%; top: 34%; width: 64px; height: 64px; color: var(--s8-ink); animation: s8-float 4s ease-in-out infinite; }
.s8-page-header-inner { position: relative; z-index: 1; }
.s8-crumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-size: 0.84rem; font-weight: 600; color: var(--s8-muted); }
.s8-crumb a { color: var(--s8-ink); }
.s8-crumb > i { font-size: 0.6rem; }
.s8-page-header-row { display: flex; align-items: center; gap: 20px; }
.s8-page-header-icon { width: 72px; height: 72px; border-radius: 24px; flex-shrink: 0; display: grid; place-items: center; background: #fff; color: var(--s8-blue); font-size: 1.6rem; box-shadow: var(--s8-shadow-pop); rotate: -6deg; }
.s8-page-header-img { width: 80px; height: 80px; border-radius: 24px; flex-shrink: 0; object-fit: contain; background: #fff; padding: 6px; box-shadow: var(--s8-shadow-pop); }
.s8-page-header-text { min-width: 0; }
.s8-page-title { margin: 0; font-weight: 800; font-stretch: 120%; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--s8-ink); }
.s8-page-subtitle { margin: 10px 0 0; max-width: 720px; font-size: 1.06rem; color: var(--s8-body); }

/* ============================================================
   INNER PAGES (shared building blocks)
   ============================================================ */
.s8-inner-page { min-height: 50vh; padding: 56px 0 90px; }
.s8-inner-page .s8-section { padding: 0; background: none; margin: 0; }
.s8-card { height: 100%; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--s8-border); box-shadow: var(--s8-shadow); }
.s8-card-auto-height { height: auto; }
.s8-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--s8-border); }
.s8-card-title { margin: 0; font-weight: 800; font-stretch: 108%; font-size: 1.15rem; color: var(--s8-ink); }
.s8-card-title i { color: var(--s8-coral); }
.s8-card-viewall, .s8-read-more { font-weight: 700; font-size: 0.86rem; color: var(--s8-blue) !important; }
.s8-page-section-header { margin-bottom: 18px; padding: 10px 16px; border-radius: 14px; background: var(--s8-tint); border-left: 4px solid var(--s8-blue); }
.s8-page-section-header h4, .s8-page-section-header h5 { margin: 0; font-weight: 800; font-stretch: 108%; font-size: 1.1rem; color: var(--s8-ink); }

.s8-content-body { font-size: 1rem; line-height: 1.85; color: var(--s8-body); overflow-wrap: anywhere; }
.s8-content-body.is-empty { display: none; }
.s8-content-body h1, .s8-content-body h2, .s8-content-body h3, .s8-content-body h4 { margin: 1.2em 0 0.5em; font-weight: 800; color: var(--s8-ink); }
.s8-content-body a { color: var(--s8-blue); text-decoration: underline; text-underline-offset: 3px; }
.s8-content-body img { max-width: 100%; height: auto; border-radius: 16px; }
.s8-content-body table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin: 1em 0; }
.s8-content-body table td, .s8-content-body table th { border: 1px solid var(--s8-border); padding: 8px 10px; }
.s8-content-body table th { background: var(--s8-tint); }
.s8-content-body blockquote { border-left: 4px solid var(--s8-coral); padding: 6px 16px; color: var(--s8-body); background: var(--s8-tint); border-radius: 0 12px 12px 0; }
.s8-content-body iframe { max-width: 100%; }
.s8-notice-attachment { display: block; width: 100%; height: 80vh; min-height: 500px; margin: 0 auto; }

.s8-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: #e8ecff; color: var(--s8-blue); font-size: 0.74rem; font-weight: 700; }
.s8-search-filter-box { margin-bottom: 20px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--s8-border); box-shadow: var(--s8-shadow); }
.s8-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 20px; border: 0; border-radius: 999px; background: var(--s8-ink); color: #fff !important; font-weight: 700; font-size: 0.88rem; transition: background 0.3s, transform 0.3s var(--s8-ease); }
.s8-btn-primary:hover, .s8-btn-primary:focus { background: var(--s8-blue); color: #fff !important; transform: translateY(-1px); }

.s8-notice-item-row { position: relative; margin-bottom: 12px; padding: 16px 20px 16px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--s8-border); overflow: hidden; transition: transform 0.35s var(--s8-ease), box-shadow 0.35s; }
.s8-notice-item-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--s8-blue), var(--s8-coral)); }
.s8-notice-item-row:hover { transform: translateX(4px); box-shadow: var(--s8-shadow); }
.s8-notice-title { margin-bottom: 4px; font-weight: 700; font-size: 1rem; color: var(--s8-ink); }
.s8-notice-meta { font-size: 0.82rem; color: var(--s8-muted); }

.s8-event-list-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 12px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--s8-border); transition: transform 0.35s var(--s8-ease), box-shadow 0.35s; }
.s8-event-list-item:hover { transform: translateX(4px); box-shadow: var(--s8-shadow); }
.s8-event-list-date { flex-shrink: 0; width: 60px; height: 62px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e8ecff; color: var(--s8-blue); }
.s8-event-list-day { font-weight: 800; font-size: 1.4rem; line-height: 1; color: var(--s8-ink); }
.s8-event-list-mon { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.s8-faculty-card { margin-bottom: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--s8-border); overflow: hidden; transition: transform 0.4s var(--s8-ease), box-shadow 0.4s, border-color 0.3s; }
.s8-faculty-card:hover { transform: translateY(-6px); box-shadow: var(--s8-shadow-pop); border-color: #cdd5ff; }
.s8-faculty-img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: top center; background: var(--s8-tint); }
.s8-faculty-body { padding: 14px 16px 16px; }
.s8-faculty-name { margin-bottom: 2px; font-weight: 800; font-size: 0.98rem; color: var(--s8-ink); }
.s8-faculty-designation { font-size: 0.82rem; color: var(--s8-muted); }

.s8-dept-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; padding: 26px 18px; text-align: center; cursor: pointer; border-radius: 24px; background: #fff; border: 1px solid var(--s8-border); transition: transform 0.35s var(--s8-ease), box-shadow 0.35s, border-color 0.3s; }
.s8-dept-card:hover { transform: translateY(-5px); box-shadow: var(--s8-shadow-pop); border-color: #cdd5ff; }
.s8-dept-card-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #e8ecff; color: var(--s8-blue); font-size: 1.2rem; transition: 0.3s; }
.s8-dept-card:hover .s8-dept-card-icon { background: var(--s8-blue); color: #fff; rotate: -8deg; }
.s8-dept-card p { line-height: 1.35; }

.s8-gallery-album-card { margin-bottom: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--s8-border); overflow: hidden; transition: transform 0.4s var(--s8-ease), box-shadow 0.4s; }
.s8-gallery-album-card:hover { transform: translateY(-6px); box-shadow: var(--s8-shadow-pop); }
.s8-gallery-album-img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform 1s var(--s8-ease); }
.s8-gallery-album-card:hover .s8-gallery-album-img { transform: scale(1.06); }
.s8-gallery-album-body { padding: 14px 16px; }
.s8-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.s8-gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.s8-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--s8-ease); }
.s8-gallery-item:hover img { transform: scale(1.06); }
.s8-gallery-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(18, 21, 53, 0.55); opacity: 0; transition: opacity 0.3s; }
.s8-gallery-item:hover .s8-gallery-overlay { opacity: 1; }

.s8-profile-img { width: 100%; max-width: 200px; border-radius: 22px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--s8-blue); }
.s8-contact-info-box { padding: 20px; border-radius: 20px; background: var(--s8-tint); border-left: 4px solid var(--s8-blue); }
.s8-contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.s8-contact-info-icon { width: 40px; height: 40px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--s8-blue); color: #fff; font-size: 0.85rem; }
.s8-map-iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: 18px; }

.s8-bmsg-ticker-wrap { overflow: hidden; padding: 4px; }
.s8-bmsg-track { display: inline-flex; white-space: nowrap; }
.s8-bmsg-card { display: inline-block; vertical-align: top; white-space: normal; width: 200px; margin-right: 14px; padding: 18px 14px; text-align: center; border-radius: 20px; background: #fff; border: 1px solid var(--s8-border); }
.s8-bmsg-card img { display: block; width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--s8-blue); }
.s8-bmsg-title { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--s8-ink); }
.s8-bmsg-name { margin: 2px 0 8px; font-weight: 600; font-size: 0.76rem; color: var(--s8-blue); }
.s8-bmsg-text { margin: 0; font-size: 0.78rem; line-height: 1.45; color: var(--s8-muted); }

/* Bootstrap components inside the theme */
.s8-body .form-control, .s8-body .form-select { border-color: var(--s8-border); border-radius: 14px; font-size: 0.94rem; min-height: 46px; }
.s8-body .form-control:focus, .s8-body .form-select:focus { border-color: var(--s8-blue); box-shadow: 0 0 0 4px rgba(61, 90, 254, 0.14); }
.s8-body .input-group-text { background: var(--s8-tint) !important; border-color: var(--s8-border); color: var(--s8-blue); }
.s8-body .input-group > .input-group-text { border-radius: 14px 0 0 14px; }
.s8-body .input-group > .form-control, .s8-body .input-group > .form-select { border-radius: 0 14px 14px 0; }
.s8-body .pagination { gap: 6px; flex-wrap: wrap; }
.s8-body .page-link { min-width: 42px; text-align: center; border-radius: 999px !important; border-color: var(--s8-border); color: var(--s8-ink); font-weight: 600; }
.s8-body .page-link:hover { background: var(--s8-tint); color: var(--s8-blue); }
.s8-body .active > .page-link, .s8-body .page-link.active { background: var(--s8-ink); border-color: var(--s8-ink); color: #fff; }
.s8-body .page-link:focus { box-shadow: 0 0 0 4px rgba(61, 90, 254, 0.14); }
.s8-body .btn-outline-secondary { border-radius: 999px; border-color: var(--s8-border); color: var(--s8-ink); }
.s8-body .btn-outline-secondary:hover { background: var(--s8-ink); border-color: var(--s8-ink); color: #fff; }
.s8-body .alert-info { background: var(--s8-tint); border: 0; border-left: 4px solid var(--s8-blue); border-radius: 16px; color: var(--s8-text); }
.s8-body .nav-tabs { border-bottom-color: var(--s8-border); }
.s8-body .nav-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; color: var(--s8-muted); font-weight: 600; }
.s8-body .nav-tabs .nav-link.active { color: var(--s8-ink); border-bottom-color: var(--s8-blue); background: transparent; }
.s8-body .select2-container--bootstrap-5 .select2-selection { border-radius: 14px; border-color: var(--s8-border); min-height: 46px; }

/* ---- 404 ---- */
.s8-404 { max-width: 620px; margin: 10px auto; text-align: center; }
.s8-404-num { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; font-weight: 800; font-stretch: 125%; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--s8-ink); }
.s8-404-plane { width: clamp(80px, 14vw, 130px); height: auto; color: var(--s8-blue); animation: s8-float 3s ease-in-out infinite; }
.s8-404 p { margin: 14px 0 24px; color: var(--s8-muted); }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes s8-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes s8-vscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes s8-spin { to { transform: rotate(360deg); } }
@keyframes s8-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes s8-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -24px) scale(1.12); } }
@keyframes s8-morph { 0%, 100% { border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; rotate: 0deg; } 50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; rotate: 12deg; } }
@keyframes s8-wheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes s8-fly {
    0% { transform: translate(-10vw, 40px) rotate(8deg); }
    50% { transform: translate(50vw, -20px) rotate(-6deg); }
    100% { transform: translate(110vw, 30px) rotate(10deg); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .s8-snap { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 991.98px) {
    .s8-nav-wrap { margin-bottom: -84px; }
    .s8-hero { min-height: 0; padding: 130px 0 110px; }
    .s8-hero-title { font-size: clamp(2.1rem, 8vw, 3.4rem); }
    .s8-polaroids { margin-top: 10px; }
    .s8-section { padding: 72px 0; }
    .s8-section--tint { margin: 0 8px; border-radius: 34px; }
    .s8-leader--solo { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; gap: 18px; }
    .s8-leader--solo .s8-leader-photo { width: 190px; height: 190px; margin: 6px auto 0; }
    .s8-leader--solo .s8-leader-body { align-items: center; }
    .s8-leader--solo .s8-leader-name { font-size: 1.45rem; }
    .s8-bento-stats { grid-template-columns: 1fr 1fr; }
    .s8-stat--hero { grid-row: auto; grid-column: span 2; min-height: 190px; }
    .s8-snap { grid-auto-columns: calc((100% - 20px) / 2); }
    .s8-snap--quotes { grid-auto-columns: calc((100% - 20px) / 2); }
    .s8-location { grid-template-columns: 1fr; }
    .s8-location-map iframe { min-height: 320px; }
    .s8-ring { --radius: calc(var(--n) * 24px + 80px); height: 360px; }
    .s8-ring-track { width: 180px; height: 270px; }
}

@media (max-width: 767.98px) {
    .s8-strip { font-size: 0.76rem; }
    .s8-nav { padding: 6px 6px 6px 8px; }
    .s8-nav-brand img { width: 40px; height: 40px; }
    .s8-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
    .s8-head--center { align-items: center; }
    .s8-hero { padding: 120px 0 100px; }
    .s8-hero-lead { font-size: 0.98rem; }
    .s8-dock .s8-btn { min-height: 46px; padding: 0 18px; font-size: 0.9rem; }
    .s8-polaroids { width: min(86%, 340px); height: 300px; }
    .s8-capsule { margin-top: 70px; }
    .s8-capsule-label span, .s8-capsule-label { font-size: 0.72rem; padding: 7px 12px; }
    .s8-scroll-cue { display: none; }
    .s8-section { padding: 60px 0; }
    .s8-about-links { grid-template-columns: 1fr; }
    .s8-stat { justify-content: flex-start; padding: 20px; }
    .s8-stat-icon { position: static; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; }
    .s8-stat-num { font-size: clamp(1.7rem, 7vw, 2.2rem); }
    .s8-stat-label { font-size: 0.86rem; line-height: 1.35; }
    .s8-stat--hero { justify-content: space-between; }
    .s8-stat--hero .s8-stat-num { font-size: clamp(3rem, 16vw, 4.4rem); }
    .s8-stat-plane { width: 56px; height: 56px; right: 20px; top: 20px; }
    .s8-badge-spin { width: 104px; height: 104px; left: -4px; }
    .s8-snap { grid-auto-columns: 72%; }
    .s8-snap--quotes { grid-auto-columns: 86%; }
    .s8-event-feature { min-height: 320px; }
    .s8-masonry { display: block; columns: 2; column-gap: 12px; }
    .s8-masonry-col { display: contents; }
    .s8-shot { break-inside: avoid; margin-bottom: 12px; border-radius: 18px; }
    .s8-video-stage { padding: 10px 0 60px; }
    .s8-video-frame { height: 440px; }
    .s8-quick { min-height: 190px; padding: 20px; }
    .s8-quick b { font-size: 1.15rem; }
    .s8-quick small { padding-right: 0; font-size: 0.84rem; }
    .s8-quick-go { width: 36px; height: 36px; right: 14px; bottom: 14px; }
    .s8-location-card { padding: 32px 24px; }
    .s8-footer-cta { padding: 34px 26px; border-radius: 30px; }
    .s8-footer-bottom { flex-direction: column; text-align: center; padding-bottom: 80px; }
    .s8-footer-visitors { justify-content: center; flex-wrap: wrap; }
    .s8-page-header { padding: 120px 0 56px; border-radius: 0 0 32px 32px; }
    .s8-page-header-plane { width: 46px; height: 46px; top: auto; bottom: 22px; right: 18px; }
    .s8-page-header-icon { width: 56px; height: 56px; border-radius: 18px; font-size: 1.25rem; }
    .s8-inner-page { padding: 40px 0 70px; }
    .s8-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .s8-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
    .s8-ring { --radius: calc(var(--n) * 18px + 60px); height: 330px; }
    .s8-ring-track { width: 160px; height: 250px; }
    .s8-ring .s8-star img { width: 80px; height: 80px; }
}

@media (max-width: 575.98px) {
    .s8-dock { gap: 8px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .s8-body *, .s8-body *::before, .s8-body *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .s8-marquee, .s8-vticker-track { animation: none !important; }
    .s8-vticker { overflow-y: auto; }
    .s8-capsule-viewport, .s8-people-row { overflow-x: auto; }
}
