:root {
    --bg: #0d110f;
    --bg-soft: #141a16;
    --surface: rgba(20, 26, 22, 0.88);
    --surface-strong: #1d241f;
    --surface-highlight: #242d25;
    --text: #edf2e6;
    --muted: #b2bbad;
    --accent: #ef8732;
    --accent-strong: #f3a158;
    --accent-rgb: 239, 135, 50;
    --support: #87a84a;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(135, 168, 74, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.18), transparent 28%),
        linear-gradient(180deg, #0d110f 0%, #111714 48%, #0d110f 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 95%);
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
    background: linear-gradient(180deg, rgba(10, 13, 11, 0.9), rgba(10, 13, 11, 0.58));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-lockup {
    display: grid;
    gap: 0.2rem;
}

.brand-pill {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.16);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-name {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-group {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-nav,
.mobile-nav__inner,
.footer-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a,
.mobile-nav a,
.footer-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.site-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.footer-link:hover {
    color: var(--text);
}

.menu-toggle {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-nav {
    padding-bottom: 0.75rem;
}

.mobile-nav__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(18, 24, 20, 0.94);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-section,
.section-shell,
.legal-section {
    position: relative;
    padding: 5.25rem 0;
}

.section-shell--dense {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 1rem;
    color: #d9e89f;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow--muted {
    color: #d3d9c7;
}

.hero-title,
.section-heading h2,
.legal-shell h1 {
    max-width: 12ch;
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-copy,
.section-heading p,
.legal-intro,
.service-card p,
.brand-card p,
.timeline-step p,
.metric-card p,
.contact-sidecard li,
.form-hint,
.contact-alert p,
.footer-copy,
.legal-card p {
    color: var(--muted);
    line-height: 1.72;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-accent {
    color: #13100c;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border: none;
    box-shadow: 0 16px 30px rgba(var(--accent-rgb), 0.28);
}

.btn-accent:hover,
.btn-accent:focus {
    color: #13100c;
    background: linear-gradient(135deg, #f59a4b 0%, #f6b168 100%);
}

.signal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.1rem;
}

.signal-strip span,
.brand-card__tag,
.contact-sidecard__label {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: #d8ddcf;
    font-size: 0.88rem;
}

.signal-panel,
.service-card,
.brand-card,
.contact-card,
.contact-sidecard,
.legal-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(27, 34, 29, 0.96) 0%, rgba(18, 22, 19, 0.96) 100%);
    box-shadow: var(--shadow);
}

.signal-panel {
    padding: 1.5rem;
}

.signal-panel::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.18), transparent 26%);
    pointer-events: none;
}

.signal-panel__header h2,
.section-heading h2,
.legal-card h2,
.service-card h3,
.brand-card h3,
.timeline-step h3,
.contact-alert h3 {
    margin: 0;
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    letter-spacing: -0.03em;
}

.signal-panel__header h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.lens-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.lens-switcher button {
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.lens-switcher button.is-active {
    background: rgba(135, 168, 74, 0.16);
    color: var(--text);
    border-color: rgba(135, 168, 74, 0.34);
}

.metric-grid {
    display: grid;
    gap: 1rem;
}

.metric-card {
    padding: 1.15rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card span,
.timeline-step span {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #d8e4b2;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.metric-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: 1rem;
}

.section-heading--sticky {
    position: sticky;
    top: 7rem;
}

.service-card,
.brand-card,
.contact-sidecard,
.legal-card {
    padding: 1.5rem;
    height: 100%;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    background: rgba(135, 168, 74, 0.12);
    color: #dbeaa9;
}

.service-card h3,
.brand-card h3,
.timeline-step h3 {
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
}

.timeline-stack {
    display: grid;
    gap: 1rem;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.3rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
}

.timeline-step span {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0;
    border-radius: 0.95rem;
    display: grid;
    place-items: center;
    background: rgba(var(--accent-rgb), 0.16);
    color: var(--accent-strong);
}

.brand-card.is-active {
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.14);
}

.brand-card__domain,
.brand-card__active {
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}

.brand-card__domain {
    color: var(--text);
    opacity: 0.8;
}

.brand-card__active {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: var(--text);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.contact-sidecard ul,
.contact-alert__list {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.contact-card {
    padding: 1.75rem;
}

.form-label,
.form-copy span,
.form-check-label {
    color: #dfe4d8;
}

.form-control,
.form-select {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(10, 13, 11, 0.5);
    color: var(--text);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.18);
    background: rgba(10, 13, 11, 0.7);
    color: var(--text);
}

.form-select option {
    color: #141816;
}

.form-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.consent-check {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.consent-check .form-check-input {
    margin-top: 0.25rem;
}

.form-hint {
    margin: 0;
    font-size: 0.92rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-response {
    margin-top: 1.25rem;
}

.contact-alert {
    border-radius: 1.1rem;
    border-width: 1px;
    padding: 1rem 1.1rem;
    margin: 0;
}

.contact-alert__list {
    margin-bottom: 0;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: 0.65rem;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
}

.legal-shell {
    max-width: 54rem;
}

.legal-shell h1 {
    max-width: 14ch;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
}

.legal-shell {
    display: grid;
    gap: 1rem;
}

.legal-card h2 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr auto auto;
    gap: 1.25rem;
    align-items: end;
}

.footer-label,
.footer-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-link {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-copy {
    margin: 0.65rem 0 0;
    max-width: 34rem;
}

@media (max-width: 1199.98px) {
    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 991.98px) {
    .hero-section,
    .section-shell,
    .legal-section {
        padding: 4rem 0;
    }

    .hero-title,
    .section-heading h2,
    .legal-shell h1 {
        max-width: none;
    }

    .section-heading--sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-actions,
    .site-footer__inner {
        gap: 0.85rem;
    }

    .signal-panel,
    .contact-card,
    .service-card,
    .brand-card,
    .contact-sidecard,
    .legal-card {
        border-radius: 1.2rem;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        grid-template-columns: 1fr;
    }

    .timeline-step span {
        width: fit-content;
        padding: 0 1rem;
    }

    .form-copy {
        flex-direction: column;
        align-items: flex-start;
    }
}