:root {
    --bg: #0a0a0c;
    --bg-soft: #15151b;
    --fg: #ececef;
    --muted: #8a8f99;
    --accent: #ff5e3a;
    --border: #25252e;
    --max: 1100px;
    --max-narrow: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.wrap-narrow {
    max-width: var(--max-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    color: var(--fg);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}
.brand .dot { color: var(--accent); }
nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.15s;
}
nav a:hover, nav a.is-active { color: var(--fg); }

/* Typography */
h1, h2, h3 { line-height: 1.1; color: #fff; font-weight: 700; margin: 0; }
h1 {
    font-size: clamp(2.5rem, 6.5vw, 4.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 18ch;
}
h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    max-width: 22ch;
}
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }
p { margin: 0 0 1.25rem 0; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.lede {
    color: var(--muted);
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.5;
    max-width: 56ch;
    margin: 0 0 2rem 0;
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(4rem, 10vw, 7rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 15% 0%, rgba(255, 94, 58, 0.06) 0%, transparent 55%);
    pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 {
    max-width: 22ch;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-top: 0;
}
.hero .lede { font-size: clamp(1.25rem, 1.8vw, 1.5rem); max-width: 60ch; margin-bottom: 2.5rem; }

/* Giant edge-to-edge wordmark (home hero) */
.logo-fill {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 19vw;
    line-height: 0.85;
    letter-spacing: -0.045em;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: block;
    overflow: hidden;
}
.logo-fill .dot { color: var(--accent); }
.hero-content { margin-top: clamp(3rem, 8vw, 6rem); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    background: var(--accent);
    color: #0a0a0c;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: filter 0.15s, transform 0.15s;
    border: 1px solid var(--accent);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--fg); }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Section rhythm */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
section + section { border-top: 1px solid var(--border); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head h1 { margin-bottom: 1.25rem; }
.section-head .lede { margin-bottom: 0; }

/* Statements (single-column typography list) */
.statements {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    max-width: 760px;
}
.statement {
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--border);
}
.statement:first-child {
    padding-top: 0;
    border-top: 0;
}
.statement h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    margin-bottom: 1rem;
}
.statement p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 62ch;
}

/* About block (services) */
.about-block {
    margin-top: clamp(4rem, 8vw, 6rem);
    padding-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--border);
    max-width: 760px;
}
.about-block .lede { margin-bottom: 0; }

/* CTA strip */
.cta-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
}
.cta-strip h2 {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}
.cta-strip p {
    color: var(--muted);
    max-width: 52ch;
    margin: 0 auto 2.25rem;
}

/* Contact form */
.contact-form {
    display: grid;
    gap: 1.25rem;
    text-align: left;
    margin: 2.5rem 0;
}
.contact-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.45rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--fg);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { justify-self: start; }
.contact-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 2rem;
    display: grid;
    gap: 0.25rem;
}
.contact-meta a { color: var(--accent); text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

/* Generic content (privacy etc.) */
.content {
    max-width: var(--max-narrow);
    margin: 0 auto;
}
.content h2 { margin-top: 2.5rem; }
.content a { color: var(--accent); }

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}
.site-footer .footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer .brand { font-size: 1rem; }
.site-footer .footer-legal {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
    letter-spacing: 0.01em;
}
