/* =========================================================
   Rosae Gladium — Main Stylesheet
   Refactored structure only: visual behavior is preserved.

   TABLE OF CONTENTS
   00. Design Tokens & Base Reset
   01. Navigation & Footer
   02. Shared Typography, Buttons & Layout
   03. Home Page Sections
   04. Branches Page
   05. Teams Page
   06. Career Page
   07. Global Loader
   08. About Page
   ========================================================= */

/* =========================================================
   00 — Design Tokens & Base Reset
   ========================================================= */

:root {
    /* Core Palette — Calm Dark Luxury */
    --sword-black: #121212;
    --deep-rose: #800000;
    --royal-burgundy: #5f1414;
    --rose-highlight: #a83232;
    --ivory: #fffff0;
    --soft-white: #fbfbfb;

    /* Soft Accent / Surface */
    --rose-mist: rgba(128, 0, 0, 0.14);
    --rose-leaf: #d8cfc4;
    --pale-leaf: rgba(255, 255, 240, 0.08);

    /* Base Theme */
    --clean-base: #121212;
    --rose-white: #181616;
    --surface: #1a1818;
    --surface-soft: #211e1e;
    --surface-elevated: #292424;
    --main-text: #fffff0;
    --secondary-text: rgba(255, 255, 240, 0.72);
    --muted-text: rgba(255, 255, 240, 0.50);

    /* Border & Shadow */
    --border: rgba(255, 255, 240, 0.11);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);

    /* Layout */
    --container: 1180px;

    /* Typography */
    --font-heading: "Cinzel", serif;
    --font-body: "Lato", sans-serif;
    --font-accent: "Lato", sans-serif;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--main-text);
    background: var(--clean-base);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

button {
    appearance: none;
    -webkit-appearance: none;
}

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

/* =========================================================
   01 — Navigation
   ========================================================= */

/* NAVBAR */
.navbar {
    position: fixed;
    z-index: 99;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--container), calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(5, 5, 5, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand img,
img[src*="rosae-logo-black"],
img[src*="rosae-sword-logo"] {
    filter: brightness(0) invert(1);
}

/* Khusus loading screen: tetap original */
.live-loader .loader-logo-card img,
.loader-logo-card img {
    filter: none !important;
}

.brand strong {
    display: block;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--sword-black);
}

.brand span {
    display: block;
    font-size: 11px;
    color: var(--secondary-text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    color: var(--main-text);
}

.nav-menu a {
    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: var(--deep-rose);
}

.nav-cta {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--clean-base) !important;
    background: var(--sword-black);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--sword-black);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: white;
}

/* =========================================================
   02 — Shared Typography, Buttons & Layout
   ========================================================= */

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--deep-rose);
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.parallax-banner h2,
.career-cta h2,
.contact h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--main-text);
    letter-spacing: 0.015em;
    line-height: 1.06;
}

.hero h1 {
    font-size: clamp(42px, 6.2vw, 86px);
    line-height: 1.04;
}

.hero h1 span {
    color: var(--deep-rose);
}

.hero-desc {
    max-width: 660px;
    margin: 26px 0 0;
    font-size: 18px;
    line-height: 1.85;
    color: var(--secondary-text);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    transition: 0.25s ease;
}

.btn-primary {
    color: white;
    background: var(--deep-rose);
    box-shadow: 0 16px 34px rgba(185, 28, 28, 0.24);
}

.btn-primary:hover {
    background: var(--royal-burgundy);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--sword-black);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    border-color: rgba(185, 28, 28, 0.32);
    color: var(--deep-rose);
}

.btn-light {
    color: var(--deep-rose);
    background: white;
}

/* SECTION GLOBAL */
.section {
    padding: 110px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.section-copy h2,
.section-heading h2 {
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1;
}

.section-text p {
    margin: 0 0 18px;
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.9;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 46px;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-parallax] {
    will-change: transform;
}

/* =========================================================
   03 — Home Page — Hero
   ========================================================= */

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 150px max(20px, calc((100vw - var(--container)) / 2)) 90px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(254, 226, 226, 0.8), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 55%, #ffffff 100%);
}

.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.rose-line {
    right: -120px;
    top: 70px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(185, 28, 28, 0.08), transparent 70%);
}

.sword-mark {
    left: 8%;
    bottom: 8%;
    width: 260px;
    height: 260px;
    background: var(--sword-black);
    opacity: 0.035;
    clip-path: polygon(49% 0, 56% 0, 56% 70%, 66% 70%, 52% 100%, 38% 70%, 49% 70%);
}

.hero h1 {
    font-size: clamp(42px, 6.2vw, 86px);
    line-height: 1.04;
}

.hero h1 span {
    color: var(--deep-rose);
}

.hero-desc {
    max-width: 660px;
    margin: 26px 0 0;
    font-size: 18px;
    line-height: 1.85;
    color: var(--secondary-text);
}
.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-card-main {
    position: absolute;
    inset: 40px 0 0 40px;
    overflow: hidden;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.hero-card-main img {
    height: 100%;
    object-fit: cover;
}

.hero-card-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.42), transparent 62%);
}

.floating-card {
    position: absolute;
    z-index: 2;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(5, 5, 5, 0.12);
}

.floating-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--secondary-text);
    font-size: 12px;
}

