/* Sha Tin Group — Premium Atelier 2026 */

:root {
    /* 10-Colour Palette — Golden · Yellow · Brown */
    --c1-black: #1C140E;      /* 1 Espresso ink (headlines) */
    --c2-white: #FFF9F0;      /* 2 Ivory */
    --c3-ash: #F3E6C8;        /* 3 Soft gold wash */
    --c4-grey: #6B5640;       /* 4 Warm brown-gray */
    --c5-blue: #B8860B;       /* 5 Deep gold */
    --c6-sky: #D4A84B;        /* 6 Bright gold */
    --c7-orange: #8B5A2B;     /* 7 Rich brown */
    --c8-amber: #E8C87A;      /* 8 Soft yellow-gold */
    --c9-teal: #5C3D1E;       /* 9 Dark brown */
    --c10-indigo: #F0D9A8;    /* 10 Pale champagne */

    /* Named tokens */
    --ink: var(--c1-black);
    --snow: var(--c2-white);
    --off-white: var(--c3-ash);
    --pearl: var(--c3-ash);
    --graphite: var(--c4-grey);
    --green: var(--c5-blue);
    --green-soft: var(--c6-sky);
    --blue-main: var(--c7-orange);
    --blue-soft: var(--c8-amber);
    --brown: var(--c9-teal);
    --tan: var(--c10-indigo);
    --jade: var(--c7-orange);
    --jade-soft: var(--c6-sky);
    --champagne: var(--c5-blue);
    --champagne-soft: var(--c8-amber);
    --brass: var(--c7-orange);
    --mist: #EAD7B0;

    /* Golden-yellow-brown dipping backgrounds */
    --dip-page: linear-gradient(180deg, #FFF6E4 0%, #F0DDB8 40%, #E8CFA0 100%);
    --dip-section: linear-gradient(165deg, #FFF8EB 0%, #F2DFB8 52%, #EBD4A6 100%);
    --dip-muted: linear-gradient(180deg, #EAD4A4 0%, #DDBF86 48%, #E8CFA0 100%);
    --dip-dark: linear-gradient(160deg, #1C140E 0%, #3D2A16 48%, #2A1C10 100%);
    --dip-card: linear-gradient(160deg, rgba(255, 249, 240, 0.97), rgba(240, 217, 168, 0.65));

    /* Font colours — high contrast on gold grounds */
    --text-heading: #1C140E;
    --text-body: #3A2A1A;
    --text-muted: #6B5640;
    --text-accent: #8B5A2B;
    --text-on-dark: #FFF9F0;
    --text-on-dark-soft: #F0D9A8;

    /* Semantic aliases (legacy class compatibility) */
    --black: var(--ink);
    --white: var(--snow);
    --ash: var(--off-white);
    --ash-light: #FFF8EB;
    --ash-dark: #3D2A16;
    --ash-dim: #2A1C10;
    --grey: var(--graphite);
    --grey-dim: #8A7358;
    --blue: var(--c5-blue);
    --blue-light: var(--c6-sky);
    --blue-dark: var(--ink);
    --blue-dim: rgba(184, 134, 11, 0.14);
    --orange: var(--c5-blue);
    --orange-light: var(--c6-sky);
    --orange-dim: rgba(184, 134, 11, 0.16);
    --amber: var(--c8-amber);
    --amber-dim: rgba(232, 200, 122, 0.28);
    --teal: var(--c7-orange);
    --teal-dim: rgba(139, 90, 43, 0.14);
    --indigo: var(--mist);
    --indigo-dim: rgba(234, 215, 176, 0.7);
    --sky-dim: rgba(212, 168, 75, 0.18);
    --surface: var(--mist);
    --surface-2: var(--snow);
    --gold: var(--c5-blue);
    --gold-light: var(--c6-sky);
    --gold-dim: rgba(184, 134, 11, 0.16);
    --gray: var(--graphite);
    --gray-dim: var(--grey-dim);
    --border: rgba(28, 20, 14, 0.12);
    --border-gold: rgba(184, 134, 11, 0.45);
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-ui: "Manrope", system-ui, sans-serif;
    --shell: min(1180px, calc(100% - 48px));
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --topbar: 96px;
    --topbar-social: 32px;
    --header-height: calc(var(--topbar) + var(--topbar-social));
    --success: #9A7B2F;
    --glass: rgba(255, 249, 240, 0.88);
    --shadow-glass: 0 18px 48px rgba(61, 42, 22, 0.12);
    --radius-ctrl: 4px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ui);
    background: var(--dip-page);
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.shell { width: var(--shell); margin-inline: auto; }

.gold { color: var(--gold-light); }
.gold-text { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
}

/* Aurora background — golden yellow-brown dipping */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 246, 228, 0.65) 0%, rgba(232, 200, 122, 0.28) 48%, rgba(240, 217, 168, 0.45) 100%);
}

.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.5;
    animation: drift 22s ease-in-out infinite alternate;
}

.aurora::before {
    width: 55vw;
    height: 55vw;
    top: -18%;
    right: -12%;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.32), transparent 70%);
}

.aurora::after {
    width: 48vw;
    height: 48vw;
    bottom: -18%;
    left: -14%;
    background: radial-gradient(circle, rgba(139, 90, 43, 0.22), transparent 70%);
    animation-delay: -9s;
}

.aurora .aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.38;
    animation: drift 22s ease-in-out infinite alternate;
}

.aurora .aurora-blob--teal {
    width: 38vw;
    height: 38vw;
    top: 42%;
    left: 28%;
    background: radial-gradient(circle, rgba(232, 200, 122, 0.3), transparent 70%);
    animation-delay: -6s;
}

.aurora .aurora-blob--indigo {
    width: 32vw;
    height: 32vw;
    bottom: 12%;
    right: 18%;
    background: radial-gradient(circle, rgba(92, 61, 30, 0.2), transparent 70%);
    animation-delay: -12s;
}

@keyframes drift {
    to { transform: translate(5%, 8%) scale(1.08); }
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-height);
    transition: background 0.4s, border-color 0.4s;
}

.topbar-social-bar {
    height: var(--topbar-social);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 18, 32, 0.45);
}

