/* =========================================================
   Ali Asadov — Premium Statesman Website
   Shared Stylesheet
   ========================================================= */

:root {
    --navy:        #0a1834;
    --navy-2:      #12254d;
    --midnight:    #05102a;
    --gold:        #c9a24a;
    --gold-soft:   #e1c988;
    --emerald:     #0f6d4b;
    --emerald-2:   #14875e;
    --crimson:     #a61f2a;
    --ivory:       #f7f4ec;
    --cream:       #fbf8f1;
    --bone:        #ece6d6;
    --text:        #1a1f2e;
    --muted:       #5a6478;
    --line:        rgba(10, 24, 52, 0.12);
    --serif:       'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --display:     'Playfair Display', Georgia, serif;
    --sans:        'Inter', 'Manrope', system-ui, sans-serif;
    --shadow-lg:   0 30px 80px -20px rgba(10, 24, 52, 0.35);
    --shadow-md:   0 14px 40px -12px rgba(10, 24, 52, 0.22);
    --shadow-sm:   0 4px 18px -6px rgba(10, 24, 52, 0.18);
    --radius:      2px;
    --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--navy); }

html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--navy); letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }

.container { width: min(1280px, 90%); margin-inline: auto; }
.container-wide { width: min(1480px, 94%); margin-inline: auto; }
.container-narrow { width: min(980px, 88%); margin-inline: auto; }

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-dark { background: var(--midnight); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-ivory { background: var(--ivory); }

/* ---------- Eyebrow / Meta Type ---------- */
.eyebrow {
    font-family: var(--sans);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .35em;
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.eyebrow::before {
    content: ""; width: 38px; height: 1px; background: var(--gold);
}
.section-dark .eyebrow { color: var(--gold-soft); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
    background: rgba(5, 16, 42, 0.02);
    backdrop-filter: blur(0);
    transition: all .45s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.nav.dark-bg {
    background: transparent;
    backdrop-filter: blur(0);
}
.nav.dark-bg.scrolled {
    background: rgba(5, 16, 42, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201,162,74,.25);
}
/* keep text light on dark-bg nav in all states */
.nav.dark-bg .brand,
.nav.dark-bg.scrolled .brand { color: var(--ivory) !important; }
.nav.dark-bg .nav-menu a,
.nav.dark-bg.scrolled .nav-menu a { color: var(--ivory) !important; }
.nav.dark-bg .nav-menu a:hover,
.nav.dark-bg .nav-menu a.active,
.nav.dark-bg.scrolled .nav-menu a:hover,
.nav.dark-bg.scrolled .nav-menu a.active { color: var(--gold) !important; }
.nav.dark-bg .nav-toggle,
.nav.dark-bg.scrolled .nav-toggle { color: var(--ivory); }

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 14px;
    color: var(--ivory);
    transition: color .3s var(--ease);
}
.nav.scrolled .brand { color: var(--navy); }
.brand-mark {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid currentColor;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: .02em;
    position: relative;
}
.brand-mark::after {
    content: ""; position: absolute; inset: 3px;
    border: 1px solid currentColor; opacity: .35;
}
.brand-text { line-height: 1.1; }
.brand-text .name {
    font-family: var(--display);
    font-size: 1.02rem;
    letter-spacing: .04em;
    font-weight: 500;
}
.brand-text .tag {
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: .7;
}

.nav-menu {
    display: flex; align-items: center; gap: 38px;
    list-style: none;
}
.nav-menu a {
    color: var(--ivory);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color .3s var(--ease);
}
.nav.scrolled .nav-menu a { color: var(--navy); }
.nav-menu a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width .4s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav.scrolled .nav-menu a:hover, .nav.scrolled .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    position: relative;
    color: var(--ivory);
}
.nav.scrolled .nav-toggle { color: var(--navy); }
.nav-toggle span {
    position: absolute; left: 10px; width: 26px; height: 1.5px;
    background: currentColor;
    transition: all .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; width: 18px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle.open span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; inset: 0;
        background: linear-gradient(180deg, var(--midnight), var(--navy));
        flex-direction: column; justify-content: center;
        gap: 26px;
        opacity: 0; pointer-events: none;
        transition: opacity .4s var(--ease);
    }
    .nav-menu.open { opacity: 1; pointer-events: all; }
    .nav-menu a { color: var(--ivory) !important; font-size: 1rem; }
    .nav.scrolled .nav-menu a { color: var(--ivory) !important; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 16px 32px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    font-weight: 600;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--ivory);
    position: relative; overflow: hidden;
    transition: all .4s var(--ease);
}
.btn::after {
    content: ""; width: 18px; height: 1px; background: currentColor;
    transition: width .35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn:hover::after { width: 26px; }
.btn-outline {
    background: transparent; color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--ivory); }
