/* ==========================================================================
   CIVIL ENGINEERS FORUM — public site stylesheet  (v6 "Royal", September 2026)
   Bashundhara Residential Area

   The brand is royal blue + emerald/teal + golden yellow on white. Blue is
   structural (headers, links, bands), green marks live / open / success,
   gold is the call to action. Headlines are Plus Jakarta Sans, text is Inter,
   Bengali copy falls through to Noto Sans Bengali.

   ORDER OF THIS FILE (keep it — the admin panel shares this sheet):
     1. Tokens            5. Components (buttons, cards, forms, tables …)
     2. Reset & base      6. Header / navigation
     3. Typography        7. Home sections
     4. Layout            8. Inner pages (incl. the member area)
     9. Footer            10. Utilities & motion
    11. ADMIN (legacy — overridden by admin.css, kept verbatim for safety)
    12. RESPONSIVE — every public media query lives HERE, at the very end.
        Never append a base rule after this block: at equal specificity it
        would silently beat the mobile rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Brand palette */
    --navy: #0b1f4b;           /* deep royal blue — dark bands, footer */
    --navy-2: #12306f;
    --blue-800: #1e40af;
    --blue: #2563eb;           /* primary */
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --blue-100: #dbeafe;
    --sky-50: #eff6ff;
    --teal: #0d9488;
    --teal-500: #14b8a6;
    --teal-300: #5eead4;
    --green: #059669;
    --green-500: #10b981;
    --green-300: #6ee7b7;
    --mint-50: #ecfdf5;
    --gold: #fbbf24;           /* CTA gradient mid-tone */
    --gold-deep: #f5b301;
    --gold-500: #f59e0b;
    --gold-soft: #fde68a;
    --gold-100: #fef3c7;
    --gold-50: #fffbeb;
    --gold-ink: #92400e;       /* gold-family text on light surfaces (AA) */
    --ink: #0f172a;
    --ink-deep: #0b1f4b;
    --ink-soft: #1e293b;
    --ink-2: #172554;
    --paper: #f4f8fc;          /* tinted band */
    --paper-deep: #e6eef9;
    --paper-warm: #f8fbff;
    --white: #ffffff;
    --sage-50: #ecfdf5;
    --emerald: #059669;
    --emerald-ink: #047857;
    --rust: #ea580c;
    --rust-ink: #9a3412;
    --red: #dc2626;
    --red-ink: #991b1b;
    --amber-ink: #92400e;

    /* Lines, text tones */
    --line: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.16);
    --line-blue: rgba(37, 99, 235, 0.22);
    --line-amber: rgba(245, 179, 1, 0.45);
    --line-gold: rgba(201, 165, 92, 0.38);   /* legacy value: base rules the admin inherits (table avatars) */
    --muted: #475569;
    --muted-light: #64748b;
    --on-dark: rgba(255, 255, 255, 0.82);
    --on-dark-soft: rgba(255, 255, 255, 0.62);
    --line-dark: rgba(255, 255, 255, 0.12);

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #1e40af 0%, #2563eb 48%, #0d9488 100%);
    --grad-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1e40af 100%);
    --grad-text: linear-gradient(90deg, #2563eb 0%, #0d9488 100%);
    --grad-text-dark: linear-gradient(90deg, #fde68a 0%, #fbbf24 55%, #f59e0b 100%);
    --grad-gold: linear-gradient(135deg, #fde68a 0%, #fbbf24 48%, #f59e0b 100%);
    --grad-green: linear-gradient(135deg, #34d399 0%, #10b981 50%, #0d9488 100%);
    --grad-hair: linear-gradient(90deg, #2563eb 0%, #14b8a6 50%, #fbbf24 100%);
    --grad-navy: linear-gradient(160deg, #0b1f4b 0%, #1e40af 62%, #2563eb 100%);
    --grad-aurora: radial-gradient(42% 55% at 8% 12%, rgba(20, 184, 166, 0.45), transparent 62%),
                   radial-gradient(38% 50% at 92% 8%, rgba(251, 191, 36, 0.32), transparent 60%),
                   radial-gradient(50% 60% at 78% 92%, rgba(59, 130, 246, 0.55), transparent 64%);

    /* Type */
    --font-display: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

    /* Type scale (fluid display, fixed text) */
    --t-xs: 0.75rem;       /* 12 */
    --t-sm: 0.8125rem;     /* 13 */
    --t-base: 1rem;        /* 16 */
    --t-md: 1.0625rem;     /* 17 */
    --t-lg: 1.1875rem;     /* 19 */
    --d-hero: clamp(2.5rem, 1.55rem + 3.3vw, 4rem);        /* 40 → 64 */
    --d-1: clamp(2rem, 1.45rem + 1.9vw, 2.9rem);           /* 32 → 46 */
    --d-2: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem);         /* 26 → 34 */
    --d-3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);         /* 21 → 26 */
    --d-4: 1.25rem;

    /* Spacing scale */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 80px; --s-10: 96px;
    --section-y: 104px;         /* 104 / 84 / 64 by breakpoint (see RESPONSIVE) */
    --gutter: 24px;
    --header-h: 84px;

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 28px;
    --r-card: 20px;
    --r-pill: 999px;

    /* Elevation — soft, layered, blue-tinted (never grey) */
    --shadow-xs: 0 1px 2px rgba(11, 31, 75, 0.05);
    --shadow-sm: 0 1px 2px rgba(11, 31, 75, 0.04), 0 8px 20px -12px rgba(11, 31, 75, 0.14);
    --shadow-md: 0 2px 6px rgba(11, 31, 75, 0.04), 0 20px 44px -22px rgba(11, 31, 75, 0.24);
    --shadow-lg: 0 4px 12px rgba(11, 31, 75, 0.05), 0 34px 70px -32px rgba(11, 31, 75, 0.32);
    --shadow-xl: 0 12px 30px -12px rgba(11, 31, 75, 0.16), 0 60px 120px -48px rgba(11, 31, 75, 0.4);
    --shadow-gold: 0 16px 34px -12px rgba(245, 158, 11, 0.6);
    --shadow-blue: 0 16px 34px -12px rgba(37, 99, 235, 0.55);
    --shadow-navy: 0 12px 30px -12px rgba(11, 31, 75, 0.45);

    /* Motion */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 180ms;
    --dur: 320ms;
    --dur-slow: 640ms;

    /* Patterns */
    --pattern-dots: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='1.1' fill='%232563eb' fill-opacity='0.22'/></svg>");
    --pattern-dots-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='1.1' fill='%23ffffff' fill-opacity='0.22'/></svg>");
    --pattern-grid: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><path d='M0 28h56M28 0v56' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'/></svg>");
    --grain: none;
    /* Soft light that the tinted bands share */
    --glow-gold: radial-gradient(60% 70% at 100% 0%, rgba(251, 191, 36, 0.16), transparent 62%);
    --glow-sky: radial-gradient(50% 60% at 0% 100%, rgba(37, 99, 235, 0.12), transparent 64%);
    --glow-mint: radial-gradient(50% 60% at 100% 100%, rgba(16, 185, 129, 0.14), transparent 64%);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* The reset above (and .btn's inline-flex) would override the browser's own
   [hidden] rule; photocard.js hides its Share button and image this way. */
img[hidden], .btn[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); }
::selection { background: rgba(37, 99, 235, 0.22); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 3px; border-radius: 4px; }
main { display: block; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    padding: 12px 18px; border-radius: var(--r-sm);
    background: var(--navy); color: var(--gold-soft); font-weight: 600; font-size: var(--t-sm);
    box-shadow: var(--shadow-lg); transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 16px; outline-offset: 2px; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; color: inherit; overflow-wrap: anywhere; }
/* Public pages set headings in the display face; the admin (which inherits
   this sheet) keeps the legacy heading defaults — zero-specificity guard. */
:where(body:not(.admin-body)) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }

/* Gradient text — the accent word of every headline */
.section-title em, .hero__title em, .page-header__title em, .form-card__title em, .next-event__title em, .scholarship-cta__title em,
.cta-banner__title em, .auth-form-title em, .auth-visual__title em, .member-hero__name em, .dash-block__title em, .dashboard-welcome h2 em,
.footer-cta__title em, .reunion-banner__title em {
    font-style: normal; font-weight: inherit;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.section-title--light em, .hero__title em, .page-header__title em, .next-event__title em, .scholarship-cta__title em, .auth-visual__title em, .member-hero__name em, .footer-cta__title em {
    background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text;
}

/* Eyebrow: a small gradient pill */
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
    font-family: var(--font-body); font-size: 11px; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-800);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(13, 148, 136, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.16);
    position: relative; line-height: 1.3;
}
.section-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); flex: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
/* On dark bands the pill turns to glass with a gold dot */
.section-eyebrow--light { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.section-eyebrow--light::before { background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); }
.section-eyebrow--center { justify-content: center; }
.section-eyebrow--gold { color: var(--gold-ink); background: var(--gold-50); border-color: var(--line-amber); }
.section-eyebrow--gold::before { background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2); }

/* Display heading */
.section-title {
    font-family: var(--font-display); font-size: var(--d-1); font-weight: 800;
    line-height: 1.08; letter-spacing: -0.03em; color: var(--ink);
    margin: 18px 0 14px; text-wrap: balance;
}
.section-title--light { color: #fff; }
.section-sub, .section-lede {
    font-size: var(--t-md); color: var(--muted); line-height: 1.7; max-width: 60ch;
}

/* Prose (rich text from the admin: event descriptions, blog posts, Bengali) */
.prose { color: var(--ink-soft); line-height: 1.85; font-size: var(--t-md); overflow-wrap: anywhere; font-family: var(--font-body); }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); color: var(--ink); margin: 1.6em 0 0.6em; line-height: 1.2; }
.prose h2 { font-size: var(--d-3); }
.prose h3 { font-size: var(--d-4); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(37, 99, 235, 0.35); }
.prose a:hover { color: var(--blue-800); text-decoration-color: var(--blue); }
.prose img { border-radius: var(--r-md); margin: 1.2em 0; }
.prose blockquote {
    margin: 1.4em 0; padding: 14px 20px 14px 22px; border-left: 3px solid var(--blue); border-radius: 0 14px 14px 0;
    background: var(--sky-50); font-family: var(--font-display); font-size: 1.15em; font-weight: 600; color: var(--ink-2); line-height: 1.45;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: var(--t-sm); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose-list { list-style: none; padding: 0; margin: 0; }
.prose-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); line-height: 1.7; }
.prose-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-50); border: 1px solid rgba(5, 150, 105, 0.3); }
.prose-list li::after { content: ''; position: absolute; left: 6px; top: calc(0.55em + 5px); width: 6px; height: 8px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Pull quote */
.pull-quote {
    position: relative; padding: 8px 0 8px 28px; border-left: 3px solid var(--blue);
    font-family: var(--font-display); font-size: var(--d-3); font-weight: 600; line-height: 1.35; color: var(--ink);
}
.pull-quote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-style: normal; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

/* Ornament divider (legacy hook) — a short gradient rule */
.ornament {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    color: var(--blue); line-height: 0; padding: 0 var(--gutter);
}
.ornament::before, .ornament::after { content: ''; flex: 0 1 160px; height: 2px; border-radius: 2px; background: var(--grad-hair); opacity: 0.6; }
.ornament span { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); flex: none; }
.ornament--on-dark { color: var(--gold); }
.ornament--tight { margin: -1px 0; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

.section { padding: var(--section-y) 0; }
.section--paper-deep { background: var(--paper); }
.section--ink { background: var(--navy); color: #fff; }
.band--cream { background: var(--paper); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy); color: #fff; }

.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-head--center .section-eyebrow { justify-content: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row .section-title { margin-bottom: 0; }
.section-head--row .section-sub { margin-top: 12px; }
.section-head--mt { margin-top: var(--section-y); }
.section-head__count {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-800); padding: 9px 14px; border: 1px solid var(--line-blue); border-radius: var(--r-pill);
    background: var(--sky-50);
}

/* Grid children may hold tables or long words: never let them widen the page. */
.dashboard-grid > *, .event-detail-grid > *, .blog-detail-grid > *, .job-detail-grid > *, .profile-grid > *,
.contact-grid > *, .event-register-grid > *, .mission__grid > *, .about-story__grid > *, .next-event__grid > *, .hero__inner > *,
.pc-promo__grid > *, .member-hero__inner > * { min-width: 0; }
.dashboard-card__body, .table-card { min-width: 0; }

/* --------------------------------------------------------------------------
   5. COMPONENTS
   -------------------------------------------------------------------------- */

/* --- Buttons ------------------------------------------------------------ */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px;
    font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; border-radius: 12px; cursor: pointer;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
                background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), filter var(--dur);
}
.btn i { font-size: 0.92em; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover .fa-arrow-right, .btn:hover .fa-paper-plane { transform: translateX(3px); }
.btn:hover .fa-arrow-left { transform: translateX(-3px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled, .btn[disabled] { cursor: not-allowed; opacity: 0.55; transform: none !important; box-shadow: none !important; }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 3px; }

/* Shimmer that sweeps across the gold and blue buttons on hover */
.btn--gold::after, .btn--header::after, .btn--primary::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform var(--dur-slow) var(--ease-out);
}
.btn--gold:hover::after, .btn--header:hover::after, .btn--primary:hover::after { transform: translateX(130%); }

/* Gold — THE call to action (dark text: 9:1 on the gradient).
   The resting shadow keeps its legacy value because admin.css restyles
   .btn--gold without touching box-shadow; public pages get the gold glow
   through the zero-specificity :where() guard below. */
.btn--gold {
    background: var(--grad-gold); color: var(--navy); border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 8px 20px -10px rgba(168, 132, 47, 0.7);
}
:where(body:not(.admin-body)) .btn--gold { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 24px -10px rgba(245, 158, 11, 0.75); }
.btn--gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, var(--shadow-gold); filter: saturate(1.08) brightness(1.03); }

/* Blue — primary structural button */
.btn--primary { background: var(--grad-blue); color: #fff; border-color: rgba(30, 64, 175, 0.6); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -12px rgba(37, 99, 235, 0.75); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, var(--shadow-blue); filter: brightness(1.05); }
.btn--primary i { color: var(--gold); }

/* Outline */
.btn--outline { background: rgba(255, 255, 255, 0.8); color: var(--blue-800); border-color: rgba(37, 99, 235, 0.35); }
.btn--outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn--outline:hover i { color: var(--gold-soft); }

/* Ghost */
.btn--ghost { background: transparent; color: var(--blue-800); border-color: transparent; }
.btn--ghost:hover { background: var(--sky-50); color: var(--blue-800); }

/* Soft — sky tint, quiet secondary */
.btn--soft { background: var(--sky-50); color: var(--blue-800); border-color: var(--line-blue); }
.btn--soft:hover { background: var(--blue-100); color: var(--navy); border-color: var(--blue); transform: translateY(-2px); }
.btn--soft i { color: var(--blue); }

/* White — on photographs / dark bands */
.btn--white { background: #fff; color: var(--navy); border-color: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-md); }
.btn--white:hover { color: var(--blue-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Glass outline on dark backgrounds (hero, footer, dark bands) */
.btn--outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); color: #fff; transform: translateY(-2px); }
.btn--outline-light i { color: var(--gold-soft); }

/* Destructive (admin uses it too) */
.btn--danger { background: #dc2626; color: #fff; border: 1px solid #dc2626; }
.btn--danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }

/* Sizes */
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 10px; gap: 8px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 15px; border-radius: 14px; }
.btn--block { width: 100%; }
/* A full-width or large button with a long label ("Confirm Payment Details · Fee ৳1,500") wraps rather than clipping the amount. */
.btn--block, .btn--lg { white-space: normal; text-align: center; }

/* Header CTA — a compact gold pill */
.btn--header {
    min-height: 44px; padding: 0 20px; font-size: 13.5px; border-radius: var(--r-pill);
    background: var(--grad-gold); color: var(--navy); border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.75), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.btn--header:hover { color: var(--navy); transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(245, 158, 11, 0.8), 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
.btn--header i { color: var(--blue-800); }
.btn--header .btn--header__ticket { display: none; }
.btn--header__arrow { font-size: 0.85em; }

/* "Register Now" — the client asked for the blink; it breathes a gold halo. */
@keyframes ppiReunionBlink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0), 0 8px 20px -8px rgba(245, 158, 11, 0.75); }
    50%      { box-shadow: 0 0 0 7px rgba(251, 191, 36, 0.28), 0 12px 28px -8px rgba(245, 158, 11, 0.95); }
}
.btn--reunion-blink:hover { animation-play-state: paused; }

/* --- Badges & chips ----------------------------------------------------- */
.badge { display: inline-block; padding: 4px 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; border-radius: var(--r-pill); line-height: 1.4; }
.badge--success { background: var(--mint-50); color: var(--emerald-ink); }
.badge--warning { background: var(--gold-100); color: var(--gold-ink); }
.badge--error { background: #fee2e2; color: var(--red-ink); }
.badge--info { background: var(--sky-50); color: var(--blue-800); }

.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    border-radius: var(--r-pill); border: 1px solid var(--line-amber); color: var(--gold-ink); background: var(--gold-50);
}
.chip--emerald { border-color: rgba(5, 150, 105, 0.3); color: var(--emerald-ink); background: var(--mint-50); }
.chip--muted { border-color: var(--line-strong); color: var(--muted); background: rgba(15, 23, 42, 0.04); }
.chip--sky { border-color: var(--line-blue); color: var(--blue-800); background: var(--sky-50); }

/* Status chips (member area: payment + registration state) */
.status-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
    border-radius: var(--r-pill); border: 1px solid transparent; white-space: nowrap;
}
.status-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status-chip--paid, .status-chip--approved { background: var(--mint-50); color: var(--emerald-ink); border-color: rgba(5, 150, 105, 0.3); }
.status-chip--free { background: var(--sky-50); color: var(--blue-800); border-color: var(--line-blue); }
.status-chip--pending, .status-chip--awaiting { background: var(--gold-50); color: var(--amber-ink); border-color: rgba(245, 158, 11, 0.4); }
.status-chip--unpaid { background: #fff1e8; color: var(--rust-ink); border-color: rgba(234, 88, 12, 0.3); }
.status-chip--declined, .status-chip--cancelled { background: #fee2e2; color: var(--red-ink); border-color: rgba(220, 38, 38, 0.28); }
.status-chip--refunded { background: rgba(15, 23, 42, 0.05); color: var(--muted); border-color: var(--line-strong); }

/* --- Alerts & flash ----------------------------------------------------- */
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); margin-bottom: 20px; border: 1px solid transparent; }
.alert--error { background: #fef2f2; border-color: rgba(220, 38, 38, 0.25); border-left: 3px solid var(--red); color: var(--red-ink); }
.alert--success { background: var(--mint-50); border-color: rgba(5, 150, 105, 0.25); border-left: 3px solid var(--green); color: #065f46; }
.alert--warning { background: var(--gold-50); border-color: var(--line-amber); border-left: 3px solid var(--gold-deep); color: #78350f; }
.alert--warning i { color: var(--gold-500); }
.alert--info { background: var(--sky-50); border-color: var(--line-blue); border-left: 3px solid var(--blue); color: var(--ink); }
.alert i { padding-top: 2px; font-size: 16px; flex: none; }
.alert p { margin: 0; font-size: 14px; line-height: 1.5; }
.alert p + p { margin-top: 4px; }

.flash-message { padding: 14px 0; font-size: 14px; font-weight: 600; }
.flash-message--success { background: var(--mint-50); color: #065f46; border-bottom: 2px solid var(--green); }
.flash-message--error { background: #fef2f2; color: var(--red-ink); border-bottom: 2px solid var(--red); }
.flash-message i { margin-right: 8px; }

/* --- Card system (one visual language for every card on the site) -------- */
.event-card, .blog-card, .member-card, .responsibility-card, .value-card, .leader-card,
.job-card-lg, .event-row, .stat-card, .dashboard-card, .dashboard-sidebar, .sidebar-widget, .form-card, .table-card,
.profile-card, .profile-section-card, .event-summary-card, .job-detail-header, .job-detail-content,
.job-sidebar-card, .job-sidebar-share, .event-detail-content, .event-sidebar-share, .blog-detail-content,
.directory-filter, .jobs-filter, .empty-state, .contact-card, .staff-card, .reg-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
}
.event-card, .blog-card, .member-card, .responsibility-card, .value-card, .leader-card, .job-card-lg, .event-row, .stat-card, .reg-card {
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.event-card:hover, .blog-card:hover, .member-card:hover, .responsibility-card:hover, .value-card:hover, .leader-card:hover, .job-card-lg:hover, .event-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(11, 31, 75, 0.05), 0 34px 70px -32px rgba(37, 99, 235, 0.4);
    border-color: rgba(37, 99, 235, 0.3);
}
.card-media { position: relative; overflow: hidden; background: var(--paper-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.event-card__media img, .blog-card__media img, .event-row__media img, .leader-card__img img, .album-photo img, .gallery-item__media img { transition: transform var(--dur-slow) var(--ease-out); }
.event-card:hover .event-card__media img, .blog-card:hover .blog-card__media img, .event-row:hover .event-row__media img,
.leader-card:hover .leader-card__img img, .album-photo:hover img, .gallery-item:hover .gallery-item__media img { transform: scale(1.05); }

/* Date badge (shared by event cards, event rows, dashboard lists) */
.event-card__date-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    min-width: 58px; padding: 9px 10px 8px; text-align: center;
    background: rgba(255, 255, 255, 0.96); color: var(--navy);
    border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(11, 31, 75, 0.5);
    backdrop-filter: blur(6px);
}
.event-card__date-badge::after { content: ''; position: absolute; left: 12px; right: 12px; top: 0; height: 3px; background: var(--grad-hair); border-radius: 0 0 3px 3px; }
.event-card__date-day { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.event-card__date-month { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; margin-top: 4px; color: var(--blue); }
.event-card__date-year { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-top: 2px; }

/* Status chip on media */
.event-card__status {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    padding: 6px 11px; border-radius: var(--r-pill);
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
    backdrop-filter: blur(6px);
}
.event-card__status--upcoming { background: var(--grad-green); color: #fff; box-shadow: 0 8px 18px -8px rgba(5, 150, 105, 0.8); }
.event-card__status--past { background: rgba(255, 255, 255, 0.92); color: var(--ink-soft); }

/* The taka sign is missing from the display face on some systems; fall through to Noto Sans Bengali. */
.event-row__price, .event-sidebar-card__header h3, .summary-total strong, .event-summary-list__value--total { font-family: var(--font-display), 'Noto Sans Bengali', sans-serif; }

/* --- Forms -------------------------------------------------------------- */
.form-card { padding: 40px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-hair); }
.form-card__header { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-card__title { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; color: var(--ink); margin: 12px 0 6px; line-height: 1.15; letter-spacing: -0.025em; }
.form-card__sub { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Steps: numbered section headers; on wide screens a gradient rail runs
   from each number down to the next, so a long form reads as a sequence. */
.form-steps { position: relative; }
.form-step { position: relative; padding: 0 0 8px 52px; }
.form-step + .form-step { margin-top: 28px; }
.form-step::before { content: ''; position: absolute; left: 17px; top: 46px; bottom: -28px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), rgba(13, 148, 136, 0.15)); }
.form-step:last-of-type::before { display: none; }
.form-step .form-section-title { margin-left: -52px; }
.form-step .form-section-title::after { content: ''; flex: 1; }
.form-section-title {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em;
    margin: 32px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.form-section-title:first-of-type, .form-step .form-section-title { margin-top: 0; }
.form-section-title__num {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
    background: var(--grad-brand); color: #fff; border: 0; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 8px 16px -8px rgba(37, 99, 235, 0.7);
}

.form-group { margin-bottom: 18px; }
.form-label {
    display: block; font-size: 12px; font-weight: 700; color: var(--ink);
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em;
}
.form-control {
    width: 100%; min-height: 48px; padding: 11px 16px;
    border: 1px solid var(--line-strong); border-radius: 12px;
    font-size: 15px; background: var(--white); color: var(--ink); line-height: 1.4;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
    -webkit-appearance: none; appearance: none;
}
select.form-control {
    padding-right: 42px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 14px center;
}
textarea.form-control { min-height: 96px; resize: vertical; line-height: 1.55; }
.form-control::placeholder { color: var(--muted-light); }
.form-control:hover { border-color: rgba(37, 99, 235, 0.4); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16); }
.form-control[readonly] { background: var(--paper); color: var(--muted); cursor: not-allowed; }
.form-control[type="file"] { padding: 9px 12px; font-size: 14px; }
.form-control[type="file"]::file-selector-button {
    margin-right: 12px; padding: 7px 14px; border: 1px solid var(--line-blue); border-radius: 8px;
    background: var(--sky-50); color: var(--blue-800); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.form-control.is-invalid, .form-control:user-invalid { border-color: var(--red); }
.form-error, .invalid-feedback { display: block; margin-top: 6px; font-size: 13px; color: var(--red-ink); }
.form-hint, .form-help { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-row { display: grid; gap: 16px 20px; }
.form-row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-row--between { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 4px 0 24px; flex-wrap: wrap; }
.req { color: var(--red); font-weight: 700; }
.form-link { color: var(--blue); font-size: 13.5px; font-weight: 700; }
.form-link:hover { color: var(--blue-800); }

.form-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-check--terms { padding: 16px; background: var(--sky-50); border: 1px solid var(--line-blue); border-radius: var(--r-md); margin: 22px 0; align-items: flex-start; }
.form-check--terms a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.form-submit { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }

.dob-group { display: grid; grid-template-columns: 0.9fr 1fr 1.1fr; gap: 10px; }
.dob-group select.form-control { padding-left: 12px; padding-right: 28px; background-position: right 9px center; }

.input-icon-group { position: relative; }
.input-icon-group > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 14px; pointer-events: none; opacity: 0.9; }
.input-icon-group .form-control { padding-left: 46px; }
.input-icon-group .pw-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; border-radius: 8px; color: var(--muted-light); cursor: pointer; font-size: 15px;
}
.input-icon-group .pw-toggle:hover { color: var(--blue); background: var(--sky-50); }

/* Photo upload */
.photo-upload { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; padding: 18px; background: var(--paper-warm); border: 1px dashed rgba(37, 99, 235, 0.45); border-radius: var(--r-lg); }
.photo-upload__preview {
    width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex: none;
    background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 32px; font-weight: 800;
    border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line-blue), var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out);
}
.photo-upload__preview:hover { transform: scale(1.03); }
.photo-upload__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Radio group (Yes / No) */
.radio-group { display: flex; gap: 10px; }
.radio-option { flex: 1; position: relative; cursor: pointer; }
.radio-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-option > span {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: var(--white); font-weight: 700; color: var(--ink-soft); font-size: 14px; white-space: nowrap;
    transition: all var(--dur-fast) var(--ease-out);
}
.radio-option:hover > span { border-color: var(--blue); color: var(--ink); }
.radio-option input[type="radio"]:focus-visible + span { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 2px; }
.radio-option input[type="radio"]:checked + span { background: var(--sky-50); color: var(--blue-800); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.radio-option input[type="radio"]:checked + span i { color: var(--blue); }
.radio-group--inline { display: inline-flex; gap: 10px; max-width: 360px; }
.radio-group--inline .radio-option { min-width: 120px; }

/* Filter toolbars (directory, events, jobs, attendee list) */
.directory-filter, .jobs-filter { padding: 14px; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.directory-filter--compact { margin-bottom: 28px; }
.directory-filter__form, .jobs-filter__form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: center; }
.directory-filter__field, .jobs-filter__field { position: relative; }
.directory-filter__field input, .directory-filter__field select, .jobs-filter__field input, .jobs-filter__field select {
    width: 100%; min-height: 48px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 12px;
    font-size: 15px; background: var(--paper-warm); color: var(--ink); -webkit-appearance: none; appearance: none;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.directory-filter__field select, .jobs-filter__field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 14px center;
}
.directory-filter__field input:focus, .directory-filter__field select:focus, .jobs-filter__field input:focus, .jobs-filter__field select:focus { border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14); outline: none; }
.directory-filter__field--search input, .jobs-filter__field--search input { padding-left: 44px; }
.directory-filter__field i, .jobs-filter__field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; }

/* --- Tables -------------------------------------------------------------- */
.table-card { overflow: hidden; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table thead { background: var(--paper-warm); }
.data-table th { padding: 14px 18px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(37, 99, 235, 0.04); }
.data-table__user { display: flex; align-items: center; gap: 12px; }
.data-table__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display); flex: none; overflow: hidden; border: 1px solid var(--line-gold); }
.data-table__avatar img { width: 100%; height: 100%; object-fit: cover; }
.data-table__user strong { display: block; color: var(--ink); font-weight: 700; }
.data-table__user span { display: block; font-size: 12px; color: var(--muted); }
.data-table__mono { font-family: var(--font-mono); font-size: 13px; color: var(--blue-800); letter-spacing: 0.02em; }
.data-table__actions { display: flex; gap: 6px; }
.data-table__action-btn { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--paper); color: var(--ink); border: 1px solid var(--line); transition: all var(--dur-fast); }
.data-table__action-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.data-table__action-btn--danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.data-table__action-btn--success { background: var(--mint-50); color: var(--emerald); border-color: rgba(5, 150, 105, 0.2); }
.data-table__action-btn--success:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }

/* --- Pagination ----------------------------------------------------------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 40px; }
.pagination-nav { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; padding: 0; }
.pagination-info { font-size: 13px; color: var(--muted); }
.pagination-info strong { color: var(--ink); font-weight: 700; }
.pagination { display: inline-flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.pagination__item { display: inline-flex; }
.pagination__item > a, .pagination__item > span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 12px;
    background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
    font-size: 14px; font-weight: 700; text-decoration: none; transition: all var(--dur-fast) var(--ease-out);
}
.pagination__item > a:hover { background: var(--sky-50); color: var(--blue-800); border-color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.pagination__item--active > span { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.pagination__item--disabled > span { opacity: 0.45; cursor: not-allowed; background: var(--paper); }
.pagination__item--ellipsis > span { border: none; background: transparent; min-width: auto; padding: 0 4px; color: var(--muted-light); }
.pagination__item i { font-size: 11px; }

/* --- Share buttons & social rows ------------------------------------------ */
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.share-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.share-btn--fb { background: #1877f2; }
.share-btn--tw { background: #1da1f2; }
.share-btn--li { background: #0a66c2; }
.share-btn--wa { background: #25d366; }

/* --- Empty state ---------------------------------------------------------- */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border-style: dashed; border-color: rgba(37, 99, 235, 0.35); background: var(--paper-warm); box-shadow: none; }
.empty-state__icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 26px; box-shadow: var(--shadow-blue); }
.empty-state > i { font-size: 52px; color: var(--blue-300); margin-bottom: 20px; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.empty-state p { color: var(--muted); font-size: 15px; margin: 0 auto 20px; max-width: 440px; line-height: 1.65; }

/* --- Breadcrumb (glass pill, sits on the blue page headers) ---------------- */
.breadcrumb {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 8px 14px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.1em; text-transform: uppercase;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb i { font-size: 9px; opacity: 0.6; }
.breadcrumb span { color: #fff; }

/* --- Countdown (markup rendered by main.js) --------------------------------- */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.countdown__item {
    position: relative; padding: 18px 6px 14px; border-radius: 16px; text-align: center; min-width: 0;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 12px 28px -18px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.countdown__num {
    position: relative; display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
    font-variant-numeric: lining-nums tabular-nums;
    background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.countdown__label { display: block; margin-top: 9px; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.countdown__expired { grid-column: 1 / -1; display: block; text-align: center; padding: 18px 0; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--gold-soft); }

/* --- Link underline slide (inline text links) -------------------------------- */
.link-underline, .blog-card__readmore, .event-card__members a, .next-event__meta a, .dashboard-card__head a, .auth-form-sub a, .auth-switch__link, .footer-links a, .text-link {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}
.link-underline:hover, .blog-card__readmore:hover, .event-card__members a:hover, .next-event__meta a:hover, .dashboard-card__head a:hover, .auth-form-sub a:hover, .auth-switch__link:hover, .footer-links a:hover, .text-link:hover { background-size: 100% 2px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 14px; }
.text-link i { font-size: 11px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover { color: var(--blue-800); }
.text-link:hover i { transform: translateX(3px); }

/* --- Scroll-to-top ---------------------------------------------------------- */
.scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 50;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--grad-blue); color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
    box-shadow: var(--shadow-blue);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur), background-color var(--dur-fast), color var(--dur-fast);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { filter: brightness(1.08); color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */

/* --- Topbar: deep royal blue strip (e-mail, hotlines, socials, sign-in) --- */
.topbar {
    position: relative; z-index: 101; padding: 0; font-size: 12.5px; color: var(--on-dark);
    background: linear-gradient(90deg, #0b1f4b 0%, #12306f 55%, #0b1f4b 100%);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar__left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.topbar__left a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark); min-height: 28px; font-weight: 500; }
.topbar__left a:hover { color: var(--gold-soft); }
.topbar__left i { font-size: 11px; color: var(--gold); }
.topbar__sep { opacity: 0.35; }
.topbar__phones { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phones i { flex: none; }
.topbar__phones-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.topbar__left a.topbar__phone {
    padding: 2px 11px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff; font-weight: 700; letter-spacing: 0.03em; font-variant-numeric: lining-nums tabular-nums;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.topbar__left a.topbar__phone:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.topbar__right { display: flex; gap: 8px; align-items: center; }
.topbar__right > a:not(.topbar__btn) {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06);
    font-size: 11px; color: rgba(255, 255, 255, 0.85);
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.topbar__right > a:not(.topbar__btn):hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-1px); }
.topbar__btn {
    display: inline-flex; align-items: center; min-height: 28px; padding: 0 13px; border-radius: var(--r-pill);
    border: 1px solid rgba(251, 191, 36, 0.6); color: var(--gold-soft); background: rgba(251, 191, 36, 0.08);
    font-size: 12px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.topbar__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.topbar__btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; background: transparent; }
.topbar__btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* --- Sticky header: white with a gradient hairline, turns glassy on scroll --- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
/* The glass lives on a pseudo-element: a backdrop-filter on the header itself
   would turn it into the containing block of the fixed mobile drawer. */
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
    opacity: 0; transition: opacity var(--dur) var(--ease-out);
}
/* The 3px blue → teal → gold hairline */
.site-header::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-hair); pointer-events: none; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 14px; transition: padding var(--dur) var(--ease-out); }
.site-header.scrolled { background: transparent; border-bottom-color: rgba(37, 99, 235, 0.14); box-shadow: 0 14px 36px -24px rgba(11, 31, 75, 0.35); }
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled .container { padding-top: 10px; padding-bottom: 9px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand__mark { color: var(--blue); flex: none; }
.brand__mark--img { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: none; transition: width var(--dur) var(--ease-out), height var(--dur) var(--ease-out); }
.brand__mark--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.45); }
.site-header.scrolled .brand__mark--img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; white-space: nowrap; }
.brand__tag { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-top: 4px; white-space: nowrap; }
.brand--footer { color: #fff; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__mark { color: var(--gold); }
.brand--footer .brand__tag { color: var(--gold); }
.brand--footer .brand__mark--img { width: 60px; height: 60px; }

/* Desktop nav with an animated gradient underline */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-size: 14px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.005em; border-radius: var(--r-sm); white-space: nowrap;
    transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px;
    background: var(--grad-hair); border-radius: 3px;
    transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.main-nav a:hover { color: var(--blue-800); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--blue-800); font-weight: 700; }
.main-nav a.active::after { transform: scaleX(1); }
.main-nav__link { position: relative; }
.main-nav__close { display: none; }
.main-nav__mobile-actions { display: none; }
.main-nav__foot { display: none; }
/* "New" pill on the Photo Card link: sits above the label so it costs no width */
.main-nav a.main-nav__pc { padding-right: 16px; }
.nav-new {
    position: absolute; top: 1px; right: -6px;
    display: inline-flex; align-items: center; padding: 2px 6px 2px; border-radius: var(--r-pill);
    background: var(--grad-green); color: #fff;
    font-size: 8.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
    box-shadow: 0 4px 10px -4px rgba(5, 150, 105, 0.8); pointer-events: none;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color var(--dur-fast), background var(--dur-fast);
}
.nav-toggle:hover { border-color: var(--blue); background: var(--sky-50); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 75, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility var(--dur); z-index: 99; }
.nav-backdrop.is-active { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. HOME
   -------------------------------------------------------------------------- */

/* --- Hero (v15): the academic building in its real colours, clear on the
       right; a deep-blue scrim + a light blur on the left keep the headline
       readable; the reunion ticket is a frosted card over the photograph.
       Nothing in here is scroll-revealed. ------------------------------------ */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: #fff; background: var(--grad-navy);
    padding: 72px 0 132px;
}
/* Photograph: full bleed, no duotone, no blend mode */
.hero__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background: var(--grad-navy); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
/* Left: a light blur that has faded out by ~58 % of the width */
.hero__bg::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 58%);
    mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 58%);
}
/* Deep-blue scrim on the left, a soft shade under the header, a light edge
   vignette and a bottom fade so the white wave reads cleanly */
.hero__bg::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(90deg, rgba(7, 20, 54, 0.95) 0%, rgba(9, 26, 68, 0.9) 24%, rgba(12, 36, 94, 0.72) 40%, rgba(14, 42, 108, 0.34) 52%, rgba(14, 42, 108, 0.08) 60%, rgba(14, 42, 108, 0) 66%),
        linear-gradient(180deg, rgba(11, 31, 75, 0.34) 0%, rgba(11, 31, 75, 0) 20%, rgba(11, 31, 75, 0) 66%, rgba(11, 31, 75, 0.46) 100%),
        radial-gradient(130% 100% at 72% 45%, rgba(11, 31, 75, 0) 62%, rgba(11, 31, 75, 0.3) 100%);
}
/* Aurora glows (teal, blue) — on the left only, so the photo keeps its colours */
.hero::before {
    content: ''; position: absolute; inset: -20% 42% -20% -10%; z-index: -2; pointer-events: none;
    background: radial-gradient(50% 46% at 22% 20%, rgba(20, 184, 166, 0.34), transparent 66%), radial-gradient(55% 50% at 30% 88%, rgba(59, 130, 246, 0.42), transparent 66%);
    filter: blur(30px);
}
.hero__vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--pattern-dots-light); -webkit-mask-image: radial-gradient(48% 62% at 22% 42%, #000 0%, transparent 75%); mask-image: radial-gradient(48% 62% at 22% 42%, #000 0%, transparent 75%); opacity: 0.75; display: block; }
/* "Bashundhara Residential Area, Dhaka" — a quiet caption on the photograph */
.hero__place {
    position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); bottom: 92px;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
    background: rgba(11, 31, 75, 0.66); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.hero__place i { color: var(--gold); font-size: 11px; }
/* Curved bottom edge into the (white) next section */
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; z-index: 1; pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'><path d='M0 72V40C240 4 480 0 720 22c240 22 480 26 720-6v56z' fill='%23ffffff'/></svg>") no-repeat center / 100% 100%;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero__content { max-width: 640px; }
/* Eyebrow pill — "1st CEF Reunion 2026 · 26 Dec 2026" */
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.5);
}
.hero__eyebrow-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--grad-gold); color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.hero__eyebrow-tag i { font-size: 9px; }
.hero__eyebrow-sep { opacity: 0.5; }
.hero__title {
    font-family: var(--font-display); font-size: var(--d-hero); font-weight: 800;
    line-height: 1.02; letter-spacing: -0.035em; margin: 24px 0 22px; color: #fff; text-wrap: balance;
}
.hero__lead { font-size: var(--t-lg); line-height: 1.65; color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; align-items: center; }
.hero__register-btn { position: relative; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 18px 40px -14px rgba(245, 158, 11, 0.85); padding-right: 26px; }
.hero__register-btn i { color: var(--blue-800); }
/* Trust row: icon chips */
.hero__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__stats > li, .hero__stats > div {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__stat-icon { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: var(--grad-brand); flex: none; box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.8); }
.hero__stat-icon--gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 6px 14px -6px rgba(245, 158, 11, 0.9); }
.hero__stat-icon--green { background: var(--grad-green); box-shadow: 0 6px 14px -6px rgba(5, 150, 105, 0.9); }
.hero__stat-icon--teal { background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 45%, #0f766e 100%); box-shadow: 0 6px 14px -6px rgba(13, 148, 136, 0.9); }
.hero__stat-value { display: inline-flex; align-items: baseline; line-height: 1; }
.hero__stat-num { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.hero__stat-plus { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--gold); margin-left: 1px; }
.hero__stat-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); font-weight: 500; margin-left: 2px; white-space: nowrap; }
.hero__note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.hero__note a { color: var(--gold-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(253, 230, 138, 0.4); }
.hero__note a:hover { color: #fff; }

/* Right column: the glass ticket + live tag + seal */
.hero__visual { position: relative; display: block; padding: 22px 0 0; min-height: 0; max-width: 560px; margin-left: auto; width: 100%; }
.hero__visual::before {           /* a soft shadow pool that lifts the card off the photo */
    content: ''; position: absolute; inset: 16% 2% -6% 2%; z-index: 0; pointer-events: none; border-radius: 40px;
    background: radial-gradient(60% 60% at 50% 55%, rgba(7, 20, 54, 0.55), transparent 72%); filter: blur(26px);
}
.hero__visual::after { content: none; }
.hero__photo { display: none; }
.hero__visual-frame, .hero__visual--has-banner .hero__visual-frame { display: none; }
.hero__visual-tag {
    position: absolute; top: 0; left: 22px; z-index: 5;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: var(--r-pill);
    background: #fff; color: var(--navy); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.55);
    font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.hero__visual-tag i { color: var(--green-500); font-size: 7px; filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.8)); }
.hero__visual-badge { display: none; }
.hero__seal {
    position: absolute; top: -14px; right: -12px; z-index: 5;
    width: 92px; height: 92px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--grad-gold); color: var(--navy);
    border: 3px solid rgba(255, 255, 255, 0.85); box-shadow: 0 16px 34px -12px rgba(245, 158, 11, 0.9), 0 0 0 6px rgba(251, 191, 36, 0.18);
    font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
}
.hero__seal small { font-family: var(--font-body); font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-800); margin-bottom: 4px; }

