/* ============================================================
   AMTICS — Landing Page  ·  "Editorial Institute"
   A sophisticated, professional redesign. Loaded only on
   index.html (after style3.css), so other pages are untouched.
   Brand kept: deep indigo ink + brass gold. Serif/sans editorial
   pairing (Fraunces + Inter). All JS hooks preserved.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;450;500;600;700&display=swap');

:root {
    --ink: #15112e;
    --ink-2: #211c46;
    --ink-3: #2c2658;
    --indigo: #3b2f8f;
    --violet: #6f60e3;
    --gold: #b8893b;
    --gold-soft: #c79a4a;
    --gold-on-dark: #d8b465;
    --paper: #f6f4ee;
    --paper-2: #efece3;
    --card: #ffffff;
    --text: #1c1838;
    --muted: #5d5874;
    --muted-2: #837e99;
    --line: rgba(21, 17, 46, 0.12);
    --line-soft: rgba(21, 17, 46, 0.07);
    --line-dark: rgba(255, 255, 255, 0.14);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', 'Montserrat', system-ui, sans-serif;
    --maxw: 1280px;
    --pad-x: clamp(20px, 5vw, 48px);
    --pad-y: clamp(72px, 9vw, 150px);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
body.landing {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.landing img {
    display: block;
    max-width: 100%;
}

.landing ::selection {
    background: var(--gold);
    color: #fff;
}

.shell {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

.serif {
    font-family: var(--serif);
}

/* kicker / eyebrow */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
}

.kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}

.kicker.center {
    justify-content: center;
}

.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 18px 0 0;
    text-align: left;
    text-wrap: balance;
}

/* neutralise style3's centered gradient underline on .section-title */
.landing .section-title::after {
    content: none;
}

.section-intro {
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    max-width: 56ch;
    margin: 20px 0 0;
}

.section-head {
    margin-bottom: clamp(40px, 5vw, 72px);
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    will-change: opacity, transform;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal[data-d="1"] {
    transition-delay: .08s;
}

.reveal[data-d="2"] {
    transition-delay: .16s;
}

.reveal[data-d="3"] {
    transition-delay: .24s;
}

/* ============================================================
   ANNOUNCEMENT  (slim editorial ticker, JS hooks kept)
   ============================================================ */
.announcement-container {
    position: sticky;
    top: 0;
    z-index: 1002;
    max-width: 100%;
    margin: 0;
    height: 44px;
    background: var(--ink) !important;
    border-bottom: 1px solid var(--line-dark);
    align-items: stretch;
}

.announcement-label {
    background: transparent;
    color: var(--gold-on-dark);
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 0 18px;
    white-space: nowrap;
    border-right: 1px solid var(--line-dark);
}

.announcement-label i {
    font-size: 14px;
    line-height: 1;
    color: var(--gold-on-dark);
}

.announcement-content {
    background: transparent;
    opacity: 1;
    display: flex;
    align-items: center;
}

.announcement-item a {
    color: rgba(255, 255, 255, .82);
    opacity: 1;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
}

.announcement-item a:hover {
    color: var(--gold-on-dark);
    text-decoration: none;
}

.announcement-content .separator {
    color: rgba(255, 255, 255, .25);
}

/* Current-week items: gold highlight + "This Week" flag */
.announcement-item--current a {
    color: var(--gold-on-dark);
    font-weight: 700;
}

.announcement-flag {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--gold-on-dark);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    vertical-align: middle;
}

.announcement-item--muted {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    /* Subtract the sticky news strip + navbar stack above the hero so the
       whole hero (incl. the CTAs) fits within the first viewport. */
    min-height: calc(100svh - 140px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
}

/* carousel becomes full-bleed background */
.hero .banner,
.hero #bannerCarousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 0;
}

.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

/* override style3 default dark overlay with an editorial gradient —
   dark anchor behind the headline, photo breathing toward the top/right */
.hero .carousel-item::before {
    background:
        linear-gradient(to top, rgba(11, 8, 28, .93) 0%, rgba(11, 8, 28, .58) 22%, rgba(11, 8, 28, .12) 48%, rgba(11, 8, 28, 0) 66%, rgba(11, 8, 28, .22) 100%),
        linear-gradient(105deg, rgba(11, 8, 28, .80) 0%, rgba(17, 13, 42, .34) 42%, rgba(17, 13, 42, 0) 82%);
}

