:root {
    --ink: #14213d;
    --ink-soft: #51607d;
    --ink-muted: #6f7d97;
    --brand: #8f1522;
    --brand-deep: #5e0d16;
    --accent: #0f766e;
    --accent-soft: #dff4ef;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --surface-tint: #f5efe6;
    --surface-alt: #f1f5fb;
    --line: rgba(20, 33, 61, 0.12);
    --line-strong: rgba(20, 33, 61, 0.2);
    --shadow-soft: 0 24px 60px rgba(17, 27, 49, 0.08);
    --shadow-card: 0 18px 44px rgba(17, 27, 49, 0.1);
    --radius-sm: 0.85rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --radius-xl: 2.2rem;
    --reveal-x: 0px;
    --reveal-distance: 24px;
    --reveal-duration: 980ms;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 93.75%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), transparent 78%);
    pointer-events: none;
    opacity: 0.34;
}

main,
.site-header,
.site-footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 800;
}

p {
    margin: 0;
    line-height: 1.68;
    color: var(--ink-soft);
}

.container {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translate3d(var(--reveal-x), var(--reveal-distance), 0) scale(0.985);
    filter: blur(6px);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease),
        filter var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.hero .reveal {
    --reveal-distance: 38px;
    --reveal-duration: 1150ms;
}

.cards > .card.reveal:nth-child(odd) {
    --reveal-x: -34px;
}

.cards > .card.reveal:nth-child(even) {
    --reveal-x: 34px;
}

.reveal.delay-1 {
    transition-delay: 160ms;
}

.reveal.delay-2 {
    transition-delay: 280ms;
}

.reveal.delay-3 {
    transition-delay: 400ms;
}

.topbar {
    background: linear-gradient(90deg, #0f1d38, #213152);
    color: #edf3ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
}

.topbar-inner p {
    color: inherit;
}

.topbar-type {
    opacity: 0.72;
    margin-left: 0.35rem;
}

.topbar-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.topbar a,
.topbar span {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(20px);
    background: rgba(255, 250, 242, 0.78);
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
    transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 253, 248, 0.95);
    box-shadow: 0 16px 40px rgba(17, 27, 49, 0.08);
    border-bottom-color: rgba(20, 33, 61, 0.12);
}

.shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    will-change: transform;
    filter: blur(2px);
}

.shape-one {
    width: 190px;
    height: 190px;
    right: 8%;
    top: -86px;
    background: linear-gradient(140deg, rgba(143, 21, 34, 0.24), rgba(143, 21, 34, 0));
}

.shape-two {
    width: 150px;
    height: 150px;
    left: 34%;
    top: -60px;
    background: linear-gradient(140deg, rgba(15, 118, 110, 0.18), rgba(29, 78, 216, 0));
}

.nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 52%),
        linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 18px 30px rgba(94, 13, 22, 0.28);
}

.brand-text {
    display: block;
    max-width: 19rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.nav-toggle {
    display: none;
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--ink);
    margin: 0.25rem auto;
}

.navbar-collapse {
    min-width: 0;
}

.nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a,
.dropdown-toggle {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0.78rem 0.9rem;
    border-radius: 0.9rem;
    text-decoration: none;
    font: inherit;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.nav-menu a:hover,
.dropdown-toggle:hover,
.dropdown.open > .dropdown-toggle {
    background: rgba(143, 21, 34, 0.08);
    color: var(--brand);
}

.nav-menu > li.is-active > a,
.nav-menu > li.is-active > .dropdown-toggle,
.dropdown-menu > li.is-active > a {
    background: rgba(143, 21, 34, 0.14);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(143, 21, 34, 0.2);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 240px;
    padding: 0.45rem;
    margin: 0;
    list-style: none;
    border: 1px solid rgba(20, 33, 61, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    box-shadow: 0 20px 38px rgba(16, 22, 34, 0.14);
    z-index: 40;
}

.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    border-radius: 0.75rem;
    padding: 0.8rem 0.9rem;
    font-weight: 600;
    color: var(--ink);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropdown-menu a:hover {
    background: rgba(143, 21, 34, 0.08);
    color: var(--brand);
}

.nav-cta {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.nav-cta .nav-apply-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(143, 21, 34, 0.16);
}

.nav-cta .nav-apply-menu {
    left: auto;
    right: 0;
    min-width: 220px;
}

.hero {
    position: relative;
    overflow: clip;
    padding: 6.5rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 16%, rgba(143, 21, 34, 0.4), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(15, 118, 110, 0.3), transparent 30%);
    pointer-events: none;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
}

.hero .eyebrow {
    color: #fca5a5;
}

.hero .lead-strong {
    color: #ffffff;
}

.gallery-section {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.filter-form-gallery {
    grid-template-columns: 1.6fr repeat(3, minmax(160px, 1fr)) auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.gallery-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.gallery-media-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, rgba(20, 33, 61, 0.14), rgba(15, 118, 110, 0.08));
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-media-fallback {
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    font-weight: 600;
}

.gallery-flag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.34rem 0.56rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #bb7f11, #8f1522);
}

.gallery-open {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    border: 0;
    background: rgba(20, 33, 61, 0.88);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    cursor: pointer;
}

.gallery-content {
    padding: 0.95rem;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.gallery-content h3 {
    margin-bottom: 0.45rem;
}

.badge-neutral {
    background: var(--surface-alt);
    color: var(--ink-soft);
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 16, 27, 0.68);
    backdrop-filter: blur(6px);
}

.gallery-modal-content {
    position: relative;
    margin: 3rem auto;
    width: min(980px, calc(100% - 2rem));
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #101a2f;
    color: #edf3ff;
    box-shadow: 0 24px 56px rgba(3, 6, 12, 0.45);
}

.gallery-modal-image {
    width: 100%;
    max-height: min(70vh, 760px);
    object-fit: contain;
    display: block;
    background: #0a1224;
}

.gallery-modal-copy {
    padding: 0.95rem 1.05rem 1.1rem;
}

.gallery-modal-copy h3 {
    margin-bottom: 0.4rem;
    color: #fff;
}

.gallery-modal-copy p {
    color: rgba(237, 243, 255, 0.86);
}

.gallery-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    border: 0;
    background: rgba(12, 16, 27, 0.8);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.4rem 0.65rem;
    cursor: pointer;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hero-home-grid {
    gap: 1.6rem;
}

.hero-copy {
    padding: 0.8rem 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 0.95rem;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    /*max-width: 10ch;*/
    font-size: clamp(2.2rem, 4.4vw, 4.2rem);
    line-height: 0.98;
    margin-bottom: 1rem;
}

.lead {
    max-width: 60ch;
    font-size: 0.98rem;
}

.lead + .lead {
    margin-top: 0.6rem;
}

.lead-strong {
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 600;
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.9rem 1.35rem;
    border-radius: 0.95rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, filter 260ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    box-shadow: 0 14px 26px rgba(94, 13, 22, 0.3);
}

.btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-nav {
    min-height: 2.9rem;
    padding: 0.72rem 1.05rem;
    font-size: 0.92rem;
}

.hero-actions .nav-cta {
    align-self: flex-start;
}

.hero-actions .nav-apply-toggle {
    min-width: 14.5rem;
    justify-content: space-between;
}

.hero-stack {
    display: grid;
    gap: 1rem;
}

.hero-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.hero-panel-featured {
    padding: 1.5rem;
}

.hero-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.status-dot::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #18b67c;
    box-shadow: 0 0 0 0.25rem rgba(24, 182, 124, 0.12);
}

.hero-panel h2 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    margin-bottom: 0.55rem;
}

.hero-panel-list {
    margin: 1.2rem 0 1.1rem;
    display: grid;
    gap: 0.8rem;
}