.btn-ghost-light {
    background: transparent; color: var(--ivory); border-color: var(--ivory);
}
.btn-ghost-light:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--midnight);
    color: var(--ivory);
    padding: 90px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer h4 {
    font-family: var(--sans);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 600;
}
.footer-brand .brand-mark,
.footer-brand .brand-text .name { color: var(--ivory); }
.footer-brand p {
    color: rgba(247, 244, 236, .65);
    font-size: .95rem;
    max-width: 360px;
    margin-top: 22px;
}
.footer-contact a,
.footer-contact span {
    display: block;
    color: rgba(247, 244, 236, .8);
    margin-bottom: 12px;
    font-size: .95rem;
    transition: color .3s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(247, 244, 236, .75);
    font-size: .95rem;
    transition: color .3s, padding .3s;
}
.footer-links a:hover { color: var(--gold); padding-left: 8px; }

.socials {
    display: flex; gap: 10px; margin-top: 22px;
}
.socials a {
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,.18);
    display: grid; place-items: center;
    color: var(--ivory);
    transition: all .35s var(--ease);
}
.socials a:hover {
    background: var(--gold); border-color: var(--gold); color: var(--navy);
    transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    font-size: .82rem;
    color: rgba(247, 244, 236, .6);
}
.footer-bottom a { color: var(--gold-soft); }
.footer-bottom a:hover { color: var(--gold); }
.footer-credit-line a { color: rgba(247, 244, 236, .85); }

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr; gap: 44px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .25s; }
.reveal-delay-3 { transition-delay: .4s; }
.reveal-delay-4 { transition-delay: .55s; }

/* =========================================================
   HERO (Home)
   ========================================================= */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end;
    color: var(--ivory);
    padding-bottom: 90px;
    background: var(--midnight);
}
.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    filter: brightness(0.58) saturate(1.05);
}
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(5,16,42,.55) 0%, rgba(5,16,42,.2) 35%, rgba(5,16,42,.92) 100%),
        linear-gradient(90deg, rgba(5,16,42,.55) 0%, transparent 60%);
}
.hero-inner {
    position: relative; z-index: 2;
    width: 100%;
}
.hero-label {
    display: flex; align-items: center; gap: 14px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .4em;
    color: var(--gold-soft);
    margin-bottom: 32px;
    font-weight: 500;
}
.hero-label::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hero h1 {
    font-family: var(--display);
    color: var(--ivory);
    font-weight: 400;
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    line-height: .96;
    letter-spacing: -0.015em;
    max-width: 14ch;
    margin-bottom: 28px;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}