.floating-card strong {
    color: var(--sword-black);
}

.card-top {
    top: 5px;
    right: 24px;
}

.card-bottom {
    left: 0;
    bottom: 38px;
}

/* =========================================================
   03.1 — Home Page — Focus, Branches & Facilities
   ========================================================= */

/* FOCUS CARDS (legacy grid support) */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.focus-card {
    min-height: 260px;
    padding: 28px;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: 28px;
    background: white;
    transition: 0.25s ease;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.focus-card span {
    color: var(--deep-rose);
    font-weight: 900;
}

.focus-card h3,
.branch-content h3,
.facility-card h3,
.timeline-item h3,
.team-card h3 {
    margin: 18px 0 10px;
    color: var(--sword-black);
}

.focus-card p,
.branch-content span,
.facility-card p,
.timeline-item p,
.team-card p {
    margin: 0;
    color: var(--secondary-text);
    line-height: 1.7;
}

/* BRANCH */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.branch-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: white;
    box-shadow: 0 18px 60px rgba(5, 5, 5, 0.06);
}

.branch-image {
    height: 360px;
    overflow: hidden;
}

.branch-image img {
    height: 118%;
    object-fit: cover;
}

.branch-content {
    padding: 28px;
}

.branch-content p {
    margin: 0;
    color: var(--rose-leaf);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* PARALLAX BANNER */
.parallax-banner {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: white;
    text-align: center;
}

.banner-bg {
    position: absolute;
    inset: -15%;
    background:
        linear-gradient(rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.58)),
        url("../img/crew.png") center / cover no-repeat;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: min(850px, calc(100% - 40px));
}

.banner-content p {
    color: var(--rose-mist);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 900;
}

.parallax-banner h2 {
    color: white;
    font-size: clamp(38px, 5vw, 76px);
    line-height: 1;
}

/* FACILITIES */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.facility-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 50px rgba(5, 5, 5, 0.05);
}

.facility-card img {
    height: 240px;
    object-fit: cover;
}

.facility-card h3,
.facility-card p {
    padding-left: 22px;
    padding-right: 22px;
}

.facility-card p {
    padding-bottom: 24px;
}

/* OPERATIONS */
.operations {
    background: var(--sword-black);
}

.operations h2,
.operations h3 {
    color: white;
}

.operations .section-kicker {
    color: var(--rose-mist);
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: white;
    background: var(--deep-rose);
    font-weight: 900;
}

/* TEAM */
.team {
    background: var(--rose-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.team-card {
    overflow: hidden;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: 30px;
    background: white;
}

.team-card img {
    height: 340px;
    object-fit: cover;
}

.team-card div {
    padding: 24px;
}

/* CAREER */
.career-cta {
    padding: 100px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(220, 252, 231, 0.54), transparent 24%),
        linear-gradient(135deg, var(--deep-rose), var(--royal-burgundy));
}

.career-box {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.career-box h2 {
    color: white;
    font-size: clamp(38px, 5vw, 70px);
}

.career-box p {
    max-width: 760px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    width: 100%;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    text-align: left;
    cursor: pointer;
}

.faq-item span {
    display: inline-block;
    color: var(--sword-black);
    font-weight: 850;
    font-size: 16px;
}

.faq-item strong {
    float: right;
    color: var(--deep-rose);
    font-size: 22px;
}

.faq-item p {
    display: none;
    margin: 16px 0 0;
    color: var(--secondary-text);
    line-height: 1.75;
}

.faq-item.active p {
    display: block;
}

/* CONTACT */
.contact {
    background: var(--rose-white);
}

.contact-box {
    padding: 70px;
    border-radius: 38px;
    background: white;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-box h2 {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(38px, 5vw, 72px);
}

.contact-box p {
    max-width: 720px;
    margin: 20px auto 0;
    color: var(--secondary-text);
    line-height: 1.8;
}

.contact-actions {
    justify-content: center;
}

/* =========================================================
   03.2 — Home Page — Footer
   ========================================================= */

/* FOOTER */
.footer {
    padding: 34px 0;
    background: var(--sword-black);
    color: white;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.62);
}

.footer span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
}

/* =========================================================
   03.3 — Home Page — Achievements & Mosaic
   ========================================================= */

/* ACHIEVEMENTS */
.achievements {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(185, 28, 28, 0.18), transparent 28%),
        linear-gradient(135deg, #050505 0%, #1f1111 55%, #7f1d1d 120%);
    color: white;
}

.achievement-bg-mark {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(254, 226, 226, 0.14);
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

.achievement-bg-mark::before,
.achievement-bg-mark::after {
    content: "";
    position: absolute;
    inset: 80px;
    border: 1px solid rgba(254, 226, 226, 0.12);
    border-radius: 50%;
}

.achievement-awards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 96px;
}

.award-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid rgba(254, 226, 226, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
    text-align: center;
    transition: 0.28s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(254, 226, 226, 0.28);
}

.award-card span {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fca5a5;
}

.award-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
}

.award-card p {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.achievement-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto 54px;
    text-align: center;
}

.achievement-content .section-kicker {
    color: #fca5a5;
}

.achievement-content h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.achievement-content h2 span {
    color: #fca5a5;
}

.achievement-content p {
    max-width: 780px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.85;
}

.number-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.number-item {
    padding: 34px 28px;
    text-align: center;
}

