/* wrkstead — site styles. Built on Identity Pack v1.0 (14e: black, white, one accent). */

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

:root {
  --wrk-paper: #F6F5F0;
  --wrk-stone: #EBE9E0;
  --wrk-carbon: #141413;
  --wrk-obsidian: #1E1E1C;
  --wrk-pewter: #6E6D68;
  --wrk-hairline: #D8D5C8;
  --wrk-hairline-d: #2E2E2B;
  --wrk-oxide: #D9532F;
  --wrk-body: #3A3936;
  --wrk-muted-d: #9C9A92;
  --wrk-link: #1D4ED8;

  --serif: "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;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wrk-paper);
  color: var(--wrk-carbon);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--wrk-oxide); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--wrk-oxide); outline-offset: 3px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--wrk-carbon); color: var(--wrk-paper); padding: 10px 14px; z-index: 10; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ── */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wrk-pewter); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8.4vw, 104px); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; color: var(--wrk-body); max-width: 60ch; }
.body { color: var(--wrk-body); max-width: 65ch; }
.body p + p { margin-top: 1em; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }

/* ── Devices from the mark ── */
.triple { display: grid; gap: 4px; }
.triple span { height: 1px; background: currentColor; }
.corner-tl, .corner-br { position: absolute; width: 16px; height: 16px; background: var(--wrk-oxide); }
.corner-tl { left: 0; top: 0; }
.corner-br { right: 0; bottom: 0; }

/* ── Header ── */
.site-header { border-bottom: 1px solid var(--wrk-hairline); background: var(--wrk-paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand .mark { height: 48px; width: auto; }
.brand .mono-mark { display: none; height: 22px; width: auto; }
.wordmark { font-family: var(--sans); font-size: 34px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--wrk-carbon); }
.nav a[aria-current="page"] { border-bottom-color: var(--wrk-carbon); }
.nav .btn { padding: 14px 20px; border-bottom-color: var(--wrk-carbon); }
.menu-toggle { display: none; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--wrk-carbon); color: var(--wrk-paper); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 14px 20px; border: 1px solid var(--wrk-carbon); }
.btn:hover { background: var(--wrk-obsidian); }
.btn.ghost { background: transparent; color: var(--wrk-carbon); }
.btn.ghost:hover { background: var(--wrk-stone); }
.on-dark .btn { background: var(--wrk-paper); color: var(--wrk-carbon); border-color: var(--wrk-paper); }
.on-dark .btn.ghost { background: transparent; color: var(--wrk-paper); }

@media (max-width: 860px) {
  .site-header .wrap { min-height: 68px; }
  .brand .mark { display: none; }
  .brand .mono-mark { display: block; }
  .brand { gap: 10px; }
  .wordmark { font-size: 26px; }
  .menu-toggle { display: block; position: relative; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--wrk-carbon); padding: 10px 14px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle .nav { position: absolute; right: 0; top: calc(100% + 12px); flex-direction: column; align-items: stretch; gap: 0; background: var(--wrk-paper); border: 1px solid var(--wrk-carbon); min-width: 240px; z-index: 5; }
  .menu-toggle .nav a { padding: 14px 18px; border-bottom: 1px solid var(--wrk-hairline); }
  .menu-toggle .nav .btn { justify-content: center; margin: 12px; border-bottom-color: var(--wrk-carbon); }
  .desktop-nav { display: none; }
}