.hero-panel-list > div {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.list-label {
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-panel-list strong {
    color: #ffffff;
    font-size: 0.98rem;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    transition: color 220ms ease, transform 220ms ease;
}

.panel-link::after {
    content: '->';
    font-size: 0.88em;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.info-chip-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-chip-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.info-chip-card h3 {
    font-size: 1.2rem;
    margin: 0.45rem 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.metric-card {
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: 0 12px 28px rgba(17, 27, 49, 0.05);
}

.metric-card strong {
    display: block;
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1.1;
}

.metric-card span {
    display: block;
    margin-top: 0.35rem;
    color: var(--ink-muted);
    font-size: 0.83rem;
}

.hero-link-ribbon {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: 0 14px 38px rgba(17, 27, 49, 0.06);
    backdrop-filter: blur(14px);
}

.hero-link-ribbon a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3.25rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 33, 61, 0.06);
    text-decoration: none;
    text-align: center;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
}

.highlights {
    padding: 2.5rem 0 5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 1.7rem;
}

.section-heading-left {
    text-align: left;
}

.section-heading-between {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

.section-heading h2,
.section-copy h2,
.quick-links-copy h2,
.cta-band h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.7rem);
    line-height: 1.05;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.4rem;
    align-items: start;
}

.section-copy {
    padding-right: 1rem;
}

.bullet-stack {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.95rem;
}

.bullet-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(20, 33, 61, 0.07);
}

.bullet-row span {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.45rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #23a7d4);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cards-campus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-news {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    padding: 1.45rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(17, 27, 49, 0.04);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, border-color 260ms ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(17, 27, 49, 0.12);
    border-color: rgba(20, 33, 61, 0.15);
}

.card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
}

.card-index {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.feature-card::before,
.news-card::before {
    content: '';
    position: absolute;
    left: 1.45rem;
    right: 1.45rem;
    top: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #1d4ed8);
}

.campus-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-state {
    text-align: center;
    padding: 2.2rem;
    border-style: dashed;
}

.section-quick-links {
    padding-top: 0;
}

.quick-links-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.4rem;
    align-items: start;
    padding: 1.5rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(241, 245, 251, 0.9));
    box-shadow: var(--shadow-soft);
}

.quick-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-grid a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 7.25rem;
    padding: 1.1rem;
    text-decoration: none;
    color: var(--ink);
    border-radius: 1.1rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 260ms ease, color 220ms ease;
}

.quick-grid a span {
    color: var(--ink-muted);
    font-size: 0.88rem;
}

.cta-band {
    padding: 0 0 5rem;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.65rem 1.7rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
        linear-gradient(135deg, #12213b, #22345d);
    box-shadow: 0 28px 50px rgba(17, 27, 49, 0.18);
}

.cta-band h2,
.cta-band p {
    color: #f8fbff;
}

.cta-band p {
    max-width: 54ch;
    color: rgba(248, 251, 255, 0.78);
}

.cta-band-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.cta-band .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.site-footer {
    padding-top: 2.7rem;
    background:
        radial-gradient(circle at top right, rgba(35, 101, 255, 0.12), transparent 18%),
        #101b33;
    color: #e9eef9;
}

.site-footer p,
.site-footer h3,
.site-footer h4 {
    color: inherit;
}

.footer-eyebrow {
    color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.4fr 1fr 1fr;
    padding-bottom: 1.7rem;
}

.footer-grid > div {
    padding: 1rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 1rem 0 1.1rem;
}

.module-hero {
    padding-bottom: 2.8rem;
}

.module-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.module-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.08);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-success {
    background: rgba(15, 118, 110, 0.12);
    color: var(--accent);
}

.text-muted {
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.info-list {
    display: grid;
    gap: 0.7rem;
    margin-top: auto;
}

.info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.info-list strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
}

.info-list span {
    color: var(--ink);
    text-align: right;
    font-weight: 600;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.filter-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-chips a.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    border-color: transparent;
}

.featured-news-card {
    margin-bottom: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}

.detail-content {
    padding: 1.6rem;
}

.detail-sidebar {
    display: grid;
    gap: 1rem;
}

