/* =========================================================
   ELONG KHAN — Corporate site
   Mobile-first, deep black + gold
   ========================================================= */

:root {
    --bg: #0a0a0a;
    --bg-elev: #111111;
    --bg-elev-2: #161616;
    --line: rgba(212, 175, 55, 0.18);
    --line-strong: rgba(212, 175, 55, 0.45);
    --text: #f5f1e8;
    --text-dim: #a8a39a;
    --text-mute: #6b6862;
    --gold: #d4af37;
    --gold-bright: #e8c552;
    --gold-deep: #a9842a;
    --gradient-gold: linear-gradient(135deg, #c9a13b 0%, #f1d27a 50%, #a9842a 100%);
    --serif: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --maxw: 1200px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Safe-area insets (iPhone notch / Dynamic Island / home bar) */
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);

    /* Mobile-first scales */
    --pad-x: max(20px, var(--safe-l), var(--safe-r));
    --section-y: 64px;
    --header-h: 60px;
}

@media (min-width: 640px) {
    :root {
        --pad-x: max(28px, var(--safe-l), var(--safe-r));
        --section-y: 88px;
        --header-h: 68px;
    }
}

@media (min-width: 960px) {
    :root {
        --pad-x: max(40px, var(--safe-l), var(--safe-r));
        --section-y: 112px;
        --header-h: 76px;
    }
}

@media (min-width: 1200px) {
    :root {
        --pad-x: 56px;
        --section-y: 128px;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--safe-t) + 8px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: var(--gold);
    color: #000;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 8px;
    background: var(--gold);
    color: #000;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: calc(var(--safe-t) + 8px);
}

/* ---------- Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    margin: 0 0 14px;
}

@media (min-width: 640px) {
    .eyebrow {
        font-size: 12px;
        letter-spacing: 0.28em;
        margin-bottom: 18px;
    }
}

.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(26px, 6vw, 46px);
    line-height: 1.18;
    letter-spacing: 0.01em;
    margin: 0 0 20px;
    color: var(--text);
    text-wrap: balance;
}

.section-sub {
    color: var(--text-dim);
    font-size: clamp(14.5px, 1.4vw, 17px);
    max-width: 62ch;
    margin: 0;
    text-wrap: pretty;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(32px, 6vw, 72px);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    padding-top: var(--safe-t);
    padding-left: var(--safe-l);
    padding-right: var(--safe-r);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 10, 10, 0.78);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.94);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
    z-index: 2;
}

.brand-mark {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.16em;
    font-size: 13px;
    color: var(--gold);
    white-space: nowrap;
}

@media (min-width: 640px) {
    .brand-mark {
        width: 36px;
        height: 36px;
    }
    .brand-name {
        font-size: 14px;
        letter-spacing: 0.18em;
    }
}

@media (min-width: 960px) {
    .brand-mark {
        width: 40px;
        height: 40px;
    }
    .brand-name {
        font-size: 15px;
    }
    .brand {
        gap: 12px;
    }
}

/* ---------- Nav — desktop (default >= 900px) ---------- */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--gold);
}

.nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
}

.nav-cta {
    border: 1px solid var(--line-strong);
    padding: 10px 20px;
    border-radius: 999px;
    color: var(--gold) !important;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--gold);
    color: #000 !important;
    border-color: var(--gold);
}

/* ---------- Nav — mobile (< 900px): full-screen drawer ---------- */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
    color: var(--gold);
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
    position: relative;
}

.nav-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 18px;
    align-items: stretch;
    justify-content: center;
}

.nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
    transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-scrim {
    display: none;
}

