:root {
    --bg: #060606;
    --bg-alt: #0a0a0a;
    --text: #f0f0f0;
    --text-dim: #888;
    --text-muted: #444;
    --gold: #c9a84c;
    --gold-light: #e2c97e;
    --gold-dark: #a08530;
    --border: #181818;
    --radius: 8px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}


/* ── Reset ── */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background: var(--gold);
    color: var(--bg);
    border-radius: var(--radius);
    z-index: 200;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 140px 0; }


/* ── Typography ── */

.heading {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin-top: 20px;
}

.subheading {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 72px;
}


/* ── Navigation ── */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 28px;
    background: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.site-nav.visible {
    transform: translateY(0);
    border-bottom-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-logo span { color: var(--gold); }

.site-nav nav { display: flex; gap: 36px; }

.nav-link {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

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


/* ── Hero ── */

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.aurora {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 70% 50% at 25% 40%, rgba(201, 168, 76, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 75% 55%, rgba(201, 168, 76, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 50% 15%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: auroraShift 25s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraShift {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    50% { transform: scale(1.05) translate(2%, -1%) rotate(1deg); }
    100% { transform: scale(1.1) translate(-1%, 2%) rotate(-1deg); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 50% 50% at center, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, black 10%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.logo-wrap {
    overflow: visible;
    margin-bottom: 4px;
}

.logo-text {
    font-family: 'Allura', cursive;
    font-size: clamp(3.5rem, 12vw, 9rem);
    color: var(--gold);
    font-weight: 400;
    line-height: 1.4;
    padding: 0.15em 0.2em;
    clip-path: inset(-20% 100% -20% 0);
}

.logo-text.drawn {
    animation: reveal 1.5s var(--ease) forwards;
}

@keyframes reveal {
    to { clip-path: inset(-20% -10% -20% -5%); }
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
}

.tagline.in { animation: fadeUp 0.8s var(--ease) forwards; }

.hero-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-dim);
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
}

.hero-desc.in { animation: fadeUp 0.8s var(--ease) forwards; }

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 44px;
    opacity: 0;
    transform: translateY(14px);
}

.hero-cta.in { animation: fadeUp 0.6s var(--ease) forwards; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}


/* ── Buttons ── */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-fill {
    background: var(--gold);
    color: var(--bg);
}

.btn-fill:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-line {
    border: 1px solid #2a2a2a;
    color: var(--text-dim);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}


/* ── Scroll Cue ── */

.scroll-cue {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.scroll-cue.in { animation: fadeIn 0.8s ease 0.3s forwards; }

@keyframes fadeIn { to { opacity: 1; } }

.mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(201, 168, 76, 0.4);
    border-radius: 11px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}


/* ── Metrics ── */

.metrics {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.metric-val {
    display: block;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.03em;
    line-height: 1;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 10px;
}


/* ── Showcase ── */

.showcase {
    display: flex;
    flex-direction: column;
}

.showcase-panel {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.showcase-panel:last-child { border-bottom: none; }

.orb {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, var(--c) 0%, transparent 65%);
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    opacity: 0.08;
    filter: blur(100px);
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.showcase-panel:hover .orb { opacity: 0.14; }

.showcase-inner {
    position: relative;
    z-index: 1;
}

.showcase-right { text-align: right; }

.showcase-num {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.showcase-name {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f0f0f0 40%, var(--accent, var(--gold)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.showcase-link:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
    gap: 12px;
}

.showcase-link span {
    transition: transform 0.3s var(--ease);
}

.showcase-link:hover span {
    transform: translateX(3px);
}

.showcase-panel .mouse-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-panel:hover .mouse-glow { opacity: 1; }


/* ── Tech Strip ── */

.tech-strip {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.tech-row {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-item svg {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover svg { color: var(--gold); }

.tech-item span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover span { color: var(--text-dim); }


/* ── CTA Section ── */

.cta-section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.cta-email code {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    color: var(--gold);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.copy-btn:hover { border-color: var(--gold-dark); color: var(--gold); }
.copy-btn.copied { border-color: #10b981; color: #10b981; }


/* ── Footer ── */

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}


/* ── Animations ── */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s var(--ease);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── Responsive ── */

@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .showcase-panel { padding: 100px 0; }
    .showcase-right { text-align: left; }
}

@media (max-width: 768px) {
    .section { padding: 100px 0; }
    .showcase-panel { padding: 80px 0; }
    .showcase-name { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .tech-row { gap: 36px; }
    .cta-section { padding: 120px 0; }
    .cta-email { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 220px; text-align: center; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .metric-val { font-size: 2rem; }
    .tech-row { gap: 28px; }
}