/* fine film-grain + vignette for depth */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(0, 0, 0, .35) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: clamp(28px, 5vh, 72px);
    padding-bottom: clamp(24px, 3.5vh, 52px);
}

.hero .kicker {
    color: var(--gold-on-dark);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3rem, 8.5vw, 6.6rem);
    line-height: .98;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 16px 0 0;
    text-shadow: 0 10px 50px rgba(0, 0, 0, .35);
    max-width: 16ch;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-on-dark);
}

.hero-lead {
    color: rgba(255, 255, 255, .8);
    font-size: clamp(1.05rem, 1.5vw, 1.32rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 54ch;
    margin: 16px 0 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 24px;
}

/* CTA buttons */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    text-decoration: none;
    border-radius: 999px;
    transition: transform .4s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}

.cta-primary {
    background: var(--gold);
    color: #fff;
    padding: 16px 30px;
    box-shadow: 0 16px 40px -12px rgba(184, 137, 59, .7);
}

.cta-primary i {
    transition: transform .4s var(--ease);
}

.cta-primary:hover {
    background: var(--gold-soft);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 22px 50px -12px rgba(184, 137, 59, .85);
}

.cta-primary:hover i {
    transform: translateX(5px);
}

.cta-ghost {
    color: #fff;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    gap: 10px;
}

.cta-ghost i {
    color: var(--gold-on-dark);
    transition: transform .4s var(--ease);
}

.cta-ghost:hover {
    color: var(--gold-on-dark);
    border-color: var(--gold-on-dark);
}

.cta-ghost:hover i {
    transform: translateX(5px);
}

/* hero footer row: trust marks + indicators */
.hero-meta {
    position: relative;
    z-index: 5;
    margin-top: clamp(20px, 3.5vh, 44px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    color: rgba(255, 255, 255, .62);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-trust span {
    position: relative;
    padding-left: 26px;
}

.hero-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-on-dark);
}

/* slide indicators (bootstrap data-bs-slide-to) */
.hero-dots {
    display: flex;
    gap: 12px;
    margin: 0;
    list-style: none;
}

.hero-dots button {
    width: 42px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
    transition: background .4s var(--ease);
}

.hero-dots button.active {
    background: var(--gold-on-dark);
}

/* hide default style3 carousel arrows in hero */
.hero .carousel-control-prev,
.hero .carousel-control-next {
    display: none !important;
}

/* side rail refined */
.sidebar {
    top: auto;
    bottom: 64px;
    transform: none;
    z-index: 40;
}

.sidebar a {
    height: 132px;
    width: 44px;
    border-radius: 0;
    box-shadow: -10px 12px 30px -10px rgba(0, 0, 0, .45);
    transition: transform .4s var(--ease);
}

.sidebar p {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.admission-btn {
    background: var(--ink);
}

.admission-btn p {
    color: #fff;
}

.courses-btn {
    background: var(--gold);
}

.courses-btn p {
    color: #fff;
}

.sidebar a:hover {
    transform: translateX(-6px);
}

/* ============================================================
   STATEMENT + METRICS
   ============================================================ */
.statement {
    padding: var(--pad-y) 0 clamp(40px, 5vw, 70px);
    background: var(--paper);
}

.statement-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
}

.statement-lead {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.7vw, 2.35rem);
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-wrap: balance;
}

.statement-lead em {
    font-style: italic;
    color: var(--gold);
}

.statement-body p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 18px;
}

.statement-body .cta-ghost {
    color: var(--ink);
    border-color: var(--line);
    margin-top: 6px;
}

.statement-body .cta-ghost i {
    color: var(--gold);
}