.number-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.number-item strong {
    display: block;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #ffffff;
}

.number-item strong::after {
    content: "";
    color: #fca5a5;
}

.number-item span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.5;
}

/* RESPONSIVE ACHIEVEMENTS */
@media (max-width: 960px) {
    .achievement-awards {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 70px;
    }

    .number-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-item:nth-child(2) {
        border-right: 0;
    }

    .number-item:nth-child(1),
    .number-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }
}

@media (max-width: 640px) {

    .achievement-awards,
    .number-grid {
        grid-template-columns: 1fr;
    }

    .number-item {
        border-right: 0 !important;
    }

    .number-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .award-card {
        min-height: auto;
    }
}

/* FOCUS MOSAIC */
.focus {
    background: linear-gradient(180deg, var(--rose-white) 0%, #ffffff 100%);
}

.focus-intro {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.8;
}

.focus-mosaic {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    grid-template-rows: 280px 280px;
    gap: 18px;
    margin-top: 46px;
}

.mosaic-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 260px;
    box-shadow: 0 18px 50px rgba(5, 5, 5, 0.08);
    background: #ddd;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mosaic-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(5, 5, 5, 0.72) 0%,
            rgba(5, 5, 5, 0.32) 38%,
            rgba(5, 5, 5, 0.06) 100%);
}

.mosaic-card:hover img {
    transform: scale(1.06);
}

.mosaic-overlay {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: white;
}

.mosaic-overlay span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fca5a5;
}

.mosaic-overlay h3 {
    margin: 0 0 8px;
    font-size: 26px;
    color: #ffffff;
}

.mosaic-overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.mosaic-card.tall {
    grid-row: span 2;
}

.mosaic-card.wide {
    grid-column: span 2;
}

/* Responsive */
@media (max-width: 960px) {
    .focus-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .mosaic-card.tall,
    .mosaic-card.wide {
        grid-row: auto;
        grid-column: auto;
    }

    .mosaic-card {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .focus-mosaic {
        grid-template-columns: 1fr;
    }

    .mosaic-card {
        min-height: 320px;
    }

    .mosaic-overlay h3 {
        font-size: 22px;
    }
}

/* =========================================================
   03.4 — Home Page — Responsive
   ========================================================= */

/* RESPONSIVE */
@media (max-width: 960px) {
    .navbar {
        border-radius: 28px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 24px;
        background: white;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 16px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .two-col,
    .branch-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid,
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-box,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .brand div {
        display: none;
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-card-main {
        inset: 30px 0 0 0;
    }

    .floating-card {
        max-width: 220px;
    }

    .focus-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 42px 22px;
    }

    .section {
        padding: 78px 0;
    }
}

/* =========================================================
   04 — Branches Page
   ========================================================= */

/* =========================
   BRANCHES PAGE
========================= */

.nav-menu a.active {
    color: var(--deep-rose);
    font-weight: 800;
}

.branch-page-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    background:
        radial-gradient(circle at 78% 12%, rgba(254, 226, 226, 0.88), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 58%, #ffffff 100%);
}

.branch-hero-mark {
    position: absolute;
    right: -160px;
    bottom: -180px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.10);
    pointer-events: none;
}

.branch-hero-mark::before,
.branch-hero-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.10);
}

.branch-hero-mark::before {
    inset: 80px;
}

.branch-hero-mark::after {
    inset: 160px;
}

.branch-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.branch-hero-copy h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(46px, 6vw, 86px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: var(--sword-black);
}

.branch-hero-copy h1 span {
    color: var(--deep-rose);
}

.branch-hero-copy p:not(.eyebrow) {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.85;
}

.branch-hero-visual {
    overflow: hidden;
    height: 560px;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.branch-hero-visual img {
    height: 112%;
    object-fit: cover;
}

.branch-directory {
    background: white;
}

.branch-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.branch-location-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: white;
    box-shadow: 0 20px 60px rgba(5, 5, 5, 0.06);
    cursor: pointer;
    transition: 0.28s ease;
}

.branch-location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(5, 5, 5, 0.10);
}

.branch-location-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.branch-location-image img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.branch-location-card:hover .branch-location-image img {
    transform: scale(1.06);
}

.branch-status {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.branch-status.active {
    background: rgba(22, 101, 52, 0.92);
}

.branch-status.operational {
    background: rgba(185, 28, 28, 0.92);
}

.branch-status.coming-soon {
    background: rgba(5, 5, 5, 0.78);
}

.branch-location-content {
    padding: 26px;
}

.branch-location-content p {
    margin: 0 0 12px;
    color: var(--deep-rose);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.branch-location-content h3 {
    margin: 0 0 12px;
    color: var(--sword-black);
    font-size: 24px;
}

.branch-location-content span {
    display: block;
    color: var(--secondary-text);
    line-height: 1.7;
}

.branch-detail-btn {
    display: inline-flex;
    margin-top: 22px;
    padding: 12px 18px;
    border: 1px solid rgba(185, 28, 28, 0.18);
    border-radius: 999px;
    color: var(--deep-rose);
    background: var(--rose-white);
    font-weight: 900;
    cursor: pointer;
}

/* MODAL */
body.modal-open {
    overflow: hidden;
}

.branch-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.branch-modal.active {
    display: block;
}

.branch-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.branch-modal-panel {
    position: relative;
    z-index: 2;
    width: min(980px, calc(100% - 32px));
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    margin: 18px auto;
    border-radius: 34px;
    background: white;
    box-shadow: 0 40px 120px rgba(5, 5, 5, 0.28);
}

.modal-close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: var(--sword-black);
    background: rgba(255, 255, 255, 0.88);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.modal-branch-hero {
    position: relative;
    height: 390px;
    overflow: hidden;
    border-radius: 34px 34px 0 0;
}

.modal-branch-hero img {
    height: 100%;
    object-fit: cover;
}

.modal-branch-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.12));
}

