/* ==========================================================================
   yoshigraphix — VERSION 3
   A different site from v2, not a reskin of it. v2 is a warm sheet of paper
   read top to bottom in one column; v3 is a white grid with a fixed rail,
   work as an index rather than a stack of plates, and the mark's own
   geometry — three triangles, 45° cuts — doing the decorating.
   The only thing carried over on purpose is the logo.
   v1 and v2 are untouched; nothing here is shared with either.
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOKENS
   -------------------------------------------------------------------------- */
:root {
    color-scheme: light;

    /* GROUND. v3 is a white site. Paper is the grid; the warmth all comes
       from the mark, so the greys stay neutral and out of the way. */
    --paper: #ffffff;
    --panel: #f5f5f2;
    --panel-2: #fafaf8;
    --line: #e3e3de; /*  1.3:1 — decorative hairlines only */
    --line-2: #8e8e87; /*  3.3:1 — field borders and link underlines */

    --ink: #141414; /* 16.4:1 on paper */
    --ink-2: #55554f; /*  7.5:1 — body asides */
    --ink-3: #6e6e67; /*  5.1:1 — mono labels, still small-text safe */

    /* THE MARK. The three triangles, logo only. WCAG exempts logotypes from
       contrast, which is the only reason gold can exist at this value.
       Never set type in them — use the -ink pair below for that. */
    --coral: #e76f61;
    --gold: #ddaf32;
    --green: #3d9b78;

    /* THE ACCENT. The mark's coral taken down until it carries small text:
       5.2:1 on paper. It is the only colour on the page that is not grey,
       and it means one thing — you can act on this. */
    --accent: #c8301e;
    --accent-soft: #fdecea;
    /* The other two triangles, darkened the same way. These code the three
       practices; they are never used for interaction. */
    --gold-ink: #7d6115;
    --green-ink: #2c7156;

    --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --rail: 264px;
    --pad: clamp(1.25rem, 0.5rem + 2.5vw, 3.5rem);
    --sec-gap: clamp(4rem, 2rem + 7vw, 8rem);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.6 var(--sans);
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}
a {
    color: inherit;
}
button,
input,
textarea {
    font: inherit;
    color: inherit;
}

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

.skip {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 99;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
}
.skip:focus {
    top: 1rem;
}

/* The three triangles, flattened into a rule. It is the site's signature:
   it opens the page and closes it, and nothing else uses these raw hues. */
.tricolor {
    height: 4px;
    border: 0;
    margin: 0;
    background: linear-gradient(
        90deg,
        var(--coral) 0 33.34%,
        var(--gold) 33.34% 66.67%,
        var(--green) 66.67% 100%
    );
}

/* --------------------------------------------------------------------------
   SHELL — fixed rail beside a scrolling column
   -------------------------------------------------------------------------- */
.shell {
    display: block;
}

@media (min-width: 1100px) {
    .shell {
        display: grid;
        grid-template-columns: var(--rail) minmax(0, 1fr);
        align-items: start;
    }
}

/* --------------------------------------------------------------------------
   RAIL
   Top bar on phones, a full-height column from 1100px up. One block of
   markup serves both; only the flex direction really changes.
   -------------------------------------------------------------------------- */
