:root
{
    --paper: #f7f6f3;
    --ink: #17181a;
    --blue: #3b5ba5;
    --surface: #eae8e3;
    --muted: #555756;
    --line: #17181a30;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 Arial, sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, select
{
    font: inherit;
}
button
{
    cursor: pointer;
}
:focus-visible
{
    outline: 3px solid #6c8bd1;
    outline-offset: 4px;
}
header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 5%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.brand
{
    font-size: 23px;
    font-weight: bold;
    letter-spacing: -1px;
}
nav, .actions
{
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
}
.button
{
    padding: 12px 20px;
    background: var(--blue);
    color: white;
    border: 1px solid var(--blue);
    border-radius: 30px;
    display: inline-block;
    font-size: 14px;
}
.button:hover
{
    background: #294681;
}
#menu
{
    display: none;
}
.meta, figcaption, .plan-top, .plan-bottom
{
    font: 14px/1.6 Consolas, monospace;
    letter-spacing: .3px;
    color: var(--muted);
}
.hero
{
    padding: 50px 5% 0;
}
h1, h2, h3
{
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 25px 0;
}
h1
{
    font-size: clamp(40px, 5.2vw, 75px);
}
h1 span
{
    color: var(--blue);
}
h2
{
    font-size: clamp(34px, 4vw, 54px);
}
h3
{
    font-size: 26px;
    letter-spacing: -.8px;
}
.mat
{
    padding: 24px;
    background: var(--surface);
    border-radius: 8px;
}
.mat img
{
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.mat span
{
    display: block;
    margin-top: 15px;
    font: 14px Consolas, monospace;
    color: var(--muted);
}
.hero-bottom
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 25px 0 45px;
}
.hero-bottom p
{
    max-width: 550px;
}
.text-link
{
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    font-size: 14px;
}
.section
{
    padding: 80px 6%;
}
.floor
{
    background: var(--surface);
}
.floor-heading, .floor-layout
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}
.floor-heading
{
    align-items: center;
    margin-bottom: 30px;
}
.floor-plan
{
    border: 2px solid #777973;
    padding: 15px;
    background: var(--paper);
}
.plan-top, .plan-bottom
{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
}
.plan-top > span
{
    border: 1px solid #8a8b86;
    padding: 10px;
    flex: 1;
}
.window-label
{
    border-bottom: 3px double #737c8a;
    margin: 20px 0;
    padding-bottom: 10px;
    text-align: center;
}
.desks
{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    padding: 10px 12px 30px;
}
.desk
{
    aspect-ratio: 1;
    border: 1px solid #8e9296;
    background: var(--paper);
}
.desk.filled
{
    background: var(--blue);
    border-color: var(--blue);
}
.plan-bottom
{
    padding-top: 15px;
    border-top: 1px solid #8a8b86;
}
.clock strong
{
    font: 58px Consolas, monospace;
    color: var(--blue);
}
.clock p
{
    font-size: 14px;
}
.ruled
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    border-top: 1px solid var(--line);
}
.membership
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    padding: 25px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    color: var(--ink);
}
.membership:hover h3
{
    color: var(--blue);
}
.membership h3, .membership p
{
    margin: 10px 0;
}
.membership p
{
    font-size: 14px;
    color: var(--muted);
}
.membership > span
{
    max-width: 170px;
    text-align: right;
    color: var(--blue);
}
.building-copy
{
    font-size: 22px;
    line-height: 1.65;
}
.rules
{
    margin: 16px;
    border-radius: 24px;
    background: var(--ink);
    color: var(--paper);
}
.rules .meta
{
    color: #bfc2c5;
}
.rule-row
{
    display: grid;
    grid-template-columns: 40px 1fr 2fr;
    gap: 30px;
    align-items: baseline;
    border-bottom: 1px solid #ffffff40;
    padding: 20px 0;
}
.rule-row p
{
    color: #d3d4d1;
}
.room-table > div
{
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.room-table h3
{
    font-size: 22px;
}
.room-table p
{
    font-size: 14px;
}
.room-table > div > :last-child
{
    text-align: right;
}
.room-form
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 35px;
}
label
{
    font-size: 14px;
    display: block;
}
input, select
{
    display: block;
    width: 100%;
    min-width: 0;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid #898b8e;
    border-radius: 8px;
    padding: 12px;
    margin: 7px 0 18px;
    font-size: 16px;
}
#room-total
{
    grid-column: 1 / -1;
    color: var(--blue);
    font-size: 22px;
    margin: 0;
}
.index-columns
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.index-columns p
{
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.space-grid
{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 35px;
    align-items: end;
}
figure
{
    grid-column: span 2;
    margin: 0;
}
figure:first-child, figure:nth-child(2)
{
    grid-column: span 3;
}
figure img, .room-drawing, .door
{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
figcaption
{
    margin-top: 15px;
}
.room-drawing
{
    display: grid;
    place-items: center;
    background: #d4d5ce;
    border: 15px solid #e6e5df;
}
.room-drawing i
{
    display: block;
    width: 60%;
    height: 90px;
    border: 12px double #7e8d9e;
    background: #bca889;
}
.kitchen
{
    background: #c4c0b3;
    border-top: 40px solid #9a917d;
}
.kitchen i
{
    width: 110px;
    height: 110px;
    border-radius: 50%;
}
.booth
{
    border-inline: 45px solid #9ea79e;
}
.booth i
{
    width: 100%;
    height: 35px;
    border: 0;
}
.door
{
    background: var(--blue);
    color: white;
    border: 25px solid #aeb1b0;
    padding: 25px 10px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}
.door span
{
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 30px;
}
.quote
{
    background: var(--surface);
    text-align: center;
}
blockquote
{
    max-width: 750px;
    margin: 0 auto 30px;
    font-size: 32px;
    line-height: 1.35;
}
.visit
{
    background: var(--blue);
    color: white;
    border-radius: 24px;
    margin: 16px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
}
.visit .meta
{
    color: #fff;
}
.white
{
    background: var(--paper);
    color: var(--blue);
}
.white:hover
{
    color: white;
}
[role="status"]
{
    font-size: 14px;
}
footer
{
    background: var(--ink);
    color: var(--paper);
    padding: 55px 6% 0;
    overflow: hidden;
}
.footer-info
{
    display: grid;
    grid-template-columns: 1fr 1.2fr .7fr;
    gap: 40px;
    font-size: 14px;
}
.footer-info a
{
    display: block;
    margin-bottom: 10px;
}
.giant
{
    font-size: clamp(70px, 13.7vw, 200px);
    font-weight: bold;
    letter-spacing: -.07em;
    line-height: 1;
    white-space: nowrap;
    transform: translateY(20%);
    margin-top: 50px;
}
@media (max-width: 760px)
{
    #menu
    {
        display: block;
        background: none;
        border: 0;
        color: var(--blue);
        font-size: 24px;
    }
    nav
    {
        display: none;
        position: absolute;
        top: 70px;
        inset-inline: 0;
        padding: 25px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }
    nav.open
    {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .hero
    {
        padding: 30px 16px 0;
    }
    h1
    {
        font-size: 38px;
    }
    .mat
    {
        padding: 16px;
    }
    .mat img
    {
        height: 250px;
    }
    .hero-bottom
    {
        display: block;
    }
    .actions
    {
        gap: 20px;
    }
    .section
    {
        padding: 50px 6%;
    }
    .floor-heading, .floor-layout, .ruled, .visit, .index-columns, .footer-info
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .plan-top, .plan-bottom
    {
        gap: 5px;
    }
    .plan-top > span
    {
        padding: 5px;
        font-size: 14px;
    }
    .desks
    {
        gap: 9px;
        padding-inline: 0;
    }
    .membership
    {
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }
    .membership > span
    {
        text-align: left;
        max-width: none;
    }
    .rule-row
    {
        grid-template-columns: 25px 1fr;
        gap: 15px;
    }
    .rule-row p
    {
        grid-column: 2;
        margin-top: 0;
    }
    .room-table > div, .space-grid
    {
        display: block;
    }
    .room-table .table-head
    {
        display: none;
    }
    .room-table > div > :last-child
    {
        text-align: left;
    }
    .room-form
    {
        grid-template-columns: 1fr 1fr;
    }
    figure
    {
        margin-bottom: 30px;
    }
    .visit
    {
        padding: 40px 7%;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
}
