/* Hallmark · shape: Feature Ledger (one engineer read as a device, a log, four device families, two projects, the tools and the address) · genre: modern-minimal · theme: Vantage (by request) · vantage: object/steel · job: hire, a mailto in the hero and the address as the close
 * hero: Stage, the head on plain ground left, a KIOSK as a generated point cloud turning in a tick frame right · nav: edge-aligned, the wordmark and five in-page links · footer: colophon, one line under a hairline · imagery: the generated KIOSK cloud, one capture of the real app (spwork week calendar) · signature: the KIOSK in points with a sweep passing down it, the card reader the one lime thing
 * sections: hero Stage, table of the career as a scan log with the live row marked, switcher of four device families, split with the spwork capture, quiet paper-2 band with the nswork tree, table of tools against employers, contact with the address in ticks, footer colophon
 * axes: dark/grotesk-sans/chromatic-lime · posture: restrained · contrast: pass · fold: pass · deal: manual (theme.mjs not run in this environment) */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a point cloud is the theme's material, not this person's; made it the device he builds (a KIOSK) and captioned it as generated, not a scan */
/* Hallmark · waive 80 · the KIOSK cloud is a generated point set on canvas, named by aria-label and caption · Vantage's material is a cloud of the thing itself and the thing here is the KIOSK he programs */
@import url("tokens.css?v=20261102w");
@import url("base.css?v=20261102w");

/* ---------- page ---------- */
body { font-weight: 300; font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); font-variation-settings: "SHRP" 0; word-break: keep-all; }
h1, h2, h3 { color: var(--color-ink); font-weight: var(--display-weight); font-variation-settings: "SHRP" 100; letter-spacing: var(--tracking-display); line-height: 1.05; }
h1 { font-size: clamp(2.875rem, 3.6vw + 1rem, 4.25rem); line-height: 1.04; max-width: none; letter-spacing: -0.04em; }
h3 { font-weight: 400; letter-spacing: -0.02em; }
.num { font-weight: 400; font-variant-numeric: tabular-nums; }
.keep { white-space: nowrap; }

a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); text-underline-offset: 0.18em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* corner ticks: a hairline frame drawn only at its corners */
.ticks { position: relative; }
.ticks::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: var(--rule-hair) solid var(--color-rule-2); -webkit-mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--line { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.btn--line:hover { background: var(--color-paper-2); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }

/* ---------- nav ---------- */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.wordmark { font: 400 var(--text-lg)/1 var(--font-display); font-variation-settings: "SHRP" 100; letter-spacing: -0.02em; text-decoration: none; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font: 400 var(--text-sm)/1 var(--font-body); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { color: var(--color-ink); }
.nav__mail { color: var(--color-ink); }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 65px); display: grid; align-items: center; padding-block: var(--space-xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero .lead { max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.hero__figure { margin: 0; padding: var(--space-md); }
.cloud { display: block; width: 100%; height: min(62svh, 600px); min-height: 360px; background: var(--color-paper); }
.hero__figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
html:not(.js) [data-loop-toggle] { display: none; }
@media (prefers-reduced-motion: reduce) { [data-loop-toggle] { display: none; } }

/* ---------- record: the scan log ---------- */
.record { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.record__head, .work__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; }

table { width: 100%; border-collapse: collapse; }
thead th { padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); text-align: left; white-space: nowrap; }
tbody td, tbody th { padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }
tbody th { font: 400 var(--text-md)/1.4 var(--font-body); color: var(--color-ink); }
tbody tr:first-child td, tbody tr:first-child th { border-top: 0; }
.ledger { margin-top: var(--space-2xl); }
.ledger td.num, .ledger td[data-label="끝"] { width: 8rem; color: var(--color-ink); }
.live { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--color-accent); flex-shrink: 0; }

/* ---------- work: switcher ---------- */
.work { padding-block: var(--section-gap) var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.switch { margin-top: var(--space-2xl); }
.seg { display: none; }
.switch.is-ready .seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.seg button { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button:hover { color: var(--color-ink); background: var(--color-paper-2); }
.seg button[aria-selected="true"] { color: var(--color-ink); background: var(--color-paper-3); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg button:active { transform: translateY(1px); }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }

.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); margin-top: var(--space-xl); padding: var(--space-2xl) var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-card); }
.panel__text { display: grid; gap: var(--space-md); align-content: start; }
.panel__text h3 { font-size: var(--text-2xl); font-weight: 300; font-variation-settings: "SHRP" 100; letter-spacing: -0.03em; }