/* The reunion ticket — data driven; text and hotlines must stay. A glass
   card with a gradient border, the live strip on top and a gold CTA. */
.reunion-banner {
    position: relative; z-index: 2; display: block; color: #fff;
    border-radius: 26px; overflow: hidden; margin-top: 20px;
    /* Stronger frost now that the photograph behind it is in full colour */
    background: linear-gradient(160deg, rgba(14, 38, 96, 0.7), rgba(11, 31, 75, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.reunion-banner:hover { transform: translateY(-4px); border-color: rgba(253, 230, 138, 0.6); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(253, 230, 138, 0.2), 0 1px 0 rgba(255, 255, 255, 0.25) inset; }
.reunion-banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(251, 191, 36, 0.18), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(20, 184, 166, 0.22), transparent 60%); }
.reunion-banner__strip {
    position: relative; display: flex; align-items: center; gap: 9px; padding: 11px 104px 11px 22px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.28), rgba(13, 148, 136, 0.18));
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.reunion-banner__live { width: 9px; height: 9px; border-radius: 50%; background: var(--green-300); flex: none; box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.25), 0 0 12px rgba(52, 211, 153, 0.9); }
@keyframes ppiReunionPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
.reunion-banner__strip-end { margin-left: auto; letter-spacing: 0.1em; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; padding: 3px 10px; border-radius: var(--r-pill); background: var(--grad-gold); color: var(--navy); }
.reunion-banner--closed .reunion-banner__strip { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8); }
.reunion-banner--closed .reunion-banner__cta { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
.reunion-banner--closed:hover .reunion-banner__cta { background: rgba(255, 255, 255, 0.2); }
.reunion-banner--closed .reunion-banner__window strong { color: #fff; }
.reunion-banner__body { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 16px 18px; align-items: center; padding: 24px 24px 20px; }
.reunion-banner__crest {
    width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #fff; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(255, 255, 255, 0.12);
}
.reunion-banner__crest img { width: 54px; height: 54px; object-fit: contain; }
.reunion-banner__text { min-width: 0; }
.reunion-banner__kicker { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reunion-banner__title { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.1vw, 1.95rem); font-weight: 800; line-height: 1.08; color: #fff; letter-spacing: -0.03em; }
.reunion-banner__window { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.72); line-height: 1.45; }
.reunion-banner__window strong { color: #fff; font-weight: 700; }
.reunion-banner__cta {
    grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px;
    background: var(--grad-gold); color: var(--navy);
    border: 1px solid rgba(245, 158, 11, 0.5); font-size: 14.5px; font-weight: 800; letter-spacing: 0.02em;
    padding: 0 18px; border-radius: 14px; white-space: nowrap;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 16px 30px -12px rgba(245, 158, 11, 0.9); transition: filter var(--dur-fast), transform var(--dur-fast);
}
.reunion-banner__cta i { color: var(--blue-800); }
.reunion-banner:hover .reunion-banner__cta { filter: brightness(1.05); transform: translateY(-1px); }
.reunion-banner__foot {
    position: relative; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
    padding: 13px 24px 16px; background: rgba(11, 31, 75, 0.35); border-top: 1px dashed rgba(255, 255, 255, 0.22);
    font-size: 12.5px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.01em;
}
.reunion-banner__foot::before, .reunion-banner__foot::after { content: none; }
.reunion-banner__foot span { display: inline-flex; align-items: center; gap: 6px; }
.reunion-banner__foot i { color: var(--teal-300); font-size: 11px; }
.reunion-banner__foot b { color: #fff; font-weight: 700; }
.reunion-banner__foot span.reunion-banner__phones { gap: 8px; }
.reunion-banner__foot span.reunion-banner__phones-div { flex: none; width: 1px; height: 11px; background: rgba(255, 255, 255, 0.3); border-radius: 1px; }
.hero__visual-banner { display: block; }

/* --- Department marquee (names come from FormOptions::departments()) ------
       A chip rail: each department is a gradient-bordered pill. ------------ */
.dept-marquee { position: relative; background: #fff; overflow: hidden; padding: 6px 0 10px; }
.dept-marquee__inner { display: flex; align-items: center; gap: 0; }
.dept-marquee__label {
    flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px 0 max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
    font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-800);
    position: relative; z-index: 2; white-space: nowrap; min-height: 52px;
    background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, 0));
}
.dept-marquee__label i { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 13px; box-shadow: 0 8px 16px -8px rgba(37, 99, 235, 0.8); }
.dept-marquee__viewport {
    flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
}
.dept-marquee__track { display: flex; width: max-content; }
.dept-marquee:hover .dept-marquee__track { animation-play-state: paused; }
.dept-marquee__group { display: flex; list-style: none; margin: 0; padding: 0 6px 0 0; gap: 12px; }
.dept-marquee__group li {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; white-space: nowrap; margin: 6px 0;
    font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink-2); border-radius: var(--r-pill);
    border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, var(--grad-hair) border-box;
    box-shadow: 0 6px 14px -10px rgba(37, 99, 235, 0.5);
}
.dept-marquee__group li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); flex: none; }
.dept-marquee__group li::after { content: none; }
@keyframes ppiMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Next-event countdown band — dark royal band, glass card, gold digits --- */
.next-event {
    position: relative; overflow: hidden; padding: 96px 0; color: #fff;
    background: linear-gradient(135deg, #0b1f4b 0%, #14337a 55%, #0b1f4b 100%);
}
.next-event::before { content: ''; position: absolute; inset: -10%; pointer-events: none; background: var(--grad-aurora); filter: blur(40px); opacity: 0.8; }
.next-event::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--pattern-grid); }
.next-event .container { position: relative; z-index: 2; }
.next-event__shell {
    position: relative; overflow: hidden; padding: 48px 52px; border-radius: var(--r-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.next-event__shell::before { content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%; pointer-events: none; background: radial-gradient(70% 90% at 100% 0%, rgba(251, 191, 36, 0.14), transparent 65%); }
.next-event__shell::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-hair); }
.next-event__body, .pc-promo__content { min-width: 0; }
.next-event__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center; }
.next-event__pill {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 7px 15px; border-radius: var(--r-pill);
    background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(110, 231, 183, 0.4); color: var(--green-300);
    font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.next-event__pill--closed { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7); }
.next-event__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 10px rgba(52, 211, 153, 0.9); }
@keyframes ppiNextPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.next-event .section-eyebrow { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.next-event .section-eyebrow::before { background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); }
.next-event__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: var(--d-1); line-height: 1.06; margin: 16px 0 22px; letter-spacing: -0.03em; text-wrap: balance; }
.next-event__meta { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.next-event__meta li {
    display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}
.next-event__meta i { color: var(--gold); font-size: 13px; }
.next-event__meta strong { color: #fff; font-weight: 800; }
.next-event__meta a { color: var(--teal-300); font-weight: 700; margin-left: 4px; }
.next-event__meta a:hover { color: #fff; }
.next-event__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.next-event__cta .btn--outline { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.next-event__cta .btn--outline:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); color: #fff; box-shadow: none; }
.next-event__cta .btn--outline i { color: var(--gold-soft); }
.next-event__pc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.next-event__pc > i { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-green); color: #fff; font-size: 12px; }
.next-event__pc .text-link { color: var(--gold-soft); }
.next-event__pc .text-link:hover { color: #fff; }
.next-event__panel {
    position: relative; padding: 28px 26px 24px; border-radius: 24px;
    background: rgba(11, 31, 75, 0.45); border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.next-event__panel::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.next-event__panel-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.next-event__panel-head::before, .next-event__panel-head::after { content: ''; width: 22px; height: 1px; background: rgba(253, 230, 138, 0.6); }
.next-event__deadline {
    display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px; color: rgba(255, 255, 255, 0.8); line-height: 1.45;
}
.next-event__deadline i { color: var(--gold); flex: none; }
.next-event__deadline strong { color: #fff; }
.next-event__deadline--closed { background: rgba(255, 255, 255, 0.05); }
.next-event__deadline--closed i { color: rgba(255, 255, 255, 0.6); }
.next-event-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.reg-live-pill { display: inline-flex; }

/* --- How to register (v15): a timeline — big numbered gradient badges on one
       gradient path (a dot travels along it when motion is allowed), a rich
       card under each badge, and a CTA bar. Soft aurora + a fine dot grid. --- */
.howto { position: relative; isolation: isolate; padding: var(--section-y) 0; background: var(--paper); overflow: hidden; }
.howto::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(36% 48% at 4% 14%, rgba(37, 99, 235, 0.14), transparent 70%),
                radial-gradient(32% 46% at 98% 26%, rgba(20, 184, 166, 0.16), transparent 70%),
                radial-gradient(42% 52% at 62% 106%, rgba(251, 191, 36, 0.16), transparent 70%);
}
.howto__decor {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--pattern-dots); background-size: 22px 22px; opacity: 0.6;
    -webkit-mask-image: radial-gradient(56% 60% at 50% 38%, #000 0%, transparent 78%); mask-image: radial-gradient(56% 60% at 50% 38%, #000 0%, transparent 78%);
}
.howto .container { position: relative; }
.howto-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.howto-steps::before {        /* the path through the three badges */
    content: ''; position: absolute; top: 35px; left: calc(100% / 6); right: calc(100% / 6); height: 4px; margin-top: -2px; border-radius: 4px; z-index: 0;
    background: linear-gradient(90deg, #2563eb 0%, #14b8a6 50%, #fbbf24 100%);
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.55);
}
.howto-steps::after {         /* the travelling dot — only animated under no-preference (RESPONSIVE) */
    content: ''; position: absolute; top: 35px; left: calc(100% / 6); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; z-index: 0;
    background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22), 0 0 18px 2px rgba(56, 189, 248, 0.85); opacity: 0;
}
@keyframes ppiHowtoTravel {
    0%   { left: calc(100% / 6); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: calc(500% / 6); opacity: 0; }
}
.howto-step {
    --step-grad: var(--grad-brand); --step-tint: var(--sky-50); --step-ink: var(--blue-800); --step-line: rgba(37, 99, 235, 0.18); --step-glow: rgba(37, 99, 235, 0.85);
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 0;
}
.howto-step--green { --step-grad: var(--grad-green); --step-tint: var(--mint-50); --step-ink: var(--emerald-ink); --step-line: rgba(5, 150, 105, 0.2); --step-glow: rgba(5, 150, 105, 0.85); }
.howto-step--gold  { --step-grad: var(--grad-gold); --step-tint: var(--gold-50); --step-ink: var(--gold-ink); --step-line: rgba(245, 158, 11, 0.32); --step-glow: rgba(245, 158, 11, 0.85); }
.howto-step__badge {
    position: relative; z-index: 2; flex: none; width: 70px; height: 70px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff;
    background: var(--step-grad);
    box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--step-line), 0 20px 34px -14px var(--step-glow);
    transition: transform var(--dur) var(--ease-out);
}
.howto-step__badge::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); }
.howto-step--gold .howto-step__badge { color: var(--navy); }
.howto .section-sub { text-wrap: balance; }
.howto-step__card {
    position: relative; flex: 1; width: 100%; margin-top: 26px; padding: 30px 28px 24px; display: flex; flex-direction: column; text-align: left;
    background: linear-gradient(180deg, var(--step-tint) 0%, #fff 34%); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.howto-step__card::before {   /* a notch pointing up at the badge */
    content: ''; position: absolute; top: -8px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; transform: rotate(45deg);
    background: var(--step-tint); border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 4px 0 0 0;
}
.howto-step__card::after {    /* the step's colour as a top hairline */
    content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--step-grad);
}
.howto-step:hover .howto-step__card { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--step-line); }
.howto-step:hover .howto-step__badge { transform: scale(1.06); }
.howto-step__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.howto-step__icon {
    width: 54px; height: 54px; flex: none; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 21px; color: var(--step-ink); background: var(--step-tint); border: 1px solid var(--step-line);
    box-shadow: 0 1px 0 #fff inset, 0 10px 20px -14px var(--step-glow);
}
.howto-step__kicker {
    padding: 5px 11px; border-radius: var(--r-pill); background: var(--step-tint); color: var(--step-ink);
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.howto-step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; }
.howto-step p { flex: 1; color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }
.howto-step__meta {
    display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-strong);
    font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.01em;
}
.howto-step__meta i {
    width: 28px; height: 28px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--step-ink); background: var(--step-tint);
}
/* CTA bar — one white card with a gradient hairline border */
.howto__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
    max-width: 1120px; margin: 48px auto 0; padding: 14px 14px 14px 22px; border-radius: 22px;
    background: linear-gradient(#fff, #fff) padding-box, var(--grad-hair) border-box; border: 1px solid transparent;
    box-shadow: var(--shadow-md);
}
.howto__cta-text { display: flex; align-items: center; gap: 14px; margin: 0; min-width: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.howto__cta-text strong { color: var(--ink); font-weight: 800; }
.howto__cta-icon {
    width: 46px; height: 46px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-brand); color: #fff; font-size: 17px; box-shadow: 0 12px 22px -12px rgba(37, 99, 235, 0.85);
}
.howto__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Photo card promotion (+ the profile-frame promo under it = "Show you're coming") --- */
.pc-promo { position: relative; overflow: hidden; padding: var(--section-y) 0 56px; background: var(--paper); }
.pc-promo::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 70% at 82% 45%, rgba(37, 99, 235, 0.14), transparent 70%), var(--glow-gold); }
.pc-promo .container { position: relative; }
.pc-promo__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: center; }
.pc-promo__list { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 14px; }
.pc-promo__list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.pc-promo__list i {
    flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 14px;
    background: var(--grad-brand); color: #fff; font-size: 16px; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.8);
}
.pc-promo__list li:nth-child(2) i { background: var(--grad-green); box-shadow: 0 10px 20px -10px rgba(5, 150, 105, 0.8); }
.pc-promo__list li:nth-child(3) i { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 20px -10px rgba(245, 158, 11, 0.8); }
.pc-promo__list strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 2px; font-weight: 700; }
.pc-promo__list span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pc-promo__actions { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.pc-promo__note { font-size: 13.5px; color: var(--muted); max-width: 30ch; line-height: 1.5; }
.pc-promo__visual { position: relative; padding: 24px 0; }
.pc-promo__visual::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; background: conic-gradient(from 90deg, rgba(37, 99, 235, 0.18), rgba(20, 184, 166, 0.18), rgba(251, 191, 36, 0.18), rgba(37, 99, 235, 0.18)); filter: blur(30px); pointer-events: none;
}
.pc-promo__badge {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line);
    color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; box-shadow: var(--shadow-md); white-space: nowrap;
}
.pc-promo__badge i { color: var(--blue); }
.pc-promo__badge--a { top: 58%; left: -2%; }
.pc-promo__badge--b { bottom: 14%; right: 2%; }
.pc-promo__badge--b i { color: var(--green); }

/* --- Mission (split) ------------------------------------------------------ */
.mission { padding: var(--section-y) 0; background: #fff; position: relative; overflow: hidden; }
.mission__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.mission__visual {
    position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--r-xl); overflow: hidden;
    box-shadow: 22px 22px 0 -1px var(--sky-50), 22px 22px 0 0 rgba(37, 99, 235, 0.35), var(--shadow-xl);
}
.mission__visual::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(11, 31, 75, 0.7) 100%); }
.mission__visual::after { content: ''; position: absolute; inset: 14px; z-index: 2; pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: calc(var(--r-xl) - 10px); }
.mission__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.mission__visual-caption { position: absolute; left: 30px; bottom: 26px; z-index: 3; color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(11, 31, 75, 0.5); }
.mission__visual-caption small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.mission__content p { color: var(--muted); line-height: 1.75; font-size: var(--t-md); }
.mission__features { list-style: none; padding: 0; margin: 30px 0 34px; counter-reset: feature; }
.mission__features li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.mission__features li:last-child { border-bottom: 1px solid var(--line); }
.mission__features-icon { width: 50px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad-brand); color: #fff; font-size: 18px; box-shadow: 0 12px 22px -12px rgba(37, 99, 235, 0.8); }
.mission__features li:nth-child(2) .mission__features-icon { background: var(--grad-green); box-shadow: 0 12px 22px -12px rgba(5, 150, 105, 0.8); }
.mission__features li:nth-child(3) .mission__features-icon { background: var(--grad-gold); color: var(--navy); box-shadow: 0 12px 22px -12px rgba(245, 158, 11, 0.8); }
.mission__features h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin-bottom: 4px; color: var(--ink); letter-spacing: -0.015em; }
.mission__features p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* --- Stats — one white card straddling the seam between two bands ----------- */
.stats { position: relative; padding: 0; background: linear-gradient(180deg, #fff 0 50%, var(--paper) 50% 100%); color: var(--ink); overflow: visible; }
.stats::before { content: none; }
.stats::after { content: none; }
.stats__grid {
    position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
    background: #fff; border: 1px solid transparent; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
    background: linear-gradient(#fff, #fff) padding-box, var(--grad-hair) border-box;
    padding: 10px;
}
.stats__grid::before { content: none; }
.stat-item { position: relative; text-align: center; padding: 30px 20px 28px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: none; }
.stat-item__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px;
    background: var(--grad-brand); color: #fff; font-size: 17px; box-shadow: 0 12px 22px -12px rgba(37, 99, 235, 0.8);
}
.stat-item:nth-child(2) .stat-item__icon { background: var(--grad-green); box-shadow: 0 12px 22px -12px rgba(5, 150, 105, 0.8); }
.stat-item:nth-child(3) .stat-item__icon { background: var(--grad-gold); color: var(--navy); box-shadow: 0 12px 22px -12px rgba(245, 158, 11, 0.8); }
.stat-item:nth-child(4) .stat-item__icon { background: linear-gradient(135deg, #14b8a6, #2563eb); box-shadow: 0 12px 22px -12px rgba(20, 184, 166, 0.8); }
.stat-item__num {
    font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 800; line-height: 1; display: block; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stat-item__label { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 12px; font-weight: 800; }
.stat-item__plus { font-size: 0.6em; vertical-align: 0.35em; }

/* --- Events on the home page ---------------------------------------------- */
.events-section { padding: var(--section-y) 0; background: var(--paper); position: relative; }
.events-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--glow-sky), var(--glow-gold); }
.events-section .container { position: relative; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.event-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-card { overflow: hidden; display: flex; flex-direction: column; }
.event-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 75, 0.06) 0%, transparent 40%, rgba(11, 31, 75, 0.28) 100%); pointer-events: none; }
.event-card__body { padding: 22px 24px 20px; flex: 1; display: flex; flex-direction: column; }
.event-card__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.event-card__meta i { color: var(--blue); margin-right: 5px; }
.event-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.02em; }
.event-card__title a { color: var(--ink); }
.event-card__title a:hover { color: var(--blue); }
.event-card__excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.event-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.event-card__seats { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 500; }
.event-card__seats i { color: var(--green); }
.event-card__members { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; }
.event-card__members span { color: var(--muted); }
.event-card__members strong { color: var(--ink); }
.event-card__members a { color: var(--blue); font-weight: 700; white-space: nowrap; }
.event-card__members a i { font-size: 10px; }
.event-card--past { background: var(--paper-warm); }
.event-card--past .event-card__media img { filter: grayscale(0.35) saturate(0.9); }
.event-card--past:hover .event-card__media img { filter: none; }
.event-card--past .event-card__date-badge { background: rgba(255, 255, 255, 0.92); color: var(--ink-soft); }
.event-card--past .event-card__date-badge::after { background: rgba(15, 23, 42, 0.2); }
.event-card--past .event-card__date-month { color: var(--muted); }
.event-card--past .event-card__date-year { color: var(--muted-light); }
.event-card--past .event-card__title a { color: var(--ink-soft); }
.event-card--past .event-card__title a:hover { color: var(--blue); }

/* --- Benefits ("What we offer", v15): a bento — the first benefit is a large
       card over a campus photograph, the other two stack beside it. Gradient
       icon tiles, a short check-list, hover lift + gradient border. ---------- */
.responsibility { padding: var(--section-y) 0; background: #fff; position: relative; overflow: hidden; }
.responsibility::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(40% 50% at 100% 0%, rgba(37, 99, 235, 0.07), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(16, 185, 129, 0.08), transparent 70%);
}
.responsibility .container { position: relative; }
.responsibility .section-sub { text-wrap: balance; }
.responsibility-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 24px; }
.responsibility-card {
    --rc-grad: var(--grad-brand); --rc-glow: rgba(37, 99, 235, 0.8); --rc-tint: var(--sky-50); --rc-soft: rgba(37, 99, 235, 0.1);
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 0; border-radius: 26px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.07) 38%, rgba(15, 23, 42, 0.07) 62%, rgba(20, 184, 166, 0.22)) border-box;
    border: 1px solid transparent;
}
.responsibility-card:nth-child(2) { --rc-grad: var(--grad-green); --rc-glow: rgba(5, 150, 105, 0.8); --rc-tint: var(--mint-50); --rc-soft: rgba(16, 185, 129, 0.12); }
.responsibility-card:nth-child(3) { --rc-grad: var(--grad-gold); --rc-glow: rgba(245, 158, 11, 0.8); --rc-tint: var(--gold-50); --rc-soft: rgba(251, 191, 36, 0.16); }
.responsibility-card:hover { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-hair) border-box; }
.responsibility-card::before {   /* a soft glow of the card's colour in the corner */
    content: ''; position: absolute; z-index: 0; right: -80px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, var(--rc-soft) 0%, rgba(255, 255, 255, 0) 70%);
}
.responsibility-card--feature::before { content: none; }
.responsibility-card__body { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 20px; align-content: start; padding: 30px 32px 28px; }
.responsibility-card__body > :not(.responsibility-card__top) { grid-column: 2; }
.responsibility-card__top { grid-column: 1; grid-row: 1 / span 3; }
.responsibility-card__num {
    position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-size: 50px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.responsibility-card__icon {
    width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 18px;
    background: var(--rc-grad); color: #fff; font-size: 22px; box-shadow: 0 0 0 6px var(--rc-tint), 0 16px 28px -12px var(--rc-glow);
    transition: transform var(--dur) var(--ease-out);
}
.responsibility-card:nth-child(3) .responsibility-card__icon { color: var(--navy); }
.responsibility-card:hover .responsibility-card__icon { transform: translateY(-2px) rotate(-4deg); }
.responsibility-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin: 4px 0 8px; color: var(--ink); letter-spacing: -0.02em; padding-right: 54px; }
.responsibility-card p { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }
.responsibility-card__list { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 9px; }
.responsibility-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink-soft); }
.responsibility-card__list i {
    width: 20px; height: 20px; flex: none; margin-top: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 9.5px; color: var(--emerald-ink); background: var(--mint-50); border: 1px solid rgba(5, 150, 105, 0.28);
}
/* The feature card: a campus photograph with the copy over a navy fade */
.responsibility-card--feature { grid-row: span 2; min-height: 520px; background: var(--navy); border: 0; box-shadow: var(--shadow-lg); }
.responsibility-card--feature:hover { background: var(--navy); box-shadow: var(--shadow-xl); }
.responsibility-card__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.responsibility-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; transition: transform 1.2s var(--ease-out); }
.responsibility-card__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 75, 0.1) 0%, rgba(11, 31, 75, 0) 22%, rgba(11, 31, 75, 0.5) 48%, rgba(8, 22, 58, 0.93) 76%, rgba(8, 22, 58, 0.97) 100%);
}
.responsibility-card--feature:hover .responsibility-card__media img { transform: scale(1.04); }
.responsibility-card__tag {
    position: absolute; z-index: 2; top: 22px; left: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: 0.02em; box-shadow: var(--shadow-md);
}
.responsibility-card__tag i { color: var(--blue); }
.responsibility-card--feature .responsibility-card__body { margin-top: auto; flex: 0 0 auto; display: block; padding: 0 36px 34px; }
.responsibility-card--feature .responsibility-card__top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.responsibility-card--feature .responsibility-card__icon { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 16px 28px -12px rgba(37, 99, 235, 0.9); }
.responsibility-card--feature .responsibility-card__num { display: none; }
.responsibility-card--feature h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); padding-right: 0; margin: 0 0 10px; }
.responsibility-card--feature p { color: rgba(255, 255, 255, 0.84); font-size: 16px; max-width: 46ch; }
.responsibility-card--feature .responsibility-card__list { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; margin-top: 20px; padding-top: 18px; border-top-color: rgba(255, 255, 255, 0.24); }
.responsibility-card--feature .responsibility-card__list li { color: #fff; }
.responsibility-card--feature .responsibility-card__list i { color: var(--navy); background: var(--grad-gold); border-color: rgba(253, 230, 138, 0.6); }

/* --- Our Campus — photo mosaic ------------------------------------------------- */
.campus { padding: var(--section-y) 0; background: var(--paper); position: relative; }
.campus::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--glow-mint), var(--glow-sky); }
.campus .container { position: relative; }
.campus-mosaic {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 250px 250px; gap: 16px;
    grid-template-areas: "a a b b" "a a c d";
}
.campus-mosaic__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--paper-deep); box-shadow: var(--shadow-md); }
.campus-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.campus-mosaic__item:hover img { transform: scale(1.06); }
.campus-mosaic__item::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 75, 0.55) 100%); }
.campus-mosaic__item--a { grid-area: a; }
.campus-mosaic__item--b { grid-area: b; }
.campus-mosaic__item--c { grid-area: c; }
.campus-mosaic__item--d { grid-area: d; }
.campus-mosaic__item figcaption {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: var(--shadow-md);
    font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.campus-mosaic__item figcaption::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); flex: none; }

/* --- Scholarship CTA (v15) — the mirror of the hero: the tower and the lawn
       clear and in real colour on the LEFT, a blue scrim + a light blur on the
       RIGHT behind a frosted card with a gold hairline. ---------------------- */
