/* ==========================================================================
   OnPoint Group — "The Constellation" · Dark Prestige System
   www.onpointgroup.global
   ========================================================================== */

:root {
    /* Canvas */
    --bg:         #08090C;
    --bg-2:       #0E1016;
    --surface:    #13161E;
    --surface-2:  #1A1E28;

    /* Lines */
    --line:        rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --line-gold:   rgba(212, 175, 106, 0.28);

    /* Ink */
    --text:      #F3EFE5;
    --text-soft: #A7A294;
    --muted:     #6E6A60;

    /* Signature gold */
    --gold:        #D4AF6A;
    --gold-bright: #E8C989;
    --gold-deep:   #9A7A3E;
    --gold-wash:   rgba(212, 175, 106, 0.08);
    --gold-glow:   rgba(212, 175, 106, 0.24);

    /* Status */
    --status-live: #4CC38A;
    --status-warn: #E8A54D;

    /* Motion */
    --ease:   cubic-bezier(0.4, 0, 0.2, 1);
    --ease-b: cubic-bezier(0.16, 1, 0.3, 1);

    /* Radii */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-card:  0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -20px rgba(0,0,0,0.5);
    --shadow-hover: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px var(--gold) inset;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #0A0806; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--gold); color: var(--bg);
    padding: 10px 18px; border-radius: var(--radius-sm);
    z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-optical-sizing: auto; }
.mono  { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace; }

h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--text);
}
h1 { font-size: clamp(56px, 9vw, 140px); letter-spacing: -0.04em; }
h2 { font-size: clamp(42px, 6vw, 88px); letter-spacing: -0.03em; line-height: 1; }
h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }

h1 em, h2 em, h3 em, h4 em { font-style: italic; color: var(--gold); font-weight: 400; }

.kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

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

/* ==========================================================================
   AMBIENT GLOW (background)
   ========================================================================== */
.ambient {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient::before {
    content: ""; position: absolute;
    top: -200px; left: -10%;
    width: 60%; height: 600px;
    background: radial-gradient(circle, rgba(212,175,106,0.12), transparent 60%);
    filter: blur(40px);
}
.ambient::after {
    content: ""; position: absolute;
    top: 40%; right: -10%;
    width: 55%; height: 700px;
    background: radial-gradient(circle, rgba(212,175,106,0.06), transparent 60%);
    filter: blur(40px);
}
main, nav, footer, section, header { position: relative; z-index: 1; }

/* ==========================================================================
   NAV
   ========================================================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 60;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(8, 9, 12, 0.72);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--line);
    background: rgba(8, 9, 12, 0.88);
}
.nav-container {
    max-width: 1320px; margin: 0 auto;
    padding: 18px 40px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: inline-flex; align-items: center; gap: 14px;
    color: var(--text);
}
.nav-logo .logo-img {
    height: 44px; width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.55s var(--ease-b), filter 0.4s;
}
.nav-logo:hover .logo-img {
    transform: rotate(-18deg) scale(1.08);
    filter: drop-shadow(0 0 16px var(--gold-glow));
}
.nav-logo .logo-text {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.nav-logo .logo-text span { color: var(--gold); }

.nav-links {
    display: flex; align-items: center; gap: 34px;
    font-size: 13px; font-weight: 500;
    color: var(--text-soft);
    list-style: none;
    flex: 1; justify-content: flex-end;
}
.nav-links li { list-style: none; }
.nav-links .mobile-cta-item { display: none; }
.nav-links a { padding: 4px 0; transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
    content: ""; position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 1px; background: var(--gold);
}

.nav-actions { display: inline-flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-actions .btn { padding: 11px 22px; font-size: 13px; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 0;
    width: 44px; height: 44px;
    color: var(--text);
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: border-color 0.2s;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.1em;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    margin: 3px 0;
    transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; flex-direction: column; }
    .nav-actions .btn { display: none; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(8, 9, 12, 0.98);
        backdrop-filter: blur(28px);
        padding: 28px 40px 36px;
        gap: 20px;
        border-bottom: 1px solid var(--line);
        justify-content: flex-start;
    }
    .nav-links.open li { width: 100%; }
    .nav-links.open a { font-size: 18px; padding: 8px 0; display: block; }
    .nav-links.open .mobile-cta-item {
        display: block;
        width: 100%;
        margin-top: 12px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    .nav-links.open .mobile-cta-item .btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ==========================================================================
   BUTTONS / PILL
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 28px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 600; font-size: 14px;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold); color: #0A0806;
}
.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(212,175,106,0.5);
}
.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 18px 32px; font-size: 15px; }
.btn .arr { transition: transform 0.25s; display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.pill .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--status-live);
    box-shadow: 0 0 12px var(--status-live);
    animation: pulse 2s infinite;
}
.pill .gold { color: var(--gold); font-weight: 600; }
.pill .sep { color: var(--line-strong); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    padding: 180px 40px 100px;
    max-width: 1320px;
    margin: 0 auto;
}
.hero-pill { margin-bottom: 36px; }
.hero h1 {
    font-size: clamp(60px, 10vw, 148px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 36px;
    max-width: 1120px;
}
.hero h1 em {
    font-style: italic; font-weight: 400;
    background: linear-gradient(100deg, var(--gold-bright), var(--gold) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: 20px; line-height: 1.5;
    color: var(--text-soft);
    max-width: 640px;
    margin-bottom: 48px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   PRESTIGE FIGURES STRIP
   ========================================================================== */
.prestige {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
}
.prestige-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.prestige-cell {
    padding: 48px 32px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 14px;
}
.prestige-cell:last-child { border-right: none; }
.prestige-cell .num {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--gold);
}
.prestige-cell .num em { font-style: italic; }
.prestige-cell .lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .prestige-inner { grid-template-columns: 1fr 1fr; }
    .prestige-cell:nth-child(2) { border-right: none; }
    .prestige-cell:nth-child(1),
    .prestige-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec {
    padding: 140px 40px;
    max-width: 1320px;
    margin: 0 auto;
}
.sec-head { margin-bottom: 80px; max-width: 1100px; }
.sec-head .kicker { margin-bottom: 24px; }
.sec-head h2 { max-width: 980px; }
.sec-head p {
    font-size: 18px; color: var(--text-soft);
    max-width: 640px;
    margin-top: 28px;
    line-height: 1.65;
}