/* ── Sections ── */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--wrk-hairline); }
.section.stone { background: var(--wrk-stone); }
.on-dark { background: var(--wrk-carbon); color: var(--wrk-paper); border-bottom-color: var(--wrk-hairline-d); }
.on-dark .kicker { color: var(--wrk-muted-d); }
.on-dark .lede, .on-dark .body { color: #EBE9E0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .kicker { margin-bottom: 18px; display: block; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 40px; } }

/* Hero */
.hero { position: relative; padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--wrk-hairline); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.hero .kicker { display: block; margin-bottom: 28px; }
.hero .aside { display: flex; flex-direction: column; gap: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Index rows */
.index { border-top: 1px solid var(--wrk-carbon); }
.on-dark .index { border-top-color: var(--wrk-paper); }
.index-row { display: grid; grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--wrk-hairline); text-decoration: none; }
.on-dark .index-row { border-bottom-color: var(--wrk-hairline-d); }
a.index-row:hover { background: var(--wrk-stone); }
.on-dark a.index-row:hover { background: var(--wrk-obsidian); }
.index-row .n { font-family: var(--mono); font-size: 13px; color: var(--wrk-pewter); }
.on-dark .index-row .n { color: var(--wrk-muted-d); }
.index-row .t { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.01em; }
.index-row .d { color: var(--wrk-body); font-size: 16px; line-height: 1.6; }
.on-dark .index-row .d { color: #EBE9E0; }
.index-row .arrow { font-family: var(--mono); font-size: 22px; text-align: right; }
@media (max-width: 760px) {
  .index-row { grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 8px 16px; padding: 24px 0; }
  .index-row .d { grid-column: 2 / 3; }
  .index-row .arrow { grid-row: 1; grid-column: 3; }
}

/* Cards / columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { border-top: 1px solid var(--wrk-carbon); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.on-dark .col { border-top-color: var(--wrk-paper); }
.col .n { font-family: var(--mono); font-size: 13px; color: var(--wrk-pewter); }
.on-dark .col .n { color: var(--wrk-muted-d); }
.col p { color: var(--wrk-body); font-size: 16px; }
.on-dark .col p { color: #EBE9E0; }
@media (max-width: 860px) { .cols, .cols.two { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.spec { border-top: 1px solid var(--wrk-carbon); }
.spec-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--wrk-hairline); align-items: baseline; }
.spec-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wrk-pewter); }
.spec-row dd { margin: 0; }
@media (max-width: 640px) { .spec-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Product panel */
.product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--wrk-hairline-d); }
.product > div { padding: clamp(28px, 4vw, 56px); }
.product .left { border-right: 1px solid var(--wrk-hairline-d); display: flex; flex-direction: column; gap: 24px; }
.product .name { font-family: var(--sans); font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.product ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wrk-hairline-d); }
.product li { padding: 14px 0; border-bottom: 1px solid var(--wrk-hairline-d); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; color: #EBE9E0; font-size: 16px; }
.product li .n { font-family: var(--mono); font-size: 12px; color: var(--wrk-muted-d); padding-top: 3px; }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } .product .left { border-right: 0; border-bottom: 1px solid var(--wrk-hairline-d); } }

/* Callout */
.cta { position: relative; padding: clamp(40px, 6vw, 72px); border: 1px solid var(--wrk-hairline); background: var(--wrk-paper); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
.cta .email { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.cta .email:hover { text-decoration: underline; text-decoration-color: var(--wrk-oxide); }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* Name story */
.etym { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--wrk-hairline); }
.etym > div { padding: 32px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--wrk-hairline); }
.etym > div:last-child { border-right: 0; background: var(--wrk-carbon); color: var(--wrk-paper); }
.etym .w { font-family: var(--serif); font-size: 52px; line-height: 1; }
.etym .w.m { font-family: var(--mono); font-size: 44px; font-weight: 500; }
.etym p { color: var(--wrk-body); font-size: 16px; }
.etym > div:last-child p { color: #EBE9E0; }
.etym > div:last-child .kicker { color: var(--wrk-muted-d); }
@media (max-width: 860px) { .etym { grid-template-columns: minmax(0, 1fr); } .etym > div { border-right: 0; border-bottom: 1px solid var(--wrk-hairline); } .etym > div:last-child { border-bottom: 0; } }

/* Prose (legal) */
.prose { max-width: 70ch; color: var(--wrk-body); }
.prose h2 { font-family: var(--sans); font-weight: 500; font-size: 20px; color: var(--wrk-carbon); margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }

/* ── Footer ── */
.site-footer { position: relative; background: var(--wrk-carbon); color: var(--wrk-paper); padding: 72px 0 40px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.site-footer .brand .mark { height: 56px; }
.site-footer .brand .wordmark { font-size: 39px; }
.site-footer h2 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wrk-muted-d); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--wrk-oxide); }
.site-footer .legal { border-top: 1px solid var(--wrk-hairline-d); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.7; color: var(--wrk-muted-d); }
.site-footer .triple { color: var(--wrk-paper); margin-bottom: 22px; }
@media (max-width: 860px) {
  .site-footer .top { grid-template-columns: minmax(0, 1fr); }
  .site-footer .brand .mark { display: none; }
  .site-footer .brand .mono-mark { display: block; height: 26px; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
