:root {
    --primary: #7b1020;
    --primary-dark: #4d0913;
    --accent: #f59e0b;
    --accent-soft: #ffd89d;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-muted: #fff9f3;
    --text-dark: #171717;
    --text-soft: #5b5560;
    --text-light: #f5f0eb;
    --line: rgba(123, 16, 32, 0.1);
    --shadow-soft: 0 18px 45px rgba(53, 18, 24, 0.08);
    --shadow-strong: 0 24px 60px rgba(53, 18, 24, 0.16);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --nav-height: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(123, 16, 32, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, #fcf7f1 46%, #fffaf6 100%);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.page-blur {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    z-index: -1;
}

.member-float-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 220px;
    padding: 22px 16px;
    border-radius: 26px 0 0 26px;
    background: linear-gradient(135deg, var(--primary), #a91d2f);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-right: none;
    box-shadow: 0 20px 38px rgba(123, 16, 32, 0.26);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.03em;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-float-btn i {
    transform: rotate(90deg);
    font-size: 1.05rem;
    opacity: 0.92;
}

.member-float-btn:hover {
    transform: translateY(-50%) translateX(-4px);
    box-shadow: 0 24px 40px rgba(123, 16, 32, 0.32);
}

.blur-one {
    top: -80px;
    left: -80px;
    background: rgba(245, 158, 11, 0.35);
}

.blur-two {
    right: -120px;
    top: 20%;
    background: rgba(123, 16, 32, 0.22);
}

.container,
.container-wide {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.container-wide {
    width: min(1260px, calc(100% - 40px));
}

.section {
    padding: 110px 0;
    position: relative;
}

.secondary-bg {
    background: linear-gradient(180deg, rgba(255, 245, 236, 0.7) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.section-shell {
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    border-radius: 36px;
    padding: 40px;
    backdrop-filter: blur(18px);
}

.tag,
.eyebrow,
.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
}

.tag,
.eyebrow {
    color: var(--primary);
    margin-bottom: 18px;
}

.section-heading h2,
.hero-text h1,
.popup-card h3 {
    font-family: 'Cormorant Garamond', serif;
}

.section-heading h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.95;
    margin-bottom: 18px;
}

.section-heading p,
.hero-text p,
.story-card p,
.event-info p,
.vision-card p,
.footer p,
.popup-card p {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 1rem;
}

.narrow {
    max-width: 760px;
    margin: 0 auto 48px;
}

.text-center {
    text-align: center;
}

.maroon-text {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(120deg, var(--primary) 0%, #c2410c 48%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1260px, calc(100% - 40px));
    padding: 18px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 50px rgba(40, 18, 22, 0.08);
    z-index: 1000;
    transition: width 0.35s ease, top 0.35s ease, border-radius 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.glass-nav.nav-scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(40, 18, 22, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(123, 16, 32, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 84px) 0 80px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(255, 250, 246, 0.88), rgba(255, 250, 246, 0.18)),
        url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&q=80') center/cover;
}

.inner-page-hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 110px) 0 80px;
    display: flex;
    align-items: center;
}

.coming-shell {
    position: relative;
    width: 100%;
    padding: 44px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.coming-shell::before {
    content: '';
    position: absolute;
    inset: auto -10% -35% auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 66%);
}

.coming-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
    gap: 30px;
    align-items: center;
}

.coming-copy h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.4rem, 8vw, 5.4rem);
    line-height: 0.92;
    margin-bottom: 20px;
}

.coming-copy p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-soft);
    margin-bottom: 28px;
}

.coming-points {
    display: grid;
    gap: 14px;
}

.coming-points article {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(123, 16, 32, 0.05);
    border: 1px solid rgba(123, 16, 32, 0.08);
}

.coming-points strong {
    display: block;
    margin-bottom: 6px;
}

.coming-sidecard {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(123, 16, 32, 0.95), rgba(77, 9, 19, 0.92));
    color: var(--text-light);
    box-shadow: var(--shadow-strong);
}

.coming-sidecard h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.coming-sidecard p {
    color: rgba(245, 240, 235, 0.86);
    line-height: 1.8;
    margin-bottom: 20px;
}

.coming-sidecard ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.coming-sidecard li {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 248, 241, 0.84) 72%, #fffaf6 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 720px;
}

.hero-text h1 {
    font-size: clamp(3.8rem, 8vw, 6.4rem);
    line-height: 0.9;
    margin-bottom: 22px;
    letter-spacing: -0.04em;
}

.hero-text p {
    max-width: 620px;
    font-size: 1.1rem;
    margin-bottom: 34px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-panel {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-strong);
}