.hero-tag {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    color: rgba(247,244,236,.9);
    max-width: 64ch;
    margin-bottom: 44px;
    font-style: italic;
    border-left: 1px solid var(--gold);
    padding-left: 22px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
    position: absolute; right: 0; bottom: 0;
    border-left: 1px solid rgba(255,255,255,.15);
    padding: 22px 0 22px 36px;
    display: flex; flex-direction: column;
    font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
    color: rgba(247,244,236,.65);
}
.hero-meta strong {
    color: var(--gold);
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.scroll-cue {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    color: rgba(247,244,236,.6);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 3;
}
.scroll-cue::after {
    content: ""; width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats-band {
    background: var(--ivory);
    padding: 70px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stat {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
    font-family: var(--display);
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    color: var(--navy);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 12px;
}
.stat-num span { color: var(--gold); }
.stat-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--muted);
    font-weight: 500;
}
@media (max-width: 820px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
    .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =========================================================
   PAGE BANNER (for inner pages)
   ========================================================= */
.page-banner {
    position: relative;
    min-height: 78vh;
    display: flex; align-items: flex-end;
    color: var(--ivory);
    padding: 170px 0 80px;
    overflow: hidden;
    background: var(--midnight);
}
.page-banner-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-banner-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    filter: brightness(0.55) saturate(1.05);
}
.page-banner-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(5,16,42,.55) 0%, rgba(5,16,42,.2) 30%, rgba(5,16,42,.9) 100%),
        linear-gradient(90deg, rgba(5,16,42,.5), transparent 55%);
}
.page-banner-inner { position: relative; z-index: 2; width: 100%; }

/* Banner content must always be visible on first paint — override reveal. */
.page-banner .reveal { opacity: 1 !important; transform: none !important; }
.page-banner .crumbs,
.page-banner h1,
.page-banner p { animation: bannerIn 1s var(--ease) both; }
.page-banner h1      { animation-delay: .15s; }
.page-banner p       { animation-delay: .3s;  }
@keyframes bannerIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-banner h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    color: var(--ivory);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 26px;
    max-width: 18ch;
}
.page-banner h1 em { color: var(--gold); font-style: italic; }
.page-banner p {
    max-width: 62ch;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(247,244,236,.85);
    border-left: 1px solid var(--gold);
    padding-left: 20px;
}
.crumbs {
    display: flex; gap: 12px; align-items: center;
    font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
    color: rgba(247,244,236,.65);
    margin-bottom: 24px;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* =========================================================
   INTRO / SECTION HEADERS
   ========================================================= */
.section-head {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 70px;
}
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 820px) {
    .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   HIGHLIGHT / PRIORITY CARDS
   ========================================================= */
.priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}
.priority {
    background: var(--cream);
    padding: 44px 36px;
    transition: all .5s var(--ease);
    position: relative;
    cursor: default;
    min-height: 280px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.priority:hover {
    background: var(--navy);
    color: var(--ivory);
}
.priority:hover h3 { color: var(--ivory); }
.priority:hover .priority-num { color: var(--gold); }
.priority-num {
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: .05em;
}
.priority h3 {
    font-size: 1.45rem;
    margin: 24px 0 18px;
    transition: color .4s;
}
.priority p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65;
}
.priority:hover p { color: rgba(247,244,236,.8); }
.priority::after {
    content: "→"; position: absolute; right: 36px; bottom: 36px;
    opacity: 0; transform: translateX(-10px);
    transition: all .4s var(--ease);
    color: var(--gold); font-size: 1.2rem;
}
.priority:hover::after { opacity: 1; transform: translateX(0); }
@media (max-width: 960px) { .priority-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .priority-grid { grid-template-columns: 1fr; } }

/* =========================================================
   MESSAGE / QUOTE BLOCK
   ========================================================= */
