/* =========================================================
   SYNAPSE '26
   STUDENT & HOSTEL COUNCIL
   FINAL CLEAN CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    background: #050505;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


body.menu-open {
    overflow: hidden;
}


a,
button {
    font-family: inherit;
}


/* =========================================================
   FIXED NAVBAR
========================================================= */

.council-navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    z-index: 1000;

    background: transparent;
}


.navbar-inner {
    width: min(1400px, 90%);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.council-navbar .logo {
    display: flex;

    align-items: center;

    color: #ffffff;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 0.12em;

    white-space: nowrap;

    position: relative;

    z-index: 1101;
}


.council-navbar .logo span {
    color: #888888;

    font-weight: 400;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.council-navbar .nav-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    margin-left: auto;

    margin-right: 25px;
}


.council-navbar .nav-links a {
    position: relative;

    color: #aaaaaa;

    text-decoration: none;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.16em;

    white-space: nowrap;

    transition:
        color 0.3s ease;
}


.council-navbar .nav-links a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: #ffffff;

    transition:
        width 0.3s ease;
}


.council-navbar .nav-links a:hover {
    color: #ffffff;
}


.council-navbar .nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   BACK HOME
========================================================= */

.council-navbar .back-home {
    padding:
        11px 16px;

    border:
        1px solid
        rgba(255,255,255,0.25);

    color: #ffffff;

    text-decoration: none;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.16em;

    white-space: nowrap;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.council-navbar .back-home:hover {
    background: #ffffff;

    color: #050505;

    border-color: #ffffff;
}


/* =========================================================
   HAMBURGER
========================================================= */

.council-navbar .menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    background: transparent;

    border:
        1px solid
        rgba(255,255,255,0.20);

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    z-index: 1102;
}


.council-navbar .menu-button span {
    display: block;

    width: 22px;
    height: 1px;

    margin: 3px 0;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   HAMBURGER → X
========================================================= */

.council-navbar
.menu-button.active
span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


.council-navbar
.menu-button.active
span:nth-child(2) {
    opacity: 0;
}


.council-navbar
.menu-button.active
span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.council-hero {
    position: relative;

    min-height: 470px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);

    background:
        radial-gradient(
            circle at center,
            #101317 0%,
            #070809 45%,
            #030303 100%
        );
}


/* =========================================================
   HERO GLOW
========================================================= */

.council-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(30,55,90,0.17),
            transparent 65%
        );

    pointer-events: none;
}


/* =========================================================
   HERO GRID
========================================================= */

.council-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size:
        60px 60px;

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: min(1000px, 90%);

    padding-top: 40px;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-bottom: 25px;

    color: #666666;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.45em;
}


.eyebrow span {
    width: 40px;

    height: 1px;

    background: #555555;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-content h1 {
    margin: 0;

    font-family:
        "Arial Black",
        Arial,
        sans-serif;

    font-size:
        clamp(
            55px,
            8vw,
            105px
        );

    line-height: 0.84;

    font-weight: 900;

    letter-spacing: -0.065em;
}


.hero-content h1 .white-text {
    color: #ffffff;
}


.hero-content h1 .grey-text {
    color: #666666;
}


/* =========================================================
   INSTITUTION
========================================================= */

.institution {
    margin-top: 18px;

    color: #555555;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.30em;

    line-height: 1.7;
}


/* =========================================================
   HERO NUMBER
========================================================= */

.hero-number {
    position: absolute;

    right: 4%;
    bottom: 0;

    z-index: 1;

    font-size:
        clamp(
            90px,
            13vw,
            170px
        );

    line-height: 0.8;

    font-weight: 900;

    color:
        rgba(255,255,255,0.025);

    pointer-events: none;
}


/* =========================================================
   MAIN
========================================================= */

.council-main {
    width: min(1200px, 92%);

    margin: auto;

    padding:
        85px 0
        120px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 50px;
}


.section-number {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,0.16);

    color: #777777;

    font-size: 8px;

    font-weight: 700;
}


.section-title > div:last-child {
    flex: 1;
}


