:root {
    --bg: #0a0a0c;
    --bg-elevated: #111114;
    --bg-surface: #16161a;
    --text: #f0f0f3;
    --text-muted: #8a8f98;
    --text-dim: #5a5f66;
    --accent: #d4a574;
    --accent-hover: #e8c9a0;
    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --radius: 2px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.italic {
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
}

.mono, .mono-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mono-label {
    color: var(--text-muted);
    margin-bottom: 24px;
    display: block;
    position: relative;
    padding-left: 24px;
}

.mono-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(10,10,12,0.95), transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo-text span {
    color: var(--text-muted);
    font-weight: 400;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text);
}

.nav-cta {
    color: var(--text) !important;
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-cta:hover {
    border-color: var(--text-muted);
    background: rgba(255,255,255,0.03);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
                var(--bg);
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in;
}

.hero-media video.loaded {
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,12,0.2) 0%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 32px;
}

.hero-pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero-title .line {
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 48px;
    font-weight: 300;
    line-height: 1.6;
}

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

.hero-meta {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
}

.hero-meta .mono {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--text-muted);
    background: rgba(255,255,255,0.02);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1rem;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}

/* Capabilities */
.capabilities {
    padding: 160px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.3;
}

.capabilities::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 16px;
    flex: 1;
}

.section-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.6;
    text-align: right;
    max-width: 240px;
    padding-bottom: 8px;
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.capability-item {
    padding: 48px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
    background: transparent;
}

.capability-item:nth-child(3n) {
    border-right: none;
}

.capability-item:nth-child(n+4) {
    border-bottom: none;
}

.capability-item:hover {
    background: rgba(212, 165, 116, 0.02);
    z-index: 2;
}

.capability-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: var(--accent);
    opacity: 0.6;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-item:hover::before {
    height: 100%;
}

.capability-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-item:hover::after {
    transform: scaleX(1);
}

.capability-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    padding-left: 16px;
}

.capability-number::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--text-dim);
    transition: all 0.4s ease;
}

.capability-item:hover .capability-number {
    color: var(--accent);
    letter-spacing: 0.2em;
}

.capability-item:hover .capability-number::before {
    width: 12px;
    background: var(--accent);
}

.capability-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: all 0.4s ease;
}

.capability-item:hover .capability-content h3 {
    color: var(--accent);
}

.capability-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
    transition: color 0.4s ease;
}

.capability-item:hover .capability-content p {
    color: var(--text);
}

/* Trust */
.trust {
    padding: 120px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.3;
}

.trust::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.trust-left {
    padding: 48px 48px 48px 0;
    border-right: 1px solid var(--border);
}

.trust-right {
    padding: 48px 0 48px 48px;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 24px;
}

.process-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 48px;
    bottom: -24px;
    width: 1px;
    background: var(--border);
    opacity: 0.5;
}

.process-item:last-child::after {
    display: none;
}

.process-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}

.process-number::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
    opacity: 0.6;
}

.process-content h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.process-item:hover .process-content h4 {
    color: var(--accent);
}

.process-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
    transition: color 0.4s ease;
}

.process-item:hover .process-content p {
    color: var(--text);
}

.testimonial-large {
    margin-top: 24px;
    position: relative;
    padding-left: 32px;
}

.testimonial-large::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    opacity: 0.5;
}

.testimonial-large::after {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 1px;
    height: 0;
    background: var(--accent);
    opacity: 0.8;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-large:hover::after {
    height: calc(100% - 16px);
}

.testimonial-large p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: var(--text);
    font-style: italic;
    transition: color 0.4s ease;
}

.testimonial-large:hover p {
    color: var(--accent);
}

.testimonial-large cite {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cite-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text);
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
}

.testimonial-large:hover .cite-name {
    color: var(--accent);
}

.cite-org {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    transition: color 0.4s ease;
}

.testimonial-large:hover .cite-org {
    color: var(--text);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.stat {
    padding: 24px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s ease;
    position: relative;
    cursor: default;
}

.stat:nth-child(3n) {
    border-right: none;
}

.stat:nth-child(n+4) {
    border-bottom: none;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: var(--accent);
    opacity: 0.4;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat:hover::before {
    height: 100%;
}

.stat:hover {
    background: rgba(212, 165, 116, 0.02);
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat:hover .stat-number {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.2);
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.4;
    transition: color 0.4s ease;
}

.stat:hover .stat-label {
    color: var(--text);
}

/* CTA Band */
.cta-band {
    padding: 160px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.3;
}

.cta-band::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.cta-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 480px;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.cta-note a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-note a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Footer */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.3;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-meta {
    display: flex;
    gap: 24px;
}

.footer-meta .mono {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealWord {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 8px;
        padding: 0 24px;
        bottom: 32px;
    }

    .header-nav {
        display: none;
    }

    .capabilities {
        padding: 100px 0;
    }

    .capability-list {
        grid-template-columns: 1fr;
    }

    .capability-item {
        border-right: none !important;
        padding: 32px 0;
    }

    .capability-item:nth-child(3n) {
        border-right: none;
    }

    .capability-item:nth-child(n+4) {
        border-bottom: 1px solid var(--border);
    }

    .capability-item:last-child {
        border-bottom: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .trust-left {
        padding: 48px 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .trust-right {
        padding: 48px 0 0;
    }

    .logo-stack {
        grid-template-columns: 1fr 1fr;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none !important;
    }

    .stat:nth-child(3n) {
        border-right: none;
    }

    .stat:nth-child(n+4) {
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .cta-band {
        padding: 100px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .logo-stack {
        grid-template-columns: 1fr;
    }
}