.scholarship-cta { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0; background: var(--grad-navy); color: #fff; }
.scholarship-cta__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(160deg, #0b1f4b 0%, #14337a 60%, #0f2a66 100%); }
.scholarship-cta__bg img {
    position: absolute; top: 0; left: 0; width: 66%; height: 100%; object-fit: cover; object-position: 92% 62%;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 76%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 76%, transparent 100%);
}
/* Right: light blur, fading out by ~52 % from the right edge */
.scholarship-cta__bg::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 38%, transparent 56%); mask-image: linear-gradient(270deg, #000 0%, #000 38%, transparent 56%);
}
.scholarship-cta::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(270deg, rgba(7, 20, 54, 0.95) 0%, rgba(9, 26, 68, 0.88) 30%, rgba(12, 36, 94, 0.66) 42%, rgba(14, 42, 108, 0.24) 54%, rgba(14, 42, 108, 0) 64%),
        linear-gradient(180deg, rgba(11, 31, 75, 0.3) 0%, rgba(11, 31, 75, 0) 18%, rgba(11, 31, 75, 0) 78%, rgba(11, 31, 75, 0.4) 100%),
        radial-gradient(40% 60% at 92% 20%, rgba(251, 191, 36, 0.16), transparent 70%);
}
.scholarship-cta::after { content: ''; position: absolute; inset: 0 0 0 52%; z-index: -1; pointer-events: none; background-image: var(--pattern-grid); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.scholarship-cta__place {
    position: absolute; z-index: 1; left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); bottom: 28px;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
    background: rgba(11, 31, 75, 0.66); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.scholarship-cta__place i { color: var(--gold); font-size: 11px; }
.scholarship-cta__inner {
    position: relative; z-index: 2; max-width: 560px; margin: 0 0 0 auto; text-align: left;
    padding: 44px 44px 40px; border-radius: var(--r-xl);
    background: linear-gradient(160deg, rgba(16, 42, 104, 0.74), rgba(9, 26, 68, 0.66));
    box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.75), 0 1px 0 rgba(255, 255, 255, 0.14) inset;
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
/* Gold hairline: a gradient border drawn with a mask, plus a brighter top edge */
.scholarship-cta__inner::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(150deg, rgba(253, 230, 138, 0.85) 0%, rgba(251, 191, 36, 0.3) 30%, rgba(255, 255, 255, 0.12) 55%, rgba(253, 230, 138, 0.55) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.scholarship-cta__inner::before { content: ''; position: absolute; left: 44px; right: 44px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, transparent, #fde68a 30%, #fbbf24 70%, transparent); }
.scholarship-cta__top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.scholarship-cta__seal {
    width: 54px; height: 54px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-gold); color: var(--navy); font-size: 22px;
    box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.16), 0 14px 28px -10px rgba(245, 158, 11, 0.9), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.scholarship-cta__inner .section-eyebrow { justify-content: flex-start; color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.scholarship-cta__inner .section-eyebrow::before { background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); }
.scholarship-cta__title { font-family: var(--font-display); font-size: var(--d-1); font-weight: 800; line-height: 1.06; margin: 22px 0 14px; color: #fff; letter-spacing: -0.03em; text-wrap: balance; }
.scholarship-cta__text { font-size: var(--t-md); line-height: 1.75; color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 60ch; }
.scholarship-cta__points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.scholarship-cta__points li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em;
}
.scholarship-cta__points i { color: var(--teal-300); font-size: 14px; }
.scholarship-cta__actions { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Blog cards ---------------------------------------------------------------- */
.blog-section { padding: var(--section-y) 0; background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__category { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: var(--r-pill); background: var(--grad-blue); color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.9); }
.blog-card__body { padding: 22px 24px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.blog-card__meta i { color: var(--blue); margin-right: 5px; }
.blog-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.02em; }
.blog-card__title a { color: var(--ink); }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.blog-card__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.blog-card__author { color: var(--muted); }
.blog-card__author i { color: var(--blue); margin-right: 6px; }
.blog-card__readmore { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.blog-card__readmore i { transition: transform var(--dur) var(--ease-out); }
.blog-card__readmore:hover { color: var(--blue-800); }
.blog-card__readmore:hover i { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   8. INNER PAGES
   -------------------------------------------------------------------------- */

/* --- Page header (v16): the campus photograph in its real colours, clear on
       the right; a deep-blue scrim and a light blur on the left keep the
       eyebrow, title, text and breadcrumb readable — the home hero's
       technique (no duotone, no blend mode). Every page header shares it;
       a header whose photo is missing keeps the navy gradient. ------------- */
.page-header { position: relative; isolation: isolate; padding: 84px 0 76px; background: var(--grad-navy); color: #fff; overflow: hidden; }
.page-header--sm { padding: 62px 0 56px; }
.page-header__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background: var(--grad-navy); }
/* The photo fills the right ~70 %; its left edge melts into the navy under
   the scrim. High-resolution photos (assets/images/cef/headers, 1600 px) and
   no blur, scrim or vignette on the right half keep that side sharp and in
   true colour — the copy sits on the solid navy at the left. */
.page-header__bg img {
    position: absolute; top: 0; right: 0; bottom: 0; left: 30%; width: 70%; height: 100%; max-width: none;
    object-fit: cover; object-position: 50% 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
    filter: saturate(1.06) contrast(1.04);
}
/* Per-photo focal points, so faces — not the floor or the sky — fill the band */
.page-header__bg img[src*="headers/contact"] { object-position: 50% 42%; }
.page-header__bg img[src*="headers/events"] { object-position: 50% 66%; }
.page-header__bg img[src*="headers/about"] { object-position: 50% 52%; }
.page-header__bg img[src*="headers/members"] { object-position: 50% 68%; }
.page-header__bg img[src*="headers/career"] { object-position: 50% 38%; }
.page-header__bg img[src*="headers/gallery"] { object-position: 50% 52%; }
.page-header__bg img[src*="headers/committee"] { object-position: 50% 36%; }
.page-header__bg img[src*="headers/blog"] { object-position: 50% 40%; }
.page-header__bg img[src*="headers/community"] { object-position: 50% 40%; }
.page-header__bg img[src*="campus/academic"] { object-position: 50% 58%; }
.page-header__bg img[src*="campus/tower-sky"] { object-position: 50% 10%; }
.page-header__bg img[src*="campus/tower-lawn"] { object-position: 50% 52%; }
.page-header__bg img[src*="campus/panorama"] { object-position: 50% 62%; }
.page-header__bg img[src*="images/hero"] { object-position: 50% 62%; }
/* Left: a light blur behind the copy only — gone by 46 % of the width */
.page-header__bg::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 46%);
    mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 46%);
}
/* Deep-blue scrim behind the copy, a soft shade under the site header and
   along the bottom edge. Clear from ~64 % on: the photograph is untouched. */
.page-header__bg::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(90deg, rgba(7, 20, 54, 0.97) 0%, rgba(8, 23, 61, 0.93) 30%, rgba(11, 33, 86, 0.84) 40%, rgba(13, 40, 104, 0.58) 48%, rgba(14, 42, 108, 0.26) 55%, rgba(14, 42, 108, 0.07) 60%, rgba(14, 42, 108, 0) 64%),
        linear-gradient(180deg, rgba(11, 31, 75, 0.22) 0%, rgba(11, 31, 75, 0) 20%, rgba(11, 31, 75, 0) 82%, rgba(11, 31, 75, 0.26) 100%);
}
/* Aurora glows (teal, blue) and the fine grid — on the left only, so the
   photograph keeps its colours */
.page-header::before {
    content: ''; position: absolute; inset: -30% 48% -30% -12%; z-index: -2; pointer-events: none;
    background: radial-gradient(46% 52% at 22% 18%, rgba(20, 184, 166, 0.3), transparent 66%), radial-gradient(52% 50% at 30% 92%, rgba(59, 130, 246, 0.34), transparent 66%);
    filter: blur(28px);
}
.page-header::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--pattern-grid);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 30%, transparent 52%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 30%, transparent 52%);
}
.page-header__content { position: relative; z-index: 2; max-width: 680px; }
.page-header__content .breadcrumb { margin-bottom: 22px; }
.page-header__content .section-eyebrow + .page-header__title { margin-top: 18px; }
.page-header__title { font-family: var(--font-display); font-size: var(--d-1); font-weight: 800; line-height: 1.06; color: #fff; margin: 0 0 16px; letter-spacing: -0.03em; text-wrap: balance; text-shadow: 0 2px 22px rgba(7, 20, 54, 0.45); }
/* text-shadow would paint over the clipped gold gradient; a drop-shadow
   filter sits behind it instead (long titles reach the clearer photo) */
.page-header__title em { text-shadow: none; filter: drop-shadow(0 2px 12px rgba(7, 20, 54, 0.6)); }
.page-header__sub, .page-header__lede { font-size: var(--t-md); line-height: 1.7; color: rgba(255, 255, 255, 0.88); max-width: 54ch; margin: 0; text-shadow: 0 1px 14px rgba(7, 20, 54, 0.55); }
.page-header__title + .breadcrumb, .page-header__sub + .breadcrumb, .page-header__lede + .breadcrumb { margin-top: 26px; margin-bottom: 0; }
.page-header .section-eyebrow--light { color: #fff; }

/* --- Events index: list rows (upcoming) --------------------------------------- */
.event-list { display: flex; flex-direction: column; gap: 20px; }
.event-row { display: grid; grid-template-columns: 260px minmax(0, 1fr) 236px; gap: 28px; padding: 22px; align-items: center; }
.event-row__media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--paper-deep); }
.event-row__media img { width: 100%; height: 100%; object-fit: cover; }
.event-row__media .event-card__date-badge { top: 12px; left: 12px; }
.event-row__body h3 { font-family: var(--font-display); font-size: 25px; font-weight: 800; margin-bottom: 14px; line-height: 1.15; letter-spacing: -0.025em; }
.event-row__body h3 a { color: var(--ink); }
.event-row__body h3 a:hover { color: var(--blue); }
.event-row__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 14px; }
.event-row__info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; min-width: 0; }
.event-row__info-item i { color: var(--blue); margin-top: 3px; font-size: 12px; width: 14px; flex: none; }
.event-row__info-item strong { display: block; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.event-row__info-item span { color: var(--muted); font-size: 12px; }
.event-row__excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.event-row__action { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding-left: 24px; border-left: 1px solid var(--line); }
.event-row__price { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; text-align: center; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.event-row__price-free { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; }
.event-row__price-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; text-align: center; margin-top: 6px; margin-bottom: 4px; font-weight: 700; }
.event-row__seats { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--muted); }
.event-row__seats strong { color: var(--ink); font-weight: 800; font-size: 14px; }
.event-row__seats--registered { background: var(--mint-50); border-color: rgba(5, 150, 105, 0.25); }
.event-row__seats--registered strong { color: var(--emerald-ink); }

/* --- Event detail: same blue banner, the event's own photo -------------- */
.event-detail-hero { position: relative; isolation: isolate; padding: 88px 0 72px; color: #fff; overflow: hidden; background: var(--grad-navy); }
/* v16: the page-header treatment — the event's photo in true colour on the
   right, blur + deep-blue scrim (the __overlay) on the left. */
.event-detail-hero__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background: var(--grad-navy); }
.event-detail-hero__bg img {
    position: absolute; top: 0; right: 0; bottom: 0; left: 24%; width: 76%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.event-detail-hero__bg::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 58%); mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 58%);
}
.event-detail-hero__overlay {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 20, 54, 0.96) 0%, rgba(8, 23, 61, 0.92) 28%, rgba(11, 33, 86, 0.86) 40%, rgba(13, 40, 104, 0.68) 50%, rgba(14, 42, 108, 0.34) 58%, rgba(14, 42, 108, 0.1) 64%, rgba(14, 42, 108, 0) 70%),
        linear-gradient(180deg, rgba(11, 31, 75, 0.3) 0%, rgba(11, 31, 75, 0) 24%, rgba(11, 31, 75, 0) 72%, rgba(11, 31, 75, 0.38) 100%);
}
.event-detail-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--pattern-grid), radial-gradient(40% 90% at 0% 0%, rgba(20, 184, 166, 0.3), transparent 70%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 30%, transparent 52%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 30%, transparent 52%);
}
.event-detail-hero__content { position: relative; z-index: 2; max-width: 760px; }
.event-detail-hero__title { font-family: var(--font-display); font-size: var(--d-1); font-weight: 800; line-height: 1.06; margin: 22px 0 24px; color: #fff; letter-spacing: -0.03em; text-wrap: balance; }
.event-detail-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #fff; }
.event-detail-hero__meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.event-detail-hero__meta i { color: var(--gold); }
.event-detail-body { padding: var(--section-y) 0; background: var(--paper); }
.event-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 48px; align-items: start; }
.event-detail-content { padding: 44px; margin-bottom: 24px; }
.event-detail-content h2 { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; color: var(--ink); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; letter-spacing: -0.025em; }
.event-detail-content h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; border-radius: 3px; background: var(--grad-hair); }
.event-detail-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.event-sidebar-card { position: relative; overflow: hidden; background: #fff; color: var(--ink); padding: 32px; border-radius: var(--r-card); margin-bottom: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.event-sidebar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-hair); }
.event-sidebar-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.1), transparent 50%); }
.event-sidebar-card > * { position: relative; z-index: 1; }
.event-sidebar-card__header h3 { font-family: var(--font-display); font-size: 42px; font-weight: 800; margin: 12px 0 22px; line-height: 1; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.event-info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.event-info-row:last-of-type { border-bottom: none; }
.event-info-row i { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue); border-radius: 12px; flex: none; }
.event-info-row__label { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 4px; font-weight: 700; }
.event-info-row__value { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.event-sidebar-card .section-eyebrow--light { color: var(--blue-800); background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(13, 148, 136, 0.1)); border-color: rgba(37, 99, 235, 0.16); backdrop-filter: none; }
.event-sidebar-card .section-eyebrow--light::before { background: var(--grad-brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
/* The sidebar card is white: the "on dark" outline buttons in it read as normal outlines. */
.event-sidebar-card .btn--outline-light, .cta-banner .btn--outline-light { background: #fff; color: var(--blue-800); border-color: rgba(37, 99, 235, 0.35); backdrop-filter: none; }
.event-sidebar-card .btn--outline-light:hover:not([disabled]), .cta-banner .btn--outline-light:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.event-sidebar-card .btn--outline-light i { color: var(--blue); }
.event-sidebar-card .btn--outline-light:hover:not([disabled]) i, .cta-banner .btn--outline-light:hover i { color: var(--gold-soft); }
.event-sidebar-share { padding: 24px; }
.event-sidebar-share h4, .job-sidebar-share h4, .blog-share h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.015em; }

/* --- Event registration & payment ----------------------------------------------- */
.event-register-section { padding: var(--section-y) 0; background: var(--paper); }
.event-register-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.event-register-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.event-summary-card { overflow: hidden; box-shadow: var(--shadow-md); }
.event-summary-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); position: relative; }
.event-summary-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-summary-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 31, 75, 0.45)); pointer-events: none; }
.event-summary-card__body { padding: 26px; }
.event-summary-card__body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 18px; line-height: 1.2; letter-spacing: -0.02em; }
.event-summary-list { list-style: none; padding: 0; margin: 0; }
.event-summary-list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.event-summary-list li:last-of-type { border-bottom: none; }
.event-summary-list li > i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue); border-radius: 10px; flex: none; }
.event-summary-list__label { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 3px; font-weight: 700; }
.event-summary-list__value { display: block; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.event-summary-card__note { display: flex; gap: 12px; background: var(--gold-50); border: 1px solid var(--line-amber); border-left: 3px solid var(--gold-deep); padding: 14px 16px; margin-top: 16px; border-radius: 10px; }
.event-summary-card__note i { color: var(--gold-500); padding-top: 2px; }
.event-summary-card__note p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 16px 18px; background: var(--grad-navy); color: #fff; border-radius: 14px; box-shadow: var(--shadow-navy); }
.summary-total span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-soft); font-weight: 800; }
.summary-total strong { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }

/* bKash / bank instruction boxes (payment page) */
.bkash-pay-box { margin: 4px 0 22px; border: 1.5px solid rgba(226, 19, 110, 0.45); border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(226, 19, 110, 0.06) 0%, rgba(226, 19, 110, 0.02) 100%); overflow: hidden; }
.bkash-pay-box__head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; color: var(--ink); background: rgba(226, 19, 110, 0.08); border-bottom: 1px dashed rgba(226, 19, 110, 0.45); }
.bkash-pay-box__head i { color: #c2105e; font-size: 16px; }
.bkash-pay-box__head strong { color: #c2105e; }
.bkash-pay-box__number { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px; }
.bkash-pay-box__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #c2105e; font-weight: 800; background: rgba(226, 19, 110, 0.10); border: 1px solid rgba(226, 19, 110, 0.35); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.bkash-pay-box__digits { font-family: var(--font-mono); font-size: 30px; font-weight: 800; letter-spacing: 2px; color: var(--ink); line-height: 1; flex: 1; min-width: 160px; user-select: all; }
.bkash-pay-box__copy { display: inline-flex; align-items: center; gap: 7px; background: var(--grad-blue); color: #fff; border: none; cursor: pointer; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 10px; transition: transform .15s, background .2s; box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.8); }
.bkash-pay-box__copy:hover { transform: translateY(-1px); }
.bkash-pay-box__copy.is-copied { background: var(--grad-green); color: #fff; }
.bkash-pay-box__hint { margin: 0; padding: 0 18px 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.bkash-pay-box__hint strong { color: var(--ink); }
.bkash-pay-box__mode { display: flex; align-items: flex-start; gap: 11px; margin: 0 18px 14px; padding: 13px 15px; background: #e2136e; color: #fff; border-radius: 10px; box-shadow: 0 8px 22px rgba(226, 19, 110, 0.28); }
.bkash-pay-box__mode i { font-size: 17px; margin-top: 1px; flex: none; }
.bkash-pay-box__mode-text { font-size: 13.5px; line-height: 1.55; }
.bkash-pay-box__mode-text strong { font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.bkash-pay-box__mode-text em { font-style: normal; text-decoration: line-through; opacity: .85; }
.bkash-steps { margin: 0 18px 16px; padding: 14px 16px; background: rgba(226, 19, 110, 0.05); border: 1px dashed rgba(226, 19, 110, 0.35); border-radius: 10px; }
.bkash-steps__head { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #c2105e; font-weight: 800; margin-bottom: 9px; }
.bkash-steps ol { margin: 0; padding-left: 20px; list-style: decimal; }
.bkash-steps li { font-size: 13px; line-height: 1.75; color: var(--ink); }
.bkash-steps li strong { color: #b30f57; }
.pay-charge-note { display: flex; align-items: center; gap: 10px; margin: 0 18px 16px; padding: 11px 14px; background: rgba(226, 19, 110, 0.08); border: 1px solid rgba(226, 19, 110, 0.35); border-left: 4px solid #e2136e; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pay-charge-note i { color: #e2136e; font-size: 15px; }
.bank-pay-box { margin: 4px 0 22px; border: 1.5px solid var(--line-blue); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.bank-pay-box__head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; color: var(--ink); background: var(--sky-50); border-bottom: 1px solid var(--line-blue); }
.bank-pay-box__head i { color: var(--blue); font-size: 16px; }
.bank-pay-box__head strong { color: var(--ink); }
.bank-pay-box__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(15, 23, 42, 0.1); }
.bank-pay-box__item { background: #fff; padding: 13px 18px; }
.bank-pay-box__item--wide { grid-column: 1 / -1; }
.bank-pay-box__item span { display: block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bank-pay-box__item strong { font-size: 16px; color: var(--ink); font-weight: 700; word-break: break-all; }
.bank-pay-box__item strong.is-mono { font-family: var(--font-mono); letter-spacing: 1px; user-select: all; }
.bank-pay-box__hint { margin: 0; padding: 14px 18px; font-size: 12.5px; line-height: 1.6; color: var(--muted); background: #fff; border-top: 1px dashed rgba(15, 23, 42, 0.2); }
.bank-pay-box__hint strong { color: var(--ink); }

/* Accepted wallets row + Nagad / Rocket colourways of the pay box (bKash pink is the default) */
.wallet-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
.wallet-chip { font-size: 12px; font-weight: 800; letter-spacing: .3px; padding: 5px 12px; border-radius: var(--r-pill); border: 1.5px solid currentColor; background: #fff; line-height: 1.2; transition: background .2s, color .2s; }
.wallet-chip--bkash { color: #c2105e; }
.wallet-chip--nagad { color: #d0281e; }
.wallet-chip--rocket { color: #7a2a82; }
.wallet-chip.is-active.wallet-chip--bkash { background: #e2136e; border-color: #e2136e; color: #fff; }
.wallet-chip.is-active.wallet-chip--nagad { background: #ec1c24; border-color: #ec1c24; color: #fff; }
.wallet-chip.is-active.wallet-chip--rocket { background: #8c3494; border-color: #8c3494; color: #fff; }
.wallet-chips__note { font-size: 12px; color: var(--muted); font-weight: 600; }

.bkash-pay-box--nagad { border-color: rgba(236, 28, 36, 0.45); background: linear-gradient(135deg, rgba(247, 148, 29, 0.07) 0%, rgba(236, 28, 36, 0.02) 100%); }
.bkash-pay-box--nagad .bkash-pay-box__head { background: rgba(247, 148, 29, 0.10); border-bottom-color: rgba(236, 28, 36, 0.45); }
.bkash-pay-box--nagad .bkash-pay-box__head i,
.bkash-pay-box--nagad .bkash-pay-box__head strong,
.bkash-pay-box--nagad .bkash-steps__head,
.bkash-pay-box--nagad .bkash-steps li strong { color: #c4161c; }
.bkash-pay-box--nagad .bkash-pay-box__label { color: #c4161c; background: rgba(236, 28, 36, 0.08); border-color: rgba(236, 28, 36, 0.35); }
.bkash-pay-box--nagad .bkash-pay-box__mode { background: #ec1c24; box-shadow: 0 8px 22px rgba(236, 28, 36, 0.28); }
.bkash-pay-box--nagad .bkash-steps { background: rgba(247, 148, 29, 0.06); border-color: rgba(236, 28, 36, 0.35); }
.bkash-pay-box--nagad .pay-charge-note { background: rgba(247, 148, 29, 0.10); border-color: rgba(236, 28, 36, 0.35); border-left-color: #ec1c24; }
.bkash-pay-box--nagad .pay-charge-note i { color: #ec1c24; }

.bkash-pay-box--rocket { border-color: rgba(140, 52, 148, 0.45); background: linear-gradient(135deg, rgba(140, 52, 148, 0.06) 0%, rgba(140, 52, 148, 0.02) 100%); }
.bkash-pay-box--rocket .bkash-pay-box__head { background: rgba(140, 52, 148, 0.08); border-bottom-color: rgba(140, 52, 148, 0.45); }
.bkash-pay-box--rocket .bkash-pay-box__head i,
.bkash-pay-box--rocket .bkash-pay-box__head strong,
.bkash-pay-box--rocket .bkash-steps__head,
.bkash-pay-box--rocket .bkash-steps li strong { color: #7a2a82; }
.bkash-pay-box--rocket .bkash-pay-box__label { color: #7a2a82; background: rgba(140, 52, 148, 0.08); border-color: rgba(140, 52, 148, 0.35); }
.bkash-pay-box--rocket .bkash-pay-box__mode { background: #8c3494; box-shadow: 0 8px 22px rgba(140, 52, 148, 0.28); }
.bkash-pay-box--rocket .bkash-steps { background: rgba(140, 52, 148, 0.05); border-color: rgba(140, 52, 148, 0.35); }
.bkash-pay-box--rocket .pay-charge-note { background: rgba(140, 52, 148, 0.08); border-color: rgba(140, 52, 148, 0.35); border-left-color: #8c3494; }
.bkash-pay-box--rocket .pay-charge-note i { color: #8c3494; }

/* --- Blog detail ------------------------------------------------------------------ */
.blog-detail-hero { position: relative; padding: 64px 0 40px; background: var(--grad-navy); color: #fff; overflow: hidden; }
.blog-detail-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--pattern-grid), radial-gradient(40% 90% at 0% 0%, rgba(20, 184, 166, 0.35), transparent 70%), radial-gradient(35% 70% at 100% 100%, rgba(251, 191, 36, 0.2), transparent 70%); }
.blog-detail-hero .container { position: relative; }
.blog-detail-hero__title { font-family: var(--font-display); font-size: var(--d-1); font-weight: 800; line-height: 1.08; color: #fff; margin: 22px 0 18px; letter-spacing: -0.03em; text-wrap: balance; }
.blog-detail-meta { display: flex; gap: 10px 24px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); flex-wrap: wrap; }
.blog-detail-meta i { color: var(--gold); margin-right: 6px; }
.blog-detail-body { padding: 48px 0 var(--section-y); background: var(--paper); }
.blog-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 48px; align-items: start; }
.blog-detail-content { padding: 44px; overflow: hidden; }
.blog-detail-content__media { margin: -44px -44px 36px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.blog-detail-content__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.blog-tag { display: inline-block; padding: 6px 12px; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); border-radius: var(--r-pill); font-size: 12px; font-weight: 700; transition: background var(--dur-fast), color var(--dur-fast); }
.blog-tag:hover { background: var(--blue); color: #fff; }
.blog-share { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.sidebar-widget { padding: 26px; margin-bottom: 20px; }
.sidebar-widget__title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; letter-spacing: -0.015em; }
.sidebar-widget__title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 3px; background: var(--grad-hair); }
.author-card { display: flex; gap: 14px; align-items: center; }
.author-card__avatar { width: 54px; height: 54px; background: var(--grad-brand); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 800; flex: none; box-shadow: var(--shadow-blue); }
.author-card__info h5 { margin: 0 0 3px; font-size: 15.5px; color: var(--ink); font-weight: 700; }
.author-card__info p { margin: 0; font-size: 12.5px; color: var(--muted); }
.recent-posts { display: flex; flex-direction: column; gap: 14px; }
.recent-post { display: flex; gap: 12px; align-items: center; }
.recent-post__img { width: 76px; height: 58px; flex: none; border-radius: 10px; overflow: hidden; background: var(--paper-deep); }
.recent-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.recent-post:hover .recent-post__img img { transform: scale(1.05); }
.recent-post__info h6 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; color: var(--ink); font-weight: 700; transition: color var(--dur-fast); }
.recent-post:hover .recent-post__info h6 { color: var(--blue); }
.recent-post__info span { font-size: 12px; color: var(--muted-light); }
.sidebar-widget--cta { background: var(--grad-navy); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.sidebar-widget--cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--pattern-grid), radial-gradient(60% 60% at 100% 0%, rgba(20, 184, 166, 0.35), transparent 60%); }
.sidebar-widget--cta > * { position: relative; }
.sidebar-widget--cta h4 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.sidebar-widget--cta p { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; line-height: 1.6; }

/* --- Gallery: masonry-like grid, hover captions, lightbox ---------------------- */
.gallery-section { padding: var(--section-y) 0; background: #fff; }
.album-section { margin-bottom: 64px; }
.album-section:last-child { margin-bottom: 0; }
.album-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.album-head h2 { font-family: var(--font-display); font-size: var(--d-3); font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.album-head h2 i { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 15px; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.8); }
.album-head .album-count { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-800); padding: 7px 12px; border: 1px solid var(--line-blue); background: var(--sky-50); border-radius: var(--r-pill); }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.album-photo { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--paper-deep); box-shadow: var(--shadow-sm); }
.album-photo:nth-child(8n + 1) { grid-column: span 2; grid-row: span 2; }
.album-photo:nth-child(8n + 6) { grid-column: span 2; }
.album-photo img { width: 100%; height: 100%; object-fit: cover; }
.album-photo:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.6); outline-offset: 3px; }
.album-photo__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 31, 75, 0.8), rgba(11, 31, 75, 0.1) 55%, transparent); opacity: 0; transition: opacity var(--dur) var(--ease-out); display: flex; align-items: flex-end; padding: 16px; }
.album-photo:hover .album-photo__overlay, .album-photo:focus-visible .album-photo__overlay { opacity: 1; }
.album-photo__overlay i { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: var(--grad-gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; transform: translateY(-6px); transition: transform var(--dur) var(--ease-out); box-shadow: var(--shadow-md); }
.album-photo:hover .album-photo__overlay i { transform: translateY(0); }
.album-photo__overlay span { color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.25; transform: translateY(8px); transition: transform var(--dur) var(--ease-out); }
.album-photo:hover .album-photo__overlay span { transform: translateY(0); }
.gallery-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 40px; }
.gallery-filter__btn { padding: 10px 22px; background: #fff; border: 1px solid var(--line-strong); color: var(--muted); border-radius: var(--r-pill); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.gallery-filter__btn:hover { border-color: var(--blue); color: var(--blue-800); }
.gallery-filter__btn.active { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.gallery-item { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(7n+5) { grid-column: span 2; }
.gallery-item__media { position: relative; width: 100%; height: 100%; }
.gallery-item__media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 31, 75, 0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); border-radius: 50%; }
.gallery-item__overlay h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.gallery-item__overlay span { font-size: 11px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.gallery-item.hidden { display: none; }

/* The lightbox stays dark on purpose: photographs read best on a dim stage. */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 12, 30, 0.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 88vw; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); }
.lightbox__caption { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; padding: 0 80px; }
.lightbox__caption span { display: block; font-family: var(--font-body); font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 6px; font-weight: 700; }
.lightbox__close, .lightbox__nav, .lightbox__play { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.lightbox__close:hover, .lightbox__nav:hover, .lightbox__play:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 18px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__count { position: absolute; top: 34px; left: 28px; color: rgba(255, 255, 255, 0.7); font-size: 13px; letter-spacing: 0.1em; font-variant-numeric: lining-nums tabular-nums; }
.lightbox__play { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); padding: 10px 18px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }

/* --- Member directory & profile ---------------------------------------------------- */
.directory-section, .jobs-section { padding: var(--section-y) 0; background: var(--paper); }
.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member-card { overflow: hidden; display: flex; flex-direction: column; }
.member-card__cover { height: 84px; background: var(--grad-brand); position: relative; }
.member-card__cover::after { content: ''; position: absolute; inset: 0; background: var(--pattern-dots-light), radial-gradient(60% 80% at 100% 0%, rgba(251, 191, 36, 0.35), transparent 60%); opacity: 0.9; }
.member-card__avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid var(--white); margin: -48px auto 0; position: relative; background: var(--paper-deep); box-shadow: 0 0 0 1px var(--line-blue), var(--shadow-md); }
.member-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-card__body { padding: 14px 20px 22px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.member-card__name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin: 12px 0 4px; line-height: 1.2; letter-spacing: -0.02em; }
.member-card__profession { font-size: 13px; color: var(--blue); font-weight: 700; margin: 0 0 2px; letter-spacing: 0.02em; }
.member-card__company { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.member-card__meta { list-style: none; padding: 14px 0; margin: auto 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; text-align: left; }
.member-card__meta li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.member-card__meta i { color: var(--blue); width: 14px; }

/* Directory (v15): a search panel floating over the header's lower edge, a
   results line with the active filters, and .mcard member cards — royal
   cover, gradient-ring avatar, ID badge, chips, one stretched link per card.
   (.directory-filter__* stays as it was for the events pages and the admin;
   everything new is scoped to --members.) */
.page-header--directory { padding-bottom: 116px; }
.directory-section--members { padding-top: 0; }
.directory-filter--members {
    position: relative; z-index: 3; margin: -68px 0 28px; padding: 22px 24px 24px; border-radius: 26px; border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, rgba(37, 99, 235, 0.45), rgba(20, 184, 166, 0.25) 50%, rgba(251, 191, 36, 0.55)) border-box;
    box-shadow: 0 2px 6px rgba(11, 31, 75, 0.05), 0 40px 80px -40px rgba(11, 31, 75, 0.5);
}
.dir-filter__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dir-filter__icon { width: 48px; height: 48px; flex: none; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 18px; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.85); }
.dir-filter__text { min-width: 0; }
.dir-filter__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 3px; }
.dir-filter__sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.directory-filter--members .directory-filter__form { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 0.8fr) auto; gap: 12px; }
.directory-filter--members .directory-filter__field input, .directory-filter--members .directory-filter__field select { min-height: 54px; border-radius: 14px; }
.directory-filter--members .directory-filter__field--icon select { padding-left: 44px; }
.directory-filter--members .directory-filter__field i { font-size: 15px; }
.directory-filter--members .btn { min-height: 54px; padding: 0 30px; border-radius: 14px; }

.dir-results { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; min-height: 44px; }
.dir-results__count { margin: 0; font-size: 15px; color: var(--muted); }
.dir-results__count strong { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-right: 2px; font-variant-numeric: tabular-nums; }
.dir-results__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.dir-results__chips li { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-blue); font-size: 13px; font-weight: 600; color: var(--blue-800); overflow-wrap: anywhere; }
.dir-results__chips i { flex: none; font-size: 11px; color: var(--blue); }
.dir-results__clear { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-left: auto; padding: 0 4px; font-size: 13.5px; font-weight: 700; color: var(--rust-ink); }
.dir-results__clear:hover { color: var(--red-ink); }

.mcard {
    position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 18px 40px -28px rgba(11, 31, 75, 0.42);
    transition: translate var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
/* A gradient hairline that lights up on hover / keyboard focus. */
.mcard::before {
    content: ''; position: absolute; inset: 0; z-index: 4; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0;
    background: linear-gradient(140deg, #2563eb, #14b8a6 50%, #fbbf24);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity var(--dur) var(--ease-out);
}
.mcard:hover, .mcard:has(.mcard__cta:focus-visible) { border-color: transparent; box-shadow: 0 2px 8px rgba(11, 31, 75, 0.06), 0 36px 70px -32px rgba(37, 99, 235, 0.6); }
.mcard:hover::before, .mcard:has(.mcard__cta:focus-visible)::before { opacity: 1; }
.mcard__cover {
    position: relative; height: 108px; overflow: hidden;
    background: radial-gradient(70% 130% at 100% 0%, rgba(251, 191, 36, 0.5), transparent 55%), radial-gradient(60% 130% at 0% 100%, rgba(20, 184, 166, 0.6), transparent 60%), linear-gradient(135deg, #0b1f4b 0%, #1e40af 55%, #2563eb 100%);
}
.mcard__cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.14) 48%, transparent 60%), var(--pattern-dots-light); }
.mcard__cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-hair); }
.member-grid > .mcard:nth-child(4n + 2) .mcard__cover { background-position: 0 0; background-image: radial-gradient(70% 130% at 0% 0%, rgba(251, 191, 36, 0.42), transparent 55%), radial-gradient(60% 130% at 100% 100%, rgba(20, 184, 166, 0.55), transparent 60%), linear-gradient(135deg, #12306f 0%, #1e40af 50%, #0d9488 100%); }
.member-grid > .mcard:nth-child(4n + 3) .mcard__cover { background-image: radial-gradient(70% 130% at 100% 100%, rgba(251, 191, 36, 0.4), transparent 55%), radial-gradient(60% 130% at 0% 0%, rgba(59, 130, 246, 0.6), transparent 60%), linear-gradient(135deg, #0b1f4b 0%, #0f766e 60%, #059669 100%); }
.member-grid > .mcard:nth-child(4n + 4) .mcard__cover { background-image: radial-gradient(70% 130% at 50% 0%, rgba(251, 191, 36, 0.38), transparent 55%), radial-gradient(60% 130% at 100% 100%, rgba(20, 184, 166, 0.5), transparent 60%), linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #12306f 100%); }
.mcard__id {
    position: absolute; top: 14px; left: 14px; z-index: 2; max-width: calc(100% - 28px); padding: 5px 10px; border-radius: var(--r-pill);
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.3; color: #fff;
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mcard__avatar { position: relative; z-index: 2; width: 116px; height: 116px; margin: -60px auto 0; flex: none; }
.mcard__ring { position: relative; display: block; width: 100%; height: 100%; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 16px 32px -14px rgba(11, 31, 75, 0.6); }
.mcard__ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, #2563eb, #14b8a6, #fbbf24, #2563eb); transition: rotate 0.9s var(--ease-out); }
.mcard__ring img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; background: var(--paper-deep); }
.mcard__check { position: absolute; right: 5px; bottom: 7px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: var(--grad-green); border: 3px solid #fff; box-shadow: 0 6px 12px -6px rgba(5, 150, 105, 0.9); }
.mcard__body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 14px 22px 22px; text-align: center; }
.mcard__name {
    margin: 0 0 6px; max-width: 100%; font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard__role { margin: 0 0 6px; max-width: 100%; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--blue); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard__company { display: inline-flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.mcard__company i { flex: none; font-size: 11px; color: var(--muted-light); }
.mcard__company span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: auto 0 16px; padding: 16px 0 0; }
.mcard__chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--blue-800); background: var(--sky-50); border: 1px solid var(--line-blue); }
.mcard__chip i { flex: none; font-size: 11px; color: var(--blue); }
.mcard__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__chip--session { color: var(--emerald-ink); background: var(--mint-50); border-color: rgba(5, 150, 105, 0.26); }
.mcard__chip--session i { color: var(--green); }
.mcard__chip--muted { color: var(--muted); background: var(--paper); border-color: var(--line-strong); }
.mcard__chip--muted i { color: var(--muted-light); }
.mcard__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 18px; border-radius: 14px;
    font-size: 14px; font-weight: 700; color: var(--blue-800); background: var(--sky-50); border: 1px solid var(--line-blue);
    transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
/* The stretched link: the anchor's ::after covers the whole card. */
.mcard__cta::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: 24px; }
.mcard__cta i { font-size: 12px; transition: translate var(--dur) var(--ease-out); }
.mcard:hover .mcard__cta, .mcard__cta:focus-visible { color: #fff; background: var(--grad-blue); border-color: transparent; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.85); }
.mcard:hover .mcard__cta i, .mcard__cta:focus-visible i { color: var(--gold); }

.profile-section { padding: var(--section-y) 0; background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.profile-card { padding: 36px 28px; text-align: center; position: sticky; top: calc(var(--header-h) + 16px); overflow: hidden; }
.profile-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 110px; background: var(--grad-brand); }
.profile-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 110px; background: var(--pattern-dots-light), radial-gradient(60% 80% at 100% 0%, rgba(251, 191, 36, 0.35), transparent 60%); }
.profile-card > * { position: relative; z-index: 1; }
.profile-card__avatar { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 22px auto 18px; border: 5px solid var(--white); background: var(--paper-deep); box-shadow: 0 0 0 1px var(--line-blue), var(--shadow-md); }
.profile-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card__name { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 4px; line-height: 1.15; letter-spacing: -0.025em; }
.profile-card__id { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--blue-800); letter-spacing: 0.08em; margin: 4px 0 8px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--sky-50); border: 1px solid var(--line-blue); }
.profile-card__role { color: var(--blue); font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.profile-card__company { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.profile-card__social { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.profile-card__social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); border-radius: 50%; transition: transform var(--dur-fast), background var(--dur-fast), color var(--dur-fast); }
.profile-card__social a:hover { transform: translateY(-3px); background: var(--blue); color: #fff; border-color: var(--blue); }
.profile-section-card { padding: 32px; margin-bottom: 20px; }
.profile-section-card__title { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; position: relative; letter-spacing: -0.015em; }
.profile-section-card__title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 3px; background: var(--grad-hair); }
.profile-section-card__title i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--sky-50); color: var(--blue); font-size: 14px; border: 1px solid var(--line-blue); }
.profile-info-list { margin: 0; padding: 0; }
.profile-info-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.profile-info-row:last-child { border-bottom: none; }
.profile-info-row dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; padding-top: 3px; }
.profile-info-row dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* Member profile (v15) — all new class names (mp-*): the admin panel shares
   this sheet and still uses .profile-info-row / .profile-info-list above.
   A campus cover with the way back, an identity card riding over it (ring
   avatar, chips, actions, four stats), then details / photos / posts and a
   previous–next strip. Lifts live in RESPONSIVE (reduced-motion aware). */
.mp-hero { position: relative; background: var(--paper); }
.mp-hero__cover { position: relative; isolation: isolate; height: 330px; overflow: hidden; background: var(--grad-navy); color: #fff; }
.mp-hero__photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: 0.6; mix-blend-mode: luminosity; }
.mp-hero__cover::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 75, 0.62) 0%, rgba(30, 64, 175, 0.28) 48%, rgba(11, 31, 75, 0.7) 100%), linear-gradient(90deg, rgba(11, 31, 75, 0.55) 0%, transparent 65%); }
.mp-hero__cover::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pattern-grid), radial-gradient(40% 90% at 0% 0%, rgba(20, 184, 166, 0.42), transparent 70%), radial-gradient(35% 80% at 100% 100%, rgba(251, 191, 36, 0.3), transparent 70%); }
.mp-hero__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 28px; }
.mp-back {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 7px; border-radius: var(--r-pill);
    background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
    transition: color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.mp-back i { width: 32px; height: 32px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: var(--grad-gold); color: var(--navy); transition: translate var(--dur) var(--ease-out); }
.mp-back:hover { color: var(--blue-800); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.6); }
.mp-hero__crumbs { margin: 0; }
.mp-hero__steps { display: flex; gap: 8px; margin-left: auto; }
.mp-step {
    width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
a.mp-step:hover { background: #fff; color: var(--navy); border-color: #fff; }
.mp-step.is-off { opacity: 0.35; }

.mp-id {
    position: relative; z-index: 2; margin-top: -136px; padding: 0 36px; border-radius: 28px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(11, 31, 75, 0.05), 0 44px 90px -44px rgba(11, 31, 75, 0.55);
}
.mp-id::before { content: ''; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-hair); }
.mp-id__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: end; padding: 28px 0; }
.mp-id__avatar { position: relative; align-self: start; width: 180px; height: 180px; margin-top: -76px; flex: none; }
.mp-id__ring { position: relative; display: block; width: 100%; height: 100%; padding: 5px; border-radius: 50%; background: #fff; box-shadow: 0 24px 48px -20px rgba(11, 31, 75, 0.6); }
.mp-id__ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, #2563eb, #14b8a6, #fbbf24, #2563eb); }
.mp-id__ring img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; background: var(--paper-deep); }
.mp-id__check { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; background: var(--grad-green); border: 4px solid #fff; box-shadow: 0 8px 16px -8px rgba(5, 150, 105, 0.9); }
.mp-id__main { min-width: 0; }
.mp-attending {
    display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin: 0 0 12px; padding: 6px 16px 6px 6px; border-radius: var(--r-pill);
    background: linear-gradient(135deg, #047857 0%, #065f46 100%); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14), 0 12px 24px -12px rgba(5, 150, 105, 0.9);
}
.mp-attending i { width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--green-300); background: rgba(255, 255, 255, 0.14); }
.mp-attending strong { font-weight: 800; }
.mp-id__name { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.mp-id__role { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 16px; font-size: 16px; line-height: 1.45; }
.mp-id__job { font-weight: 700; color: var(--blue); }
.mp-id__at { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.mp-id__at i { font-size: 13px; color: var(--muted-light); }
.mp-id__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--blue-800); background: var(--sky-50); border: 1px solid var(--line-blue); overflow-wrap: anywhere; }
.mp-chip i { flex: none; font-size: 12px; color: var(--blue); }
.mp-chip--id { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--navy); background: #fff; border-color: var(--line-strong); }
.mp-chip--session { color: var(--emerald-ink); background: var(--mint-50); border-color: rgba(5, 150, 105, 0.26); }
.mp-chip--session i { color: var(--green); }
.mp-id__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 230px; }
.mp-social { display: flex; justify-content: center; gap: 8px; }
.mp-social__btn { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--blue-800); background: var(--sky-50); border: 1px solid var(--line-blue); transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), translate var(--dur) var(--ease-out); }
.mp-social__btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.mp-social__btn--fb:hover { background: #1877f2; border-color: #1877f2; }
.mp-social__btn--li:hover { background: #0a66c2; border-color: #0a66c2; }

.mp-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 -36px; padding: 0; border-top: 1px solid var(--line); border-radius: 0 0 28px 28px; background: linear-gradient(180deg, var(--paper-warm), #fff); }
.mp-stat { --st-rgb: 37, 99, 235; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px 28px; }
.mp-stat + .mp-stat { border-left: 1px solid var(--line); }
.mp-stat__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 20px -10px rgba(var(--st-rgb), 0.85); }
.mp-stat--green { --st-rgb: 5, 150, 105; }
.mp-stat--green .mp-stat__icon { background: var(--grad-green); }
.mp-stat--gold { --st-rgb: 245, 158, 11; }
.mp-stat--gold .mp-stat__icon { background: var(--grad-gold); color: var(--navy); }
.mp-stat--teal { --st-rgb: 13, 148, 136; }
.mp-stat--teal .mp-stat__icon { background: linear-gradient(135deg, #14b8a6, #2563eb); }
.mp-stat__text { min-width: 0; }
.mp-stat__num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mp-stat__label { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mp-stat.is-zero .mp-stat__icon { background: #fff; color: var(--muted-light); border: 1px solid var(--line-strong); box-shadow: none; }
.mp-stat.is-zero .mp-stat__num { color: var(--muted-light); }

.mp-body { padding: 40px 0 var(--section-y); background: var(--paper); }
.mp-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.mp-side, .mp-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.mp-card { position: relative; min-width: 0; padding: 26px 26px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 18px 40px -30px rgba(11, 31, 75, 0.42); }
.mp-card__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.mp-card__icon { width: 40px; height: 40px; flex: none; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.85); }
.mp-card__icon--green { background: var(--grad-green); box-shadow: 0 10px 20px -10px rgba(5, 150, 105, 0.85); }
.mp-card__icon--gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 20px -10px rgba(245, 158, 11, 0.85); }
.mp-card__icon--teal { background: linear-gradient(135deg, #14b8a6, #2563eb); box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.85); }
.mp-facts { margin: 0; padding: 0; display: grid; }
.mp-fact { display: grid; gap: 4px; padding: 13px 0; border-top: 1px dashed var(--line-strong); }
.mp-fact:first-child { border-top: 0; padding-top: 2px; }
.mp-fact:last-child { padding-bottom: 0; }
.mp-fact dt { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mp-fact dt i { width: 14px; flex: none; font-size: 12px; color: var(--blue); }
.mp-fact dd { margin: 0; padding-left: 23px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.mp-fact dd a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--blue-800); text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.3); text-underline-offset: 3px; }
.mp-fact dd a:hover { color: var(--blue); text-decoration-color: currentColor; }
.mp-na { font-weight: 500; color: var(--muted-light); }
.mp-blood { display: inline-flex; padding: 1px 10px; border-radius: var(--r-pill); font-weight: 800; color: var(--red-ink); background: #fef2f2; border: 1px solid rgba(220, 38, 38, 0.25); }

.mp-about { background: radial-gradient(60% 90% at 100% 0%, rgba(37, 99, 235, 0.07), transparent 65%), #fff; }
.mp-about__quote { position: relative; padding-left: 46px; }
.mp-about__quote > i { position: absolute; left: 2px; top: 2px; font-size: 26px; color: rgba(37, 99, 235, 0.28); }
.mp-about__text { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; }

.mp-shelf__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; }
.mp-shelf__head .mp-card__title { margin: 0; }
.mp-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0; color: var(--blue-800); background: var(--sky-50); border: 1px solid var(--line-blue); }
.mp-shelf__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.mp-shelf__links .text-link { min-height: 44px; }
.mp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 176px; grid-auto-flow: dense; gap: 12px; }
.mp-tile { position: relative; isolation: isolate; display: block; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--paper-deep); color: #fff; }
.mp-tiles > a.mp-tile:first-child { grid-column: span 2; grid-row: span 2; }
/* One or two tiles: no feature tile, just a calm row. */
.mp-tiles.mp-tiles--n1 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(300px, auto); }
.mp-tiles.mp-tiles--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); }
.mp-tiles.mp-tiles--n1 > .mp-tile:nth-child(n), .mp-tiles.mp-tiles--n2 > .mp-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
.mp-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-slow) var(--ease-out); }
a.mp-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 75, 0) 42%, rgba(11, 31, 75, 0.86) 100%); }
a.mp-tile:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.6); outline-offset: 3px; }
.mp-tile__kind { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mp-tile__kind i { font-size: 11px; color: var(--blue); }
.mp-tile__kind--memory i { color: var(--green); }
.mp-tile__star { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--navy); background: var(--grad-gold); box-shadow: 0 8px 18px -8px rgba(245, 158, 11, 0.9); }
.mp-tile__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.mp-tile__cap strong { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-tile__cap small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.mp-tiles > a.mp-tile:first-child .mp-tile__cap { left: 18px; bottom: 16px; }
.mp-tiles > a.mp-tile:first-child .mp-tile__cap strong { font-size: 20px; }
.mp-tile--story {
    grid-row: span 2; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; color: var(--ink);
    background: radial-gradient(80% 50% at 100% 0%, rgba(16, 185, 129, 0.16), transparent 70%), linear-gradient(170deg, var(--mint-50), #fff 72%);
    border: 1px solid rgba(5, 150, 105, 0.22);
}
.mp-tile--story .mp-tile__kind { position: static; align-self: flex-start; color: var(--emerald-ink); background: #fff; border: 1px solid rgba(5, 150, 105, 0.25); }
.mp-tile__title { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.mp-tile__story { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.mp-tile__year { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--emerald-ink); }

.mp-empty { display: grid; justify-items: center; gap: 10px; padding: 30px 22px 28px; text-align: center; border-radius: 20px; border: 2px dashed rgba(37, 99, 235, 0.24); background: radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%), var(--paper-warm); }
.mp-empty__art { position: relative; width: 150px; height: 112px; margin-bottom: 6px; }
.mp-empty__art > span { position: absolute; top: 10px; width: 78px; height: 92px; padding: 7px 7px 20px; border-radius: 5px; background: #fff; box-shadow: 0 1px 3px rgba(11, 31, 75, 0.08), 0 14px 26px -14px rgba(11, 31, 75, 0.5); }
.mp-empty__art > span::before { content: ''; display: block; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(160deg, #d1fae5, #a7f3d0); }
.mp-empty__art > span:nth-child(1) { left: 4px; rotate: -12deg; }
.mp-empty__art > span:nth-child(2) { right: 4px; rotate: 11deg; }
.mp-empty__art > span:nth-child(2)::before { background: linear-gradient(160deg, #fef3c7, #fde68a); }
.mp-empty__art > span:nth-child(3) { left: 36px; top: 4px; z-index: 1; rotate: -2deg; }
.mp-empty__art > span:nth-child(3)::before { background: var(--grad-brand); }
.mp-empty__art > span:nth-child(3) > i { position: absolute; left: 7px; right: 7px; top: 7px; bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.mp-empty__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.mp-empty__text { margin: 0 0 8px; max-width: 52ch; font-size: 15px; line-height: 1.65; color: var(--muted); }

.mp-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mp-post { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), translate var(--dur) var(--ease-out); }
.mp-post:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 24px 44px -28px rgba(37, 99, 235, 0.55); }
.mp-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.mp-post__media img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-slow) var(--ease-out); }
.mp-post__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.mp-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.mp-post__date i { color: var(--blue); }
.mp-post__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-post__excerpt { font-size: 14px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.mp-post__more i { font-size: 11px; transition: translate var(--dur) var(--ease-out); }

.mp-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; margin-top: 48px; }
.mp-pager__link {
    display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 84px; padding: 14px 20px; border-radius: 20px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 14px 30px -24px rgba(11, 31, 75, 0.4); color: var(--ink);
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.mp-pager__link--next { justify-content: flex-end; text-align: right; }
.mp-pager__link.is-off { visibility: hidden; }
a.mp-pager__link:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 24px 44px -28px rgba(37, 99, 235, 0.55); }
.mp-pager__arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--blue); background: var(--sky-50); border: 1px solid var(--line-blue); transition: background-color var(--dur-fast), color var(--dur-fast), translate var(--dur) var(--ease-out); }
a.mp-pager__link:hover .mp-pager__arrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.mp-pager__avatar { width: 50px; height: 50px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: var(--paper-deep); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25); }
.mp-pager__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-pager__text { display: grid; gap: 2px; min-width: 0; }
.mp-pager__text small { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mp-pager__text strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-pager__all {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 168px; padding: 12px 22px; border-radius: 20px;
    background: var(--grad-navy); color: #fff; font-size: 13.5px; font-weight: 700; text-align: center; box-shadow: var(--shadow-navy);
    transition: box-shadow var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
}
.mp-pager__all i { font-size: 17px; color: var(--gold); }
.mp-pager__all:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 18px 36px -14px rgba(11, 31, 75, 0.6); }

/* --- Jobs ------------------------------------------------------------------------------ */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card-lg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; padding: 24px 26px; align-items: center; }
.job-card-lg__logo { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; border-radius: 20px; font-family: var(--font-display); font-size: 30px; font-weight: 800; overflow: hidden; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.8); }
.job-card-lg__top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.job-card-lg__type { padding: 5px 11px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; border-radius: var(--r-pill); }
.job-card-lg__type--full-time, .job-card-lg__type--full_time { background: var(--mint-50); color: var(--emerald-ink); }
.job-card-lg__type--part-time, .job-card-lg__type--part_time { background: var(--gold-50); color: var(--gold-ink); }
.job-card-lg__type--contract { background: #fff1e8; color: var(--rust-ink); }
.job-card-lg__type--internship, .job-card-lg__type--remote { background: var(--sky-50); color: var(--blue-800); }
.job-card-lg__deadline { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.job-card-lg__deadline i { color: var(--rust); }
.job-card-lg__deadline--expired { color: var(--red-ink); font-weight: 700; }
.job-card-lg__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 8px; line-height: 1.2; letter-spacing: -0.02em; }
.job-card-lg__title a { color: var(--ink); }
.job-card-lg__title a:hover { color: var(--blue); }
.job-card-lg__meta { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.job-card-lg__meta i { color: var(--blue); margin-right: 6px; }
.job-card-lg__desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.job-card-lg__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.job-card-lg__vacancies { font-size: 12px; color: var(--muted); text-align: center; }
.job-detail-section { padding: var(--section-y) 0; background: var(--paper); }
.job-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
.job-detail-header { display: flex; gap: 22px; align-items: center; padding: 32px; margin-bottom: 20px; }
.job-detail-header__logo { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; border-radius: 24px; font-family: var(--font-display); font-size: 34px; font-weight: 800; flex: none; overflow: hidden; box-shadow: 0 14px 28px -12px rgba(37, 99, 235, 0.8); }
.job-detail-header__info h2 { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; color: var(--ink); margin: 0 0 6px; line-height: 1.15; letter-spacing: -0.025em; }
.job-detail-header__info p { color: var(--muted); margin: 0 0 10px; }
.job-detail-content { padding: 32px; margin-bottom: 20px; }
.job-detail-content h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; letter-spacing: -0.02em; }
.job-detail-content h3::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 3px; background: var(--grad-hair); }
.job-detail-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.job-sidebar-card { padding: 28px; margin-bottom: 20px; }
.job-sidebar-card__title { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 18px; letter-spacing: -0.015em; }
.job-info-list { list-style: none; padding: 0; margin: 0 0 22px; }
.job-info-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.job-info-list li:last-child { border-bottom: none; }
.job-info-list i { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue); border-radius: 10px; flex: none; }
.job-info-list span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 2px; font-weight: 700; }
.job-info-list strong { display: block; color: var(--ink); font-size: 14.5px; }
.job-sidebar-share { padding: 24px; }

