/* ============================================================================
   Landing — the public branch site. Warm paper, bold ink hero, editorial grid.
   ========================================================================= */

.site {
    position: relative;
    background: var(--paper);
    overflow-x: clip;
}
.site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    padding: 0.8rem 1.2rem;
    background: var(--ink);
    color: #fff;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Top navigation -------------------------------------------------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-block: 1.1rem;
}
html.is-scrolled .nav {
    background: rgba(241, 237, 228, 0.82);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav__progress {
    position: absolute;
    left: 0; bottom: -1px;
    height: 2px;
    width: var(--scroll);
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--blue-deep));
    transition: width 0.1s linear;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand__logo { height: 44px; width: auto; display: block; }
@media (max-width: 640px) { .brand__logo { height: 36px; } }
.brand__mark { width: 34px; height: 34px; color: var(--blue); flex: none; }
.brand__mark svg,
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--ink-muted); text-transform: uppercase; font-weight: 400; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav__links a {
    position: relative;
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(233, 238, 248, 0.9);
    border-radius: var(--r-pill);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.28rem;
    height: 1.5px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.75rem; animation: cta-breathe 3.2s ease-in-out infinite; }
@keyframes cta-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 98, 155, 0); }
    50% { box-shadow: 0 0 0 9px rgba(0, 98, 155, 0.16); }
}

html.is-scrolled .nav__links a { color: var(--ink-soft); }
html.is-scrolled .nav__links a:hover { color: var(--ink); }

.nav__toggle { display: none; }

@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        inset: 0 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 6rem var(--gutter) 2rem;
        background: var(--paper-2);
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        transition: transform 0.5s var(--ease);
        max-height: 100vh;
        overflow-y: auto;
    }
    .nav__links.is-open { transform: none; }
    .nav__links a { padding: 1rem 0.5rem; font-size: 1.15rem; border-radius: var(--r-sm); border-bottom: 1px solid var(--line); color: var(--ink-soft); }
    .nav__links a:hover { color: var(--ink); }
    .nav__cta { margin: 1rem 0 0; }
    .nav__toggle {
        display: inline-grid;
        place-items: center;
        width: 44px; height: 44px;
        margin-left: auto;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-pill);
        color: var(--ink);
    }
} 

/* ---- Hero ------------------------------------------------------------ */

.hero {
    position: relative;
    background: var(--ink);
    color: var(--paper-2);
    padding-top: clamp(120px, 16vh, 190px);
    padding-bottom: clamp(60px, 9vw, 110px);
    overflow: hidden;
    border-radius: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero .eyebrow { color: var(--mint); }
.hero .eyebrow::before { background: var(--mint); }
.hero__title {
    font-size: clamp(2.9rem, 4.4vw, 4.2rem);
    line-height: 0.94;
    color: #fff;
    margin-block: 1.1rem 1.4rem;
}
.hero__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(105deg, #2F9BD9, var(--blue-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.hero__lede { color: rgba(233, 238, 248, 0.72); max-width: 46ch; margin-inline: auto; font-size: clamp(1.02rem, 1vw, 1.22rem); }
.hero__actions { margin-top: 1rem; justify-content: center; }
.hero .btn--ghost { --btn-fg: #fff; --btn-line: rgba(255,255,255,0.28); }
.hero .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-line: #fff; }
.hero__meta {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__meta div { display: flex; flex-direction: column; gap: 0.1rem; }
.hero__meta b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.hero__meta span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(233,238,248,0.55); }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}
.orb--sky { width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,110,185,0.8), transparent 68%); top: -120px; right: -60px; animation: drift 16s var(--ease) infinite alternate; }
.orb--blue { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,98,155,0.75), transparent 70%); bottom: -220px; left: -120px; animation: drift 22s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