.modal-branch-overlay {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 32px;
    color: white;
}

.modal-branch-overlay span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.88);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.modal-branch-overlay h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    line-height: 1;
}

.modal-branch-overlay p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.modal-branch-body {
    padding: 34px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.modal-info-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--rose-white);
}

.modal-info-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--deep-rose);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.modal-info-card p {
    margin: 0;
    color: var(--main-text);
    line-height: 1.65;
}

.modal-section {
    margin-top: 34px;
}

.modal-section h3 {
    margin: 0 0 16px;
    color: var(--sword-black);
    font-size: 22px;
}

.facility-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.facility-chip-list span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--rose-leaf);
    background: var(--pale-leaf);
    font-size: 13px;
    font-weight: 800;
}

.modal-gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 12px;
}

.modal-gallery img {
    height: 220px;
    border-radius: 20px;
    object-fit: cover;
}

.modal-gallery img:first-child {
    grid-row: span 2;
    height: 452px;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* RESPONSIVE BRANCH PAGE */
@media (max-width: 960px) {

    .branch-hero-grid,
    .branch-list-grid,
    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .branch-hero-visual {
        height: 420px;
    }

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

    .modal-gallery img:first-child {
        grid-row: auto;
        grid-column: span 2;
        height: 320px;
    }
}

@media (max-width: 640px) {
    .branch-page-hero {
        padding-top: 135px;
    }

    .branch-hero-visual {
        height: 340px;
        border-radius: 28px;
    }

    .branch-location-image {
        height: 230px;
    }

    .branch-modal-panel {
        width: calc(100% - 18px);
        margin: 9px auto;
        border-radius: 26px;
    }

    .modal-branch-hero {
        height: 310px;
        border-radius: 26px 26px 0 0;
    }

    .modal-branch-body {
        padding: 22px;
    }

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

    .modal-gallery img,
    .modal-gallery img:first-child {
        grid-column: auto;
        height: 240px;
    }
}

/* =========================================================
   05 — Teams Page
   ========================================================= */

/* =========================
   TEAMS PAGE
========================= */

.team-page-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 0 105px;
    background:
        radial-gradient(circle at 82% 16%, rgba(254, 226, 226, 0.9), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 56%, #ffffff 100%);
}

.team-page-mark {
    position: absolute;
    right: -160px;
    bottom: -190px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.1);
    pointer-events: none;
}

.team-page-mark::before,
.team-page-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.team-page-mark::before {
    inset: 80px;
}

.team-page-mark::after {
    inset: 165px;
}

.team-page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.team-page-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--sword-black);
}

.team-page-hero h1 span {
    color: var(--deep-rose);
}

.team-page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 26px auto 0;
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.85;
}

.management-team {
    background: #ffffff;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.management-card {
    overflow: hidden;
    border: 1px solid rgba(185, 28, 28, 0.11);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(5, 5, 5, 0.06);
    transition: 0.28s ease;
}

.management-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 88px rgba(5, 5, 5, 0.11);
}

.management-photo {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: var(--rose-white);
}

.management-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.management-card:hover .management-photo img {
    transform: scale(1.06);
}

.management-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(5, 5, 5, 0.38),
            rgba(5, 5, 5, 0.03) 62%);
}

.management-info {
    padding: 26px;
    text-align: center;
}

.management-info h3 {
    margin: 0 0 8px;
    color: var(--sword-black);
    font-size: 24px;
    line-height: 1.2;
}

.management-info p {
    margin: 0;
    font-family: var(--font-accent);
    color: var(--deep-rose);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.team-page-cta {
    padding: 95px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(220, 252, 231, 0.42), transparent 24%),
        linear-gradient(135deg, var(--sword-black), var(--royal-burgundy));
}

.team-page-cta-inner {
    text-align: center;
    color: white;
}

.team-page-cta .section-kicker {
    color: #fca5a5;
}

.team-page-cta h2 {
    max-width: 780px;
    margin: 0 auto 30px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    color: white;
}

/* RESPONSIVE TEAMS PAGE */
@media (max-width: 1024px) {
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .management-photo {
        height: 390px;
    }
}

@media (max-width: 640px) {
    .team-page-hero {
        padding: 140px 0 80px;
    }

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

    .management-photo {
        height: 380px;
    }

    .management-info {
        padding: 22px;
    }

    .management-info h3 {
        font-size: 22px;
    }
}

/* =========================================================
   06 — Career Page
   ========================================================= */

/* =========================
   CAREER PAGE
========================= */

.career-page-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 0 105px;
    background:
        radial-gradient(circle at 82% 16%, rgba(254, 226, 226, 0.9), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 56%, #ffffff 100%);
}

