/* =========================================================
   SIR — Suryawanshi INSTITUTE FOR RANKERS
   STORY-DRIVEN WEBSITE
   WHERE POTENTIAL FINDS DIRECTION
   ========================================================= */


/* =========================================================
   01 — ROOT
   ========================================================= */

:root {

    --sir-blue: #07152f;
    --sir-blue-2: #0b2148;
    --sir-blue-3: #12376f;   

    --sir-gold: #d7a62a;
    --sir-gold-light: #f0c75e;

    --white: #ffffff;
    --off-white: #f5f7fa;
    --soft-white: #dfe6f1;

    --text-dark: #101828;
    --text-muted: #667085;

    --black: #020711;

    --border-light: rgba(255,255,255,0.14);

    --max-width: 1240px;

    --header-height: 76px;

    --transition:
        0.35s cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   02 — RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--sir-blue);

    color: var(--white);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}


body.menu-open {
    overflow: hidden;
}


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


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


button {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   03 — GLOBAL CONTAINER
   ========================================================= */

.story-inner,
.story-content,
.header-inner,
.footer-inner {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}


/* =========================================================
   04 — HEADER
   ========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    z-index: 1000;

   background: #07152F;
);
border-bottom: 1px solid rgba(255,255,255,.08);
backdrop-filter: blur(18px);
    border-bottom:
        1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.header-inner {

    height: 100%;

    display: flex;

    align-items: center;

    gap: 28px;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    width: 86px;

    height: 76px;

    flex-shrink: 0;

    overflow: visible;

    z-index: 1002;
}


.brand img {

    display: block;

    width: 76px;

    height: 68px;

    max-width: none;

    object-fit: contain;

    transform: scale(1.18);

    transform-origin: center left;

    transition:
        transform var(--transition);
}


.brand:hover img {
    transform: scale(1.18);
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.main-nav {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 27px;

    height: 100%;
}


.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    height: 100%;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .13em;

    color:
        rgba(255,255,255,.72);

    transition:
        color var(--transition);
}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 20px;

    height: 2px;

    background: var(--sir-gold);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition);
}


.nav-link:hover,
.nav-link.active {

    color: var(--white);
}


.nav-link:hover::after,
.nav-link.active::after {

    transform:
        scaleX(1);
}


/* =========================================================
   LOGIN DROPDOWN
   ========================================================= */

.login-dropdown {

    position: relative;

    height: 100%;

    display: flex;

    align-items: center;
}


.login-button {

    border: 0;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .13em;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 12px 0;
}


.login-arrow {

    color: var(--sir-gold);

    font-size: 13px;

    transition:
        transform var(--transition);
}


.login-dropdown:hover
.login-arrow {

    transform:
        rotate(180deg);
}


.login-menu {

    position: absolute;

    top: calc(100% - 5px);

    right: 0;

    width: 280px;

    padding: 10px;

    background:
        rgba(7,21,47,.98);

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 14px;

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.38);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
}


.login-dropdown:hover
.login-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.login-menu a {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 13px;

    border-radius: 9px;

    transition:
        background var(--transition);
}


.login-menu a:hover {

    background:
        rgba(255,255,255,.07);
}


.login-menu a > span {

    font-size: 18px;

    line-height: 1.2;
}


.login-menu strong {

    display: block;

    font-size: 13px;

    margin-bottom: 3px;
}


.login-menu small {

    display: block;

    color:
        rgba(255,255,255,.52);

    font-size: 10px;

    letter-spacing: .04em;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;

    border: 1px solid
        rgba(255,255,255,.14);

    border-radius: 10px;

    background:
        rgba(255,255,255,.04);

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    z-index: 1002;
}


.menu-toggle span {

    display: block;

    width: 19px;
    height: 1.5px;

    background: var(--white);

    transition:
        transform var(--transition),
        opacity var(--transition);
}


body.menu-open
.menu-toggle span:nth-child(1) {

    transform:
        translateY(6.5px)
        rotate(45deg);
}


body.menu-open
.menu-toggle span:nth-child(2) {

    opacity: 0;
}