.topbar.solid .topbar-social-bar {
    background: rgba(11, 18, 32, 0.96);
}

.topbar-social-bar .shell,
.topbar-social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.topbar-trust {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232, 200, 122, 0.92);
    margin: 0;
    white-space: nowrap;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.topbar-social a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.topbar-social a:hover {
    color: var(--champagne-soft);
}

.topbar.solid {
    background: rgba(14, 22, 36, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 122, 77, 0.28);
}

.topbar-row {
    height: var(--topbar);
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

.logo-brand strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--snow);
    letter-spacing: 0.04em;
}

.logo-brand span {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--champagne-soft);
}

.logo-icon {
    color: var(--gold);
    font-size: 0.85rem;
}

.links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.links > a,
.links > .nav-dropdown > .nav-dropdown-trigger {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ash);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.25s;
    white-space: nowrap;
}

.links > a:hover,
.links > .nav-dropdown:hover > .nav-dropdown-trigger,
.links > .nav-dropdown:focus-within > .nav-dropdown-trigger {
    color: var(--white);
}

@media (max-width: 1200px) {
    .links { gap: 14px; }
    .logo-brand span { display: none; }
}

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.nav-dropdown-trigger::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.75;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(320px, 90vw);
    padding: 14px;
    border: 1px solid rgba(63, 168, 153, 0.45);
    border-radius: 8px;
    background:
        linear-gradient(160deg, rgba(184, 134, 11, 0.28), rgba(28, 20, 14, 0.96) 55%),
        rgba(28, 20, 14, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(184, 134, 11, 0.14), 0 12px 40px rgba(184, 134, 11, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0.22s;
    z-index: 220;
}

.nav-dropdown--wide .nav-dropdown-menu {
    width: min(560px, 92vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    padding: 18px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.links > .nav-dropdown:last-of-type .nav-dropdown-menu,
.links > .nav-dropdown:nth-last-child(2) .nav-dropdown-menu {
    left: auto;
    right: 0;
    transform: translate(0, 10px);
}

.links > .nav-dropdown:last-of-type:hover .nav-dropdown-menu,
.links > .nav-dropdown:last-of-type:focus-within .nav-dropdown-menu,
.links > .nav-dropdown:nth-last-child(2):hover .nav-dropdown-menu,
.links > .nav-dropdown:nth-last-child(2):focus-within .nav-dropdown-menu {
    transform: translate(0, 0);
}

.nav-dropdown-group {
    min-width: 0;
}

.nav-dropdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jade-soft);
    margin: 0 0 8px;
    padding: 0 10px 8px;
    border-bottom: 1px solid rgba(63, 168, 153, 0.28);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--white);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(184, 134, 11, 0.22);
    color: var(--white);
}

.nav-dropdown-menu strong,
.nav-dropdown-menu small {
    display: block;
}

.nav-dropdown-menu strong {
    color: #b8e6dc;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 3px;
    text-transform: none;
    letter-spacing: 0.01em;
}

.nav-dropdown-menu small {
    color: rgba(244, 246, 248, 0.62);
    font-size: 0.74rem;
    line-height: 1.45;
    font-weight: 400;
}

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

.topbar-cta .pill {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.topbar-cta .lang-select {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.link-quiet {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ash);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.25s;
}

.link-quiet:hover { color: var(--white); }

/* CTA dropdowns — Sign in / Apply Now */
.cta-dropdown {
    position: relative;
}

.cta-dropdown-trigger {
    gap: 8px;
}

.cta-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.cta-dropdown.is-open .cta-caret,
.cta-dropdown:hover .cta-caret {
    transform: rotate(180deg);
}

.cta-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    padding: 10px;
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 8px;
    background:
        linear-gradient(160deg, rgba(184, 134, 11, 0.22), rgba(28, 20, 14, 0.97) 55%),
        rgba(28, 20, 14, 0.98);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(184, 134, 11, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
    z-index: 240;
}

.cta-dropdown.is-open .cta-dropdown-menu,
.cta-dropdown:hover .cta-dropdown-menu,
.cta-dropdown:focus-within .cta-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--snow);
    text-transform: none;
    letter-spacing: normal;
    transition: background 0.2s ease;
}

.cta-dropdown-menu a:hover {
    background: rgba(184, 134, 11, 0.22);
}

.cta-dropdown-menu strong {
    display: block;
    color: #F0D9A8;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.cta-dropdown-menu small {
    display: block;
    color: rgba(244, 246, 248, 0.62);
    font-size: 0.74rem;
    line-height: 1.4;
    font-weight: 400;
}

.cta-dropdown--signin .cta-dropdown-trigger {
    padding: 11px 16px;
    font-size: 0.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-ctrl);
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    cursor: pointer;
    white-space: nowrap;
}

.pill:hover { transform: translateY(-2px); }

.pill-fill {
    background: linear-gradient(160deg, #D4A84B, #B8860B);
    color: #1C140E;
    border-color: #B8860B;
    box-shadow: 0 10px 28px rgba(184, 134, 11, 0.28);
}

.pill-fill:hover {
    background: linear-gradient(160deg, #E8C87A, #D4A84B);
    border-color: var(--gold-light);
    color: #1C140E;
}

.pill-line {
    border-color: rgba(139, 90, 43, 0.55);
    color: var(--text-heading);
    background: rgba(255, 249, 240, 0.45);
}

.pill-line:hover {
    background: rgba(184, 134, 11, 0.14);
    border-color: var(--gold);
    color: var(--text-heading);
}

.hero-carousel .pill-line,
.portal-promo .pill-line,
.cta-band .pill-line,
.site-footer-full .pill-line,
.on-dark .pill-line {
    color: var(--snow);
}

.hero-carousel .pill-line:hover,
.portal-promo .pill-line:hover,
.cta-band .pill-line:hover,
.on-dark .pill-line:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--snow);
}