.message-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.message-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.message-img::before {
    content: ""; position: absolute;
    top: -24px; left: -24px; right: 24px; bottom: 24px;
    border: 1px solid var(--gold);
    z-index: 0;
}
.message-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    position: relative;
    z-index: 1;
}
.message-body .quote-open {
    font-family: var(--display);
    font-size: 5rem;
    color: var(--gold);
    line-height: 0;
    position: relative;
    top: 20px;
}
.message-body blockquote {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    line-height: 1.45;
    font-style: italic;
    color: var(--navy);
    margin: 26px 0 32px;
}
.message-sig {
    display: flex; align-items: center; gap: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.message-sig strong {
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 500;
}
.message-sig span {
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .message-block { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   UPDATES / NEWS
   ========================================================= */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.update-card {
    background: var(--cream);
    border: 1px solid var(--line);
    transition: all .5s var(--ease);
    overflow: hidden;
}
.update-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.update-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.update-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 1.2s var(--ease);
}
.update-card:hover .update-img img { transform: scale(1.05); }
.update-body { padding: 30px 30px 34px; }
.update-meta {
    display: flex; gap: 20px;
    font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.update-meta span.tag { color: var(--gold); font-weight: 600; }
.update-body h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    line-height: 1.3;
}
.update-body p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.update-link {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--navy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.update-link::after { content: "→"; transition: transform .35s var(--ease); }
.update-link:hover { color: var(--gold); }
.update-link:hover::after { transform: translateX(6px); }
@media (max-width: 960px) { .updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .updates-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
    position: relative;
    padding: 120px 0;
    color: var(--ivory);
    overflow: hidden;
    text-align: center;
    background: var(--midnight);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background-image: url('../images/1743590862123007002_1200x630.jpeg');
    background-size: cover;
    background-position: center 25%;
    filter: brightness(.35);
    z-index: 0;
}
.cta-band::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(5,16,42,.9), rgba(5,16,42,.7));
    z-index: 1;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 {
    color: var(--ivory);
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 22ch;
    margin: 0 auto 30px;
    font-weight: 400;
    line-height: 1.15;
}
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p {
    max-width: 58ch; margin: 0 auto 40px;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(247,244,236,.8);
}
.cta-band .btn-group {
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* =========================================================
   TIMELINE (Journey Page)
   ========================================================= */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}
.tl-item {
    position: relative;
    width: 50%;
    padding: 0 60px 80px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
    content: "";
    position: absolute;
    top: 14px;
    width: 14px; height: 14px;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 1px var(--gold);
    border-radius: 50%;
    z-index: 2;
}
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }
.tl-year {
    font-family: var(--display);
    font-size: 2.6rem;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1;
}
.tl-item h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.tl-item p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}
.tl-item .tl-card {
    background: var(--cream);
    padding: 32px 34px;
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: all .4s var(--ease);
}
.tl-item:nth-child(odd) .tl-card {
    border-left: 0; border-right: 3px solid var(--gold);
}
.tl-item .tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

@media (max-width: 820px) {
    .timeline::before { left: 16px; }
    .tl-item, .tl-item:nth-child(even) {
        width: 100%; left: 0;
        padding: 0 0 60px 50px;
        text-align: left;
    }
    .tl-item:nth-child(odd) { text-align: left; }
    .tl-item::before,
    .tl-item:nth-child(odd)::before { left: 10px; }
    .tl-item:nth-child(odd) .tl-card {
        border-right: 0;
        border-left: 3px solid var(--gold);
    }
}

