:root {
  color-scheme: light;
  --page: #f7faff;
  --surface: #ffffff;
  --section: #edf3fb;
  --ink: #152942;
  --muted: #485e77;
  --accent: #285b9e;
  --action: #1b4fa9;
  --action-hover: #153c87;
  --on-action: #ffffff;
  --line: #d9e4f1;
  --control-line: #7088a4;
  --focus: #2263bd;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
  --header-row-height: 4.625rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101b2c;
  --surface: #182943;
  --section: #142238;
  --ink: #eff6ff;
  --muted: #bccde2;
  --accent: #a0c7ff;
  --action: #abcfff;
  --action-hover: #c7dfff;
  --on-action: #122747;
  --line: #354c68;
  --control-line: #7a94b2;
  --focus: #a0c7ff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-row-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 1rem/1.6 var(--sans);
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
}

a { color: inherit; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.shell {
  width: min(calc(100% - 2 * var(--gutter)), 72rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  color: var(--on-action);
  background: var(--action);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-row-height);
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .65rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.profile-nav {
  display: flex;
  justify-content: center;
  gap: .25rem;
  font-size: .95rem;
  font-weight: 650;
}

.profile-nav > a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding: .25rem clamp(.65rem, 2vw, 1.15rem);
  border-radius: .6rem;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.profile-nav > a:hover {
  color: var(--ink);
  background: var(--section);
}

.profile-nav > a:focus-visible { outline-offset: 2px; }

.site-footer > a {
  padding-block: .55rem;
  text-decoration: none;
  text-underline-offset: .28em;
}

.site-footer > a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.header-controls {
  display: flex;
  grid-column: -2 / -1;
  grid-row: 1;
  justify-self: end;
}

.icon-button, .social-link {
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  display: none;
  color: var(--ink);
}

.icon-button:hover, .social-link:hover { background: var(--section); }

.js .theme-toggle { display: grid; }

.theme-icon {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

[data-theme="dark"] .theme-icon { transform: rotate(180deg); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3rem, 5.25vw, 5.5rem);
}

.eyebrow {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1, .error-page h1 {
  margin-top: .9rem;
  letter-spacing: -.065em;
  line-height: .99;
}

.hero h1 { font-size: clamp(2.75rem, 1.75rem + 3.75vw, 5.125rem); }
.error-page h1 { font-size: clamp(3.25rem, 6.4vw, 6rem); }

.hero h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero-intro {
  max-width: 50ch;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
}

.hero-intro + .hero-intro { margin-top: .85rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  color: var(--on-action);
  background: var(--action);
}

.button-primary:hover { background: var(--action-hover); }

.button-secondary { border-color: var(--control-line); }
.button-secondary:hover { background: var(--section); }
.button-profile { gap: .55rem; }

.hero-image {
  display: block;
  width: 90%;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 1.1;
  border-radius: .9rem;
  background: #486980;
  object-fit: cover;
  object-position: center;
}

.profile-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.selected-work, .study-section {
  border-block: 1px solid var(--line);
  background: var(--section);
}

h2 {
  font-size: clamp(2.55rem, 4.8vw, 4rem);
  letter-spacing: -.058em;
  line-height: 1.07;
}

.heading-period { color: var(--accent); }

.section-heading {
  margin-bottom: 1.9rem;
}

.project-list, .life-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 2.5vw, 1.5rem);
}

.project, .study-entry, .study-feature {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  color: var(--muted);
  background: var(--surface);
}

.project-client {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
}

.project h3 {
  margin-block: .45rem .8rem;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}

.project dl {
  margin: 1.3rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.project dl > div + div { margin-top: .85rem; }
.project dt { color: var(--ink); font-weight: 650; }
.project dd { margin: .2rem 0 0; }

.project-diagram, .undergraduate-coursework { margin-top: .75rem; }

.project-diagram summary {
  padding-block: .55rem;
  color: var(--accent);
  font-weight: 650;
  cursor: pointer;
}

.project-diagram img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .35rem;
  border-radius: .55rem;
}

.experience-section { padding-bottom: 0; }

.experience-section h3 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}