body.menu-open
.menu-toggle span:nth-child(3) {

    transform:
        translateY(-6.5px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE NAV
   ========================================================= */

.mobile-nav {

    display: none;
}


/* =========================================================
   05 — STORY GLOBAL
   ========================================================= */

.story-section {

    position: relative;

    min-height: 100svh;

    width: 100%;

    overflow: hidden;

    display: flex;

    align-items: center;

    isolation: isolate;
}


.story-section::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: -1;
}


.story-inner {

    position: relative;

    z-index: 2;
}


.chapter-label {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .22em;

    color:
        var(--sir-gold-light);

    text-transform: uppercase;
}


.chapter-label::before {

    content: "";

    width: 28px;
    height: 1px;

    background:
        var(--sir-gold);
}


.story-copy {

    max-width: 640px;

    color:
        rgba(255,255,255,.68);

    font-size: clamp(
        17px,
        2vw,
        21px
    );

    line-height: 1.7;
}


.story-section h1,
.story-section h2,
.story-section h3 {

    font-weight: 500;

    letter-spacing: -.035em;
}


.story-section em {

    font-style: normal;

    color:
        var(--sir-gold-light);
}


/* =========================================================
   06 — HERO
   ========================================================= */

.hero {

    min-height: 100svh;

    background:
        var(--sir-blue);
}


.hero-media {

    position: absolute;

    inset: 0;

    z-index: -3;
}


.hero-media img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    animation:
        heroZoom 16s
        ease-out
        forwards;
}


@keyframes heroZoom {

    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}


.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            90deg,
            rgba(3,10,24,.95) 0%,
            rgba(3,10,24,.72) 43%,
            rgba(3,10,24,.28) 78%,
            rgba(3,10,24,.62) 100%
        ),

        linear-gradient(
            0deg,
            rgba(3,10,24,.85),
            transparent 55%
        );
}


.hero-content {

    position: relative;

    z-index: 3;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;

    padding-top:
        var(--header-height);

    min-height: 100svh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;
}


.hero h1 {

    max-width: 780px;

    font-size:
        clamp(
            52px,
            7vw,
            100px
        );

    line-height: .98;

    margin-bottom: 28px;

    text-wrap: balance;
}


.hero-copy {

    font-size:
        clamp(
            20px,
            2.3vw,
            27px
        );

    color:
        rgba(255,255,255,.86);

    margin-bottom: 32px;
}


.exam-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.exam-tags span {

    padding: 8px 13px;

    border: 1px solid
        rgba(255,255,255,.22);

    background:
        rgba(255,255,255,.06);

    backdrop-filter:
        blur(8px);

    border-radius: 100px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .16em;
}


.scroll-indicator {

    position: absolute;

    bottom: 34px;

    left: 0;

    display: flex;

    align-items: center;

    gap: 13px;

    color:
        rgba(255,255,255,.48);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .2em;
}


.scroll-indicator i {

    display: block;

    width: 42px;

    height: 1px;

    background:
        rgba(255,255,255,.35);

    position: relative;

    overflow: hidden;
}


.scroll-indicator i::after {

    content: "";

    position: absolute;

    width: 18px;
    height: 1px;

    background:
        var(--sir-gold);

    left: -18px;

    animation:
        scrollLine 2s
        infinite
        ease-in-out;
}


@keyframes scrollLine {

    0% {
        left: -18px;
    }

    50% {
        left: 42px;
    }

    100% {
        left: 42px;
    }
}


/* =========================================================
   07 — QUESTION
   ========================================================= */

.question {

    background:

        radial-gradient(
            circle at 72% 35%,
            rgba(215,166,42,.10),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #06132b,
            #0b1f42
        );
}


.question::after {

    content: "?";

    position: absolute;

    right: 8vw;

    top: 50%;

    transform:
        translateY(-50%);

    font-size:
        clamp(
            280px,
            35vw,
            600px
        );

    line-height: 1;

    font-weight: 800;

    color:
        rgba(255,255,255,.025);

    z-index: -1;
}