@media (max-width: 899px) {
    .nav-toggle {
        display: inline-flex;
    }

    /* Nav becomes a drawer under the header */
    .nav {
        position: fixed;
        top: calc(var(--header-h) + var(--safe-t));
        left: 0;
        right: 0;
        z-index: 55;

        /* Layout — sized to content, no scroll */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-height: calc(100svh - var(--header-h) - var(--safe-t));

        /* Appearance */
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
        padding: 8px 0 20px;
        overflow: hidden;

        /* Hidden by default */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition:
            opacity 0.28s var(--ease),
            transform 0.28s var(--ease),
            visibility 0s linear 0.28s;
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition:
            opacity 0.28s var(--ease),
            transform 0.28s var(--ease),
            visibility 0s linear 0s;
    }

    .nav a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px clamp(24px, 6vw, 40px);
        font-size: 15px;
        letter-spacing: 0.2em;
        color: var(--text);
        border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    }

    .nav a:first-child {
        border-top: 1px solid rgba(212, 175, 55, 0.08);
    }

    .nav a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin: 16px clamp(24px, 6vw, 40px) 4px;
        width: auto;
        border: 1px solid var(--gold);
        padding: 14px 24px;
        text-align: center;
        font-size: 13px;
        background: rgba(212, 175, 55, 0.04);
    }

    /* Scrim behind drawer */
    .nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 40;
        transition:
            opacity 0.28s var(--ease),
            visibility 0s linear 0.28s;
    }

    body.nav-open .nav-scrim {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition:
            opacity 0.28s var(--ease),
            visibility 0s linear 0s;
    }

    /* Header tint lifts while drawer is open */
    body.nav-open .site-header {
        background: rgba(8, 8, 8, 0.98);
        border-bottom-color: var(--line);
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + var(--safe-t) + 40px);
    padding-bottom: calc(56px + var(--safe-b));
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 640px) {
    .hero {
        padding-top: calc(var(--header-h) + var(--safe-t) + 80px);
        padding-bottom: 72px;
    }
}

@media (min-width: 960px) {
    .hero {
        padding-top: calc(var(--header-h) + var(--safe-t) + 90px);
        padding-bottom: 80px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 35%, rgba(212, 175, 55, 0.14), transparent 60%),
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(212, 175, 55, 0.06), transparent 70%),
        #050505;
}

.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-bg::before {
    width: 70vw;
    height: 70vw;
    max-width: 520px;
    max-height: 520px;
    background: radial-gradient(circle, var(--gold-deep), transparent 70%);
    top: -20vw;
    left: -25vw;
}

.hero-bg::after {
    width: 80vw;
    height: 80vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--gold-deep), transparent 70%);
    bottom: -30vw;
    right: -30vw;
    opacity: 0.2;
}

.hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: clamp(140px, 42vw, 280px);
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 18px 40px rgba(212, 175, 55, 0.18));
}

.hero-eyebrow {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: clamp(10px, 2.6vw, 13px);
    color: var(--gold);
    margin: 0 0 18px;
}

@media (min-width: 901px) {
    .hero-logo {
        margin-bottom: 6px;
    }
    .hero-eyebrow {
        margin-top: -4px;
        margin-bottom: 26px;
        letter-spacing: 0.32em;
    }
}

.hero-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(32px, 9vw, 64px);
    line-height: 1.1;
    letter-spacing: 0.005em;
    margin: 0 0 20px;
    max-width: 18ch;
    background: linear-gradient(180deg, #fff 0%, #d8cfb8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-wrap: balance;
}

.hero-sub {
    color: var(--text-dim);
    font-size: clamp(14.5px, 3.8vw, 18px);
    max-width: 52ch;
    margin: 0 0 32px;
    line-height: 1.65;
    text-wrap: pretty;
}

@media (min-width: 640px) {
    .hero-sub {
        margin-bottom: 40px;
        line-height: 1.7;
    }
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 420px;
}

.hero-cta .btn {
    flex: 1 1 140px;
}

@media (min-width: 640px) {
    .hero-cta {
        max-width: none;
        width: auto;
        gap: 14px;
    }
    .hero-cta .btn {
        flex: 0 0 auto;
    }
}

.hero-scroll {
    position: absolute;
    bottom: calc(20px + var(--safe-b));
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, var(--line-strong));
    overflow: hidden;
    display: none;
}

@media (min-width: 640px) {
    .hero-scroll {
        display: block;
        height: 56px;
        bottom: calc(28px + var(--safe-b));
    }
}

.hero-scroll span {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--gold);
    animation: scrollDown 2.4s var(--ease) infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(76px); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    min-height: 46px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
    .btn {
        padding: 14px 28px;
        font-size: 13px;
        letter-spacing: 0.18em;
    }
}

.btn-primary {
    background: var(--gradient-gold);
    color: #0a0a0a;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(212, 175, 55, 0.32);
}

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-block {
    width: 100%;
    margin-top: 24px;
}

