:root {
    --bg: #16181d;
    --bg-raised: #1c2027;
    --ink: #f3f4f6;
    --muted: #c5cad3;
    --orange: #f28c28;
    --orange-hot: #ff9d3c;
    --line: rgba(242, 140, 40, 0.32);
    --field: #101218;
    --field-border: #3c424d;
    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    color: var(--ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(242, 140, 40, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 140, 40, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

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

::selection {
    background: var(--orange);
    color: var(--bg);
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
}

h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

p {
    margin-bottom: 0.9rem;
}

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 30;
    padding: 0.6rem 0.9rem;
    background: var(--orange);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}

.skip:focus {
    top: 0.75rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(22, 24, 29, 0.96);
    border-top: 3px solid var(--orange);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.header-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.45rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--ink);
    text-decoration: none;
}

.brand picture,
.brand img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(210px, 58vw);
    object-fit: contain;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.nav-panel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.nav-cta {
    min-height: 48px;
}

.js .nav-toggle {
    display: inline-flex;
}

@media (max-width: 767px) {
    .js .nav-panel {
        display: flex;
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        width: auto;
        z-index: 30;
        padding: 0.35rem 1rem 1rem;
        background: #16181d;
        border: 1px solid var(--line);
        border-radius: 0.8rem;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }

    .js .nav-panel.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

@media (min-width: 768px) {
    .header-bar {
        flex-wrap: nowrap;
    }

    .brand img {
        height: 40px;
        max-width: none;
    }

    .nav {
        gap: 0.1rem 0.45rem;
    }

    .nav a {
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .button.nav-cta {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .js .nav-toggle,
    .nav-toggle {
        display: none;
    }

    .nav-panel,
    .js .nav-panel {
        flex-direction: row;
        align-items: center;
        gap: 0.35rem 0.55rem;
        width: auto;
        margin-left: auto;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .nav {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .button.nav-cta {
        width: auto;
        margin-left: 0.15rem;
    }
}

@media (min-width: 1100px) {
    .brand img {
        height: 52px;
    }

    .nav {
        gap: 0.15rem 1rem;
    }

    .nav a {
        font-size: 1rem;
    }

    .button.nav-cta {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
        margin-left: 0.35rem;
    }
}

.hero {
    position: relative;
    display: grid;
    min-height: 32rem;
    overflow: hidden;
}

.hero-media,
.hero-shade,
.hero-copy {
    grid-area: 1 / 1;
}

.hero-media {
    display: block;
    height: 100%;
    min-height: 32rem;
    min-width: 0;
}

.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 32rem;
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(180deg, rgba(22, 24, 29, 0.28) 0%, rgba(22, 24, 29, 0.5) 42%, rgba(22, 24, 29, 0.92) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.75rem 0 2.25rem;
}

@media (min-width: 768px) {
    .hero {
        min-height: 38rem;
    }

    .hero-media img {
        min-height: 38rem;
    }
}

.eyebrow {
    margin-bottom: 0.6rem;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead {
    max-width: 42rem;
    color: var(--muted);
    font-size: 1.12rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--orange);
    color: var(--bg);
}

.button-primary:hover {
    background: var(--orange-hot);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.button-secondary:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.section {
    padding: 3.25rem 0;
}

@media (min-width: 860px) {
    .section {
        padding: 4.5rem 0;
    }
}

.section-alt {
    background: rgba(12, 13, 16, 0.45);
    border-block: 1px solid rgba(242, 140, 40, 0.12);
}

section[id] {
    scroll-margin-top: 5.25rem;
}

.split {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 860px) {
    .split {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .section-alt .split {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.img-slot {
    margin: 0;
    background: #101218;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    overflow: hidden;
}

.img-slot img {
    display: block;
    width: 100%;
    height: auto;
}

.cards,
.reasons,
.steps {
    margin: 0;
    padding: 0;
}

.cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
    list-style: none;
}

@media (min-width: 768px) {
    .cards,
    .reasons {
        grid-template-columns: 1fr 1fr;
    }
}

.cards li,
.reasons li {
    padding: 1.15rem 1.2rem 1.2rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 140, 40, 0.16), transparent 42%),
        var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
}

.cards p,
.reasons li,
.steps li {
    color: var(--muted);
}

.cards p:last-child {
    margin-bottom: 0;
}

.reasons {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    list-style: none;
}

.reasons li {
    color: var(--ink);
    padding-left: 1.15rem;
    border-left: 3px solid var(--orange);
}

.steps {
    margin-top: 1.25rem;
    padding-left: 1.4rem;
}

.steps li {
    margin: 0.7rem 0;
    padding-left: 0.35rem;
}

.steps ::marker {
    color: var(--orange);
    font-weight: 700;
}

.contact-grid {
    display: grid;
    gap: 1.25rem;
}

.contact-grid > * {
    min-width: 0;
}

@media (min-width: 860px) {
    .contact-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        grid-template-areas:
            "copy form"
            "photo form";
        align-items: start;
        gap: 1.5rem 2rem;
    }

    .contact-copy {
        grid-area: copy;
    }

    .contact-photo {
        grid-area: photo;
    }

    .contact-grid form {
        grid-area: form;
    }
}

.mail-link {
    color: var(--orange);
    font-weight: 700;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 700;
}

input:not([type="checkbox"]):not([type="hidden"]),
textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    background: var(--field);
    border: 1px solid var(--field-border);
    border-radius: 0.55rem;
    min-height: 48px;
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
    border-color: var(--orange);
}

form .button {
    margin-top: 0.25rem;
}

.hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.form-success,
.form-alert {
    padding: 0.9rem 1rem;
    border-radius: 0.7rem;
    margin-bottom: 1rem;
}

.form-success {
    background: rgba(242, 140, 40, 0.12);
    border: 1px solid var(--line);
    color: var(--ink);
}

.form-alert,
.validation-summary-errors {
    background: rgba(180, 60, 40, 0.16);
    border: 1px solid rgba(255, 160, 140, 0.45);
    color: #ffd2c8;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.1rem;
}

.field-validation-error {
    color: #ffb4a8;
    font-size: 0.95rem;
}

.input-validation-error {
    border-color: #e07a6a;
}

.check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0.25rem 0 1rem;
}

.check {
    min-height: 48px;
}

.check input {
    width: 1.5rem;
    height: 1.5rem;
    min-height: 1.5rem;
    margin-top: 0.15rem;
    flex: none;
    accent-color: var(--orange);
}

.cf-turnstile {
    margin: 0.25rem 0 1rem;
}

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.split > * {
    min-width: 0;
}

.gallery {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 0.9rem;
    border: 1px solid var(--line);
}

.gallery img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .actions,
    form .button,
    .nav-cta {
        width: 100%;
    }

    .actions {
        flex-direction: column;
    }
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer p:last-child {
    margin-bottom: 0;
}

.site-footer .powered-by {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.site-footer .powered-by a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.site-footer .powered-by a:hover,
.site-footer .powered-by a:focus-visible {
    color: var(--orange);
}

@media (min-width: 1100px) {
    .hero {
        height: min(45rem, calc(100vh - 5.5rem));
        height: min(45rem, calc(100dvh - 5.5rem));
        min-height: 32rem;
        max-height: 45rem;
    }

    .hero-media,
    .hero-media img {
        min-height: 0;
        height: 100%;
        max-height: 100%;
    }

    .hero-media img {
        object-fit: cover;
        object-position: center top;
    }
}

@media (min-width: 1400px) {
    .wrap {
        width: min(1680px, calc(100% - 5rem));
    }
}

@media (min-width: 1920px) {
    .wrap {
        width: min(2000px, calc(100% - 8vw));
    }
}
