/* ============================================================
   MYA FIRST HOLDING — Premium Institutional CSS
   Direction: A + 20% C | Ultra-sober + Strategic corridor layer
   ============================================================ */

/* ---- TOKENS ---- */
:root {
    --midnight:  #0B1530;
    --midnight-2:#0E1C3A;
    --ivory:     #F6F2EA;
    --ivory-2:   #EDE9E0;
    --charcoal:  #1C2430;
    --gold:      #B08D57;
    --gold-light:#C9A96E;
    --white:     #FFFFFF;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;

    --nav-h: 76px;
    --section-pad: clamp(96px, 10vw, 144px);
    --container-max: 1200px;
    --container-pad: clamp(20px, 5vw, 80px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    background-color: var(--midnight);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- CONTAINER ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ---- TYPOGRAPHY ---- */
.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    opacity: 0.85;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-intro {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0.7;
    margin-top: 20px;
}

.section-header {
    margin-bottom: clamp(56px, 6vw, 80px);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 15px 36px;
    border: 1px solid;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--midnight);
    border-color: var(--gold);
}
.btn-primary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ivory);
    border-color: rgba(246,242,234,0.35);
}
.btn-secondary:hover {
    border-color: rgba(246,242,234,0.7);
    background-color: rgba(246,242,234,0.05);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background-color: rgba(11,21,48,0.92);
    border-bottom: 1px solid rgba(176,141,87,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
    background-color: rgba(11,21,48,0.98);
    border-bottom-color: rgba(176,141,87,0.18);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-main {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivory);
    transition: color 0.2s ease;
}
.nav-logo:hover .nav-logo-main { color: var(--gold); }

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246,242,234,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link.nav-link-active {
    color: var(--ivory);
}
.nav-link:hover::after,
.nav-link.active::after,
.nav-link.nav-link-active::after {
    transform: scaleX(1);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--ivory);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--midnight);
    overflow: hidden;
}

.hero-bg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-bg-lines svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 80px) var(--container-pad) 100px;
    max-width: 820px;
    padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}
.label-line {
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.7;
    flex-shrink: 0;
}
.label-text {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ivory);
    margin-bottom: 32px;
    max-width: 720px;
}

.hero-subheadline {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(246,242,234,0.62);
    max-width: 560px;
    margin-bottom: 52px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-signature {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 0;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(246,242,234,0.35);
}
.hero-signature .signature-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: rgba(176,141,87,0.4);
    margin: 0 14px;
}

/* ---- FIGURES ---- */
.figures {
    background-color: var(--ivory);
    color: var(--charcoal);
    padding: var(--section-pad) 0;
}
.figures .section-label { color: var(--gold); }
.figures .section-title { color: var(--midnight); }

.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(28,36,48,0.12);
    border-left: 1px solid rgba(28,36,48,0.12);
    margin-bottom: 56px;
}

.figure-item {
    padding: 44px 36px;
    border-right: 1px solid rgba(28,36,48,0.12);
    border-bottom: 1px solid rgba(28,36,48,0.12);
    transition: background-color 0.25s ease;
}
.figure-item:hover {
    background-color: rgba(28,36,48,0.025);
}

.figure-number {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 300;
    color: var(--midnight);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.figure-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--midnight);
    opacity: 0.8;
    margin-bottom: 14px;
}

.figure-divider {
    width: 28px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 14px;
    opacity: 0.7;
}

.figure-desc {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(28,36,48,0.55);
    line-height: 1.6;
}

.figures-caption {
    max-width: 680px;
    padding-top: 8px;
}
.figures-caption p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(28,36,48,0.55);
    font-weight: 300;
}

/* ---- ABOUT ---- */
.about {
    background-color: var(--midnight);
    padding: var(--section-pad) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left .section-title { color: var(--ivory); }

.about-divider {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin: 32px 0;
    opacity: 0.7;
}

.about-text {
    font-family: var(--font-sans);
    font-size: 0.93rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(246,242,234,0.62);
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(246,242,234,0.08);
}

.pillar-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(246,242,234,0.08);
    transition: border-color 0.2s ease;
}
.pillar-item:hover {
    border-bottom-color: rgba(176,141,87,0.25);
}

.pillar-number {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0.7;
    flex-shrink: 0;
    padding-top: 3px;
    min-width: 24px;
}

