:root {
    color-scheme: dark;
    --bg: #000;
    --bg2: #0e0e0e;
    --ink: #f6f4f1;
    --mute: #b9b5ae;
    --red: #b3202f;
    --line: #2a2a2a;
    --serif: Georgia, "Times New Roman", Times, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: env(safe-area-inset-top, 0px)
}

*,
*::before,
*::after {
    box-sizing: inherit
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.7 var(--sans)
}

a {
    color: inherit
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

header img {
    height: 56px;
    width: auto;
    display: block
}

.tel {
    font-weight: 500;
    text-decoration: none;
    letter-spacing: .04em;
    white-space: nowrap
}

.hero {
    text-align: center;
    padding: 64px 1em 24px;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.hero img {
    width: min(260px, 60%);
    height: auto;
    display: block;
    margin: 0 auto 36px
}

h1 {
    font: 500 clamp(2.2rem, 6vw, 4rem)/1.1 var(--serif);
    margin: 0 0 20px;
    letter-spacing: .01em
}

.lead {
    max-width: 620px;
    margin: 0 auto 34px;
    color: var(--mute);
    font-size: 1.05rem
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .85rem;
    border: 1px solid var(--red);
    transition: background .2s
}

.btn:hover {
    background: transparent
}

.btn.ghost {
    background: transparent;
    border-color: #555;
    margin-left: 10px
}

.btn.ghost:hover {
    border-color: var(--ink)
}

section {
    padding: 72px 0;
    border-top: 1px solid var(--line)
}

h2 {
    font: 500 clamp(1.8rem, 4vw, 2.6rem)/1.15 var(--serif);
    margin: 0 0 12px
}

.rule {
    width: 56px;
    height: 2px;
    background: var(--red);
    margin: 0 0 36px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px
}

.card {
    background: var(--bg2);
    border: 1px solid var(--line);
    padding: 26px
}

.card h3 {
    font: 600 1.35rem/1.2 var(--serif);
    margin: 0 0 8px
}

.card p {
    margin: 0;
    color: var(--mute);
    font-size: .95rem
}

.steps {
    counter-reset: s;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px
}

.step {
    counter-increment: s
}

.step::before {
    content: "0" counter(s);
    font: 500 2.6rem/1 var(--serif);
    color: var(--red);
    display: block;
    margin-bottom: 10px
}

.step h3 {
    margin: 0 0 6px;
    font: 600 1.3rem var(--serif)
}

.step p {
    margin: 0;
    color: var(--mute);
    font-size: .95rem
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.about p {
    color: var(--mute);
    margin: 0 0 14px
}

.quote {
    font: italic 500 1.7rem/1.35 var(--serif);
    border-left: 2px solid var(--red);
    padding-left: 22px
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.contact dt {
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-top: 18px
}

.contact dd {
    margin: 4px 0 0;
    font: 500 1.35rem/1.4 var(--serif)
}

.contact dd a {
    text-decoration: none
}

.mapbox {
    background: var(--bg2);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 36px;
    min-height: 240px
}

.mapbox p {
    margin: 0 0 18px;
    color: var(--mute)
}

footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
    color: var(--mute);
    font-size: .82rem;
    text-align: center
}

@media(max-width:720px) {

    .about,
    .contact {
        grid-template-columns: 1fr
    }

    .btn.ghost {
        margin: 12px 0 0
    }

    header img {
        height: 44px
    }

    .hero {
        padding: 48px 1em 56px;
    }
}