*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:       #0e0e0e;
    --bg-2:     #161616;
    --text:     #e8e2d6;
    --muted:    #7a7468;
    --accent:   #d4a843;
    --accent-2: #f0c96a;
    --border:   #2a2820;
    --mono:     'JetBrains Mono', monospace;
    --sans:     'Space Grotesk', sans-serif;
    --max:      1080px;
    --pad:      clamp(1.25rem, 5vw, 3rem);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ────────────────── */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    border-top: 1px solid var(--border);
}

/* ── HEADER ────────────────── */
header {
    padding: 1.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14,14,14,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.wordmark {
    font-family: var(--mono);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.wordmark:hover { color: var(--accent-2); }

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

nav a {
    font-size: 0.825rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

nav a:hover { color: var(--text); }

/* ── HAMBURGER BUTTON ──────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    height: 1px;
    background: var(--muted);
    transition: transform 0.22s ease, opacity 0.22s ease, background 0.2s;
    transform-origin: center;
}

.menu-toggle:hover span { background: var(--text); }

header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── NAV DROPDOWN (mobile) ─── */
@media (max-width: 600px) {
    .menu-toggle { display: flex; }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(14,14,14,0.97);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }

    header.nav-open nav { display: flex; }

    nav a {
        padding: 1rem var(--pad);
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
        color: var(--text);
    }

    nav a:last-child { border-bottom: none; }
}

/* ── HERO ──────────────────── */
#hero {
    border-top: none;
    padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
}

.tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.75rem;
}

.tag::before { content: '→ '; }

h1 {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 18ch;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-family: var(--mono);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 300;
    color: var(--muted);
    max-width: 52ch;
    line-height: 1.8;
    margin-bottom: 2.75rem;
}

.hero-sub em {
    color: var(--text);
    font-style: normal;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    appearance: none;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ── ABOUT ─────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

@media (max-width: 680px) {
    .two-col { grid-template-columns: 1fr; }
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

p { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

p strong, p em {
    color: var(--text);
    font-style: normal;
}

/* ── APPROACH ──────────────── */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 680px) {
    .three-col { grid-template-columns: 1fr; }
}

.card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 2rem 1.75rem;
}

.card-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card p { font-size: 0.9rem; }

#approach .label {
    margin-bottom: 2rem;
}

/* ── NOT FOR EVERYONE ──────── */
#nfe {
    background: var(--bg-2);
}

.nfe-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

@media (max-width: 680px) {
    .nfe-inner { grid-template-columns: 1fr; }
}

.nfe-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.nfe-list li {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.nfe-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.yes-list li::before { content: '✓'; }

.nfe-desc {
    margin-top: 1rem;
}

.nfe-inner .label {
    margin-bottom: 1rem;
}

/* ── CONTACT ───────────────── */
#contact .two-col {
    align-items: start;
}

.contact-desc {
    margin-top: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 0.5rem;
}

.contact-line {
    font-family: var(--mono);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-line a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-line a:hover { border-color: var(--accent); }

.contact-meta {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ── FOOTER ────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.footer-reg {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--border);
    letter-spacing: 0.04em;
}

/* ── ANIMATIONS ────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade { animation: fadeUp 0.65s ease both; }
.fade-1 { animation-delay: 0.05s; }
.fade-2 { animation-delay: 0.18s; }
.fade-3 { animation-delay: 0.31s; }
.fade-4 { animation-delay: 0.44s; }

/* ── CURSOR BLINK ───────────── */
.cursor::after {
    content: '_';
    color: var(--accent);
    animation: blink 1.1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ── DIVIDER ───────────────── */
.rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* ── LANG TOGGLE ───────────── */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.lang-btn:hover {
    border-color: var(--muted);
    color: var(--text);
}

.lang-btn .flag {
    font-size: 1rem;
    line-height: 1;
}
