/* ── Tokens: Pitch Black High Contrast (Dark default) ─────────────────────────
   True black ground, stark white ink, platinum steel, and restrained surgical
   teal-emerald reserved for live status, voice highlights, and active cues. */
:root {
  --ground: #000000;
  --raised: #0a0c10;
  --surface: #0e1117;
  --line: #181b22;
  --line-strong: #2c313d;
  --ink: #f7f8fa;
  --ink-2: #a3a9b7;
  --ink-3: #747b8a;
  --voice: #2dd4a4;
  --voice-ink: #5eead4;
  --signal: #34d399;
  --signal-fill: #2dd4a4;
  --slate: #94a3b8;
  --shadow: 0 24px 64px rgba(0, 0, 0, .88);
  color-scheme: dark;

  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(20px, 5vw, 72px);
  --measure: 34rem;
}

/* ── Tokens: Crisp Architectural Paper (Light theme) ─────────────────────── */
:root[data-theme="light"] {
  --ground: #fafafa;
  --raised: #f1f3f6;
  --surface: #ffffff;
  --line: #e2e5ec;
  --line-strong: #c4cad6;
  --ink: #090a0c;
  --ink-2: #3f4552;
  --ink-3: #636b7a;
  --voice: #0f766e;
  --voice-ink: #0d6e66;
  --signal: #059669;
  --signal-fill: #10b981;
  --slate: #475569;
  --shadow: 0 20px 50px rgba(9, 10, 12, .12);
  color-scheme: light;
}

/* ── Reset & base ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; }

html {
  background: var(--ground);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  transition: background-color .2s, color .2s;
}

body {
  font: 400 17px/1.6 var(--sans);
  font-kerning: normal;
  background: var(--ground);
  color: var(--ink);
}

::selection { background: var(--voice); color: #000000; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 4px; }

.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; line-height: 1.7; }
.dim { color: var(--ink-3); }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }

/* ── Masthead ────────────────────────────────────────────────────────────── */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: color .2s;
}

.name:hover { color: var(--voice-ink); }
.mark { width: 22px; height: 22px; flex: none; color: var(--ink); transition: color .2s; }
.name:hover .mark { color: var(--voice-ink); }

.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
}

.nav-link {
  color: var(--ink-2);
  transition: color .2s;
}

.nav-link:hover { color: var(--ink); }

.tools-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.social-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--ink-3);
  transition: color .2s;
}

.icon-link:hover { color: var(--voice-ink); }
.icon-link svg { width: 15px; height: 15px; fill: currentColor; }

.cmdk-btn {
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color .2s, border-color .2s;
}

.cmdk-btn:hover {
  color: var(--signal);
  border-color: var(--voice);
}

.lang {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink-3);
  white-space: nowrap;
}

.lang-btn {
  padding: 0 2px;
  color: var(--ink-3);
  transition: color .2s;
}

.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline 1px var(--voice);
  text-underline-offset: 4px;
}

.theme {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--ink-3);
  transition: color .2s;
}

.theme:hover { color: var(--ink); }
.theme svg { width: 14px; height: 14px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
:root[data-theme="light"] .theme svg { transform: rotate(180deg); }

/* ── Opening Hero ────────────────────────────────────────────────────────── */
.open {
  position: relative;
  overflow: hidden;
  padding-block: clamp(68px, 13vh, 124px) clamp(54px, 9vh, 92px);
}

/* Subtle architectural blueprint dot-grid scoped strictly to the hero */
.open::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .42;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 78% at 62% 45%, #000 10%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 78% at 62% 45%, #000 10%, transparent 90%);
}

.open-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
}

.open h1 {
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.09;
  letter-spacing: -.025em;
  max-width: 14em;
}

.open h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.14em;
  font-weight: 400;
  color: var(--voice-ink);
  letter-spacing: -.01em;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 34px;
  color: var(--ink-3);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-fill);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal-fill) 20%, transparent);
}

.open-meta {
  text-align: right;
  color: var(--ink-2);
  padding-bottom: 4px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.meta-coords { color: var(--ink); }

/* ── 4 Pillar Doors ──────────────────────────────────────────────────────── */
.doors {
  border-block: 1px solid var(--line);
}

.doors .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  text-align: left;
  padding: 34px 30px 28px;
  border-left: 1px solid var(--line);
  transition: background-color .2s, border-color .2s;
}

.door:first-child { border-left: 0; padding-left: 0; }
.door:last-child { padding-right: 0; }

.door svg {
  grid-column: 1 / -1;
  width: 40px;
  height: 40px;
  margin-bottom: 64px;
  overflow: visible;
}

.door .s { fill: none; stroke: var(--ink-2); stroke-width: 2.6; transition: stroke .2s; }
.door .f { fill: var(--voice); transition: fill .2s; }

.dn {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.015em;
  transition: color .2s;
}

