@font-face
{
    font-family: "Anonymous Pro";
    src: url("/fonts/AnonymousPro-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face
{
    font-family: "Anonymous Pro";
    src: url("/fonts/AnonymousPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root
{
    color-scheme: dark;
    --bg: #14171c;
    --surface: #1c2128;
    --ink: #efefe9;
    --muted: #b0b6c0;
    --line: #373e49;
    --accent: #3d6cff;
    --mono: "Anonymous Pro", "Courier New", monospace;
    --display: var(--mono);
    font-family: var(--mono);
    font-size: 100%;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    scroll-padding-top: 7rem;
}

*
{
    box-sizing: border-box;
}

body
{
    margin: 0;
}

::selection
{
    color: var(--ink);
    background: #384451;
}

a
{
    color: var(--accent);
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1px;
}

a:hover
{
    color: var(--accent);
}

a:focus-visible, summary:focus-visible
{
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

p
{
    margin: 0 0 1.4rem;
}

h1, h2, h3, h4
{
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    text-wrap: balance;
}

h2
{
    font-size: clamp(2.2rem, 3.4vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

h3
{
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h4
{
    font-size: 1.2rem;
    line-height: 1.4;
}

li
{
    padding-left: 0.3rem;
}

li + li
{
    margin-top: 0.8rem;
}

ul, ol
{
    padding-left: 1.35rem;
}

svg
{
    display: block;
    width: 100%;
    height: auto;
}

.wrap
{
    width: calc(100% - 5rem);
    max-width: 106rem;
    margin-inline: auto;
}

.skip
{
    position: absolute;
    top: -6rem;
    left: 1rem;
    z-index: 20;
    padding: 0.7rem 1.2rem;
    color: var(--ink);
    background: var(--surface);
}

.skip:focus
{
    top: 1rem;
}

.masthead
{
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.masthead-inner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5.5rem;
}

.brand
{
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand-mark
{
    width: 2rem;
    height: 2rem;
    color: var(--accent);
}

.contents
{
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 3.5rem);
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.9375rem;
}

.contents a
{
    display: inline-flex;
    align-items: baseline;
    gap: 0.65rem;
    padding-block: 0.7rem;
    text-decoration: none;
}

.contents span
{
    font-size: 0.75rem;
    color: var(--muted);
}

.header-contact
{
    display: flex;
    gap: 2rem;
    align-items: baseline;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.9375rem;
    text-decoration: none;
}

.header-contact span
{
    font-size: 0.75rem;
    color: var(--accent);
}

.hero
{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    column-gap: 1.5rem;
    padding-block: clamp(3rem, 6vw, 7rem) 5rem;
    min-height: min(54rem, 90svh);
}

.hero-copy
{
    position: relative;
    z-index: 1;
    min-width: 0;
}

.eyebrow
{
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-number
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    color: var(--accent);
    letter-spacing: 0;
}

h1
{
    font-size: clamp(3.75rem, 7.1vw, 8.4rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.97;
    text-transform: uppercase;
    margin-block: 2.2rem;
}

h1 span
{
    display: block;
}

.hero .lead
{
    max-width: 38rem;
    padding-right: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-actions
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin-top: 2rem;
}

.button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    padding: 0.85rem 1.7rem;
    color: var(--accent);
    background: var(--surface);
    font-family: var(--mono);
    font-size: 1rem;
    text-decoration: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%);
    transition: background-color 160ms ease;
}

.button:hover
{
    color: var(--ink);
    background: #292f38;
}

.button:focus-visible
{
    outline: none;
    box-shadow: inset 0 0 0 3px var(--ink);
}

.text-link
{
    font-family: var(--mono);
    font-size: 0.9375rem;
    padding-block: 0.5rem;
}

.hero-plan
{
    position: relative;
    min-width: 0;
    margin: 2rem 0 0;
    color: #697382;
}

.hero-plan::before
{
    content: "";
    position: absolute;
    top: -1.8rem;
    bottom: -1.8rem;
    left: 0;
    border-left: 1px solid var(--line);
}

.plan-meta, .hero-plan figcaption
{
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-inline: 1.5rem 0;
    font-family: var(--mono);
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan-meta
{
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.hero-plan figcaption
{
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.parcel-plan
{
    overflow: visible;
    margin-block: 1.5rem;
}

.plan-grid
{
    opacity: 0.2;
}

.plan-guides
{
    color: #4c5663;
}

.plan-boundary
{
    stroke: var(--accent);
    stroke-width: 2;
}

.plan-setback
{
    stroke: #4d5662;
    stroke-width: 1;
    stroke-dasharray: 3 7;
}

.plan-building
{
    color: #d1d5d6;
}

.plan-doors
{
    stroke: #727d8b;
    stroke-width: 1;
}

.plan-windows
{
    stroke: var(--accent);
}

.plan-services
{
    stroke: #727d8b;
    stroke-dasharray: 4 4;
}

.plan-points
{
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
}

.plan-room-labels
{
    fill: #bbc2c9;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.3px;
}

.plan-callouts
{
    stroke-width: 1;
}

.plan-labels
{
    fill: #b9c0ca;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.5px;
}

.claim-detail
{
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    align-items: start;
    gap: 0 5rem;
    padding-block: 4rem 5rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: 2rem;
}

.claim-description
{
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: 31rem;
    padding-top: 0.4rem;
    font-size: 1.0625rem;
    color: var(--muted);
}

.claim-description .eyebrow
{
    margin-bottom: 2rem;
    color: var(--ink);
}

.draft
{
    position: relative;
    padding: clamp(1.5rem, 3vw, 3rem);
    color: var(--ink);
    background: var(--surface);
    clip-path: polygon(0 0, calc(100% - 1.8rem) 0, 100% 1.8rem, 100% 100%, 0 100%);
}

.draft .eyebrow
{
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.draft h2
{
    font-family: var(--mono);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.draft ol
{
    margin: 1.8rem 0 0;
    padding-left: 1.6rem;
}

.draft li
{
    padding-left: 0.65rem;
    font-size: 1rem;
    line-height: 1.65;
}

.draft li + li
{
    margin-top: 1.1rem;
}

.draft li::marker
{
    font-family: var(--mono);
    font-weight: 700;
}

.claim-detail > .sources
{
    grid-column: 2;
}

.section
{
    padding-block: 5rem;
    border-top: 1px solid var(--line);
}

.section-heading
{
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 2rem 5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.section-heading .eyebrow
{
    margin-top: 0.35rem;
}

.section-heading h2
{
    max-width: 20ch;
}

.argument
{
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 2rem 5rem;
    padding-block: 2.5rem;
    border-top: 1px solid var(--line);
}

.argument h3
{
    max-width: 19ch;
    padding-right: 1rem;
}

.argument-body
{
    max-width: 46rem;
    min-width: 0;
    color: var(--muted);
    font-size: 1.0625rem;
}

.argument-body > p:last-child
{
    margin-bottom: 0;
}

.sources
{
    margin-top: 1.5rem;
    max-width: 46rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--muted);
}

.sources summary
{
    padding-block: 0.7rem;
    font-family: var(--mono);
    font-size: 0.875rem;
    color: var(--ink);
    cursor: pointer;
}

.sources summary::marker
{
    color: var(--accent);
}

.sources summary:hover
{
    color: var(--accent);
}

.sources[open]
{
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.sources p, .sources ul
{
    margin-top: 1rem;
}

.sources a
{
    overflow-wrap: anywhere;
}

.section-content
{
    max-width: 46rem;
    margin-left: calc((100% - 5rem) * 0.7 / 1.7 + 5rem);
    font-size: 1.0625rem;
    color: var(--muted);
}

.section-content .lead
{
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--ink);
}

.calculation
{
    margin-block: 2.5rem;
    padding: clamp(1.25rem, 2.8vw, 2.5rem);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.calculation h3
{
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.formula
{
    padding-block: 1rem;
    border-block: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

table
{
    width: 100%;
    border-collapse: collapse;
    margin-block: 2rem;
}

caption
{
    margin-bottom: 1rem;
    text-align: left;
    font-family: var(--mono);
    font-size: 0.8125rem;
    color: var(--muted);
}

th, td
{
    padding: 0.75rem 0.5rem 0.75rem 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    font-weight: 400;
}

thead th
{
    font-family: var(--mono);
    color: var(--muted);
}

td:last-child, thead th:last-child
{
    text-align: right;
    padding-right: 0;
}

td
{
    font-family: var(--mono);
    color: var(--accent);
}

.example
{
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.example h4
{
    margin-bottom: 1rem;
}

.example .formula
{
    border: 0;
    padding-top: 0.5rem;
    color: var(--accent);
}

.small
{
    font-size: 0.875rem;
    line-height: 1.65;
}

.example p:last-child
{
    margin-bottom: 0;
    color: var(--muted);
}

.demand
{
    margin-block: 2.5rem;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 2px solid var(--accent);
}

.demand h3
{
    margin-bottom: 1.2rem;
    color: var(--ink);
}

.demand ul
{
    margin-bottom: 0;
}

.demand li::marker
{
    color: var(--accent);
}

.actions
{
    margin-block: 2.5rem;
    padding-left: 1.5rem;
}

.actions > li
{
    padding: 1.5rem 0 0.5rem 1rem;
    border-top: 1px solid var(--line);
}

.actions > li::marker
{
    color: var(--accent);
    font-family: var(--mono);
}

.actions h3
{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--ink);
}

.recruit
{
    margin-block: 3rem 2rem;
    padding: clamp(1.5rem, 3vw, 3rem);
    color: var(--ink);
    background: var(--surface);
    clip-path: polygon(1.5rem 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%, 0 1.5rem);
}

.recruit .eyebrow
{
    color: var(--muted);
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.recruit h3
{
    margin-block: 1.5rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.contact
{
    display: inline-block;
    padding-block: 0.5rem;
    margin-block: 0.25rem 1.4rem;
    max-width: 100%;
    font-family: var(--mono);
    font-size: clamp(1.25rem, 2.25vw, 2rem);
    line-height: 1.4;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
}

.contact:hover
{
    color: var(--accent);
    text-decoration-thickness: 3px;
}

.contact:focus-visible
{
    outline-color: var(--accent);
}

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

.footer
{
    border-top: 1px solid var(--line);
    padding-block: 3rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.footer-mark
{
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(3rem, 10vw, 11rem);
    font-weight: 400;
    letter-spacing: -0.07em;
    line-height: 1;
    white-space: nowrap;
    color: #707a88;
}

.footer p
{
    max-width: 47rem;
    margin-bottom: 0.8rem;
}

.footer .text-link
{
    display: inline-block;
    margin-top: 0.5rem;
}

@media (min-width: 2000px)
{
    :root
    {
        font-size: 112.5%;
    }
}

@media (max-width: 1100px)
{
    .wrap
    {
        width: calc(100% - 3rem);
    }

    .masthead-inner
    {
        gap: 1.5rem;
    }

    .contents
    {
        gap: 1.2rem;
    }

    .contents span
    {
        display: none;
    }

    .header-contact
    {
        gap: 1rem;
    }

    .hero
    {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 0;
        min-height: auto;
    }

    h1
    {
        font-size: clamp(3.5rem, 7.2vw, 5.5rem);
    }

    .hero-copy > .eyebrow
    {
        font-size: 0.75rem;
        gap: 0.7rem;
    }

    .hero-plan
    {
        margin-left: -1rem;
    }

    .plan-meta, .hero-plan figcaption
    {
        font-size: 0.65rem;
        gap: 0.5rem;
    }

    .claim-detail, .section-heading, .argument
    {
        column-gap: 3rem;
    }

    .section-content
    {
        margin-left: calc((100% - 3rem) * 0.7 / 1.7 + 3rem);
    }
}

@media (max-width: 800px)
{
    :root
    {
        scroll-padding-top: 2rem;
    }

    .masthead
    {
        position: relative;
    }

    .masthead-inner
    {
        flex-wrap: wrap;
        padding-block: 1.1rem 0.5rem;
        gap: 1rem;
    }

    .header-contact
    {
        margin-left: auto;
    }

    .contents
    {
        order: 3;
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid var(--line);
        padding-top: 0.5rem;
        gap: 0.6rem;
    }

    .contents span
    {
        display: inline;
    }

    .hero
    {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    h1
    {
        font-size: clamp(3.6rem, 10.8vw, 7rem);
    }

    .hero .lead
    {
        max-width: 39rem;
        padding-right: 0;
    }

    .hero-plan
    {
        max-width: 35rem;
        width: 100%;
        margin: 3.5rem auto 0;
    }

    .hero-plan::before
    {
        display: none;
    }

    .plan-meta, .hero-plan figcaption
    {
        padding-inline: 0;
        font-size: 0.75rem;
    }

    .claim-detail
    {
        grid-template-columns: 1fr;
        padding-block: 3rem;
        gap: 1.5rem;
    }

    .claim-description
    {
        grid-row: auto;
        max-width: 42rem;
    }

    .claim-detail > .sources
    {
        grid-column: 1;
        margin-top: 0;
    }

    .section
    {
        padding-block: 3.5rem;
    }

    .section-heading
    {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        margin-bottom: 2.5rem;
    }

    .section-heading h2
    {
        max-width: 23ch;
    }

    .argument
    {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-block: 2rem;
    }

    .argument h3
    {
        max-width: 28ch;
    }

    .section-content
    {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 420px)
{
    .wrap
    {
        width: calc(100% - 2rem);
    }

    .brand
    {
        gap: 0.5rem;
        font-size: 0.9375rem;
    }

    .brand-mark
    {
        width: 1.6rem;
        height: 1.6rem;
    }

    .header-contact
    {
        padding: 0.5rem 0.7rem;
        font-size: 0.875rem;
        gap: 0.6rem;
    }

    .contents
    {
        font-size: 0.875rem;
    }

    .contents a
    {
        gap: 0.4rem;
    }

    h1
    {
        font-size: 12vw;
    }

    .hero-copy > .eyebrow
    {
        font-size: 0.7rem;
    }

    .plan-meta, .hero-plan figcaption
    {
        font-size: 0.65rem;
    }

    .hero-actions
    {
        gap: 0.6rem 1.4rem;
    }

    .draft
    {
        padding: 1.4rem;
    }

    .recruit
    {
        padding: 1.5rem;
    }

    .contact
    {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .button
    {
        transition: none;
    }
}

@media (forced-colors: active)
{
    .button, .draft, .recruit
    {
        clip-path: none;
        border: 1px solid CanvasText;
    }

    .plan-boundary, .plan-points, .plan-windows
    {
        stroke: CanvasText;
    }

    .plan-labels, .plan-room-labels
    {
        fill: CanvasText;
    }
}

@media print
{
    :root
    {
        color-scheme: light;
        --bg: #fff;
        --surface: #fff;
        --ink: #111;
        --muted: #333;
        --line: #aaa;
        --accent: #111;
        font-size: 10pt;
    }

    .wrap
    {
        width: 100%;
    }

    .masthead
    {
        position: static;
    }

    .contents, .header-contact, .hero-actions, .hero-plan, .skip, .footer-mark, .footer .text-link
    {
        display: none;
    }

    .hero, .claim-detail, .section-heading, .argument
    {
        display: block;
        min-height: 0;
        padding-block: 1.5rem;
    }

    .section
    {
        padding-block: 1.5rem;
    }

    h1
    {
        font-size: 32pt;
    }

    h1 span
    {
        display: inline;
    }

    h2, h3, h4
    {
        break-after: avoid;
        margin-bottom: 1rem;
    }

    .section-content
    {
        margin-left: 0;
        max-width: none;
    }

    .draft, .calculation, .recruit
    {
        border: 1px solid #aaa;
        color: #111;
        background: #fff;
        clip-path: none;
        break-inside: avoid;
    }
}