.question .story-inner {

    max-width: 900px;

    margin-left:
        max(
            24px,
            calc(
                (100% - var(--max-width))
                / 2
            )
        );
}


.question h2 {

    max-width: 900px;

    font-size:
        clamp(
            44px,
            6vw,
            82px
        );

    line-height: 1.04;

    margin-bottom: 35px;
}


.question .story-copy {

    max-width: 560px;
}


/* =========================================================
   08 — ONE TO ALL / ONE TO ONE
   ========================================================= */

.teaching-section {

    background:
        #f5f7fa;

    color:
        var(--text-dark);

    min-height:
        100svh;
}


.teaching-section::before {

    background:

        linear-gradient(
            90deg,
            transparent 49.9%,
            rgba(7,21,47,.07) 50%,
            transparent 50.1%
        );
}


.teaching-section .chapter-label {

    color:
        #9a7214;
}


.teaching-section .chapter-label::before {

    background:
        var(--sir-gold);
}


.teaching-story {

    display: grid;

    grid-template-columns:
        1fr 100px 1fr;

    align-items: center;

    gap: 30px;

    margin-top: 10px;
}


.teaching-block {

    position: relative;

    padding: 40px;

    min-height: 390px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border:
        1px solid
        rgba(7,21,47,.10);

    background:
        rgba(255,255,255,.8);

    box-shadow:
        0 25px 70px
        rgba(7,21,47,.08);

    border-radius: 3px;
}


.teaching-block::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background:
        var(--sir-gold);
}


.chapter-number {

    position: absolute;

    top: 25px;
    right: 28px;

    font-size: 10px;

    font-weight: 800;

    color:
        rgba(7,21,47,.25);

    letter-spacing: .2em;
}


.teaching-block h2 {

    font-size:
        clamp(
            34px,
            4vw,
            55px
        );

    margin-bottom: 28px;

    color:
        var(--sir-blue);
}


.large-line {

    font-size:
        clamp(
            22px,
            2.4vw,
            31px
        );

    line-height: 1.35;

    color:
        var(--sir-blue);

    margin-bottom: 25px;
}


.teaching-block > p:last-child {

    color:
        var(--text-muted);

    line-height: 1.7;

    font-size: 16px;

    max-width: 390px;
}


.story-transition {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;
}


.story-transition span {

    writing-mode:
        vertical-rl;

    transform:
        rotate(180deg);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .2em;

    color:
        rgba(7,21,47,.35);
}


.story-transition::after {

    content: "↓";

    font-size: 25px;

    color:
        var(--sir-gold);
}


/* =========================================================
   09 — SYSTEM
   ========================================================= */

.system-section {

    background:
        var(--sir-blue);

    text-align: center;
}


.system-section::before {

    background:

        radial-gradient(
            circle at center,
            rgba(215,166,42,.12),
            transparent 35%
        );
}


.system-section .story-inner {

    width:
        min(
            calc(100% - 48px),
            1150px
        );
}


.system-section h2 {

    font-size:
        clamp(
            50px,
            7vw,
            90px
        );

    line-height: .98;

    margin-bottom: 65px;
}


.system-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 55px;
}