.da {
  color: var(--voice-ink);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), color .2s;
}

.dd {
  grid-column: 1 / -1;
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.door:hover .s,
.door[aria-pressed="true"] .s { stroke: var(--ink); }

.door:hover .dn,
.door[aria-pressed="true"] .dn { color: var(--voice-ink); }

.door:hover .da,
.door[aria-pressed="true"] .da {
  color: var(--signal);
  transform: translateX(6px);
}

.door[aria-pressed="true"] {
  background: var(--raised);
}

/* ── Selected Work & Writing Tables ──────────────────────────────────────── */
#work,
#writing {
  border-bottom: 1px solid var(--line);
}

#work .wrap { padding-block: clamp(68px, 10vh, 112px); }
#writing .wrap { padding-block: clamp(56px, 8vh, 88px); }

.head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.head-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
}

.head span { white-space: nowrap; }

h2 {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.filter-pill {
  padding: 2px 8px;
  border: 1px solid transparent;
  color: var(--ink-3);
  transition: color .2s, border-color .2s, background-color .2s;
}

.filter-pill:hover { color: var(--ink); }

.filter-pill[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--raised);
}

.index {
  width: 100%;
  border-collapse: collapse;
}

.index td {
  padding: 15px 24px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.index tr.work-row {
  cursor: pointer;
  transition: background-color .2s;
}

.index tr.work-row td:first-child {
  padding-left: 14px;
  box-shadow: inset 2px 0 0 transparent;
  transition: box-shadow .2s;
}

.index tr.work-row:hover,
.index tr.work-row.is-open {
  background: var(--raised);
}

.index tr.work-row:hover td:first-child,
.index tr.work-row.is-open td:first-child {
  box-shadow: inset 2px 0 0 var(--voice);
}

.index-writing tbody tr {
  transition: background-color .2s;
}

.index-writing tbody tr:hover {
  background: var(--raised);
}

.index td:first-child {
  width: 6.2rem;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

#work .index td:first-child { width: 4.8rem; }

.index td:nth-child(2) { width: 30%; }

.index td:nth-child(2) a {
  font-size: 19px;
  letter-spacing: -.01em;
  transition: color .2s;
}

.index tr:hover td:nth-child(2) a,
.index tr.is-open td:nth-child(2) a {
  color: var(--voice-ink);
}

.index td:nth-child(3) {
  font-size: 15px;
  color: var(--ink-2);
}

.index td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
  font-family: var(--mono);
  font-size: 12.5px;
}

.tag {
  color: var(--slate);
}

.expand-btn {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1;
  transition: color .2s, border-color .2s;
}

.work-row:hover .expand-btn,
.work-row.is-open .expand-btn,
.expand-btn:hover {
  color: var(--signal);
  border-color: var(--line-strong);
}

/* Expandable technical dossier row */
.work-detail td {
  padding: 18px 0 22px 18px;
  background: var(--raised);
  border-left: 2px solid var(--voice);
  border-bottom: 1px solid var(--line-strong);
}

.detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px 36px;
  align-items: start;
}

.detail-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.detail-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-chip {
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.detail-links a {
  color: var(--voice-ink);
  text-decoration: underline 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}

.detail-links a:hover { color: var(--signal); }
.detail-links a::after { content: " ->"; font-family: var(--mono); font-size: .9em; }

/* ── Elegant Editorial GitHub Hover Card (.peek) ─────────────────────────── */
.peek {
  position: fixed;
  left: 0;
  top: 0;
  width: min(410px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--voice);
  box-shadow: var(--shadow);
  pointer-events: none;
  opacity: 0;
  transform-origin: top left;
  transition: opacity .18s ease;
  z-index: 15;
}

.peek.on { opacity: 1; }

.peek-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.peek-repo {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peek-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  white-space: nowrap;
  flex: none;
}

.peek-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-fill);
}

.peek-content {
  padding: 15px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.peek-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  line-height: 1.25;
}

.peek-summary {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.peek-highlight {
  padding: 9px 11px;
  background: var(--raised);
  border-left: 2px solid var(--voice);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink);
}

.peek-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.peek-stack .detail-chip {
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  line-height: 1.45;
  color: var(--slate);
}

.peek-foot {
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ── About & Contact ─────────────────────────────────────────────────────── */
.meet {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 7vw, 120px);
  padding-block: clamp(68px, 10vh, 112px);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 34em;
}

.career {
  list-style: none;
  padding: 0;
  margin-top: 34px;
}

.career-compact { margin-top: 0; }

.career li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-block: 5px;
  font-size: 15px;
  color: var(--ink-2);
}

.career .when {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

.career b {
  font-weight: 500;
  color: var(--ink);
}

.career .now .when { color: var(--signal); }

.stack-strip {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stack-label { margin-bottom: 12px; }

.stack-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: var(--ink-2);
}

.stack-list li { position: relative; }

.mail {
  display: inline-block;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--voice-ink);
  transition: color .2s;
}