/* =========================================================
   JOURNEY SPLIT (Bio intro)
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img {
    position: relative;
    aspect-ratio: 5/6;
    overflow: hidden;
}
.split-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 1.5s var(--ease);
}
.split-img:hover img { transform: scale(1.04); }
.split-img .tag-float {
    position: absolute;
    left: 0; bottom: 0;
    background: var(--navy);
    color: var(--ivory);
    padding: 20px 26px;
    font-size: .78rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    border-left: 3px solid var(--gold);
}
.split-body h2 { margin-bottom: 28px; }
.split-body p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}
.split-body p.lead {
    color: var(--text);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 26px;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 44px; }
}

/* =========================================================
   VALUE / PHILOSOPHY LIST
   ========================================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
}
.value {
    padding: 40px 30px;
    border-right: 1px solid var(--line);
    background: var(--cream);
    transition: background .4s var(--ease);
}
.value:last-child { border-right: 0; }
.value:hover { background: var(--ivory); }
.value-num {
    font-family: var(--display);
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
    display: block;
}
.value h4 { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--navy); margin-bottom: 10px; letter-spacing: 0; }
.value p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .value:nth-child(2) { border-right: 0; }
    .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .values-grid { grid-template-columns: 1fr; }
    .value { border-right: 0; border-bottom: 1px solid var(--line); }
    .value:last-child { border-bottom: 0; }
}

/* =========================================================
   PORTFOLIO CARDS
   ========================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pf-card {
    background: var(--cream);
    padding: 44px 38px;
    border-top: 3px solid var(--navy);
    transition: all .5s var(--ease);
    position: relative;
    overflow: hidden;
}
.pf-card::before {
    content: ""; position: absolute;
    left: 0; top: -3px; height: 3px; width: 0;
    background: var(--gold);
    transition: width .5s var(--ease);
}
.pf-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pf-card:hover::before { width: 100%; }
.pf-icon {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    color: var(--gold);
    margin-bottom: 28px;
    border: 1px solid var(--gold);
}
.pf-icon svg { width: 28px; height: 28px; stroke: currentColor; }
.pf-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.pf-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.pf-stat {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: baseline;
}
.pf-stat strong {
    font-family: var(--display);
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 500;
}
.pf-stat span {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--muted);
}
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* =========================================================
   VISION GRID
   ========================================================= */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 260px;
    gap: 14px;
}
.v-tile {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--ivory);
    cursor: default;
    min-height: 0;
}
.v-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    opacity: .5;
    transition: all 1s var(--ease);
}
.v-tile:hover img { opacity: .75; transform: scale(1.05); }
.v-tile-body {
    position: absolute;
    inset: 0;
    padding: 32px 32px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, rgba(5,16,42,.15) 30%, rgba(5,16,42,.92));
    transition: background .4s var(--ease);
}
.v-tile:hover .v-tile-body { background: linear-gradient(180deg, rgba(5,16,42,.25) 25%, rgba(5,16,42,.96)); }
.v-tile-body h3 { color: var(--ivory); font-size: 1.5rem; margin-bottom: 10px; }
.v-tile-body p { font-size: .92rem; color: rgba(247,244,236,.78); }
.v-tile-body .v-num {
    position: absolute; top: 28px; right: 32px;
    font-family: var(--display);
    color: var(--gold); font-size: 1rem;
    letter-spacing: .08em;
}

/* ---- Balanced 4-row layout for 8 tiles ---- */
/* Row 1: [1: span 8] [2: span 4, row-span 2]  */
/* Row 2: [3: span 4] [4: span 4]               (tile 2 still spans) */
/* Row 3: [5: span 4] [6: span 8]                                    */
/* Row 4: [7: span 6] [8: span 6]                                    */
.v-tile.x-wide     { grid-column: span 8; }   /* tile 1 */
.v-tile.x-tall     { grid-column: span 4; grid-row: span 2; } /* tile 2 */
.v-tile.x-half     { grid-column: span 6; }   /* tile 7 / 8 */
.v-tile.x-third    { grid-column: span 4; }   /* tile 3 / 4 / 5 */
.v-tile.x-two-third{ grid-column: span 8; }   /* tile 6 */
.v-tile.x-full     { grid-column: span 12; }