.system-flow span {

    min-width: 105px;

    padding: 17px 15px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 100px;

    background:
        rgba(255,255,255,.035);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.system-flow span:hover {

    transform:
        translateY(-5px);

    border-color:
        var(--sir-gold);

    background:
        rgba(215,166,42,.08);
}


.system-flow i {

    font-style: normal;

    color:
        var(--sir-gold);

    font-size: 20px;
}


.system-section .story-copy {

    margin-inline: auto;

    font-size:
        clamp(
            20px,
            2.4vw,
            28px
        );
}


/* =========================================================
   10 — SCORE / ANALYSIS
   ========================================================= */

.score-section {

    background:
        #edf1f6;

    color:
        var(--text-dark);

    min-height:
        100svh;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 5vw;

    padding:
        100px
        max(
            24px,
            calc(
                (100% - var(--max-width))
                / 2
            )
        );
}


.score-visual {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.score-number {

    font-size:
        clamp(
            180px,
            25vw,
            360px
        );

    line-height: .8;

    font-weight: 800;

    letter-spacing: -.09em;

    color:
        var(--sir-blue);

    opacity: .96;

    position: relative;

    z-index: 2;
}


.score-number::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border:
        1px solid
        rgba(215,166,42,.55);

    right: -65px;
    top: -70px;

    z-index: -1;
}


.score-details {

    position: absolute;

    inset: 0;

    pointer-events: none;
}


.score-details span {

    position: absolute;

    padding: 8px 11px;

    border:
        1px solid
        rgba(7,21,47,.12);

    background:
        rgba(255,255,255,.72);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .15em;

    color:
        var(--sir-blue);
}


.score-details span:nth-child(1) {
    top: 18%;
    left: 15%;
}


.score-details span:nth-child(2) {
    top: 30%;
    right: 10%;
}


.score-details span:nth-child(3) {
    bottom: 24%;
    left: 8%;
}


.score-details span:nth-child(4) {
    bottom: 15%;
    right: 16%;
}


.score-details span:nth-child(5) {

    top: 50%;
    left: 50%;

    transform:
        translate(-50%,-50%);

    background:
        var(--sir-gold);

    color:
        var(--sir-blue);

    border-color:
        var(--sir-gold);
}


.score-content {

    width: auto;

    margin: 0;

    max-width: 600px;
}


.score-content .chapter-label {

    color:
        #8d6915;
}


.score-content h2 {

    font-size:
        clamp(
            45px,
            5.5vw,
            72px
        );

    line-height: 1.02;

    margin-bottom: 30px;
}


.score-content h3 {

    font-size:
        clamp(
            28px,
            3.5vw,
            48px
        );

    line-height: 1.15;

    margin-bottom: 28px;

    color:
        var(--sir-blue);
}


.score-content h3 span {

    color:
        #a57a17;
}


.score-content p:last-child {

    font-size: 17px;

    color:
        var(--text-muted);

    line-height: 1.7;
}


/* =========================================================
   11 — READINESS
   ========================================================= */

.readiness-section {

    background:

        linear-gradient(
            135deg,
            #06132b,
            #0d2a57
        );

    text-align: center;

    padding:
        120px 0;
}


.readiness-section .story-inner {

    width:
        min(
            calc(100% - 48px),
            1100px
        );
}


.readiness-section h2 {

    font-size:
        clamp(
            42px,
            6vw,
            76px
        );

    line-height: 1.05;

    margin-bottom: 25px;
}


.readiness-section h3 {

    font-size:
        clamp(
            28px,
            4vw,
            52px
        );

    line-height: 1.1;

    color:
        var(--sir-gold-light);

    margin-bottom: 75px;
}


.exam-paths {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 16px;
}


.exam-path {

    min-height: 170px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.13);

    background:
        rgba(255,255,255,.035);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.exam-path:hover {

    transform:
        translateY(-7px);

    border-color:
        var(--sir-gold);

    background:
        rgba(215,166,42,.07);
}


.exam-path strong {

    font-size:
        clamp(
            32px,
            4vw,
            50px
        );

    font-weight: 700;

    letter-spacing: -.04em;
}


.exam-path small {

    margin-top: 10px;

    color:
        rgba(255,255,255,.48);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .18em;
}


/* =========================================================
   12 — FINAL SIR REVEAL
   ========================================================= */

.final-section {

    position: relative;

    min-height: 100svh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        100px 24px;

   background:
    #07152F;

    overflow: hidden;
}


.final-section::before {

    content: "";

    position: absolute;

    width:
        min(700px,90vw);

    height:
        min(700px,90vw);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(215,166,42,.12),
            transparent 65%
        );

    top: 50%;
    left: 50%;

    transform:
        translate(-50%,-50%);

    pointer-events: none;
}


.final-content {

    position: relative;

    z-index: 2;

    max-width: 900px;
}


.final-content > p {

    color:
        rgba(255,255,255,.58);

    font-size:
        clamp(
            18px,
            2.3vw,
            25px
        );

    line-height: 1.55;

    margin-bottom: 4px;
}