.section-title span {
    display: block;

    margin-bottom: 7px;

    color: #555555;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.35em;
}


.section-title h2 {
    font-family:
        "Arial Black",
        Arial,
        sans-serif;

    font-size:
        clamp(
            25px,
            4vw,
            48px
        );

    line-height: 1;

    letter-spacing: -0.04em;
}


/* =========================================================
   POSITION SECTION
========================================================= */

.position-section {
    margin-bottom: 55px;
}


.position-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    color: #777777;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.30em;
}


.position-heading::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        rgba(255,255,255,0.08);
}


/* =========================================================
   MEMBER GRID
========================================================= */

.member-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    max-width: 780px;

    margin: auto;
}


.single-member .member-grid {
    grid-template-columns: 1fr;

    max-width: 370px;
}


/* =========================================================
   MEMBER CARD
========================================================= */

.member-card {
    position: relative;

    width: 100%;

    min-width: 0;

    overflow: hidden;

    background: #090909;

    border:
        1px solid
        rgba(255,255,255,0.08);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.member-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(0,168,255,0.45);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,0.40);
}


/* =========================================================
   MEMBER PHOTO
   FIXED 3 : 2
========================================================= */

.member-photo {
    position: relative;

    width: 100%;

    aspect-ratio: 3 / 2;

    height: auto;

    overflow: hidden;

    background: #111111;
}


.member-photo img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.7s ease;
}


.member-card:hover
.member-photo img {
    transform:
        scale(1.05);
}


/* =========================================================
   PHOTO NUMBER
========================================================= */

.photo-number {
    position: absolute;

    top: 13px;
    right: 13px;

    z-index: 3;

    color:
        rgba(255,255,255,0.72);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.20em;
}


/* =========================================================
   MEMBER INFO
   BELOW PHOTO
========================================================= */

.member-info {
    width: 100%;

    min-height: 92px;

    padding:
        17px 15px
        18px;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            #0c0c0c,
            #080808
        );
}


/* =========================================================
   POSITION
========================================================= */

.member-info span {
    display: block;

    margin-bottom: 7px;

    color: #00a8ff;

    font-size: 6px;

    font-weight: 700;

    letter-spacing: 0.25em;

    line-height: 1.3;
}


/* =========================================================
   NAME
========================================================= */

.member-info h3 {
    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            15px,
            1.6vw,
            20px
        );

    font-weight: 500;

    line-height: 1.2;

    letter-spacing: -0.01em;
}


/* =========================================================
   HOSTEL COUNCIL
========================================================= */

.hostel-council {
    padding-top: 80px;

    border-top:
        1px solid
        rgba(255,255,255,0.08);
}


/* =========================================================
   CLOSING
========================================================= */

.council-closing {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 80px;
}


.council-closing span {
    flex: 1;

    height: 1px;

    background:
        rgba(255,255,255,0.08);
}


.council-closing p {
    color: #555555;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.30em;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    padding:
        100px 5%
        30px;

    background: #030303;

    color: #ffffff;

    overflow: hidden;
}


.site-footer::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    bottom: -520px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(0,168,255,0.08),
            transparent 70%
        );

    pointer-events: none;
}


.site-footer::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

    pointer-events: none;
}


/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top {
    position: relative;

    z-index: 2;

    width: min(1400px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        0.8fr;

    gap: 60px;

    padding-bottom: 75px;

    border-bottom:
        1px solid #171717;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    max-width: 420px;
}


.footer-logo {
    color: #ffffff;

    font-family:
        "Arial Black",
        Arial,
        sans-serif;

    font-size:
        clamp(
            40px,
            5vw,
            65px
        );

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -0.06em;
}


.footer-logo span {
    color: #666666;

    font-weight: 300;
}


.footer-brand p {
    max-width: 330px;

    margin-top: 25px;

    color: #555555;

    font-size: 8px;

    line-height: 1.9;

    font-weight: 600;

    letter-spacing: 0.20em;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}


.footer-heading {
    margin-bottom: 10px;

    color: #555555;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.35em;
}


.footer-column a {
    position: relative;

    color: #777777;

    text-decoration: none;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.15em;

    transition:
        color 0.3s ease;
}


.footer-column a:hover {
    color: #ffffff;
}


.footer-column a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition:
        width 0.3s ease;
}