.pill-sm { padding: 10px 18px; font-size: 0.8125rem; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.burger i {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.burger.on i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.on i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: calc(var(--header-height) + 64px) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 48px;
}

.chip {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champagne-soft);
    border: 1px solid rgba(196, 164, 106, 0.4);
    padding: 8px 14px;
    border-radius: var(--radius-ctrl);
    margin-bottom: 28px;
    background: rgba(196, 164, 106, 0.12);
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--snow);
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-brand em {
    font-style: normal;
    color: var(--champagne-soft);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.lead {
    font-size: 1.0625rem;
    color: var(--text-body);
    max-width: 480px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.7;
}

.lead strong { color: var(--white); font-weight: 500; }

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Bento tiles */
.hero-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
}

.tile {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}

.tile:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
}

.tile-main { grid-row: span 2; }

.tile-wide { grid-column: span 2; }

.tile-accent {
    background: linear-gradient(145deg, var(--gold-dim), rgba(17, 17, 17, 0.9));
    border-color: var(--border-gold);
}

.tile-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-dim);
}

.tile-num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    margin: 12px 0 4px;
}

.tile-num small {
    font-size: 1.25rem;
    color: var(--gray);
}

.tile-sub, .tile-address {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Ticker */
.ticker {
    border-block: 1px solid rgba(111, 168, 138, 0.28);
    background: var(--dip-dark);
    overflow: hidden;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}

.ticker-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: ticker 28s linear infinite;
}

.ticker-track span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--champagne-soft);
    white-space: nowrap;
    font-weight: 600;
}

.ticker-track span::before {
    content: "◆ ";
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* Blocks */
.block {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    color: var(--text-body);
    background: var(--dip-section);
}

.block-muted {
    background: var(--dip-muted);
    border-block: 1px solid rgba(184, 134, 11, 0.22);
}

.kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.block-head { margin-bottom: 48px; }

.block-head h2,
.split-copy h2,
.reach-grid h2,
.about-feature-copy h2,
.home-section-intro h2,
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.block-head p {
    color: var(--text-body);
    margin-top: 0;
    max-width: 640px;
    font-weight: 400;
    line-height: 1.7;
}

.block-head-row > div:first-child {
    flex: 1;
    min-width: 0;
}

.block-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

/* Split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
}

.frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: brightness(0.95) saturate(1.02);
}

.frame-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(11, 18, 32, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-ctrl);
    color: var(--champagne-soft);
}

.split-copy p {
    color: var(--text-body);
    margin: 20px 0 28px;
    font-weight: 400;
    line-height: 1.7;
}

/* About feature — editorial portrait + motto */
.about-feature {
    background:
        linear-gradient(120deg, rgba(184, 134, 11, 0.12), transparent 42%),
        var(--dip-section);
}

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

.about-feature-media {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 14px;
    min-height: 520px;
}

.about-portrait {
    position: relative;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 11, 0.28);
    box-shadow: 0 28px 60px rgba(61, 42, 22, 0.16);
    background: var(--ink);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(1.05) contrast(1.04);
    transition: transform 1.2s var(--ease);
}

.about-portrait:hover img {
    transform: scale(1.04);
}

.about-portrait-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    background: linear-gradient(180deg, transparent, rgba(18, 26, 22, 0.88));
    color: var(--snow);
}

.about-portrait-caption span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-soft);
    font-weight: 700;
    margin-bottom: 4px;
}

.about-portrait-caption strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.about-media-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
}

.about-media-strip {
    flex: 1;
    min-height: 220px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(47, 107, 79, 0.18);
    box-shadow: var(--shadow-glass);
    filter: saturate(1.05);
}

.about-media-motto {
    margin: 0;
    padding: 28px 22px;
    border-radius: 8px;
    background: var(--dip-dark);
    color: var(--snow);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    line-height: 1.25;
    font-weight: 500;
    border: 1px solid rgba(111, 168, 138, 0.35);
    box-shadow: var(--shadow-glass);
}

.about-media-motto em {
    font-style: italic;
    color: var(--green-soft);
}

.about-feature-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 16px;
}

.about-lead {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 12px;
    max-width: 38ch;
}

.about-ticks {
    margin: 22px 0 28px;
}

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

@media (max-width: 991px) {
    .about-feature-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-feature-media {
        min-height: 0;
        grid-template-columns: 1.2fr 0.8fr;
    }

    .about-portrait img {
        min-height: 360px;
    }
}

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

    .about-portrait img {
        min-height: 300px;
        aspect-ratio: 4 / 3;
    }

    .about-media-strip {
        min-height: 160px;
    }

    .about-feature-actions {
        flex-direction: column;
    }

    .about-feature-actions .pill {
        width: 100%;
        justify-content: center;
    }
}

.ticks {
    list-style: none;
}

.ticks li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.9375rem;
    color: var(--text-body);
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Offer grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.offer-card {
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}

.offer-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.offer-featured {
    background: linear-gradient(160deg, var(--gold-dim), var(--surface-2));
    border-color: var(--border-gold);
}

.offer-icon {
    display: block;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
}

.offer-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.offer-card p {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 300;
}

.offer-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--gold);
    transition: color 0.2s;
}

.offer-link:hover { color: var(--gold-light); }

.fee-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.fee-strip div {
    padding: 20px 24px;
    background: var(--black);
    text-align: center;
}

.fee-strip span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-dim);
    margin-bottom: 6px;
}

.fee-strip strong {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--gold-light);
}

/* Project scroll */
.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) transparent;
}

.scroll-row::-webkit-scrollbar { height: 4px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 4px; }

.proj {
    flex: 0 0 min(280px, 80vw);
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-2);
    transition: transform 0.3s var(--ease);
}

.proj:hover { transform: scale(1.02); }

.proj-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.proj-body { padding: 20px; }

.proj-tag {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.proj-body h3 {
    font-size: 1rem;
    margin: 8px 0 4px;
}

.proj-body p {
    font-size: 0.8125rem;
    color: var(--gray-dim);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
}

.step-n {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--champagne);
    display: block;
    margin-bottom: 20px;
    -webkit-text-stroke: 0;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--ink);
    font-family: var(--font-display);
}

.step p {
    font-size: 0.875rem;
    color: var(--text-body);
    font-weight: 400;
}

/* CTA band */
.cta-band {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold-dim), transparent 60%);
    border-block: 1px solid var(--border-gold);
}

