@font-face {
  font-family: "Azeret Mono";
  src: url("assets/azeret-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink-rgb: 17 19 19;
  --accent-rgb: 159 195 148;
  --accent-hover: #c2dbba;
  --accent-wash: rgb(var(--accent-rgb) / .08);
  --accent-border: rgb(var(--accent-rgb) / .32);
  --ink: rgb(var(--ink-rgb));
  --cream: #edf0ef;
  --body: #c6cbca;
  --muted: #a6adac;
  --copper: var(--accent);
  --sage: var(--accent);
  --rule: #ffffff21;
  --focus: var(--accent-hover);
  --page-gutter: clamp(1.25rem, 5.8vw, 5.5rem);
  --header-height: 4.5rem;
  --kw: #89b482;
  --type: #7daea3;
  --fn: #d3869b;
  --attr: #e78a4e;
  --str: #a9b665;
  --op: #ea6962;
  --punct: #d4be98;
  --solid: #272a2a;
  --pane: linear-gradient(126deg, #ffffff12, #ffffff04 62%, #ffffff08), #191b1bb8;
  --blur: 12px;
  --glass-border: #ffffff35;
  --tint: 190 195 192;
  --accent: rgb(var(--accent-rgb));
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: calc(var(--header-height) + 1rem); }
body {
  margin: 0;
  min-inline-size: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Azeret Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-size-adjust: .544;
  line-height: 1.65;
  overflow-wrap: break-word;
}
button, input, code, pre, kbd { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p, pre, ul { margin: 0; }
button { border: 0; }
img { display: block; max-inline-size: 100%; block-size: auto; }
.icon-sprite { position: absolute; overflow: hidden; pointer-events: none; }
.icon { inline-size: 1.18em; block-size: 1.18em; flex: none; vertical-align: middle; }
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
::selection { background: var(--accent); color: var(--ink); }
.wrap { inline-size: min(76rem, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 30;
  padding: .55rem 1rem;
  background: var(--focus);
  color: var(--ink);
}
.pixel { image-rendering: pixelated; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  border-block-end: 1px solid var(--rule);
  background: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-block-size: var(--header-height); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  flex: none;
  font-size: 1.25rem;
  letter-spacing: -.065em;
  font-weight: 640;
  line-height: 1;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border: 1px solid white;
  border-radius: .47rem;
  color: white;
  background: linear-gradient(140deg, rgb(var(--accent-rgb) / .145), rgb(var(--accent-rgb) / .039));
  box-shadow: inset 0 1px #ffffff0c;
  font-size: 1.05rem;
  font-weight: 620;
  letter-spacing: -.1em;
  padding-inline-end: .13em;
}
.brand-ext { color: var(--copper); }
.main-nav { display: flex; align-items: center; gap: clamp(.38rem, 1.15vw, 1.4rem); }
.main-nav a, .menu-toggle { font-size: .875rem; line-height: 1.3; }
.section-link { display: inline-flex; align-items: center; min-block-size: 2.75rem; padding: .4rem .6rem; color: var(--body); }
.section-link:hover { color: var(--cream); }
.section-link[aria-current="location"] { color: var(--copper); }
.contact-link, .menu-toggle {
  display: inline-flex;
  gap: .58rem;
  align-items: center;
  justify-content: center;
  min-block-size: 2.5rem;
  padding: .55rem .95rem;
  border-radius: .5rem;
}
.contact-link {
  color: color;
  border: 1px solid var(--accent-border);
  background: linear-gradient(125deg, rgb(var(--accent-rgb) / .086), rgb(var(--accent-rgb) / .027));
  margin-inline-start: .6rem;
}
.contact-link:hover, .contact-link[aria-current="location"] { background-color: rgb(var(--accent-rgb) / .18); }
.menu-toggle { border: 1px solid var(--glass-border); background: var(--solid); }
.menu-toggle .close-glyph, .menu-toggle[aria-expanded="true"] .menu-glyph { display: none; }
.menu-toggle[aria-expanded="true"] .close-glyph { display: block; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  border-block-end: 1px solid var(--rule);
  background: var(--ink);
}
.hero-art, .hero::before {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
}
.hero-art { z-index: -2; object-fit: cover; object-position: 65% 52%; }
.hero::before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgb(var(--ink-rgb) / .40) 0%, transparent 20%),
    linear-gradient(90deg, rgb(var(--ink-rgb) / .96) 0%, rgb(var(--ink-rgb) / .92) 21%, rgb(var(--ink-rgb) / .74) 40%, rgb(var(--ink-rgb) / .28) 59%, transparent 78%);
}
.hero-layout {
  min-block-size: clamp(32.5rem, 39.4vw, 37rem);
  padding-block: clamp(3.4rem, 4.15vw, 4.7rem);
  display: grid;
  grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 5.25rem);
}
.hero-copy { min-inline-size: 0; }
.command-label {
  display: flex;
  align-items: baseline;
  gap: .58rem;
  width: fit-content;
  margin-block-end: .9rem;
  color: var(--body);
  font-size: .9rem;
  letter-spacing: .015em;
}
.command-label span { color: var(--copper); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(3.75rem, 6.46vw, 5.9rem);
  line-height: 1.005;
  font-weight: 640;
  letter-spacing: -.083em;
}
.hero h1 > span { color: inherit; }
.name-period { color: var(--attr); }
.hero .role {
  margin-block-start: 1.25rem;
  font-size: clamp(.99rem, 1.22vw, 1.125rem);
  color: var(--cream);
  font-weight: 480;
  letter-spacing: -.045em;
}
.hero .intro {
  margin-block-start: .6rem;
  max-inline-size: 43ch;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .78rem; margin-block-start: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .66rem;
  border: 1px solid transparent;
  border-radius: .51rem;
  min-block-size: 2.85rem;
  padding: .72rem 1.1rem;
  font-size: .895rem;
  line-height: 1.35;
  letter-spacing: -.028em;
  font-weight: 540;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .18s ease;
}
.button-primary { background-color: var(--accent); color: var(--ink); border-color: var(--accent); box-shadow: 0 4px 14px #00000026, inset 0 1px #ffffff33; }
.button-primary:hover { background-color: var(--accent-hover); box-shadow: 0 4px 20px #00000033; }
.button-quiet { background: #252828df; border-color: #707776; color: var(--cream); box-shadow: inset 0 1px #ffffff0b; }
.button-quiet:hover { background-color: #343838; border-color: var(--muted); }

.hero-actions .button-quiet {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.hero-actions .button-quiet:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent);
}

.glass, .prose pre {
  background: var(--solid);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px #ffffff11, 0 9px 26px #00000020;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .prose pre {
    background: var(--pane);
    -webkit-backdrop-filter: blur(var(--blur));
    backdrop-filter: blur(var(--blur));
  }
  .site-header { background: rgb(var(--ink-rgb) / .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .button-quiet { -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
}
.portfolio-window {
  min-inline-size: 0;
  border-color: var(--glass-border);
  border-radius: .94rem;
  box-shadow: 0 20px 45px #00000066, 0 1px 3px #00000088, inset 0 1px #ffffff25;
  overflow: hidden;
}
.editor {
  justify-self: end;
  inline-size: min(100%, 29.35rem);
  margin-block-start: 1.3rem;
}
.window-bar {
  display: grid;
  grid-template-columns: 1fr minmax(0,auto) 1fr;
  align-items: center;
  min-block-size: 2.85rem;
  padding-inline: 1.1rem .8rem;
  border-block-end: 1px solid #ffffff2c;
  background: linear-gradient(100deg, #ffffff10, #ffffff09);
}
.window-dots { display: inline-flex; gap: .36rem; }
.window-dots i { inline-size: .65rem; block-size: .65rem; border-radius: 50%; background: #e68a76; box-shadow: inset 0 1px #ffffff2b; }
.window-dots i:nth-child(2) { background: #dcb572; }
.window-dots i:nth-child(3) { background: #91ad79; }
.window-title { font-size: .79rem; color: var(--body); letter-spacing: -.025em; }
.window-copy, .enter-key {
  display: grid;
  place-items: center;
  justify-self: end;
  color: var(--body);
  background: transparent;
  border-radius: .32rem;
}
.window-copy { inline-size: 2rem; min-block-size: 2rem; font-size: .89rem; }
.window-copy:hover, .enter-key:hover { color: var(--cream); background: #ffffff12; }
.window-copy:focus-visible, .enter-key:focus-visible { outline-offset: -2px; }
.editor-screen {
  --code-size: clamp(.85rem, 1.12vw, .98rem);
  --line: 1.62;
  font-size: var(--code-size);
  line-height: var(--line);
  padding: 1.13rem 1.15rem 1.1rem;
  block-size: calc(8em * var(--line) + 2.23rem);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #858c8b var(--solid);
}
.editor pre { margin: 0; color: #e1cba5; letter-spacing: -.035em; }
.editor pre code { display: block; white-space: normal; }
.code-line { display: flex; align-items: baseline; min-inline-size: max-content; }
.line-number { flex: 0 0 1.8rem; text-align: start; font-size: .83em; color: var(--muted); user-select: none; }
.line-text { white-space: pre; }
.syntax-kw { color: #9fc394; color: var(--accent); }
.syntax-type { color: #9acabe; color: color-mix(in srgb, var(--type) 65%, #d7efda); }
.syntax-fn { color: #e3a7b8; color: color-mix(in srgb, var(--fn) 73%, #ffe3e4); font-style: italic; }
.syntax-attr { color: #ecaa76; color: color-mix(in srgb, var(--attr) 68%, #ffdfbc); }
.syntax-str { color: #c2d08c; color: color-mix(in srgb, var(--str) 65%, #e2edbe); }
.syntax-op { color: #ee9988; color: color-mix(in srgb, var(--op) 66%, #ffcfb6); }
.terminal-form { display: flex; align-items: center; gap: .62rem; min-block-size: 2.8rem; padding-inline: 1.11rem .8rem; border-block-start: 1px solid var(--rule); background: #11131344; }
.terminal-chevron { color: var(--accent); font-weight: 650; }
.terminal-form input {
  flex: 1 1 0;
  min-inline-size: 0;
  border: none;
  border-radius: .2rem;
  padding: .4rem .15rem;
  background: transparent;
  color: var(--cream);
  caret-color: var(--accent);
  font-size: .8rem;
}
.terminal-form input::placeholder { color: var(--body); opacity: .9; }
.terminal-form input:focus-visible { outline-offset: 1px; outline-width: 1px; }
.enter-key { inline-size: 1.85rem; block-size: 1.65rem; border: 1px solid #707776; }
.enter-key .icon { inline-size: .85rem; block-size: .85rem; }
.shell-output { color: var(--cream); font-size: .91em; padding-inline: .16rem; }
.shell-output > * + * { margin-block-start: .43em; }
.shell-output .echo { color: var(--copper); }
.shell-output .command-links { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.shell-output a, .shell-restore { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.shell-restore { display: inline-block; padding: .1rem 0; background: transparent; font-size: .95em; }
.shell-output a:hover, .shell-restore:hover { color: var(--cream); }

.workbench {
  display: flow-root;
  background:
    radial-gradient(ellipse 65% 20% at 50% 14%, #ffffff0e, transparent 90%),
    radial-gradient(ellipse 47% 27% at 89% 51%, #ffffff08, transparent 90%),
    var(--ink);
}
.section { padding-block-start: clamp(3.15rem, 4.7vw, 4.5rem); }
.section-heading { display: flex; align-items: center; gap: 1.35rem; margin-block-end: 1.6rem; }
.section-heading h2, .contact-screen h2 { font-size: clamp(1.8rem, 2.7vw, 2.55rem); line-height: 1.18; font-weight: 570; letter-spacing: -.075em; }
.section-slashes { color: var(--attr); font-size: .82em; font-weight: 400; letter-spacing: -.15em; margin-inline-end: .03em; }
.section-rule { height: 1px; flex: 1; background: linear-gradient(to right, var(--glass-border), #ffffff0d); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.3rem), 1fr)); gap: clamp(1rem, 1.6vw, 1.55rem); }
.skill-card, .project-card {
  border-color: var(--glass-border);
  border-radius: .83rem;
}
.skill-card { display: flex; flex-direction: column; align-items: start; min-inline-size: 0; padding: clamp(1.15rem, 1.8vw, 1.65rem); }
.skill-top { display: flex; align-items: center; gap: .85rem; }
.tool-icon, .post-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--accent-border);
  border-radius: .53rem;
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / .19), rgb(var(--accent-rgb) / .045));
  color: var(--accent);
  box-shadow: inset 0 1px #ffffff11;
}
.tool-icon { inline-size: 2.45rem; block-size: 2.45rem; }
.tool-icon .icon { inline-size: 1.3rem; block-size: 1.3rem; }
.skill-card h3, .project-card h3 { color: var(--cream); font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 570; line-height: 1.4; letter-spacing: -.06em; }
.skill-card > p, .project-card > p {
  color: var(--body);
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: -.047em;
  text-wrap: pretty;
}
.skill-card > p { margin-block: 1rem 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem .42rem; padding: 0; list-style: none; }
.tags li {
  border-radius: .34rem;
  padding: .22rem .48rem;
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: .8rem;
  line-height: 1.35;
  letter-spacing: -.04em;
}
.skill-card .tags { margin-block-start: auto; }
.project-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-inline-size: 0;
  position: relative;
  padding-block-end: 1.37rem;
  transition: border-color .15s, box-shadow .18s;
}
.project-card > :not(img) { margin-inline: clamp(1.12rem, 1.62vw, 1.5rem); }
.project-card .project-art { inline-size: 100%; aspect-ratio: 408/176; object-fit: fill; border-radius: .78rem .78rem 0 0; border-block-end: 1px solid var(--rule); }
.project-card header { margin-block: 1.15rem .55rem; }
.project-card .tags { margin-block-start: auto; padding-block-start: 1.1rem; }
.project-card .card-link::after, .post-name a::after { content: ""; position: absolute; inset: 0; border-radius: .8rem; }
.project-card:focus-within, .project-card:hover { border-color: rgb(var(--accent-rgb) / .62); box-shadow: 0 10px 30px #0000002e, inset 0 1px rgb(var(--accent-rgb) / .2); }
.project-card:focus-within h3, .project-card:hover h3, .post-row:hover h3 { color: var(--accent); }

.post-list { border-radius: .85rem; padding-inline: clamp(1.2rem, 2.4vw, 2.25rem); }
.post-row { position: relative; display: flex; align-items: center; gap: 1.05rem; padding-block: 1.24rem; }
.post-row + .post-row { border-block-start: 1px solid var(--rule); }
.post-icon { inline-size: 2.35rem; block-size: 2.65rem; }
.post-icon .icon { inline-size: 1.2rem; block-size: 1.2rem; }
.post-name { min-inline-size: 0; }
.post-name .category, .detail-category { font-size: .79rem; color: var(--accent); letter-spacing: .012em; }
.post-name h3 { font-size: clamp(1.01rem, 1.4vw, 1.25rem); line-height: 1.42; font-weight: 510; letter-spacing: -.055em; margin-top: .12rem; }
.post-name a:focus-visible::after { outline: 1px solid var(--focus); outline-offset: .1rem; }
.post-meta { display: inline-flex; align-items: center; gap: .55rem; flex: none; font-size: .8rem; color: var(--muted); margin-inline-start: auto; }
.post-meta .icon { inline-size: 1.02rem; }

.contact-section { padding-block-end: clamp(3.2rem, 5vw, 5.5rem); }
.contact-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4.5rem) clamp(.75rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
}
.contact-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}
.contact-terminal { inline-size: min(100%, 39rem); }
.contact-terminal .window-title { display: inline-flex; align-items: center; gap: .45rem; }
.contact-screen { padding: clamp(1rem, 3vw, 2rem); }
.contact-command {
  margin-block-end: 1rem;
  color: var(--cream);
  font-size: .9rem;
  letter-spacing: -.035em;
}
.contact-command span { color: var(--sage); }
.contact-screen h2 span { color: var(--copper); }
.contact-note { margin-block-start: .65rem; max-inline-size: 46ch; color: var(--body); }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; margin-block-start: 1rem; }
.email-link {
  max-inline-size: 100%;
  padding-block: .4rem;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: .22em;
  overflow-wrap: anywhere;
}
.copy-address {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-block-size: 2.5rem;
  padding: .35rem .7rem;
  border: 1px solid var(--accent-border);
  border-radius: .4rem;
  background: #ffffff07;
  color: var(--cream);
  font-size: .85rem;
}
.email-link:hover { color: var(--cream); }
.copy-address:hover { background: #ffffff14; }
.page-footer { border-block-start: 1px solid var(--rule); background: var(--ink); }
.footer-inner { min-block-size: 5.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.35rem; }
.page-footer .brand { font-size: 1.02rem; gap: .55rem; }
.page-footer .brand-mark { inline-size: 1.65rem; block-size: 1.65rem; font-size: .86rem; }
.page-footer small, .top-link { font-size: .79rem; color: var(--muted); }
.top-link { padding-block: .55rem; }
.top-link:hover, .index-link:hover { color: var(--copper); }

.detail-main {
  background: radial-gradient(ellipse 65% 22rem at 55% 0%, #ffffff0c, transparent);
  min-block-size: 78vh;
  padding: clamp(2.7rem, 5vw, 5.5rem) var(--page-gutter) clamp(3rem, 6vw, 6rem);
}
.detail-wrap { max-inline-size: 49rem; margin-inline: auto; }
.index-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--body); font-size: .875rem; padding-block: .5rem; margin-block-end: 2rem; text-decoration: underline; text-underline-offset: .3em; }
.detail-category { margin-block-end: .6rem; }
.detail-wrap h1 { font-size: clamp(2.35rem, 5vw, 4.15rem); line-height: 1.14; font-weight: 610; letter-spacing: -.08em; text-wrap: balance; }
.detail-intro { color: var(--body); line-height: 1.75; font-size: clamp(1rem, 2vw, 1.16rem); letter-spacing: -.04em; margin-block: 1.4rem; text-wrap: pretty; }
.detail-art { margin-block: 1.8rem; inline-size: 100%; max-block-size: 18rem; object-fit: fill; border: 1px solid var(--glass-border); border-radius: .75rem; }
.prose { color: var(--body); }
.prose section { margin-block-start: 2rem; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.4; color: var(--cream); font-weight: 560; letter-spacing: -.06em; margin-block-end: .55rem; }
.prose p { font-size: 1rem; line-height: 1.85; letter-spacing: -.028em; text-wrap: pretty; }
.prose p + p { margin-block-start: 1.1rem; }
.prose :not(pre) > code, .repository code { color: var(--accent); background: var(--accent-wash); padding: .08em .25em; border-radius: .2rem; overflow-wrap: anywhere; }
.prose pre { border-radius: .6rem; padding: 1rem; margin-block: 1.1rem; overflow-x: auto; line-height: 1.65; color: var(--body); font-size: .9rem; }
.prose a { text-decoration: underline; text-underline-offset: .2em; color: var(--accent); }
.repository { margin-block-start: 2.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; font-size: .86rem; }
.repository span { color: var(--muted); }
.article-end { border-block-start: 1px solid var(--rule); margin-block-start: 2.15rem; padding-block-start: 1.6rem; }

@media (min-width: 50.01rem) { .menu-toggle { display: none; } }
@media (max-width: 60rem) and (min-width: 50.01rem) {
  :root { --page-gutter: 2rem; }
  .hero-layout { gap: 1.6rem; }
  .hero h1 { font-size: clamp(3.25rem, 6.35vw, 3.8rem); }
  .editor-screen { --code-size: clamp(.76rem, 1.48vw, .86rem); padding-inline: .8rem; }
  .line-number { flex-basis: 1.5rem; }
}
@media (max-width: 50rem) {
  :root { --header-height: 3.9rem; }
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-block-size: var(--header-height); padding-block: .62rem; }
  .brand { min-block-size: 2.6rem; font-size: 1.15rem; }
  .main-nav { flex: 1 0 100%; flex-wrap: wrap; gap: .1rem .6rem; margin-block-start: .65rem; padding-block: .3rem; border-block-start: 1px solid var(--rule); }
  .is-enhanced .main-nav:not(.is-open) { display: none; }
  .is-enhanced .main-nav.is-open { display: flex; }
  .contact-link { margin-inline-start: 0;}
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2.15rem; padding-block: clamp(2.7rem,7vw,4rem) clamp(2.4rem,6vw,4rem); }
  .hero-art { object-position: 70% center; }
  .hero::before { background: linear-gradient(105deg,rgb(var(--ink-rgb) / .92) 0%,rgb(var(--ink-rgb) / .74) 58%,rgb(var(--ink-rgb) / .18)), linear-gradient(180deg,rgb(var(--ink-rgb) / .20),transparent 45%,rgb(var(--ink-rgb) / .52)); }
  .hero h1 { font-size: clamp(3.25rem, 10vw, 5.3rem); }
  .hero .intro { max-inline-size: 43ch; }
  .hero-copy { align-self: start; }
  .editor { justify-self: start; margin-block-start: 0; inline-size: min(100%, 32rem); }
  .editor-screen { --code-size: clamp(.85rem, 2.1vw, .96rem); }
}
@media (max-width: 39rem) {
  .hero::before { background: linear-gradient(160deg,rgb(var(--ink-rgb) / .82) 2%,rgb(var(--ink-rgb) / .68) 44%,rgb(var(--ink-rgb) / .16) 78%), linear-gradient(90deg,rgb(var(--ink-rgb) / .56),transparent 80%); }
  .hero-art { object-position: 69% 50%; }
  .hero .role { font-size: .98rem; }
  .hero .intro { font-size: 1rem; }
  .hero-actions { gap: .65rem; }
  .hero-actions .button { padding: .7rem .86rem; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block-start: 2.9rem; }
  .section-heading { gap: .9rem; margin-block-end: 1.15rem; }
  .skill-card { padding: 1.3rem; }
  .project-card header { margin-block-start: 1.05rem; }
  .post-row { gap: .8rem; }
  .post-meta { display: none; }
  .footer-inner { column-gap: 1rem; row-gap: .25rem; }
  .page-footer small { font-size: .76rem; }
  .top-link { font-size: .76rem; }
}
@media (max-width: 23rem) {
  :root { --page-gutter: 1rem; }
  .hero h1 { font-size: clamp(2.75rem, 12.4vw, 3.1rem); }
  .hero-actions .button { font-size: .82rem; gap: .4rem; padding-inline: .72rem; }
  .editor-screen { --code-size: .77rem; padding-inline: .67rem; }
  .line-number { flex-basis: 1.4rem; }
  .code-indent { font-size: .48em; }
}
@media (pointer: coarse) {
  .menu-toggle, .main-nav a, .copy-address, .enter-key, .window-copy { min-block-size: 2.75rem; }
  .window-copy, .enter-key { min-inline-size: 2.75rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .glass, .prose pre, .site-header { background: var(--solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero::before { background: linear-gradient(90deg, rgb(var(--ink-rgb) / .97), rgb(var(--ink-rgb) / .84) 65%, rgb(var(--ink-rgb) / .52)); }
  .glass, .prose pre, .tags li { border-color: var(--muted); }
}
@media (forced-colors: active) {
  .hero-art, .contact-art { display: none; }
  .hero::before { background: Canvas; }
  .glass, .prose pre, .button, .brand-mark, .tool-icon, .tags li { border: 1px solid ButtonText; }
  .section-link[aria-current="location"] { text-decoration: underline; }
  .section-rule { border-top: 1px solid GrayText; }
}