/* Faded snapshots of past events, drifting behind the hero like memories on the wind. */
.hero__memories {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.hero__memory {
    position: absolute;
    display: block;
    width: clamp(72px, 8vw, 132px);
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.15;
    filter: grayscale(45%) brightness(1.05) blur(0.4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    animation: wind var(--dur, 26s) var(--ease) infinite alternate;
    animation-delay: var(--delay, 0s);
    will-change: transform;
}
.hero__memory img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes wind {
    from { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
    to { transform: translate3d(var(--wx, 26px), var(--wy, -18px), 0) rotate(calc(var(--rot, 0deg) + 4deg)); }
}

.hero__memory:nth-child(1) { top: 12%; left: 4%;   --dur: 27s; --delay: -3s;  --rot: -6deg; --wx: 30px;  --wy: -16px; }
.hero__memory:nth-child(2) { top: 6%;  right: 6%;  --dur: 31s; --delay: -8s;  --rot: 5deg;  --wx: -26px; --wy: 20px; }
.hero__memory:nth-child(3) { top: 44%; left: 3%;   --dur: 23s; --delay: -14s; --rot: 3deg;  --wx: 22px;  --wy: 14px; width: clamp(60px, 6.5vw, 106px); }
.hero__memory:nth-child(4) { top: 38%; right: 3%;  --dur: 29s; --delay: -5s;  --rot: -4deg; --wx: -24px; --wy: -18px; }
.hero__memory:nth-child(5) { bottom: 10%; left: 12%;  --dur: 35s; --delay: -18s; --rot: 7deg;  --wx: 28px;  --wy: -22px; width: clamp(58px, 6vw, 100px); }
.hero__memory:nth-child(6) { bottom: 14%; right: 10%; --dur: 25s; --delay: -10s; --rot: -8deg; --wx: -32px; --wy: 18px; }
.hero__memory:nth-child(7) { top: 28%; left: 13%;  --dur: 33s; --delay: -21s; --rot: 4deg;  --wx: 18px;  --wy: 20px;  width: clamp(56px, 5.5vw, 92px); }
.hero__memory:nth-child(8) { top: 24%; right: 12%; --dur: 24s; --delay: -7s;  --rot: -5deg; --wx: -20px; --wy: 16px;  width: clamp(56px, 5.5vw, 92px); }

@media (max-width: 900px) {
    .hero__memory:nth-child(n+6) { display: none; }
}
@media (max-width: 640px) {
    .hero__memory { display: none; }
}

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(233,238,248,0.5); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(rgba(233,238,248,0.6), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 900px) {
    .scroll-cue { display: none; }
}

/* ---- Marquee band ---------------------------------------------------- */

.band {
    background: var(--ink);
    color: var(--paper-2);
    border-block: 1px solid rgba(255,255,255,0.08);
    padding-block: 1.1rem;
    position: relative;
    z-index: 2;
}
.band__item { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; color: rgba(233,238,248,0.85); }
.band__item span { font-size: 0.8rem; color: var(--blue); }
.band__item:nth-child(odd) span { color: var(--violet); }
.band--alt { background: var(--blue-deep); }

/* ---- Section head ---------------------------------------------------- */

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 18ch; }
.section-head p { color: var(--ink-muted); max-width: 46ch; }
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---- Stats ----------------------------------------------------------- */

.stats { position: relative; z-index: 2; }
.stat { border-top: 1.5px solid var(--ink); padding-top: 1.2rem; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-muted); }
.stat--mint b { color: var(--mint-deep); }
.stat--blue b { color: var(--blue); }
.stat--coral b { color: var(--coral); }
.stat--violet b { color: var(--violet); }

/* ---- About / editorial ---------------------------------------------- */

.about {
    position: relative;
    z-index: 2;
    background: var(--paper-2);
    border-block: 1px solid var(--line);
}
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.quote::before { content: "\201C"; color: var(--coral); font-size: 1.4em; line-height: 0; vertical-align: -0.35em; margin-right: 0.05em; }
.principles { counter-reset: p; display: grid; gap: 0; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); align-items: start; }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__no { counter-increment: p; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-muted); padding-top: 0.2rem; }
.principle__no::before { content: "0" counter(p); }
.principle h4 { margin-bottom: 0.3rem; }
.principle p { color: var(--ink-muted); font-size: 0.94rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---- Chapters -------------------------------------------------------- */

.chapters { position: relative; z-index: 2; }
.chapters .section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.chapters .section-head h2 { max-width: none; }
.chapters .section-head p { max-width: 54ch; }

.chapters__map {
    --medal: clamp(120px, 15vw, 172px);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(2.5rem, 8vw, 7rem);
    margin-top: clamp(1rem, 3vw, 2.5rem);
}
.chapters__map::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(var(--medal) / 2);
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 68%);
    border-top: 2px dashed var(--line-strong);
}