.cta-band-inner {
    text-align: center;
}

.cta-band-inner h2 { margin-bottom: 12px; }

.cta-band-inner p {
    color: var(--gray);
    margin-bottom: 28px;
}

.cta-band-inner .hero-btns { justify-content: center; }

/* Reach */
.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.reach-list {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
}

.reach-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    transition: color 0.2s, padding-left 0.2s;
}

.reach-list a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.reach-list span {
    color: var(--gray-dim);
    font-size: 0.8125rem;
}

.reach-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/11;
}

.reach-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.4) invert(0.92) contrast(0.9);
}

/* Footer */
.foot {
    position: relative;
    z-index: 1;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

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

.foot-row p {
    font-size: 0.8125rem;
    color: var(--gray-dim);
}

.foot-links {
    display: flex;
    gap: 24px;
}

.foot-links a {
    font-size: 0.8125rem;
    color: var(--gray);
    transition: color 0.2s;
}

.foot-links a:hover { color: var(--white); }

/* Fade up */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0ms);
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout,
    .split,
    .reach-grid { grid-template-columns: 1fr; }

    .offer-grid,
    .steps,
    .fee-strip { grid-template-columns: repeat(2, 1fr); }

    .frame img { aspect-ratio: 16/10; }
}

@media (max-width: 900px) {
    .topbar .logo .logo-brand,
    .topbar .logo .brand-text { display: none !important; }
}

@media (max-width: 768px) {
    .hero-bento { grid-template-columns: 1fr; }
    .tile-main { grid-row: auto; }
    .tile-wide { grid-column: auto; }

    .offer-grid,
    .steps,
    .fee-strip { grid-template-columns: 1fr; }

    .block-head-row { flex-direction: column; align-items: flex-start; }
    .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .fade-up { opacity: 1; transform: none; }
    .aurora::before, .aurora::after { animation: none; }
}

/* === PLATFORM EXTENSIONS === */

.logo img, .logo-mark-img {
    height: 56px;
    width: auto;
    max-width: 160px;
    border-radius: 0;
    flex-shrink: 0;
    object-fit: contain;
    background: transparent;
}

.topbar .logo {
    width: auto;
    height: auto;
    min-width: 0;
    gap: 14px;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.topbar .logo .logo-mark-img {
    width: auto !important;
    height: 64px !important;
    max-width: 140px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

.topbar .logo .brand-text,
.topbar .logo .logo-brand {
    display: flex !important;
}

.topbar .logo:hover .logo-mark-img {
    box-shadow: none;
    transform: scale(1.02);
    transition: transform 0.25s var(--ease);
}

.logo .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
    gap: 2px;
}

.logo .brand-text strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--snow);
    letter-spacing: 0.04em;
}

.logo .brand-text small {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--champagne-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lang-select {
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 32px 8px 12px;
    border-radius: var(--radius-ctrl);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E2D2B0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--champagne-soft);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 78px;
}

.lang-select:focus {
    outline: none;
    border-color: var(--border-gold);
    color: var(--snow);
}

.lang-select option {
    background: var(--ink);
    color: var(--snow);
}

/* Country language translator picker */
.lang-picker {
    position: relative;
    z-index: 250;
    flex-shrink: 0;
}

.lang-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 16px;
    min-height: 42px;
    border-radius: var(--radius-ctrl);
    border: 2px solid #FFF6B0;
    background: #FFE566;
    color: #111;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, filter 0.2s;
    white-space: nowrap;
    max-width: 168px;
    box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.45), 0 6px 20px rgba(255, 210, 0, 0.65);
    filter: brightness(1.08);
}

.lang-picker-btn:hover,
.lang-picker.is-open .lang-picker-btn {
    border-color: #FFFCE0;
    background: #FFF087;
    color: #000;
    box-shadow: 0 0 0 4px rgba(255, 240, 135, 0.55), 0 8px 26px rgba(255, 220, 40, 0.75);
    filter: brightness(1.12);
}

.lang-picker-ico {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 1;
    color: #111;
}

.lang-picker-text {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111;
    font-weight: 900;
}

.lang-picker-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #111;
    opacity: 1;
    transition: transform 0.2s ease;
}

.lang-picker.is-open .lang-picker-caret {
    transform: rotate(180deg);
}

.lang-picker-backdrop {
    position: fixed;
    inset: 0;
    z-index: 240;
    background: rgba(8, 10, 16, 0.4);
}

.lang-picker-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(380px, calc(100vw - 24px));
    max-height: min(520px, 78vh);
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 2px solid #FFE566;
    border-radius: 12px;
    background: #FFF8E0;
    box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.35), 0 28px 64px rgba(0, 0, 0, 0.45);
    z-index: 260;
    color: #1A1408;
}

.lang-picker-search {
    width: 100%;
    margin-bottom: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid #E8C040;
    background: #FFFFFF;
    color: #111;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
}

.lang-picker-search::placeholder {
    color: #8A7A40;
}

.lang-picker-search:focus {
    outline: none;
    border-color: #FFD000;
    background: #FFFEF5;
    box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.45);
}

.lang-picker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    max-height: min(380px, 58vh);
    flex: 1 1 auto;
}

.lang-picker-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.lang-picker-item:hover,
.lang-picker-item:focus {
    background: #FFE566;
}

.lang-picker-item.is-active {
    background: #FFD84A;
}

.lang-picker-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.lang-mode-btn {
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 8px;
    min-height: 42px;
    border-radius: 6px;
    border: 2px solid #E8C040;
    background: #FFFCE8;
    color: #5A4A10;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lang-mode-btn:hover {
    border-color: #FFD000;
    color: #111;
    background: #FFF6B0;
}

.lang-mode-btn.is-active {
    background: #FFE566;
    border-color: #FFD000;
    color: #111;
    box-shadow: 0 2px 10px rgba(255, 210, 0, 0.45);
}

.lang-picker-list.is-auto-mode {
    max-height: 180px;
}

.lang-picker-item.lang-picker-auto {
    border: 2px solid #FFD000;
    margin-bottom: 6px;
    background: #FFF087;
}