.experience-copy, .experience-role, .skills-list dd, .error-page > p:not(.eyebrow) {
  color: var(--muted);
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: .9rem clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(1.45rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.experience-date {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.experience-heading h4 {
  margin-block: .25rem .3rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.experience-role {
  font-weight: 600;
}

.experience-copy {
  margin: 0;
  padding-inline-start: 1.2em;
}

.experience-copy li + li { margin-top: .55rem; }
.experience-copy li::marker { color: var(--accent); }
.experience-copy a, .course-source a { color: var(--accent); text-underline-offset: .18em; }

.skills-section .section-heading p {
  max-width: 62ch;
  margin-top: .8rem;
  color: var(--muted);
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.8vw, 1.25rem);
  margin: 0;
}

.skills-list > div {
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--section);
}

.skills-list dt {
  margin-bottom: .35rem;
  font-size: 1.075rem;
  font-weight: 650;
  line-height: 1.35;
}

.skills-list dd { margin: 0; }
.skills-list dd + dd { margin-top: .35rem; }

.skills-credentials {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.skills-credentials h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.skills-credentials ul {
  margin: .65rem 0 0;
  padding-inline-start: 1.15em;
  color: var(--muted);
}

.skills-credentials li + li { margin-top: .35rem; }

.study-feature {
  margin-bottom: clamp(.85rem, 2.5vw, 1.5rem);
}

.coursework-grid, .course-year-grid {
  display: grid;
  gap: clamp(.75rem, 1.8vw, 1.25rem);
  margin-top: 1.4rem;
}

.coursework-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.course-year-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.coursework-entry {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.1vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--section);
}

.coursework-heading {
  margin-block: .3rem .7rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.course-code {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
}

.course-source {
  margin-top: auto;
  padding-top: .75rem;
  font-size: .875rem;
}

.subject-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subject-list li {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  align-items: baseline;
  gap: .65rem;
  padding-block: .5rem;
  border-top: 1px solid var(--line);
}

.study-entry-title {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.study-meta {
  margin-block: .45rem .65rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
}

.study-highlight { margin-top: .65rem; }

.undergraduate-coursework .coursework-grid { margin: .65rem 0 0; }
.undergraduate-coursework dt { color: var(--ink); font-weight: 650; }
.undergraduate-coursework dd { margin: .25rem 0 0; }

.life-content {
  color: var(--muted);
  font-size: 1.075rem;
}

.life-intro { max-width: 66ch; }

.life-topics { margin-top: 1.5rem; }

.life-topics > section {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--section);
}

.life-topics h3, .life-gallery h3 {
  margin-bottom: .55rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.life-gallery { margin-top: 1.75rem; }

.gallery-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1rem;
}

.life-gallery .gallery-header h3 { margin: 0; }

.gallery-filters {
  display: none;
  flex-wrap: wrap;
  gap: .4rem;
}

.js .gallery-filters { display: flex; }

.gallery-filters button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: .45rem;
  padding: .3rem .85rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  color: var(--muted);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}

.gallery-filters button:hover {
  border-color: var(--control-line);
  color: var(--ink);
}

.gallery-filters button[aria-pressed="true"] {
  border-color: var(--action);
  color: var(--on-action);
  background: var(--action);
}

.gallery-filters button:focus-visible { outline-offset: 2px; }

.filter-count {
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  opacity: .85;
}

.filter-count:empty { display: none; }

/* Justified rows: each photo grows in proportion to its aspect ratio, so a row
   shares one height and no photo is cropped. Set --ratio (width ÷ height) on each item.
   script.js then balances the rows so the last one isn't left with a single photo. */
@property --row {
  syntax: "<length>";
  inherits: true;
  initial-value: 176px;
}

.gallery-grid {
  --row: clamp(7rem, 3rem + 9vw, 11.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.45rem, 1.1vw, .8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-grid::after {
  flex-grow: 1000000;
  content: "";
}

.gallery-item {
  flex-grow: calc(var(--ratio, 1.5) * 100);
  flex-basis: calc(var(--ratio, 1.5) * var(--row));
  min-width: 0;
}

.gallery-item[hidden] { display: none; }

.gallery-grid.is-balanced::after { display: none; }
.gallery-grid.is-balanced .gallery-item { flex: 0 0 auto; }

.gallery-grid.is-balanced .gallery-item img {
  height: var(--height);
  aspect-ratio: auto;
}

.gallery-item a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .6rem;
  background: var(--section);
}

.js .gallery-item a { cursor: zoom-in; }

.gallery-item a:focus-visible { outline-offset: 3px; }

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio, 1.5);
  object-fit: cover;
}

.gallery-item-title {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem .85rem .65rem;
  color: #f5f9ff;
  background: linear-gradient(rgb(6 14 27 / 0), rgb(6 14 27 / .74));
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
}

.gallery-item a:focus-visible .gallery-item-title { opacity: 1; }

@media (hover: hover) {
  .gallery-item a:hover .gallery-item-title { opacity: 1; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Photo viewer. It stays dark in both themes so photos read true to color. */
html.lightbox-open { overflow: hidden; }

.lightbox {
  --lightbox-ink: #eff6ff;
  --lightbox-muted: #bccde2;
  --lightbox-accent: #a0c7ff;
  --lightbox-page: #0a1424;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border: 0;
  color: var(--lightbox-ink);
  background: var(--lightbox-page);
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox::backdrop { background: #0a1424; }

.lightbox[open] {
  display: grid;
  grid-template:
    "bar bar bar" auto
    "prev stage next" minmax(0, 1fr)
    "strip strip strip" auto / auto minmax(0, 1fr) auto;
  gap: .75rem clamp(.5rem, 2vw, 1.5rem);
}

.lightbox :focus-visible {
  outline-color: var(--lightbox-accent);
  outline-offset: 3px;
}

.lightbox-bar {
  display: flex;
  grid-area: bar;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-counter {
  color: var(--lightbox-muted);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.lightbox-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(239 246 255 / .28);
  border-radius: 50%;
  color: var(--lightbox-ink);
  background: rgb(239 246 255 / .06);
  cursor: pointer;
}

.lightbox-button:hover { background: rgb(239 246 255 / .16); }
.lightbox-button[hidden] { display: none; }

.lightbox-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.lightbox-prev, .lightbox-next { align-self: center; }
.lightbox-prev { grid-area: prev; }
.lightbox-next { grid-area: next; }

.lightbox-stage {
  display: grid;
  grid-area: stage;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: .85rem;
  min-height: 0;
  margin: 0;
  touch-action: pinch-zoom;
}

.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox-caption {
  display: grid;
  gap: .15rem;
  text-align: center;
}

.lightbox-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  line-height: 1.25;
}

.lightbox-category {
  color: var(--lightbox-muted);
  font-size: .875rem;
}

.lightbox-strip {
  position: relative;
  display: flex;
  grid-area: strip;
  gap: .5rem;
  padding: .3rem .3rem .4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox-strip[hidden] { display: none; }

/* Auto margins centre the strip when it fits and keep both ends reachable when it scrolls. */
.lightbox-strip > :first-child { margin-left: auto; }
.lightbox-strip > :last-child { margin-right: auto; }

.lightbox-thumb {
  width: 4.25rem;
  height: 3rem;
  flex: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: .4rem;
  background: rgb(239 246 255 / .08);
  opacity: .5;
  cursor: pointer;
}

.lightbox-thumb:hover { opacity: .85; }

.lightbox-thumb[aria-current="true"] {
  outline: 2px solid var(--lightbox-accent);
  outline-offset: 2px;
  opacity: 1;
}

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

@media (prefers-reduced-motion: no-preference) {
  .gallery-item-title { transition: opacity .18s ease-out; }

  .lightbox[open], .lightbox[open]::backdrop { animation: lightbox-fade .2s ease-out; }

  .lightbox-image.is-entering { animation: photo-enter .28s cubic-bezier(.2, .7, .2, 1); }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: .3s;
  }
}

@keyframes lightbox-fade {
  from { opacity: 0; }
}

@keyframes photo-enter {
  from {
    opacity: .35;
    transform: translateX(var(--enter-x, 0));
  }
}

.life-actions { margin-top: 1.5rem; }

/* Closing motto: 长风破浪会有时，直挂云帆济沧海, in two vertical columns.
   The SVG is used as a mask, so the ink takes the theme's text color. */
.motto { padding-bottom: clamp(3.5rem, 8vw, 6rem); }

.motto-figure {
  display: grid;
  justify-items: center;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  margin-block: 0;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.motto-calligraphy {
  --motto-height: clamp(16rem, 28vw, 23rem);
  width: calc(var(--motto-height) * .3941);
  height: var(--motto-height);
  background: var(--ink);
  print-color-adjust: exact;
  -webkit-mask: url("assets/motto.svg") center / contain no-repeat;
  mask: url("assets/motto.svg") center / contain no-repeat;
}

.motto-translation {
  max-width: 40rem;
  color: var(--muted);
  font: italic clamp(1.1rem, 1rem + .45vw, 1.3rem)/1.55 var(--serif);
  text-align: center;
  text-wrap: balance;
}

.motto-translation span { display: block; }

@media (forced-colors: active) {
  .motto-calligraphy {
    background: CanvasText;
    forced-color-adjust: none;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-block: 1.65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: grid;
  color: var(--accent);
  text-decoration: none;
}

.social-icon {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  place-items: center;
}

.linkedin-icon {
  border-radius: .16rem;
  color: var(--on-action);
  background: var(--action);
  font: 750 .78rem/1 Arial, sans-serif;
  letter-spacing: -.065em;
}

.instagram-icon {
  position: relative;
  border: 1.5px solid currentColor;
  border-radius: .29rem;
}

.instagram-icon::before {
  width: .44rem;
  height: .44rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.instagram-icon::after {
  position: absolute;
  top: .08rem;
  right: .08rem;
  width: .14rem;
  height: .14rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.error-page { padding-block: clamp(4rem, 12vw, 10rem); }
.error-page > p:not(.eyebrow) { margin-block: 1.5rem; }

@media (max-width: 60rem) {
  .hero { gap: 2.5rem; }
}

@media (max-width: 48rem) {
  :root {
    --header-row-height: 4rem;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .5rem;
  }

  .profile-nav { gap: 0; }
  .profile-nav > a { padding-inline: clamp(.33rem, 1.35vw, .55rem); }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image { aspect-ratio: 1.35; }
  .experience-entry, .project-list, .course-year-grid, .life-topics { grid-template-columns: 1fr; }
  .skills-list, .coursework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .lightbox[open] {
    grid-template:
      "bar bar bar" auto
      "stage stage stage" minmax(0, 1fr)
      "prev . next" auto / auto minmax(0, 1fr) auto;
  }

  .lightbox-strip { display: none; }
}

@media (max-height: 34rem) {
  .lightbox-strip { display: none; }
}

@media (max-width: 34rem) {
  .wordmark-name { display: none; }
  .profile-nav { flex-wrap: wrap; }
  .profile-nav > a { padding-inline: .25rem; }
  .skills-list, .coursework-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
}