@media (max-width: 960px) {
    .vision-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; }
    .v-tile.x-wide, .v-tile.x-two-third { grid-column: span 6; grid-row: auto; }
    .v-tile.x-tall { grid-column: span 6; grid-row: auto; }
    .v-tile.x-half { grid-column: span 3; }
    .v-tile.x-third { grid-column: span 3; }
}
@media (max-width: 560px) {
    .vision-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .v-tile.x-wide, .v-tile.x-tall, .v-tile.x-half, .v-tile.x-third, .v-tile.x-two-third { grid-column: span 1; grid-row: auto; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-filter {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 50px; flex-wrap: wrap;
}
.gallery-filter button {
    padding: 10px 22px;
    font-size: .74rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    background: transparent;
    transition: all .35s var(--ease);
}
.gallery-filter button.active,
.gallery-filter button:hover {
    background: var(--navy); color: var(--ivory); border-color: var(--navy);
}

.masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
}
.m-item {
    overflow: hidden;
    position: relative;
    background: var(--navy);
    cursor: pointer;
}
.m-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 1.4s var(--ease), filter .4s var(--ease);
}
.m-item:hover img { transform: scale(1.06); filter: brightness(.7); }
.m-item::after {
    content: "⤢"; position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    color: var(--ivory);
    font-size: 1.8rem;
    opacity: 0;
    transition: all .4s var(--ease);
    z-index: 3;
}
.m-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.m-item .m-label {
    position: absolute;
    left: 20px; bottom: 18px;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ivory);
    background: rgba(5,16,42,.75);
    padding: 6px 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all .4s var(--ease);
    z-index: 3;
}
.m-item:hover .m-label { opacity: 1; transform: translateY(0); }

.m-item.span-2 { grid-column: span 2; grid-row: span 1; }
.m-item.span-3 { grid-column: span 3; grid-row: span 2; }
.m-item.span-4 { grid-column: span 4; grid-row: span 2; }
.m-item.span-5 { grid-column: span 5; grid-row: span 2; }
.m-item.span-6 { grid-column: span 6; grid-row: span 2; }
.m-item.span-4-tall { grid-column: span 4; grid-row: span 3; }
.m-item.span-3-tall { grid-column: span 3; grid-row: span 3; }

@media (max-width: 900px) {
    .masonry { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
    .m-item.span-4, .m-item.span-5, .m-item.span-6 { grid-column: span 6; }
    .m-item.span-3, .m-item.span-4-tall, .m-item.span-3-tall { grid-column: span 3; }
    .m-item.span-2 { grid-column: span 2; }
}
@media (max-width: 560px) {
    .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .m-item,
    .m-item.span-2, .m-item.span-3, .m-item.span-4, .m-item.span-5, .m-item.span-6,
    .m-item.span-3-tall, .m-item.span-4-tall { grid-column: span 2; grid-row: auto; }
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(5,16,42,.96);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 30px;
}
.lightbox.open { display: flex; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
    max-width: min(1100px, 94%);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--gold);
}
.lb-close {
    position: absolute; top: 24px; right: 30px;
    width: 48px; height: 48px;
    border: 1px solid var(--ivory);
    color: var(--ivory);
    font-size: 1.4rem;
    display: grid; place-items: center;
    background: transparent;
    transition: all .3s;
}
.lb-close:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.lb-prev, .lb-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--ivory);
    font-size: 1.6rem;
    display: grid; place-items: center;
    background: transparent;
    transition: all .3s;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* =========================================================
   DIPLOMACY
   ========================================================= */
.dip-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--ivory);
}
.dip-hero-img {
    aspect-ratio: 4/4;
    overflow: hidden;
    position: relative;
}
.dip-hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
}
.dip-hero-body {
    padding: 80px 70px;
    display: flex; flex-direction: column; justify-content: center;
    background: var(--navy);
    color: var(--ivory);
    position: relative;
}
.dip-hero-body h2 { color: var(--ivory); margin-bottom: 26px; max-width: 16ch; font-weight: 400; }
.dip-hero-body h2 em { color: var(--gold); font-style: italic; }
.dip-hero-body p { color: rgba(247,244,236,.85); font-size: 1.05rem; line-height: 1.85; margin-bottom: 18px; }
@media (max-width: 900px) {
    .dip-hero { grid-template-columns: 1fr; }
    .dip-hero-body { padding: 50px 30px; }
}