.hero-stat-card {
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(123, 16, 32, 0.95), rgba(77, 9, 19, 0.9));
    color: var(--text-light);
    margin-bottom: 22px;
}

.hero-stat-card span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 10px;
}

.hero-stat-card strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.3;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-stat-grid article {
    padding: 20px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(123, 16, 32, 0.08);
}

.hero-stat-grid h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.hero-stat-grid p {
    color: var(--text-soft);
    line-height: 1.5;
    font-size: 0.92rem;
}

.ticker-wrap {
    position: relative;
    background: #13070a;
    color: #fff7ef;
    overflow: hidden;
    border-block: 1px solid rgba(245, 158, 11, 0.22);
}

.ticker {
    display: flex;
    width: max-content;
    white-space: nowrap;
    padding: 16px 0;
    animation: ticker 28s linear infinite;
}

.ticker-item {
    margin-right: 48px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
}

.split-layout,
.institute-layout,
.section-top,
.footer-content {
    display: grid;
    gap: 30px;
}

.split-layout,
.institute-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.story-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 238, 0.96));
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
}

.info-points {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.info-points article {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(123, 16, 32, 0.04);
}

.info-points i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #a91d2f);
    color: white;
    box-shadow: 0 12px 20px rgba(123, 16, 32, 0.18);
}

.info-points h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.info-points p,
.mini-stats span,
.card-list li,
.footer-links a {
    font-size: 0.96rem;
    color: var(--text-soft);
}

.campus-visual {
    position: relative;
    min-height: 520px;
}

.campus-image-card {
    position: absolute;
    border-radius: 32px;
    box-shadow: var(--shadow-strong);
    border: 8px solid rgba(255, 255, 255, 0.72);
    background-size: cover;
    background-position: center;
}

.image-one {
    inset: 0 18% 14% 0;
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&q=80');
}

.image-two {
    width: 46%;
    height: 52%;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80');
}

.mini-stats {
    margin-top: 26px;
    display: grid;
    gap: 16px;
}

.mini-stats article {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(53, 18, 24, 0.06);
    border: 1px solid rgba(123, 16, 32, 0.08);
}

.mini-stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.section-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-bottom: 36px;
}

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

.event-card,
.vision-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(123, 16, 32, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.event-card:hover,
.vision-card:hover,
.gallery-pattern div:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.event-img {
    height: 280px;
    background-size: cover;
    background-position: center;
}

.event-info {
    padding: 24px;
}

.card-badge {
    color: var(--primary);
    margin-bottom: 12px;
}

.event-info h3,
.vision-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.sponsor-shell {
    display: grid;
    gap: 36px;
}

.logo-marquee {
    overflow: hidden;
    padding: 10px 0;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: marquee 26s linear infinite;
}

.logo-pill {
    min-width: 180px;
    padding: 22px 24px;
    text-align: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(123, 16, 32, 0.08);
    box-shadow: 0 12px 25px rgba(53, 18, 24, 0.06);
    font-weight: 700;
    color: var(--primary-dark);
}

.gallery-pattern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 18px;
}

.gallery-pattern div {
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-pattern div::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(19, 7, 10, 0.24) 100%);
}

.gallery-pattern .tall {
    grid-row: span 2;
}

.gallery-pattern .wide {
    grid-column: span 2;
}

.leadership-grid .vision-card {
    padding: 34px 28px;
}

.icon-box {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    margin-bottom: 22px;
    font-size: 1.75rem;
    color: white;
    background: linear-gradient(135deg, var(--primary), #c2410c);
    box-shadow: 0 18px 30px rgba(123, 16, 32, 0.18);
}

.card-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.card-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(123, 16, 32, 0.05);
}