.statement-body .cta-ghost:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* metrics band */
.metrics {
    border-top: 1px solid var(--line);
    margin-top: clamp(50px, 7vw, 90px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.metric {
    padding: clamp(30px, 4vw, 48px) 22px clamp(20px, 3vw, 30px);
    border-right: 1px solid var(--line);
    text-align: left;
}

.metric:last-child {
    border-right: 0;
}

.metric-num {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
}

.metric-num .plus {
    color: var(--gold);
    font-size: .7em;
    margin-left: 2px;
}

.metric-label {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* ============================================================
   DISCIPLINES  (dark editorial list)
   ============================================================ */
.disciplines {
    background: var(--ink);
    color: #fff;
    padding: var(--pad-y) 0;
    position: relative;
}

.disciplines::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(80% 60% at 85% 0%, rgba(111, 96, 227, .16), transparent 60%);
}

.disciplines .shell {
    position: relative;
}

.disciplines .kicker {
    color: var(--gold-on-dark);
}

.disciplines .section-title {
    color: #fff;
}

.disc-list {
    margin-top: clamp(30px, 4vw, 56px);
    border-top: 1px solid var(--line-dark);
}

.disc-row {
    display: grid;
    grid-template-columns: 90px 1.1fr 1.3fr auto;
    align-items: center;
    gap: 24px;
    padding: clamp(22px, 3vw, 34px) 8px;
    border-bottom: 1px solid var(--line-dark);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: padding-left .45s var(--ease);
}

.disc-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(216, 180, 101, .12), transparent 70%);
    transition: width .5s var(--ease);
    z-index: 0;
}

.disc-row:hover {
    padding-left: 26px;
}

.disc-row:hover::before {
    width: 100%;
}

.disc-row>* {
    position: relative;
    z-index: 1;
}

.disc-index {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--gold-on-dark);
    letter-spacing: .04em;
}

.disc-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.01em;
}

.disc-desc {
    color: rgba(255, 255, 255, .62);
    font-size: .98rem;
    max-width: 46ch;
}

.disc-go {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}

.disc-row:hover .disc-go {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: rotate(-45deg);
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm {
    background: var(--paper);
    padding: var(--pad-y) 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 96px);
}

.vm-block .vm-tag {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.vm-tag .num {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 1.1rem;
}

.vm-tag h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.vm-block p {
    color: var(--muted);
    font-size: 1.06rem;
    margin: 22px 0 0;
}

.vm-block .vm-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.vm-block .vm-list li {
    position: relative;
    padding: 16px 0 16px 34px;
    color: var(--muted);
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line-soft);
}

.vm-block .vm-list li:last-child {
    border-bottom: 0;
}

.vm-block .vm-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--gold);
    font-family: var(--serif);
}

/* ============================================================
   PILLARS  (why amtics)
   ============================================================ */
.pillars {
    background: var(--paper-2);
    padding: var(--pad-y) 0;
    border-top: 1px solid var(--line-soft);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(36px, 4vw, 60px);
}

.pillar {
    background: var(--card);
    border: 1px solid var(--line);
    padding: clamp(30px, 3vw, 44px);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -30px rgba(21, 17, 46, .3);
}

.pillar-ico {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 26px;
}

.pillar h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.45rem;
    color: var(--ink);
    margin: 0 0 12px;
}

.pillar p {
    color: var(--muted);
    font-size: .98rem;
    margin: 0;
}

/* ============================================================
   NEWS  (dynamic — JS hooks preserved)
   ============================================================ */
.news-section {
    background: var(--paper);
    padding: var(--pad-y) 0;
}

.news-section .shell {
    position: relative;
}

.news-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: clamp(28px, 3vw, 44px);
}

.news-section h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    color: var(--ink);
    margin: 14px 0 0;
    letter-spacing: -0.015em;
}

.news-filters {
    display: flex;
    gap: 4px;
    margin: 0;
    flex-wrap: wrap;
}

.news-filters button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
    color: var(--muted-2);
    padding: 8px 4px;
    margin: 0 14px 0 0;
    border-radius: 0;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .3s var(--ease), border-color .3s var(--ease);
}

.news-filters button.is-active,
.news-filters button.active,
.news-filters button:hover {
    background: transparent;
    color: var(--ink);
    border-bottom-color: var(--gold);
}

