*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

:target {
  scroll-margin-top: 6rem;
}

:root {

  --bg: #fdfdfc;
  --surface: #f5f5f2;
  --surface-2: #ececea;
  --border: #e0e0da;
  --border-strong: #8e8e83;

  --text: #17181a;
  --text-muted: #55574f;
  --text-faint: #65675e;

  --accent: #0a6355;
  --accent-hover: #084b40;
  --accent-wash: #0a63550f;
  --on-accent: #ffffff;

  --shadow-sm: 0 1px 2px rgb(20 20 18 / 6%);
  --shadow: 0 1px 3px rgb(20 20 18 / 8%), 0 8px 24px rgb(20 20 18 / 6%);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.34vw, 1.4rem);
  --step-2: clamp(1.44rem, 1.32rem + 0.6vw, 1.8rem);
  --step-3: clamp(1.73rem, 1.53rem + 1vw, 2.34rem);
  --step-4: clamp(2.07rem, 1.75rem + 1.6vw, 3.05rem);
  --step-5: clamp(2.49rem, 1.98rem + 2.55vw, 4.2rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --wrap: 74rem;
  --measure: 68ch;
  --header-h: 4rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1211;
    --surface: #171b1a;
    --surface-2: #1f2523;
    --border: #2b3230;
    --border-strong: #606d68;

    --text: #e8edeb;
    --text-muted: #a2adaa;
    --text-faint: #7f8b88;

    --accent: #4fd3b4;
    --accent-hover: #7ae0c8;
    --accent-wash: #4fd3b418;
    --on-accent: #04211b;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow: 0 1px 3px rgb(0 0 0 / 45%), 0 10px 30px rgb(0 0 0 / 35%);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1211;
  --surface: #171b1a;
  --surface-2: #1f2523;
  --border: #2b3230;
  --border-strong: #606d68;

  --text: #e8edeb;
  --text-muted: #a2adaa;
  --text-faint: #7f8b88;

  --accent: #4fd3b4;
  --accent-hover: #7ae0c8;
  --accent-wash: #4fd3b418;
  --on-accent: #04211b;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow: 0 1px 3px rgb(0 0 0 / 45%), 0 10px 30px rgb(0 0 0 / 35%);

  color-scheme: dark;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
  font-weight: 650;
}

h1 {
  font-size: var(--step-5);
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
}

h4 {
  font-size: var(--step-0);
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transition: color 0.12s ease, text-decoration-color 0.12s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

strong {
  font-weight: 650;
  color: var(--text);
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text-muted);
}

time {
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 5rem, var(--wrap));
  }
}

.measure {
  max-width: var(--measure);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r);
}

.skip-link:focus {
  top: var(--sp-4);
  color: var(--on-accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 550;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--accent);
  background: var(--accent-wash);
}

.nav-toggle {
  display: none;
}

@media (max-width: 47.99rem) {
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    cursor: pointer;
  }

  .nav {
    position: absolute;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav[hidden] {
    display: none;
  }

  .nav a {
    padding: 0.7rem;
    font-size: var(--step-0);
  }
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: block;
  }
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--text-faint);
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.15s ease;
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

.link-back svg {
  width: 0.9rem;
  height: 0.9rem;
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1);
  font-weight: 550;
  color: var(--text-muted);
  text-decoration: none;
}

.link-back:hover {
  color: var(--accent);
}

.hero {
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}

@media (min-width: 58rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: var(--sp-8);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-4);
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.hero__eyebrow .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero__role {
  margin-top: var(--sp-4);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  max-width: 30ch;
}

.hero__pitch {
  margin-top: var(--sp-5);
  max-width: 58ch;
  color: var(--text-muted);
}

.hero__actions {
  margin-top: var(--sp-6);
}

.hero__portrait {
  width: 100%;
  max-width: 15rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero__meta {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
  font-size: var(--step--1);
}

.hero__meta div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-muted);
}