.btn-fill,
.btn-outline,
.prime-btn,
.full-width {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-fill,
.prime-btn,
.full-width {
    color: white;
    background: linear-gradient(135deg, var(--primary), #a91d2f);
    box-shadow: 0 16px 28px rgba(123, 16, 32, 0.2);
}

.btn-outline {
    color: var(--primary);
    border: 1.5px solid rgba(123, 16, 32, 0.22);
    background: rgba(255, 255, 255, 0.7);
}

.btn-fill:hover,
.btn-outline:hover,
.prime-btn:hover,
.full-width:hover {
    transform: translateY(-2px);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(18, 11, 12, 0.58);
    backdrop-filter: blur(12px);
    z-index: 1200;
    overflow-y: auto;
}

.popup-overlay.active {
    display: flex;
}

.popup-card {
    width: min(520px, 100%);
    max-height: min(88vh, 980px);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow-y: auto;
}

.popup-card-wide {
    width: min(860px, 100%);
}

.popup-card h3 {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 14px;
}

.popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(123, 16, 32, 0.08);
    color: var(--primary);
}

.popup-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.popup-form label {
    display: grid;
    gap: 10px;
}

.popup-form span {
    font-size: 0.94rem;
    font-weight: 600;
}

.popup-form input {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(123, 16, 32, 0.14);
    background: #fff;
    outline: none;
}

.popup-form input[type="date"] {
    padding-right: 18px;
}

.popup-form select,
.popup-form textarea {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(123, 16, 32, 0.14);
    background: #fff;
    outline: none;
}

.popup-form input:focus {
    border-color: rgba(123, 16, 32, 0.4);
    box-shadow: 0 0 0 4px rgba(123, 16, 32, 0.08);
}

.popup-form select:focus,
.popup-form textarea:focus {
    border-color: rgba(123, 16, 32, 0.4);
    box-shadow: 0 0 0 4px rgba(123, 16, 32, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.full-span {
    grid-column: 1 / -1;
}

.form-status {
    min-height: 24px;
    color: var(--primary);
    font-size: 0.94rem;
    font-weight: 500;
}

.form-status.is-error {
    color: #b42318;
}

.form-status.is-success {
    color: #17663a;
}

.full-width {
    width: 100%;
}

.footer {
    padding: 80px 0 32px;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 20%),
        linear-gradient(180deg, #12070a 0%, #0b0406 100%);
    color: var(--text-light);
}

.footer-content {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    align-items: start;
    margin-bottom: 34px;
}

.footer-brand {
    max-width: 430px;
}

.footer-links h4 {
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(245, 240, 235, 0.72);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.dev-link:hover {
    color: #ffffff;
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(245, 240, 235, 0.6);
    font-size: 0.92rem;
}

.dev-link {
    color: var(--accent-soft);
    font-weight: 700;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .coming-layout,
    .split-layout,
    .institute-layout,
    .footer-content,
    .feature-grid.three-col {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 760px;
    }

    .campus-visual {
        min-height: 420px;
    }

    .section-top {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 860px) {
    :root {
        --nav-height: 76px;
    }

    .glass-nav {
        padding: 14px 18px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        display: grid;
        gap: 14px;
        padding: 20px;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(123, 16, 32, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .prime-btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 56px);
    }

    .member-float-btn {
        min-height: 200px;
        padding: 18px 14px;
    }

    .hero-text h1 {
        font-size: clamp(3rem, 12vw, 4.6rem);
    }

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

    .gallery-pattern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }

    .gallery-pattern .wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 82px 0;
    }

    .container,
    .container-wide,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .glass-nav {
        width: calc(100% - 24px);
        top: 12px;
    }

    .glass-nav.nav-scrolled {
        width: 100%;
        top: 0;
    }

    .nav-logo {
        font-size: 1.45rem;
    }

    .section-shell,
    .story-card,
    .popup-card {
        padding: 24px;
        border-radius: 24px;
    }

    .hero-btns,
    .hero-btns a,
    .btn-fill,
    .btn-outline {
        width: 100%;
    }

    .hero-btns {
        gap: 12px;
    }

    .event-img {
        height: 230px;
    }

    .coming-shell {
        padding: 24px;
        border-radius: 24px;
    }

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

    .gallery-pattern .wide,
    .gallery-pattern .tall {
        grid-column: auto;
        grid-row: auto;
    }

    .campus-visual {
        min-height: 320px;
    }

    .member-float-btn {
        left: 50%;
        top: auto;
        bottom: 18px;
        right: auto;
        transform: translateX(-50%);
        writing-mode: horizontal-tb;
        text-orientation: initial;
        width: min(420px, calc(100% - 24px));
        min-height: 58px;
        padding: 0 20px;
        justify-content: center;
        border-radius: 999px;
        border-right: 1px solid rgba(255, 255, 255, 0.34);
    }

    .member-float-btn i {
        transform: none;
    }

    .member-float-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }

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

    .popup-overlay {
        align-items: flex-start;
        padding: 72px 12px 100px;
    }

    .popup-card,
    .popup-card-wide {
        width: 100%;
        max-height: none;
    }

    .image-one {
        inset: 0 8% 10% 0;
    }

    .image-two {
        width: 52%;
        height: 48%;
    }

    .ticker-item {
        font-size: 0.78rem;
        margin-right: 28px;
    }
}