/* --- Contact -------------------------------------------------------------------------- */
.contact-section { padding: var(--section-y) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-info-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 12px; }
.contact-info-list li { display: flex; gap: 18px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.contact-info-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-info-list__icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; border-radius: 16px; font-size: 18px; flex: none; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.8); }
.contact-info-list li:nth-child(2) .contact-info-list__icon { background: var(--grad-green); box-shadow: 0 12px 24px -12px rgba(5, 150, 105, 0.8); }
.contact-info-list li:nth-child(3) .contact-info-list__icon { background: var(--grad-gold); color: var(--navy); box-shadow: 0 12px 24px -12px rgba(245, 158, 11, 0.8); }
.contact-info-list__body h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.015em; }
.contact-info-list__body p { color: var(--muted); margin: 0; line-height: 1.7; font-size: 15px; }
.contact-info-list__body a { color: var(--blue-800); font-weight: 700; }
.contact-info-list__body a:hover { color: var(--blue); }
.contact-social h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.contact-social__links { display: flex; gap: 8px; }
.contact-social__links a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line-blue); color: var(--blue-800); border-radius: 12px; box-shadow: var(--shadow-xs); transition: transform var(--dur-fast), background var(--dur-fast), color var(--dur-fast); }
.contact-social__links a:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.map-section { background: var(--paper); padding: 0 0 var(--section-y); }
.map-wrap { line-height: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.map-wrap iframe { display: block; width: 100%; }

/* --- Career Hub (v16): a job board — a search panel over the header's lower
       edge with quick-filter chips, a results line, rich job cards (logo or
       initial tile, type + deadline state, salary, the alumnus who posted it)
       and a hiring panel beside the list. All jb-*; the older .job-card-lg
       rules above stay for anything else that still uses them. Hover lifts
       live in RESPONSIVE (v16-pages, reduced-motion aware). -------------- */
.page-header--career { padding-bottom: 132px; }
.jb-section { padding-top: 0; }
.jb-search {
    position: relative; z-index: 3; margin: -86px 0 36px; padding: 24px 26px 20px; border-radius: 26px; border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, rgba(37, 99, 235, 0.45), rgba(20, 184, 166, 0.25) 50%, rgba(251, 191, 36, 0.55)) border-box;
    box-shadow: 0 2px 6px rgba(11, 31, 75, 0.05), 0 40px 80px -40px rgba(11, 31, 75, 0.5);
}
.jb-search__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.jb-search__icon { width: 50px; height: 50px; flex: none; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 19px; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.85); }
.jb-search__text { min-width: 0; }
.jb-search__title { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 3px; }
.jb-search__sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.jb-search__form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.jb-field { position: relative; min-width: 0; }
.jb-field > i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 15px; pointer-events: none; z-index: 1; }
.jb-field input, .jb-field select {
    width: 100%; min-height: 56px; padding: 0 16px 0 46px; border: 1px solid var(--line-strong); border-radius: 15px;
    background-color: var(--paper-warm); color: var(--ink); font-size: 15px; font-weight: 500; -webkit-appearance: none; appearance: none;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.jb-field select {
    padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 15px center;
}
.jb-field input::placeholder { color: var(--muted-light); }
.jb-field input:hover, .jb-field select:hover { border-color: rgba(37, 99, 235, 0.4); }
.jb-field input:focus, .jb-field select:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14); }
.jb-search__btn { min-height: 56px; padding: 0 30px; border-radius: 15px; }
.jb-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.jb-quick__label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jb-quick__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.jb-chip {
    display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); white-space: nowrap;
    background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); font-size: 13px; font-weight: 700;
    transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.jb-chip i { font-size: 11px; color: var(--blue); }
.jb-chip:hover { background: #fff; border-color: var(--blue); color: var(--blue-800); box-shadow: var(--shadow-sm); }
.jb-chip.is-active { background: var(--grad-blue); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -12px rgba(37, 99, 235, 0.85); }
.jb-chip.is-active i { color: var(--gold-soft); }

.jb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.jb-main { min-width: 0; }
.jb-results { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; min-height: 44px; }
.jb-results__count { margin: 0; font-size: 15px; color: var(--muted); }
.jb-results__count strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-right: 2px; font-variant-numeric: tabular-nums; }
.jb-results__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.jb-results__chips li { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-blue); font-size: 13px; font-weight: 600; color: var(--blue-800); overflow-wrap: anywhere; }
.jb-results__chips i { flex: none; font-size: 11px; color: var(--blue); }
.jb-results__clear { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--blue-800); }
.jb-results__clear:hover { background: var(--sky-50); color: var(--blue); }
.jb-results__sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-xs); }
.jb-results__sort i { color: var(--blue); font-size: 12px; }