/* ==========================================================================
   CONSTELLATION GRID (portfolio / holdings)
   ========================================================================== */
.const-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}
.const-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 32px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
    display: flex; flex-direction: column; justify-content: space-between;
    color: inherit;
}
.const-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--gold-wash), transparent 60%);
    opacity: 0; transition: opacity 0.5s;
    pointer-events: none;
}
.const-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}
.const-card:hover::before { opacity: 1; }
.const-card:hover .c-name { color: var(--gold); }
.const-card:hover .c-arr { transform: translateX(4px); color: var(--gold); }

.const-card.xl { grid-column: span 4; grid-row: span 2; }
.const-card.lg { grid-column: span 3; }
.const-card.md { grid-column: span 2; }
.const-card.sm { grid-column: span 2; }

.const-card .c-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px;
    position: relative; z-index: 1;
}
.const-card .c-meta { display: flex; flex-direction: column; gap: 6px; }
.const-card .c-sector {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}
.const-card .c-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
}
/* Brand medallion — background matches each brand's native site identity */
.const-card .c-medallion {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: #13161E;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    padding: 9px;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform 0.3s var(--ease-b), box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.06);
}
.const-card .c-medallion img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Per-brand identity backgrounds */
.const-card .c-medallion.pos     { background: #003F36; border-color: rgba(0, 229, 208, 0.25); }
.const-card .c-medallion.kaching { background: #0F1014; border-color: var(--line-gold); }
.const-card .c-medallion.stack   { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.06); }
.const-card .c-medallion.pixel   { background: #08090F; border-color: var(--line-gold); }
.const-card .c-medallion.pandora { background: #0A0E17; border-color: rgba(232, 165, 77, 0.25); }
.const-card .c-medallion.velora  { background: #0F1014; border-color: var(--line-gold); }

.const-card.xl .c-medallion {
    width: 88px; height: 88px;
    border-radius: 20px;
    padding: 12px;
}
.const-card:hover .c-medallion {
    transform: rotate(-4deg) translateY(-2px);
    box-shadow: 0 4px 0 rgba(0,0,0,0.35), 0 14px 40px -10px rgba(212,175,106,0.4);
}

/* Flagship atmospheric background — WebP with JPG fallback via image-set */
.const-card.xl.atmos {
    background: linear-gradient(135deg, rgba(19,22,30,0.88) 0%, rgba(8,9,12,0.92) 60%),
                url('../images/brand-onpointpos.jpg') center/cover;
    background:
        linear-gradient(135deg, rgba(19,22,30,0.88) 0%, rgba(8,9,12,0.92) 60%),
        image-set(
            url('../images/webp/brand-onpointpos.webp') type('image/webp') 1x,
            url('../images/brand-onpointpos.jpg') type('image/jpeg') 1x
        ) center/cover;
}
.const-card.xl.atmos:hover {
    background: linear-gradient(135deg, rgba(19,22,30,0.78) 0%, rgba(8,9,12,0.85) 60%),
                url('../images/brand-onpointpos.jpg') center/cover;
    background:
        linear-gradient(135deg, rgba(19,22,30,0.78) 0%, rgba(8,9,12,0.85) 60%),
        image-set(
            url('../images/webp/brand-onpointpos.webp') type('image/webp') 1x,
            url('../images/brand-onpointpos.jpg') type('image/jpeg') 1x
        ) center/cover;
}

.const-card .c-bot { position: relative; z-index: 1; }
.const-card .c-name {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 12px;
    color: var(--text);
    transition: color 0.3s;
}
.const-card.xl .c-name { font-size: clamp(40px, 4.5vw, 64px); }
.const-card.sm .c-name { font-size: 24px; }
.const-card .c-name em { font-style: italic; color: var(--gold); }

.const-card .c-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 20px;
}
.const-card.xl .c-desc { font-size: 16px; max-width: 540px; line-height: 1.55; }
.const-card.sm .c-desc { display: none; }

.const-card .c-foot {
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    gap: 16px;
}
.const-card .c-arr {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-soft);
    transition: transform 0.25s, color 0.25s;
    font-size: 16px;
}

@media (max-width: 980px) {
    .const-grid { grid-template-columns: repeat(2, 1fr); }
    .const-card.xl { grid-column: span 2; grid-row: span 2; }
    .const-card.lg { grid-column: span 2; }
    .const-card.md, .const-card.sm { grid-column: span 1; }
}
@media (max-width: 640px) {
    .const-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .const-card.xl, .const-card.lg, .const-card.md, .const-card.sm {
        grid-column: span 1; grid-row: span 1;
        min-height: 280px;
    }
}

/* ==========================================================================
   PHILOSOPHY / DOCTRINE
   ========================================================================== */
.philo {
    padding: 160px 40px;
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.philo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}
.philo-left { position: sticky; top: 140px; }
.philo-left .kicker { margin-bottom: 24px; }
.philo-left h2 {
    font-size: clamp(44px, 6vw, 88px);
    margin-bottom: 28px;
}
.philo-left p {
    color: var(--text-soft);
    font-size: 18px; line-height: 1.65;
    max-width: 440px;
}

.philo-list {
    display: flex; flex-direction: column;
    gap: 1px;
    background: var(--line);
}
.philo-item {
    background: var(--bg);
    padding: 40px 0;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
}
.philo-item .n {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 44px;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
}
.philo-item h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--text);
}
.philo-item p {
    color: var(--text-soft);
    font-size: 15px; line-height: 1.7;
    max-width: 560px;
}