.news-grid-container {
    overflow: visible;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 0;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(21, 17, 46, 0.04);
    padding: 26px 26px 24px;
    gap: 12px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.news-card:first-child {
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(21, 17, 46, 0.10);
    border-color: rgba(21, 17, 46, 0.16);
}

.news-card::before {
    display: none;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-header i {
    color: var(--gold);
    opacity: 1;
}

.news-card:hover .news-header i {
    transform: none;
}

.news-header .category {
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--gold);
}

.news-header .badge {
    margin-left: auto;
    background: transparent;
    color: var(--muted-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    padding: 3px 10px;
}

.news-card:hover .news-header .badge {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.news-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.22;
    color: var(--ink);
    margin: 4px 0 0;
    letter-spacing: -0.01em;
}

.news-card time {
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--muted-2);
    text-transform: uppercase;
}

.news-card .news-content {
    color: var(--muted);
    font-size: .97rem;
    -webkit-line-clamp: 3;
}

.news-card .read-more {
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: auto;
}

.news-card .read-more:hover {
    color: var(--gold);
    transform: none;
}

/* graceful empty state */
.news-empty {
    grid-column: 1 / -1;
    width: 100%;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: clamp(36px, 5vw, 60px);
    text-align: center;
    color: var(--muted);
}

.news-empty i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.news-empty strong {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 6px;
}

/* nav arrows */
.news-nav-arrow {
    position: absolute;
    top: -76px;
    transform: none;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.news-nav-arrow:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.news-nav-prev {
    left: auto;
    right: calc(var(--pad-x) + 58px);
}

.news-nav-next {
    right: var(--pad-x);
    left: auto;
}

/* ============================================================
   GLIMPSE  (marquee gallery)
   ============================================================ */
.glimpse {
    background: var(--paper);
    padding: clamp(20px, 3vw, 40px) 0 var(--pad-y);
    overflow: hidden;
}

.glimpse .shell {
    margin-bottom: clamp(30px, 3vw, 48px);
}

.container-fluid h2 {
    margin: 0;
}

.slider-wrapper {
    width: 100%;
    margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.scrolling-wrapper {
    gap: 22px;
    animation: scroll-left 60s linear infinite;
}

.glimpse:hover .scrolling-wrapper {
    animation-play-state: paused;
}

.scrolling-wrapper img {
    height: 300px;
    min-width: 420px;
    width: auto;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(18%) contrast(1.02);
    transition: filter .5s var(--ease), transform .5s var(--ease);
}

.scrolling-wrapper img:hover {
    filter: grayscale(0%);
    transform: scale(1.015);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: var(--ink);
    color: #fff;
    padding: var(--pad-y) 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(184, 137, 59, .22), transparent 55%),
        radial-gradient(50% 100% at 0% 100%, rgba(111, 96, 227, .18), transparent 55%);
    pointer-events: none;
}

.cta-band .shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.cta-band .kicker {
    color: var(--gold-on-dark);
}

.cta-band h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 20px 0 0;
    text-wrap: balance;
}

.cta-band h2 em {
    font-style: italic;
    color: var(--gold-on-dark);
}

.cta-band .cta-side {
    justify-self: end;
    text-align: left;
}

.cta-band p {
    color: rgba(255, 255, 255, .72);
    font-size: 1.06rem;
    margin: 0 0 26px;
    max-width: 38ch;
}

/* ============================================================
   EXPLORE  (quick links, refined)
   ============================================================ */
#quick-links {
    background: var(--paper);
    padding: var(--pad-y) 0;
    font-family: var(--sans);
}

.quick-links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 100%;
    margin: clamp(32px, 4vw, 56px) 0 0;
    border-top: 1px solid var(--line);
}

.quick-link-card {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: clamp(32px, 4vw, 52px) clamp(22px, 3vw, 40px);
    text-align: left;
    transition: background .45s var(--ease);
    position: relative;
}

.quick-link-card:last-child {
    border-right: 0;
}

.quick-link-card::after {
    content: none;
}

.quick-link-card:hover {
    background: var(--card);
    transform: none;
    box-shadow: 0 30px 60px -36px rgba(21, 17, 46, .35);
}

.quick-link-card i {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 22px;
}

.quick-link-card:nth-child(2) i,
.quick-link-card:nth-child(3) i {
    color: var(--gold);
    background: none;
}