.footer-column a:hover::after {
    width: 100%;
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social a {
    color: #ffffff;
}


.footer-social span {
    color: #444444;

    font-size: 7px;

    letter-spacing: 0.15em;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;

    z-index: 2;

    width: min(1400px, 100%);

    margin:
        45px auto 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #3f3f3f;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.20em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .council-navbar .nav-links {
        gap: 16px;
    }

    .council-navbar .nav-links a {
        font-size: 7px;
    }

    .council-navbar .back-home {
        padding:
            10px 12px;

        font-size: 6px;
    }


    .member-grid {
        gap: 13px;
    }
}


/* =========================================================
   MOBILE NAVBAR
   FULL SCREEN — SAME AS ADVISORS
========================================================= */

@media (max-width: 900px) {

    .council-navbar {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;

        height: 80px;

        z-index: 1000;

        background: transparent;
    }


    .navbar-inner {
        width: 90%;

        height: 80px;
    }


    .council-navbar .logo {
        font-size: 17px;

        z-index: 1101;
    }


    .council-navbar .back-home {
        display: none;
    }


    /* =====================================================
       FULL SCREEN MENU
    ===================================================== */

    .council-navbar .nav-links {
        position: fixed;

        inset: 0;

        width: 100%;

        height: 100vh;

        height: 100dvh;

        margin: 0;

        padding:
            100px 10%
            50px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 0;

        background:

            radial-gradient(
                circle at 80% 15%,
                rgba(30,60,130,0.12),
                transparent 35%
            ),

            radial-gradient(
                circle at 15% 85%,
                rgba(150,0,0,0.14),
                transparent 40%
            ),

            #050505;

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-20px);

        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;

        z-index: 1000;

        overflow-y: auto;
    }


    .council-navbar
    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }


    /* =====================================================
       MOBILE LINKS
    ===================================================== */

    .council-navbar .nav-links a {
        position: relative;

        width: 100%;

        padding:
            15px 0;

        color: #888888;

        font-size: 22px;

        font-weight: 700;

        letter-spacing: 0.08em;

        border-bottom:
            1px solid
            rgba(255,255,255,0.08);

        transform:
            translateX(-20px);

        opacity: 0;

        transition:
            color 0.25s ease,
            transform 0.4s ease,
            opacity 0.4s ease;
    }


    .council-navbar
    .nav-links.active a {
        opacity: 1;

        transform:
            translateX(0);
    }


    /* =====================================================
       STAGGER
    ===================================================== */

    .council-navbar
    .nav-links.active
    a:nth-child(1) {
        transition-delay: 0.05s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(2) {
        transition-delay: 0.08s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(3) {
        transition-delay: 0.11s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(4) {
        transition-delay: 0.14s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(5) {
        transition-delay: 0.17s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(6) {
        transition-delay: 0.20s;
    }

    .council-navbar
    .nav-links.active
    a:nth-child(7) {
        transition-delay: 0.23s;
    }


    .council-navbar
    .nav-links a::after {
        display: none;
    }


    /* =====================================================
       HAMBURGER
    ===================================================== */

    .council-navbar .menu-button {
        display: flex;

        position: relative;

        z-index: 1102;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .council-hero {
        min-height: 410px;
    }


    .hero-content {
        width: 88%;

        padding-top: 35px;
    }


    .hero-content h1 {
        font-size: 52px;
    }


    /* =====================================================
       MAIN
    ===================================================== */

    .council-main {
        width: 92%;

        padding:
            65px 0
            85px;
    }


    /* =====================================================
       MEMBER GRID
       2 COLUMNS
    ===================================================== */

    .member-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    /* =====================================================
       PHOTO
       EXACT 3:2
    ===================================================== */

    .member-photo {
        width: 100%;

        height: auto;

        aspect-ratio: 3 / 2;
    }


    /* =====================================================
       INFO
       BELOW PHOTO
    ===================================================== */

    .member-info {
        min-height: 82px;

        padding:
            12px 8px
            13px;
    }


    .member-info span {
        margin-bottom: 5px;

        font-size: 5px;

        letter-spacing: 0.17em;
    }


    .member-info h3 {
        font-size: 12px;

        line-height: 1.12;
    }


    .photo-number {
        top: 8px;

        right: 8px;

        font-size: 5px;
    }


    /* =====================================================
       SECTION
    ===================================================== */

    .section-title {
        gap: 12px;

        margin-bottom: 35px;
    }


    .section-number {
        width: 38px;
        height: 38px;
    }


    .section-title h2 {
        font-size: 27px;
    }


    .position-section {
        margin-bottom: 42px;
    }


    .position-heading {
        font-size: 6px;

        letter-spacing: 0.22em;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .site-footer {
        padding:
            75px 7%
            25px;
    }


    .footer-top {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 55px;
    }


    .footer-logo {
        font-size: 48px;
    }


    .footer-brand p {
        font-size: 8px;

        max-width: 280px;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;

        gap: 12px;

        line-height: 1.5;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .council-navbar {
        height: 75px;
    }


    .navbar-inner {
        width: 86%;

        height: 75px;
    }


    .council-navbar .logo {
        font-size: 17px;
    }


    .council-navbar .nav-links {
        padding:
            100px 9%
            40px;
    }


    .council-navbar .nav-links a {
        font-size: 19px;

        padding:
            13px 0;
    }


    /* HERO */

    .council-hero {
        min-height: 390px;
    }


    .hero-content h1 {
        font-size: 48px;
    }


    .eyebrow {
        gap: 10px;

        font-size: 6px;

        letter-spacing: 0.25em;
    }


    .eyebrow span {
        width: 25px;
    }


    .institution {
        font-size: 6px;

        letter-spacing: 0.20em;
    }


    /* MAIN */

    .council-main {
        width: 92%;

        padding:
            55px 0
            70px;
    }


    .section-title {
        margin-bottom: 30px;
    }


    .section-number {
        width: 35px;
        height: 35px;

        font-size: 7px;
    }


    .section-title span {
        font-size: 5.5px;
    }


    .section-title h2 {
        font-size: 24px;
    }


    /* CARDS */

    .member-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .member-photo {
        aspect-ratio: 3 / 2;
    }


    .member-info {
        min-height: 78px;

        padding:
            10px 7px
            12px;
    }


    .member-info span {
        font-size: 4.5px;

        letter-spacing: 0.13em;
    }


    .member-info h3 {
        font-size: 10px;
    }


    .single-member .member-grid {
        max-width: 220px;
    }


    /* CLOSING */

    .council-closing {
        gap: 8px;

        margin-top: 55px;
    }


    .council-closing p {
        font-size: 4.5px;

        letter-spacing: 0.12em;
    }


    /* FOOTER */

    .site-footer {
        padding:
            70px 7%
            25px;
    }


    .footer-logo {
        font-size: 44px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .navbar-inner {
        width: 88%;
    }


    .council-navbar .logo {
        font-size: 15px;
    }


    .council-navbar .menu-button {
        width: 39px;
        height: 39px;
    }


    .council-navbar
    .nav-links a {
        font-size: 17px;

        padding:
            12px 0;
    }


    /* HERO */

    .council-hero {
        min-height: 370px;
    }


    .hero-content h1 {
        font-size: 43px;
    }


    /* CARDS */

    .member-grid {
        gap: 7px;
    }


    .member-info {
        min-height: 73px;

        padding:
            9px 6px
            10px;
    }


    .member-info span {
        font-size: 4px;
    }


    .member-info h3 {
        font-size: 8.5px;
    }


    .photo-number {
        top: 6px;

        right: 6px;

        font-size: 4.5px;
    }


    .footer-logo {
        font-size: 40px;
    }
}