.final-content
.final-highlight {

    color:
        var(--white);

    font-size:
        clamp(
            28px,
            4vw,
            48px
        );

    margin-top: 13px;

    margin-bottom: 45px;

    font-weight: 500;
}


.final-logo {

    width:
        min(300px,70vw);

    margin:
        0 auto 22px;
}


.final-logo img {

    width: 100%;
    height: auto;
}


.motto {

    color:
        var(--sir-gold-light) !important;

    font-size:
        10px !important;

    font-weight: 800;

    letter-spacing: .25em;

    margin-bottom: 45px !important;
}


.final-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0 24px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .13em;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}


.primary-button {

    background:
        var(--sir-gold);

    color:
        var(--sir-blue);

    border:
        1px solid
        var(--sir-gold);
}


.primary-button:hover {

    transform:
        translateY(-3px);

    background:
        var(--sir-gold-light);
}


.secondary-button {

    border:
        1px solid
        rgba(255,255,255,.22);

    color:
        var(--white);

    background:
        transparent;
}


.secondary-button:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--sir-gold);

    color:
        var(--sir-gold-light);
}


/* =========================================================
   13 — FOOTER
   ========================================================= */

.site-footer {
    background:
        #07152F;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    padding:
        70px 0 25px;
}


.footer-inner {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}


.footer-brand img {

    width: 145px;

    margin-bottom: 18px;
}


.footer-brand p {

    color:
        rgba(255,255,255,.45);

    font-size: 13px;

    line-height: 1.6;

    max-width: 280px;
}


.footer-links,
.footer-login {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}


.footer-links a,
.footer-login a {

    color:
        rgba(255,255,255,.5);

    font-size: 12px;

    transition:
        color var(--transition);
}


.footer-links a:hover,
.footer-login a:hover {

    color:
        var(--sir-gold-light);
}


.footer-login strong {

    color:
        var(--sir-gold-light);

    font-size: 9px;

    letter-spacing: .18em;

    margin-bottom: 4px;
}