.jb-list { display: flex; flex-direction: column; gap: 18px; }
/* Company tile: the logo when there is one, else a coloured initial */
.jb-logo {
    position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
    width: 68px; height: 68px; border-radius: 20px; color: #fff; background: var(--grad-brand);
    font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
    box-shadow: 0 14px 26px -14px rgba(11, 31, 75, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.jb-logo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(90% 70% at 18% 0%, rgba(255, 255, 255, 0.3), transparent 62%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.jb-logo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.jb-logo--blue { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); }
.jb-logo--teal { background: linear-gradient(135deg, #0d9488 0%, #047857 100%); }
.jb-logo--gold { background: var(--grad-gold); color: var(--navy); }
.jb-logo--navy { background: linear-gradient(135deg, #1e40af 0%, #0b1f4b 100%); }
.jb-logo--sky { background: var(--grad-brand); }

.jb-card {
    position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) 214px; grid-template-areas: "logo main side" "foot foot foot";
    gap: 0 24px; padding: 26px 26px 0; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.jb-card::before { content: ''; position: absolute; left: -1px; top: 24px; width: 4px; height: 56px; border-radius: 0 4px 4px 0; background: var(--grad-brand); opacity: 0; transition: opacity var(--dur); }
.jb-card:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: var(--shadow-lg); }
.jb-card:hover::before { opacity: 1; }
.jb-card--featured { border-color: rgba(245, 179, 1, 0.55); background: linear-gradient(180deg, #fffcf0 0%, #fff 46%); box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 24px 48px -30px rgba(245, 158, 11, 0.6); }
.jb-card--featured::before { opacity: 1; background: var(--grad-gold); }
.jb-card--featured:hover { border-color: rgba(245, 158, 11, 0.75); }
.jb-card--expired { background: #fbfcfe; }
.jb-card--expired .jb-card__logo { filter: grayscale(0.85); opacity: 0.6; }
.jb-card--expired .jb-card__cta { background: #fff; color: var(--blue-800); border-color: rgba(37, 99, 235, 0.35); box-shadow: none; }
.jb-card--expired .jb-card__cta i { color: var(--blue); }
.jb-card--expired .jb-card__cta:hover { background: var(--sky-50); color: var(--blue-800); }
.jb-card__logo { grid-area: logo; }
.jb-card__main { grid-area: main; min-width: 0; }
.jb-card__side { grid-area: side; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-left: 24px; border-left: 1px dashed var(--line-strong); }
.jb-card__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.jb-type, .jb-status, .jb-flag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid transparent; line-height: 1.3; white-space: nowrap; }
.jb-type, .jb-flag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.jb-type { background: var(--sky-50); color: var(--blue-800); border-color: var(--line-blue); }
.jb-type--full_time, .jb-type--full-time { background: var(--mint-50); color: var(--emerald-ink); border-color: rgba(5, 150, 105, 0.24); }
.jb-type--part_time, .jb-type--part-time { background: var(--gold-50); color: var(--gold-ink); border-color: var(--line-amber); }
.jb-type--contract { background: #fff1e8; color: var(--rust-ink); border-color: rgba(234, 88, 12, 0.22); }
.jb-flag { background: var(--grad-gold); color: var(--navy); border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 6px 14px -8px rgba(245, 158, 11, 0.9); }
.jb-flag i { font-size: 10px; }
.jb-status { font-size: 12px; font-weight: 700; }
.jb-status i { font-size: 11px; }
.jb-status--open { background: #f0fdf4; color: var(--emerald-ink); border-color: rgba(5, 150, 105, 0.2); }
.jb-status--soon { background: var(--gold-50); color: var(--gold-ink); border-color: var(--line-amber); }
.jb-status--soon i { color: #d97706; }
.jb-status--expired { background: #fef2f2; color: var(--red-ink); border-color: rgba(220, 38, 38, 0.2); }
.jb-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 6px; }
.jb-card__title a {
    color: var(--ink); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
    transition: color var(--dur-fast), background-size var(--dur) var(--ease-out);
}
.jb-card__title a:hover { color: var(--blue-800); background-size: 100% 2px; }
.jb-card__org { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.jb-card__org i { color: var(--blue); font-size: 12px; margin-right: 5px; }
.jb-card__desc { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jb-card__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jb-card__facts li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.jb-card__facts i { color: var(--blue); font-size: 12px; }
.jb-card__salary span { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jb-card__salary strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.jb-card__cta { width: 100%; }
.jb-card__foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 20px; padding: 14px 0 16px; border-top: 1px solid var(--line); }
.jb-poster { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: var(--ink-soft); }
.jb-poster__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.jb-poster__badge i { font-size: 10px; color: var(--gold-soft); }
.jb-poster__name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.jb-poster__id { padding: 3px 8px; border-radius: 8px; background: var(--sky-50); border: 1px solid var(--line-blue); font: 700 12px/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--blue-800); }
.jb-poster--hub { font-size: 13px; font-weight: 600; color: var(--muted); }
.jb-poster--hub i { color: var(--teal); }
.jb-card__ago { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }

.jb-empty { text-align: center; padding: 56px 24px 52px; border-radius: 26px; border: 1.5px dashed rgba(37, 99, 235, 0.3); background: radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.07), transparent 70%), #fff; }
.jb-empty__art { position: relative; width: 124px; height: 96px; margin: 0 auto 24px; }
.jb-empty__tile { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 24px; color: #fff; }
.jb-empty__tile--a { left: 0; top: 0; width: 86px; height: 86px; font-size: 32px; background: var(--grad-brand); box-shadow: var(--shadow-blue); transform: rotate(-6deg); }
.jb-empty__tile--b { right: 0; bottom: 0; width: 56px; height: 56px; font-size: 20px; border-radius: 18px; background: var(--grad-gold); color: var(--navy); border: 4px solid #fff; box-shadow: var(--shadow-gold); transform: rotate(8deg); }
.jb-empty h3 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.jb-empty p { max-width: 460px; margin: 0 auto 22px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.jb-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.jb-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.jb-hire { position: relative; isolation: isolate; overflow: hidden; padding: 28px 24px 24px; border-radius: 24px; color: #fff; background: var(--grad-navy); box-shadow: var(--shadow-navy); }
.jb-hire::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pattern-grid), radial-gradient(70% 50% at 100% 0%, rgba(251, 191, 36, 0.3), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(20, 184, 166, 0.36), transparent 70%); }
.jb-hire__icon { width: 54px; height: 54px; margin-bottom: 18px; border-radius: 17px; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); font-size: 21px; box-shadow: var(--shadow-gold); transform: rotate(-6deg); }
.jb-hire__kicker { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.jb-hire__title { font-family: var(--font-display); font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: #fff; margin: 0 0 10px; }
.jb-hire__title em { font-style: normal; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.jb-hire__text { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--on-dark); }
.jb-hire__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.jb-hire__points li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #fff; }
.jb-hire__points i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; background: rgba(16, 185, 129, 0.24); color: var(--green-300); }
.jb-hire__cta { justify-content: center; }
.jb-hire__note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12.5px; color: var(--on-dark-soft); }
.jb-hire__note i { color: var(--gold-soft); font-size: 11px; }
.jb-tip { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.jb-tip > div { min-width: 0; }
.jb-tip__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--mint-50); color: var(--emerald); border: 1px solid rgba(5, 150, 105, 0.2); font-size: 17px; }
.jb-tip__title { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ink); margin: 2px 0 4px; }
.jb-tip p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.jb-tip__mail { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); font-size: 13px; font-weight: 700; }
.jb-tip__mail span { overflow-wrap: anywhere; }
.jb-tip__mail:hover { background: #fff; border-color: var(--blue); }

/* --- Job post (v16): the title on the photo header; an employer card, the
       description sections, and a sticky summary + apply card beside them;
       more openings below. ------------------------------------------------ */
.page-header--job .page-header__content { max-width: 760px; }
.page-header--job .page-header__title { font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.7rem); margin-bottom: 18px; }
.jd-hero-sub { display: flex; flex-wrap: wrap; gap: 8px 10px; max-width: none; }
.jd-hero-sub span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff; text-shadow: none; }
.jd-hero-sub i { color: var(--gold); font-size: 12px; }
.jd-section { padding: 56px 0 var(--section-y); }
.jd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; grid-template-areas: "head aside" "body aside"; gap: 24px 32px; align-items: start; }
.jd-head { grid-area: head; position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.jd-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-hair); }
.jd-head--featured::before { background: var(--grad-gold); }
.jd-head__top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 20px; }
.jd-head__logo { width: 84px; height: 84px; border-radius: 24px; font-size: 34px; }
.jd-head__id { flex: 1 1 240px; min-width: 0; }
.jd-head__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jd-head__company { display: block; margin: 2px 0 10px; font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.jd-head__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jd-poster { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 18px 12px 12px; border-radius: 18px; background: linear-gradient(135deg, var(--sky-50), var(--mint-50)); border: 1px solid var(--line-blue); }
.jd-poster__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 800; box-shadow: 0 0 0 3px #fff, 0 10px 18px -10px rgba(37, 99, 235, 0.9); }
.jd-poster__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jd-poster__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald-ink); }
.jd-poster__text strong { font-size: 15px; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.jd-poster__id { font: 700 12px/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--blue-800); }
.jd-glance { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 10px; }
.jd-glance li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.jd-glance i { color: var(--blue); font-size: 13px; }

.jd-aside { grid-area: aside; position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; min-width: 0; }
.jd-apply { position: relative; overflow: hidden; padding: 0 24px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.jd-apply__status { display: flex; align-items: center; gap: 10px; margin: 0 -24px 20px; padding: 14px 24px; font-size: 13.5px; font-weight: 700; border-bottom: 1px solid var(--line); }
.jd-apply__status i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; font-size: 13px; box-shadow: var(--shadow-xs); }
.jd-apply__status--open { background: linear-gradient(90deg, var(--mint-50), #fff); color: var(--emerald-ink); border-bottom-color: rgba(5, 150, 105, 0.16); }
.jd-apply__status--soon { background: linear-gradient(90deg, var(--gold-50), #fff); color: var(--gold-ink); border-bottom-color: var(--line-amber); }
.jd-apply__status--expired { background: linear-gradient(90deg, #fef2f2, #fff); color: var(--red-ink); border-bottom-color: rgba(220, 38, 38, 0.16); }
.jd-apply__title { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.015em; }
.jd-summary { list-style: none; margin: 0 0 20px; padding: 0; }
.jd-summary li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.jd-summary li:last-child { border-bottom: 0; }
.jd-summary li > i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue); font-size: 14px; }
.jd-summary li > div { min-width: 0; }
.jd-summary span { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jd-summary strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.jd-apply__note { display: flex; gap: 8px; margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.jd-apply__note i { flex: none; margin-top: 3px; color: var(--blue); }
.jd-share { padding: 20px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.jd-share__title { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.jd-share__row { display: flex; flex-wrap: wrap; gap: 10px; }

.jd-body { grid-area: body; display: grid; gap: 20px; min-width: 0; }
.jd-block { padding: 30px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.jd-block__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.jd-block__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--grad-blue); color: #fff; font-size: 16px; box-shadow: 0 10px 20px -12px rgba(37, 99, 235, 0.9); }
.jd-block__icon--teal { background: var(--grad-green); box-shadow: 0 10px 20px -12px rgba(5, 150, 105, 0.9); }
.jd-block__icon--navy { background: linear-gradient(135deg, #1e40af, #0b1f4b); }
.jd-block__icon--gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 20px -12px rgba(245, 158, 11, 0.9); }
.jd-prose { font-size: 16px; line-height: 1.75; color: var(--ink-soft); overflow-wrap: anywhere; }
.jd-list li { margin-bottom: 10px; }
.jd-list li:last-child { margin-bottom: 0; }

.jd-related { margin-top: 64px; }
.jd-related__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.jd-related__title { font-family: var(--font-display); font-size: var(--d-3); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.jd-related__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.jd-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jd-rel { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
.jd-rel:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: var(--shadow-md); }
.jd-rel__logo { width: 50px; height: 50px; border-radius: 15px; font-size: 20px; }
.jd-rel__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jd-rel__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); transition: color var(--dur-fast); }
.jd-rel:hover .jd-rel__title { color: var(--blue-800); }
.jd-rel__org { font-size: 13.5px; color: var(--muted); }
.jd-rel__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.jd-rel__date { font-size: 12px; font-weight: 600; color: var(--muted); }
.jd-rel__arrow { flex: none; margin-top: 4px; color: var(--blue); transition: transform var(--dur) var(--ease-out); }

/* --- Contact (v16): gradient-tile contact cards with tappable hotline /
       e-mail chips, a refined form card, and the campus photograph with the
       address and a directions link (no embedded third-party map). -------- */
.ct-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: 56px; }
.ct-info .section-sub { margin-bottom: 0; }
.ct-cards { list-style: none; margin: 30px 0 28px; padding: 0; display: grid; gap: 14px; }
.ct-card {
    --ct-rgb: 37, 99, 235;
    position: relative; overflow: hidden; display: flex; gap: 18px; padding: 22px 22px 22px 20px; border-radius: 22px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.ct-card--call { --ct-rgb: 5, 150, 105; }
.ct-card--mail { --ct-rgb: 245, 158, 11; }
.ct-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(var(--ct-rgb), 0) 55%, rgba(var(--ct-rgb), 0.07) 100%); }
.ct-card::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: rgba(var(--ct-rgb), 0.55); opacity: 0; transition: opacity var(--dur); }
.ct-card:hover::before { opacity: 1; }
.ct-card:hover { border-color: rgba(var(--ct-rgb), 0.35); box-shadow: var(--shadow-md); }
.ct-card__icon { flex: none; width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; background: var(--grad-blue); box-shadow: 0 14px 26px -14px rgba(var(--ct-rgb), 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform var(--dur) var(--ease-out); }
.ct-card--call .ct-card__icon { background: var(--grad-green); }
.ct-card--mail .ct-card__icon { background: var(--grad-gold); color: var(--navy); }
.ct-card__body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ct-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); margin: 2px 0 4px; }
.ct-card__text { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
    background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums;
    transition: background-color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.ct-chip span { overflow-wrap: anywhere; }
.ct-chip i { flex: none; font-size: 12px; color: var(--blue); }
.ct-chip:hover { background: #fff; border-color: var(--blue); box-shadow: var(--shadow-sm); }
.ct-card--call .ct-chip { background: var(--mint-50); border-color: rgba(5, 150, 105, 0.26); color: var(--emerald-ink); }
.ct-card--call .ct-chip i { color: var(--emerald); }
.ct-card--call .ct-chip:hover { background: #fff; border-color: var(--emerald); }
.ct-card--mail .ct-chip { background: var(--gold-50); border-color: var(--line-amber); color: var(--gold-ink); }
.ct-card--mail .ct-chip i { color: #b45309; }
.ct-card--mail .ct-chip:hover { background: #fff; border-color: var(--gold-500); }
.ct-chip--ghost { background: #fff; }
.ct-social__title { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.ct-social__links { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-social__links a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; border: 1px solid var(--line-blue); color: var(--blue-800); box-shadow: var(--shadow-xs); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.ct-social__links a:hover { color: #fff; border-color: transparent; background: var(--blue); }
.ct-social__links a.is-fb:hover { background: #1877f2; }
.ct-social__links a.is-yt:hover { background: #dc2626; }
.ct-social__links a.is-li:hover { background: #0a66c2; }
.ct-social__links a.is-ig:hover { background: linear-gradient(135deg, #f59e0b, #e1306c 55%, #7c3aed); }

.ct-form { padding: 36px; border-radius: 28px; box-shadow: var(--shadow-lg); }
.ct-form__header { display: flex; align-items: flex-start; gap: 18px; }
.ct-form__header .form-card__title { margin-top: 10px; }
.ct-form__icon { flex: none; width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 21px; box-shadow: var(--shadow-blue); transform: rotate(-6deg); }
.ct-fields { display: grid; gap: 18px; }
.ct-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.ct-field { min-width: 0; }
.ct-input { position: relative; }
.ct-input > i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--muted-light); font-size: 14px; pointer-events: none; transition: color var(--dur-fast); }
.ct-input--area > i { top: 19px; transform: none; }
.ct-input .form-control { min-height: 54px; padding-left: 46px; border-radius: 14px; background: var(--paper-warm); border-color: rgba(15, 23, 42, 0.13); }
.ct-input .form-control:focus { background: #fff; }
.ct-input:focus-within > i { color: var(--blue); }
.ct-input textarea.form-control { min-height: 150px; padding-top: 15px; }
.ct-submit { background: var(--grad-brand); border-color: rgba(30, 64, 175, 0.5); }
.ct-form__alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.ct-form__alt i { color: var(--blue); }
.ct-form__alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.ct-form__alt a:hover { color: var(--blue); }

.ct-campus { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 400px; margin-top: 64px; border-radius: 28px; background: var(--grad-navy); box-shadow: var(--shadow-xl); }
.ct-campus__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.ct-campus::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(0deg, rgba(7, 20, 54, 0.82) 0%, rgba(9, 26, 68, 0.5) 34%, rgba(11, 31, 75, 0) 62%), linear-gradient(90deg, rgba(7, 20, 54, 0.4) 0%, rgba(7, 20, 54, 0) 50%);
}
.ct-campus__card { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; flex: 1 1 auto; min-width: 0; margin: 28px; padding: 20px 22px; border-radius: 22px; color: #fff; background: rgba(11, 31, 75, 0.62); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.ct-campus__pin { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); font-size: 21px; box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.22), var(--shadow-gold); }
.ct-campus__pin::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(251, 191, 36, 0.6); opacity: 0; pointer-events: none; }
.ct-campus__text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-campus__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.ct-campus__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.ct-campus__addr { font-size: 14.5px; color: var(--on-dark); }
.ct-campus__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- About --------------------------------------------------------------------------- */
.about-story { padding: var(--section-y) 0; background: #fff; }
.about-story__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
.about-story__visual { position: relative; padding: 0 0 28px 28px; }
.about-story__visual::before { content: ''; position: absolute; left: 0; top: 36px; bottom: 0; right: 36px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--sky-50), var(--mint-50)); border: 1px solid var(--line-blue); }
.about-story__img-main { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4 / 5; }
.about-story__img-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 31, 75, 0.5) 100%); pointer-events: none; }
.about-story__img-main img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.about-story__badge { position: absolute; bottom: 0; left: 0; z-index: 3; background: var(--grad-gold); color: var(--navy); padding: 20px 26px; border-radius: 20px; box-shadow: var(--shadow-gold); }
.about-story__badge-num { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; display: block; letter-spacing: -0.04em; }
.about-story__badge-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 800; margin-top: 6px; display: block; color: var(--blue-800); }
.about-story__content .lead { font-size: var(--d-4); color: var(--ink-2); line-height: 1.5; margin-bottom: 16px; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.about-story__content p { color: var(--muted); line-height: 1.75; margin-bottom: 18px; font-size: var(--t-md); }
/* Three tinted stat tiles (v15), each with its own small icon. */
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 32px; padding: 0; border: 0; }
.about-stats > div:not(.about-stat) { padding: 0 24px; border-left: 1px solid var(--line); }
.about-stats > div:not(.about-stat):first-child { padding-left: 0; border-left: 0; }
.about-stats > .about-stat {
    --as-rgb: 37, 99, 235;
    display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 18px 18px 16px; border: 1px solid rgba(var(--as-rgb), 0.18); border-radius: 18px;
    background: linear-gradient(160deg, rgba(var(--as-rgb), 0.08), #fff 72%); box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 14px 30px -24px rgba(var(--as-rgb), 0.6);
}
.about-stats > .about-stat--green { --as-rgb: 5, 150, 105; }
.about-stats > .about-stat--gold { --as-rgb: 245, 158, 11; }
.about-stat__icon { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 12px; font-size: 14px; color: #fff; background: var(--grad-brand); box-shadow: 0 8px 18px -8px rgba(var(--as-rgb), 0.85); }
.about-stat--green .about-stat__icon { background: var(--grad-green); }
.about-stat--gold .about-stat__icon { background: var(--grad-gold); color: var(--navy); }
.about-stat__num { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 6px; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.about-stat__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; line-height: 1.35; }

/* Values (v15): an intro column with a campus photograph beside a 2 × 2 grid
   of tinted cards. Each card carries its own tone through --vc-* so the four
   read as one family: gradient hairline border, glowing icon tile, accent
   tab, outline numeral, a short supporting line. Lift lives in RESPONSIVE
   (prefers-reduced-motion: no-preference). */
.values-section {
    position: relative; padding: var(--section-y) 0;
    background: radial-gradient(46% 60% at 100% 0%, rgba(20, 184, 166, 0.09), transparent 62%), radial-gradient(40% 50% at 0% 100%, rgba(251, 191, 36, 0.09), transparent 60%), var(--paper);
}
.values-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: stretch; }
.values-intro { display: flex; flex-direction: column; min-width: 0; }
.values-intro__text { min-width: 0; }
.values-intro .section-title { margin-bottom: 12px; }
.values-intro .section-sub { margin-bottom: 28px; }
.values-photo { position: relative; isolation: isolate; align-self: stretch; flex: 1 1 auto; min-height: 300px; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-navy); box-shadow: var(--shadow-lg); }
.values-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.values-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 31, 75, 0) 42%, rgba(11, 31, 75, 0.78) 100%); }
.values-photo__cap {
    position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: 18px; color: #fff;
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.values-photo__mark { width: 44px; height: 44px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); font-size: 17px; box-shadow: 0 10px 22px -10px rgba(245, 158, 11, 0.9); }
.values-photo__text { display: grid; gap: 2px; min-width: 0; }
.values-photo__text strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.values-photo__text small { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }

.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.value-card {
    --vc-a: #2563eb; --vc-b: #0d9488; --vc-rgb: 37, 99, 235; --vc-tint: #eff6ff; --vc-icon: var(--grad-brand); --vc-icon-ink: #fff; --vc-ink: var(--blue-800);
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
    padding: 34px 30px 24px; border: 1px solid transparent; border-radius: 24px;
    background: linear-gradient(165deg, var(--vc-tint) 0%, #fff 60%) padding-box,
                linear-gradient(150deg, rgba(var(--vc-rgb), 0.5), rgba(var(--vc-rgb), 0.1) 45%, rgba(15, 23, 42, 0.07) 100%) border-box;
    box-shadow: 0 1px 2px rgba(11, 31, 75, 0.04), 0 18px 40px -26px rgba(var(--vc-rgb), 0.5);
    transition: box-shadow var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
.value-card--green { --vc-a: #059669; --vc-b: #0d9488; --vc-rgb: 5, 150, 105; --vc-tint: #ecfdf5; --vc-icon: var(--grad-green); --vc-ink: var(--emerald-ink); }
.value-card--gold { --vc-a: #f59e0b; --vc-b: #fbbf24; --vc-rgb: 245, 158, 11; --vc-tint: #fffbeb; --vc-icon: var(--grad-gold); --vc-icon-ink: var(--navy); --vc-ink: var(--gold-ink); }
.value-card--teal { --vc-a: #0d9488; --vc-b: #2563eb; --vc-rgb: 13, 148, 136; --vc-tint: #f0fdfa; --vc-icon: linear-gradient(135deg, #14b8a6, #2563eb); --vc-ink: #0f766e; }
.value-card:hover { transform: none; border-color: transparent; box-shadow: 0 2px 6px rgba(11, 31, 75, 0.05), 0 30px 60px -30px rgba(var(--vc-rgb), 0.65); }
/* Accent tab hanging from the top edge; it stretches on hover. */
.value-card::before { content: ''; position: absolute; top: 0; left: 30px; right: auto; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--vc-a), var(--vc-b)); transform: none; transition: width var(--dur-slow) var(--ease-out); }
.value-card:hover::before { width: 96px; transform: none; }
.value-card::after { content: ''; position: absolute; z-index: -1; top: -70px; right: -70px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--vc-rgb), 0.16), transparent); }
.value-card__icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
    border-radius: 20px; background: var(--vc-icon); color: var(--vc-icon-ink); font-size: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 6px rgba(var(--vc-rgb), 0.09), 0 16px 30px -12px rgba(var(--vc-rgb), 0.8);
}
.value-card__num {
    position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
    color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(var(--vc-rgb), 0.32); user-select: none;
    transition: -webkit-text-stroke-color var(--dur) var(--ease-out);
}
.value-card:hover .value-card__num { -webkit-text-stroke-color: rgba(var(--vc-rgb), 0.6); }
.value-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.02em; }
.value-card__text { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0 0 20px; }
.value-card__line { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 16px; border-top: 1px dashed rgba(var(--vc-rgb), 0.32); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--vc-ink); }
.value-card__line i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; background: linear-gradient(135deg, var(--vc-a), var(--vc-b)); }
.value-card--gold .value-card__line i { color: var(--navy); }

.leadership-section { padding: var(--section-y) 0; background: var(--paper); }
.leader-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.leader-card { overflow: hidden; }
.leader-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.leader-card__img img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__social { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; display: flex; gap: 8px; justify-content: center; background: linear-gradient(to top, rgba(11, 31, 75, 0.85), transparent); transform: translateY(100%); transition: transform var(--dur) var(--ease-out); }
.leader-card:hover .leader-card__social { transform: translateY(0); }
.leader-card__social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); border-radius: 50%; }
.leader-card__body { padding: 22px; text-align: center; }
.leader-card__role { display: inline-block; font-size: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 800; margin-bottom: 8px; }
.leader-card__name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.leader-card__meta { font-size: 13px; color: var(--muted); margin: 0; }

/* CTA banner (About): royal gradient card, gold CTA */
.cta-banner { padding: var(--section-y) 0; background: #fff; }
.cta-banner__inner {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 64px 72px; border-radius: var(--r-xl);
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
    background: var(--grad-navy); box-shadow: var(--shadow-xl);
}
.cta-banner__inner::before { content: ''; position: absolute; inset: -10%; z-index: -1; pointer-events: none; background: var(--grad-aurora); filter: blur(30px); opacity: 0.85; }
.cta-banner__inner::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--pattern-grid); }
.cta-banner__inner > * { position: relative; z-index: 2; }
.cta-banner__inner .section-eyebrow--light { color: #fff; }
.cta-banner__title { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; line-height: 1.1; margin: 16px 0 12px; color: #fff; letter-spacing: -0.03em; }
.cta-banner__text { color: rgba(255, 255, 255, 0.78); line-height: 1.65; font-size: var(--t-md); }
.cta-banner__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-banner .btn--outline { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-banner .btn--outline:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; box-shadow: none; }
.cta-banner .btn--outline i { color: var(--gold-soft); }
/* The accent word sits on royal blue: the light (gold) gradient, not blue on blue. */
.cta-banner__title em { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; }

/* --- Member area (dashboard + profile) ---------------------------------------------- */
.member-hero { position: relative; isolation: isolate; overflow: hidden; padding: 52px 0 120px; background: var(--grad-navy); color: #fff; }
.member-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -3; }
.member-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: 0.45; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.member-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 31, 75, 0.1) 0%, rgba(30, 64, 175, 0.55) 60%, rgba(30, 64, 175, 0.7) 100%); mix-blend-mode: multiply;
}
.member-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--pattern-grid), radial-gradient(40% 90% at 0% 0%, rgba(20, 184, 166, 0.35), transparent 70%), radial-gradient(35% 70% at 100% 100%, rgba(251, 191, 36, 0.22), transparent 70%);
}
.member-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.member-hero__id { display: flex; align-items: center; gap: 28px; min-width: 0; }
/* v16: the avatar sits in a gradient ring (gold → teal → blue) with a status badge */
.member-hero__ring {
    position: relative; flex: none; width: 128px; height: 128px; padding: 4px; border-radius: 50%;
    background: conic-gradient(from 210deg, #fde68a, #f59e0b, #14b8a6, #3b82f6, #fde68a);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06), 0 26px 48px -20px rgba(0, 0, 0, 0.7);
}
.member-hero__avatar {
    position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-gold); color: var(--navy);
    font-family: var(--font-display); font-size: 46px; font-weight: 800; text-transform: uppercase;
    border: 4px solid #11296a;
}
.member-hero__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-hero__badge {
    position: absolute; right: 3px; bottom: 7px; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
    border: 3px solid #12306f; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}
.member-hero__badge--ok { background: linear-gradient(135deg, #34d399, #059669); color: #fff; }
.member-hero__badge--wait { background: var(--grad-gold); color: var(--navy); }
.member-hero__text { min-width: 0; }
.member-hero__kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); line-height: 1.3;
}
.member-hero__kicker i { color: var(--gold); font-size: 12px; }
.member-hero .section-eyebrow { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.member-hero .section-eyebrow::before { background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); }
.member-hero__name { font-family: var(--font-display); font-size: clamp(2rem, 1.45rem + 1.5vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: #fff; margin: 14px 0 8px; }
.member-hero__lead { margin: 0 0 16px; max-width: 58ch; font-size: 15.5px; line-height: 1.6; color: var(--on-dark); }

/* v16: quick actions — three glass tiles on the right of the dashboard header */
.member-quick {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; border-radius: 22px;
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.65);
}
.member-quick__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-width: 112px; min-height: 108px; padding: 14px 12px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 1.25;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.member-quick__item:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); color: #fff; transform: translateY(-2px); }
.member-quick__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.member-quick__icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.12); color: var(--gold-soft); font-size: 17px; }
.member-quick__item--gold { background: var(--grad-gold); border-color: transparent; color: var(--navy); box-shadow: 0 16px 30px -14px rgba(245, 158, 11, 0.75); }
.member-quick__item--gold:hover { background: var(--grad-gold); border-color: transparent; color: var(--navy); filter: brightness(1.05); }
.member-quick__item--gold .member-quick__icon { background: rgba(11, 31, 75, 0.12); color: var(--navy); }
.member-hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.member-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 13px; color: rgba(255, 255, 255, 0.85); font-weight: 500;
}
.member-chip i { color: var(--gold); font-size: 12px; }
.member-chip strong { color: #fff; font-weight: 700; }
.member-chip--id strong { font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--gold-soft); }
.member-chip--ok { background: rgba(16, 185, 129, 0.2); border-color: rgba(110, 231, 183, 0.4); color: #fff; }
.member-chip--ok i { color: var(--green-300); }
.member-chip--wait { background: rgba(251, 191, 36, 0.16); border-color: rgba(253, 230, 138, 0.4); color: #fff; }
.member-chip--wait i { color: var(--gold-soft); }
.member-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.member-hero__actions .btn--outline { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.member-hero__actions .btn--outline:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; box-shadow: none; }
.member-hero__actions .btn--outline i { color: var(--gold-soft); }

.dashboard-section { position: relative; padding: 56px 0 var(--section-y); background: var(--paper); }
.dashboard-grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
/* Under the member header the cards ride up over its lower edge. */
.member-hero + .dashboard-section { padding-top: 0; }
.member-hero + .dashboard-section .dashboard-grid { margin-top: -64px; }
.dashboard-sidebar { padding: 14px; position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow-md); }
.dashboard-user { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.dashboard-user__avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--grad-brand); color: #fff; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 32px; font-weight: 800; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line-blue), var(--shadow-sm); }
.dashboard-user__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-user h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.dashboard-user p { font-size: 12.5px; color: var(--muted); margin: 0; }
.dashboard-user__id { font-family: var(--font-mono); font-size: 12px; color: var(--blue-800); letter-spacing: 0.08em; margin: 2px 0 4px; }
.dashboard-nav__label { display: block; padding: 8px 12px 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.dashboard-nav { display: flex; flex-direction: column; gap: 3px; }
.dashboard-nav form { margin: 0; }
.dashboard-nav__item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; color: var(--ink-soft); border-radius: 12px; font-size: 14px; font-weight: 600; transition: all var(--dur-fast); background: none; border: none; cursor: pointer; width: 100%; text-align: left; font-family: inherit; }
.dashboard-nav__item:hover { background: var(--sky-50); color: var(--blue-800); }
.dashboard-nav__item.active { background: var(--grad-blue); color: #fff; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, 0.8); }
.dashboard-nav__item.active::before { content: none; }
.dashboard-nav__item i { width: 18px; text-align: center; color: var(--blue); }
.dashboard-nav__item.active i { color: var(--gold-soft); }
.dashboard-nav__item--accent { color: var(--teal); }
.dashboard-nav__item--accent i { color: var(--teal); }
.dashboard-nav__item--logout { color: var(--rust-ink); }
.dashboard-nav__item--logout i { color: var(--rust); }
.dashboard-nav__item--logout:hover { background: #fff1e8; color: var(--rust-ink); }
.dashboard-help { margin-top: 14px; padding: 18px 16px; border-radius: 16px; background: linear-gradient(160deg, var(--sky-50), var(--mint-50)); border: 1px solid var(--line-blue); }
.dashboard-help h4 { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.dashboard-help p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.dashboard-help a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.dashboard-help a i { color: var(--blue); font-size: 12px; }
.dashboard-help a:hover { color: var(--blue); }
.dashboard-main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.dashboard-welcome { margin-bottom: 28px; }
.dashboard-welcome h2 { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; color: var(--ink); margin: 10px 0 6px; }
.dashboard-welcome p { color: var(--muted); }
.stats-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 0; }
.stat-card { position: relative; padding: 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-md); overflow: hidden; }
.stat-card::after { content: ''; position: absolute; right: -24px; bottom: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--sky-50); opacity: 0.9; pointer-events: none; }
.stat-card > * { position: relative; z-index: 1; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card__icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 18px; flex: none; color: #fff; }
.stat-card__icon--gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 20px -10px rgba(245, 158, 11, 0.8); }
.stat-card__icon--emerald { background: var(--grad-green); box-shadow: 0 10px 20px -10px rgba(5, 150, 105, 0.8); }
.stat-card__icon--rust { background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: 0 10px 20px -10px rgba(234, 88, 12, 0.8); }
.stat-card__icon--ink { background: var(--grad-brand); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.8); }
.stat-card__num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.stat-card__label { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.dashboard-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.dashboard-card { overflow: hidden; }
.dashboard-card--mt { margin-top: 24px; }
.dashboard-card__head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: linear-gradient(180deg, var(--paper-warm), #fff); }
.dashboard-card__head h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); margin: 0; display: flex; align-items: center; gap: 10px; letter-spacing: -0.015em; }
.dashboard-card__head h3 i { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--sky-50); color: var(--blue); font-size: 13px; border: 1px solid var(--line-blue); }
.dashboard-card__head a { font-size: 13px; color: var(--blue); font-weight: 700; }
.dashboard-card__body { padding: 16px 24px 24px; }
.dashboard-list { list-style: none; padding: 0; margin: 0; }
.dashboard-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.dashboard-list li:last-child { border-bottom: none; }
.dashboard-list__date { width: 54px; padding: 7px 0 6px; text-align: center; flex: none; border-radius: 12px; background: var(--sky-50); border: 1px solid var(--line-blue); }
.dashboard-list__date span:first-child { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--blue-800); line-height: 1; letter-spacing: -0.03em; }
.dashboard-list__date span:last-child { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--blue); letter-spacing: 0.14em; margin-top: 3px; }
.dashboard-list h5 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.dashboard-list h5 a { color: var(--ink); }
.dashboard-list h5 a:hover { color: var(--blue); }
.dashboard-list p { margin: 0; font-size: 12.5px; color: var(--muted); }
.dashboard-list p i { color: var(--blue); margin-right: 3px; }
.dashboard-list__empty { flex-direction: column; align-items: center; text-align: center; padding: 24px 0 !important; }
.dashboard-list__empty i { font-size: 30px; color: var(--blue-300); margin-bottom: 8px; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.activity-list li:last-child { border-bottom: none; }
.activity-list__icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--mint-50); border: 1px solid rgba(5, 150, 105, 0.25); color: var(--green); flex: none; }
.activity-list p { margin: 0 0 3px; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.activity-list span { font-size: 12px; color: var(--muted); }
.dash-table th { padding: 10px 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.dash-table td small { display: block; color: var(--muted); }
.dash-table .pill { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; border: 1px solid currentColor; }
.dash-table .pill--paid, .dash-table .pill--confirmed { color: var(--emerald-ink); }
.dash-table .pill--unpaid { color: var(--gold-ink); }
.dash-table a.dash-link { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* A titled block in the member area ("My Registrations") */
.dash-block { min-width: 0; }
.dash-block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-block__title { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--ink); margin: 8px 0 0; line-height: 1.1; letter-spacing: -0.03em; }

/* Registration cards */
.reg-list { display: flex; flex-direction: column; gap: 14px; }
.reg-card { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 22px; overflow: hidden; }
.reg-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-hair); }
.reg-card--paid::before, .reg-card--free::before { background: var(--grad-green); }
.reg-card--pending::before { background: var(--grad-gold); }
.reg-card--unpaid::before { background: linear-gradient(180deg, #fb923c, #ea580c); }
.reg-card--declined::before, .reg-card--cancelled::before { background: linear-gradient(180deg, #f87171, #dc2626); }
.reg-card--refunded::before { background: linear-gradient(180deg, #94a3b8, #64748b); }
.reg-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.3); }
.reg-card__date { text-align: center; padding: 10px 0 9px; border-radius: 16px; background: var(--sky-50); border: 1px solid var(--line-blue); }
.reg-card__day { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.reg-card__mon { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.reg-card__year { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; }
.reg-card__body { min-width: 0; }
.reg-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.02em; }
.reg-card__title a { color: var(--ink); }
.reg-card__title a:hover { color: var(--blue); }
.reg-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.reg-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.reg-card__meta i { color: var(--blue); font-size: 12px; }
.reg-card__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reg-card__amount { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.reg-card__note { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--amber-ink); background: var(--gold-50); border: 1px dashed rgba(245, 158, 11, 0.5); }
.reg-card__note i { margin-top: 3px; flex: none; }
.reg-card__note--rust { color: var(--rust-ink); background: #fff1e8; border-color: rgba(234, 88, 12, 0.35); }
.reg-card__note--red { color: var(--red-ink); background: #fef2f2; border-color: rgba(220, 38, 38, 0.35); }
.reg-card__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 188px; }
.reg-card__actions .btn { justify-content: center; }

/* Photo card inside the member area (the pc-* pieces belong to photocard.css) */
.dash-pc { position: relative; }
.dash-pc .pc-embed { margin-top: 0; }

/* Profile form: titled cards + a sticky save bar */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); margin-bottom: 20px; overflow: hidden; }
.form-panel__head { display: flex; align-items: center; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-warm), #fff); }
.form-panel__icon { flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--grad-brand); color: #fff; font-size: 17px; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.8); }
.form-panel__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
.form-panel__sub { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.form-panel__body { padding: 26px 28px 10px; }
.form-savebar {
    position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 16px 14px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line-blue);
    box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.form-savebar__text { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.form-savebar__text i { color: var(--blue); }
.form-savebar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-panel__step { margin-left: auto; flex: none; font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted-light); padding: 5px 10px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); }

/* --- Member area v16: dashboard tiles, panels, my jobs, my events ------------------
   Class prefixes mdash-* (dashboard) and mjob-* (member job posts) are public-only;
   the admin panel's own dashboard uses dash-* in admin.css. Media rules: v16-dash
   block in RESPONSIVE. */

/* Sidebar: pending-review count on "My Jobs" */
.dashboard-nav__badge {
    margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--r-pill);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-gold); color: var(--navy); font-size: 11.5px; font-weight: 800; line-height: 1;
}
.dashboard-nav__item.active .dashboard-nav__badge { background: #fff; color: var(--blue-800); }
.dashboard-nav__item:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 2px; }

/* The cards really ride up over the header's lower edge: without a block
   formatting context the grid's negative margin collapsed through the section
   and only shortened the header. */
.member-hero + .dashboard-section { display: flow-root; }
.dashboard-main > .alert { margin-bottom: 0; }
.dash-block__head .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* At-a-glance tiles: each one a link to where its number lives */
.mdash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mdash-stat {
    --tone: var(--blue); --tone-soft: var(--sky-50);
    position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px 18px 14px;
    background: radial-gradient(130% 70% at 100% 0%, var(--tone-soft) 0%, rgba(255, 255, 255, 0) 62%), #fff;
    border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md);
    color: var(--ink); overflow: hidden;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.mdash-stat > * { position: relative; z-index: 1; }
.mdash-stat__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdash-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, 0.28); color: var(--ink); }
.mdash-stat:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 3px; }
.mdash-stat__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mdash-stat__icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--tone); color: #fff; font-size: 18px; box-shadow: 0 10px 20px -12px var(--tone); }
.mdash-stat__go { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11px; transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.mdash-stat:hover .mdash-stat__go { background: var(--tone); border-color: var(--tone); color: #fff; transform: translateX(2px); }
.mdash-stat__num { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.mdash-stat__num--word { font-size: 28px; line-height: 34px; }
.mdash-stat__label { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.mdash-stat__meta { display: flex; align-items: center; gap: 7px; min-height: 30px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.mdash-stat--blue { --tone: #2563eb; --tone-soft: #eff6ff; }
.mdash-stat--gold { --tone: #d97706; --tone-soft: #fef3c7; }
.mdash-stat--teal { --tone: #0d9488; --tone-soft: #ccfbf1; }
.mdash-stat--green { --tone: #059669; --tone-soft: #d1fae5; }
.mdash-stat--amber { --tone: #ea580c; --tone-soft: #ffedd5; }
.mdash-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mdash-dot--gold { background: var(--gold-500); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.mdash-dot--green { background: var(--green-500); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }

/* Panels: a 2 × 2 grid of titled cards under the registrations */
.mdash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.mdash-panel { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden; }
.mdash-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 16px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-warm), #fff); }
.mdash-panel__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.mdash-panel__icon--blue { background: var(--sky-50); color: var(--blue); border: 1px solid var(--line-blue); }
.mdash-panel__icon--gold { background: var(--gold-50); color: #b45309; border: 1px solid rgba(245, 158, 11, 0.35); }
.mdash-panel__icon--teal { background: #f0fdfa; color: var(--teal); border: 1px solid rgba(13, 148, 136, 0.28); }
.mdash-panel__icon--violet { background: #f5f3ff; color: #6d28d9; border: 1px solid rgba(109, 40, 217, 0.22); }
.mdash-panel__heading { flex: 1; min-width: 0; }
.mdash-panel__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; word-spacing: 0.06em; color: var(--ink); margin: 0; }
.mdash-panel__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.mdash-panel__link { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.mdash-panel__link i { font-size: 11px; transition: transform var(--dur-fast) var(--ease-out); }
.mdash-panel__link:hover { color: var(--blue-800); }
.mdash-panel__link:hover i { transform: translateX(3px); }
.mdash-panel__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 14px 20px 16px; border-top: 1px solid var(--line); background: var(--paper-warm); }
.mdash-list { list-style: none; margin: 0; padding: 4px 20px; }
.mdash-list > li + li { border-top: 1px dashed var(--line-strong); }
.mdash-list__empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 8px 28px; text-align: center; }
.mdash-list__empty strong { font-size: 14.5px; color: var(--ink); }
.mdash-list__empty > span:last-child { max-width: 34ch; font-size: 13px; line-height: 1.5; color: var(--muted); }
.mdash-list__empty-icon { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--sky-50); color: var(--blue); }
.mdash-list__empty-icon--gold { background: var(--gold-50); color: #b45309; }
.mdash-list__empty-icon--teal { background: #f0fdfa; color: var(--teal); }
.mdash-list__empty-icon--violet { background: #f5f3ff; color: #6d28d9; }
.mdash-empty { padding: 44px 24px; }

/* Upcoming event row (dashboard) — the title link covers the row */
.mdash-event { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; }
.mdash-event__date { width: 52px; padding: 7px 0 6px; text-align: center; border-radius: 14px; background: var(--sky-50); border: 1px solid var(--line-blue); }
.mdash-event__day { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.mdash-event__mon { display: block; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.mdash-event__body { min-width: 0; display: grid; gap: 3px; }
.mdash-event__title { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mdash-event__title::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.mdash-event__title:hover { color: var(--blue); }
.mdash-event__title:focus-visible { outline: none; }
.mdash-event__title:focus-visible::after { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 2px; }
.mdash-event__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--muted); }
.mdash-event__meta i { margin-right: 3px; font-size: 11px; color: var(--blue); }
.mdash-event__note { font-size: 12px; font-weight: 600; color: var(--amber-ink); }
.mdash-event__note i { margin-right: 4px; font-size: 10px; }
.mdash-event__cta { position: relative; z-index: 1; }

/* Job post rows (dashboard): mine, and the community's */
.mjob-mini { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; }
.mjob-mini__logo { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--gold-50); border: 1px solid rgba(245, 158, 11, 0.3); color: #92400e; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.mjob-mini__logo--teal { background: #f0fdfa; border-color: rgba(13, 148, 136, 0.25); color: #0f766e; }
.mjob-mini__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mjob-mini__body { min-width: 0; display: grid; gap: 2px; }
.mjob-mini__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mjob-mini__title::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.mjob-mini__title:hover { color: var(--blue); }
.mjob-mini__title:focus-visible { outline: none; }
.mjob-mini__title:focus-visible::after { outline: 3px solid rgba(37, 99, 235, 0.55); outline-offset: 2px; }
.mjob-mini__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
.mjob-mini__by { font-size: 12px; font-weight: 600; color: var(--teal); }
.mjob-mini__by i { margin-right: 4px; font-size: 10px; }
.mjob-mini__type { padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }

/* Status chip of a member's job post */
.mjob-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: var(--r-pill); border: 1px solid transparent;
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; white-space: nowrap;
}
.mjob-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.mjob-chip--pending { background: var(--gold-50); color: var(--amber-ink); border-color: rgba(245, 158, 11, 0.4); }
.mjob-chip--live { background: var(--mint-50); color: var(--emerald-ink); border-color: rgba(5, 150, 105, 0.3); }
.mjob-chip--rejected { background: #fee2e2; color: var(--red-ink); border-color: rgba(220, 38, 38, 0.28); }
.mjob-chip--expired, .mjob-chip--closed { background: rgba(15, 23, 42, 0.05); color: var(--muted); border-color: var(--line-strong); }

/* "Job posting opens soon" / "awaiting approval" notices */
.mdash-soon { display: flex; align-items: flex-start; gap: 14px; margin: 16px 20px 20px; padding: 16px; border-radius: 14px; background: var(--gold-50); border: 1px dashed rgba(245, 158, 11, 0.5); }
.mdash-soon__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); font-size: 15px; }
.mdash-soon strong { display: block; font-size: 15px; color: var(--ink); }
.mdash-soon div > span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.mdash-soon .btn { margin-top: 12px; }
.mdash-soon--panel { margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.mdash-soon--panel .mdash-soon__icon { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; }
.mdash-soon--panel strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }

/* Recent activity */
.mdash-timeline { list-style: none; margin: 0; padding: 10px 20px 14px; }
.mdash-timeline__item { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.mdash-timeline__item:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 46px; bottom: -6px; width: 2px; border-radius: 2px; background: var(--line); }
.mdash-timeline__icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; background: var(--sky-50); color: var(--blue); }
.mdash-timeline__item--green .mdash-timeline__icon { background: var(--mint-50); color: var(--green); }
.mdash-timeline__item--gold .mdash-timeline__icon { background: var(--gold-100); color: #b45309; }
.mdash-timeline__item--red .mdash-timeline__icon { background: #fee2e2; color: var(--red); }
.mdash-timeline__body { min-width: 0; padding-top: 2px; }
.mdash-timeline__body p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; }
.mdash-timeline__body strong { font-weight: 700; color: var(--ink); }
.mdash-timeline__body span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted-light); }

/* My Events: summary chips + the open-events grid */
.mdash-summary { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mdash-summary li { padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--muted); }
.mdash-summary b { margin-right: 2px; font-family: var(--font-display); color: var(--ink); }
.mdash-summary li.is-warn { background: #fff1e8; border-color: rgba(234, 88, 12, 0.3); color: var(--rust-ink); }
.mdash-summary li.is-warn b { color: var(--rust-ink); }
.mdash-evgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mdash-evcard {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.mdash-evcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, 0.3); }
.mdash-evcard.is-mine { border-color: rgba(5, 150, 105, 0.35); }
.mdash-evcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.mdash-evcard__media img { width: 100%; height: 100%; object-fit: cover; }
.mdash-evcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.mdash-evcard__title { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; word-spacing: 0.05em; }
.mdash-evcard__title a { color: var(--ink); }
.mdash-evcard__title a:hover { color: var(--blue); }
.mdash-evcard__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.mdash-evcard__meta i { width: 16px; margin-right: 4px; font-size: 12px; color: var(--blue); text-align: center; }
.mdash-evcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }

/* My Jobs: how it works, tabs, the post cards with a three-step tracker */
.mjob-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mjob-how > li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mjob-how__num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.mjob-how strong { display: block; font-size: 14px; color: var(--ink); }
.mjob-how li > div > span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.mjob-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mjob-tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; border-radius: var(--r-pill);
    background: #fff; border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 13.5px; font-weight: 700; white-space: nowrap;
    transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
}
.mjob-tab i { font-size: 12px; color: var(--muted-light); }
.mjob-tab b { min-width: 24px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--paper); font-size: 12px; text-align: center; color: var(--ink-soft); }
.mjob-tab:hover { border-color: var(--blue); color: var(--blue-800); }
.mjob-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 22px -14px rgba(11, 31, 75, 0.8); }
.mjob-tab.is-active i { color: var(--gold-soft); }
.mjob-tab.is-active b { background: rgba(255, 255, 255, 0.16); color: #fff; }
.mjob-tab--pending:not(.is-active) b { background: var(--gold-100); color: var(--amber-ink); }
.mjob-list { display: flex; flex-direction: column; gap: 14px; }
.mjob-card {
    position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 20px; align-items: start;
    padding: 22px 22px 22px 26px; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
}
.mjob-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-hair); }
.mjob-card--pending::before { background: var(--grad-gold); }
.mjob-card--live::before { background: var(--grad-green); }
.mjob-card--rejected::before { background: linear-gradient(180deg, #f87171, #dc2626); }
.mjob-card--expired::before, .mjob-card--closed::before { background: linear-gradient(180deg, #94a3b8, #64748b); }
.mjob-card__logo { width: 60px; height: 60px; overflow: hidden; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--sky-50); border: 1px solid var(--line-blue); color: var(--blue-800); font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.mjob-card__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mjob-card__body { min-width: 0; }
.mjob-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.mjob-card__type { font-size: 12px; font-weight: 700; color: var(--muted); }
.mjob-card__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; word-spacing: 0.05em; overflow-wrap: anywhere; }
.mjob-card__title a { color: var(--ink); }
.mjob-card__title a:hover { color: var(--blue); }
.mjob-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.mjob-card__meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.mjob-card__meta i { font-size: 12px; color: var(--blue); }
.mjob-card__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px dashed rgba(220, 38, 38, 0.35); color: var(--red-ink); font-size: 13px; line-height: 1.5; }
.mjob-card__note i { margin-top: 3px; flex: none; }
.mjob-card__note-text { display: block; margin-top: 2px; white-space: pre-line; overflow-wrap: anywhere; }
.mjob-card__hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12.5px; color: var(--amber-ink); }
.mjob-card__actions { display: flex; flex-direction: column; gap: 8px; min-width: 156px; }
.mjob-card__actions .btn { justify-content: center; width: 100%; }
.mjob-card__delete { margin: 0; }
.mjob-card__withdraw { color: var(--red-ink); }
.mjob-card__withdraw:hover { background: #fef2f2; border-color: rgba(220, 38, 38, 0.3); color: var(--red-ink); }
.mjob-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; margin: 16px 0 0; padding: 0; }
.mjob-steps__item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 8px; }
.mjob-steps__item:not(:last-child)::before { content: ''; position: absolute; left: 28px; right: 4px; top: 11px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.mjob-steps__item.is-done:not(:last-child)::before { background: var(--green-500); }
.mjob-steps__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; background: #fff; border: 2px solid var(--line-strong); }
.mjob-steps__item.is-done .mjob-steps__dot { background: var(--green); border-color: var(--green); }
.mjob-steps__item.is-current .mjob-steps__dot { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22); }
.mjob-steps__item.is-failed .mjob-steps__dot { background: var(--red); border-color: var(--red); }
.mjob-steps__item.is-ended .mjob-steps__dot { background: #64748b; border-color: #64748b; }
.mjob-steps__item.is-todo .mjob-steps__dot { border-style: dashed; }
.mjob-steps__item.is-todo .mjob-steps__dot i { opacity: 0; }
.mjob-steps__text strong { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mjob-steps__item.is-todo .mjob-steps__text strong { color: var(--muted); font-weight: 600; }
.mjob-steps__text small { display: block; font-size: 11.5px; color: var(--muted); }

/* Job form */
.mjob-form .form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mjob-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mjob-types .radio-option > span { white-space: normal; text-align: center; }
.mjob-logo { margin: 6px 0 16px; }
.mjob-logo .photo-upload__preview { border-radius: 18px; background: #fff; color: var(--blue-300); font-size: 28px; }
.mjob-logo .photo-upload__preview img { object-fit: contain; }
.mjob-form__optional { margin-left: 4px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted-light); }
.mjob-form__remove { min-height: 44px; margin-top: 6px; font-size: 13.5px; }
.mjob-form__note { white-space: pre-line; overflow-wrap: anywhere; font-style: italic; }

/* Preview banner over a job page the public cannot see (pending / rejected / closed) */
.mjob-preview { position: relative; z-index: 2; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.mjob-preview__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mjob-preview__inner > i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.mjob-preview__text { flex: 1 1 240px; min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.5; }
.mjob-preview__text strong { font-size: 15px; }
.mjob-preview__note { font-style: italic; white-space: pre-line; overflow-wrap: anywhere; }
.mjob-preview--pending { background: var(--gold-50); border-color: rgba(245, 158, 11, 0.4); color: #78350f; }
.mjob-preview--pending .mjob-preview__inner > i { background: var(--grad-gold); color: var(--navy); }
.mjob-preview--rejected { background: #fef2f2; border-color: rgba(220, 38, 38, 0.25); color: var(--red-ink); }
.mjob-preview--rejected .mjob-preview__inner > i { background: #fee2e2; color: var(--red); }
.mjob-preview--closed { background: var(--paper); color: var(--ink-soft); }
.mjob-preview--closed .mjob-preview__inner > i { background: #e2e8f0; color: #475569; }

/* --- Auth (login / register / password) ------------------------------------------------- */
.auth-wrapper { min-height: calc(100vh - 80px); background: var(--paper); padding: 56px 0; display: flex; align-items: center; position: relative; overflow: hidden; }
.auth-wrapper::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 0% 0%, rgba(37, 99, 235, 0.12), transparent 60%), radial-gradient(50% 50% at 100% 100%, rgba(16, 185, 129, 0.12), transparent 60%); }
.auth-wrapper > .container, .auth-wrapper > .auth-grid { position: relative; z-index: 1; }
.auth-grid { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 660px; max-width: 1180px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--white); border: 1px solid var(--line); }
.auth-grid .auth-visual { order: 0; }
.auth-grid .auth-form-wrap { order: 1; }
/* The photograph is blended into a royal gradient; the words sit on a glass card. */
.auth-visual { position: relative; isolation: isolate; color: #fff; padding: 36px; overflow: hidden; display: flex; align-items: flex-end; background: var(--grad-navy); }
.auth-visual__bg { position: absolute; inset: 0; z-index: -3; }
.auth-visual__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; mix-blend-mode: luminosity; }
.auth-visual::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(30, 64, 175, 0.35) 0%, rgba(11, 31, 75, 0.85) 100%), var(--grad-aurora); }
.auth-visual::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern-grid); }
.auth-visual__content {
    position: relative; z-index: 2; max-width: 460px; width: 100%; padding: 30px 30px 26px; border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.auth-visual__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); padding: 7px 14px; border-radius: var(--r-pill); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; color: #fff; }
.auth-visual__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 8px rgba(52, 211, 153, 0.9); }
.auth-visual__title { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; line-height: 1.08; margin: 0 0 18px; color: #fff; letter-spacing: -0.03em; }
.auth-visual__text { color: rgba(255, 255, 255, 0.78); line-height: 1.7; margin-bottom: 24px; font-size: 15px; }
.auth-features { list-style: none; padding: 0; margin: 0 0 22px; }
.auth-features li { display: flex; align-items: center; gap: 14px; padding: 7px 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.88); }
.auth-features i { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--grad-gold); color: var(--navy); border-radius: 50%; font-size: 12px; flex: none; }
.auth-stats { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 16px 10px; }
.auth-stats__item { flex: 1; text-align: center; position: relative; }
.auth-stats__item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255, 255, 255, 0.16); }
.auth-stats__num { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.auth-stats__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 6px; font-weight: 700; }
.auth-quote { border-left: 2px solid var(--gold); padding: 6px 0 6px 18px; margin-top: 8px; }
.auth-quote p { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.4; color: #fff; }
.auth-quote cite { font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
/* Registration: the form is very tall, so the photograph becomes a fixed-height
   band (no over-stretched crop) and the card stays in view while scrolling.
   overflow: clip (not hidden) so position: sticky still works inside. */
.auth-grid--register { overflow: clip; }
.auth-grid--register .auth-visual { align-items: flex-start; overflow: clip; }
.auth-grid--register .auth-visual__bg { bottom: auto; height: 760px; }
.auth-grid--register .auth-visual__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 75, 0) 55%, #0b1f4b 100%); }
.auth-grid--register .auth-visual__content { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 360px; }
.auth-form-wrap { padding: 56px 52px; background: var(--white); display: flex; align-items: center; }
.auth-form-inner { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-form-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.auth-form-brand__logo { width: 48px; height: 48px; background: var(--sky-50); color: var(--blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.auth-form-brand__logo--img { background: transparent; padding: 0; width: 52px; height: 52px; }
.auth-form-brand__logo--img img { height: 52px; width: 52px; object-fit: contain; display: block; }
.auth-form-brand__text h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
.auth-form-brand__text p { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 3px 0 0; font-weight: 800; }
.auth-form-header { margin-bottom: 26px; }
.auth-form-title { font-family: var(--font-display); font-size: var(--d-2); font-weight: 800; line-height: 1.1; margin: 10px 0 8px; color: var(--ink); letter-spacing: -0.03em; }
.auth-form-sub { color: var(--muted); font-size: 14.5px; }
.auth-form-sub a { color: var(--blue); font-weight: 700; }
.auth-divider { position: relative; text-align: center; margin: 22px 0; color: var(--muted-light); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.auth-divider span { position: relative; background: var(--white); padding: 0 14px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 14px; }
.auth-switch__link { color: var(--blue); font-weight: 700; }
.auth-switch__link:hover { color: var(--blue-800); }
.auth-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.auth-back:hover { color: var(--blue); }

/* --- Staff pages (kept simple; inline styles in the templates still apply) --------- */
.staff-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.staff-card { padding: 28px; }

/* --------------------------------------------------------------------------
   9. FOOTER — deep royal blue, a gradient wave along the top
   -------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); padding: 0; }
/* The strip above the wave takes the colour of the page's last section:
   tinted by default (most inner pages end on a tinted band), white when the
   last section of <main> is one of the white bands. */
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 128px; pointer-events: none; background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'><path d='M0 48V30C240 2 480 0 720 16c240 16 480 20 720-4v36z' fill='%230b1f4b'/></svg>") no-repeat center bottom / 100% 48px; }
.site-footer::after { content: ''; position: absolute; left: 0; right: 0; top: 128px; bottom: 0; pointer-events: none; background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.35), transparent 45%), radial-gradient(circle at 88% 20%, rgba(20, 184, 166, 0.22), transparent 45%), radial-gradient(circle at 50% 100%, rgba(251, 191, 36, 0.12), transparent 50%), var(--pattern-grid); }
.site-footer .container { position: relative; z-index: 1; }
body:has(main > :is(.blog-section, .gallery-section, .mem-section:not(.mem-section--form), .cta-banner, .responsibility, .mission, .lb-section, .about-story, .leadership-section):last-of-type) .site-footer::before { background-color: var(--white); }

/* Newsletter (v17): the footer's own first row. The footer opens with a clean
   wave that nothing crosses; just below it, inside the navy, sits a raised
   panel with a hairline gradient border — envelope tile, copy and chips on
   the left, the white pill form on the right. A hairline then separates it
   from the link columns. --footer-seam is the height of the page-coloured
   strip that carries the wave (see RESPONSIVE). */
.site-footer { --footer-seam: 64px; }
.site-footer::before { height: var(--footer-seam); }
/* the glow + grid fade in below the wave, so the wave's edge is the only line */
.site-footer::after { top: var(--footer-seam); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px); mask-image: linear-gradient(180deg, transparent 0, #000 160px); }
.footer-cta { position: relative; z-index: 1; padding-top: calc(var(--footer-seam) + 40px); background: none; border-bottom: none; }
.footer-cta__inner {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    display: grid; grid-template-columns: auto minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px 36px; align-items: center;
    padding: 34px 40px 34px 34px; border-radius: 28px; border: 1px solid transparent;
    background:
        linear-gradient(135deg, #132c6b 0%, #0f2559 48%, #0c214f 100%) padding-box,
        linear-gradient(120deg, rgba(253, 230, 138, 0.62) 0%, rgba(255, 255, 255, 0.1) 28%, rgba(255, 255, 255, 0.06) 62%, rgba(45, 212, 191, 0.45) 100%) border-box;
    box-shadow: 0 30px 60px -34px rgba(2, 8, 28, 0.9), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.footer-cta__inner::before {     /* soft aurora: gold glow behind the icon, teal on the far right, a faint dot grid */
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(260px 200px at 0% 0%, rgba(251, 191, 36, 0.16), transparent 70%),
        radial-gradient(420px 240px at 100% 100%, rgba(20, 184, 166, 0.2), transparent 70%),
        radial-gradient(520px 260px at 62% -40%, rgba(37, 99, 235, 0.32), transparent 70%),
        var(--pattern-dots-light);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 55%, #000); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 55%, #000);
    opacity: 0.9;
}
.footer-cta__inner::after { content: none; }
.footer-cta__text, .footer-cta__form, .newsletter-form { position: relative; z-index: 1; min-width: 0; }
/* The envelope: a gold tile with a soft glow, a small white "new mail" dot */
.footer-cta__art { position: relative; width: 72px; height: 72px; flex: none; align-self: start; margin-top: 4px; }
.footer-cta__art::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 191, 36, 0.32), transparent); pointer-events: none; }
.footer-cta__envelope {
    position: absolute; inset: 0; border-radius: 22px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #fde68a 0%, #fbbf24 48%, #f59e0b 100%);
    box-shadow: 0 18px 32px -16px rgba(245, 158, 11, 0.9), 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 -2px 0 rgba(180, 83, 9, 0.25) inset;
    color: var(--navy); font-size: 27px;
}
.footer-cta__plane {
    position: absolute; top: -7px; right: -7px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--blue-800); font-size: 11.5px; border: 0;
    box-shadow: 0 0 0 3px #10275f, 0 8px 16px -6px rgba(2, 8, 28, 0.8);
}
.footer-cta__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none;
    font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}
.footer-cta__eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.footer-cta__title { font-family: var(--font-display); font-size: clamp(1.4rem, 1.08rem + 0.95vw, 1.85rem); font-weight: 800; color: #fff; margin: 10px 0 8px; line-height: 1.14; letter-spacing: -0.025em; text-wrap: balance; }
.footer-cta__text p { font-size: 15px; color: rgba(255, 255, 255, 0.8); margin: 0; line-height: 1.6; text-wrap: pretty; }
.footer-cta__chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cta__chips li {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.92); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.footer-cta__chips i { color: var(--gold-soft); font-size: 11.5px; }
.footer-cta__note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.72); }
.footer-cta__note i { color: var(--teal-300); font-size: 11px; }
/* hairline between the newsletter row and the link columns */
.footer-cta > .container::after {
    content: ''; display: block; height: 1px; margin-top: 52px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.16) 82%, transparent);
}
.footer-cta ~ .container .footer-top { padding-top: 56px; }
/* The form: a large white pill with a gold Subscribe button */
.newsletter-form {
    position: relative; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px;
    background: #fff; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r-pill);
    box-shadow: 0 22px 44px -18px rgba(7, 20, 54, 0.7); transition: box-shadow var(--dur-fast);
}
.newsletter-form:focus-within { box-shadow: 0 0 0 3px var(--gold-soft), 0 0 0 8px rgba(251, 191, 36, 0.2), 0 22px 44px -18px rgba(7, 20, 54, 0.7); }
.newsletter-form input { flex: 1; min-width: 0; min-height: 52px; background: none; border: none; padding: 0 8px 0 20px; color: var(--ink); font-size: 15.5px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--muted-light); }
.newsletter-form button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; flex: none;
    background: var(--grad-gold); color: var(--navy); border: 1px solid rgba(245, 158, 11, 0.55); border-radius: var(--r-pill);
    font-weight: 800; font-size: 14.5px; letter-spacing: 0.02em; white-space: nowrap; cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 12px 24px -10px rgba(245, 158, 11, 0.9); transition: filter var(--dur-fast), transform var(--dur-fast);
}
.newsletter-form button:hover { filter: brightness(1.05) saturate(1.06); transform: translateY(-1px); }
.newsletter-form button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.newsletter-form button i { color: var(--blue-800); transition: transform var(--dur) var(--ease-out); }
.newsletter-form button:hover i { transform: translate(2px, -2px); }
.newsletter-form__done { position: absolute; top: calc(100% + 9px); left: 2px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--emerald-ink); }
.newsletter-form__done[hidden] { display: none; }
.newsletter-form__done i { font-size: 13px; }

