@font-face {
    font-family: "Syne";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/syne-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
    --bg: #05070d;
    --raise: rgba(12, 18, 28, 0.72);
    --text: #f4f1e8;
    --muted: #c5c0b2;
    --gold: #f0b429;
    --lime: #d7ee73;
    --ink: #1a1408;
    --line: rgba(240, 180, 41, 0.28);
    --display: "Syne", "Segoe UI", sans-serif;
    --body: "Manrope", "Segoe UI", sans-serif;
    --wrap: 1180px;
    --header: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--body);
    font-size: 1.075rem;
    line-height: 1.65;
    color-scheme: dark;
}
body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255, 230, 160, 0.7) 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 72%, rgba(215, 238, 115, 0.55) 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 70% 22%, rgba(255, 210, 90, 0.8) 50%, transparent 51%),
        radial-gradient(1px 1px at 84% 64%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
        radial-gradient(1px 1px at 48% 40%, rgba(240, 180, 41, 0.45) 50%, transparent 51%),
        linear-gradient(rgba(240, 180, 41, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 180, 41, 0.035) 1px, transparent 1px);
    background-size: auto, auto, auto, auto, auto, 72px 72px, 72px 72px;
    mask-image: linear-gradient(#000, transparent 92%);
    z-index: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 0.18em; }
a:hover { color: #fff6c8; }
h1, h2, h3 { font-family: var(--display); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 0.7rem; }
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ink); padding: 0.5rem 0.8rem; z-index: 30; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 7, 13, 0.94);
    border-bottom: 1px solid rgba(240, 180, 41, 0.14);
    backdrop-filter: blur(16px);
}
.header-bar { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand img { height: 74px; width: auto; filter: drop-shadow(0 8px 18px rgba(240, 180, 41, 0.25)); }
.brand-footer img { height: 92px; margin-bottom: 0.6rem; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; gap: 1.15rem; list-style: none; }
.site-nav a { color: #efe8d6; text-decoration: none; font-size: 0.94rem; letter-spacing: 0.01em; }
.site-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: rgba(8, 10, 16, 0.7); border-radius: 12px; padding: 12px 11px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text); }