.lang-picker-item.lang-picker-auto .lang-picker-country {
    color: #111;
}

.lang-picker-country {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A1408;
}

.lang-picker-lang {
    font-size: 0.8rem;
    color: #6A5A18;
}

.lang-picker-empty {
    padding: 16px 12px;
    text-align: center;
    color: #6A5A18;
    font-size: 0.875rem;
}

.lang-picker-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "main close"
        "mode mode";
    align-items: start;
    gap: 6px 12px;
    padding: 4px 4px 10px;
    border-bottom: 2px solid #FFE566;
    margin-bottom: 8px;
}

.lang-picker-head-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-picker-head strong {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1A1408;
}

.lang-picker-count {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8A7A40;
    letter-spacing: 0.04em;
}

.lang-picker-close {
    grid-area: close;
    width: 36px;
    height: 36px;
    border: 2px solid #E8C040;
    border-radius: 8px;
    background: #FFFCE8;
    color: #1A1408;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-picker-close:hover {
    background: #FFE566;
    border-color: #FFD000;
}

.lang-picker-head span.lang-picker-mode-label,
.lang-picker-mode-label {
    grid-area: mode;
    font-size: 0.75rem;
    font-weight: 800;
    color: #7A6800;
}

/* Defense: hide any Google Translate chrome from extensions / old embeds */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-balloon-frame,
body > .skiptranslate,
iframe[src*="translate.google"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

body {
    top: 0 !important;
}

.lang-picker-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.lang-picker.is-busy .lang-picker-btn {
    pointer-events: none;
    opacity: 0.92;
}

.lang-picker.is-busy .lang-picker-ico {
    animation: stg-tx-spin 0.8s linear infinite;
}

@keyframes stg-tx-spin {
    to { transform: rotate(360deg); }
}

body.stg-translating {
    cursor: progress;
}

body.stg-translating::after {
    content: 'Translating…';
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 22px;
    border-radius: 999px;
    background: #FFE566;
    color: #111;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    border: 2px solid #FFF6B0;
    box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.4), 0 8px 28px rgba(255, 210, 0, 0.5);
    pointer-events: none;
}

html[dir="rtl"] .lang-picker-panel {
    right: auto;
    left: 0;
}

html[dir="rtl"] .topbar-cta {
    flex-direction: row-reverse;
}

/* Phone field — country dial code + local number */
.phone-field {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 8px;
    align-items: stretch;
}

.phone-field .phone-code {
    min-width: 0;
    padding-left: 10px;
    padding-right: 28px;
    font-size: 0.8125rem;
}

.phone-field .phone-local {
    min-width: 0;
}

@media (max-width: 520px) {
    .phone-field {
        grid-template-columns: 1fr;
    }
}

/* Slideshow */
.slideshow-wrap {
    position: relative;
    z-index: 1;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-height) + 48px) 0 120px;
}

.slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.62) 75%);
}

.slide.active {
    opacity: 1;
    filter: brightness(1.1);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.slide-content.in {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
}

.slide-content p { color: var(--text-body); margin-bottom: 24px; max-width: 520px; line-height: 1.7; }

.slide-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    width: auto;
    pointer-events: auto;
}

.slideshow-wrap > .slide-dots {
    /* Dots sit at bottom of hero, not inside text column */
    bottom: 40px;
}

.site-trust-line {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champagne-soft);
    margin-bottom: 20px;
    padding: 8px 14px;
    display: inline-block;
    border: 1px solid rgba(196, 164, 106, 0.35);
    border-radius: var(--radius-ctrl);
    background: rgba(11, 18, 32, 0.35);
    font-weight: 600;
}

.site-trust-line--slide {
    margin-bottom: 14px;
    font-size: 0.68rem;
}

.site-trust-inline {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-top: 12px;
    font-weight: 700;
}

.expo-job-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.expo-job-card {
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: linear-gradient(160deg, rgba(196, 164, 106, 0.12), var(--snow));
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.expo-job-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.expo-job-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.expo-job-fee {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-light);
    line-height: 1;
    margin: 12px 0;
}

.expo-job-sub {
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .expo-job-grid { grid-template-columns: 1fr; }
}

.slide-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.slide-dots button.active { background: var(--orange); }

.hero-overlay { position: relative; z-index: 2; width: 100%; }

/* Chairman */
.chairman-box {
    padding: 0;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 8px;
    background: var(--dip-card);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.chairman-welcome {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    align-items: stretch;
}

.chairman-welcome .chairman-message {
    padding: clamp(28px, 3.5vw, 44px);
    order: 1;
    border-right: 1px solid rgba(184, 134, 11, 0.22);
}

.chairman-banner {
    margin: 0;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 3vw, 32px);
    background: linear-gradient(160deg, #1C140E, #2A1C10);
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.chairman-banner img {
    display: block;
    width: 100%;
    max-width: 360px;
    max-height: 340px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    border: 1px solid rgba(212, 168, 75, 0.35);
    background: #0a0a0a;
}

.chairman-banner .chairman-caption {
    margin-top: 14px;
    text-align: center;
    color: rgba(255, 249, 240, 0.75);
}

.chairman-banner .chairman-caption strong {
    color: var(--gold-light);
}

@media (max-width: 900px) {
    .chairman-welcome {
        grid-template-columns: 1fr;
    }

    .chairman-welcome .chairman-message {
        order: 2;
        border-right: none;
        border-top: 1px solid rgba(184, 134, 11, 0.22);
    }

    .chairman-banner {
        order: 1;
        max-width: none;
        justify-self: stretch;
        padding: 20px;
    }

    .chairman-banner img {
        max-width: 280px;
        max-height: 260px;
    }
}

.chairman-grid {
    display: grid;
    grid-template-columns: minmax(240px, 400px) 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
}

.chairman-grid > div:first-child {
    width: 100%;
    max-width: 400px;
}

.chairman-grid img,
.board-photo {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 40 / 40;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0, 0, 0, 0.2);
}

.chairman-grid img {
    border-radius: 14px;
    border: 1px solid var(--border-gold);
}

.chairman-caption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--gray);
}

.chairman-caption strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }

/* Board */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
    gap: 24px;
}

.board-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--snow);
    transition: border-color 0.3s, transform 0.3s var(--ease);
    box-shadow: var(--shadow-glass);
}

.board-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }

.board-photo {
    border-bottom: 1px solid var(--border-gold);
}

.board-info { padding: 22px; }

.board-info h3 { font-size: 1.05rem; margin-bottom: 4px; }

.board-info .title {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.board-bio { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }

.board-email {
    font-size: 0.8125rem;
    margin-top: 12px;
}

.board-email a {
    color: var(--gold);
    text-decoration: none;
}

.board-email a:hover { text-decoration: underline; }

/* Gallery grid (static) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--snow);
    transition: border-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.project-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 16px 40px rgba(11, 18, 32, 0.1);
    transform: translateY(-3px);
}

.project-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: saturate(1.2) contrast(1.08) brightness(1.04);
    transition: filter 0.35s ease, transform 0.35s var(--ease);
}

.project-card:hover .project-img {
    filter: saturate(1.35) contrast(1.1) brightness(1.08);
    transform: scale(1.03);
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius-ctrl);
    background: rgba(11, 18, 32, 0.82);
    border: 1px solid var(--border-gold);
    color: var(--champagne-soft);
}

.project-info { padding: 18px; }
.project-info h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.project-info .location { font-size: 0.8125rem; color: var(--gray-dim); }
.project-info .value { font-family: var(--font-display); color: var(--jade); margin: 8px 0; font-size: 1.15rem; }
.project-info .desc { font-size: 0.8125rem; color: var(--gray); }

/* Luxe footer (full) */
.site-footer-full {
    position: relative;
    z-index: 1;
    padding: 72px 0 28px;
    border-top: 1px solid rgba(111, 168, 138, 0.28);
    background: var(--dip-dark);
    color: var(--snow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 16px;
}

.footer-grid a, .footer-grid p {
    display: block;
    font-size: 0.875rem;
    color: rgba(244, 246, 248, 0.72);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-grid a:hover { color: var(--champagne-soft); }

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: rgba(244, 246, 248, 0.55);
}

.footer-bottom-bar a { color: var(--champagne-soft); }
.footer-bottom-bar .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Login / portal */
.login-page {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    place-items: center;
    padding: calc(var(--header-height) + 48px) 24px 80px;
}

/* Broker / public registration form surface */
.register-page {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    place-items: start center;
    padding: calc(var(--header-height) + 40px) 20px 96px;
}

.register-card {
    width: min(720px, 100%);
    padding: 36px 32px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
    color: var(--ink);
}

.register-card-head {
    text-align: center;
    margin-bottom: 28px;
}

.register-logo {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 72px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.register-card-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.register-subtitle {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.register-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
}

.register-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    opacity: 0.45;
}

.register-steps li.is-active,
.register-steps li.is-done {
    opacity: 1;
}

.register-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--pearl);
    color: var(--ink);
}

.register-steps li.is-active .register-step-num,
.register-steps li.is-done .register-step-num {
    border-color: var(--border-gold);
    background: linear-gradient(160deg, #D4A84B, #B8860B);
    color: #1C140E;
}

.register-step-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.register-stage-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.register-form .register-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 18px;
    line-height: 1.5;
}

.register-submit {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
}

.register-footer-link {
    text-align: center;
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.register-footer-link a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.register-photo-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.register-photo-fields {
    flex: 1;
    min-width: 240px;
}

.register-file-name {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.register-card .form-control[type="file"] {
    padding: 10px 12px;
    background: var(--pearl);
}

@media (max-width: 700px) {
    .register-card { padding: 28px 18px 32px; }
    .register-steps { gap: 4px; }
    .register-step-label { font-size: 0.58rem; letter-spacing: 0.02em; }
    .register-form .form-row { grid-template-columns: 1fr; }
}

.login-card {
    width: min(440px, 100%);
    padding: 40px 36px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
    color: var(--ink);
}

.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { width: auto; height: auto; max-width: 280px; max-height: 90px; margin: 0 auto 16px; border-radius: 0; object-fit: contain; }
.login-logo h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; }
.login-subtitle { font-size: 0.875rem; color: var(--gray); margin-top: 8px; }

.login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.login-tabs button {
    padding: 10px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray);
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.login-tabs button.active {
    background: var(--gold-dim);
    border-color: var(--border-gold);
    color: var(--gold-light);
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.form-row > .form-group {
    min-width: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--pearl);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--champagne);
    box-shadow: 0 0 0 3px rgba(196, 164, 106, 0.16);
}

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control { cursor: pointer; }

input[type="file"].form-control,
.form-control[type="file"] {
    padding: 10px 12px;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.login-footer-links {
    margin-top: 24px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray);
}

.login-footer-links a { color: var(--gold); }

.loan-note {
    text-align: center;
    padding: 12px 20px;
    margin-bottom: 24px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border-gold);
    background: var(--gold-dim);
    font-size: 0.8125rem;
    color: var(--jade);
}