/* Columns */
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding: 72px 0 52px; }
.footer-col { min-width: 0; }
.footer-col--brand .brand { margin-bottom: 20px; }
.footer-about { color: var(--on-dark-soft); line-height: 1.75; font-size: 14.5px; margin-bottom: 22px; max-width: 34ch; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; border-radius: 12px; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast); }
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: transparent; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
.footer-social a.is-fb:hover { background: #1877f2; color: #fff; }
.footer-social a.is-yt:hover { background: #ff0000; color: #fff; }
.footer-social a.is-li:hover { background: #0a66c2; color: #fff; }
.footer-social a.is-tw:hover { background: #1d9bf0; color: #fff; }
.footer-heading { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 22px; position: relative; padding-bottom: 12px; letter-spacing: -0.01em; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--grad-hair); border-radius: 3px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--on-dark); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; position: relative; padding-left: 0; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-new { display: inline-flex; padding: 1px 6px; border-radius: var(--r-pill); background: var(--grad-green); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }
.footer-text { font-size: 14px; color: var(--on-dark-soft); line-height: 1.6; margin-bottom: 16px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact i { flex: none; width: 38px; height: 38px; margin: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--gold); font-size: 13px; }
.footer-contact div { font-size: 14px; line-height: 1.6; color: var(--on-dark); }
.footer-contact span { display: block; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-300); font-weight: 800; margin-bottom: 2px; }
.footer-contact p { font-size: 13px; margin-bottom: 8px; color: var(--on-dark-soft); }
.footer-contact a { color: rgba(255, 255, 255, 0.88); transition: color var(--dur-fast); }
.footer-contact a:hover { color: var(--gold); }

/* Bottom bar */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); flex-wrap: wrap; gap: 14px 24px; }
.footer-bottom p { font-size: 13px; color: var(--on-dark-soft); margin: 0; }
.footer-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; line-height: 1.6; }
.footer-copy__sep { opacity: 0.35; }
.footer-credit { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { font-size: 13px; color: var(--on-dark-soft); transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--gold); }

/* "Developed by BDdevs" — the agency's own signature, made to look intentional */
.dev-credit {
    display: inline-flex; align-items: center; gap: 8px; position: relative;
    padding: 5px 12px 5px 9px; border-radius: var(--r-pill);
    border: 1px solid rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.1);
    color: var(--gold) !important; font-weight: 700; font-size: 12.5px; letter-spacing: 0.02em; text-decoration: none;
    transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.dev-credit::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(251, 191, 36, 0.8); flex: none; }
.dev-credit__arrow { font-size: 10px; opacity: 0.9; }
.dev-credit:hover { color: var(--navy) !important; background: var(--gold); border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.dev-credit:hover::before { background: var(--navy); box-shadow: none; }
@keyframes devCreditDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* --------------------------------------------------------------------------
   10. UTILITIES & MOTION
   -------------------------------------------------------------------------- */
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0 !important; }
.u-mb-4 { margin-bottom: 16px; }
.u-mb-6 { margin-bottom: 32px; }
.u-muted { color: var(--muted); }
.u-gold { color: var(--blue); }
.u-mono { font-family: var(--font-mono); }
.u-nowrap { white-space: nowrap; }

/* Scroll reveal. Elements are visible by default; main.js adds `reveal-ready`
   to <html> only when JS runs, IntersectionObserver exists and the visitor has
   not asked for reduced motion. Anything already on screen at that moment is
   marked revealed immediately (no flash), the rest rises in as it scrolls into
   view. Never used on hero / page-header content. */
.reveal-ready [data-reveal] { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(22px); }
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal-ready [data-reveal].is-revealed.no-anim { transition: none; }

/* Slow aurora drift for the hero / dark bands (only under no-preference — see RESPONSIVE) */
@keyframes ppiAurora { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.06); } }

/* Nicer scrollbar (WebKit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.35); border-radius: 6px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Legacy hooks kept so older markup and the admin keep working */
.hero__visual-banner { display: block; }
.feature-card, .job-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }

/* Small helpers introduced with the v4 templates (replace former inline styles) */
.ornament--above { margin: calc(var(--section-y) * -0.35) 0 calc(var(--section-y) * 0.6); }
.events-section--index { background: var(--paper); }
.directory-filter__form--2 { grid-template-columns: 1fr auto; }
.event-sidebar-card__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.data-table__empty { text-align: center; padding: 40px 16px !important; color: var(--muted); }
.data-table__empty i { font-size: 30px; display: block; margin: 0 auto 10px; opacity: 0.35; }
.event-summary-list__value--total { color: var(--blue-800); font-size: 20px; font-family: var(--font-display); font-weight: 800; }
.photo-upload__field { flex: 1; min-width: 0; }
.photo-upload__placeholder { font-size: 24px; opacity: 0.85; }
.auth-form-inner--wide { max-width: 640px; }
.blog-detail-hero__inner { max-width: 820px; }
.blog-tags__label { font-size: 13px; color: var(--ink); }
.job-card-lg__logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.job-detail-header__info p i { margin-right: 6px; }
.section-head--tight { margin-bottom: 24px; }
.hero__bg img, .page-header__bg img, .member-hero__bg img, .scholarship-cta__bg img { pointer-events: none; }
.job-card-lg__info { min-width: 0; }
.footer-social a { width: 44px; height: 44px; }

/* --------------------------------------------------------------------------
   11. ADMIN (legacy — overridden by admin.css)
   Every rule below is carried over verbatim from the previous stylesheet so
   that resources/views/admin/** and superadmin/** keep every class they use.
   admin.css (loaded after this file on admin pages) restyles all of it.
   Admin-only selectors — nothing here touches the public site.
   -------------------------------------------------------------------------- */

/* === ADMIN === */
.admin-wrapper { min-height: 100vh; background: #f4f6fa; display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { background: var(--ink); color: var(--paper); padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar__brand { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 16px; }
.admin-sidebar__brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.admin-sidebar__brand-tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); margin-top: 6px; }

.admin-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.admin-nav__section { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); padding: 16px 12px 8px; }
.admin-nav__item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: rgba(255,255,255,0.75); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; transition: all .2s; background: none; border: none; cursor: pointer; width: 100%; text-align: left; font-family: inherit; position: relative; }
.admin-nav__item:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.admin-nav__item.active { background: var(--gold); color: var(--ink); font-weight: 700; box-shadow: 0 6px 16px rgba(201,165,92,0.35); }
.admin-nav__item.active::before { content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 4px; height: 70%; background: var(--gold); border-radius: 0 4px 4px 0; }
.admin-nav__item.active i { color: var(--ink); }
.admin-nav__item i { width: 18px; font-size: 14px; }

.admin-main { display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: #fff; padding: 16px 32px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 10; }
.admin-topbar__title { display: flex; flex-direction: column; }
.admin-topbar__title h1 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); margin: 0; }
.admin-topbar__title p { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.admin-topbar__right { display: flex; align-items: center; gap: 12px; }
.admin-topbar__btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--paper-deep); border-radius: 50%; color: var(--ink); border: none; cursor: pointer; }
.admin-topbar__user { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: var(--paper-deep); border-radius: 999px; }
.admin-topbar__user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.admin-topbar__user-name { font-size: 13px; font-weight: 600; color: var(--ink); }

.admin-content { padding: 28px 32px; flex: 1; }

.admin-toggle { display: none; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.admin-stat { background: #fff; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.admin-stat__icon { width: 50px; height: 50px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.admin-stat__icon--gold { background: rgba(201,165,92,0.12); color: var(--gold-deep); }
.admin-stat__icon--emerald { background: rgba(45,110,84,0.12); color: var(--emerald); }
.admin-stat__icon--rust { background: rgba(184,92,60,0.12); color: var(--rust); }
.admin-stat__icon--ink { background: rgba(10,22,40,0.08); color: var(--ink); }
.admin-stat__num { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1; }
.admin-stat__label { font-size: 12px; color: var(--muted); margin-top: 3px; }

.admin-card { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; margin-bottom: 24px; }
.admin-card__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; flex-wrap: wrap; }
.admin-card__head h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0; color: var(--ink); }
.admin-card__head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-card__search { position: relative; }
.admin-card__search input { padding: 10px 16px 10px 40px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 13px; min-width: 260px; }
.admin-card__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-light); }
.admin-card__body { padding: 0; }
.admin-card__body--padded { padding: 24px; }

/* ADMIN: topbar link, user dropdown, dark mode */
.admin-topbar__link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: var(--r-sm); transition: background .2s; }
.admin-topbar__link:hover { background: var(--paper-deep); color: var(--gold-deep); }
.admin-topbar__link i { color: var(--gold-deep); }

.admin-user-dropdown { position: relative; }
.admin-user-dropdown .admin-topbar__user { cursor: pointer; border: none; }
.admin-user-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); min-width: 190px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; z-index: 50; }
.admin-user-dropdown.is-open .admin-user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-user-menu a, .admin-user-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; font-size: 13px; font-weight: 500; color: var(--ink); border-radius: var(--r-sm); background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.admin-user-menu a:hover, .admin-user-menu button:hover { background: var(--paper-deep); color: var(--gold-deep); }
.admin-user-menu i { width: 16px; color: var(--gold-deep); }
.admin-user-menu form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.admin-user-menu form button { color: var(--rust); }
.admin-user-menu form button:hover { background: rgba(184,92,60,0.08); color: var(--rust); }