.quick-link-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.55rem;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.quick-link-card p {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.quick-link-card a {
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    gap: 10px;
    display: inline-flex;
    align-items: center;
}

.quick-link-card a i {
    all: unset;
    font-size: .85rem;
    color: var(--gold);
    transition: transform .4s var(--ease);
}

.quick-link-card a:hover {
    color: var(--gold);
    text-decoration: none;
}

.quick-link-card a:hover i {
    transform: translateX(6px);
}

/* footer: align with ink palette */
footer {
    background: var(--ink) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .statement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-band .shell {
        grid-template-columns: 1fr;
    }

    .cta-band .cta-side {
        justify-self: start;
    }

    .disc-row {
        grid-template-columns: 64px 1fr auto;
    }

    .disc-desc {
        display: none;
    }
}

@media (max-width: 768px) {
    .vm-grid,
    .pillars-grid,
    .quick-links-container {
        grid-template-columns: 1fr;
    }

    .pillar {
        border-bottom: 0;
    }

    .quick-link-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .metric {
        border-bottom: 1px solid var(--line);
    }

    .metric:nth-child(5) {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .news-nav-arrow {
        display: none;
    }

    .news-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .news-card:first-child {
        padding-left: 26px;
    }
}

@media (max-width: 560px) {
    .announcement-container {
        height: 40px;
    }

    .news-row {
        grid-template-columns: 1fr;
    }

    .announcement-label {
        padding: 0 14px;
    }

    .announcement-label span {
        display: none;
    }

    .announcement-label i {
        font-size: 15px;
    }

    .hero-title {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
    }

    .disc-row {
        grid-template-columns: 44px 1fr auto;
        gap: 14px;
    }

    .disc-go {
        width: 42px;
        height: 42px;
    }

    .scrolling-wrapper img {
        height: 210px;
        min-width: 280px;
    }

    .sidebar a {
        width: 34px;
        height: 100px;
    }
}

/* ============================================================
   WELCOME · FIRST-YEAR NOTICE MODAL  (responsive popup on load)
   ============================================================ */
.welcome-modal .modal-dialog {
    max-width: 480px;
}

.welcome-modal .modal-content {
    position: relative;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 30px 80px rgba(21, 17, 46, 0.45);
}

.welcome-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease);
}

.welcome-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.welcome-banner {
    position: relative;
    padding: 34px 28px 26px;
    text-align: center;
    color: #fff;
    background: radial-gradient(120% 140% at 80% -10%, var(--ink-2) 0%, var(--ink) 60%);
}

.welcome-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-on-dark), transparent);
}

.welcome-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-on-dark);
}

.welcome-badge {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(216, 180, 101, 0.16);
    border: 1px solid rgba(216, 180, 101, 0.4);
    color: var(--gold-on-dark);
    font-size: 27px;
}

.welcome-banner h2 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 4.5vw, 1.9rem);
    line-height: 1.15;
}

.welcome-tagline {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
}

.welcome-body {
    padding: 24px 28px 6px;
}

.welcome-lead {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    color: var(--text);
}

.welcome-lead strong {
    color: var(--ink);
}

.welcome-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.welcome-points li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 15px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
}

.welcome-pt-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 15px;
}

.welcome-pt-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

.welcome-pt-text small {
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.welcome-actions {
    display: flex;
    gap: 12px;
    padding: 20px 28px 26px;
}

.welcome-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.welcome-btn-ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.welcome-btn-ghost:hover {
    background: var(--paper);
}

.welcome-btn-primary {
    background: var(--ink);
    color: #fff;
}

.welcome-btn-primary:hover {
    background: var(--ink-3);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(21, 17, 46, 0.3);
}

/* Tablet / mobile — keep the card compact, not full-screen */
@media (max-width: 575.98px) {
    .welcome-modal .modal-dialog {
        max-width: 330px;
        margin: 1rem auto;
    }

    .welcome-modal .modal-content {
        border-radius: 15px;
    }

    .welcome-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .welcome-banner {
        padding: 24px 18px 18px;
    }

    .welcome-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .welcome-badge {
        width: 50px;
        height: 50px;
        margin-bottom: 11px;
        font-size: 21px;
    }

    .welcome-banner h2 {
        font-size: 1.3rem;
    }

    .welcome-tagline {
        font-size: 12px;
    }

    .welcome-body {
        padding: 16px 18px 2px;
    }

    .welcome-lead {
        margin-bottom: 13px;
        font-size: 13.5px;
    }

    .welcome-points {
        gap: 8px;
    }

    .welcome-points li {
        gap: 10px;
        padding: 9px 11px;
    }

    .welcome-pt-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .welcome-pt-text {
        font-size: 12.5px;
    }

    .welcome-pt-text small {
        font-size: 10px;
    }

    .welcome-actions {
        gap: 9px;
        padding: 14px 18px 18px;
    }

    .welcome-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}