.content-block + .content-block {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.content-block ul,
.content-block ol {
    color: var(--ink-soft);
    line-height: 1.8;
}

.side-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.side-list a {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(246, 248, 252, 0.92);
    border: 1px solid rgba(20, 33, 61, 0.07);
    text-decoration: none;
}

.side-list strong,
.side-list span {
    display: block;
}

.side-list span {
    margin-top: 0.35rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.filter-toolbar {
    margin-bottom: 1.2rem;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: 0 14px 34px rgba(17, 27, 49, 0.06);
}

.filter-form input,
.filter-form select,
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(20, 33, 61, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font: inherit;
}

.filter-form input {
    flex: 1 1 260px;
}

.filter-form select {
    flex: 0 1 220px;
}

.inquiry-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.inquiry-form label {
    display: grid;
    gap: 0.35rem;
}

.inquiry-form label span {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-success,
.form-error {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
}

.form-success {
    background: rgba(15, 118, 110, 0.12);
    color: #0c5b54;
}

.form-error {
    background: rgba(143, 21, 34, 0.1);
    color: var(--brand-deep);
}

.pagination-wrap {
    margin-top: 1.6rem;
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.download-groups {
    display: grid;
    gap: 1.25rem;
}

.download-group h3 {
    margin-bottom: 0.8rem;
}

.fee-modern-hero {
    padding-bottom: 1.9rem;
}

.fee-modern-hero-head h1 {
    max-width: none;
}

.fee-modern-stats {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.fee-modern-stats article {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(20, 33, 61, 0.1);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 30px rgba(16, 22, 34, 0.08);
}

.fee-modern-stats span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.fee-modern-stats strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.fee-modern-page {
    padding: 0 0 3.2rem;
}

.fee-modern-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.fee-modern-sidebar {
    border-radius: 1.2rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px rgba(16, 22, 34, 0.08);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 102px;
    padding: 1rem;
}

.fee-modern-sidebar-head h2 {
    font-size: 1.35rem;
}

.fee-modern-sidebar-head p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.fee-modern-program-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
}

.fee-modern-program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.8rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(247, 249, 253, 0.9);
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
}

.fee-modern-program-item small {
    color: var(--ink-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.fee-modern-program-item.is-active {
    color: #fff;
    background: linear-gradient(135deg, #1c4e89, #2363a8);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(35, 99, 168, 0.28);
}

.fee-modern-program-item.is-active small {
    color: rgba(255, 255, 255, 0.8);
}

.fee-modern-content {
    border-radius: 1.25rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(16, 22, 34, 0.09);
    padding: 1.15rem;
}

.fee-modern-content-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.95rem;
}

.fee-modern-content-head h3 {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    color: #1a4f87;
}

.fee-modern-content-head .btn {
    min-height: 2.6rem;
    padding: 0.5rem 0.85rem;
}

.fee-modern-table-wrap {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.fee-modern-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.94rem;
}

.fee-modern-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.72rem 0.7rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, #1d4f88, #153e6a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fee-modern-table thead th:first-child {
    text-align: left;
    min-width: 230px;
}

.fee-modern-table tbody th,
.fee-modern-table tbody td {
    padding: 0.62rem 0.65rem;
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
    border-right: 1px solid rgba(20, 33, 61, 0.06);
}

.fee-modern-table tbody tr:nth-child(even) {
    background: rgba(244, 249, 255, 0.62);
}

.fee-modern-table tbody th {
    text-align: left;
    color: var(--ink);
    background: rgba(253, 250, 244, 0.88);
    position: sticky;
    left: 0;
    z-index: 1;
}

.fee-modern-table tbody td {
    text-align: center;
    color: #2b405f;
    font-weight: 600;
}

.fee-modern-table tfoot th,
.fee-modern-table tfoot td {
    padding: 0.7rem 0.65rem;
    text-align: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(180deg, #0f766e, #115e59);
    border-top: 2px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.fee-modern-table tfoot th {
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 1;
}

.fee-modern-empty {
    text-align: center;
    border: 1px dashed rgba(20, 33, 61, 0.2);
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.fee-modern-empty h3 {
    margin-bottom: 0.4rem;
}

.submit-story-shell {
    display: grid;
    gap: 1rem;
}

.submit-feedback {
    margin-bottom: 0.8rem;
    border-left: 5px solid transparent;
}

.submit-feedback-success {
    border-left-color: #1f7a4f;
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.82));
}

.submit-feedback-error {
    border-left-color: #9a2f2f;
    background: linear-gradient(120deg, rgba(143, 21, 34, 0.12), rgba(255, 255, 255, 0.82));
}

.submit-feedback h3 {
    margin-bottom: 0.3rem;
}

.submit-feedback ul {
    margin-top: 0.55rem;
    padding-left: 1.25rem;
    color: var(--ink-soft);
}

.submit-feedback-meta {
    margin-top: 0.45rem;
    color: var(--ink);
    font-weight: 700;
}

.submit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    gap: 1rem;
    align-items: start;
}

.submit-story-form {
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.92));
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: var(--shadow-card);
}

.submit-form-head {
    margin-bottom: 1.15rem;
}

.submit-form-head h2 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    margin-bottom: 0.35rem;
}

.submit-grid {
    display: grid;
    gap: 0.95rem;
}

.submit-block {
    border: 1px solid rgba(20, 33, 61, 0.08);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.86));
    padding: 1.05rem;
    box-shadow: 0 14px 30px rgba(17, 27, 49, 0.04);
}