@media (max-width: 1024px) {
    .chairman-grid { grid-template-columns: 1fr; }
    .chairman-grid > div:first-child { max-width: 400px; margin: 0 auto; }
    .chairman-grid img { max-width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Dashboard bridge — bright, high-contrast portal tokens */
:root {
    --dash-bg: #F7F0E2;
    --dash-sidebar: #1C140E;
    --dash-sidebar-text: #F5EBD8;
    --dash-sidebar-muted: #D4C4A8;
    --dash-card: #FFFCFA;
    --dash-card-border: rgba(184, 134, 11, 0.45);
    --dash-text: #1C140E;
    --dash-text-soft: #3A2A1A;
    --dash-muted: #6B5640;
    --dash-gold: #B8860B;
    --dash-gold-bright: #D4A84B;
    --dash-gold-soft: #E8C87A;
    --dash-input-bg: #FFF9F0;
    --dash-input-border: rgba(92, 61, 30, 0.28);
    --dash-hover: rgba(212, 168, 75, 0.16);

    --text-primary: var(--dash-text);
    --text-secondary: var(--dash-text-soft);
    --text-muted: var(--dash-muted);
    --dark: var(--dash-sidebar);
    --dark-light: #2A1C10;
    --dark-card: var(--dash-card);
    --font-heading: var(--font-display);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-gold: 0 8px 28px rgba(61, 42, 22, 0.12);
    --gradient-gold: linear-gradient(135deg, #E8C87A, #D4A84B, #B8860B);
}

.btn-gold, .pill-fill { background: linear-gradient(160deg, #D4A84B, #B8860B) !important; color: #1C140E !important; border-color: #B8860B !important; }
.btn-outline, .pill-line { border-color: rgba(139, 90, 43, 0.55) !important; color: var(--text-heading) !important; }
.hero-carousel .pill-line,
.portal-promo .pill-line,
.cta-band .pill-line,
.on-dark .pill-line { color: var(--snow) !important; }
.card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.card > h2,
.card > h3,
.modal h2,
.modal h3 {
    color: var(--gold-light);
}

/* Form titles & labels — site-wide */
.calc-field label,
.expo-form-group label,
.dashboard-main .form-group label,
.modal .form-group label,
.login-card .form-group label {
    color: var(--ink);
    font-weight: 500;
}

.form-group label:has(input[type="checkbox"]),
.form-group label:has(input[type="radio"]),
.expo-form-group label:has(input[type="checkbox"]),
.expo-form-group label:has(input[type="radio"]) {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content pages (pages/*.html) */
.container { width: var(--shell); margin-inline: auto; padding: 0 20px; }

.content-page {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
    min-height: 100vh;
}

.content-page .page-hero {
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.content-page .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.45), rgba(11, 18, 32, 0.88));
}

.content-page .page-hero h1 {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    color: var(--snow);
    text-align: center;
    padding: 0 24px;
}

.content-page .page-hero-sub {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-soft);
    font-weight: 700;
    text-align: center;
}

.about-page-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-page-visual img {
    border-radius: 8px;
    border: 1px solid rgba(47, 107, 79, 0.18);
    width: 100%;
    box-shadow: var(--shadow-glass);
}

.about-page-visual .about-page-secondary {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    max-height: 220px;
}

.about-page-caption {
    margin: -4px 0 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
}

.content-body { padding: 64px 0 80px; background: var(--dip-section); color: var(--text-body); }

.content-body .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.content-body .content-text {
    color: var(--text-body);
    line-height: 1.85;
    font-weight: 400;
}

.content-body .content-text strong,
.content-body .content-text em {
    color: var(--text-heading);
}

.content-body .content-text p { margin-bottom: 18px; }
.content-body .content-text h3 {
    font-family: var(--font-display);
    color: var(--text-heading);
    margin: 28px 0 12px;
    font-size: 1.5rem;
}

.content-body .content-image img {
    border-radius: 8px;
    border: 1px solid var(--border);
    width: 100%;
    box-shadow: var(--shadow-glass);
}

.section-title { text-align: center; margin-bottom: 40px; }

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.section-title .divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto;
}

.section-title p { color: var(--gray); max-width: 640px; margin: 0 auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-ctrl);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--border-gold);
}

.btn-outline:hover { background: var(--gold-dim); }

.btn-dark {
    background: var(--surface-2);
    color: var(--gray);
    border-color: var(--border);
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface-2);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9375rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s;
    padding: 0 20px;
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    padding: 0 20px 18px;
    max-height: 600px;
}

.map-section { padding: 0 0 64px; }

.map-container {
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9375rem;
}

.fee-table th, .fee-table td {
    padding: 14px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.fee-table th {
    background: var(--gold-dim);
    color: var(--gold-light);
    font-weight: 500;
}

.fee-table td { color: var(--gray); }

.table-responsive { overflow-x: auto; margin: 24px 0; }

.table-responsive table,
.content-text table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.content-text table th,
.content-text table td {
    padding: 14px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.content-text table th {
    background: var(--gold-dim);
    color: var(--gold-light);
}

.contact-form-wrap {
    margin-top: 48px;
    padding: 32px;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    background: var(--surface-2);
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--white);
}

.contact-form-wrap > p { color: var(--gray); margin-bottom: 24px; }

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-grid .full { grid-column: 1 / -1; }

.chairman-section { padding: 0 0 48px; }

.chairman-container { max-width: 100%; }

.chairman-image-wrap img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
}

.chairman-message p { color: var(--text-body); margin-bottom: 14px; line-height: 1.7; }

.chairman-greeting { color: var(--gold) !important; }

.chairman-name { color: var(--gold-light); font-weight: 600; }

.chairman-title { font-size: 0.875rem; color: var(--gray-dim); }

.page-cta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.content-wide { max-width: 900px; margin: 0 auto; }

.faq-full .faq-item { margin-bottom: 12px; }

@media (max-width: 768px) {
    .contact-form-grid { grid-template-columns: 1fr; }
}

/* === HOMEPAGE BANKING EXTENSIONS === */

.glass {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-glass);
}

.banking-hero { overflow: hidden; }

.banking-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.72)),
        url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?w=1800&q=80") center/cover;
    z-index: -2;
}

.banking-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 28%, rgba(37, 99, 235, 0.16), transparent 22rem),
        linear-gradient(180deg, transparent 62%, rgba(8, 8, 8, 0.9));
    z-index: -1;
}

.hero-copy { max-width: 620px; }

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray);
    font-size: 0.78rem;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 36px);
    isolation: isolate;
}

.portfolio-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto;
    height: 180px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: rotate(12deg);
    animation: shimmer 4.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes shimmer {
    0%, 45% { translate: -80% 0; opacity: 0; }
    55% { opacity: 1; }
    100% { translate: 110% 0; opacity: 0; }
}

.portfolio-card-head,
.portfolio-metrics,
.portfolio-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.portfolio-card-head h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.15;
}

.status-pill {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.34);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-balance { margin: 34px 0; }

.portfolio-balance span,
.portfolio-metrics span,
.portfolio-progress div span:first-child {
    display: block;
    color: var(--gray-dim);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-balance strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    line-height: 1;
    color: var(--gold-light);
}

