/* Kyle Begeman / a quiet, precise portfolio system. */
@font-face {
  font-family: Satoshi;
  src: url("/assets/fonts/Satoshi-Regular.2b21ac818074.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url("/assets/fonts/Satoshi-Medium.e414dd688465.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url("/assets/fonts/Satoshi-Bold.8d97ecca8973.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url("/assets/fonts/Satoshi-Black.b19be554f5eb.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f5f0;
  --paper: #fff;
  --ink: #1b201c;
  --muted: #61665f;
  --soft: #e9ebe3;
  --band: #edefe7;
  --line: #d5d9ce;
  --accent: #4c641e;
  --accent-ink: #fff;
  --accent-dark: #4c641e;
  --accent-on-dark: #d0ee94;
  --accent-2: #4c641e;
  --grad: linear-gradient(110deg, #4c641e, #4c641e);
  --charcoal: #141813;
  --panel: rgba(255, 255, 255, 0.55);
  --bar-bg: rgba(245, 245, 240, 0.94);
  --grid: rgba(25, 30, 20, 0.055);
  --placeholder: #e5e8de;
  --footer-bg: #111510;
  --footer-ink: #f2f4ed;
  --footer-muted: #a5ad9f;
  --max: 1320px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow: 0 24px 70px #00000012;
  --font-display: Satoshi, Arial, sans-serif;
  --font-body: Satoshi, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(24px, 4.6vw, 80px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131612;
  --paper: #1a1e18;
  --ink: #eff1e9;
  --muted: #a2aa9c;
  --soft: #20251d;
  --band: #181d16;
  --line: #343c2f;
  --accent: #d0ee94;
  --accent-ink: #192011;
  --accent-dark: #d0ee94;
  --accent-2: #d0ee94;
  --grad: linear-gradient(110deg, #d0ee94, #d0ee94);
  --charcoal: #0e110c;
  --panel: rgba(255, 255, 255, 0.035);
  --bar-bg: rgba(19, 22, 18, 0.94);
  --grid: rgba(220, 240, 200, 0.055);
  --placeholder: #242b1f;
  --shadow: 0 24px 70px #0003;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(36px, 4.5vw, 66px);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
a,
button {
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
svg {
  flex-shrink: 0;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
}
.skip-link:focus {
  transform: translateY(0);
}
.section-pad {
  padding: clamp(72px, 8vw, 120px) var(--gutter);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}
.section-label {
  font: 400 12px/1.6 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-index {
  color: var(--accent);
  margin-right: 12px;
}
.section-description {
  color: var(--muted);
  max-width: 44ch;
  margin-top: 22px;
}
.serif-word {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.045em;
}
.grad-text {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.button.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--soft);
  border-color: var(--muted);
}
.button span[aria-hidden] {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.button:hover span[aria-hidden] {
  transform: translate(3px, 3px);
}
/* Navigation stays anchored without changing the layout. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 90px;
  padding-inline: var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  background: var(--bar-bg);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.brand-mark {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}
.brand-mark > span {
  color: var(--accent);
}
.brand-name {
  font-size: 14px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  position: relative;
  padding: 14px 0;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a span {
  font: 12px var(--font-mono);
  margin-left: 5px;
  vertical-align: super;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  height: 1px;
  left: 0;
  right: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-resume {
  font-size: 14px;
}
.header-resume span {
  margin-left: 12px;
}
.icon-link,
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
}
.icon-link:hover {
  background: var(--soft);
}
.icon-link svg,
.pj-theme svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sun {
  display: none;
}
:root[data-theme="dark"] .icon-moon {
  display: none;
}
:root[data-theme="dark"] .icon-sun {
  display: block;
}
.nav-toggle {
  display: none;
  gap: 5px;
}
.nav-toggle > span {
  height: 1px;
  width: 17px;
  background: currentColor;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 28px var(--gutter);
  border: 0;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu:not([open]) {
  display: none;
}
.mobile-menu[open] {
  display: flex;
  animation: hero-enter 0.4s var(--ease);
}
.mobile-menu::backdrop {
  background: var(--bg);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-close {
  background: none;
  border: 0;
  font-size: 14px;
  min-height: 44px;
}
.mobile-close span {
  font-size: 28px;
  margin-left: 16px;
}
.mobile-menu nav {
  display: grid;
}
.mobile-menu nav a {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: clamp(32px, 7vw, 50px);
  letter-spacing: -0.04em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a > span {
  font: 12px var(--font-mono);
  color: var(--accent);
}
.mobile-menu nav i {
  font-style: normal;
  margin-left: auto;
  font-size: 28px;
}
.mobile-email {
  margin-top: auto;
  padding-top: 32px;
  color: var(--muted);
  font-size: 14px;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  z-index: 80;
  pointer-events: none;
}
/* Editorial introduction. The portrait is the only decoration it needs. */
.kb-hero {
  padding: 0 var(--gutter);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: auto;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 12px;
  font: 12px/1.5 var(--font-mono);
  color: var(--muted);
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent);
}
.hero-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.8fr);
  gap: 6%;
  align-items: center;
  padding: 48px 0 70px;
}
.hero-eyebrow {
  margin-bottom: 25px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hero-copy h1 {
  font-size: clamp(57px, 7.1vw, 105px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.067em;
}
.hero-outline {
  color: var(--muted);
}
.hero-last {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.hero-period {
  color: var(--accent);
}
.hero-intro {
  display: flex;
  align-items: start;
  gap: 20px;
  margin: 30px 0 27px;
  max-width: 450px;
}
.hero-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-intro-line {
  height: 1px;
  width: 36px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 12px;
}
.hero-cta {
  min-width: 204px;
  justify-content: space-between;
}
.hero-portrait {
  margin: 17px 0 0;
  align-self: center;
}
.portrait-frame {
  position: relative;
  padding: 11px;
  border: 1px solid var(--line);
  transform: rotate(2deg);
  transition: transform 1s var(--ease);
  background: var(--bg);
}
.hero-portrait:hover .portrait-frame {
  transform: rotate(0);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 1s var(--ease);
  opacity: 0.9;
}
.hero-portrait:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.portrait-corner {
  position: absolute;
  width: 23px;
  height: 23px;
  border-color: var(--accent);
  border-style: solid;
}
.corner-tl {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}
.corner-br {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}
.portrait-index {
  position: absolute;
  right: 23px;
  bottom: 23px;
  color: #fff;
  font: 12px var(--font-mono);
  letter-spacing: 0.1em;
  padding: 5px 8px;
  background: #15201180;
}
.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  font: 12px/1.6 var(--font-mono);
  color: var(--muted);
}
.portrait-sign {
  font:
    italic 38px Georgia,
    serif;
  color: var(--ink);
  transform: rotate(-10deg);
  letter-spacing: -0.08em;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 28px;
  border-top: 1px solid var(--line);
  font: 12px/1.5 var(--font-mono);
  color: var(--muted);
}
.hero-bottom strong {
  font-weight: 400;
  color: var(--ink);
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-bottom a span {
  color: var(--accent);
  font-size: 20px;
}
.hero-disciplines {
  max-width: 210px;
  text-align: right;
}
.credibility-band {
  padding: 35px var(--gutter);
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--band);
}
.credibility-band > .section-label {
  max-width: 145px;
  flex-shrink: 0;
  font-size: 12px;
}
.credibility-band > div {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.credibility-band > div span {
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--muted);
}
/* Selected work: two product showcases followed by a compact tool index. */
.works-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 40px;
}
.works-head .section-label {
  margin-bottom: 18px;
}
.works-head > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 4px;
}
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.pf-filter {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.pf-filter button {
  position: relative;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  min-height: 48px;
}
.pf-filter button::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pf-filter button.current {
  color: var(--ink);
}
.pf-filter button.current::after {
  transform: scaleX(1);
}
.pf-filter button:hover {
  color: var(--ink);
}
.pf-count {
  font: 10px var(--font-mono);
  color: var(--muted);
  vertical-align: super;
  margin-left: 7px;
}
.work-count {
  color: var(--muted);
  font: 12px var(--font-mono);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 28px;
}
.work-card {
  grid-column: 1 / -1;
  min-width: 0;
}
.work-card.is-featured {
  grid-column: span 7;
}
.work-card.is-featured + .is-featured {
  grid-column: span 5;
}
.work-card.is-hidden {
  display: none;
}
.work-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.6s var(--ease);
}
.work-link:focus-visible {
  outline-offset: 5px;
}
.work-link:hover {
  border-color: var(--muted);
}
.is-featured .work-link:hover {
  transform: translateY(-5px);
}
.work-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.is-featured .work-cover {
  height: 410px;
  background: #e9e5f1;
  border-bottom: 1px solid #bcb2ca;
  isolation: isolate;
}
.is-featured .work-cover::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #9586ad35;
  border-radius: 50%;
  box-shadow:
    0 0 0 65px #9586ad0b,
    0 0 0 130px #9586ad08;
  top: 70px;
  left: calc(50% - 210px);
  z-index: -1;
}
.work-card[data-project="yo-b"] .work-cover {
  background: #dce8ce;
  border-color: #afbc9f;
}
.work-stage-label {
  position: absolute;
  left: 28px;
  top: 24px;
  font: 11px/1.5 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b4259;
  z-index: 1;
  max-width: 78%;
}
.work-stage-index {
  position: absolute;
  right: 20px;
  bottom: 18px;
  writing-mode: vertical-rl;
  font: 10px var(--font-mono);
  letter-spacing: 0.08em;
  color: #4b4259;
  z-index: 1;
}
.work-card[data-project="yo-b"] .work-stage-label {
  color: #3b4b2e;
}
.work-shot {
  position: relative;
  width: 29%;
  max-width: 185px;
  align-self: flex-start;
  margin-top: 62px;
  border-radius: 14px;
  box-shadow: 0 18px 40px #29203430;
  transform: translateY(22px) rotate(-8deg);
  transition: transform 1s var(--ease);
}
.work-shot:nth-of-type(2) {
  transform: translateY(66px) rotate(8deg);
}
.work-link:hover .work-shot {
  transform: translateY(5px) rotate(-4deg);
}
.work-link:hover .work-shot:nth-of-type(2) {
  transform: translateY(36px) rotate(4deg);
}
.work-card[data-project="yo-b"] .work-shot {
  width: 30%;
  max-width: 155px;
}
.work-glyph-img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}
.work-link:hover .work-glyph-img {
  transform: scale(1.08) rotate(-4deg);
}
.work-mono {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--accent);
}
.work-cover-index {
  position: absolute;
  left: 0;
  top: 28px;
  font: 10px var(--font-mono);
  color: var(--muted);
}
.work-cover-type {
  display: none;
}
.work-rest {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  flex: 1;
}
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-term,
.work-status {
  font: 11px/1.5 var(--font-mono);
  color: var(--muted);
}
.work-term {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.is-featured .work-status::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: 2px;
  border-radius: 50%;
  background: var(--accent);
}
.work-rest-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-title {
  font-size: 27px;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
.is-featured .work-title {
  font-size: 42px;
}
.work-rest-summary {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 60ch;
}
.work-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: auto;
  padding-block: 2px 24px;
  color: var(--muted);
  font: 11px/1.6 var(--font-mono);
}
.work-credit > span:first-child {
  color: var(--ink);
}
.work-rest-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.work-rest-go svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  transition: transform 0.4s var(--ease);
}
.work-link:hover .work-rest-go svg {
  transform: translate(3px, -3px);
}
.work-collection-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 65px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.work-collection-label .section-label {
  margin-bottom: 12px;
}
.work-collection-label h3 {
  font-size: clamp(28px, 3vw, 40px);
}
.work-collection-label > span {
  color: var(--muted);
  font: 12px/1.5 var(--font-mono);
}
.is-tool .work-link {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.is-tool .work-link:hover {
  background: var(--soft);
}
.is-tool .work-cover {
  overflow: visible;
  padding-left: 22px;
}
.is-tool .work-rest {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 8px 40px;
  padding: 32px 82px 32px 16px;
}
.is-tool .work-rest-body {
  display: contents;
}
.is-tool .work-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.is-tool .work-meta {
  grid-column: 1;
  grid-row: 2;
  justify-content: start;
  flex-wrap: wrap;
  gap: 3px 12px;
}
.is-tool .work-rest-summary {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  max-width: 58ch;
}
.is-tool .work-term {
  display: none;
}
.is-tool .work-rest-go {
  position: absolute;
  right: 24px;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.is-tool .work-rest-go > span {
  display: none;
}
.is-tool .work-link:hover .work-rest-go {
  background: var(--bg);
  border-color: var(--muted);
}
.work-card.is-filtering {
  animation: work-in 0.5s var(--ease) both;
}
@keyframes work-in {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .work-card.is-featured,
  .work-card.is-featured + .is-featured {
    grid-column: span 6;
  }
  .is-featured .work-cover {
    height: 340px;
  }
  .work-rest {
    padding: 25px;
  }
  .work-stage-label {
    left: 20px;
  }
  .is-tool .work-link {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .is-tool .work-rest {
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
    column-gap: 20px;
  }
  .is-tool .work-title {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .works-head {
    display: block;
    margin-bottom: 24px;
  }
  .works-head > p {
    margin-top: 22px;
    max-width: 44ch;
  }
  .work-toolbar {
    margin-bottom: 25px;
  }
  .work-count {
    display: none;
  }
  .pf-filter {
    gap: 24px;
  }
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .work-card.is-featured,
  .work-card.is-featured + .is-featured {
    grid-column: 1 / -1;
  }
  .is-featured .work-cover {
    height: 340px;
  }
  .work-shot {
    width: 31%;
    max-width: 175px;
  }
  .work-rest {
    padding: 24px;
    gap: 17px;
  }
  .is-featured .work-title {
    font-size: 34px;
  }
  .work-rest-summary {
    font-size: 15px;
  }
  .work-credit {
    gap: 6px;
    flex-direction: column;
    padding-bottom: 20px;
  }
  .work-collection-label {
    margin-top: 24px;
    padding-bottom: 25px;
  }
  .work-collection-label > span {
    display: none;
  }
  .is-tool {
    margin-top: -24px;
  }
  .is-tool .work-link {
    display: block;
  }
  .is-tool .work-cover {
    position: absolute;
    left: 0;
    top: 25px;
    width: 47px;
    height: 47px;
    padding: 0;
  }
  .is-tool .work-glyph-img {
    width: 44px;
    height: 44px;
  }
  .is-tool .work-mono {
    font-size: 30px;
  }
  .is-tool .work-cover-index {
    display: none;
  }
  .is-tool .work-rest {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 24px 0;
  }
  .is-tool .work-title {
    order: 0;
    padding-inline: 65px 35px;
    font-size: 24px;
  }
  .is-tool .work-meta {
    order: 1;
    padding-left: 65px;
  }
  .is-tool .work-rest-summary {
    order: 2;
    margin-top: 10px;
    font-size: 15px;
  }
  .is-tool .work-rest-go {
    right: 0;
    top: 23px;
    border: 0;
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 380px) {
  .pf-filter {
    gap: 20px;
  }
  .pf-count {
    margin-left: 4px;
  }
  .is-featured .work-cover {
    height: 290px;
  }
  .work-stage-label {
    font-size: 10px;
    max-width: 85%;
  }
  .work-rest {
    padding: 22px;
  }
  .is-tool .work-title {
    font-size: 21px;
  }
}

/* About and capabilities. */
.section-tint {
  background: var(--band);
  max-width: none;
  border-block: 1px solid var(--line);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 9%;
  max-width: var(--max);
  margin: auto;
}
.about-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-monogram {
  font-size: 150px;
  line-height: 1.2;
  letter-spacing: -0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-top: 35px;
}
.about-aside > p:last-child {
  color: var(--muted);
  font: 12px/1.8 var(--font-mono);
}
.about-prose {
  margin-top: 35px;
  max-width: 64ch;
  color: var(--muted);
}
.about-prose p + p {
  margin-top: 18px;
}
.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
  margin: 65px auto 0;
  max-width: var(--max);
  border-block: 1px solid var(--line);
}
.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.about-stats li:first-child {
  padding: 0;
  border: 0;
}
.about-stat-num {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.about-stat-label {
  font: 12px/1.6 var(--font-mono);
  color: var(--muted);
}
.ownership {
  max-width: var(--max);
  margin: 70px auto 0;
}
.ownership-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}
.ownership-head h3 {
  font-size: clamp(28px, 3vw, 44px);
  width: 67%;
}
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
}
.ownership-grid li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.ownership-number {
  font: 12px var(--font-mono);
  color: var(--accent);
}
.ownership-grid h4 {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin: 26px 0 15px;
}
.ownership-grid p {
  font-size: 14px;
  color: var(--muted);
  max-width: 35ch;
}
.exp-head {
  margin-bottom: 50px;
}
.exp-head .section-label {
  margin-bottom: 18px;
}
.exp-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 70px;
}
.exp-two-item {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.exp-two-bar {
  display: none;
}
.exp-two-when {
  font: 12px/1.7 var(--font-mono);
  color: var(--muted);
}
.exp-two-role {
  font-size: 32px;
  margin: 12px 0 6px;
  letter-spacing: -0.035em;
}
.exp-two-co {
  display: block;
  margin-top: 10px;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
  font-size: 16px;
}
.exp-two-sum {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 48ch;
}
.exp-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 35px;
}
.skills {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 9%;
}
.skills-head .section-label {
  margin-bottom: 20px;
}
.skills-head h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.skills-legend {
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.skill-cat {
  font: 12px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 16px;
}
.skill-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.skill-tag.is-expert::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonials {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 9%;
  background: var(--bg);
  border-top: 0;
}
.tm-head .section-label {
  margin-bottom: 20px;
}
.tm-head h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.tm-grid {
  display: grid;
  gap: 40px;
}
.tm-card {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.tm-card::before {
  content: "“";
  display: block;
  color: var(--accent);
  font:
    54px/0.8 Georgia,
    serif;
}
.tm-quote {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.6;
  margin-top: 12px;
  letter-spacing: -0.015em;
}
.tm-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 12px;
}
.tm-name {
  color: var(--ink);
}
.tm-context {
  color: var(--muted);
}
/* Contact: a real address, an optional draft, no implied delivery. */
.contact {
  background: #d0ee94;
  color: #202b17;
  padding: 65px var(--gutter);
  border-top: 1px solid #accc70;
}
.contact-inner {
  max-width: var(--max);
  margin: auto;
}
.contact .section-label,
.contact .section-index {
  color: #465a31;
}
.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-star {
  font-size: 70px;
  line-height: 1;
  font-weight: 400;
}
.contact-title {
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 30px 0 50px;
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.contact-sub {
  font-size: 16px;
  line-height: 1.75;
  max-width: 43ch;
  color: #40512f;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
}
.contact-email {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  font-size: clamp(18px, 2vw, 29px);
  letter-spacing: -0.04em;
  border-bottom: 1px solid #617a42;
  padding-bottom: 14px;
}
.copy-email {
  border: 0;
  background: none;
  padding: 6px 0;
  color: #40512f;
  font: 12px var(--font-mono);
  min-height: 36px;
}
.copy-email:hover {
  color: #111;
}
.contact-compose {
  margin-top: 40px;
  border-top: 1px solid #a5c575;
  padding-top: 20px;
}
.contact-compose > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  color: #40512f;
  cursor: pointer;
  list-style: none;
  min-height: 36px;
}
.contact-compose > summary::-webkit-details-marker {
  display: none;
}
.contact-compose > summary > span {
  color: #202b17;
}
.contact-compose > summary > span > span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
  font-size: 20px;
  margin-left: 20px;
}
.contact-compose[open] > summary > span > span {
  transform: rotate(45deg);
}
.contact-email span {
  transition: transform 0.4s var(--ease);
}
.contact-email:hover span {
  transform: translate(4px, -4px);
}
.compose-note {
  font-size: 14px;
  margin-top: 22px;
  color: #40512f;
}
.contact-form {
  max-width: 800px;
  margin-top: 24px;
}
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cf-field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.cf-field > span {
  font-size: 12px;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: #e3f5bf;
  border: 1px solid #8aa963;
  padding: 14px;
  color: #202b17;
  border-radius: 3px;
  font-size: 16px;
  resize: vertical;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: #59694a;
}
.cf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact .button.primary {
  background: #202b17;
  border-color: #202b17;
  color: #e5f5c8;
}
.contact .button.secondary {
  color: #202b17;
  border-color: #8aa963;
}
.contact :focus-visible {
  outline-color: #202b17;
}
.cf-status {
  margin-top: 18px;
  font-size: 14px;
}
.site-footer {
  padding: 50px var(--gutter) 25px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #343c2f;
  padding-bottom: 35px;
}
.footer-wordmark {
  font-size: clamp(36px, 7vw, 100px);
  letter-spacing: -0.065em;
  line-height: 1.1;
}
.footer-wordmark span {
  color: #d0ee94;
}
.back-to-top {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  white-space: nowrap;
}
.back-to-top > span {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #343c2f;
  border-radius: 50%;
  font-size: 22px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
  font: 12px/1.7 var(--font-mono);
  color: var(--footer-muted);
}
.footer-bottom nav {
  display: flex;
  gap: 24px;
  color: var(--footer-ink);
}
.footer-bottom a:hover {
  color: #d0ee94;
}
/* Progressive motion. Each headline line arrives in a short, quiet sequence. */
.hero-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.hero-line > span {
  display: block;
  animation: headline-in 1.2s var(--ease) both;
}
.hero-line:nth-child(2) > span {
  animation-delay: 0.08s;
}
.hero-line:nth-child(3) > span {
  animation-delay: 0.16s;
}
@keyframes headline-in {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-line > span {
    animation: none;
  }
}
/* Reveals trigger as soon as content enters view and never hide keyboard focus. */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.has-reveal [data-reveal].is-visible,
.has-reveal [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}
.hero-copy {
  animation: hero-enter 1s var(--ease) both;
}
.hero-portrait {
  animation: hero-enter 1.3s 0.1s var(--ease) both;
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .credibility-band {
    padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
  .section-tint,
  .contact,
  .site-footer {
    padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
}
@media (max-width: 1100px) {
  .brand-name {
    display: none;
  }
  .nav-links {
    gap: 22px;
  }
  .header-actions {
    gap: 15px;
  }
  .hero-composition {
    gap: 5%;
    grid-template-columns: 1.7fr 0.85fr;
  }
  .hero-copy h1 {
    font-size: 7.5vw;
  }
  .hero-eyebrow {
    max-width: 35ch;
  }
  .hero-disciplines {
    display: none;
  }
  .skills,
  .testimonials {
    grid-template-columns: 1fr 1.7fr;
    gap: 5%;
  }
  .credibility-band {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 76px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .brand-name {
    display: block;
  }
  .header-actions {
    gap: 12px;
  }
  .header-resume {
    display: none;
  }
  .hero-topline {
    padding-top: 20px;
    font-size: 12px;
  }
  .hero-location {
    display: none;
  }
  .hero-composition {
    padding: 35px 0 40px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-copy h1 {
    font-size: clamp(56px, 11.2vw, 85px);
  }
  .hero-eyebrow {
    font-size: 12px;
    max-width: none;
    margin-bottom: 22px;
  }
  .hero-intro {
    margin-top: 25px;
    max-width: 44ch;
  }
  .hero-portrait {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 28px;
    align-items: center;
    max-width: 420px;
    margin-top: 0;
  }
  .portrait-frame {
    padding: 6px;
  }
  .portrait-frame img {
    aspect-ratio: 1;
    object-position: center 32%;
  }
  .portrait-index {
    display: none;
  }
  .hero-portrait figcaption {
    margin: 0;
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .portrait-sign {
    font-size: 30px;
  }
  .hero-bottom {
    font-size: 12px;
    align-items: start;
  }
  .hero-bottom p {
    max-width: 155px;
  }
  .hero-bottom a {
    max-width: 150px;
    gap: 12px;
  }
  .credibility-band {
    display: block;
    padding-block: 24px;
  }
  .credibility-band > .section-label {
    max-width: none;
    margin-bottom: 20px;
    display: block;
  }
  .credibility-band > div {
    gap: 15px 25px;
    justify-content: start;
  }
  .credibility-band > div span {
    font-size: 21px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-aside .about-monogram,
  .about-aside > p:last-child {
    display: none;
  }
  .about-stats {
    gap: 30px 0;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    padding-block: 30px;
  }
  .about-stats li:nth-child(3) {
    padding-left: 0;
    border: 0;
  }
  .about-stat-label {
    font-size: 12px;
  }
  .ownership-head {
    display: block;
  }
  .ownership-head h3 {
    width: auto;
    margin-top: 22px;
  }
  .ownership-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 35px;
  }
  .ownership-grid li {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 10px;
  }
  .ownership-number {
    grid-row: span 2;
    margin-top: 5px;
  }
  .ownership-grid h4 {
    margin: 0;
  }
  .ownership-grid p {
    max-width: 48ch;
  }
  .exp-two {
    grid-template-columns: 1fr;
  }
  .skills,
  .testimonials {
    display: block;
  }
  .skills-head,
  .tm-head {
    margin-bottom: 36px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tm-quote {
    font-size: 18px;
  }
  .contact {
    padding-block: 45px;
  }
  .contact-title {
    margin: 30px 0;
  }
  .contact-star {
    font-size: 48px;
  }
  .contact-bottom {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-email {
    font-size: 24px;
  }
  .contact-compose > summary {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .contact-compose > summary > span > span {
    margin-left: 12px;
  }
  .cf-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top {
    align-items: end;
  }
  .footer-wordmark {
    font-size: clamp(32px, 7vw, 54px);
  }
  .back-to-top {
    font-size: 0;
    gap: 0;
  }
  .back-to-top > span {
    font-size: 20px;
  }
  .footer-bottom {
    align-items: start;
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-bottom > p:last-child {
    display: none;
  }
}
@media (max-width: 380px) {
  .brand-name {
    font-size: 12px;
  }
  .header-actions {
    gap: 8px;
  }
  .hero-copy h1 {
    font-size: 50px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .contact-email {
    font-size: 20px;
  }
}
/* =====================================================================
   Project detail page (project.html) — Lieon-style layout, our tokens
   ===================================================================== */
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.pj-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 12px max(24px, calc((100% - var(--max)) / 2));
  background: var(--bar-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.pj-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  margin-left: -10px; /* keep the label on the gutter; hover pad grows leftward */
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease;
}

.pj-back svg {
  transition: transform 160ms ease;
}

.pj-back:hover,
.pj-back:focus-visible {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.pj-back:hover svg,
.pj-back:focus-visible svg {
  transform: translateX(-2px);
}

.pj-crumb {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pj-crumb a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.pj-crumb a:hover,
.pj-crumb a:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.pj-all {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pj-all:hover,
.pj-all:focus-visible {
  color: var(--accent-dark);
}

.pj-hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 60px);
}

.pj-cat {
  margin-bottom: 18px;
}

.pj-title {
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.02;
}

.pj-tag {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.pj-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  margin: 38px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pj-facts li {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.pj-facts li span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pj-cover {
  width: 100%;
  height: clamp(300px, 56vh, 660px);
  margin: clamp(20px, 4vw, 48px) 0;
  overflow: hidden;
  background: var(--soft);
}

.pj-parallax {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pj-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pj-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 88px);
  padding: clamp(20px, 4vw, 48px) 0 clamp(60px, 9vw, 120px);
}

.pj-content {
  max-width: 760px;
}

.pj-section {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.pj-section h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.pj-section p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

.pj-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.pj-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(28px, 4vw, 48px) 0;
}

.pj-gallery .pj-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.pj-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pj-aside {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 22px;
}

.pj-side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.pj-side-card h3 {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pj-tags li {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
}

.pj-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pj-links a {
  font-weight: 700;
  border-bottom: 1px solid transparent;
}

.pj-links a:hover,
.pj-links a:focus-visible {
  color: var(--accent-dark);
  border-color: currentColor;
}

.pj-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.pj-nav a {
  display: grid;
  gap: 4px;
}

.pj-nav a span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pj-nav a b {
  font-size: 18px;
}

.pj-next {
  text-align: right;
}

.pj-cta {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--footer-bg);
  color: var(--footer-ink);
  text-align: center;
}

.pj-cta .section-label {
  color: var(--accent-on-dark);
}

.pj-cta h2 {
  max-width: 640px;
  margin: 12px auto 26px;
  color: var(--footer-ink);
  font-size: clamp(30px, 5vw, 54px);
}

.pj-cta .button.primary {
  background: var(--footer-ink);
  color: var(--footer-bg);
  border-color: var(--footer-ink);
}

.pj-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pj-cta .button.secondary {
  border-color: color-mix(in srgb, var(--footer-ink) 48%, transparent);
  color: var(--footer-ink);
}

.pj-cta .button.secondary:hover,
.pj-cta .button.secondary:focus-visible {
  border-color: var(--footer-ink);
  background: color-mix(in srgb, var(--footer-ink) 10%, transparent);
}

@media (max-width: 860px) {
  .pj-body {
    grid-template-columns: 1fr;
  }

  .pj-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .pj-gallery {
    grid-template-columns: 1fr;
  }

  .pj-bar {
    gap: 12px;
  }

  .pj-crumb {
    display: none;
  }
}

/* =====================================================================
   Full work history page (work-history.html) — alternating timeline
   ===================================================================== */
.wh-hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(20px, 3vw, 40px);
}

/* full work-history timeline — gradient spine + right meta rail */
.wh-timeline {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: clamp(16px, 3vw, 40px) auto clamp(64px, 9vw, 120px);
  padding: 0;
}

.wh-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: var(--grad);
  /* taper the spine out at the bottom instead of stopping hard */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 72px),
    transparent
  );
  mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
}

.wh-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: clamp(24px, 4vw, 64px);
  padding: 0 0 clamp(36px, 4.5vw, 60px) clamp(34px, 4vw, 48px);
}

.wh-item:last-child {
  padding-bottom: 0;
}

.wh-node {
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--bg);
}

.wh-role {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.2;
}

.wh-co {
  color: var(--muted);
  font-weight: 600;
}

.wh-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wh-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
}

.wh-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.wh-summary {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}

.wh-tech {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wh-tech li {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

.wh-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wh-when {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--accent-2);
}

.wh-loc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .wh-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 30px;
  }

  .wh-meta {
    order: -1;
  }
}

/* =====================================================================
   Theme toggle button (header + sticky bars) + icon swap
   ===================================================================== */
button.icon-link {
  background: none;
  font: inherit;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pj-theme {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.pj-theme--end {
  margin-left: auto;
}

.pj-theme:hover,
.pj-theme:focus-visible {
  background: var(--paper);
  border-color: var(--line);
}

.pj-theme svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme-toggle] .icon-sun {
  display: none;
}

[data-theme="dark"] [data-theme-toggle] .icon-sun {
  display: block;
}

[data-theme="dark"] [data-theme-toggle] .icon-moon {
  display: none;
}

/* =====================================================================
   Resume page (resume.html) — document layout in app design + print
   ===================================================================== */
.resume {
  padding-bottom: clamp(60px, 9vw, 110px);
}

.resume-head {
  padding: clamp(48px, 8vw, 92px) 0 clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.resume-head h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.resume-headline {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.resume-contact a:hover,
.resume-contact a:focus-visible {
  color: var(--accent-dark);
}

.resume-section {
  padding-top: clamp(30px, 5vw, 52px);
}

.resume-section > h2,
.resume-section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(20px, 2.6vw, 28px);
}

.resume-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.resume-section-head h2 {
  margin-bottom: 0;
}

.resume-history-link {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.resume-history-link:hover,
.resume-history-link:focus-visible {
  color: var(--ink);
}

.resume-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
}

.resume-strengths {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  list-style: none;
}

.resume-strengths li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.resume-jobs {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.resume-job {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 4px 30px;
}

.resume-job .when {
  padding-top: 3px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.resume-job h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.25;
}

.resume-job p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.resume-edu {
  display: grid;
  gap: 0;
}

.resume-edu-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.resume-edu-row:first-child {
  border-top: 1px solid var(--line);
}

.resume-edu-row .deg {
  font-weight: 700;
}

.resume-edu-row .where {
  color: var(--muted);
}

.resume-edu-row .yr {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 640px) {
  .resume-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-job {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  .pj-bar,
  .skip-link,
  .resume-downloads,
  .resume-history-link {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12px;
  }

  .resume {
    padding-bottom: 0;
  }

  .resume-head {
    padding: 0 0 14px;
    border-bottom: 1px solid #ccc;
  }

  .resume-head h1 {
    font-size: 30px;
  }

  .resume-headline {
    margin-top: 5px;
    color: #000 !important;
    font-size: 15px;
  }

  .resume-section {
    padding-top: 18px;
    break-inside: avoid;
  }

  .resume-section > h2,
  .resume-section-head h2 {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .resume-section-head {
    margin-bottom: 10px;
  }

  .resume-lead,
  .resume-strengths,
  .resume-job p,
  .resume-edu-row .where {
    color: #333 !important;
  }

  .resume-job .when,
  .resume-edu-row .yr,
  .resume-contact a {
    color: #000 !important;
  }

  .resume-job {
    break-inside: avoid;
  }
}

/* Resume download buttons (PDF / Markdown / JSON) */
.resume-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.resume-dl-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dl-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.dl-btn:hover,
.dl-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* =====================================================================
   Data-driven states + resume skills/bullets
   ===================================================================== */
.data-loading,
.data-error {
  margin: 0;
  padding: 24px 0;
  color: var(--muted);
  font-weight: 600;
}

.noscript-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.noscript-note a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pj-link-muted {
  color: var(--muted);
  font-size: 14px;
}

.resume-where {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.resume-bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}

.rs-skill-group {
  margin-bottom: 22px;
}

.rs-skill-group:last-child {
  margin-bottom: 0;
}

.rs-skill-group h3 {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rs-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-skill {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
}

.rs-skill.is-expert {
  border-color: var(--accent);
  color: var(--ink);
}

@media print {
  .rs-skill {
    border-color: #999 !important;
    background: transparent !important;
  }
  .rs-skill.is-expert {
    border-color: #000 !important;
  }
  .resume-bullets,
  .resume-where {
    color: #333 !important;
  }
}

/* The same typographic rhythm carries through every case study and document. */
.pj-bar {
  min-height: 76px;
  gap: 22px;
  backdrop-filter: blur(18px);
}
.pj-back,
.pj-all,
.pj-crumb {
  font-size: 13px;
}
.pj-title {
  font-weight: 500;
  letter-spacing: -0.055em;
  font-size: clamp(48px, 7vw, 92px);
}
.pj-hero {
  padding-block: 80px 55px;
}
.pj-tag {
  max-width: 55ch;
  font-size: 20px;
  line-height: 1.6;
}
.pj-facts {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
}
.pj-side-card {
  border-radius: 4px;
  box-shadow: none;
}
.pj-cta {
  background: var(--band);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.pj-cta .button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.pj-cta .button.secondary {
  color: var(--ink);
  border-color: var(--line);
}
.pj-cta .section-label {
  color: var(--muted);
}
.wh-intro {
  padding-top: 75px;
}
.wh-title {
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.055em;
}
.wh-company {
  font-weight: 500;
}
.resume {
  max-width: 1000px;
  padding-top: 75px;
}
.resume-head h1 {
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.06em;
}
.resume-headline {
  font-weight: 400;
  font-size: 22px;
}
.resume-strengths {
  gap: 15px 35px;
}
.resume-section {
  padding-top: 30px;
}
.resume-section > h2,
.resume-section-head h2 {
  font-weight: 500;
}
.resume-contact {
  font-size: 14px;
}
.resume-bullets {
  font-size: 16px;
}
.dl-btn {
  min-height: 42px;
  border-radius: 3px;
}
.data-loading,
.data-error {
  font-size: 14px;
  padding: 20px;
  color: var(--muted);
}
@supports (view-transition-name: none) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: page-out 0.18s ease both;
  }
  ::view-transition-new(root) {
    animation: page-in 0.4s var(--ease) both;
  }
  @keyframes page-out {
    to {
      opacity: 0;
    }
  }
  @keyframes page-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .portrait-frame {
    transform: none;
  }
  .is-featured .work-link:hover,
  .work-link:hover .work-glyph-img {
    transform: none;
  }
  .work-link:hover .work-shot {
    transform: translateY(22px) rotate(-8deg);
  }
  .work-link:hover .work-shot:nth-of-type(2) {
    transform: translateY(66px) rotate(8deg);
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .grad-text,
  .hero-outline,
  .serif-word {
    color: CanvasText;
  }
  .status-dot {
    background: CanvasText;
  }
  .button,
  .work-link {
    border: 1px solid ButtonText;
  }
  .reading-progress {
    background: Highlight;
  }
}
@media print {
  .reading-progress {
    display: none;
  }
  .resume {
    padding-top: 0;
  }
  .resume-head h1 {
    font-size: 30pt;
  }
  .resume-bullets {
    font-size: 10pt;
  }
  .resume-headline {
    font-size: 13pt;
  }
  .resume-contact {
    font-size: 10pt;
  }
  body {
    overflow: visible;
  }
}

.jump-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  padding: 6px 10px;
  min-height: 42px;
  color: var(--muted);
  font: 13px var(--font-mono);
}
.jump-toggle:hover {
  color: var(--ink);
  border-color: var(--muted);
  background: var(--soft);
}
.jump-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.pj-bar > .jump-toggle {
  order: 5;
}
.jump-dialog {
  width: min(600px, calc(100% - 32px));
  max-height: min(750px, 85dvh);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 150px #0008;
  overflow: hidden;
}
.jump-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: hero-enter 0.35s var(--ease);
}
.jump-dialog::backdrop {
  background: #080d08a8;
  backdrop-filter: blur(8px);
}
.jump-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px 14px;
}
.jump-heading h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.jump-close {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  min-height: 40px;
}
.jump-close > span {
  font-size: 20px;
  margin-left: 10px;
}
.jump-search {
  display: block;
  width: calc(100% - 56px);
  margin: 0 28px 20px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 16px;
}
.jump-search:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.jump-results {
  padding: 0 14px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.jump-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 14px;
  border-radius: 4px;
  line-height: 1.5;
  font-size: 16px;
}
.jump-results a small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.jump-results a > span:last-child {
  color: var(--accent);
}
.jump-results a:hover,
.jump-results a:focus {
  background: var(--soft);
  outline: none;
}
.jump-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  font: 12px var(--font-mono);
  color: var(--muted);
}
.jump-empty {
  padding: 18px 14px;
  color: var(--muted);
  font-size: 14px;
}
.copy-status {
  font-size: 13px;
  line-height: 1.5;
  color: #40512f;
}
.contact-direct {
  min-width: 0;
}
@media (max-width: 760px) {
  .jump-toggle {
    min-height: 42px;
    width: 42px;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
  }
  .jump-key {
    display: none;
  }
  .jump-heading {
    padding: 20px 20px 12px;
  }
  .jump-search {
    width: calc(100% - 40px);
    margin-inline: 20px;
  }
  .jump-foot {
    padding: 14px 20px;
    font-size: 12px;
  }
  .jump-foot > span:first-child {
    display: none;
  }
  .pj-bar > .jump-toggle {
    display: none;
  }
  .hero-eyebrow {
    max-width: 40ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] {
    animation: none;
  }
  .jump-dialog[open] {
    animation: none;
  }
}
.ownership-grid p,
.exp-two-sum {
  font-size: 16px;
}
.skill-tag,
.tm-cap {
  font-size: 14px;
}
.pj-body > *,
.pj-nav > * {
  min-width: 0;
}
.pj-tags li,
.pj-links a {
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }
}
/* A useful document when printed, with a denser rhythm than the screen view. */
@media print {
  .resume.wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .resume-contact {
    gap: 6px 12px;
    font-size: 9pt;
  }
  .resume-lead {
    font-size: 10pt;
    line-height: 1.5;
  }
  .resume-strengths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    font-size: 9pt;
    line-height: 1.45;
  }
  .resume-strengths li {
    padding: 8px 0;
    break-inside: avoid;
  }
  .resume-section {
    break-inside: auto;
    padding-top: 16px;
  }
  .resume-section > h2,
  .resume-section-head h2 {
    break-after: avoid;
    font-size: 12pt;
  }
  .resume-jobs {
    gap: 17px;
  }
  .resume-job {
    grid-template-columns: 95px 1fr;
    gap: 18px;
  }
  .resume-job h3 {
    font-size: 11pt;
  }
  .resume-job .when,
  .resume-where {
    font-size: 9pt;
  }
  .resume-bullets {
    font-size: 9pt;
    line-height: 1.5;
    gap: 5px;
  }
  .rs-skill-group {
    margin-bottom: 12px;
    break-inside: avoid;
  }
  .rs-skill-group h3 {
    font-size: 9pt;
    margin-bottom: 7px;
  }
  .rs-skill {
    font-size: 8.5pt;
    padding: 3px 7px;
  }
  .resume-edu-row {
    font-size: 9pt;
  }
}
@media print {
  .rs-skill,
  .rs-skill.is-expert,
  .rs-skill-group h3 {
    color: #111 !important;
  }
  .resume-contact {
    color: #333 !important;
  }
  .resume-job .resume-where {
    font-size: 9pt;
  }
}