.submit-block h3 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
    color: #172c4a;
}

.submit-block h3::after {
    content: '';
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), rgba(143, 21, 34, 0.15));
}

.submit-block-head {
    margin-bottom: 0.75rem;
}

.submit-block-head p {
    font-size: 0.9rem;
}

.submit-field-grid {
    display: grid;
    gap: 0.72rem;
}

.submit-field-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.submit-field {
    display: grid;
    gap: 0.35rem;
}

.submit-field > span {
    color: var(--ink);
    font-size: 0.87rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.submit-static-chip {
    display: grid;
    gap: 0.2rem;
    align-content: center;
    min-height: 3.1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(20, 33, 61, 0.1);
    background: linear-gradient(135deg, rgba(245, 248, 255, 0.95), rgba(255, 246, 246, 0.95));
}

.submit-static-chip span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    font-weight: 700;
}

.submit-static-chip strong {
    color: var(--ink);
    font-size: 0.92rem;
}

.submit-field input,
.submit-field select,
.submit-field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(20, 33, 61, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.submit-field input:hover,
.submit-field select:hover,
.submit-field textarea:hover {
    border-color: rgba(143, 21, 34, 0.28);
    background: #fff;
}

.submit-field textarea {
    min-height: 7rem;
    resize: vertical;
}

.submit-field input[type='file'] {
    min-height: auto;
    padding: 0.55rem 0.65rem;
    background: rgba(246, 249, 255, 0.94);
}

.submit-field input:focus,
.submit-field select:focus,
.submit-field textarea:focus {
    outline: none;
    border-color: rgba(29, 78, 216, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.12);
    background: #fff;
}

.submit-image-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.submit-image-item {
    padding: 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(247, 250, 255, 0.86);
    display: grid;
    gap: 0.5rem;
}

.submit-image-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.submit-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(15, 118, 110, 0.2);
    background: rgba(223, 244, 239, 0.55);
    font-weight: 600;
    color: #114b46;
}

.submit-confirmation input[type='checkbox'] {
    margin-top: 0.25rem;
}

.submit-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.submit-sidebar {
    display: grid;
    gap: 0.9rem;
    position: sticky;
    top: 96px;
}

.submit-sidebar-card {
    padding: 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(17, 27, 49, 0.05);
}

.submit-sidebar-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
}