.btn, button.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 999px; padding: 0.95rem 1.35rem;
    background: linear-gradient(100deg, #e7f48a 0%, #f0b429 42%, #ef8a1a 100%);
    color: var(--ink); font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
    box-shadow: 0 10px 30px rgba(240, 160, 30, 0.28);
}
.btn:hover { color: var(--ink); filter: brightness(1.06); }
.btn-small { padding: 0.7rem 1.05rem; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.55); }
.btn-ghost:hover { color: var(--text); background: rgba(240, 180, 41, 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.stage { position: relative; min-height: calc(100vh - var(--header)); padding: 2.5rem 0 7rem; overflow: hidden; }
.stage-sky {
    position: absolute; inset: auto -10% 0 auto; width: min(780px, 70vw); height: 70%;
    background:
        radial-gradient(closest-side, rgba(240, 180, 41, 0.28), transparent 70%),
        radial-gradient(closest-side at 30% 60%, rgba(140, 210, 70, 0.18), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}
.stage-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; min-height: 68vh; }
.stage-copy { max-width: 40rem; }
.kicker { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.stage-mark { display: flex; justify-content: center; }
.stage-mark img {
    width: min(460px, 100%);
    filter: drop-shadow(0 30px 50px rgba(240, 170, 40, 0.28)) drop-shadow(0 0 40px rgba(160, 210, 70, 0.18));
}
.stage-ribbon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 180px; object-fit: fill; pointer-events: none; }

.band { padding: 0 0 4rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 1.5rem 1.4rem 1.4rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-size: 1.7rem; background: linear-gradient(90deg, #fff 20%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); }

.section { padding: 1.2rem 0 4.8rem; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.cards { display: grid; gap: 0.85rem; }
.card {
    display: block; padding: 1.35rem 1.4rem 1.25rem; border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    border: 1px solid rgba(240, 180, 41, 0.16);
    color: inherit; text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.card:hover { border-color: rgba(240, 180, 41, 0.5); color: inherit; transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0.4rem 0 0; }
.card em { font-style: normal; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { padding: 1.25rem 1rem 1.1rem; background: linear-gradient(180deg, rgba(240,180,41,0.08), transparent 42%), rgba(10, 14, 22, 0.65); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.step p { color: var(--muted); margin: 0; }

.work-list { list-style: none; }
.work-list a, .work-row {
    display: grid; grid-template-columns: 1.15fr 0.8fr 1.7fr; gap: 1rem;
    padding: 1.25rem 0; border-bottom: 1px solid rgba(240, 180, 41, 0.16);
    color: inherit; text-decoration: none; align-items: baseline;
}
.work-list strong { font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.03em; }
.work-list a:hover strong { color: var(--gold); }
.work-list span, .kind { color: var(--muted); }

.page-header { position: relative; padding: 4.5rem 0 1.2rem; max-width: 50rem; }
.page-header::after {
    content: "";
    display: block;
    height: 70px;
    margin-top: 1.2rem;
    background: url("../images/ribbon.svg") center / 140% 100% no-repeat;
    opacity: 0.85;
}
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.4rem; }
.feature-list { list-style: none; display: grid; gap: 0.8rem; margin: 1rem 0 1.6rem; }
.feature-list li { padding: 1.05rem 1.1rem 0.95rem; border-radius: 16px; background: rgba(12, 16, 26, 0.8); border: 1px solid rgba(240, 180, 41, 0.14); }
.feature-list strong { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 0.2rem; }

.faq details { border-bottom: 1px solid rgba(240, 180, 41, 0.16); padding: 0.95rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); margin: 0.55rem 0 0.2rem; }

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.2rem; padding-bottom: 4.5rem; }
form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.35rem; font-weight: 700; }
input, select, textarea {
    width: 100%; border-radius: 14px; border: 1px solid rgba(240, 180, 41, 0.22);
    background: rgba(8, 12, 20, 0.9); color: var(--text); font: inherit; padding: 0.8rem 0.9rem;
}
textarea { min-height: 160px; resize: vertical; }
.note, .form-error, .form-ok { padding: 0.85rem 1rem; border-radius: 14px; }
.form-error { background: rgba(120, 30, 20, 0.4); color: #ffb4a8; }
.form-ok { background: rgba(50, 90, 30, 0.4); color: #d7ee73; }
.form-error ul { margin: 0.4rem 0 0 1.1rem; }

.site-footer {
    margin-top: 1rem;
    padding: 0 0 1.4rem;
    background:
        linear-gradient(180deg, transparent, #05070d 28%),
        url("../images/ribbon.svg") center top / 100% 140px no-repeat,
        #05070d;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr; gap: 1.6rem; padding-top: 7rem; }
.site-footer h2 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin: 0.4rem 0; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(240, 180, 41, 0.16); color: var(--muted); font-size: 0.92rem; }
.cta {
    margin: 0 0 3rem; padding: 2rem 1.8rem; border-radius: 24px;
    background:
        radial-gradient(520px 180px at 100% 120%, rgba(240, 150, 30, 0.35), transparent 60%),
        linear-gradient(120deg, rgba(20, 28, 18, 0.9), rgba(18, 16, 10, 0.92));
    border: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 1.2rem; align-items: center;
}

.privacy-modal {
    width: min(42rem, calc(100vw - 2rem));
    max-height: min(86vh, 44rem);
    margin: auto;
    padding: 1.5rem 1.4rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #0c121c;
    color: var(--text);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.privacy-modal::backdrop { background: rgba(2, 4, 8, 0.78); }
.privacy-copy { max-height: min(62vh, 32rem); overflow: auto; padding-right: 0.3rem; }
.privacy-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.privacy-copy h3 { margin-top: 1.15rem; font-size: 1.15rem; }
.privacy-modal form { margin-top: 1rem; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: var(--header);
        flex-direction: column; align-items: stretch; padding: 0.4rem 1.2rem 1.2rem;
        background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid var(--line);
    }
    .nav-open .site-nav { display: flex; }
    .site-nav ul { flex-direction: column; gap: 0.2rem; }
    .site-nav a { display: block; padding: 0.55rem 0; }
    .site-nav .btn { width: 100%; margin-top: 0.4rem; }
    .stage { min-height: 0; padding-bottom: 5.5rem; }
    .stage-grid, .split, .facts, .steps, .contact-layout, .footer-grid, .work-list a, .work-row { grid-template-columns: 1fr; }
    .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
    .cta, .footer-base { display: flex; flex-direction: column; align-items: flex-start; }
    .stage-mark { order: -1; }
    .stage-mark img { width: min(280px, 78vw); }
    .brand img { height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card:hover { transform: none; }
}