.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div:first-child { border-top-color: var(--color-rule-2); }
.facts dt { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); padding-top: var(--space-3xs); }
.facts dd { margin: 0; color: var(--color-ink); }
.panel .facts > div { border-top-color: var(--color-rule-2); }

/* ---------- project: spwork ---------- */
.project { padding-block: var(--section-gap-s) var(--section-gap); }
.project__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.shot { margin: 0; padding: var(--space-md); }
.shot img { width: 100%; border-radius: var(--radius-card); filter: saturate(0.8) contrast(1.06); }
.shot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.project__text { display: grid; gap: var(--space-lg); }

/* ---------- band: nswork ---------- */
.band { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.band .lead { color: var(--color-ink-2); margin-top: var(--space-md); }
.band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.tree { margin: 0; }
.tree dl { margin: 0; border-top: var(--rule-hair) solid var(--color-muted); }
.tree dl > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.tree dt { font-weight: 400; color: var(--color-ink); }
.tree dd { margin: 0; color: var(--color-ink-2); }
.tree figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- tools ---------- */
.tools { padding-block: var(--section-gap-l) var(--section-gap); }
.tools__table { margin-top: var(--space-2xl); }
.tools__table tbody td, .tools__table tbody th { padding-block: var(--space-lg); }
.tools__table thead th:first-child, .tools__table tbody th { width: 22%; }
.tools__table td:last-child { color: var(--color-muted); }

/* ---------- contact ---------- */
.contact { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.contact__mail { display: inline-block; margin-top: var(--space-xl); padding: var(--space-lg) var(--space-xl); font: 300 var(--text-section)/1.1 var(--font-display); font-variation-settings: "SHRP" 100; letter-spacing: -0.03em; overflow-wrap: break-word; min-width: 0; max-width: 100%; }
.contact__mail a { text-decoration-thickness: 1px; text-decoration-color: var(--color-accent); text-underline-offset: 0.16em; }
.contact__mail a:hover { text-decoration-thickness: 2px; }

/* ---------- footer ---------- */
.footer { padding-block: var(--space-xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- one fade-up, once ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js .hero__text > * { animation: rise var(--dur-long) var(--ease-out) both; }
.js .hero__text > :nth-child(2) { animation-delay: 80ms; }
.js .hero__text > :nth-child(3) { animation-delay: 160ms; }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .hero { min-height: auto; padding-block: var(--space-2xl) var(--space-xl); }
  .hero__grid, .record__head, .work__head, .panel, .project__grid, .band__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { gap: var(--space-xl); }
  .cloud { height: 52svh; min-height: 320px; }
  .record__head, .work__head, .band__grid, .contact__grid { gap: var(--space-lg); }
  .project__grid { gap: var(--space-xl); }
  .project__text { order: -1; }
  .panel { gap: var(--space-xl); padding: var(--space-xl) var(--space-lg); }
  .nav__links li:not(:last-child) { display: none; }
  .nav__links a { font-size: var(--text-md); }
}
@media (max-width: 40rem) {
  .hero__figure figcaption { flex-direction: column; align-items: flex-start; }
  .ledger thead, .tools__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ledger tbody tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: var(--space-sm); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
  .ledger tbody tr:first-child { border-top: 0; }
  .ledger tbody td, .ledger tbody th { padding: 0; border: 0; width: auto; }
  .ledger tbody th { grid-column: 1 / -1; grid-row: 1; font-size: var(--text-lg); }
  .ledger td.num, .ledger td[data-label="끝"] { grid-row: 2; font-size: var(--text-sm); }
  .ledger td[data-label="끝"]::before { content: "부터 "; color: var(--color-muted); }
  .ledger td[data-label="직책"] { grid-row: 2; grid-column: 3; justify-self: end; font-size: var(--text-sm); color: var(--color-muted); }
  .ledger td[data-label="한 일"] { grid-column: 1 / -1; padding-top: var(--space-2xs); }
  .tools__table tbody tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
  .tools__table tbody td, .tools__table tbody th { padding: 0; border: 0; width: auto; }
  .tools__table tbody th { font-size: var(--text-lg); }
  .facts > div, .tree dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .contact__mail { padding: var(--space-md); font-size: var(--text-2xl); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .seg button, a { transition: none; }
  .js .hero__text > * { animation: none; }
}