@media (max-width: 900px) {
    .philo-grid { grid-template-columns: 1fr; gap: 48px; }
    .philo-left { position: static; }
    .philo-item { grid-template-columns: 60px 1fr; gap: 24px; padding: 32px 0; }
    .philo-item .n { font-size: 36px; }
}

/* ==========================================================================
   SEAL / MANIFESTO BAND
   ========================================================================== */
.seal-band {
    padding: 140px 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid var(--line);
}
.seal-band .seal {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
}
.seal-band .seal::before, .seal-band .seal::after {
    content: ""; width: 48px; height: 1px; background: var(--gold);
}
.seal-band .quote {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
}
.seal-band .quote em { font-style: italic; color: var(--gold); }
.seal-band .sig {
    margin-top: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ==========================================================================
   CLOSING / CTA
   ========================================================================== */
.dark-cta {
    padding: 160px 40px 180px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.dark-cta::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(212,175,106,0.12), transparent 60%);
    z-index: 0;
    filter: blur(50px);
    pointer-events: none;
}
.dark-cta > * { position: relative; z-index: 1; }
.dark-cta .kicker { margin-bottom: 36px; }
.dark-cta h2 {
    font-size: clamp(56px, 8vw, 128px);
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 36px;
}
.dark-cta p {
    font-size: 19px;
    color: var(--text-soft);
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.55;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-2);
    padding: 100px 40px 40px;
    border-top: 1px solid var(--line);
}
.footer .container { max-width: 1320px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .nav-logo .logo-text { color: #fff; }
.footer-brand p {
    color: var(--text-soft);
    font-size: 14px; line-height: 1.65;
    max-width: 320px;
}
.footer-links h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-soft);
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    max-width: 1320px;
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-soft);
    text-transform: uppercase;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REVEAL ANIMATIONS (used by app.js)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-b), transform 0.9s var(--ease-b);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-b), transform 0.8s var(--ease-b);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }

/* ==========================================================================
   RESPONSIVE PADDING
   ========================================================================== */
@media (max-width: 720px) {
    .nav-container { padding: 16px 24px; }
    .hero { padding: 140px 24px 80px; }
    .sec, .philo, .seal-band, .dark-cta { padding-left: 24px; padding-right: 24px; }
    .philo { padding-top: 100px; padding-bottom: 100px; }
    .sec { padding-top: 100px; padding-bottom: 100px; }
    .dark-cta { padding-top: 120px; padding-bottom: 140px; }
    .seal-band { padding-top: 100px; padding-bottom: 100px; }
    .prestige-cell { padding: 32px 20px; }
    .footer { padding: 80px 24px 32px; }
    .footer-bottom { padding-left: 0; padding-right: 0; }
    .hero h1 { font-size: clamp(44px, 11vw, 76px); }
    .philo-left h2 { font-size: clamp(40px, 9vw, 56px); }
}

/* ==========================================================================
   HERO TRUST STRIP (below hero CTAs)
   ========================================================================== */
.hero-trust {
    display: flex; flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    text-transform: uppercase;
    max-width: 820px;
}
.hero-trust strong { color: var(--gold); font-weight: 600; }
.hero-trust .dot-sep { color: var(--line-strong); }

/* ==========================================================================
   PRESTIGE SUPPORT LINE
   ========================================================================== */
.prestige-sub {
    max-width: 1320px;
    margin: 32px auto 0;
    padding: 0 40px 48px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}
.sec-intro { padding-top: 100px; padding-bottom: 60px; }
.sec-intro .sec-head { margin-bottom: 0; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-intro .sec-head h2 { margin-left: auto; margin-right: auto; }
.sec-intro .sec-head p { margin-left: auto; margin-right: auto; font-size: 19px; }

/* ==========================================================================
   OPERATING MODEL · BRAND ECOSYSTEM
   ========================================================================== */
.operating-model { padding-top: 60px; }
.ecosystem {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 32px;
    position: relative;
}
.eco-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 0;
    position: relative;
}
.eco-col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.eco-node {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: center;
    transition: transform 0.3s var(--ease-b), border-color 0.3s, box-shadow 0.3s;
    position: relative;
}
.eco-node::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28px;
    height: 1px;
    background: linear-gradient(to right, var(--line-gold), transparent);
    pointer-events: none;
}
.eco-col:first-child .eco-node::after { right: -28px; }
.eco-col:last-child .eco-node::after { left: -28px; background: linear-gradient(to left, var(--line-gold), transparent); }
.eco-node:hover {
    transform: translateX(3px);
    border-color: var(--gold);
    box-shadow: 0 14px 30px -10px rgba(212,175,106,0.2);
}
.eco-col:last-child .eco-node:hover { transform: translateX(-3px); }
.eco-mark {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 6px;
    background: #13161E;
    border: 1px solid var(--line-strong);
}
.eco-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.eco-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--text);
}
.eco-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: 3px;
}

