/* ============================================================
   TAURUS DESIGNS — secondary pages (capabilities, portfolio)
   Tokens mirror index.html; DESIGN.md is the source of truth.
   ============================================================ */

:root {
    --ink: #0c0b0a;
    --bone: #f2efea;
    --red: #e2281a;
    --slate: #8a8d90;
    --muted: #6e6a62;
    --hairline: #dad5c9;

    --display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --maxw: 1440px;
    --measure: 34em;
}

@font-face {
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/instrument-serif.woff2") format("woff2");
}
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("fonts/geist.woff2") format("woff2");
}
@font-face {
    font-family: "Geist Mono";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("fonts/geist-mono.woff2") format("woff2");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bone);
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection {
    background: var(--red);
    color: var(--bone);
}
a {
    color: inherit;
}

.hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem clamp(1rem, 3.4vw, 2.6rem);
    border-bottom: 1px solid var(--hairline);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.brand__bull {
    width: 24px;
    height: 10.05px;
    -webkit-mask: url("graphics/working-mark/taurusdesigns_small_working_mark_tight.svg")
        center/contain no-repeat;
    mask: url("graphics/working-mark/taurusdesigns_small_working_mark_tight.svg")
        center/contain no-repeat;
    background: currentColor;
    flex: none;
}
.wordmark {
    font-family: var(--display);
    font-size: 1.32rem;
    line-height: 1;
    letter-spacing: 0.005em;
    white-space: nowrap;
}
.wordmark .w-heavy {
    -webkit-text-stroke: 0.62px currentColor;
}
.hud__back {
    text-decoration: none;
    white-space: nowrap;
}
.hud__back:hover {
    color: var(--red);
}

main {
    flex: 1;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(5.5rem, 13vh, 11rem) clamp(1.25rem, 5vw, 4.5rem);
}

.kicker {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--red);
    flex: none;
}
h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.022em;
    margin: 0 0 1.5rem;
}
.prose {
    max-width: var(--measure);
    margin: 0 0 1.5rem;
}
.status {
    font-family: var(--mono);
    font-size: 0.72rem;
    line-height: 1.7;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    max-width: 62ch;
    margin: 2rem 0;
    border-left: 2px solid var(--red);
    padding-left: 1rem;
}
.more {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 2px;
    margin-right: 2rem;
}
.more:hover {
    border-color: var(--red);
}

/* capability rows — mono label left, content right */
.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    color: var(--muted);
    max-width: 34em;
    margin: 0 0 3rem;
}
.cap {
    border-top: 1px solid var(--hairline);
    margin-bottom: 3rem;
}
.cap__row {
    display: grid;
    grid-template-columns: minmax(9rem, 16rem) 1fr;
    gap: 1rem 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--hairline);
}
.cap__k {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0.3rem 0 0;
}
.cap__v {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 46em;
}
.cap__v li {
    margin: 0 0 0.6rem;
}
.cap__v li:last-child {
    margin-bottom: 0;
}
.cap__v b {
    font-weight: 500;
}
.cap__v span {
    color: var(--muted);
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.chips span {
    border: 1px solid var(--hairline);
    padding: 0.5rem 0.85rem;
    color: var(--ink);
}
@media (max-width: 680px) {
    .cap__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

footer {
    border-top: 1px solid var(--hairline);
    padding: 1rem clamp(1rem, 3.4vw, 2.6rem);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--muted);
}