.footer-bottom {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {

    color:
        rgba(255,255,255,.28);

    font-size: 9px;

    line-height: 1.5;

    letter-spacing: .03em;
}
.footer-bottom a {
    color: var(--sir-gold-light);
    font-weight: 600;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* =========================================================
   14 — STORY REVEAL ANIMATION
   ========================================================= */

.story-section .story-inner,
.story-section .story-content,
.hero-content,
.final-content {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.22,.61,.36,1);
}


.story-section.is-visible
.story-inner,
.story-section.is-visible
.story-content,
.hero.is-visible
.hero-content {

    opacity: 1;

    transform:
        translateY(0);
}


.final-section.is-visible
.final-content {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   15 — ACTIVE STORY
   ========================================================= */

.story-section.active-story
.chapter-label {

    letter-spacing: .24em;
}


/* =========================================================
   16 — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    :root {
        --header-height: 64px;
    }


    .main-nav {

        gap: 12px;
    }


    .nav-link {

        font-size: 8px;
        letter-spacing: .09em;
    }
.brand {

        width: 76px;
        height: 68px;
    }


    .brand img {

        width: 68px;
        height: 62px;
        max-width: none;
        transform: scale(1.12);
        transform-origin: center left;
    }


    .teaching-story {

        grid-template-columns:
            1fr 60px 1fr;

        gap: 15px;
    }


    .teaching-block {

        padding: 30px;

        min-height: 360px;
    }


    .score-section {

        padding:
            90px 40px;
    }

}


/* =========================================================
   17 — MOBILE
   ========================================================= */

@media (max-width: 780px) {

    :root {
        --header-height: 68px;
    }


    .story-inner,
    .story-content,
    .header-inner {

        width:
            calc(100% - 36px);
    }


    /* HEADER */

    .site-header {

        height:
            var(--header-height);
    }


    .header-inner {

        gap: 0;
    }


    .brand {

        width: 70px;
        height: 64px;
    }


    .brand img {

        width: 64px;
        height: 58px;
        max-width: none;
        transform: scale(1.08);
        transform-origin: center left;
    }


    .main-nav {

        display: none;
    }


    .menu-toggle {

        display: flex;
    }


    /* MOBILE NAV */

    .mobile-nav {

        position: fixed;

        display: flex;

        flex-direction: column;

        top:
            var(--header-height);

        left: 0;

        width: 100%;

        height:
            calc(100svh - var(--header-height));

        padding:
            30px 24px 40px;

        background:
    #07152F;

        backdrop-filter:
            blur(20px);

        -webkit-backdrop-filter:
            blur(20px);

        overflow-y: auto;

        transform:
            translateX(100%);

        opacity: 0;

        visibility: hidden;

        transition:
            transform .45s cubic-bezier(.22,.61,.36,1),
            opacity .35s ease,
            visibility .35s ease;

        z-index: 1001;
    }


    body.menu-open
    .mobile-nav {

        transform:
            translateX(0);

        opacity: 1;

        visibility: visible;
    }


    .mobile-nav > a {

        padding:
            18px 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.08);

        font-size: 13px;

        font-weight: 700;

        letter-spacing: .12em;

        color:
            rgba(255,255,255,.8);
    }


    .mobile-nav > a:first-child {

        color:
            var(--sir-gold-light);
    }


    .mobile-login {

        margin-top: 30px;

        padding-top: 5px;
    }


    .mobile-login-title {

        margin-bottom: 10px;

        font-size: 9px;

        font-weight: 800;

        color:
            var(--sir-gold-light);

        letter-spacing: .2em;
    }


    .mobile-login a {

        display: block;

        padding:
            13px 0;

        color:
            rgba(255,255,255,.58);

        font-size: 13px;
    }


    /* HERO */

    .hero-content {

        width:
            calc(100% - 36px);

        padding-top:
            var(--header-height);

        padding-bottom:
            90px;
    }


    .hero-media img {

        object-position:
            58% center;
    }


    .hero-overlay {

        background:

            linear-gradient(
                180deg,
                rgba(3,10,24,.60),
                rgba(3,10,24,.35) 25%,
                rgba(3,10,24,.88) 80%,
                rgba(3,10,24,.98)
            );
    }


    .hero h1 {

        font-size:
            clamp(
                45px,
                13vw,
                70px
            );

        max-width:
            100%;
    }


    .hero-copy {

        font-size: 19px;
    }


    .scroll-indicator {

        bottom: 24px;
    }


    /* QUESTION */

    .question {

        min-height:
            90svh;
    }


    .question::after {

        right:
            -8vw;

        top:
            58%;

        font-size:
            300px;
    }


    .question h2 {

        font-size:
            clamp(
                38px,
                10vw,
                58px
            );
    }


    /* ONE TO ONE */

    .teaching-section {

        padding:
            90px 0;
    }


    .teaching-story {

        display: flex;

        flex-direction: column;

        gap: 25px;

        margin-top: 25px;
    }


    .teaching-block {

        width: 100%;

        min-height: 330px;

        padding: 30px 27px;
    }


    .story-transition {

        height: 55px;

        flex-direction: row;

        gap: 12px;
    }


    .story-transition span {

        writing-mode:
            horizontal-tb;

        transform: none;
    }


    .story-transition::after {

        content: "→";
    }


    /* SYSTEM */

    .system-section {

        padding:
            100px 0;
    }


    .system-section h2 {

        font-size:
            clamp(
                45px,
                12vw,
                65px
            );

        margin-bottom: 45px;
    }


    .system-flow {

        flex-direction: column;

        gap: 8px;

        margin-bottom: 45px;
    }


    .system-flow span {

        width:
            min(220px,80vw);

        min-width: 0;
    }


    .system-flow i {

        transform:
            rotate(90deg);

        font-size: 15px;
    }


    /* SCORE */

    .score-section {

        min-height:
            auto;

        display: flex;

        flex-direction: column;

        padding:
            100px 18px;

        gap: 35px;
    }


    .score-visual {

        width: 100%;

        min-height: 330px;
    }


    .score-number {

        font-size:
            clamp(
                180px,
                52vw,
                280px
            );
    }


    .score-details span {

        font-size: 7px;
    }


    .score-content {

        width:
            calc(100% - 18px);
    }


    .score-content h2 {

        font-size:
            clamp(
                40px,
                10vw,
                58px
            );
    }


    .score-content h3 {

        font-size:
            clamp(
                27px,
                7vw,
                38px
            );
    }


    /* READINESS */

    .readiness-section {

        padding:
            100px 0;
    }


    .readiness-section h2 {

        font-size:
            clamp(
                38px,
                10vw,
                55px
            );
    }


    .readiness-section h3 {

        font-size:
            clamp(
                28px,
                7vw,
                40px
            );

        margin-bottom: 50px;
    }


    .exam-paths {

        grid-template-columns:
            1fr;

        gap: 10px;
    }


    .exam-path {

        min-height:
            135px;
    }


    /* FINAL */

    .final-section {

        min-height:
            90svh;

        padding:
            90px 18px;
    }


    .final-content > p {

        font-size:
            17px;
    }


    .final-content
    .final-highlight {

        font-size:
            28px;
    }


    .final-logo {

        width:
            min(250px,72vw);
    }


    .final-actions {

        flex-direction: column;

        width: 100%;

        max-width: 320px;

        margin-inline: auto;
    }


    .primary-button,
    .secondary-button {

        width: 100%;
    }


    /* FOOTER */

    .site-footer {

        padding:
            55px 0 20px;
    }


    .footer-inner {

        width:
            calc(100% - 36px);

        grid-template-columns:
            1fr;

        gap: 38px;

        padding-bottom: 40px;
    }


    .footer-bottom {

        width:
            calc(100% - 36px);

        flex-direction: column;

        gap: 7px;
    }

}


/* =========================================================
   18 — SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .brand img {
        width: 64px;
        height: 58px;
        max-width: none;
        transform: scale(1.08);
        transform-origin: center left;
    }


    .hero h1 {

        font-size:
            43px;
    }


    .chapter-label {

        font-size: 8px;

        letter-spacing: .17em;
    }


    .teaching-block {

        min-height: 300px;

        padding: 26px 23px;
    }


    .large-line {

        font-size: 22px;
    }


    .score-visual {

        min-height: 290px;
    }


    .score-details span:nth-child(1) {
        left: 2%;
    }


    .score-details span:nth-child(2) {
        right: 0;
    }


    .score-details span:nth-child(3) {
        left: 0;
    }


    .score-details span:nth-child(4) {
        right: 2%;
    }

}


/* =========================================================
   19 — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }


    .story-section .story-inner,
    .story-section .story-content,
    .hero-content,
    .final-content {

        opacity: 1;

        transform: none;
    }

}

/* =========================================================
   20 — SIR BULLETIN / WHAT'S HAPPENING
   Matches the existing bulletin HTML in index.html.
   ========================================================= */

.sir-bulletin-section {
    min-height: auto;
    padding: 112px 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(215,166,42,.09), transparent 30%),
        linear-gradient(135deg, var(--sir-blue), var(--sir-blue-2));
}