.pillar-title {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ivory);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}

.pillar-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(246,242,234,0.5);
}

/* ---- THESIS ---- */
.thesis {
    background-color: var(--ivory-2);
    color: var(--charcoal);
    padding: var(--section-pad) 0;
}
.thesis .section-label { color: var(--gold); }
.thesis .section-title { color: var(--midnight); }
.thesis .section-intro { color: rgba(28,36,48,0.6); }

.thesis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background-color: rgba(28,36,48,0.08);
}

.thesis-item {
    background-color: var(--ivory-2);
    padding: 52px 48px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: background-color 0.25s ease;
}
.thesis-item:hover {
    background-color: var(--white);
}

.thesis-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 4px;
}

.thesis-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--midnight);
    margin-bottom: 12px;
    line-height: 1.3;
}

.thesis-rule {
    width: 24px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 14px;
    opacity: 0.7;
}

.thesis-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(28,36,48,0.6);
}

/* ---- PORTFOLIO ---- */
.portfolio {
    background-color: var(--midnight);
    padding: var(--section-pad) 0;
}
.portfolio .section-intro { color: rgba(246,242,234,0.5); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: rgba(246,242,234,0.06);
}

.portfolio-card {
    background-color: var(--midnight);
    padding: 52px 44px;
    transition: background-color 0.3s ease;
}
.portfolio-card:hover {
    background-color: var(--midnight-2);
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-category {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(246,242,234,0.4);
    font-weight: 400;
}

.card-status {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 12px;
    border: 1px solid;
}
.card-status.active {
    color: var(--gold);
    border-color: rgba(176,141,87,0.35);
}
.card-status.development {
    color: rgba(246,242,234,0.4);
    border-color: rgba(246,242,234,0.15);
}

.card-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 16px;
    line-height: 1.2;
}

.card-rule {
    width: 28px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.5;
}

.card-desc {
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(246,242,234,0.5);
}

/* ---- GEOGRAPHY ---- */
.geography {
    background-color: var(--midnight);
    padding: var(--section-pad) 0;
    border-top: 1px solid rgba(246,242,234,0.05);
}
.geography .section-intro { color: rgba(246,242,234,0.55); }

.geography-layout {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Corridor Map */
.corridor-map {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.corridor-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Corridor line animation */
.corridor-line {
    animation: drawLine 1.8s ease forwards;
    animation-play-state: paused;
}

.corridor-map.in-view .corridor-line {
    animation-play-state: running;
}

.corridor-map.in-view .corridor-line:nth-child(1) { animation-delay: 0.2s; }
.corridor-map.in-view .corridor-line:nth-child(2) { animation-delay: 0.4s; }
.corridor-map.in-view .corridor-line:nth-child(3) { animation-delay: 0.55s; }
.corridor-map.in-view .corridor-line:nth-child(4) { animation-delay: 0.35s; }
.corridor-map.in-view .corridor-line:nth-child(5) { animation-delay: 0.45s; }
.corridor-map.in-view .corridor-line:nth-child(6) { animation-delay: 0.5s; }

@keyframes drawLine {
    from { stroke-dashoffset: 400; opacity: 0; }
    to   { stroke-dashoffset: 0; opacity: 1; }
}

.hub-ring {
    transform-origin: 310px 230px;
}
.hub-ring-1 {
    animation: pulseRing 3.5s ease-in-out infinite;
}
.hub-ring-2 {
    animation: pulseRing 3.5s ease-in-out infinite 1.2s;
}

@keyframes pulseRing {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%       { opacity: 0.18; transform: scale(1.06); }
}

.node-hub, .node-region, .node-axis {
    transition: r 0.2s ease;
}

/* Node entrance */
.geography-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(246,242,234,0.06);
}

.geo-col {
    padding: 40px 36px;
    background-color: var(--midnight);
}

.geo-col-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 14px;
}

.geo-col-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 14px;
    line-height: 1.3;
}

.geo-col-text {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(246,242,234,0.45);
}

/* ---- APPROACH ---- */
.approach {
    background-color: var(--ivory);
    color: var(--charcoal);
    padding: var(--section-pad) 0;
}
.approach .section-label { color: var(--gold); }
.approach .section-title { color: var(--midnight); }

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: rgba(28,36,48,0.1);
    border: 1px solid rgba(28,36,48,0.1);
    margin-top: clamp(56px, 6vw, 80px);
}