.eco-core {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.eco-core-inner {
    background: radial-gradient(circle at center, rgba(212,175,106,0.15), transparent 70%), var(--surface);
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 280px; height: 280px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 32px;
    text-align: center;
    box-shadow: 0 0 60px rgba(212,175,106,0.15), 0 0 0 8px rgba(212,175,106,0.04);
    position: relative;
}
.eco-core-inner::before {
    content: "";
    position: absolute;
    inset: -16px;
    border: 1px dashed rgba(212,175,106,0.2);
    border-radius: 50%;
    pointer-events: none;
}
.eco-core-name {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 14px;
}
.eco-core-name .gold { color: var(--gold); font-style: italic; }
.eco-core-sub {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
    max-width: 220px;
}
.eco-thesis {
    margin-top: 60px;
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.eco-thesis .kicker { margin-bottom: 20px; justify-content: center; }
.eco-thesis p {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.35;
    letter-spacing: -0.01em;
    max-width: 760px;
    margin: 0 auto;
    color: var(--text);
}

@media (max-width: 980px) {
    .ecosystem { grid-template-columns: 1fr; gap: 40px; }
    .eco-node::after, .eco-col:last-child .eco-node::after { display: none; }
    .eco-core-inner { width: 240px; height: 240px; }
    .eco-core-name { font-size: 26px; }
}

/* ==========================================================================
   WHY US GRID (4-col benefit pillars)
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: transform 0.35s var(--ease-b), border-color 0.3s;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.why-card .n {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 32px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
}
.why-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    color: var(--text);
}
.why-card p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SUB-PAGE PATTERNS (about / services / contact)
   ========================================================================== */
.page-hero {
    padding: 160px 40px 60px;
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}
.page-hero .kicker { margin-bottom: 24px; }
.page-hero h1 {
    font-size: clamp(48px, 7vw, 104px);
    max-width: 1040px;
    margin: 0 auto 28px;
    line-height: 1;
}
.page-hero .lede {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 680px;
    margin: 0 auto;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}
.split-grid .side-sticky { position: sticky; top: 140px; }
.split-grid h2 {
    font-size: clamp(40px, 5.5vw, 80px);
    margin-bottom: 28px;
}
.split-grid .prose p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 580px;
}
.split-grid .prose p strong { color: var(--text); font-weight: 500; }
.split-grid .prose p em { color: var(--gold); font-style: italic; }

@media (max-width: 900px) {
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-grid .side-sticky { position: static; }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.value-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: transform 0.35s var(--ease-b), border-color 0.3s;
}
.value-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.value-card .n {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 32px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
}
.value-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; font-family: 'Fraunces', serif; letter-spacing: -0.01em; }
.value-card p { color: var(--text-soft); font-size: 15px; line-height: 1.65; }

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

.brand-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 90px 0;
    border-top: 1px solid var(--line);
}
.brand-detail:first-of-type { border-top: none; padding-top: 0; }
.brand-detail .bd-art {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    order: 1;
}
.brand-detail.reverse .bd-art { order: 2; }
.brand-detail .bd-copy { order: 2; }
.brand-detail.reverse .bd-copy { order: 1; }
.brand-detail .bd-art img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease);
}
.brand-detail:hover .bd-art img { transform: scale(1.04); }
.brand-detail .bd-art::after {
    content: "";
    position: absolute; inset: auto 0 0 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(8,9,12,0.45));
    pointer-events: none;
}
.brand-detail .bd-logo {
    position: absolute;
    top: 24px; left: 24px;
    background: #13161E;
    border-radius: 14px;
    padding: 12px;
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    z-index: 2;
}
.brand-detail .bd-logo.pos     { background: #003F36; border-color: rgba(0, 229, 208, 0.25); }
.brand-detail .bd-logo.kaching { background: #0F1014; border-color: var(--line-gold); }
.brand-detail .bd-logo.stack   { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.08); }
.brand-detail .bd-logo.pixel   { background: #08090F; border-color: var(--line-gold); }
.brand-detail .bd-logo.pandora { background: #0A0E17; border-color: rgba(232, 165, 77, 0.25); }
.brand-detail .bd-logo.velora  { background: #0F1014; border-color: var(--line-gold); }
.brand-detail .bd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-detail .bd-sector {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    display: block;
}
.brand-detail h3 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(36px, 4.5vw, 64px);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--text);
}
.brand-detail h3 em { font-style: italic; color: var(--gold); }
.brand-detail .bd-desc {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}
.brand-detail .bd-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.brand-detail .bd-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .brand-detail { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
    .brand-detail .bd-art, .brand-detail.reverse .bd-art { order: 1; }
    .brand-detail .bd-copy, .brand-detail.reverse .bd-copy { order: 2; }
}

/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 44px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.form-field label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    width: 100%;
}
.form-field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) center, calc(100% - 14px) center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    background: var(--bg);
}
.form-field .err { color: #E66B6B; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

.contact-info-panel { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.info-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    color: var(--text);
}
.info-row {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
.info-row a { color: var(--text); font-size: 14px; transition: color 0.2s; }
.info-row a:hover { color: var(--gold); }
.info-row span { color: var(--text); font-size: 14px; }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-card { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