.sir-bulletin-section .story-inner {
    width: min(calc(100% - 48px), var(--max-width));
}

.sir-bulletin-section h2 {
    margin-bottom: 22px;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.03;
}

.sir-bulletin-section .story-copy {
    max-width: 650px;
}

.bulletin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
    align-items: stretch;
}

.bulletin-card {
    min-width: 0;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    background: rgba(255,255,255,.035);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.bulletin-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215,166,42,.55);
    background: rgba(255,255,255,.055);
}

.bulletin-featured {
    border-color: rgba(215,166,42,.42);
    background: linear-gradient(145deg, rgba(215,166,42,.12), rgba(255,255,255,.025));
}

.bulletin-holiday {
    background: rgba(255,255,255,.025);
}

.bulletin-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
}

.bulletin-category,
.bulletin-status,
.bulletin-date {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bulletin-category {
    color: var(--sir-gold-light);
}

.bulletin-status {
    padding: 6px 9px;
    color: var(--sir-blue);
    background: var(--sir-gold);
    border-radius: 2px;
}

.bulletin-date {
    color: rgba(255,255,255,.48);
}

.bulletin-card h3 {
    max-width: 520px;
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(23px, 2.6vw, 32px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.bulletin-card p {
    max-width: 520px;
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.7;
}

.bulletin-card a,
.bulletin-note {
    display: inline-block;
    margin-top: auto;
    padding-top: 24px;
    color: var(--sir-gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.5;
}

.bulletin-note {
    color: rgba(255,255,255,.48);
}

.bulletin-card a:hover,
.bulletin-footer a:hover {
    color: var(--white);
}

.bulletin-footer {
    margin-top: 28px;
    text-align: right;
}

.bulletin-footer a {
    color: var(--sir-gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    transition: color var(--transition);
}

/* =========================================================
   21 — EXPANDED SIR FOOTER
   ========================================================= */

.footer-inner {
    grid-template-columns: 1.25fr 1fr 1fr 1.35fr;
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
}

.footer-links > strong,
.footer-login > strong,
.footer-connect > strong {
    display: block;
    color: var(--sir-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
}

.footer-links > strong,
.footer-login > strong,
.footer-connect > strong {
    margin-bottom: 7px;
}

.footer-login .footer-section-title,
.footer-connect .footer-section-title {
    margin-top: 22px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 3px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 600;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.social-links a:hover {
    color: var(--sir-gold-light);
    border-color: rgba(215,166,42,.55);
    background: rgba(215,166,42,.06);
}

.footer-connect {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.footer-connect address {
    color: rgba(255,255,255,.58);
    font-size: 12px;
    font-style: normal;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.footer-connect > a {
    color: rgba(255,255,255,.58);
    font-size: 12px;
    line-height: 1.5;
    transition: color var(--transition);
}

.footer-connect > a:hover {
    color: var(--sir-gold-light);
}

/* =========================================================
   22 — RESPONSIVE OVERRIDES FOR THE REVISED HEADER/FOOTER
   ========================================================= */

@media (max-width: 1050px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }
}

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

    .sir-bulletin-section .story-inner {
        width: calc(100% - 36px);
    }

    .sir-bulletin-section h2 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .bulletin-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        margin-top: 32px;
    }

    .bulletin-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .bulletin-top {
        margin-bottom: 20px;
    }

    .bulletin-card h3 {
        font-size: clamp(23px, 6vw, 28px);
    }

    .bulletin-card a,
    .bulletin-note {
        margin-top: 20px;
        padding-top: 0;
    }

    .bulletin-footer {
        text-align: left;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-connect {
        max-width: 420px;
    }

    .social-links {
        gap: 8px;
    }

    .footer-bottom {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .sir-bulletin-section {
        padding: 70px 0;
    }

    .bulletin-card {
        padding: 22px 18px;
    }

    .bulletin-category,
    .bulletin-status,
    .bulletin-date {
        font-size: 8px;
        letter-spacing: .1em;
    }

    .social-links a {
        padding-inline: 9px;
    }
}

/* Keep mobile navigation links clear and comfortably tappable. */
@media (max-width: 780px) {
    .mobile-nav > a {
        min-height: 54px;
        display: flex;
        align-items: center;
    }
}

/* SIR FOOTER — CLICKABLE SOCIAL ICONS */

.social-icon-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(215, 166, 42, 0.45);
    border-radius: 50%;
    color: #f0c75e;
    text-decoration: none;
    transition: color 0.2s ease,
                background-color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.social-icon-links a:hover,
.social-icon-links a:focus-visible {
    color: #07152f;
    background: #d7a62a;
    border-color: #d7a62a;
    transform: translateY(-2px);
}

.social-icon-links a:focus-visible {
    outline: 2px solid #f0c75e;
    outline-offset: 3px;
}

.social-icon {
    display: block;
    width: 21px;
    height: 21px;
}

@media (max-width: 700px) {
    .social-icon-links a {
        width: 40px;
        height: 40px;
    }
}


/* =========================================================
   END — SIR STYLE.CSS ADDITIONS
   ========================================================= */