/* Day/Night (Dark mode) for admin */
.admin-dark .admin-body, .admin-dark.admin-body { }
html.admin-dark { background: #0f1622; }
html.admin-dark .admin-body { background: #0f1622; color: #e4e8ee; }
html.admin-dark .admin-wrapper { background: #0f1622; }
html.admin-dark .admin-topbar { background: #161f2e; border-bottom-color: rgba(255,255,255,0.06); }
html.admin-dark .admin-topbar__title h1 { color: #f1f4f8; }
html.admin-dark .admin-topbar__title p { color: #8b95a5; }
html.admin-dark .admin-topbar__btn { background: #1f2a3c; color: #cdd5e0; }
html.admin-dark .admin-topbar__link { color: #cdd5e0; }
html.admin-dark .admin-topbar__link:hover { background: #1f2a3c; }
html.admin-dark .admin-topbar__user { background: #1f2a3c; }
html.admin-dark .admin-topbar__user-name { color: #e4e8ee; }
html.admin-dark .admin-content { background: #0f1622; }
html.admin-dark .admin-stat, html.admin-dark .admin-card, html.admin-dark .table-card, html.admin-dark .empty-state { background: #161f2e; border-color: rgba(255,255,255,0.07); }
html.admin-dark .admin-stat__num, html.admin-dark .admin-card__head h2, html.admin-dark .data-table td, html.admin-dark .data-table th, html.admin-dark .form-card__title, html.admin-dark .form-section-title, html.admin-dark .form-label { color: #e4e8ee; }
html.admin-dark .admin-stat__label, html.admin-dark .data-table__user span { color: #8b95a5; }
html.admin-dark .admin-card__head { border-bottom-color: rgba(255,255,255,0.07); }
html.admin-dark .data-table thead { background: #1f2a3c; }
html.admin-dark .data-table th { color: #cdd5e0; }
html.admin-dark .data-table td { border-bottom-color: rgba(255,255,255,0.06); }
html.admin-dark .data-table tr:hover { background: rgba(255,255,255,0.03); }
html.admin-dark .data-table__user strong { color: #f1f4f8; }
html.admin-dark .form-control { background: #1f2a3c; border-color: rgba(255,255,255,0.1); color: #e4e8ee; }
html.admin-dark .admin-card__search input { background: #1f2a3c; border-color: rgba(255,255,255,0.1); color: #e4e8ee; }
html.admin-dark .data-table__action-btn { background: #1f2a3c; border-color: rgba(255,255,255,0.1); color: #cdd5e0; }
html.admin-dark .admin-user-menu { background: #1f2a3c; border-color: rgba(255,255,255,0.1); }
html.admin-dark .admin-user-menu a, html.admin-dark .admin-user-menu button { color: #e4e8ee; }
html.admin-dark .admin-user-menu a:hover, html.admin-dark .admin-user-menu button:hover { background: rgba(255,255,255,0.05); }
html.admin-dark .profile-info-row dd { color: #e4e8ee; }
html.admin-dark .profile-info-row dt { color: #8b95a5; }
html.admin-dark .form-section-title { border-bottom-color: rgba(255,255,255,0.08); }

/* Admin sidebar logo */
.admin-sidebar__brand { display: flex; flex-direction: column; align-items: flex-start; }
.admin-sidebar__brand-logo { margin-bottom: 12px; width: 54px; height: 54px; background: #fff; border-radius: 10px; padding: 6px; box-sizing: border-box; }
.admin-sidebar__brand-logo img { height: 100%; width: 100%; object-fit: contain; display: block; }

/* ADMIN: Contact inbox split view */
.inbox-grid { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.inbox-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; max-height: 78vh; overflow-y: auto; }
.inbox-list__head { padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.inbox-item { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.inbox-item:hover { background: var(--paper-deep); }
.inbox-item.is-active { background: rgba(201,165,92,0.08); border-left-color: var(--gold); }
.inbox-item__top { display: flex; justify-content: space-between; gap: 8px; }
.inbox-item__name { font-weight: 600; color: var(--ink); font-size: 14px; }
.inbox-item__date { font-size: 11px; color: var(--muted-light); white-space: nowrap; }
.inbox-item__subject { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.inbox-item__preview { font-size: 12px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item__badges { margin-top: 6px; display: flex; gap: 5px; }
.inbox-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.reply-bubble { background: rgba(45,110,84,0.08); border-left: 3px solid var(--emerald); border-radius: var(--r-sm); padding: 14px 16px; margin-top: 8px; }
@media (max-width: 991px) { .inbox-grid { grid-template-columns: 1fr; } .inbox-list { max-height: none; } }
html.admin-dark .inbox-list, html.admin-dark .inbox-detail { background: #161f2e; border-color: rgba(255,255,255,0.07); }
html.admin-dark .inbox-item { border-color: rgba(255,255,255,0.06); }
html.admin-dark .inbox-item__name, html.admin-dark .inbox-list__head { color: #e4e8ee; }

/* Contact message chat-style bubbles */
.msg-bubble { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.msg-bubble--out { flex-direction: row-reverse; }
.msg-bubble__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 15px; }
.msg-bubble__avatar--admin { background: var(--ink); color: var(--gold); }
.msg-bubble__body { max-width: 80%; }
.msg-bubble__meta { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.msg-bubble__meta span { color: var(--muted-light); }
.msg-bubble__meta--out { text-align: right; }
.msg-bubble__text { background: var(--paper-deep); border-radius: 4px 14px 14px 14px; padding: 14px 16px; line-height: 1.7; color: var(--ink-soft); white-space: pre-line; }
.msg-bubble--out .msg-bubble__text { background: rgba(45,110,84,0.1); border: 1px solid rgba(45,110,84,0.2); border-radius: 14px 4px 14px 14px; }
.reply-form-card { margin-top: 24px; padding: 20px; background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--r-md); }
.reply-form-card__title { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.reply-form-card .form-control { background: #fff; }
html.admin-dark .msg-bubble__text { background: #1f2a3c; color: #cdd5e0; }
html.admin-dark .msg-bubble--out .msg-bubble__text { background: rgba(45,110,84,0.2); }
html.admin-dark .reply-form-card { background: #1f2a3c; border-color: rgba(255,255,255,0.08); }
html.admin-dark .reply-form-card .form-control { background: #161f2e; }

/* ADMIN DASHBOARD */
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.dash-stat { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.dash-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,22,40,0.08); }
.dash-stat::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--gold); }
.dash-stat--gold::before { background: var(--gold); }
.dash-stat--emerald::before { background: var(--emerald); }
.dash-stat--rust::before { background: #c2410c; }
.dash-stat--ink::before { background: var(--ink); }
.dash-stat--purple::before { background: #7c3aed; }
.dash-stat--teal::before { background: #0d9488; }
.dash-stat__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.dash-stat--gold .dash-stat__icon { background: rgba(201,165,92,0.12); color: var(--gold-deep); }
.dash-stat--emerald .dash-stat__icon { background: rgba(45,110,84,0.12); color: var(--emerald); }
.dash-stat--rust .dash-stat__icon { background: rgba(194,65,12,0.12); color: #c2410c; }
.dash-stat--ink .dash-stat__icon { background: rgba(10,22,40,0.08); color: var(--ink); }
.dash-stat--purple .dash-stat__icon { background: rgba(124,58,237,0.12); color: #7c3aed; }
.dash-stat--teal .dash-stat__icon { background: rgba(13,148,136,0.12); color: #0d9488; }
.dash-stat__body { flex: 1; min-width: 0; }
.dash-stat__num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.dash-stat__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-top: 3px; }
.dash-stat__trend { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; margin-top: 8px; color: var(--muted); font-weight: 600; }
.dash-stat__trend.is-up { color: #16a34a; }
.dash-stat__trend.is-down { color: #dc2626; }

/* Dashboard rows */
.dash-row { display: grid; gap: 24px; margin-bottom: 24px; }
.dash-row--chart { grid-template-columns: 1.5fr 1fr; }
.dash-row--split { grid-template-columns: 1fr 1fr; }
.dash-row--main { grid-template-columns: 2fr 1fr; }

/* Growth chart (CSS-only bar chart) */
.growth-chart { display: flex; align-items: flex-end; justify-content: space-around; height: 220px; padding: 10px 0 0; gap: 8px; }
.growth-chart__bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.growth-chart__bar { width: 100%; max-width: 50px; min-height: 4px; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); border-radius: 6px 6px 0 0; position: relative; transition: opacity .2s; box-shadow: 0 -2px 6px rgba(201,165,92,0.3); }
.growth-chart__bar:hover { opacity: 0.85; }
.growth-chart__bar-value { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--ink); }
.growth-chart__bar-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; }

/* Activity feed */
.activity-feed { display: flex; flex-direction: column; gap: 14px; max-height: 280px; overflow-y: auto; }
.activity-item { display: flex; gap: 12px; align-items: flex-start; }
.activity-item__icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.activity-item__icon--gold { background: rgba(201,165,92,0.15); color: var(--gold-deep); }
.activity-item__icon--emerald { background: rgba(45,110,84,0.15); color: var(--emerald); }
.activity-item__icon--rust { background: rgba(194,65,12,0.15); color: #c2410c; }
.activity-item__body { flex: 1; min-width: 0; }
.activity-item__body p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.activity-item__body span { font-size: 11px; color: var(--muted-light); font-family: var(--font-mono); }

/* Department bars */
.dept-bar { margin-bottom: 14px; }
.dept-bar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.dept-bar__name { color: var(--ink-soft); font-weight: 500; }
.dept-bar__count { font-family: var(--font-mono); font-weight: 700; color: var(--gold-deep); }
.dept-bar__track { height: 8px; background: var(--paper-deep); border-radius: 999px; overflow: hidden; }
.dept-bar__fill { height: 100%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%); border-radius: 999px; transition: width .8s ease-out; }

/* Upcoming events */
.upcoming-event { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.upcoming-event:last-child { border-bottom: none; }
.upcoming-event__date { width: 56px; height: 56px; flex-shrink: 0; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%); color: var(--gold); border-radius: var(--r-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(10,22,40,0.15); }
.upcoming-event__day { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.upcoming-event__month { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.upcoming-event__body { flex: 1; min-width: 0; }
.upcoming-event__body h4 { font-family: var(--font-display); font-size: 15px; margin: 0 0 4px; color: var(--ink); font-weight: 600; }
.upcoming-event__body p { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.upcoming-event__regs { font-size: 11px; color: var(--gold-deep); font-weight: 700; font-family: var(--font-mono); }

/* Top events */
.top-event { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.top-event:last-child { border-bottom: none; }
.top-event__rank { width: 32px; height: 32px; flex-shrink: 0; background: var(--paper-deep); color: var(--gold-deep); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.top-event:nth-child(1) .top-event__rank { background: linear-gradient(135deg, #ffd700, #c9a55c); color: var(--ink); }
.top-event:nth-child(2) .top-event__rank { background: linear-gradient(135deg, #c0c0c0, #9ca3af); color: var(--ink); }
.top-event:nth-child(3) .top-event__rank { background: linear-gradient(135deg, #cd7f32, #b45309); color: #fff; }
.top-event__body { flex: 1; min-width: 0; }
.top-event__body h4 { font-family: var(--font-display); font-size: 14px; margin: 0 0 2px; color: var(--ink); font-weight: 600; }
.top-event__body p { font-size: 11px; color: var(--muted); margin: 0; }
.top-event__count { text-align: center; }
.top-event__count strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--gold-deep); font-weight: 700; line-height: 1; }
.top-event__count span { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: 1px; }

/* Dark mode */
html.admin-dark .dash-stat { background: #161f2e; border-color: rgba(255,255,255,0.07); }
html.admin-dark .dash-stat__num { color: #e4e8ee; }
html.admin-dark .dept-bar__name { color: #cdd5e0; }
html.admin-dark .dept-bar__track { background: #1f2a3c; }
html.admin-dark .upcoming-event__body h4, html.admin-dark .top-event__body h4 { color: #e4e8ee; }
html.admin-dark .activity-item__body p { color: #cdd5e0; }
html.admin-dark .growth-chart__bar-value { color: #e4e8ee; }

@media (max-width: 1199px) {
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-row--chart, .dash-row--split, .dash-row--main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .dash-stats { grid-template-columns: 1fr; }
    .dash-stat__num { font-size: 24px; }
    .growth-chart { height: 160px; }
}

/* SMS PANEL, ADMIN ALERTS & TRANSACTION DROPDOWN */
/* --- Sidebar: "low balance" dot + Super Admin tag --- */
.admin-nav__dot {
    width: 8px; height: 8px; border-radius: 50%; background: #e0a800;
    margin-left: auto; box-shadow: 0 0 0 3px rgba(224,168,0,0.25);
    animation: ppiSmsPulse 1.6s ease-in-out infinite;
}
@keyframes ppiSmsPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .admin-nav__dot { animation: none; } }
.admin-nav__tag {
    margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; padding: 3px 7px; border-radius: 999px;
    background: rgba(201,165,92,0.22); color: var(--gold);
    border: 1px solid rgba(201,165,92,0.45);
}
.admin-nav__item.active .admin-nav__tag { background: rgba(10,22,40,0.14); color: var(--ink); border-color: rgba(10,22,40,0.25); }

/* --- Topbar bell when SMS credits are running out --- */
.admin-topbar__btn--alert { position: relative; background: rgba(201,165,92,0.18); color: var(--gold-deep); }
.admin-topbar__badge {
    position: absolute; top: -5px; right: -8px; min-width: 20px; height: 18px;
    padding: 0 5px; border-radius: 999px; background: #b4452f; color: #fff;
    font-size: 10px; font-weight: 800; line-height: 18px; text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* --- SMS balance hero card --- */
.sms-balance {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    padding: 22px 26px; border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    color: #fff; border: 1px solid rgba(201,165,92,0.35);
}
.sms-balance--low { border-color: #b4452f; background: linear-gradient(135deg, #3a1410 0%, #2a1a24 100%); }
.sms-balance__icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex;
    align-items: center; justify-content: center; font-size: 24px;
    background: rgba(201,165,92,0.18); color: var(--gold); flex: none;
}
.sms-balance--low .sms-balance__icon { background: rgba(255,255,255,0.10); color: #ffb4a2; }
.sms-balance__num { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--gold); }
.sms-balance--low .sms-balance__num { color: #ffb4a2; }
.sms-balance__label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 6px; }
.sms-balance__meta { margin-left: auto; text-align: right; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.sms-balance__meta strong { color: #fff; }
@media (max-width: 640px) { .sms-balance__meta { margin-left: 0; text-align: left; width: 100%; } }

/* --- SMS status pills --- */
.sms-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.sms-pill--sent    { background: rgba(45,110,84,0.14); color: var(--emerald); }
.sms-pill--failed  { background: rgba(214,56,56,0.12); color: #8c1f1f; }
.sms-pill--skipped { background: rgba(10,22,40,0.08); color: var(--muted); }

.sms-msg { max-width: 380px; font-size: 12.5px; line-height: 1.55; color: var(--muted); white-space: pre-wrap; word-break: break-word; }

/* --- Long values (Transaction ID) collapsed behind a click --- */
.cell-expand { max-width: 190px; }
.cell-expand__btn {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    background: rgba(10,22,40,0.05); border: 1px solid var(--line-strong);
    border-radius: 6px; padding: 4px 8px; cursor: pointer;
    font-family: var(--font-mono), monospace; font-size: 12px; color: var(--ink);
    text-align: left; line-height: 1.4;
}
.cell-expand__btn:hover { background: rgba(201,165,92,0.14); border-color: var(--gold); }
.cell-expand__btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-expand__btn i { font-size: 10px; color: var(--gold-deep); flex: none; transition: transform .2s; }
.cell-expand.is-open .cell-expand__btn i { transform: rotate(180deg); }
.cell-expand__panel {
    /* Stays in normal flow rather than floating: .table-responsive scrolls
       horizontally, which would clip an absolutely-positioned dropdown.
       Kept deliberately compact so an open row grows by very little.
       No `pre-wrap` here — the template's own indentation would show up. */
    display: none; margin-top: 6px; padding: 8px 10px;
    background: var(--paper-deep); border: 1px solid var(--line-strong);
    border-left: 3px solid var(--gold); border-radius: 8px;
    font-family: var(--font-mono), monospace; font-size: 12px; line-height: 1.45;
    color: var(--ink); white-space: normal; word-break: break-all;
    min-width: 220px; max-width: 320px;
}
.cell-expand.is-open .cell-expand__panel { display: block; }
.cell-expand__row { display: block; white-space: normal; }
.cell-expand__row + .cell-expand__row { margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--line-strong); }
.cell-expand__key { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-bottom: 0; line-height: 1.5; }
.cell-expand__copy {
    margin-top: 7px; display: inline-flex; align-items: center; gap: 6px;
    background: var(--ink); color: var(--gold); border: none; border-radius: 6px;
    padding: 5px 11px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.cell-expand__copy.is-copied { background: var(--emerald); color: #fff; }
html.admin-dark .cell-expand__btn { background: rgba(255,255,255,0.06); color: #e8edf5; border-color: rgba(255,255,255,0.14); }
html.admin-dark .cell-expand__panel { background: #16202f; color: #e8edf5; border-color: rgba(255,255,255,0.14); }

/* SMS SALES — the Super Admin's pool ledger */
.pool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pool-tile {
    padding: 14px 16px; border-radius: 10px;
    background: var(--paper-deep); border: 1px solid var(--line);
}
.pool-tile span {
    display: block; font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin-bottom: 6px;
}
.pool-tile strong {
    display: block; font-family: var(--font-display), Georgia, serif;
    font-size: 27px; font-weight: 700; line-height: 1; color: var(--ink);
}
.pool-tile em { display: block; font-style: normal; font-size: 11px; color: var(--muted-light); margin-top: 5px; }
.pool-tile--gold { background: rgba(201,165,92,0.13); border-color: rgba(201,165,92,0.45); }
.pool-tile--gold strong { color: var(--gold-deep); }
html.admin-dark .pool-tile { background: #16202f; border-color: rgba(255,255,255,0.10); }
html.admin-dark .pool-tile strong { color: #e8edf5; }
html.admin-dark .pool-tile--gold strong { color: var(--gold); }

.pool-money {
    display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
    margin-top: 14px; padding: 12px 16px; border-radius: 10px;
    background: rgba(10,22,40,0.04); border: 1px dashed var(--line-strong);
    font-size: 13px; color: var(--muted);
}
.pool-money strong { color: var(--ink); font-family: var(--font-mono), monospace; }
.pool-money__ok strong { color: var(--emerald); }
.pool-money__due strong { color: #b4452f; }
html.admin-dark .pool-money { background: rgba(255,255,255,0.05); }
html.admin-dark .pool-money strong { color: #e8edf5; }

.pool-preview {
    margin: 4px 0 6px; padding: 11px 15px; border-radius: 9px;
    background: rgba(201,165,92,0.12); border: 1px solid rgba(201,165,92,0.4);
    font-size: 14px; font-weight: 600; color: var(--gold-deep);
}
.pool-preview[hidden] { display: none; }

/* Admin: two-column event form */
.event-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
/* Sticky only has travel while the settings column is shorter than the content
   column — true on Create, and on Edit once the description is long. It costs
   nothing when there is no travel. */
.event-form__side { position: sticky; top: 88px; }

.event-form__thumb {
    /* Capped: the main column is wide, and an uncapped 16:9 preview filled
       most of the screen with the current picture. */
    max-width: 420px; margin-bottom: 14px; border-radius: var(--r-sm); overflow: hidden;
    border: 1px solid var(--line); background: var(--paper-deep);
}
.event-form__thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.event-form__check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.event-form__check input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--gold-deep); cursor: pointer; }
.event-form__check span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.event-form__check small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.5; }

.event-form__stat {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.event-form__stat span { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.event-form__stat strong { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gold-deep); line-height: 1; }

.event-form__links { display: flex; flex-direction: column; gap: 9px; }
.event-form__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.event-form__links a:hover { color: var(--gold-deep); }
.event-form__links i { color: var(--gold-deep); font-size: 12px; width: 14px; }

.event-form__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Help text under the fields. Was inline `color: var(--muted)`, which admin
   dark mode never redefines — dark navy on a dark navy card. */
.event-form__hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }

html.admin-dark .event-form__check span { color: #e8edf5; }
html.admin-dark .event-form__thumb { background: #16202f; border-color: rgba(255,255,255,0.12); }
html.admin-dark .event-form__links a { color: #cdd5e0; }
html.admin-dark .event-form__hint,
html.admin-dark .event-form__check small,
html.admin-dark .event-form__stat span { color: #93a0b4; }

@media (max-width: 1100px) {
    .event-form { grid-template-columns: 1fr; }
    /* Sticky in a single column would pin the settings over the content. */
    .event-form__side { position: static; }
}

/* Admin: quiet destructive action in a table row */
.reg-delete {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; cursor: pointer;
    background: transparent; border: 1px solid rgba(180,69,47,0.35);
    color: #a33f2b; font-size: 11.5px; font-weight: 600; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}
.reg-delete i { font-size: 11px; }
.reg-delete:hover { background: #b4452f; border-color: #b4452f; color: #fff; }
html.admin-dark .reg-delete { color: #e08a75; border-color: rgba(224,138,117,0.35); }
html.admin-dark .reg-delete:hover { background: #b4452f; border-color: #b4452f; color: #fff; }

/* Quiet row actions, shown side by side under the payment buttons. */
.reg-super-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
/* A real button, not a link with a pen: the outlined version read as
   broken text next to the solid Approve / Decline buttons above it. */
.reg-edit {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; text-decoration: none;
    background: var(--ink); border: 1px solid var(--ink);
    color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(10,22,40,0.12);
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.reg-edit i { font-size: 11px; color: var(--gold); }
.reg-edit:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.reg-edit:hover i { color: var(--ink); }
html.admin-dark .reg-edit { background: var(--gold); border-color: var(--gold); color: var(--ink); }
html.admin-dark .reg-edit i { color: var(--ink); }
html.admin-dark .reg-edit:hover { background: #e4cc94; border-color: #e4cc94; }

/* SHARE LINKS — short addresses on our own domain */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.share-modal[hidden] { display: none !important; }
body.share-modal-open { overflow: hidden; }

.share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, 0.55);
    backdrop-filter: blur(2px);
}

.share-modal__panel {
    position: relative;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--paper, #fff);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 40px rgba(10, 18, 30, 0.28);
}

.share-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line, #e8e4dc);
    position: sticky;
    top: 0;
    background: inherit;
    border-radius: 16px 16px 0 0;
}
.share-modal__head h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.share-modal__head h3 i { color: var(--gold-deep, #9a7b2f); font-size: 14px; }

.share-modal__close {
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--muted, #8a8578);
    padding: 0 4px;
}
.share-modal__close:hover { color: var(--ink, #1d2430); }

.share-modal__body { padding: 18px; }

.share-modal__event {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink, #1d2430);
}

.share-field { margin-bottom: 20px; }
.share-field:last-child { margin-bottom: 0; }

.share-copy { display: flex; gap: 8px; align-items: stretch; }
.share-copy .form-control { flex: 1 1 auto; min-width: 0; font-size: 12px; }
.share-copy .btn { flex: 0 0 auto; white-space: nowrap; }

.share-alias {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line, #e8e4dc);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper, #fff);
}
.share-alias__host {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--muted, #8a8578);
    background: var(--paper-deep, #f6f3ec);
    border-right: 1px solid var(--line, #e8e4dc);
}
.share-alias .form-control {
    border: 0;
    border-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
}
.share-alias .form-control:focus { box-shadow: none; }

.share-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted, #8a8578);
}
.share-hint code {
    background: var(--paper-deep, #f6f3ec);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
}

.share-existing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--line, #e8e4dc);
    border-radius: 8px;
    background: var(--paper-deep, #f6f3ec);
}
.share-existing__url {
    flex: 1 1 200px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    word-break: break-all;
    color: var(--gold-deep, #9a7b2f);
    text-decoration: none;
}
.share-existing__url:hover { text-decoration: underline; }
.share-existing__hits {
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--muted, #8a8578);
    white-space: nowrap;
}

.share-manage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    color: var(--muted, #8a8578);
}
.share-manage:hover { color: var(--gold-deep, #9a7b2f); }

.share-note {
    margin-top: 3px;
    font-size: 11px;
    color: var(--muted, #8a8578);
}

.share-target { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share-target__url {
    font-size: 11px;
    color: var(--muted, #8a8578);
    word-break: break-all;
}

.sl-edit-row > td { background: var(--paper-deep, #f6f3ec); }
.sl-edit-form { padding: 14px 4px 6px; }

html.admin-dark .share-modal__panel { background: #111a26; }
html.admin-dark .share-modal__head { border-color: rgba(255,255,255,0.10); }
html.admin-dark .share-modal__event { color: #e8edf5; }
html.admin-dark .share-alias,
html.admin-dark .share-existing { border-color: rgba(255,255,255,0.12); }
html.admin-dark .share-alias__host,
html.admin-dark .share-existing,
html.admin-dark .sl-edit-row > td { background: #16202f; color: #b9c2cf; }
html.admin-dark .share-hint code { background: #16202f; }

@media (min-width: 720px) {
    .share-modal { align-items: center; }
    .share-modal__panel {
        width: min(560px, calc(100% - 40px));
        max-height: 86vh;
        border-radius: 14px;
    }
    .share-modal__head { border-radius: 14px 14px 0 0; }
    .share-modal__body { padding: 22px 24px 26px; }
}

/* Admin: send this SMS again */
.reg-resend {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; cursor: pointer;
    background: transparent; border: 1px solid rgba(45,110,84,0.35);
    color: #2d6e54; font-size: 11.5px; font-weight: 600; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}
.reg-resend i { font-size: 11px; }
.reg-resend:hover { background: #2d6e54; border-color: #2d6e54; color: #fff; }
html.admin-dark .reg-resend { color: #7fcaa8; border-color: rgba(127,202,168,0.35); }
html.admin-dark .reg-resend:hover { background: #2d6e54; border-color: #2d6e54; color: #fff; }

/* Admin responsive (carried over from the old 1023px / 767px queries) */
@media (max-width: 1023px) {
    .admin-wrapper { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: -280px; top: 0; bottom: 0; width: 280px; z-index: 200; transition: left .3s; }
    .admin-sidebar.is-open { left: 0; }
    .admin-toggle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--paper-deep); border: none; border-radius: var(--r-sm); margin-right: 10px; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .admin-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .admin-stat { padding: 16px; flex-direction: column; align-items: flex-start; }
    .admin-content { padding: 20px 16px; }
    .admin-topbar { padding: 12px 16px; }
    .admin-topbar__title h1 { font-size: 18px; }
    .admin-topbar__user-name { display: none; }
    .admin-card__head { padding: 16px; flex-direction: column; align-items: stretch; }
    .admin-card__search input { min-width: auto; width: 100%; }
}


/* --------------------------------------------------------------------------
   12. RESPONSIVE — all public media queries, kept together at the very end.
   Base rules must never be appended below this block.
   -------------------------------------------------------------------------- */

/* ---- Motion: only for visitors who have not asked for reduced motion ------ */
@media (prefers-reduced-motion: no-preference) {
    .btn--reunion-blink { animation: ppiReunionBlink 1.6s ease-in-out infinite; }
    .reunion-banner__live { animation: ppiReunionPulse 1.8s ease-in-out infinite; }
    .next-event__dot, .hero__visual-tag i, .status-chip--pending::before { animation: ppiNextPulse 1.6s ease-in-out infinite; }
    .dev-credit::before { animation: devCreditDot 2.2s ease-in-out infinite; }
    .dept-marquee__track { animation: ppiMarquee 60s linear infinite; }
    .hero::before, .next-event::before, .cta-banner__inner::before { animation: ppiAurora 18s ease-in-out infinite; }
}

/* ---- Reduced motion: no animation, no hover lifts, marquee becomes a row --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .btn--reunion-blink, .reunion-banner__live, .next-event__dot, .dev-credit::before, .hero__visual-tag i, .status-chip--pending::before, .hero::before, .next-event::before { animation: none !important; }
    .btn:hover, .event-card:hover, .blog-card:hover, .member-card:hover, .responsibility-card:hover, .value-card:hover, .job-card-lg:hover, .event-row:hover, .reunion-banner:hover, .reg-card:hover, .stat-card:hover, .howto-step:hover, .howto-step:hover .howto-step__icon { transform: none; }
    .campus-mosaic__item:hover img { transform: none; }
    /* The marquee stops and becomes a plain, scrollable row of names. */
    .dept-marquee__track { animation: none !important; transform: none !important; }
    .dept-marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .dept-marquee__group[aria-hidden="true"] { display: none; }
}

/* ---- ≤ 1199px : large tablets / small laptops -------------------------- */
@media (max-width: 1199px) {
    /* Compact desktop header so nine links, the brand and the CTA share 1024px. */
    .site-header .container { gap: 12px; }
    .brand { gap: 10px; }
    .brand__mark--img { width: 46px; height: 46px; }
    .brand__name { font-size: 19px; }
    .brand__tag { font-size: 8px; letter-spacing: 0.06em; }
    .main-nav ul { gap: 0; }
    .main-nav a { padding: 0 8px; font-size: 13.5px; }
    .main-nav a::after { left: 8px; right: 8px; }
    .main-nav a.main-nav__pc { padding-right: 12px; }
    .nav-new { right: -6px; }
    .btn--header { min-height: 42px; padding: 0 14px; font-size: 12.5px; gap: 8px; }
    .hero__inner { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
    .hero__visual { max-width: none; }
    .next-event__shell { padding: 40px; }
    .next-event__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
    .event-row { grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 22px; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
    .footer-col--contact { grid-column: 1 / -1; }
    .footer-contact { display: flex; flex-wrap: wrap; gap: 26px; }
    .footer-contact li { margin-bottom: 0; }
    .mission__grid, .about-story__grid { gap: 56px; }
    .pc-promo__grid { gap: 48px; }
    .stats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
    .campus-mosaic { grid-template-rows: 220px 220px; }
}

/* ---- 1024–1199px : the hero's right column is narrow --------------------- */
@media (max-width: 1199px) and (min-width: 1024px) {
    .reunion-banner__body { padding: 20px 20px 18px; }
    .reunion-banner__kicker { white-space: normal; }
    .reg-card { grid-template-columns: 70px minmax(0, 1fr); }
    .reg-card__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .reg-card__actions .btn { flex: 1 1 auto; }
}

/* ---- ≤ 1023px : tablets — drawer navigation, 84px sections ---------------- */
@media (max-width: 1023px) {
    :root { --section-y: 84px; --gutter: 20px; --header-h: 72px; }
    .topbar { display: none; }
    .site-header .container { padding-top: 13px; padding-bottom: 12px; gap: 14px; }
    .brand__mark--img { width: 48px; height: 48px; }
    .site-header.scrolled .brand__mark--img { width: 42px; height: 42px; }
    .nav-toggle { display: flex; }
    .btn--header { min-height: 42px; padding: 0 16px; font-size: 13px; }

    /* Mobile drawer: full height, white with a royal gradient crown, big tap targets, CTA at the bottom. */
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
        width: min(400px, 88vw); height: 100dvh;
        display: flex; flex-direction: column; align-items: stretch;
        padding: 22px 26px 28px; overflow-y: auto; overscroll-behavior: contain;
        background: #fff; color: var(--ink);
        box-shadow: -24px 0 70px rgba(11, 31, 75, 0.35); border-left: 1px solid var(--line);
        transform: translateX(104%); visibility: hidden;
        transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
    }
    .main-nav::before {
        content: ''; position: absolute; left: 0; right: 0; top: 0; height: 220px; pointer-events: none;
        background: radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.22), transparent 55%), radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.18), transparent 55%), var(--pattern-dots);
        -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
    }
    .main-nav::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-hair); }
    .main-nav.is-open { transform: none; visibility: visible; }
    .main-nav > * { position: relative; z-index: 1; }
    .main-nav ul { flex-direction: column; gap: 0; width: 100%; margin-top: 52px; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a {
        display: flex; align-items: center; justify-content: space-between; width: 100%;
        min-height: 56px; padding: 0 4px; border-radius: 0;
        font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em;
    }
    .main-nav a::after { content: '\203A'; position: static; width: auto; height: auto; background: none; transform: none; font-family: var(--font-body); font-size: 22px; color: var(--blue); line-height: 1; transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast); }
    .main-nav a:hover { color: var(--blue-800); }
    .main-nav a:hover::after { transform: translateX(3px); color: var(--blue-800); }
    .main-nav a.active { color: var(--blue); font-weight: 800; }
    .main-nav a.active::after { transform: none; color: var(--blue); }
    .main-nav a.main-nav__pc { justify-content: flex-start; padding-right: 4px; }
    .main-nav a.main-nav__pc::after { margin-left: auto; }
    .main-nav a .nav-new { position: static; margin-left: 12px; font-size: 9px; padding: 3px 8px; }
    .main-nav__close {
        display: flex; position: absolute; top: 18px; right: 20px; z-index: 2;
        width: 46px; height: 46px; align-items: center; justify-content: center;
        background: #fff; border: 1px solid var(--line-strong); border-radius: 12px;
        color: var(--ink); font-size: 18px; transition: background var(--dur-fast), border-color var(--dur-fast);
    }
    .main-nav__close:hover { background: var(--sky-50); border-color: var(--blue); }
    .main-nav__mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 28px; }
    .main-nav__mobile-actions a.btn, .main-nav__mobile-actions button.btn { font-family: var(--font-body); font-size: 15px; font-weight: 700; min-height: 52px; padding: 0 22px; border-radius: 14px; width: 100%; justify-content: center; letter-spacing: 0.01em; }
    .main-nav__mobile-actions a.btn::after, .main-nav__mobile-actions button.btn::after { content: none; }
    .main-nav__mobile-actions a.btn--gold { color: var(--navy); box-shadow: var(--shadow-gold); }
    .main-nav__mobile-actions a.btn--primary { color: #fff; }
    .main-nav__mobile-actions a.btn--ghost, .main-nav__mobile-actions button.btn--ghost { color: var(--ink-soft); border-color: var(--line-strong); background: #fff; }
    .main-nav__mobile-actions form { width: 100%; }
    .main-nav__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
    .main-nav__foot a { display: inline-flex; width: auto; justify-content: flex-start; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border-radius: var(--r-pill); border: 1px solid var(--line-blue); background: var(--sky-50); color: var(--blue-800); font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; }
    .main-nav__foot a::after { content: none; }
    .main-nav__foot a i { color: var(--blue); font-size: 11px; }
    .main-nav__foot-label { width: 100%; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--blue-800); }

    /* Hero stacks: copy first, the ticket below */
    .hero { padding: 56px 0 108px; }
    .hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .hero__content { max-width: 660px; }
    .hero__visual { width: 100%; max-width: 640px; margin-left: 0; }

    /* Page header (the photo / scrim for this width: see v16-pages) */
    .page-header { padding: 64px 0 58px; }
    .page-header--sm { padding: 48px 0 44px; }
    .page-header__content { max-width: 560px; }
    .event-detail-hero { padding: 72px 0 60px; }

    /* Two-column layouts collapse */
    .mission__grid, .about-story__grid, .event-detail-grid, .blog-detail-grid, .event-register-grid, .job-detail-grid, .contact-grid, .profile-grid, .cta-banner__inner, .dashboard-grid, .pc-promo__grid { grid-template-columns: 1fr; gap: 40px; }
    .event-detail-sidebar, .blog-sidebar, .event-register-summary, .job-detail-sidebar, .profile-card, .dashboard-sidebar { position: static; }
    .about-story__grid { gap: 56px; }
    .about-story__visual { max-width: 460px; margin: 0 auto; }
    .mission__visual { max-width: 640px; }
    .cta-banner__inner { text-align: center; padding: 48px 32px; }
    .cta-banner__inner .section-eyebrow { justify-content: center; }
    .cta-banner__actions { align-items: center; }
    .values-grid, .leader-grid, .responsibility-grid, .event-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-item:nth-child(3) { border-left: none; }
    .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }

    /* Next event */
    .next-event { padding: 72px 0; }
    .next-event__shell { padding: 36px 32px; }
    .next-event__grid { grid-template-columns: 1fr; gap: 32px; }
    .next-event__panel { max-width: none; }

    /* Photo card promo */
    .pc-promo__visual { max-width: 460px; margin: 0 auto; width: 100%; }

    /* Event rows */
    .event-row { grid-template-columns: 220px minmax(0, 1fr); }
    .event-row__action { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; padding-left: 0; padding-top: 18px; border-left: none; border-top: 1px solid var(--line); justify-content: space-between; align-items: center; gap: 12px; }
    .event-row__action > div:not(.event-row__seats) { display: flex; align-items: center; gap: 10px; }
    .event-row__price { font-size: 28px; }
    .event-row__price-label { margin: 0; text-align: left; }
    .event-row__action .btn { flex: 1 1 auto; }

    /* Member area */
    .member-hero { padding: 44px 0 100px; }
    .member-hero__bg { width: 70%; }
    .member-hero__inner { grid-template-columns: 1fr; gap: 22px; }
    .member-hero__actions { justify-content: flex-start; }
    .dashboard-grid { gap: 24px; }
    .member-hero + .dashboard-section .dashboard-grid { margin-top: -56px; }
    .dashboard-sidebar { padding: 8px; }
    .dashboard-nav { flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .dashboard-nav::-webkit-scrollbar { display: none; }
    .dashboard-nav__label, .dashboard-help, .dashboard-sidebar .dashboard-user { display: none; }
    .dashboard-nav__item { width: auto; flex: none; white-space: nowrap; min-height: 42px; padding: 8px 14px; }
    .stats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-cards { grid-template-columns: 1fr; }
    .reg-card { grid-template-columns: 70px minmax(0, 1fr); }
    .reg-card__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .reg-card__actions .btn { flex: 1 1 auto; }

    /* Gallery */
    .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .album-photo:nth-child(8n + 1), .album-photo:nth-child(8n + 6) { grid-column: span 1; grid-row: span 1; }
    .album-photo:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; }
    .campus-mosaic { grid-template-rows: 200px 200px; gap: 12px; }

    /* Auth: photo band on top, form below */
    .auth-grid { grid-template-columns: 1fr; min-height: auto; max-width: 720px; }
    .auth-visual { padding: 150px 28px 28px; min-height: 0; }
    .auth-grid--register .auth-visual { align-items: flex-end; }
    .auth-grid--register .auth-visual__bg { bottom: 0; height: auto; }
    .auth-grid--register .auth-visual__content { position: relative; top: auto; margin-top: 0; }
    .auth-visual__title { margin-bottom: 0; font-size: var(--d-3); }
    .auth-visual__text, .auth-features, .auth-stats, .auth-quote { display: none; }
    .auth-visual__badge { margin-bottom: 12px; }
    .auth-visual__content { padding: 22px 24px; }
    .auth-form-wrap { padding: 40px 32px; }
    .auth-back { margin-bottom: 18px; }

    /* Filters */
    .directory-filter__form, .jobs-filter__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .directory-filter__field--search, .jobs-filter__field--search { grid-column: 1 / -1; }

    /* Footer */
    /* (newsletter card + seam: see the v15-home block at the end) */
    .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-top: 56px; }
    .footer-col--brand { grid-column: 1 / -1; }
}

/* ---- ≤ 767px : phones — 64px sections, single column ---------------------- */
@media (max-width: 767px) {
    :root { --section-y: 64px; --gutter: 16px; --header-h: 68px; }
    .section-head { margin-bottom: 32px; }
    .section-head--row { align-items: flex-start; flex-direction: column; gap: 14px; }
    .section-head--row .btn { align-self: flex-start; }
    .section-title { font-size: clamp(1.85rem, 1.3rem + 3vw, 2.4rem); }
    .ornament::before, .ornament::after { flex-basis: 80px; }

    /* Hero */
    .hero { padding: 40px 0 88px; }
    .hero::after { height: 44px; }
    .hero__eyebrow { font-size: 11px; gap: 8px; padding: 6px 12px 6px 7px; }
    .hero__title { font-size: clamp(2.3rem, 1.5rem + 4.6vw, 3rem); margin: 18px 0; }
    .hero__lead { font-size: 16px; margin-bottom: 26px; }
    .hero__actions { flex-direction: column; align-items: stretch; margin-bottom: 28px; }
    .hero__actions .btn { justify-content: center; }
    .hero__stats { gap: 8px; }
    .hero__stats > li, .hero__stats > div { padding: 7px 12px 7px 7px; gap: 8px; }
    .hero__stat-icon { width: 26px; height: 26px; font-size: 11px; }
    .hero__stat-num { font-size: 15px; }
    .hero__stat-plus { font-size: 13px; }
    .hero__stat-label { font-size: 12px; }
    .hero__visual { padding-top: 26px; }
    .hero__visual-tag { top: 6px; left: 14px; padding: 7px 12px; font-size: 10px; }
    .hero__seal { top: -2px; right: -4px; width: 72px; height: 72px; font-size: 20px; }
    .hero__seal small { font-size: 8px; margin-bottom: 2px; }

    /* Reunion ticket */
    .reunion-banner { border-radius: 22px; margin-top: 16px; }
    .reunion-banner__body { gap: 14px; padding: 20px 16px 16px; grid-template-columns: 56px minmax(0, 1fr); }
    .reunion-banner__crest { width: 56px; height: 56px; }
    .reunion-banner__crest img { width: 44px; height: 44px; }
    .reunion-banner__title { font-size: 1.4rem; }
    .reunion-banner__strip { padding: 9px 78px 9px 16px; font-size: 10px; letter-spacing: 0.14em; }
    .reunion-banner__strip-end { letter-spacing: 0.08em; }
    .reunion-banner__foot { padding: 10px 16px 14px; gap: 8px 14px; font-size: 11.5px; }

    /* Marquee */
    .dept-marquee__label { padding: 0 14px 0 16px; }
    .dept-marquee__group li { font-size: 13.5px; padding: 8px 14px 8px 12px; }

    /* Page header (the photo / scrim for this width: see v16-pages) */
    .page-header { padding: 48px 0 44px; }
    .page-header--sm { padding: 40px 0 36px; }
    .event-detail-hero { padding: 52px 0 44px; }
    .page-header__sub, .page-header__lede { font-size: 15.5px; }
    .breadcrumb { font-size: 10.5px; gap: 8px; padding: 6px 12px; }
    .event-detail-hero__meta { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; }

    /* Grids → one column */
    .values-grid, .leader-grid, .responsibility-grid, .event-grid, .blog-grid, .stats-cards { grid-template-columns: 1fr; }
    .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .member-card__body { padding: 12px 14px 18px; }
    .member-card__name { font-size: 17px; }
    .about-stats { gap: 0; padding: 20px 0; }
    .about-stats > div { padding: 0 12px; }
    .about-stat__num { font-size: 30px; }
    .about-story__visual { padding: 0 0 22px 16px; }
    .about-story__badge { padding: 14px 18px; }
    .about-story__badge-num { font-size: 34px; }

    /* Stats card */
    .stats__grid { padding: 6px; border-radius: 22px; }
    .stat-item { padding: 22px 10px 20px; }
    .stat-item__icon { width: 40px; height: 40px; margin-bottom: 12px; font-size: 15px; border-radius: 13px; }
    .stat-item__num { font-size: 2.4rem; }
    .stat-item__label { font-size: 10px; letter-spacing: 0.12em; }

    /* Mission */
    .mission__features li { gap: 14px; padding: 16px 0; }
    .mission__visual { box-shadow: 12px 12px 0 -1px var(--sky-50), 12px 12px 0 0 rgba(37, 99, 235, 0.35), var(--shadow-lg); border-radius: 22px; }
    .mission__visual-caption { left: 20px; bottom: 18px; font-size: 18px; }

    /* Next event */
    .next-event { padding: 56px 0; }
    .next-event__shell { padding: 26px 18px 22px; border-radius: 22px; }
    .next-event__panel { padding: 20px 14px 16px; }
    .next-event__meta li { font-size: 13.5px; padding: 7px 12px; }
    .countdown { gap: 8px; }
    .countdown__num { font-size: 32px; }
    .countdown__item { padding: 14px 4px 12px; border-radius: 13px; }
    .countdown__label { font-size: 9px; letter-spacing: 0.12em; }
    .next-event__cta .btn { flex: 1 1 100%; justify-content: center; }
    .next-event-cta { flex-direction: column; }
    .next-event-cta .btn { width: 100%; justify-content: center; }
    .reg-live-pill { font-size: 11px; }

    /* (How to register: see the v15-home block at the end) */

    /* Photo card promo */
    .pc-promo { padding-bottom: 40px; }
    .pc-promo__list { margin: 24px 0 28px; }
    .pc-promo__actions .btn { width: 100%; }
    .pc-promo__note { max-width: none; }
    .pc-promo__visual { max-width: 340px; padding: 16px 0; }
    .pc-promo__badge { font-size: 11px; padding: 7px 11px; }
    .pc-promo__badge--a { left: -6px; }
    .pc-promo__badge--b { right: -6px; }

    /* Campus mosaic */
    .campus-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 230px 150px 150px; grid-template-areas: "a a" "b b" "c d"; gap: 10px; }
    .campus-mosaic__item { border-radius: 16px; }
    .campus-mosaic__item figcaption { left: 10px; bottom: 10px; font-size: 12.5px; padding: 6px 11px; }

    /* Scholarship */
    /* (Scholarship: see the v15-home block at the end) */

    /* Event rows */
    .event-row { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
    .event-row__media { aspect-ratio: 16 / 9; }
    .event-row__info { grid-template-columns: 1fr; gap: 10px; }
    .event-row__body h3 { font-size: 22px; }
    .event-row__action { flex-direction: column; align-items: stretch; }
    .event-row__action > div:not(.event-row__seats) { justify-content: center; }
    .event-row__action .btn { width: 100%; justify-content: center; }
    .event-row__seats { justify-content: space-between; }

    /* Cards */
    .event-card__body, .blog-card__body { padding: 20px 18px 18px; }
    .event-card__title, .blog-card__title { font-size: 19px; }
    .responsibility-card, .value-card { padding: 28px 22px 26px; }

    /* Forms */
    .form-card { padding: 26px 18px; }
    .form-card__title { font-size: 24px; }
    .form-row--2 { grid-template-columns: 1fr; }
    .form-section-title { font-size: 18px; margin-top: 26px; }
    .form-step { padding-left: 0; }
    .form-step::before { display: none; }
    .form-step .form-section-title { margin-left: 0; }
    .form-submit { flex-direction: column; }
    .form-submit .btn { width: 100%; }
    .radio-group--inline { display: flex; max-width: none; }
    .photo-upload { flex-direction: column; text-align: center; }
    .auth-visual { padding: 120px 16px 16px; }
    .auth-visual__content { padding: 18px; border-radius: 18px; }
    .auth-form-wrap { padding: 32px 20px; }
    .auth-grid { border-radius: 22px; }
    .auth-wrapper { padding: 24px 0; }

    /* Profile rows */
    .profile-info-row { grid-template-columns: 1fr; gap: 4px; }
    .profile-card { padding: 28px 20px; }
    .profile-section-card { padding: 24px 18px; }

    /* Gallery */
    .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
    .album-photo:nth-child(6n + 1), .album-photo:nth-child(8n + 1), .album-photo:nth-child(8n + 6) { grid-column: span 1; grid-row: span 1; }
    .album-photo:nth-child(5n + 1) { grid-column: span 2; }
    .album-head h2 { font-size: 22px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
    .gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 1; grid-row: span 1; }
    .gallery-filter__btn { padding: 8px 16px; font-size: 12px; }
    .lightbox__caption { padding: 0 20px; font-size: 17px; bottom: 20px; }
    .lightbox__nav { width: 42px; height: 42px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
    .lightbox__count { top: 28px; left: 16px; }
    .lightbox__play { top: 20px; }

    /* Filters */
    .directory-filter__form, .jobs-filter__form { grid-template-columns: 1fr; }
    .directory-filter, .jobs-filter { padding: 12px; }

    /* Event detail */
    .event-detail-content, .blog-detail-content, .job-detail-content, .job-detail-header { padding: 24px 18px; }
    .blog-detail-content__media { margin: -24px -18px 24px; }
    .event-sidebar-card, .job-sidebar-card { padding: 24px 18px; }
    .event-sidebar-card__header h3 { font-size: 36px; }
    .event-summary-card__body { padding: 20px 18px; }
    .blog-detail-hero { padding: 44px 0 28px; }
    .sidebar-widget { padding: 22px 18px; }

    /* Jobs */
    .job-card-lg { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
    .job-card-lg__logo { width: 60px; height: 60px; font-size: 24px; border-radius: 16px; }
    .job-card-lg__title { font-size: 20px; }
    .job-detail-header { flex-direction: column; text-align: center; }
    .job-detail-header__info h2 { font-size: 24px; }

    /* Tables */
    .data-table { font-size: 12px; min-width: 600px; }
    .data-table th, .data-table td { padding: 10px 12px; }

    /* Member area */
    .member-hero { padding: 36px 0 88px; }
    .member-hero__bg { width: 100%; }
    .member-hero__bg img { opacity: 0.28; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, transparent 100%); }
    .member-hero__id { flex-direction: column; align-items: flex-start; gap: 16px; }
    .member-hero__avatar { width: 88px; height: 88px; font-size: 36px; }
    .member-hero__name { font-size: 2.1rem; margin: 8px 0 12px; }
    .member-chip { font-size: 12.5px; padding: 6px 11px; }
    .member-hero__actions .btn { flex: 1 1 auto; }
    .member-hero + .dashboard-section .dashboard-grid { margin-top: -48px; }
    .dashboard-main { gap: 22px; }
    .stats-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .stat-card { padding: 14px; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
    .stat-card__num { font-size: 24px; }
    .dashboard-card__head { padding: 16px 18px; }
    .dashboard-card__body { padding: 14px 18px 20px; }
    .dash-block__title { font-size: 24px; }
    .reg-card { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 16px 16px 16px 18px; }
    .reg-card__date { padding: 8px 0 7px; border-radius: 13px; }
    .reg-card__day { font-size: 24px; }
    .reg-card__title { font-size: 18px; }
    .reg-card__actions .btn { flex: 1 1 100%; }
    .form-panel__head { padding: 16px 18px; gap: 12px; }
    .form-panel__icon { width: 40px; height: 40px; font-size: 15px; border-radius: 12px; }
    .form-panel__title { font-size: 18px; }
    .form-panel__body { padding: 20px 18px 6px; }
    .form-savebar { bottom: 10px; padding: 12px; }
    .form-savebar__text { display: none; }
    .form-savebar__actions { width: 100%; }
    .form-savebar__actions .btn { flex: 1 1 auto; }

    /* Contact */
    .contact-grid { gap: 40px; }
    .contact-info-list li { padding: 16px; gap: 14px; }
    .contact-info-list__icon { width: 46px; height: 46px; font-size: 16px; border-radius: 12px; }
    .map-wrap iframe { height: 320px; }

    /* CTA banners */
    .cta-banner__inner { padding: 40px 22px; border-radius: 22px; }

    /* Footer */
    .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 48px 0 36px; }
    .footer-col--brand { grid-column: 1 / -1; }
    .footer-about { max-width: none; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
    .footer-copy { justify-content: center; }
    .footer-copy__sep { display: none; }
    .footer-credit { width: 100%; justify-content: center; margin-top: 4px; }
    .footer-bottom ul { justify-content: center; flex-wrap: wrap; gap: 14px 18px; }
    .newsletter-form__done { position: static; margin-top: 8px; }

    /* Buttons on phones */
    .btn--lg { min-height: 52px; padding: 0 24px; font-size: 14.5px; }
    .scroll-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}

/* ---- ≤ 600px : the header CTA becomes a round icon button ------------------
   The client asked for this button to blink on every page; hiding it on
   phones (where most visitors are) defeated that. Label in aria-label/title. */
@media (max-width: 600px) {
    .header-actions .btn--header { display: inline-flex; min-height: 42px; width: 42px; padding: 0; border-radius: 50%; gap: 0; }
    .header-actions .btn--header span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .header-actions .btn--header i { font-size: 15px; }
    .header-actions .btn--header .btn--header__arrow { display: none; }
    .header-actions .btn--header .btn--header__ticket { display: inline-block; }
    .brand__name { font-size: 18px; }
    .brand__tag { font-size: 8.5px; letter-spacing: 0.14em; }
    .brand { gap: 10px; }
}

/* ---- ≤ 480px : small phones ------------------------------------------------ */
@media (max-width: 480px) {
    .member-grid { grid-template-columns: 1fr; }
    .album-grid { grid-auto-rows: 140px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero__stats > li, .hero__stats > div { flex: 1 1 calc(50% - 4px); }
    .reunion-banner__foot span.reunion-banner__phones { flex-basis: 100%; }
    .event-detail-hero__title, .blog-detail-hero__title, .page-header__title { font-size: 2rem; }
    .blog-detail-meta { flex-direction: column; gap: 6px; }
    .dob-group { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .pagination__item > a, .pagination__item > span { min-width: 40px; height: 40px; padding: 0 10px; font-size: 13px; }
    .pagination { gap: 4px; }
    .brand__name { font-size: 17px; }
    .brand__tag { font-size: 8px; }
    .main-nav { width: 100vw; border-left: none; }
    .stats-cards { grid-template-columns: 1fr 1fr; }
    .about-stats { grid-template-columns: 1fr; gap: 14px; }
    .about-stats > div { padding: 0; border-left: 0; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-col--brand, .footer-col--contact { grid-column: auto; }
    .footer-contact { display: block; }
    .footer-contact li { margin-bottom: 16px; }
    .dept-marquee__label span { display: none; }
    .next-event__pc { font-size: 13.5px; }
}

/* ---- Buttons may wrap where clipping would eat the label ------------------
   (.btn--block / .btn--lg wrap everywhere — see COMPONENTS; on a narrow
   phone, any button may.) */
@media (max-width: 480px) {
    .btn { white-space: normal; text-align: center; }
}

/* ==== v15-home — batch 15 home sections (hero, steps, leaderboard, benefits,
   scholarship, newsletter): their media queries go between these markers ==== */
@media (prefers-reduced-motion: no-preference) {
    .howto-steps::after { animation: ppiHowtoTravel 5.5s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .howto-step:hover .howto-step__card, .howto-step:hover .howto-step__badge, .responsibility-card:hover .responsibility-card__icon,
    .responsibility-card--feature:hover .responsibility-card__media img, .newsletter-form button:hover, .newsletter-form button:hover i { transform: none; }
    .howto-steps::after { display: none; }
}

@media (max-width: 1199px) {
    .scholarship-cta__bg img { width: 70%; object-position: 90% 62%; }
    .responsibility-card--feature { min-height: 500px; }
    .footer-cta__inner { grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 0.95fr); gap: 20px 24px; padding: 30px 30px 30px 28px; }
    .footer-cta__art { width: 64px; height: 64px; }
    .footer-cta__envelope { font-size: 24px; border-radius: 20px; }
    .footer-cta__chips { gap: 6px; }
    .footer-cta__chips li { padding: 5px 10px 5px 9px; font-size: 12px; }
}

@media (max-width: 1023px) {
    /* Hero: copy on top, the ticket below — scrim from the top, photo clearer behind the ticket */
    .hero__bg img { object-position: 56% 35%; }
    .hero__bg::before { background: linear-gradient(180deg, rgba(7, 20, 54, 0.92) 0%, rgba(9, 26, 68, 0.86) 40%, rgba(11, 31, 75, 0.56) 64%, rgba(11, 31, 75, 0.4) 84%, rgba(11, 31, 75, 0.6) 100%); }
    .hero__bg::after { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 64%); mask-image: linear-gradient(180deg, #000 0%, #000 44%, transparent 64%); }
    .hero::before { inset: -20% -10% 40% -10%; }
    .hero__visual { max-width: 600px; }
    .hero__place { bottom: 64px; }

    /* How to register: a vertical timeline */
    .howto-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 700px; margin: 0 auto; }
    .howto-steps::before, .howto-steps::after { display: none; }
    .howto-step { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 22px; align-items: start; }
    /* the path: one segment from each badge down to the next one */
    .howto-step:not(:last-child)::before {
        content: ''; position: absolute; z-index: 0; left: 33px; top: 35px; bottom: -55px; width: 4px; border-radius: 4px;
        background: linear-gradient(180deg, #2563eb, #14b8a6);
    }
    .howto-step--green:not(:last-child)::before { background: linear-gradient(180deg, #14b8a6, #fbbf24); }
    .howto-step__card { margin-top: 0; }
    .howto-step__card::before { top: 27px; left: -8px; margin-left: 0; transform: rotate(-45deg); }
    .howto__cta { margin-top: 36px; }

    /* Benefits: the feature card spans the row, the two others side by side */
    .responsibility-card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
    .responsibility-card__body { grid-template-columns: minmax(0, 1fr); padding: 28px 26px 26px; }
    .responsibility-card__body > :not(.responsibility-card__top) { grid-column: 1; }
    .responsibility-card__top { grid-column: 1; grid-row: auto; margin-bottom: 18px; }

    /* Scholarship: the photo clear on top, the card below on the scrim */
    .scholarship-cta { padding: 330px 0 72px; }
    .scholarship-cta__bg img { width: 100%; height: 74%; object-position: 70% 58%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
    .scholarship-cta__bg::after { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 50%); mask-image: linear-gradient(180deg, transparent 30%, #000 50%); }
    .scholarship-cta::before {
        background: linear-gradient(180deg, rgba(11, 31, 75, 0.24) 0%, rgba(11, 31, 75, 0) 16%, rgba(11, 31, 75, 0) 28%, rgba(9, 26, 68, 0.72) 46%, rgba(7, 20, 54, 0.95) 66%),
                    radial-gradient(50% 40% at 90% 70%, rgba(251, 191, 36, 0.14), transparent 70%);
    }
    .scholarship-cta::after { inset: 40% 0 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
    .scholarship-cta__place { top: 24px; bottom: auto; }
    .scholarship-cta__inner { max-width: 640px; margin: 0 auto; }

    /* Newsletter: the envelope beside the copy, the form below the copy */
    .site-footer { --footer-seam: 56px; }
    .footer-cta { padding-top: calc(var(--footer-seam) + 36px); }
    .footer-cta__inner { grid-template-columns: auto minmax(0, 1fr); gap: 22px 24px; padding: 30px 30px 28px 26px; }
    .footer-cta__form { grid-column: 2 / -1; }
    .footer-cta > .container::after { margin-top: 44px; }
    .footer-cta ~ .container .footer-top { padding-top: 48px; }
}

@media (max-width: 767px) {
    /* Hero: readability wins — the photo sits behind a full scrim */
    .hero__bg img { object-position: 58% 40%; }
    .hero__bg::before { background: linear-gradient(180deg, rgba(7, 20, 54, 0.9) 0%, rgba(9, 26, 68, 0.86) 48%, rgba(11, 31, 75, 0.7) 78%, rgba(11, 31, 75, 0.74) 100%); }
    .hero__bg::after { display: none; }   /* the full scrim is enough; skip the blur cost on phones */
    .hero::before { inset: -20% -10%; }
    .hero__place { display: none; }
    /* The ticket strip: the "N days left" pill drops under the label instead of breaking in two */
    .reunion-banner__strip { flex-wrap: wrap; row-gap: 6px; }
    .reunion-banner__strip-end { white-space: nowrap; }

    /* How to register: smaller badges on the left path */
    .howto-steps { gap: 16px; }
    .howto-step:not(:last-child)::before { left: 24px; top: 26px; bottom: -42px; }
    .howto-step { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
    .howto-step__badge { width: 52px; height: 52px; font-size: 17px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--step-line), 0 14px 26px -12px var(--step-glow); }
    .howto-step__badge::after { inset: 4px; }
    .howto-step__card { padding: 22px 18px 16px; border-radius: 20px; }
    .howto-step__card::before { top: 19px; }
    .howto-step__card::after { left: 18px; right: 18px; }
    .howto-step__head { margin-bottom: 14px; }
    .howto-step__icon { width: 46px; height: 46px; font-size: 18px; border-radius: 14px; }
    .howto-step__kicker { font-size: 10px; padding: 4px 10px; }
    .howto-step h3 { font-size: 19px; }
    .howto-step p { font-size: 14.5px; line-height: 1.65; }
    .howto-step__meta { margin-top: 14px; padding-top: 12px; font-size: 12.5px; }
    .howto__cta { margin-top: 28px; padding: 18px 16px 16px; flex-direction: column; align-items: stretch; border-radius: 20px; }
    .howto__cta-text { flex: 0 0 auto; font-size: 14.5px; align-items: flex-start; }
    .howto__cta-icon { width: 40px; height: 40px; font-size: 15px; border-radius: 12px; }
    .howto__cta-actions { flex-direction: column; }
    .howto__cta-actions .btn { width: 100%; }

    /* Benefits: one column */
    .responsibility-grid { gap: 16px; }
    .responsibility-card, .responsibility-card--feature { padding: 0; border-radius: 22px; }
    .responsibility-card--feature { min-height: 480px; }
    .responsibility-card__body { padding: 24px 20px 22px; }
    .responsibility-card--feature .responsibility-card__body { padding: 0 20px 24px; }
    .responsibility-card__tag { top: 16px; left: 16px; font-size: 11.5px; }
    .responsibility-card__icon { width: 52px; height: 52px; font-size: 20px; border-radius: 16px; }
    .responsibility-card--feature .responsibility-card__num { font-size: 44px; }
    .responsibility-card__num { top: 18px; right: 18px; font-size: 42px; }
    .responsibility-card--feature p { font-size: 15px; }
    .responsibility-card--feature .responsibility-card__list { grid-template-columns: minmax(0, 1fr); }

    /* Scholarship */
    .scholarship-cta { padding: 290px 0 56px; }
    .scholarship-cta__bg img { height: 56%; object-position: 50% 60%; }
    .scholarship-cta__place { top: 16px; left: 16px; font-size: 11px; }
    .scholarship-cta__inner { padding: 30px 20px 24px; border-radius: 22px; }
    .scholarship-cta__inner::before { left: 22px; right: 22px; }
    .scholarship-cta__seal { width: 46px; height: 46px; font-size: 19px; }
    .scholarship-cta__title { margin: 18px 0 12px; }
    .scholarship-cta__text { font-size: 15.5px; }
    .scholarship-cta__points { gap: 8px; margin-top: 20px; }
    .scholarship-cta__points li { font-size: 13px; padding: 7px 12px 7px 9px; }
    .scholarship-cta__actions { margin-top: 24px; padding-top: 20px; }
    .scholarship-cta__actions .btn { width: 100%; }

    /* Newsletter: stacked; the form becomes a rounded block with a full-width button */
    .site-footer { --footer-seam: 44px; }
    .footer-cta { padding-top: calc(var(--footer-seam) + 28px); }
    /* the copy's children join the panel grid: envelope + eyebrow share the first row */
    .footer-cta__inner { grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 22px 20px 22px; border-radius: 24px; }
    .footer-cta__text { display: contents; }
    .footer-cta__art { grid-column: 1; grid-row: 1; width: 52px; height: 52px; margin-top: 0; }
    .footer-cta__art::before { inset: -10px; }
    .footer-cta__envelope { font-size: 20px; border-radius: 16px; }
    .footer-cta__plane { width: 22px; height: 22px; top: -6px; right: -6px; font-size: 9.5px; }
    .footer-cta__eyebrow { grid-column: 2; grid-row: 1; align-self: center; }
    .footer-cta__title, .footer-cta__text p, .footer-cta__chips, .footer-cta__form { grid-column: 1 / -1; }
    .footer-cta__form { margin-top: 20px; }
    .footer-cta__title { margin-top: 16px; }
    .footer-cta__text p { font-size: 14.5px; }
    .footer-cta__chips li { font-size: 12px; }
    .newsletter-form { flex-direction: column; align-items: stretch; border-radius: 20px; }
    .newsletter-form input { min-height: 50px; padding: 0 14px; }
    .newsletter-form button { width: 100%; border-radius: 15px; }
    .footer-cta__note { margin-left: 4px; }
    .footer-cta > .container::after { margin-top: 36px; }
    .footer-cta ~ .container .footer-top { padding-top: 40px; }
}

@media (max-width: 480px) {
    .reunion-banner__strip-end { margin-left: 18px; }
}
/* ==== /v15-home ==== */

/* ==== v15-pages — batch 15 inner pages (about values, memories, directory,
   member profile): their media queries go between these markers ==== */
@media (prefers-reduced-motion: no-preference) {
    .value-card:hover { translate: 0 -6px; }
    .mcard:hover { translate: 0 -6px; }
    .mcard:hover .mcard__ring::before { rotate: 180deg; }
    .mcard:hover .mcard__cta i { translate: 4px 0; }
}

@media (max-width: 1199px) {
    .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .values-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .values-intro { flex-direction: row; align-items: center; gap: 40px; }
    .values-intro__text { flex: 1 1 0; }
    .values-intro .section-sub { margin-bottom: 0; }
    .values-photo { flex: 1 1 0; align-self: stretch; min-height: 280px; }
}

@media (max-width: 767px) {
    .values-intro { flex-direction: column; align-items: stretch; gap: 24px; }
    .values-intro__text, .values-photo { flex: none; }
    .values-photo { width: 100%; min-height: 0; aspect-ratio: 16 / 11; border-radius: 22px; }
    .values-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .value-card { padding: 30px 22px 22px; border-radius: 20px; }
    .value-card::before { left: 22px; }
    .value-card__num { top: 18px; right: 18px; font-size: 52px; }
    .value-card__icon { width: 58px; height: 58px; font-size: 22px; margin-bottom: 20px; }
    .values-photo__cap { left: 12px; right: 12px; bottom: 12px; gap: 12px; padding: 11px 12px; border-radius: 14px; }
    .values-photo__mark { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
    .values-photo__text strong { font-size: 14.5px; }
    .values-photo__text small { font-size: 12px; }
    .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; }
    .about-stats > .about-stat { padding: 14px 12px 12px; border-left: 1px solid rgba(var(--as-rgb), 0.18); border-radius: 16px; }
    .about-stat__icon { width: 32px; height: 32px; font-size: 13px; margin-bottom: 10px; border-radius: 10px; }
    .about-stat__num { font-size: 26px; }
    .about-stat__label { font-size: 10px; letter-spacing: 0.1em; }
}

/* Directory */
@media (max-width: 1023px) {
    .page-header--directory { padding-bottom: 108px; }
    .directory-filter--members .directory-filter__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .directory-filter--members .directory-filter__field--search, .directory-filter--members .btn { grid-column: 1 / -1; }
    .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 767px) {
    .page-header--directory { padding-bottom: 92px; }
    .directory-filter--members { margin-top: -56px; padding: 18px 16px; border-radius: 22px; }
    .dir-filter__head { align-items: flex-start; gap: 12px; margin-bottom: 14px; }
    .dir-filter__icon { width: 42px; height: 42px; border-radius: 14px; font-size: 16px; }
    .dir-filter__title { font-size: 18px; }
    .dir-filter__sub { font-size: 13px; }
    .directory-filter--members .directory-filter__form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .dir-results { margin-bottom: 18px; }
    .dir-results__clear { margin-left: 0; }
    .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .mcard__body { padding: 12px 16px 18px; }
}
@media (max-width: 560px) {
    .member-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .mcard__body { padding: 12px 20px 20px; }
}

/* Member profile */
@media (prefers-reduced-motion: no-preference) {
    .mp-back:hover i { translate: -3px 0; }
    .mp-social__btn:hover { translate: 0 -2px; }
    a.mp-tile:hover img, .mp-post:hover .mp-post__media img { scale: 1.05; }
    .mp-post:hover { translate: 0 -4px; }
    .mp-post:hover .mp-post__more i { translate: 3px 0; }
    a.mp-pager__link--prev:hover .mp-pager__arrow { translate: -3px 0; }
    a.mp-pager__link--next:hover .mp-pager__arrow { translate: 3px 0; }
}
@media (max-width: 1199px) {
    .mp-layout { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; }
    .mp-id__top { gap: 24px; }
    .mp-id__avatar { width: 160px; height: 160px; margin-top: -68px; }
    .mp-stat { padding: 18px 20px; gap: 12px; }
}
@media (max-width: 1023px) {
    .mp-hero__cover { height: 300px; }
    .mp-id__top { grid-template-columns: auto minmax(0, 1fr); }
    .mp-id__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
    .mp-id__actions .btn { flex: 1 1 260px; }
    .mp-social { justify-content: flex-start; }
    .mp-stat__icon { width: 40px; height: 40px; font-size: 15px; border-radius: 12px; }
    .mp-stat__num { font-size: 24px; }
    .mp-stat__label { font-size: 10.5px; letter-spacing: 0.06em; }
    /* One column; the bio leads, then the details, photos and posts. */
    .mp-layout { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
    .mp-main { display: contents; }
    .mp-about { order: 1; }
    .mp-side { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .mp-side > .mp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .mp-side > .mp-card:last-child:nth-child(odd) .mp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
    .mp-side > .mp-card:last-child:nth-child(odd) .mp-fact:nth-child(2) { border-top: 0; padding-top: 2px; }
    #mp-gallery { order: 3; }
    #mp-posts { order: 4; }
}
@media (max-width: 767px) {
    .mp-hero__cover { height: 250px; }
    .mp-hero__bar { padding-top: 18px; gap: 10px; }
    .mp-hero__crumbs { order: 3; }
    .mp-back { min-height: 44px; padding-right: 16px; font-size: 13.5px; }
    .mp-step { width: 44px; height: 44px; }
    .mp-id { margin-top: -84px; padding: 0 18px; border-radius: 24px; }
    .mp-id::before { left: 24px; right: 24px; }
    .mp-id__top { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; padding: 22px 0 22px; text-align: center; }
    .mp-id__avatar { width: 140px; height: 140px; margin-top: -92px; }
    .mp-id__check { right: 8px; bottom: 8px; width: 32px; height: 32px; font-size: 12px; }
    .mp-attending { font-size: 12.5px; text-align: left; }
    .mp-id__name { font-size: 1.85rem; }
    .mp-id__role { justify-content: center; font-size: 15px; }
    .mp-id__chips { justify-content: center; }
    .mp-id__actions { width: 100%; flex-direction: column; align-items: stretch; }
    .mp-id__actions .btn { flex: none; width: 100%; }
    .mp-social { justify-content: center; }
    .mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -18px; border-radius: 0 0 24px 24px; }
    .mp-stat { padding: 16px 14px; gap: 10px; }
    .mp-stat:nth-child(3) { border-left: 0; }
    .mp-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .mp-body { padding-top: 28px; }
    .mp-side { grid-template-columns: minmax(0, 1fr); }
    .mp-side > .mp-card:last-child:nth-child(odd) .mp-facts { grid-template-columns: minmax(0, 1fr); }
    .mp-side > .mp-card:last-child:nth-child(odd) .mp-fact:nth-child(2) { border-top: 1px dashed var(--line-strong); padding-top: 13px; }
    .mp-card { padding: 22px 18px 20px; border-radius: 20px; }
    .mp-about__quote { padding-left: 36px; }
    .mp-about__quote > i { font-size: 22px; }
    .mp-about__text { font-size: 16px; }
    .mp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
    .mp-tiles.mp-tiles--n1, .mp-tiles.mp-tiles--n2 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(220px, auto); }
    .mp-tile--story { grid-column: 1 / -1; grid-row: span 2; }
    .mp-tiles > a.mp-tile:first-child .mp-tile__cap strong { font-size: 17px; }
    .mp-posts { grid-template-columns: minmax(0, 1fr); }
    .mp-pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
    .mp-pager__all { order: 3; flex: 1 1 100%; flex-direction: row; min-height: 52px; }
    .mp-pager__link { flex: 1 1 0; min-height: 72px; padding: 12px; gap: 10px; border-radius: 16px; }
    .mp-pager__link.is-off { display: none; }
    .mp-pager__avatar { display: none; }
    .mp-pager__text strong { font-size: 14px; }
    .mp-pager__text small { font-size: 10px; letter-spacing: 0.08em; }
    .mp-pager__arrow { width: 34px; height: 34px; font-size: 12px; }
}
@media (max-width: 420px) {
    .mp-hero__crumbs { display: none; }
}
/* Very narrow phones (≤ 380 px, e.g. 320 px wide): the three about stats and
   the profile stat labels no longer fit side by side — stack / wrap them. */
@media (max-width: 380px) {
    .about-stats { grid-template-columns: 1fr; }
    .about-stats > .about-stat { display: flex; align-items: center; gap: 12px; }
    .about-stat__icon { margin-bottom: 0; }
    .about-stat__label { overflow-wrap: anywhere; }
    .mp-stat { padding: 14px 12px; gap: 10px; }
    .mp-stat__label { letter-spacing: 0.02em; overflow-wrap: anywhere; white-space: normal; }
}
/* ==== /v15-pages ==== */

/* ==== v16-pages — batch 16 page headers, Career Hub, job page, contact:
   their media queries go between these markers ==== */
/* Page headers: as the copy takes more of the width, the photo moves out
   from under it and the scrim reaches further; phones get a fuller scrim. */
@media (max-width: 1199px) {
    .page-header__bg img, .event-detail-hero__bg img { left: 22%; width: 78%; }
    .page-header__bg::before, .event-detail-hero__overlay {
        background:
            linear-gradient(90deg, rgba(7, 20, 54, 0.96) 0%, rgba(8, 23, 61, 0.92) 32%, rgba(11, 33, 86, 0.86) 46%, rgba(13, 40, 104, 0.62) 56%, rgba(14, 42, 108, 0.28) 64%, rgba(14, 42, 108, 0.06) 70%, rgba(14, 42, 108, 0) 74%),
            linear-gradient(180deg, rgba(11, 31, 75, 0.26) 0%, rgba(11, 31, 75, 0) 22%, rgba(11, 31, 75, 0) 78%, rgba(11, 31, 75, 0.3) 100%);
    }
    .page-header__bg::after, .event-detail-hero__bg::after { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 56%); mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 56%); }
}
@media (max-width: 1023px) {
    .page-header__bg img, .event-detail-hero__bg img { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
    .page-header__bg::before, .event-detail-hero__overlay {
        background:
            linear-gradient(90deg, rgba(7, 20, 54, 0.95) 0%, rgba(8, 23, 61, 0.9) 36%, rgba(11, 33, 86, 0.84) 58%, rgba(13, 40, 104, 0.64) 74%, rgba(14, 42, 108, 0.28) 90%, rgba(14, 42, 108, 0.14) 100%),
            linear-gradient(180deg, rgba(11, 31, 75, 0.28) 0%, rgba(11, 31, 75, 0) 28%, rgba(11, 31, 75, 0) 70%, rgba(11, 31, 75, 0.4) 100%);
    }
    .page-header__bg::after, .event-detail-hero__bg::after { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 56%, transparent 82%); mask-image: linear-gradient(90deg, #000 0%, #000 56%, transparent 82%); }
    .page-header::before { inset: -30% 30% -30% -12%; }
    .page-header::after, .event-detail-hero::after { -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%); }
}
@media (max-width: 767px) {
    /* Readability wins on phones: the photo stays in colour behind a fuller,
       even scrim (no blur — it costs the most on small GPUs) */
    .page-header__bg::before, .event-detail-hero__overlay {
        background:
            linear-gradient(180deg, rgba(7, 20, 54, 0.84) 0%, rgba(9, 26, 68, 0.76) 52%, rgba(11, 31, 75, 0.7) 100%),
            linear-gradient(90deg, rgba(7, 20, 54, 0.32) 0%, rgba(7, 20, 54, 0) 76%);
    }
    .page-header__bg::after, .event-detail-hero__bg::after { display: none; }
    .page-header::before { inset: -20% -10%; }
    .page-header::after, .event-detail-hero::after { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
}

/* Career Hub, job post, contact: hover lifts (motion-aware) */
@keyframes ctPinPulse { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
    .jb-card:hover, .jd-rel:hover, .ct-card:hover { transform: translateY(-4px); }
    .jb-chip:hover, .ct-chip:hover, .jb-tip__mail:hover { transform: translateY(-2px); }
    .jd-rel:hover .jd-rel__arrow { transform: translateX(4px); }
    .ct-card:hover .ct-card__icon { transform: rotate(-6deg) scale(1.06); }
    .ct-social__links a:hover { transform: translateY(-3px); }
    .ct-campus__pin::after { animation: ctPinPulse 2.4s var(--ease-out) infinite; }
}
@media (max-width: 1199px) {
    .jb-search__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
    .jb-field--search { grid-column: 1 / -1; }
    .jb-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
    .jb-tip { flex-direction: column; gap: 10px; }
    .jb-card { grid-template-columns: 60px minmax(0, 1fr); grid-template-areas: "logo main" "side side" "foot foot"; gap: 0 20px; }
    .jb-card .jb-card__logo { width: 60px; height: 60px; border-radius: 18px; font-size: 25px; }
    .jb-card__side { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px dashed var(--line-strong); }
    .jb-card__cta { width: auto; }
    .jb-card__foot { margin-top: 16px; }
    .jd-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px 24px; }
    .ct-grid { gap: 40px; }
}
@media (max-width: 1023px) {
    .page-header--career { padding-bottom: 120px; }
    .jb-search__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .jb-field--search, .jb-search__btn { grid-column: 1 / -1; }
    .jb-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .jb-aside { position: static; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
    .jd-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "aside" "body"; gap: 20px; }
    .jd-aside { position: static; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
    .jd-glance { display: none; }   /* the summary card follows straight after */
    .jd-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-campus { min-height: 340px; margin-top: 48px; }
}
@media (max-width: 767px) {
    /* Career Hub */
    .page-header--career { padding-bottom: 100px; }
    .jb-search { margin-top: -68px; margin-bottom: 26px; padding: 18px 16px 16px; border-radius: 22px; }
    .jb-search__head { align-items: flex-start; gap: 12px; margin-bottom: 14px; }
    .jb-search__icon { width: 42px; height: 42px; border-radius: 14px; font-size: 16px; }
    .jb-search__title { font-size: 18px; }
    .jb-search__sub { font-size: 13px; }
    .jb-search__form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .jb-field input, .jb-field select, .jb-search__btn { min-height: 52px; }
    .jb-quick { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-top: 14px; padding-top: 14px; }
    /* one swipeable row of chips instead of three wrapped rows */
    .jb-quick__list { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%); }
    .jb-quick__list::-webkit-scrollbar { display: none; }
    .jb-chip { min-height: 44px; }
    .jb-results { gap: 8px 10px; }
    .jb-results__sort { margin-left: 0; }
    /* The logo sits beside the chips; the title and the rest use the full width */
    .jb-card { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: none; gap: 0 14px; padding: 18px 16px 0; border-radius: 20px; }
    .jb-card__main { display: contents; }
    .jb-card .jb-card__logo { grid-column: 1; grid-row: 1; width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
    .jb-card__chips { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 0; }
    .jb-card__title { margin-top: 14px; }
    .jb-card__title, .jb-card__org, .jb-card__desc, .jb-card__facts, .jb-card__side, .jb-card__foot { grid-column: 1 / -1; grid-row: auto; }
    .jb-card::before { top: 18px; height: 52px; }
    .jb-card__title { font-size: 18.5px; }
    .jb-card__title a { display: inline-block; padding: 11px 0; margin: -11px 0; }   /* a 44-px tap target */
    .jb-card__org { gap: 2px 14px; font-size: 13.5px; }
    .jb-card__desc { -webkit-line-clamp: 3; }
    .jb-card__facts li { font-size: 12.5px; padding: 5px 10px; }
    .jb-card__side { flex-direction: column; align-items: stretch; gap: 12px; }
    .jb-card__cta { width: 100%; }
    .jb-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
    .jb-empty { padding: 40px 18px 36px; }
    .jb-empty__actions .btn { width: 100%; }
    .jb-aside { grid-template-columns: minmax(0, 1fr); }
    .jb-hire { padding: 24px 20px 20px; border-radius: 22px; }
    /* Job post */
    .jd-hero-sub span { padding: 6px 12px; font-size: 13px; }
    .jd-section { padding-top: 32px; }
    .jd-head { padding: 22px 18px 20px; border-radius: 22px; }
    .jd-head__top { gap: 14px; }
    .jd-head__logo { width: 64px; height: 64px; border-radius: 19px; font-size: 26px; }
    .jd-head__id { flex-basis: 180px; }
    .jd-head__company { font-size: 20px; }
    .jd-poster { width: 100%; }
    .jd-glance { gap: 8px; margin-top: 18px; padding-top: 16px; }
    .jd-glance li { font-size: 13px; padding: 7px 12px; }
    .jd-aside { grid-template-columns: minmax(0, 1fr); }
    .jd-apply { padding: 0 18px 20px; border-radius: 22px; }
    .jd-apply__status { margin: 0 -18px 18px; padding: 12px 18px; }
    .jd-share { padding: 18px; }
    .jd-block { padding: 22px 18px; border-radius: 20px; }
    .jd-block__title { font-size: 18px; }
    .jd-prose { font-size: 15.5px; }
    .jd-related { margin-top: 44px; }
    .jd-related__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .jd-rel { padding: 16px; }
    /* Contact */
    .ct-cards { margin: 24px 0 24px; gap: 12px; }
    .ct-card { gap: 14px; padding: 18px 16px; border-radius: 20px; }
    .ct-card__icon { width: 48px; height: 48px; border-radius: 15px; font-size: 18px; }
    .ct-row { grid-template-columns: minmax(0, 1fr); }
    .ct-form { padding: 24px 18px; border-radius: 22px; }
    .ct-form__header { gap: 14px; }
    .ct-form__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 17px; }
    /* the photo clear on top, the address card below it on navy */
    .ct-campus { flex-direction: column; align-items: stretch; min-height: 0; margin-top: 40px; border-radius: 22px; }
    .ct-campus__img { position: relative; inset: auto; z-index: 0; height: 220px; }
    .ct-campus::before { z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 75, 0) 0, rgba(11, 31, 75, 0) 140px, rgba(11, 31, 75, 0.9) 220px); }
    .ct-campus__card { z-index: 2; margin: -44px 12px 12px; padding: 18px 16px; }
    .ct-campus__actions { width: 100%; }
    .ct-campus__actions .btn { flex: 1 1 100%; }
}
/* ==== /v16-pages ==== */

/* ==== v16-dash — batch 16 member dashboard (hero, stats, events, jobs):
   their media queries go between these markers ==== */
@media (prefers-reduced-motion: no-preference) {
    .mjob-steps__item.is-current .mjob-steps__dot i { animation: ppiNextPulse 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .mdash-stat:hover, .mdash-evcard:hover, .member-quick__item:hover, .mdash-stat:hover .mdash-stat__go { transform: none; }
}
@media (max-width: 1199px) {
    .mdash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .member-quick__item { min-width: 100px; }
    .mdash-evgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mjob-card { grid-template-columns: 52px minmax(0, 1fr); }
    .mjob-card__logo { width: 52px; height: 52px; font-size: 21px; }
    .mjob-card__actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .mjob-card__actions > * { flex: 0 1 auto; }
    .mjob-card__actions .btn { width: auto; }
}
@media (max-width: 1023px) {
    .member-hero__inner { align-items: start; }
    .member-quick { width: 100%; max-width: 560px; }
    .mdash-grid { grid-template-columns: 1fr; }
    .dashboard-nav__badge { margin-left: 4px; }
    .dashboard-nav__item { min-height: 44px; }
}
@media (max-width: 767px) {
    .member-hero__ring { width: 96px; height: 96px; padding: 3px; }
    .member-hero__avatar { font-size: 36px; border-width: 3px; }
    .member-hero__badge { right: 0; bottom: 4px; width: 28px; height: 28px; font-size: 11px; }
    .member-hero__name { font-size: 1.85rem; margin: 12px 0 6px; }
    .member-hero__lead { font-size: 14.5px; margin-bottom: 14px; }
    .member-hero__kicker { font-size: 10.5px; letter-spacing: 0.1em; }
    .member-quick { max-width: none; gap: 8px; padding: 8px; border-radius: 20px; }
    .member-quick__item { min-width: 0; min-height: 92px; padding: 12px 6px; gap: 8px; font-size: 12.5px; border-radius: 14px; }
    .member-quick__icon { width: 40px; height: 40px; font-size: 16px; }
    .mdash-stats { gap: 12px; }
    .mdash-stat { padding: 14px 14px 12px; }
    .mdash-stat__top { margin-bottom: 12px; }
    .mdash-stat__icon { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
    .mdash-stat__go { display: none; }
    .mdash-stat__num { font-size: 28px; }
    .mdash-stat__num--word { font-size: 22px; line-height: 28px; }
    .mdash-stat__meta { font-size: 12px; min-height: 0; }
    .mdash-panel__head { padding: 14px 12px 14px 16px; }
    .mdash-list { padding: 2px 16px; }
    .mdash-timeline { padding: 8px 16px 12px; }
    .mdash-panel__foot { padding: 12px 16px 16px; }
    .mdash-panel__foot .btn { flex: 1 1 auto; }
    .mdash-soon { margin: 14px 16px 16px; }
    .mdash-soon--panel { margin: 0; padding: 20px 18px; flex-direction: column; }
    .mdash-event { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
    .mdash-event__date { width: 48px; }
    .mdash-event__cta { grid-column: 2; }
    .mjob-mini { grid-template-columns: 40px minmax(0, 1fr); }
    .mjob-mini__logo { width: 40px; height: 40px; }
    .mjob-mini > .mjob-chip, .mjob-mini > .mjob-mini__type { grid-column: 2; justify-self: start; }
    .mdash-evgrid { grid-template-columns: 1fr; }
    .mjob-how { grid-template-columns: 1fr; gap: 8px; }
    .mjob-how > li { padding: 12px 14px; }
    .mjob-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
    .mjob-tabs::-webkit-scrollbar { display: none; }
    .mjob-tab { flex: none; }
    .mjob-card { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 16px 18px 20px; }
    .mjob-card__logo { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
    .mjob-card__title { font-size: 17px; }
    .mjob-card__actions { grid-column: 1 / -1; }
    .mjob-card__actions > * { flex: 1 1 auto; }
    .mjob-card__actions .btn { width: 100%; }
    .mjob-steps { max-width: none; }
    .mjob-form .form-row--3 { grid-template-columns: 1fr; }
    .mjob-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-panel__step { display: none; }
    .dashboard-main .btn--sm { min-height: 44px; }
    .mjob-preview__inner .btn { width: 100%; min-height: 44px; justify-content: center; }
    /* Title links: a 44 px tap target without moving the text */
    .reg-card__title a, .mjob-card__title a, .mdash-evcard__title a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}
@media (max-width: 380px) {
    .member-quick__label { font-size: 12px; }
    .mdash-stat__num { font-size: 25px; }
    .mdash-stat__num--word { font-size: 20px; line-height: 25px; }
    .mjob-steps__text strong { font-size: 11.5px; }
}
/* ==== /v16-dash ==== */

/* ---- Print ------------------------------------------------------------------ */
@media print {
    .topbar, .site-header, .site-footer, .scroll-top, .nav-backdrop, .skip-link, .flash-message { display: none !important; }
    body { background: #fff; color: #000; }
    .page-header, .hero { background: #fff; color: #000; }
}