.mail:hover { color: var(--signal); }

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 12px;
}

.copy-btn {
  padding: 0;
  color: var(--ink-2);
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}

.copy-btn:hover {
  color: var(--voice-ink);
  text-decoration-color: currentColor;
}

.copy-status {
  color: var(--signal);
  user-select: all;
}

.hire {
  margin-top: 20px;
  color: var(--ink-2);
  max-width: 34ch;
}

.elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 28px;
}

.elsewhere a {
  color: var(--ink-2);
  text-decoration: underline 1px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}

.elsewhere a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer.ft {
  display: block;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.ft p { margin: 0; max-width: none; }

.ft a {
  color: var(--ink-2);
  transition: color .2s;
}

.ft a:hover { color: var(--voice-ink); }

.ft .k {
  color: var(--ink-3);
  margin-bottom: 10px;
}

.ft-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-block: 36px 44px;
}

.ft-cols ul { list-style: none; padding: 0; }
.ft-cols b { font-weight: 500; color: var(--ink); }

.ft-cmdk { margin-top: 10px !important; }

.ft-cmdk-btn {
  padding: 0;
  color: var(--ink-3);
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 4px;
  transition: color .2s;
}

.ft-cmdk-btn:hover { color: var(--signal); }

/* ── Command Palette Modal ───────────────────────────────────────────────── */
.cmdk-backdrop[hidden] { display: none; }

.cmdk-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: start center;
  padding: clamp(48px, 12vh, 110px) 16px 24px;
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  backdrop-filter: blur(6px);
}

.cmdk-dialog {
  width: min(100%, 580px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.cmdk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.cmdk-close {
  padding: 2px 6px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11px;
  transition: color .2s;
}

.cmdk-close:hover { color: var(--ink); }

.cmdk-input {
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--ground);
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.cmdk-input::placeholder { color: var(--ink-3); }

.cmdk-list {
  list-style: none;
  padding: 6px;
  max-height: min(52vh, 340px);
  overflow-y: auto;
}

.cmdk-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  transition: background-color .12s, color .12s;
}

.cmdk-item:hover,
.cmdk-item[aria-selected="true"] {
  background: var(--ground);
  color: var(--voice-ink);
}

.cmdk-item-title { font-size: 14.5px; }

.cmdk-item-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.cmdk-empty {
  padding: 16px 10px;
  color: var(--ink-3);
}

.cmdk-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}

.cmdk-foot kbd {
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
}

/* ── Responsive rules ────────────────────────────────────────────────────── */
@media (hover: none) {
  .peek { display: none; }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .doors .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door:nth-child(3) { border-left: 0; padding-left: 0; }
  .door:nth-child(2) { padding-right: 0; }
  .door:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .open-grid { grid-template-columns: 1fr; }
  .open-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    text-align: left;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 14px;
  }
  .meet { grid-template-columns: 1fr; }
  .index td:nth-child(3) { display: none; }
  .detail-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .peek { display: none; }
  .doors .wrap { grid-template-columns: 1fr; }
  .door {
    padding-inline: 0;
    padding-block: 22px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .door:first-child { border-top: 0; }
  .door svg { width: 32px; height: 32px; margin-bottom: 18px; }
  .head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .top {
    padding-block: 16px 0;
    row-gap: 12px;
  }

  .top nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    padding-block: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-link { display: none; }

  .tools-group {
    width: 100%;
    justify-content: space-between;
    padding-left: 0;
    border-left: 0;
  }

  .open { padding-block: 48px 40px; }
  .open h1 { font-size: 32px; text-wrap: balance; }
  .facts { flex-direction: column; gap: 4px; margin-top: 24px; }

  .door {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 14px;
    padding-block: 18px;
  }

  .door svg {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 28px;
    height: 28px;
    margin: 3px 0 0;
  }

  .dn { grid-column: 2; font-size: 22px; }
  .da { grid-column: 3; grid-row: 1; }
  .dd { grid-column: 2 / -1; margin-top: 0; font-size: 14px; }

  #work .wrap { padding-block: 52px; }
  #writing .wrap { padding-block: 44px; }
  .index td { padding: 13px 12px 13px 0; }
  .index td:first-child { width: 4.5rem; }
  #work .index td:first-child { width: 3.9rem; padding-left: 10px; }
  .index td:nth-child(2) { width: auto; }
  .index td:nth-child(2) a { font-size: 17px; }
  .expand-btn { margin-left: 8px; }

  .meet { padding-block: 52px; gap: 52px; }
  .lede { font-size: 17.5px; }
  .career li { grid-template-columns: 1fr; gap: 0; padding-block: 7px; }
  .mail { font-size: 5.8vw; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