.approach-step {
    position: relative;
    background-color: var(--ivory);
    padding: 48px 36px;
    transition: background-color 0.25s ease;
}
.approach-step:hover {
    background-color: var(--white);
}

.step-connector {
    position: absolute;
    top: 68px;
    right: -1px;
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(176,141,87,0.5), transparent);
    z-index: 1;
}
.approach-step:last-child .step-connector { display: none; }

.step-number {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 24px;
    font-weight: 500;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--midnight);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-rule {
    width: 24px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 14px;
    opacity: 0.65;
}

.step-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(28,36,48,0.55);
}

/* ---- VISION ---- */
.vision {
    background-color: var(--midnight-2);
    padding: clamp(120px, 15vw, 180px) 0;
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(176,141,87,0.06);
    pointer-events: none;
}

.vision-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.vision-inner .section-label {
    display: block;
    margin-bottom: 20px;
}

.vision-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 300;
    color: var(--ivory);
    line-height: 1.15;
    margin-bottom: 32px;
}

.vision-rule {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto 32px;
    opacity: 0.6;
}

.vision-text {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.85;
    color: rgba(246,242,234,0.58);
    margin-bottom: 48px;
}

.vision-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 0;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(246,242,234,0.3);
}
.vision-signature .signature-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: rgba(176,141,87,0.35);
    margin: 0 14px;
}

/* ---- CONTACT ---- */
.contact {
    background-color: var(--ivory);
    color: var(--charcoal);
    padding: var(--section-pad) 0;
}
.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--midnight); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-family: var(--font-sans);
    font-size: 0.93rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(28,36,48,0.6);
    margin: 24px 0 40px;
    max-width: 420px;
}

.contact-btn {
    background-color: var(--midnight);
    color: var(--ivory);
    border-color: var(--midnight);
}
.contact-btn:hover {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
}

.contact-details {
    padding-top: 12px;
    border-left: 1px solid rgba(28,36,48,0.1);
    padding-left: 56px;
}

.contact-block {
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(28,36,48,0.08);
}
.contact-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-info strong {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 6px;
}
.contact-info span {
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 300;
    color: rgba(28,36,48,0.58);
    line-height: 1.6;
}

.contact-email {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--midnight);
    border-bottom: 1px solid rgba(176,141,87,0.4);
    padding-bottom: 2px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-email:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ---- FOOTER ---- */
.footer {
    background-color: var(--midnight);
    padding: 52px 0 40px;
    border-top: 1px solid rgba(246,242,234,0.07);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(246,242,234,0.07);
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-logo {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivory);
}
.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: rgba(246,242,234,0.3);
    letter-spacing: 0.08em;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.footer-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(246,242,234,0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover { color: var(--gold); }

.footer-email {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(246,242,234,0.4);
    text-decoration: none;
    border-bottom: 1px solid rgba(176,141,87,0.25);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-email:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy,
.footer-cfc {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: rgba(246,242,234,0.22);
    letter-spacing: 0.06em;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
                transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .corridor-line { animation: none; stroke-dashoffset: 0; opacity: 1; }
    .hub-ring { animation: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .figures-grid { grid-template-columns: repeat(2, 1fr); }
    .thesis-grid { grid-template-columns: 1fr; }
    .approach-steps { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .contact-details { border-left: none; padding-left: 0; padding-top: 0; border-top: 1px solid rgba(28,36,48,0.1); padding-top: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background-color: rgba(11,21,48,0.98);
        padding: 32px var(--container-pad) 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        border-bottom: 1px solid rgba(176,141,87,0.12);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .figures-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .geography-columns { grid-template-columns: 1fr; }
    .approach-steps { grid-template-columns: 1fr; }
    .thesis-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-nav { gap: 8px 20px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: auto; }
    .corridor-map { display: none; }
}

@media (max-width: 540px) {
    .figures-grid { grid-template-columns: 1fr; }
    .figure-item { padding: 32px 24px; }
    .thesis-item { padding: 36px 28px; }
    .portfolio-card { padding: 36px 28px; }
    .approach-step { padding: 36px 28px; }
    .contact-details { padding-left: 0; }
    .footer-bottom { flex-direction: column; }
}