.chapters__hub {
    position: absolute;
    z-index: 3;
    top: calc(var(--medal) / 2);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
}
.chapters__node {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    box-shadow: 0 0 0 9px var(--paper), 0 0 0 10px var(--line-strong), 0 20px 40px -18px rgba(2, 43, 76, 0.55);
}
.chapters__node img { width: 44px; height: 44px; }
.chapters__node-label {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.chapter {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.chapter--cs { --chapter-accent: var(--blue); --chapter-tint: rgba(0, 98, 155, 0.10); --chapter-line: rgba(0, 98, 155, 0.30); }
.chapter--cis { --chapter-accent: var(--violet); --chapter-tint: rgba(108, 92, 231, 0.12); --chapter-line: rgba(108, 92, 231, 0.32); }

.chapter__medal {
    position: relative;
    width: var(--medal);
    height: var(--medal);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s var(--ease);
}
.chapter__medal::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 28%, var(--chapter-tint), transparent 70%);
    pointer-events: none;
}
.chapter__medal img {
    position: relative;
    z-index: 1;
    width: 64%;
    height: 64%;
    object-fit: contain;
}
.chapter__ring {
    position: absolute;
    inset: -11px;
    border-radius: 50%;
    border: 2px dashed var(--chapter-line);
    opacity: 0.6;
    transition: opacity 0.4s var(--ease);
    animation: chapter-spin 26s linear infinite;
}
.chapter--cis .chapter__ring { animation-direction: reverse; }
.chapter:hover .chapter__medal { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 1px var(--chapter-line); }
.chapter:hover .chapter__ring { opacity: 1; }

@keyframes chapter-spin { to { transform: rotate(360deg); } }

.chapter__code {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--chapter-accent);
}
.chapter h3 { margin-top: 0.4rem; font-size: clamp(1.25rem, 2vw, 1.6rem); max-width: 24ch; }
.chapter p { margin-top: 0.65rem; max-width: 44ch; color: var(--ink-muted); font-size: 0.95rem; }

.chapter__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.15rem; padding: 0; list-style: none; }
.chapter__chips li {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4em 0.85em;
    border-radius: var(--r-pill);
    color: var(--chapter-accent);
    background: var(--chapter-tint);
    border: 1px solid var(--chapter-line);
}

@media (max-width: 760px) {
    .chapters__map { grid-template-columns: 1fr; gap: 3rem; }
    .chapters__map::before, .chapters__hub { display: none; }
}

/* ---- Events ---------------------------------------------------------- */