/* ---------- Focus band ---------- */
.focus {
    position: relative;
    padding-block: clamp(48px, 7vw, 96px);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #080808 0%, var(--bg) 100%);
}

.focus::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.focus-eyebrow {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 48px);
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--line);
}

@media (min-width: 820px) {
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.focus-pillar {
    background: var(--bg);
    padding: 28px 24px;
    position: relative;
    transition: background 0.4s var(--ease);
}

@media (min-width: 640px) {
    .focus-pillar {
        padding: 36px 32px;
    }
}

@media (min-width: 1100px) {
    .focus-pillar {
        padding: 44px 36px;
    }
}

.focus-pillar:hover {
    background: var(--bg-elev);
}

.focus-pillar::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.focus-pillar:hover::after {
    transform: scaleX(1);
}

.focus-num {
    display: inline-block;
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin-bottom: 14px;
}

.focus-pillar h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(22px, 5vw, 28px);
    margin: 0 0 10px;
    color: var(--text);
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #fff 0%, #d8cfb8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.focus-pillar p {
    color: var(--text-dim);
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- About ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

@media (min-width: 960px) {
    .two-col {
        grid-template-columns: 1fr 1.3fr;
        gap: clamp(40px, 6vw, 80px);
    }
}

.lede {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(17px, 4.4vw, 22px);
    line-height: 1.5;
    color: var(--text);
    margin: 0 0 18px;
    text-wrap: pretty;
}

.about p:not(.lede):not(.eyebrow) {
    color: var(--text-dim);
    margin: 0 0 16px;
}

.about p:last-child {
    margin-bottom: 0;
}

/* ---------- Services cards ---------- */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: var(--bg);
    padding: 30px 24px 28px;
    transition: background 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .card {
        padding: 36px 28px 32px;
    }
}

@media (min-width: 1100px) {
    .card {
        padding: 40px 32px 36px;
    }
}

.card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.card:hover {
    background: var(--bg-elev);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-num {
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .card-num {
        font-size: 13px;
        margin-bottom: 28px;
    }
}

.card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text);
    letter-spacing: 0.01em;
}

@media (min-width: 640px) {
    .card h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }
}

.card p {
    color: var(--text-dim);
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- Process ---------- */
.process {
    background:
        radial-gradient(ellipse 60% 60% at 15% 0%, rgba(212, 175, 55, 0.05), transparent 70%),
        var(--bg);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .process-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1100px) {
    .process-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.process-step {
    position: relative;
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(180deg, var(--bg-elev), var(--bg));
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

@media (min-width: 640px) {
    .process-step {
        padding: 30px 26px;
    }
}

@media (min-width: 1100px) {
    .process-step {
        padding: 32px 28px;
    }
}

.process-step:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 16px;
    background: rgba(212, 175, 55, 0.05);
}

@media (min-width: 640px) {
    .process-num {
        width: 42px;
        height: 42px;
        margin-bottom: 22px;
    }
}

.process-step h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--text);
    letter-spacing: 0.01em;
}

@media (min-width: 640px) {
    .process-step h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

.process-step p {
    color: var(--text-dim);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Markets ---------- */
.markets {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.05), transparent 70%),
        var(--bg);
}

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

@media (min-width: 640px) {
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.market {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px 22px;
    background: linear-gradient(180deg, var(--bg-elev), var(--bg));
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

@media (min-width: 640px) {
    .market {
        padding: 32px 26px;
    }
}

@media (min-width: 1100px) {
    .market {
        padding: 36px 30px;
    }
}

.market:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.market-tag {
    display: inline-block;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--gold);
    padding: 4px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    margin-bottom: 18px;
}

@media (min-width: 640px) {
    .market-tag {
        font-size: 12px;
        letter-spacing: 0.24em;
        margin-bottom: 22px;
    }
}

.market h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--text);
}

@media (min-width: 640px) {
    .market h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }
}

.market p {
    color: var(--text-dim);
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- Values ---------- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px 24px;
}

@media (min-width: 560px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 28px;
    }
}

@media (min-width: 960px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 36px 32px;
    }
}

.value {
    border-top: 1px solid var(--line-strong);
    padding-top: 20px;
}

.value h4 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 17px;
    color: var(--gold);
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}

