:root
{
    --ink: #0c1220;
    --surface: #111a2e;
    --raised: #172138;
    --line: #2e3e62;
    --red: #ef4635;
    --white: #f0f4fc;
    --muted: #9aa8c3;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
body
{
    margin: 0;
    color: var(--white);
    background: var(--ink);
    font: 14px/1.8 Arial, sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, select, input
{
    font: inherit;
}
button
{
    cursor: pointer;
    color: inherit;
}
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible
{
    outline: 2px solid var(--red);
    outline-offset: 4px;
}
header
{
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand
{
    color: var(--red);
    font: bold 24px Georgia, serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.brand span
{
    display: block;
    color: var(--muted);
    font: 8px/2 Arial, sans-serif;
    letter-spacing: 4px;
    text-align: center;
}
nav
{
    display: flex;
    gap: 25px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}
.solid, .outline
{
    display: inline-block;
    padding: 12px 23px;
    border: 1px solid #e33322;
    background: #d72c1b;
    color: white;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
}
.outline
{
    border-color: #68748e;
    background: transparent;
    color: var(--white);
}
header > .outline
{
    color: var(--red);
    border-color: var(--red);
}
.solid:hover
{
    background: #b31f13;
}
#menu
{
    display: none;
}
section
{
    padding: 95px max(5%, calc((100% - 1120px) / 2));
}
.hero
{
    position: relative;
    min-height: 730px;
    padding-top: 130px;
    overflow: hidden;
}
.hero > img, .hero-overlay
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay
{
    background: linear-gradient(90deg, #0c1220e0 5%, #0c12204a), linear-gradient(0deg, #0c1220, transparent 70%);
}
.hero-copy
{
    position: relative;
    max-width: 700px;
}
.label
{
    color: var(--red);
    font: 10px/1.8 Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.label::before
{
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--red);
    margin: 0 12px 3px 0;
}
h1, h2, h3
{
    font-family: Georgia, serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.5px;
}
h1
{
    font-size: clamp(68px, 8vw, 108px);
    margin: 25px 0;
}
em
{
    color: var(--red);
    font-weight: 400;
}
h2
{
    font-size: clamp(38px, 4.5vw, 59px);
    margin: 20px 0 28px;
}
h3
{
    font-size: 24px;
    letter-spacing: -.5px;
}
.hero-copy > p:not(.label)
{
    color: var(--muted);
    max-width: 390px;
}
.actions
{
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.caption
{
    font-size: 10px;
    margin-top: 35px;
}
.pole
{
    position: absolute;
    inset: 0 7% 0 auto;
    width: 35px;
    opacity: .3;
    background: repeating-linear-gradient(-45deg, #db3525 0 16px, #fff 16px 32px, #2341a1 32px 48px, #fff 48px 64px);
    animation: pole 4s linear infinite;
}
@keyframes pole
{
    to { background-position: 0 90px; }
}
.hero-stamp
{
    position: absolute;
    right: 15%;
    bottom: 100px;
    text-align: center;
    font: 10px/1.7 Consolas, monospace;
    letter-spacing: 3px;
    color: #bfc9dc;
}
.hours
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border-block: 1px solid var(--line);
    padding: 20px 5%;
    gap: 30px;
}
.hours p
{
    margin: 0;
    font-size: 12px;
    border-right: 1px solid var(--line);
}
.hours p:last-child
{
    border: 0;
}
.hours span
{
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    font: 9px/2 Consolas, monospace;
}
.section-top
{
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}
.section-top > p
{
    max-width: 250px;
    color: var(--muted);
    font-size: 12px;
}
.service-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--line);
    gap: 1px;
    border: 1px solid var(--line);
}
.service
{
    padding: 30px;
    text-align: left;
    background: var(--ink);
    color: var(--white);
    border: 0;
    display: flex;
    flex-direction: column;
}
.service:hover
{
    background: var(--raised);
}
.service > span, .service b
{
    color: var(--red);
    font: 11px Consolas, monospace;
}
.service h3
{
    font-size: 22px;
    margin: 30px 0 10px;
}
.service p
{
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 30px;
}
.service b
{
    margin-top: auto;
}
.stripe
{
    height: 35px;
    background: repeating-linear-gradient(-45deg, #e33322 0 20px, #e0dfd6 20px 40px, #1a3a9c 40px 60px, #e0dfd6 60px 80px);
    animation: pole 4s linear infinite;
}
.intro
{
    max-width: 450px;
    color: var(--muted);
}
.barber-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}
.barber
{
    background: var(--raised);
    border: 1px solid var(--line);
}
.barber svg
{
    display: block;
    width: 100%;
}
.barber > div
{
    padding: 20px;
}
.barber h3
{
    font-size: 20px;
    margin: 5px 0 13px;
}
.barber .specialty
{
    font: 9px/1.6 Consolas, monospace;
    color: var(--red);
    text-transform: uppercase;
}
.barber p
{
    font-size: 12px;
    color: var(--muted);
}
.barber button
{
    background: none;
    color: var(--red);
    border: 0;
    padding: 0;
    font-size: 11px;
    margin-top: 10px;
}
.surface
{
    background: var(--surface);
}
.center
{
    text-align: center;
}
.small
{
    font-size: 11px;
    color: var(--muted);
}
#gallery-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px;
}
#gallery-grid button
{
    background: var(--raised);
    border: 0;
    padding: 0;
}
#gallery-grid svg
{
    width: 100%;
    display: block;
}
.testimonials
{
    padding-top: 0;
}
.quotes
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0 25px;
}
blockquote
{
    background: var(--raised);
    border: 1px solid var(--line);
    padding: 30px;
    margin: 0;
    font: italic 17px/1.8 Georgia, serif;
}
cite
{
    font: 10px/1.8 Arial, sans-serif;
    color: var(--muted);
    display: block;
    margin-top: 25px;
}
.booking-cta
{
    background: #c42618;
    text-align: center;
}
.booking-cta h2
{
    font-size: clamp(45px, 5vw, 65px);
    font-style: italic;
}
.booking-cta .actions
{
    justify-content: center;
}
.booking-cta .solid
{
    background: white;
    color: #a51d10;
    border-color: white;
}
.booking-cta .outline
{
    border-color: #ffb7a9;
}
#wait-status
{
    color: #ffe2d9;
    font: 10px/1.8 Consolas, monospace;
    margin-top: 25px;
}
.visit
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}
.location-art p
{
    font-size: 10px;
    color: var(--muted);
}
.map-grid
{
    height: 420px;
    position: relative;
    background: repeating-linear-gradient(15deg, transparent 0 95px, #26344f 95px 115px), repeating-linear-gradient(105deg, #172138 0 100px, #26344f 100px 120px);
    border: 1px solid var(--line);
    padding: 30px;
    overflow: hidden;
}
.map-grid strong
{
    position: absolute;
    left: 35%;
    top: 30%;
    font: 12px/1.8 Consolas, monospace;
    text-align: center;
}
.map-grid b
{
    color: var(--red);
    font-size: 45px;
}
.map-grid > span
{
    display: block;
    font: 9px Consolas, monospace;
    color: var(--muted);
    letter-spacing: 2px;
    margin-top: 25px;
}
dl
{
    margin: 30px 0;
}
dt
{
    color: var(--red);
    text-transform: uppercase;
    font: 9px Consolas, monospace;
    margin-top: 20px;
}
dd
{
    margin: 6px 0;
    font-size: 12px;
    color: var(--muted);
}
footer
{
    background: #080b12;
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
footer p
{
    font-size: 11px;
    color: var(--muted);
}
footer nav
{
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
dialog
{
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--line);
    width: min(720px, calc(100% - 30px));
    max-height: 90vh;
    overflow: auto;
    padding: 30px;
}
dialog::backdrop
{
    background: #030711dd;
}
#booking-close, #viewer-close
{
    display: block;
    margin-left: auto;
}
dialog h2
{
    font-size: 40px;
}
.form-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
label
{
    font-size: 11px;
    color: var(--muted);
}
input, select
{
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--raised);
    color: white;
    border: 1px solid #596783;
    margin-top: 7px;
    min-width: 0;
    border-radius: 0;
    color-scheme: dark;
}
.wide
{
    grid-column: 1 / -1;
}
#slots
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#slots button
{
    background: transparent;
    color: white;
    border: 1px solid #596783;
    padding: 9px 18px;
}
#slots button[aria-pressed=true]
{
    background: #c42618;
}
#booking-summary, #booking-status
{
    font-size: 12px;
}
#viewer-art svg
{
    width: 100%;
    max-height: 55vh;
}
@media (max-width: 900px)
{
    .barber-grid
    {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px)
{
    header
    {
        height: 76px;
        padding: 0 20px;
    }
    .brand
    {
        font-size: 19px;
    }
    header > .outline
    {
        display: none;
    }
    #menu
    {
        display: block;
        background: none;
        border: 0;
        font-size: 11px;
    }
    #nav
    {
        display: none;
    }
    #nav.open
    {
        display: flex;
        position: absolute;
        inset: 76px 0 auto;
        flex-direction: column;
        background: var(--ink);
        padding: 35px;
        border-bottom: 1px solid var(--line);
    }
    section
    {
        padding: 60px 22px;
    }
    .hero
    {
        min-height: 700px;
        padding-top: 170px;
    }
    .hero > img
    {
        object-position: 60%;
    }
    h1
    {
        font-size: 65px;
    }
    .pole, .hero-stamp
    {
        display: none;
    }
    .hours
    {
        grid-template-columns: 1fr 1fr;
        padding: 25px 22px;
        gap: 25px 20px;
    }
    .hours p
    {
        border: 0;
        font-size: 11px;
    }
    .service-grid, .visit, footer, .form-grid
    {
        grid-template-columns: 1fr;
    }
    .section-top
    {
        display: block;
    }
    .barber-grid
    {
        gap: 12px;
    }
    .barber > div
    {
        padding: 15px;
    }
    .barber h3
    {
        font-size: 18px;
    }
    .barber p
    {
        font-size: 11px;
    }
    #gallery-grid
    {
        grid-template-columns: 1fr 1fr;
    }
    .quotes
    {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    blockquote
    {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }
    .booking-cta .actions
    {
        flex-direction: column;
    }
    .visit
    {
        gap: 35px;
    }
    .map-grid
    {
        height: 320px;
    }
    footer nav
    {
        align-items: start;
    }
    dialog
    {
        padding: 22px;
    }
    dialog h2
    {
        font-size: 34px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    .pole, .stripe
    {
        animation: none;
    }
}