.career-page-mark {
    position: absolute;
    right: -160px;
    bottom: -190px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.1);
    pointer-events: none;
}

.career-page-mark::before,
.career-page-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.career-page-mark::before {
    inset: 80px;
}

.career-page-mark::after {
    inset: 165px;
}

.career-page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 940px;
    text-align: center;
}

.career-page-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--sword-black);
}

.career-page-hero h1 span {
    color: var(--deep-rose);
}

.career-page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 26px auto 0;
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.85;
}

.career-openings {
    background: #ffffff;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.job-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 34px;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0%, rgba(254, 226, 226, 0.8), transparent 34%),
        #ffffff;
    box-shadow: 0 22px 70px rgba(5, 5, 5, 0.07);
    cursor: pointer;
    transition: 0.28s ease;
}

.job-card::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(5, 5, 5, 0.12);
}

.job-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.job-type,
.job-location {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.job-type {
    color: var(--deep-rose);
    background: var(--rose-mist);
}

.job-location {
    color: var(--rose-leaf);
    background: var(--pale-leaf);
}

.job-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--sword-black);
}

.job-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 560px;
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.8;
}

.job-meta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.job-meta span {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--main-text);
    background: #f8fafc;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
}

.job-detail-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-top: 30px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: var(--deep-rose);
    font-weight: 900;
    cursor: pointer;
    transition: 0.24s ease;
}

.job-detail-btn:hover {
    background: var(--royal-burgundy);
}

.career-note-section {
    padding: 95px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(220, 252, 231, 0.36), transparent 26%),
        linear-gradient(135deg, var(--sword-black), var(--royal-burgundy));
}

.career-note {
    max-width: 860px;
    text-align: center;
    color: white;
}

.career-note .section-kicker {
    color: #fca5a5;
}

.career-note h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    color: white;
}

.career-note p {
    margin: 22px auto 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

/* JOB MODAL */
.job-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.job-modal.active {
    display: block;
}

.job-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.job-modal-panel {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100% - 32px));
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    margin: 18px auto;
    border-radius: 34px;
    background: white;
    box-shadow: 0 40px 120px rgba(5, 5, 5, 0.28);
}

.job-modal-header {
    padding: 46px 46px 34px;
    background:
        radial-gradient(circle at 88% 10%, rgba(254, 226, 226, 0.9), transparent 32%),
        linear-gradient(135deg, #ffffff, #fff7f7);
    border-radius: 34px 34px 0 0;
}

.job-modal-header p {
    margin: 0 0 14px;
    font-family: var(--font-accent);
    color: var(--deep-rose);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.job-modal-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--sword-black);
}

.job-modal-header span {
    display: inline-flex;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--rose-leaf);
    background: var(--pale-leaf);
    font-size: 13px;
    font-weight: 800;
}

.job-modal-body {
    padding: 42px 46px 46px;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
}

.job-requirement {
    display: grid;
    gap: 28px;
}

.job-requirement .modal-section {
    margin-top: 0;
}

.job-requirement p {
    margin: 0;
    color: var(--secondary-text);
    line-height: 1.8;
}

.job-requirement ul {
    margin: 0;
    padding-left: 20px;
    color: var(--secondary-text);
    line-height: 1.8;
}

.job-form-wrap {
    padding: 28px;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: 28px;
    background: var(--rose-white);
}

.job-form-wrap h3 {
    margin: 0 0 10px;
    color: var(--sword-black);
    font-size: 24px;
}

.job-form-wrap>p {
    margin: 0 0 24px;
    color: var(--secondary-text);
    line-height: 1.7;
}

.career-form {
    display: grid;
    gap: 16px;
}

.career-form label {
    display: grid;
    gap: 8px;
    color: var(--sword-black);
    font-size: 14px;
    font-weight: 800;
}