.dip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.dip-card {
    background: var(--ivory);
    padding: 44px 36px;
    border: 1px solid var(--line);
    position: relative;
    transition: all .5s var(--ease);
    overflow: hidden;
}
.dip-card::before {
    content: ""; position: absolute;
    inset: 0 0 auto 0;
    height: 0;
    background: var(--gold);
    transition: height .4s var(--ease);
}
.dip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dip-card:hover::before { height: 4px; }
.dip-card .dip-num {
    font-family: var(--display);
    color: var(--gold);
    font-size: 2.4rem;
    line-height: 1;
    display: block;
    margin-bottom: 18px;
}
.dip-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.dip-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
@media (max-width: 900px) { .dip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dip-grid { grid-template-columns: 1fr; } }

.regions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 60px;
}
.region {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--ivory);
}
.region img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%;
    opacity: .55;
    transition: all 1s var(--ease);
}
.region:hover img { opacity: .75; transform: scale(1.06); }
.region-body {
    position: absolute; inset: 0;
    padding: 30px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, transparent 50%, rgba(5,16,42,.95));
}
.region-body h4 { color: var(--ivory); font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin-bottom: 6px; letter-spacing: 0; }
.region-body p { font-size: .82rem; color: rgba(247,244,236,.75); letter-spacing: .08em; }
@media (max-width: 900px) { .regions { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--ivory);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 3;
    margin-top: 0;
}
.contact-left {
    background: var(--navy);
    color: var(--ivory);
    padding: 70px 54px;
    position: relative;
    overflow: hidden;
}
.contact-left::before {
    content: "";
    position: absolute;
    right: -80px; bottom: -80px;
    width: 300px; height: 300px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}
.contact-left::after {
    content: "";
    position: absolute;
    right: -40px; bottom: -40px;
    width: 220px; height: 220px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}
.contact-left h2 { color: var(--ivory); font-size: 2.2rem; margin-bottom: 24px; font-weight: 400; }
.contact-left h2 em { color: var(--gold); font-style: italic; }
.contact-left > p { color: rgba(247,244,236,.8); margin-bottom: 40px; max-width: 42ch; }
.contact-line {
    position: relative;
    display: flex; gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    align-items: flex-start;
    z-index: 2;
}
.contact-line:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-line .c-ico {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    flex-shrink: 0;
}
.contact-line .c-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.contact-line strong {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--gold-soft);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.contact-line a, .contact-line p {
    color: var(--ivory);
    font-family: var(--display);
    font-size: 1.2rem;
    transition: color .3s;
}
.contact-line a:hover { color: var(--gold); }

.contact-right {
    padding: 70px 54px;
}
.contact-right h3 { font-size: 1.8rem; margin-bottom: 10px; font-weight: 500; }
.contact-right > p { color: var(--muted); margin-bottom: 36px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.form-field { position: relative; }
.form-field label {
    display: block;
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 0;
    font: inherit; font-size: 1rem;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    outline: none;
    transition: border-color .3s;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--gold); }
.form-field textarea { min-height: 110px; resize: vertical; padding-top: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(15,109,75,.08);
    border-left: 3px solid var(--emerald);
    color: var(--emerald-2);
    font-size: .92rem;
}
.form-success.show { display: block; }

@media (max-width: 900px) {
    .contact-shell { grid-template-columns: 1fr; }
    .contact-left, .contact-right { padding: 50px 30px; }
}

/* map placeholder */
.map-band {
    margin-top: 80px;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--navy);
}
.map-band iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.1); }

/* =========================================================
   PASSWORD GATE
   ========================================================= */
.gate-body {
    margin: 0; padding: 0;
    min-height: 100vh;
    font-family: var(--sans);
    background: var(--midnight);
    overflow: hidden;
    position: relative;
}
.gate-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.gate-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(.42) saturate(1.1);
    animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
.gate-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, transparent, rgba(5,16,42,.8)),
        linear-gradient(135deg, rgba(5,16,42,.75), rgba(10,24,52,.9));
}