.submit-checklist {
    margin: 0.2rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.submit-checklist li {
    color: var(--ink-soft);
}

.submit-theme-card {
    background:
        radial-gradient(circle at 80% 10%, rgba(143, 21, 34, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.94);
}

.submit-form-head p,
.submit-sidebar-card p,
.submit-checklist li {
    color: var(--ink-soft);
}

.submit-form-head h2 {
    color: var(--ink);
}

.submit-theme-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.7rem 0 0.65rem;
}

.submit-theme-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.submit-theme-pills span:nth-child(1) {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.submit-theme-pills span:nth-child(2) {
    background: linear-gradient(135deg, #8f1522, #5e0d16);
}

.submit-theme-pills span:nth-child(3) {
    background: linear-gradient(135deg, #0f766e, #115e59);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 24px 42px rgba(94, 13, 22, 0.28);
        filter: saturate(1.08);
    }

    .btn-ghost:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(20, 22, 37, 0.12);
        border-color: rgba(143, 21, 34, 0.22);
    }

    .panel-link:hover {
        color: var(--brand-deep);
        transform: translateX(3px);
    }

    .card:hover,
    .quick-grid a:hover,
    .hero-link-ribbon a:hover,
    .metric-card:hover,
    .info-chip-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 40px rgba(16, 22, 34, 0.12);
        border-color: rgba(143, 21, 34, 0.16);
    }

    .nav-menu a:hover,
    .dropdown-toggle:hover {
        transform: translateY(-1px);
    }
}

@media (hover: none), (pointer: coarse) {
    .btn,
    .card,
    .quick-grid a,
    .panel-link,
    .nav-menu a,
    .dropdown-toggle {
        transition-duration: 140ms;
    }
}

@media (max-width: 1180px) {
    .nav-wrap {
        grid-template-columns: auto auto;
    }

    .navbar-collapse {
        grid-column: 1 / -1;
        order: 3;
    }

    .nav-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-cta {
        justify-content: flex-end;
    }

    .hero-grid,
    .split-section,
    .quick-links-shell,
    .detail-grid,
    .submit-layout {
        grid-template-columns: 1fr;
    }

    .section-copy {
        padding-right: 0;
    }

    .submit-sidebar {
        position: static;
    }
}

@media (max-width: 1060px) {
    .nav-wrap {
        grid-template-columns: auto auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .nav-cta {
        display: none;
    }

    .navbar-collapse {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        border: 1px solid rgba(20, 33, 61, 0.1);
        border-radius: 1.1rem;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        box-shadow: 0 20px 34px rgba(0, 0, 0, 0.1);
        padding: 0.6rem;
        display: none;
    }

    .navbar-collapse.open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu a,
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0.35rem;
        background: rgba(245, 248, 253, 0.9);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        padding-top: 4.1rem;
    }

    .hero-metrics,
    .hero-link-ribbon,
    .feature-grid,
    .cards,
    .gallery-grid,
    .quick-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-form-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-modal-content {
        margin-top: 2.2rem;
    }

    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .submit-image-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body::before {
        background-size: 48px 48px;
        opacity: 0.24;
    }

    .container {
        width: min(100% - 1.2rem, 1240px);
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-meta {
        justify-content: flex-start;
        gap: 0.7rem 1rem;
    }

    .nav-wrap {
        grid-template-columns: auto auto;
    }

    .brand-text {
        max-width: 12rem;
        font-size: 0.98rem;
    }

    .hero {
        padding-top: 3.2rem;
        padding-bottom: 1.6rem;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2rem, 8.8vw, 3rem);
    }

    .hero-panel,
    .card,
    .quick-links-shell,
    .cta-band-inner,
    .detail-content {
        padding: 1.2rem;
    }

    .hero-metrics,
    .hero-link-ribbon,
    .feature-grid,
    .cards,
    .gallery-grid,
    .quick-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filter-form-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-modal-content {
        width: calc(100% - 1rem);
        margin-top: 1.2rem;
    }

    .cta-band-inner {
        align-items: flex-start;
    }

    .module-card-meta,
    .info-list > div {
        align-items: flex-start;
    }

    .info-list > div {
        flex-direction: column;
    }

    .fee-modern-stats,
    .fee-modern-layout {
        grid-template-columns: 1fr;
    }

    .fee-modern-sidebar {
        position: static;
    }

    .fee-modern-content {
        padding: 0.8rem;
    }

    .fee-modern-content-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit-story-form,
    .submit-sidebar-card,
    .submit-block {
        padding: 0.95rem;
    }

    .submit-story-form {
        border-radius: 1.1rem;
    }

    .submit-actions {
        justify-content: stretch;
    }

    .submit-actions .btn {
        width: 100%;
    }

    .submit-field-grid-two {
        grid-template-columns: 1fr;
    }

    .fee-modern-table {
        min-width: 640px;
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal.is-visible,
    .parallax-layer,
    .btn,
    .card,
    .quick-grid a,
    .panel-link,
    .nav-menu a,
    .dropdown-toggle,
    .site-header {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }
}