@media (min-width: 640px) {
    .value h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

.value p {
    color: var(--text-dim);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
    background:
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(212, 175, 55, 0.06), transparent 70%),
        var(--bg);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 960px) {
    .contact-inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: clamp(40px, 6vw, 80px);
    }
}

.contact-card {
    background: linear-gradient(180deg, var(--bg-elev), #0c0c0c);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .contact-card {
        padding: 32px 28px;
    }
}

@media (min-width: 960px) {
    .contact-card {
        padding: 36px 32px;
    }
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-gold);
}

.contact-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 520px) {
    .contact-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
    }
}

.contact-row:last-of-type {
    border-bottom: 0;
}

.contact-label {
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-mute);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .contact-label {
        font-size: 11px;
        letter-spacing: 0.24em;
    }
}

.contact-value {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--text);
    text-align: left;
    word-break: break-word;
}

@media (min-width: 520px) {
    .contact-value {
        text-align: right;
        font-size: 16px;
    }
}

a.contact-value:hover {
    color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: #060606;
    padding-block: 32px;
    padding-bottom: calc(32px + var(--safe-b));
}

@media (min-width: 640px) {
    .site-footer {
        padding-block: 40px;
        padding-bottom: calc(40px + var(--safe-b));
    }
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        gap: 28px;
        flex-wrap: wrap;
    }
}

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

.footer-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (min-width: 640px) {
    .footer-mark {
        width: 44px;
        height: 44px;
    }
}

.footer-name {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin: 0;
    font-size: 13px;
}

@media (min-width: 640px) {
    .footer-name {
        font-size: 14px;
        letter-spacing: 0.18em;
    }
}

.footer-tag {
    margin: 4px 0 0;
    color: var(--text-mute);
    font-size: 11.5px;
    letter-spacing: 0.06em;
}

@media (min-width: 640px) {
    .footer-tag {
        font-size: 12px;
    }
}

.footer-meta {
    text-align: left;
    color: var(--text-mute);
    font-size: 12.5px;
}

@media (min-width: 640px) {
    .footer-meta {
        text-align: right;
        font-size: 13px;
    }
}

.footer-meta p {
    margin: 3px 0;
}

.footer-meta a:hover {
    color: var(--gold);
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.cards .card.reveal:nth-child(1) { transition-delay: 0.05s; }
.cards .card.reveal:nth-child(2) { transition-delay: 0.12s; }
.cards .card.reveal:nth-child(3) { transition-delay: 0.19s; }
.cards .card.reveal:nth-child(4) { transition-delay: 0.26s; }

.focus-grid .focus-pillar.reveal:nth-child(1) { transition-delay: 0.05s; }
.focus-grid .focus-pillar.reveal:nth-child(2) { transition-delay: 0.15s; }
.focus-grid .focus-pillar.reveal:nth-child(3) { transition-delay: 0.25s; }

.process-list .process-step.reveal:nth-child(1) { transition-delay: 0.04s; }
.process-list .process-step.reveal:nth-child(2) { transition-delay: 0.10s; }
.process-list .process-step.reveal:nth-child(3) { transition-delay: 0.16s; }
.process-list .process-step.reveal:nth-child(4) { transition-delay: 0.22s; }
.process-list .process-step.reveal:nth-child(5) { transition-delay: 0.28s; }
.process-list .process-step.reveal:nth-child(6) { transition-delay: 0.34s; }

.markets-grid .market.reveal:nth-child(1) { transition-delay: 0.05s; }
.markets-grid .market.reveal:nth-child(2) { transition-delay: 0.15s; }
.markets-grid .market.reveal:nth-child(3) { transition-delay: 0.25s; }

.values-grid .value.reveal:nth-child(1) { transition-delay: 0.04s; }
.values-grid .value.reveal:nth-child(2) { transition-delay: 0.10s; }
.values-grid .value.reveal:nth-child(3) { transition-delay: 0.16s; }
.values-grid .value.reveal:nth-child(4) { transition-delay: 0.22s; }

.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.25s; }
.hero .reveal:nth-child(4) { transition-delay: 0.35s; }
.hero .reveal:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll span { animation: none; }
    html { scroll-behavior: auto; }
    .btn,
    .card,
    .market,
    .process-step,
    .focus-pillar {
        transition: none;
    }
}