.career-form input,
.career-form textarea {
    width: 100%;
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-radius: 16px;
    padding: 14px 15px;
    color: var(--main-text);
    background: white;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.career-form input:focus,
.career-form textarea:focus {
    border-color: rgba(185, 28, 28, 0.42);
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.career-form small {
    color: var(--secondary-text);
    font-size: 12px;
    font-weight: 500;
}

.checkbox-label {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    gap: 10px !important;
    align-items: start;
    font-weight: 600 !important;
    color: var(--secondary-text) !important;
    line-height: 1.6;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

body.modal-open {
    overflow: hidden;
}

/* RESPONSIVE CAREER PAGE */
@media (max-width: 960px) {

    .job-grid,
    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .job-card {
        min-height: auto;
    }

    .job-modal-body,
    .job-modal-header {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 640px) {
    .career-page-hero {
        padding: 140px 0 80px;
    }

    .job-modal-panel {
        width: calc(100% - 18px);
        margin: 9px auto;
        border-radius: 26px;
    }

    .job-modal-header {
        border-radius: 26px 26px 0 0;
        padding: 34px 22px 26px;
    }

    .job-modal-body {
        padding: 26px 22px;
    }

    .job-form-wrap {
        padding: 22px;
    }
}

/* =========================================================
   07 — Global Loader
   ========================================================= */

/* =========================
   GLOBAL LOADER - ROSAE
========================= */

body.is-loading {
  overflow: hidden;
}

.live-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 40%, rgba(185, 28, 28, 0.18), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(127, 29, 29, 0.12), transparent 28%),
    linear-gradient(180deg, #020202 0%, #0a0a0a 55%, #111111 100%);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.live-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.045);
  filter: blur(14px);
  background:
    radial-gradient(circle at 50% 38%, rgba(254, 226, 226, 0.98), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(220, 252, 231, 0.34), transparent 20%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(180deg, #171717 0%, #f3e8e8 62%, #fff9f9 100%);
  transition:
    opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.live-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.95;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.22) 100%);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.live-loader.is-brightening::before {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.live-loader.is-brightening::after {
  opacity: 0.24;
}

.live-loader.is-soft .loader-inner {
  transform: translateY(-4px) scale(1.012);
  opacity: 0.96;
}

.live-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
  transition: opacity 1s ease;
  pointer-events: none;
}

.live-loader.is-brightening .loader-noise {
  opacity: 0.045;
}

.loader-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(185, 28, 28, 0.24), transparent 18%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 30%);
  transition:
    opacity 1s ease,
    transform 1s ease;
  pointer-events: none;
}

.live-loader.is-brightening .loader-glow {
  opacity: 0.72;
  transform: scale(1.04);
}

.loader-inner {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  text-align: center;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-ring-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(160px, 28vw, 210px);
  height: clamp(160px, 28vw, 210px);
  margin: 0 auto 18px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.live-ring,
.live-ring.two,
.live-ring.three {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(185, 28, 28, 0.35);
  opacity: 0;
  transform: scale(0.72);
  transition: border-color 1s ease;
}

.live-ring.two {
  inset: 18px;
  border-color: rgba(185, 28, 28, 0.25);
  animation-delay: 0.18s;
}

.live-ring.three {
  inset: 36px;
  border-color: rgba(255, 255, 255, 0.16);
  animation-delay: 0.36s;
}

.live-loader.is-brightening .live-ring.three {
  border-color: rgba(185, 28, 28, 0.15);
}

.live-badge {
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: var(--deep-rose);
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.28);
}

.live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  animation: liveDot 0.8s ease-in-out infinite;
}

.loader-logo-card {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(90px, 14vw, 118px);
  height: clamp(90px, 14vw, 118px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: logoFloat 1.8s ease-in-out infinite;
  transition:
    transform 1s ease,
    box-shadow 1s ease,
    background 1s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.live-loader.is-brightening .loader-logo-card {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 68px rgba(185, 28, 28, 0.18),
    0 0 0 1px rgba(185, 28, 28, 0.08);
}

.loader-logo-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.loader-kicker {
  margin: 0 0 10px;
  color: #fca5a5;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    color 1s ease,
    opacity 1s ease,
    transform 1s ease;
}

.loader-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-family: var(--font-heading);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
  transition:
    color 1s ease,
    transform 1s ease,
    opacity 1s ease;
}

.loader-sub {
  max-width: 340px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
  transition:
    color 1s ease,
    opacity 1s ease,
    transform 1s ease;
}

.loader-rotating {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 22px;
  margin-top: 14px;
  color: white;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 1s ease,
    opacity 1s ease,
    transform 1s ease;
}

.live-loader.is-brightening .loader-title {
  color: var(--sword-black);
  transform: translateY(-2px);
}

.live-loader.is-brightening .loader-sub {
  color: #4b5563;
  transform: translateY(-1px);
}

.live-loader.is-brightening .loader-kicker,
.live-loader.is-brightening .loader-rotating {
  color: var(--deep-rose);
}

.signal-bars {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 5px;
  height: 36px;
  margin: 22px auto 0;
}

.signal-bars span {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: var(--deep-rose);
  opacity: 0.42;
  animation: signalBar 0.78s ease-in-out infinite;
}

.signal-bars span:nth-child(2) { animation-delay: 0.08s; }
.signal-bars span:nth-child(3) { animation-delay: 0.16s; }
.signal-bars span:nth-child(4) { animation-delay: 0.24s; }
.signal-bars span:nth-child(5) { animation-delay: 0.32s; }

.loader-progress {
  overflow: hidden;
  width: min(270px, 82%);
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 1s ease;
}

.live-loader.is-brightening .loader-progress {
  background: rgba(5, 5, 5, 0.08);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: translateX(-100%);
  background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.live-loader.is-playing .loader-progress span {
  animation: progressRun 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.live-loader.is-playing .live-ring {
  animation: livePulse 1.45s ease-out infinite;
}

/* =========================================================
   08 — About Page
   ========================================================= */

/* =========================
   ABOUT PAGE
========================= */

.about-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(circle at 78% 18%, rgba(254, 226, 226, 0.92), transparent 28%),
    radial-gradient(circle at 12% 26%, rgba(220, 252, 231, 0.42), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 58%, #ffffff 100%);
}

.about-hero-mark {
  position: absolute;
  right: -120px;
  top: 12%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(185, 28, 28, 0.12);
  pointer-events: none;
}

.about-page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-hero-copy h1 {
  margin: 0;
  color: var(--sword-black);
  font-family: var(--font-heading);
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.about-hero-copy h1 span {
  color: var(--deep-rose);
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--secondary-text);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
}

.about-hero-visual {
  overflow: hidden;
  min-height: 540px;
  border-radius: 36px;
  box-shadow: 0 26px 80px rgba(5, 5, 5, 0.14);
  background: #111;
}

.about-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-positioning {
  background: var(--sword-black);
  color: #ffffff;
}

.about-positioning .section-heading h2,
.about-positioning .section-heading p {
  color: #ffffff;
}

.about-positioning .focus-intro {
  color: rgba(255, 255, 255, 0.68);
}

.about-position-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.about-position-card {
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 28, 28, 0.28), transparent 34%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-position-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #fca5a5;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 900;
}

.about-position-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.about-position-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-story-image {
  overflow: hidden;
  min-height: 520px;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(5, 5, 5, 0.12);
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-copy h2 {
  margin: 0;
  color: var(--sword-black);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.about-story-copy p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--secondary-text);
  font-size: 16px;
  line-height: 1.8;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-mini-stats div {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(185, 28, 28, 0.12);
}

.about-mini-stats strong {
  display: block;
  color: var(--deep-rose);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.about-mini-stats span {
  display: block;
  margin-top: 6px;
  color: var(--secondary-text);
  font-size: 13px;
  line-height: 1.5;
}

.about-values {
  background:
    radial-gradient(circle at 80% 10%, rgba(254, 226, 226, 0.72), transparent 28%),
    linear-gradient(180deg, #ffffff, #fff7f7);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.about-value-card {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(185, 28, 28, 0.12);
  box-shadow: 0 18px 50px rgba(5, 5, 5, 0.05);
}

.about-value-card h3 {
  margin: 0 0 12px;
  color: var(--sword-black);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.about-value-card p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 14px;
  line-height: 1.75;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light-outline {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

@media (max-width: 1080px) {
  .about-page-hero-inner,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-position-grid,
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero-visual,
  .about-story-image {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .about-page-hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .about-position-grid,
  .about-values-grid,
  .about-mini-stats {
    grid-template-columns: 1fr;
  }

  .about-hero-visual,
  .about-story-image {
    min-height: 300px;
    border-radius: 28px;
  }

  .about-position-card,
  .about-value-card {
    border-radius: 24px;
  }
}

/* =========================================================
   09 — Calm Dark Mode Normalization
   Purpose: keep the dark mode premium, calm, and editorial,
   without making it feel like horror / gothic cinema.
   ========================================================= */

/* Global tone */
body {
    color: var(--main-text);
    background:
        radial-gradient(circle at 88% 8%, rgba(128, 0, 0, 0.10), transparent 30%),
        linear-gradient(180deg, #121212 0%, #151313 100%);
}

/* Navigation */
.navbar {
    border-color: rgba(255, 255, 240, 0.14);
    background: rgba(24, 22, 22, 0.76);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.brand strong,
.brand span,
.nav-menu,
.nav-menu a {
    color: var(--main-text);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d8b8b8;
}

.nav-cta,
.menu-toggle {
    color: var(--ivory) !important;
    background: var(--deep-rose);
}

/* Typography */
.hero h1,
.section h2,
.parallax-banner h2,
.career-cta h2,
.contact h2,
.branch-hero-copy h1,
.team-page-hero h1,
.career-page-hero h1,
.about-hero-copy h1,
.about-story-copy h2,
.team-page-cta h2,
.career-note h2,
.job-modal-header h2,
.modal-branch-overlay h2,
.achievement-content h2 {
    color: var(--main-text);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.06;
}

.hero h1 span,
.branch-hero-copy h1 span,
.team-page-hero h1 span,
.career-page-hero h1 span,
.about-hero-copy h1 span,
.achievement-content h2 span {
    color: #c7a0a0;
}

.eyebrow,
.section-kicker,
.branch-location-content p,
.management-info p,
.job-modal-header p,
.mosaic-overlay span,
.award-card span {
    color: #c7a0a0;
}

.hero-desc,
.section-text p,
.focus-intro,
.contact-box p,
.branch-hero-copy p:not(.eyebrow),
.team-page-hero p:not(.eyebrow),
.career-page-hero p:not(.eyebrow),
.about-hero-copy p:not(.eyebrow),
.about-story-copy p:not(.section-kicker),
.about-value-card p,
.about-position-card p,
.job-card p,
.job-requirement p,
.job-requirement ul,
.job-form-wrap > p,
.career-note p,
.team-card p,
.timeline-item p,
.facility-card p,
.focus-card p,
.branch-content span,
.branch-location-content span,
.faq-item p,
.footer p,
.footer span {
    color: var(--secondary-text);
}

/* Page and section backgrounds — softer, less red, less gothic */
.hero,
.branch-page-hero,
.team-page-hero,
.career-page-hero,
.about-page-hero {
    background:
        radial-gradient(circle at 82% 14%, rgba(128, 0, 0, 0.12), transparent 34%),
        radial-gradient(circle at 12% 24%, rgba(255, 255, 240, 0.055), transparent 26%),
        linear-gradient(135deg, #121212 0%, #171414 58%, #121212 100%);
}

.focus,
.team,
.contact,
.about-values,
.branch-directory,
.management-team,
.career-openings {
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 240, 0.035), transparent 30%),
        linear-gradient(180deg, #121212 0%, #181616 100%);
}

.operations,
.about-positioning,
.footer {
    background: #141313;
}

.achievements,
.team-page-cta,
.career-note-section,
.career-cta {
    background:
        radial-gradient(circle at 82% 18%, rgba(128, 0, 0, 0.13), transparent 30%),
        linear-gradient(135deg, #141313 0%, #1d1717 58%, #331415 130%);
}

/* Cards and elevated surfaces */
.focus-card,
.branch-card,
.facility-card,
.team-card,
.faq-item,
.contact-box,
.branch-location-card,
.management-card,
.job-card,
.job-modal-panel,
.branch-modal-panel,
.job-form-wrap,
.modal-info-card,
.about-mini-stats div,
.about-value-card,
.about-position-card {
    color: var(--main-text);
    border-color: var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 240, 0.045), rgba(255, 255, 240, 0.025)), var(--surface);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.26);
}

.job-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(128, 0, 0, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 240, 0.045), rgba(255, 255, 240, 0.02)),
        var(--surface);
}

.floating-card {
    border-color: var(--border);
    background: rgba(26, 24, 24, 0.82);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.focus-card h3,
.branch-content h3,
.facility-card h3,
.timeline-item h3,
.team-card h3,
.branch-location-content h3,
.management-info h3,
.job-card h3,
.job-form-wrap h3,
.modal-section h3,
.about-position-card h3,
.about-value-card h3,
.faq-item span,
.floating-card strong {
    color: var(--main-text);
}

.about-mini-stats strong,
.focus-card span,
.faq-item strong,
.number-item strong {
    color: #d6b4b4;
}

/* Branch and modal details */
.branch-detail-btn,
.job-meta span,
.facility-chip-list span,
.job-modal-header span {
    color: var(--main-text);
    border-color: var(--border);
    background: rgba(255, 255, 240, 0.055);
}

.branch-status.active,
.branch-status.operational,
.branch-status.coming-soon {
    color: var(--ivory);
    background: rgba(128, 0, 0, 0.76);
}

.branch-modal-backdrop,
.job-modal-backdrop {
    background: rgba(0, 0, 0, 0.62);
}

.job-modal-header {
    background:
        radial-gradient(circle at 88% 10%, rgba(128, 0, 0, 0.13), transparent 32%),
        linear-gradient(135deg, #1a1818, #121212);
}

.modal-close {
    color: var(--main-text);
    background: rgba(26, 24, 24, 0.86);
    border: 1px solid var(--border);
}

/* Forms */
.career-form label,
.checkbox-label {
    color: var(--main-text);
}

.career-form input,
.career-form textarea {
    color: var(--main-text);
    border-color: var(--border);
    background: rgba(255, 255, 240, 0.055);
}

.career-form input::placeholder,
.career-form textarea::placeholder {
    color: var(--muted-text);
}

.career-form input:focus,
.career-form textarea:focus {
    border-color: rgba(168, 50, 50, 0.52);
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.10);
}

/* Buttons — still visible, but less aggressive */
.btn-primary,
.job-detail-btn {
    color: var(--ivory);
    background: #800000;
    box-shadow: 0 14px 30px rgba(128, 0, 0, 0.22);
}

.btn-primary:hover,
.job-detail-btn:hover {
    background: #a83232;
}

.btn-secondary {
    color: var(--main-text);
    border-color: var(--border);
    background: rgba(255, 255, 240, 0.055);
}

.btn-secondary:hover {
    color: var(--ivory);
    border-color: rgba(216, 184, 184, 0.36);
    background: rgba(128, 0, 0, 0.12);
}

.btn-light {
    color: #121212;
    background: var(--ivory);
}

.btn-light-outline {
    color: var(--ivory);
    border-color: rgba(255, 255, 240, 0.24);
    background: transparent;
}

/* Images and overlays — reduce horror contrast */
.hero-card-main,
.branch-hero-visual,
.about-hero-visual,
.about-story-image,
.management-photo,
.branch-location-image,
.branch-image,
.modal-gallery img {
    background: #161414;
}

.hero-card-main::after,
.management-photo::after,
.mosaic-card::after {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.56) 0%,
        rgba(0, 0, 0, 0.22) 44%,
        rgba(0, 0, 0, 0.02) 100%);
}

.banner-bg {
    background:
        linear-gradient(rgba(18, 18, 18, 0.38), rgba(18, 18, 18, 0.48)),
        url("../img/crew.png") center / cover no-repeat;
}

.rose-line {
    background: radial-gradient(circle, rgba(128, 0, 0, 0.10), transparent 72%);
}

.sword-mark,
.branch-hero-mark,
.team-page-mark,
.career-page-mark,
.about-hero-mark,
.achievement-bg-mark {
    opacity: 0.11;
    border-color: rgba(255, 255, 240, 0.08);
}

/* Loader follows calmer palette */
.live-loader {
    background:
        radial-gradient(circle at 50% 40%, rgba(128, 0, 0, 0.12), transparent 20%),
        linear-gradient(180deg, #111111 0%, #151313 100%);
}

.loader-title {
    font-weight: 600;
    letter-spacing: 0.015em;
}

.live-loader.is-brightening .loader-title {
    color: var(--sword-black);
}

/* Mobile menu dark surface */
@media (max-width: 960px) {
    .nav-menu {
        background: rgba(24, 22, 22, 0.96);
        border: 1px solid var(--border);
    }
}