.gate-wrap {
    position: relative; z-index: 2;
    min-height: 100vh;
    display: grid; place-items: center;
    padding: 40px 20px;
}
.gate-brand {
    position: absolute; top: 36px; left: 0; right: 0;
    text-align: center;
    color: var(--ivory);
    display: flex; justify-content: center; align-items: center; gap: 14px;
}
.gate-brand .brand-mark { color: var(--ivory); border-color: var(--ivory); }
.gate-brand .brand-text .name { color: var(--ivory); font-size: 1.1rem; letter-spacing: .05em; }
.gate-brand .brand-text .tag { color: var(--gold); }

.gate-card {
    width: min(520px, 100%);
    background: rgba(251,248,241,.04);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(201,162,74,.25);
    padding: 60px 50px 50px;
    color: var(--ivory);
    text-align: center;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    position: relative;
}
.gate-card::before {
    content: ""; position: absolute;
    inset: 7px;
    border: 1px solid rgba(201,162,74,.15);
    pointer-events: none;
}
.gate-seal {
    width: 72px; height: 72px;
    margin: 0 auto 26px;
    display: grid; place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--display);
    font-size: 1.4rem;
    position: relative;
}
.gate-seal::after {
    content: ""; position: absolute; inset: 4px;
    border: 1px solid var(--gold); opacity: .35;
}
.gate-eyebrow {
    font-size: .72rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 600;
}
.gate-card h1 {
    font-family: var(--display);
    color: var(--ivory);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 0;
}
.gate-card h1 em { color: var(--gold); font-style: italic; }
.gate-sub {
    color: rgba(247,244,236,.65);
    font-size: .94rem;
    margin-bottom: 34px;
    font-family: var(--serif);
    font-style: italic;
}
.gate-input-wrap {
    position: relative;
    margin-bottom: 18px;
}
.gate-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.05rem;
    letter-spacing: .3em;
    text-align: center;
    background: rgba(5,16,42,.4);
    border: 1px solid rgba(201,162,74,.4);
    color: var(--ivory);
    outline: none;
    transition: all .3s;
    font-family: var(--sans);
}
.gate-input:focus {
    border-color: var(--gold);
    background: rgba(5,16,42,.6);
    box-shadow: 0 0 0 2px rgba(201,162,74,.15);
}
.gate-input::placeholder {
    color: rgba(247,244,236,.3);
    letter-spacing: .3em;
}
.gate-btn {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--navy);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    border: 0;
    transition: all .35s var(--ease);
    margin-top: 10px;
    cursor: pointer;
}
.gate-btn:hover { background: var(--ivory); }

.gate-error {
    margin-top: 18px;
    color: #ff8a90;
    font-size: .85rem;
    letter-spacing: .1em;
    min-height: 20px;
    opacity: 0;
    transition: opacity .3s;
}
.gate-error.show { opacity: 1; }
.gate-wrap.shake .gate-card { animation: gateShake .45s var(--ease); }
@keyframes gateShake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-10px); }
    40%,80% { transform: translateX(10px); }
}
.gate-foot {
    margin-top: 36px;
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(247,244,236,.35);
}
.gate-bottom {
    position: absolute; bottom: 28px; left: 0; right: 0;
    text-align: center;
    color: rgba(247,244,236,.4);
    font-size: .75rem;
    letter-spacing: .2em;
}
.gate-bottom a { color: var(--gold-soft); }
.gate-bottom a:hover { color: var(--gold); }

@media (max-width: 560px) {
    .gate-card { padding: 50px 28px 40px; }
    .gate-brand { top: 24px; }
}

/* =========================================================
   DIVIDER / ORNAMENT
   ========================================================= */
.ornament {
    display: flex; align-items: center; justify-content: center;
    gap: 18px;
    margin: 50px auto;
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: ""; width: 80px; height: 1px; background: var(--gold); opacity: .4;
}
.ornament-diamond {
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.noscroll { overflow: hidden; }

/* small screens */
@media (max-width: 720px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    .hero { padding-bottom: 70px; }
    .hero-tag { font-size: 1.05rem; }
    .hero-meta { display: none; }
    .section { padding: 70px 0; }
    .split-img { aspect-ratio: 4/5; }
}