.rail {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem var(--pad);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font: 500 0.95rem/1.2 var(--display);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
/* The mark is a square of three triangles with no margin of its own, so it
   gets no optical nudge — its own centre is already the centre of the square. */
.brand__mark {
    width: 26px;
    height: 26px;
}

.rail .nav {
    display: flex;
    gap: 0.25rem 1.1rem;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.rail .nav a {
    position: relative;
    text-decoration: none;
    font: 500 0.78rem/1 var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 0.35rem 0;
    transition: color 0.2s var(--ease);
}
.rail .nav a:hover {
    color: var(--ink);
}
.rail .nav .nav__n {
    display: none;
}
/* The rail marks where you are, not where I'd like you to go. Colour only —
   no size change, so nothing in the bar shifts as the page scrolls. */
.rail .nav a.is-here {
    color: var(--accent);
}

.rail__foot {
    display: none;
}

/* At phone width the brand and four sections cannot share one line, and the
   bar was wrapping a single item onto a second row as if by accident. Give
   the nav its own full-width row instead, spread edge to edge. The spy
   measures the bar's height live, so the taller bar costs it nothing. */
@media (max-width: 620px) {
    .rail {
        flex-wrap: wrap;
        gap: 0.6rem;
        padding-bottom: 0.7rem;
    }
    .rail .nav {
        width: 100%;
        margin-left: 0;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

@media (min-width: 1100px) {
    .rail {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        height: 100vh;
        height: 100dvh;
        padding: 2.5rem 1.75rem 2rem;
        border-bottom: 0;
        border-right: 1px solid var(--line);
        backdrop-filter: none;
        background: var(--paper);
    }
    .brand {
        font-size: 1.05rem;
        gap: 0.7rem;
    }
    .brand__mark {
        width: 34px;
        height: 34px;
    }
    .rail .nav {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        gap: 0;
    }
    .rail .nav a {
        display: grid;
        grid-template-columns: 2.1rem 1fr;
        align-items: baseline;
        padding: 0.7rem 0;
        border-top: 1px solid var(--line);
        font-size: 0.82rem;
    }
    .rail .nav a:last-child {
        border-bottom: 1px solid var(--line);
    }
    .rail .nav .nav__n {
        display: block;
        color: var(--ink-3);
        font-size: 0.72rem;
        transition: color 0.2s var(--ease);
    }
    .rail .nav a.is-here .nav__n {
        color: var(--accent);
    }
    .rail__foot {
        display: block;
    }
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font: 400 0.74rem/1.4 var(--mono);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex: none;
}
.social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-top: 1.1rem;
}
.social a {
    font: 400 0.78rem/1.4 var(--sans);
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1px solid var(--line-2);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.rail__legal {
    margin-top: 1.4rem;
    font: 400 0.7rem/1.5 var(--mono);
    color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   MAIN COLUMN
   -------------------------------------------------------------------------- */
.main {
    min-width: 0;
}
.bay {
    padding: 0 var(--pad);
    max-width: 1180px;
}
.sec {
    padding-top: var(--sec-gap);
}
.sec:last-of-type {
    padding-bottom: var(--sec-gap);
}

/* Section heads are the grid made visible: number, title, note, hairline. */
.sec__head {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ink);
    margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.sec__n {
    font: 500 0.78rem/1 var(--mono);
    color: var(--accent);
}
/* The interlude's marker, sitting in the column the numbers use. */
.sec__tri {
    width: 0;
    height: 0;
    align-self: center;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 11px solid var(--coral);
}
.sec__head h2 {
    font: 500 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem) / 1.1 var(--display);
    letter-spacing: -0.02em;
}
.sec__note {
    font: 400 0.76rem/1 var(--mono);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: right;
}
a.sec__note {
    color: var(--accent);
    text-decoration: none;
}
@media (max-width: 560px) {
    .sec__head {
        grid-template-columns: 2.2rem minmax(0, 1fr);
    }
    .sec__note {
        grid-column: 2;
        text-align: left;
        margin-top: 0.4rem;
    }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
    padding-top: clamp(2.5rem, 1rem + 6vw, 6rem);
}
.hero__mark {
    width: clamp(56px, 7vw, 76px);
    height: auto;
    margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.hero__claim {
    font: 500 clamp(2.3rem, 0.9rem + 5.6vw, 5rem) / 0.99 var(--display);
    letter-spacing: -0.035em;
    max-width: 19ch;
    text-wrap: balance;
}
.hero__claim em {
    font-style: normal;
    color: var(--accent);
}
.hero__lede {
    margin-top: clamp(1.75rem, 1rem + 2vw, 2.5rem);
    max-width: 62ch;
    font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem);
    color: var(--ink-2);
}
.hero__lede strong {
    font-weight: 500;
    color: var(--ink);
}

/* The numbers strip. Four facts on a hairline grid — the kind of thing a
   CV buries in a paragraph and nobody reads. */
.strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
    background: var(--line);
    border: 1px solid var(--line);
}
.strip > div {
    background: var(--paper);
    padding: 1.25rem 1.25rem 1.4rem;
}
.strip dt {
    font: 500 clamp(1.6rem, 1.3rem + 1vw, 2.2rem) / 1 var(--display);
    letter-spacing: -0.03em;
}
.strip dd {
    margin-top: 0.5rem;
    font: 400 0.78rem/1.45 var(--mono);
    color: var(--ink-3);
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--ink);
    text-decoration: none;
    font: 500 0.84rem/1 var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn--solid {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.btn--solid:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

/* --------------------------------------------------------------------------
   WORK — an index, with a preview that follows the cursor's row
   -------------------------------------------------------------------------- */
.index {
    display: grid;
    gap: 3rem;
}
@media (min-width: 1280px) {
    .index {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}

.rows {
    border-bottom: 1px solid var(--line);
    min-width: 0;
}
.row {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr) minmax(0, 10rem) 1.5rem;
    gap: 0.4rem 1rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    transition: background 0.2s var(--ease);
}
.row:hover,
.row:focus-visible {
    background: var(--panel-2);
}
.row__n {
    grid-area: 1 / 1;
    font: 500 0.78rem/1.5 var(--mono);
    color: var(--ink-3);
    transition: color 0.2s var(--ease);
}
.row__title {
    grid-area: 1 / 2;
    font: 500 clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem) / 1.15 var(--display);
    letter-spacing: -0.02em;
    transition: color 0.2s var(--ease);
}
.row__client {
    grid-area: 1 / 3;
    text-align: right;
    font: 400 0.78rem/1.6 var(--mono);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.row__go {
    grid-area: 1 / 4;
    align-self: start;
    justify-self: end;
    margin-top: 0.3rem;
    color: var(--line-2);
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.row__body {
    grid-area: 2 / 2;
    max-width: 54ch;
    font-size: 0.95rem;
    color: var(--ink-2);
}
.row__tags {
    grid-area: 3 / 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.row:hover .row__title,
.row:focus-visible .row__title,
.row:hover .row__n,
.row:focus-visible .row__n {
    color: var(--accent);
}
.row:hover .row__go,
.row:focus-visible .row__go {
    color: var(--accent);
    transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
    .row:hover .row__go,
    .row:focus-visible .row__go {
        transform: none;
    }
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--line);
    font: 400 0.68rem/1.3 var(--mono);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-3);
    white-space: nowrap;
}
.tag--locked {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

/* The preview pane. Every image is already in the DOM and only its opacity
   changes, so swapping rows never shows a half-loaded picture. */
.pv {
    display: none;
}
@media (min-width: 1280px) {
    .pv {
        display: block;
        position: sticky;
        top: 2.5rem;
    }
    .pv__frame {
        position: relative;
        aspect-ratio: 10 / 7;
        background: var(--panel);
        border: 1px solid var(--line);
        overflow: hidden;
    }
    .pv__frame img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.28s var(--ease);
    }
    .pv__frame img.is-on {
        opacity: 1;
    }
    .pv__cap {
        margin-top: 0.85rem;
        font: 400 0.76rem/1.5 var(--mono);
        color: var(--ink-3);
    }
}

/* Below the preview breakpoint each row carries its own picture instead. */
.row__thumb {
    grid-area: 4 / 2 / 5 / 4;
    margin-top: 1.1rem;
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
    background: var(--panel);
    border: 1px solid var(--line);
}
@media (min-width: 1280px) {
    .row__thumb {
        display: none;
    }
}
@media (min-width: 621px) and (max-width: 1279px) {
    .row {
        grid-template-columns: 2.6rem minmax(0, 1fr) 240px;
    }
    .row__title {
        grid-area: 1 / 2;
    }
    .row__client {
        grid-area: 2 / 2;
        text-align: left;
        margin-top: 0.15rem;
    }
    .row__body {
        grid-area: 3 / 2;
        margin-top: 0.5rem;
    }
    .row__tags {
        grid-area: 4 / 2;
    }
    .row__thumb {
        grid-area: 1 / 3 / 5 / 4;
        align-self: start;
        margin-top: 0.3rem;
    }
    .row__go {
        display: none;
    }
}

@media (max-width: 620px) {
    .row {
        grid-template-columns: 2.4rem minmax(0, 1fr);
        padding: 1.4rem 0 1.6rem;
    }
    .row__client {
        grid-area: 2 / 2;
        text-align: left;
    }
    .row__body {
        grid-area: 3 / 2;
    }
    .row__tags {
        grid-area: 4 / 2;
        justify-content: flex-start;
        margin-top: 0.3rem;
    }
    .row__thumb {
        grid-area: 5 / 1 / 6 / 3;
    }
    .row__go {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   PRACTICE — the three triangles, as three columns
   -------------------------------------------------------------------------- */
.three {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
@media (min-width: 760px) {
    .three {
        grid-template-columns: repeat(3, 1fr);
    }
}
.card {
    background: var(--paper);
    padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
}
/* Each practice takes one triangle of the mark. Decoration only — the heading
   beside it is always ink, so nothing legible depends on these hues. */
.card__tri {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 15px solid var(--coral);
}
.card:nth-child(2) .card__tri {
    border-top-color: var(--gold);
}
.card:nth-child(3) .card__tri {
    border-top-color: var(--green);
}
.card__n {
    display: block;
    margin: 1.1rem 0 0.4rem;
    font: 500 0.76rem/1 var(--mono);
    color: var(--ink-3);
}
.card h3 {
    font: 500 1.14rem/1.25 var(--display);
    letter-spacing: -0.01em;
}
.card p {
    margin-top: 0.7rem;
    font-size: 0.95rem;
    color: var(--ink-2);
}

/* About block — text beside the portrait, portrait second on phones. */
.about {
    display: grid;
    gap: clamp(2rem, 1rem + 4vw, 3.5rem);
    align-items: start;
    margin-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
@media (min-width: 860px) {
    .about {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    }
}
.about p + p {
    margin-top: 1.1rem;
}
.about p {
    font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.12rem);
    color: var(--ink-2);
}
.about img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   QUOTES
   -------------------------------------------------------------------------- */
.quotes {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
@media (min-width: 860px) {
    .quotes {
        grid-template-columns: repeat(3, 1fr);
    }
}
.quote {
    background: var(--paper);
    padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
    display: flex;
    flex-direction: column;
}
/* The quote markers walk the mark's three triangles rather than all taking
   the accent — coral has one job on this page, and it is interaction. */
.quote__tri {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 13px solid var(--coral);
    margin-bottom: 1.1rem;
}
.quote:nth-child(2) .quote__tri {
    border-top-color: var(--gold);
}
.quote:nth-child(3) .quote__tri {
    border-top-color: var(--green);
}
.quote blockquote {
    font-size: 1rem;
    line-height: 1.62;
    color: var(--ink);
    flex: 1;
}
.quote figcaption {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.quote cite {
    display: block;
    font: 500 0.98rem/1.3 var(--display);
    font-style: normal;
}
.quote figcaption span {
    display: block;
    margin-top: 0.3rem;
    font: 400 0.74rem/1.4 var(--mono);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   CAREER — one hairline table, years in mono
   -------------------------------------------------------------------------- */
.cv {
    border-bottom: 1px solid var(--line);
}
.cv__row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 11rem) minmax(0, 1fr);
    gap: 0.3rem 1.5rem;
    padding: 1.15rem 0;
    border-top: 1px solid var(--line);
}
.cv__when {
    font: 400 0.8rem/1.7 var(--mono);
    color: var(--ink-3);
    white-space: nowrap;
}
.cv__who {
    font: 500 1rem/1.5 var(--display);
}
.cv__what {
    font-size: 0.94rem;
    color: var(--ink-2);
}
/* The current job is the only row that gets the accent, and it gets it on
   the year, not the name — the date is what you are scanning for. */
.cv__row--now .cv__when {
    color: var(--accent);
    font-weight: 500;
}
@media (max-width: 760px) {
    .cv__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.15rem;
        padding: 1.1rem 0;
    }
    .cv__when {
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact {
    background: var(--panel);
    border-top: 1px solid var(--line);
    margin-top: var(--sec-gap);
}
.contact .sec {
    padding-bottom: var(--sec-gap);
}
.contact__grid {
    display: grid;
    gap: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    align-items: start;
}
@media (min-width: 900px) {
    .contact__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}
.contact p.lede {
    max-width: 44ch;
    font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.12rem);
    color: var(--ink-2);
}
.mailto {
    display: inline-block;
    margin-top: 1.75rem;
    font: 500 clamp(1.15rem, 0.9rem + 1.4vw, 1.85rem) / 1.2 var(--display);
    letter-spacing: -0.025em;
    text-decoration: none;
    border-bottom: 2px solid var(--line-2);
    word-break: break-word;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mailto:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.form {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
}
.form__row {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 540px) {
    .form__row {
        grid-template-columns: 1fr 1fr;
    }
}
.field {
    display: block;
    margin-bottom: 1.25rem;
}
.field label {
    display: block;
    margin-bottom: 0.4rem;
    font: 400 0.74rem/1.4 var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.field input,
.field textarea {
    width: 100%;
    padding: 0.6rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}
.field textarea {
    min-height: 7rem;
    resize: vertical;
}
.form__note {
    margin-top: 1rem;
    font: 400 0.76rem/1.5 var(--mono);
    color: var(--ink-3);
}
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   FOOT
   -------------------------------------------------------------------------- */
.foot {
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.foot__in {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
    padding: 1.5rem var(--pad);
    font: 400 0.76rem/1.6 var(--mono);
    color: var(--ink-3);
}
.foot__in a {
    color: var(--ink-3);
    text-decoration: none;
    border-bottom: 1px solid var(--line-2);
}
.foot__in a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   REVEAL
   Scoped to .js, so a page with no JavaScript renders fully visible
   instead of blank.
   -------------------------------------------------------------------------- */
.js [data-rise] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js [data-rise].is-in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .js [data-rise] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
