/* Tyxo Labs: split hero with a small turning emblem, then quiet two-column rows (mono label | content) divided by hairlines. */

/* self-hosted (SIL OFL): Commissioner variable 300–800, JetBrains Mono variable 400–500 */
@font-face{font-family:"Commissioner";font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/commissioner-var-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"Commissioner";font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/commissioner-var-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Commissioner";font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/commissioner-var-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400 500;font-display:swap;src:url(/fonts/jetbrains-mono-var-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --bg: #0c0908;
  --line: #2a221c;
  --fg: #f1e8dc;
  --body: #d6c9b8;
  --dim: #8a7b6a;
  --accent: #f2a93b;
  --accent-ink: #1a1006;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: rgba(242,169,59,.35); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left)); }
.label { font: 500 11px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(12,9,8,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px #3a2c22; }
.wm { font-weight: 700; font-size: 25px; letter-spacing: -.02em; line-height: 1; }
.wm .chi { color: var(--fg); }
.brand .labs { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 4px; }
.nav { display: flex; gap: 6px 24px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--body); padding-block: 4px; }
.nav a:hover { color: var(--fg); }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 72px; align-items: center; padding-block: 80px 88px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; font-weight: 650; letter-spacing: -.03em; text-wrap: balance; margin-top: 16px; max-width: 15ch; }
.lede { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f6bb62; }
.btn-quiet { border-color: #43362c; color: var(--fg); }
.btn-quiet:hover { border-color: var(--accent); }
.emblem { width: 264px; max-width: 100%; aspect-ratio: 1; position: relative; margin-right: 12px; }
.emblem::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid #33281f; }
.emblem img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 64px -28px rgba(242,169,59,.25); will-change: transform; }

/* rows */
.row { border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.row > .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 48px; padding-block: 56px; }
.row > .wrap > .label { padding-top: 7px; }
.row-body { display: grid; gap: 22px; min-width: 0; }
.row h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.text { color: var(--body); font-size: 18px; max-width: 58ch; }

/* in the lab */
.lab { width: 100%; border-collapse: collapse; font-size: 16px; }
.lab th { text-align: left; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); }
.lab td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; color: var(--body); }
.lab .n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .1em; width: 3.2em; }
.lab .what { color: var(--fg); font-weight: 600; }
.redacted { display: inline-block; width: 5.4em; height: .95em; margin-right: 12px; vertical-align: -.1em; background: #e9dfd2; border-radius: 1px; }
.status { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--accent); white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(242,169,59,.15); margin-right: 9px; vertical-align: .05em; }

/* contact */
.hello { font-size: clamp(30px, 4vw, 44px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
.mail { font: 500 clamp(18px, 2.2vw, 22px)/1.3 var(--mono); color: var(--accent); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; padding-bottom: 3px; }
.mail:hover { background-size: 0 1px; }
.post { color: var(--body); font-size: 16px; line-height: 1.6; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #090706; }
.foot .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 44px 30px; font-size: 14px; line-height: 1.6; color: var(--body); }
.foot .grid > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot .label { margin-bottom: 4px; }
.foot strong { color: var(--fg); font-weight: 600; }
.foot a { text-decoration-color: #5a4630; text-underline-offset: 3px; }
.foot .base { border-top: 1px solid var(--line); padding-block: 18px max(28px, env(safe-area-inset-bottom)); font: 400 12px/1.4 var(--mono); color: var(--dim); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 44px 60px; }
  .emblem { width: 168px; margin: 12px 0 0 12px; grid-row: 1; }
  .row > .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 44px; gap: 12px; }
  .row > .wrap > .label { padding-top: 0; }
  .foot .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lab thead { display: none; }
  .lab, .lab tbody, .lab tr, .lab td { display: block; }
  .lab tr { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 4px 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .lab tr:first-child { border-top: 1px solid var(--line); }
  .lab td { padding: 0; border: 0; }
  .lab .n { grid-row: 1 / span 3; width: auto; padding-top: 4px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .lede, .text { font-size: 17px; }
  .foot .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