.portfolio-metrics { margin-bottom: 28px; }

.portfolio-metrics div {
    flex: 1;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.portfolio-metrics strong {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 1rem;
}

.portfolio-progress { margin-top: 18px; }

.portfolio-progress div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: 0.82rem;
}

.portfolio-progress i {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.portfolio-progress i::before {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--success));
    animation: fillBar 1.1s var(--ease) both;
}

@keyframes fillBar {
    from { width: 0; }
}

.portfolio-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.portfolio-actions a {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.88rem;
}

.home-video {
    position: relative;
    z-index: 1;
}

.home-video-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: var(--black);
}

.home-video-frame video {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(72vh, 900px);
    object-fit: contain;
}

.slide-arrows {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slide-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(8, 8, 8, 0.62);
    backdrop-filter: blur(12px);
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}

.slide-arrows button:hover {
    transform: translateY(-2px);
    border-color: var(--border-gold);
    background: var(--orange-dim);
}

/* === HOME SECTION PANELS (Calculator · Testimonials · Customer Care) === */

.home-section-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 28px;
    align-items: end;
    margin-bottom: 36px;
}

.home-section-intro .kicker,
.home-section-intro h2,
.home-section-intro p {
    grid-column: 1;
}

.home-section-intro .pill {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    white-space: nowrap;
}

.home-section-intro .kicker { margin-bottom: 0; }

.home-section-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 8px 0 12px;
    color: var(--text-heading);
}

.home-section-intro p {
    color: var(--text-body);
    max-width: 640px;
    margin: 0;
    line-height: 1.7;
}

/* Loan Calculator panel */
.calc-panel {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
}

.calc-panel-form,
.calc-panel-output {
    padding: clamp(24px, 4vw, 40px);
}

.calc-panel-form {
    background: var(--pearl);
    border-right: 1px solid var(--border);
}

.calc-panel-label {
    margin-bottom: 20px;
    color: var(--jade);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.calc-field { margin-bottom: 18px; }

.calc-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calc-field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--snow);
    color: var(--ink);
    font: inherit;
}

.calc-field input:focus {
    outline: none;
    border-color: var(--champagne);
    box-shadow: 0 0 0 3px rgba(196, 164, 106, 0.18);
}

.calc-note {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 8px;
}

.calc-panel-output {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(160deg, rgba(15, 107, 92, 0.08), rgba(196, 164, 106, 0.08));
}

.calc-result-main {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: var(--ink);
}

.calc-result-main span,
.calc-result-grid span {
    display: block;
    color: var(--gray-dim);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.calc-result-main span { color: var(--champagne-soft); }

.calc-result-main strong {
    display: block;
    color: var(--snow);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.calc-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-result-grid div {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--snow);
}

.calc-result-grid strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.calc-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

/* Testimonials panel */
.testimonials-panel {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.testimonials-stage {
    position: relative;
    min-height: 380px;
}

.testimonial-card,
.success-story-card {
    display: none;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
    animation: testimonialIn 0.45s var(--ease);
}

.testimonial-card.active,
.success-story-card.active {
    display: grid;
}

@keyframes testimonialIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-photo,
.success-story-img {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonial-photo::after,
.success-story-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(8, 8, 8, 0.55));
}

.testimonial-body,
.success-story-copy {
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.testimonial-meta,
.success-story-copy span {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.testimonial-body blockquote,
.success-story-copy p {
    margin: 0;
    color: var(--gray);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.75;
    font-style: normal;
}

.testimonial-body blockquote::before {
    content: "\201C";
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
}

.testimonial-body cite,
.success-story-copy h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: normal;
    color: var(--ink);
}

.testimonials-nav,
.success-story-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    background: var(--pearl);
}

.success-story-controls {
    position: static;
    transform: none;
    border-radius: 0;
    backdrop-filter: none;
}

.success-story-controls button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--snow);
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.success-story-controls button:hover {
    border-color: var(--border-gold);
    background: var(--orange-dim);
}

.success-story-dots {
    display: flex;
    gap: 8px;
}

.success-story-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    background: transparent;
    cursor: pointer;
}

.success-story-dots button.active { background: var(--gold); }

/* Customer Care panel */
.care-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--snow);
    box-shadow: var(--shadow-glass);
}

.care-panel-content {
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.care-panel-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    margin: 10px 0 16px;
    color: var(--ink);
}

.care-panel-content > p {
    color: var(--text-body);
    line-height: 1.75;
    max-width: 52ch;
}

.care-services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.care-services li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--pearl);
}

.care-services strong {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-ctrl);
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--jade);
    font-size: 0.72rem;
}

.care-services span {
    color: var(--ink);
    font-size: 0.875rem;
}

.care-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.care-panel-visual {
    position: relative;
    min-height: 420px;
    border-left: 1px solid var(--border);
}

.care-panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.03);
}

.care-panel-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.05), rgba(8, 8, 8, 0.45));
    pointer-events: none;
}

.care-panel-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-gold);
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold-light);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chairman-signoff {
    margin-top: 20px;
    color: var(--gray) !important;
}

@media (max-width: 1024px) {
    .home-section-intro {
        grid-template-columns: 1fr;
    }

    .home-section-intro .pill {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .calc-panel,
    .care-panel { grid-template-columns: 1fr; }

    .calc-panel-form { border-right: none; border-bottom: 1px solid var(--border); }

    .care-panel-visual {
        border-left: none;
        border-top: 1px solid var(--border);
        min-height: 320px;
    }

    .testimonial-card.active,
    .success-story-card.active { grid-template-columns: 1fr; }

    .testimonial-photo,
    .success-story-img { min-height: 260px; }

    .testimonial-photo::after,
    .success-story-img::after {
        background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.55));
    }
}

@media (max-width: 768px) {
    .home-video-frame video { max-height: 56vh; }

    .testimonials-stage { min-height: 0; }

    .care-services { grid-template-columns: 1fr; }

    .calc-result-grid { grid-template-columns: 1fr; }

    .slide-arrows { right: 24px; bottom: 82px; }
}

@media (max-width: 480px) {
    .home-video-frame video { max-height: 48vh; }
}