.events { position: relative; z-index: 2; background: var(--ink); color: var(--paper-2); border-radius: clamp(28px,5vw,64px); margin-inline: clamp(0px, 2vw, 24px); }
.events .eyebrow { color: var(--mint); }
.events .eyebrow::before { background: var(--mint); }
.events h2 { color: #fff; }
.events .section-head p { color: rgba(233,238,248,0.6); }
.event {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1.4rem;
    align-items: center;
    padding: 1.3rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.event:hover { transform: translateX(6px); background: rgba(255,255,255,0.06); border-color: rgba(0, 98, 155, 0.5); }
.event__media { width: 96px; height: 72px; border-radius: var(--r-sm); overflow: hidden; background: linear-gradient(135deg, var(--blue-deep), var(--violet)); flex: none; }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__date { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.35rem; }
.event__date b { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.event__date span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); }
.event h4 { color: #fff; font-size: 1.2rem; }
.event p { color: rgba(233,238,248,0.55); font-size: 0.86rem; }
.event__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.event__fee { font-family: var(--font-display); font-weight: 600; color: #fff; }
@media (max-width: 700px) {
    .event { grid-template-columns: 72px 1fr; }
    .event__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .event__media { width: 72px; height: 60px; }
}

/* ---- Team ------------------------------------------------------------ */

.team { position: relative; z-index: 2; }
.member { text-align: center; padding: 1.6rem 1rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member .avatar { margin: 0 auto 0.9rem; }
.member h4 { font-size: 1.02rem; }
.member span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

/* ---- CTA ------------------------------------------------------------- */

.cta { position: relative; z-index: 2; }
.cta__panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--blue-deep);
    color: #fff;
    padding: clamp(2.5rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    align-items: center;
}
.cta__panel::after {
    content: "";
    position: absolute;
    width: 620px; height: 620px;
    right: -180px; top: -220px;
    background: radial-gradient(circle, rgba(0, 98, 155, 0.55), transparent 65%);
    filter: blur(20px);
}
.cta__panel h2 { color: #fff; }
.cta__panel p { color: rgba(233,238,248,0.75); max-width: 48ch; }
.cta__panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--violet), var(--blue-deep));
    background-size: 300% 100%;
    animation: pan 9s linear infinite;
}
.cta__aside { position: relative; z-index: 1; display: grid; gap: 0.7rem; }
.cta__chip { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; border-radius: var(--r); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); font-size: 0.92rem; }
.cta__chip svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
@media (max-width: 800px) { .cta__panel { grid-template-columns: 1fr; } }

/* ---- Footer ---------------------------------------------------------- */

.footer { position: relative; z-index: 2; background: var(--ink); color: rgba(233,238,248,0.7); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: clamp(3rem, 6vw, 6rem); border-radius: clamp(28px,5vw,64px) clamp(28px,5vw,64px) 0 0; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h5 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: 1rem; font-weight: 500; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; margin-bottom: 1rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---- About collage --------------------------------------------------- */

.about__media { position: relative; margin-top: 2rem; }
.collage {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.7rem;
    height: clamp(320px, 40vw, 460px);
}
.collage__shot { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
.collage__shot:first-child { grid-row: 1 / span 2; }
.collage__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.collage__shot:hover img { transform: scale(1.06); }
.collage__badge {
    position: absolute;
    left: -14px; bottom: -18px;
    padding: 1rem 1.3rem;
    border-radius: var(--r);
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 2;
}
.collage__badge b { font-family: var(--font-display); font-size: 1.7rem; display: block; line-height: 1; }
.collage__badge span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }

/* ---- Moments (gallery) ----------------------------------------------- */

.moments { background: var(--paper-2); border-block: 1px solid var(--line); }
.gallery { columns: 3; column-gap: 1rem; }
.shot { position: relative; break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.shot img { width: 100%; display: block; transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot__cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem 1.1rem 1rem;
    background: linear-gradient(transparent, rgba(6, 10, 20, 0.82));
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.shot:hover .shot__cap { opacity: 1; transform: none; }
@media (max-width: 940px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

/* ---- Watch (film) ---------------------------------------------------- */

.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.film {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: pointer;
    text-align: left;
    padding: 0;
}
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.film:hover img { transform: scale(1.05); }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,20,0.05), rgba(6,10,20,0.72)); }
.film__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 66px; height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
    z-index: 2;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.film__play svg { width: 26px; height: 26px; margin-left: 3px; }
.film:hover .film__play { transform: scale(1.12); background: var(--blue); }
.film__meta { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; color: #fff; }
.film__meta b { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.film__meta span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 640px) { .film-grid { grid-template-columns: 1fr; } }

/* ---- Lightbox -------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: var(--gutter);
    background: rgba(4, 7, 14, 0.92);
    backdrop-filter: blur(10px);
    animation: fade 0.25s var(--ease);
}
.lightbox__frame { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lift); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close {
    position: absolute;
    top: -52px; right: 0;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