.hero__meta svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  color: var(--text-faint);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.section__label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__note {
  color: var(--text-muted);
  font-size: var(--step--1);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

.work-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.work-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.work-card:has(a:focus-visible) {
  border-color: var(--accent);
}

.work-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
  padding: var(--sp-5);
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.work-card__meta span+span::before {
  content: "·";
  margin-right: 0.5rem;
}

.work-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.work-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.work-card h3 a:hover {
  color: var(--accent);
}

.work-card p {
  color: var(--text-muted);
  font-size: var(--step--1);
  margin-top: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tags li {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.timeline {
  display: grid;
  gap: var(--sp-6);
}

.timeline>li {
  display: grid;
  gap: var(--sp-2) var(--sp-6);
}

@media (min-width: 46rem) {
  .timeline>li {
    grid-template-columns: 11rem minmax(0, 1fr);
  }
}

.timeline__when {
  font-size: var(--step--1);
  font-weight: 550;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
}

.timeline__when .now {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
}

.timeline__when .now::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.timeline__org {
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.timeline__body {
  margin-top: var(--sp-3);
  color: var(--text-muted);
  max-width: var(--measure);
}

.timeline__body>*+* {
  margin-top: var(--sp-3);
}

.bullets {
  display: grid;
  gap: var(--sp-2);
  padding-left: 1.1rem;
  list-style: none;
}

.bullets li {
  position: relative;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.68em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

.grade {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent);
  font-size: var(--step--1);
  font-weight: 600;
}

.skills {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.skills h3 {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chips li {
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--step--1);
  font-weight: 550;
}

.certs {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}

.cert-card {
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.cert-card>h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--step-0);
  margin-bottom: var(--sp-4);
}

.count {
  padding: 0.1rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
}

.cert-list {
  display: grid;
}

.cert-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.cert-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.cert-list img {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  object-fit: contain;
  transform: translateY(0.15rem);
}

.cert-list .bullet {
  flex: none;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--accent);
}

.cert-code {
  white-space: nowrap;
}

.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.gallery figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.gallery figcaption {
  padding: 0.7rem 0.85rem;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--text-muted);
}

.gallery img {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
  transition: transform 0.35s ease;
}

.gallery-trigger {
  all: unset;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.gallery-trigger:hover img {
  transform: scale(1.04);
}

.lightbox {
  width: min(96vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(10 12 11 / 78%);
  backdrop-filter: blur(3px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--surface-2);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border);
}

.lightbox__caption {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.project-hero {
  padding-block: var(--sp-6) var(--sp-7);
}

.project-hero h1 {
  font-size: var(--step-4);
  margin-top: var(--sp-4);
  max-width: 20ch;
}

.project-hero .lede {
  margin-top: var(--sp-5);
}

.spec {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

.spec dt {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}

.spec dd {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 550;
}

.prose {
  max-width: var(--measure);
}

.prose>*+* {
  margin-top: var(--sp-4);
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-7);
}

.prose h3 {
  margin-top: var(--sp-6);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.figure-wide {
  margin-block: var(--sp-6);
}

.figure-wide img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.figure-wide figcaption {
  margin-top: var(--sp-3);
  font-size: var(--step--1);
  color: var(--text-faint);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  padding-block: var(--sp-6);
  border-top: 1px solid var(--border);
}

.site-footer {
  padding-block: var(--sp-7);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: var(--step--1);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
}

.social {
  display: flex;
  gap: var(--sp-2);
}

.social a {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  text-decoration: none;
}

.social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-wash);
}

.social svg {
  width: 1.05rem;
  height: 1.05rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite {
  display: 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;
  }
}

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --border: #d5d5d0;
    --border-strong: #999;
    --text: #000;
    --text-muted: #1f1f1f;
    --text-faint: #4a4a4a;
    --accent: #0a5348;
    --accent-wash: transparent;
    --shadow: none;
    --shadow-sm: none;
  }

  .site-header,
  .skip-link,
  .hero__actions,
  .hero__portrait,
  .theme-toggle,
  .nav-toggle,
  .lightbox,
  #work .work-card__media,
  .pager,
  .social {
    display: none !important;
  }

  body {
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .wrap {
    width: 100%;
  }

  .hero {
    padding-block: 0 1rem;
  }

  .hero__grid {
    display: block;
  }

  .hero__role {
    max-width: none;
    font-size: 14pt;
  }

  .hero__pitch {
    margin-top: 0.6rem;
  }

  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
    margin-top: 0.8rem;
  }

  .section {
    padding-block: 0.8rem;
  }

  .section__head {
    margin-bottom: 0.8rem;
    break-after: avoid;
  }

  .timeline>li,
  .skills>div {
    break-inside: avoid;
  }

  .work-grid,
  .certs {
    display: block;
  }

  .work-card,
  .cert-card {
    break-inside: avoid;
    margin-bottom: 0.7rem;
    box-shadow: none;
  }

  .work-card__body {
    padding: 0.9rem 1rem;
  }

  .work-card p {
    margin-top: 0.4rem;
  }

  .timeline {
    gap: 1rem;
  }

  a {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
    word-break: break-all;
  }
}