:root {
  color-scheme: light;
  --page: #fafbfe;
  --paper: #edf0ff;
  --ink: #172340;
  --indigo: #1b2a56;
  --cobalt: #3d42c9;
  --amber: #ffcd82;
  --pine: #153c36;
  --muted: #4b5875;
  --rule: #cbd3e9;
  --white: #ffffff;
  --display: "Bricolage Grotesque", Bahnschrift, "Segoe UI", sans-serif;
  --text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.05rem, 4.7vw, 5rem);
}

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

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

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

h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.13;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button {
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

#main:focus {
  outline: 0;
}

[id] {
  scroll-margin-top: 1.25rem;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.5rem 0.75rem;
  transform: translateY(-200%);
  clip-path: inset(50%);
  background: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
  clip-path: none;
}

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

.section {
  padding-block: clamp(3.05rem, 6.1vw, 5.6rem);
}

.section-title {
  font: 735 clamp(2.45rem, 4.25vw, 4.05rem)/0.99 var(--display);
  letter-spacing: -0.052em;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.72rem;
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.32rem 0.32rem 0.95rem 0.32rem;
  background: var(--cobalt);
  color: var(--white);
  font: 775 1.06rem/1 var(--display);
  letter-spacing: -0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 3.1vw, 2.8rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-weight: 680;
  text-decoration: none;
}

.nav-links a:hover, .back-to-top:hover {
  color: var(--cobalt);
  text-decoration: underline;
}

.print-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid #aebada;
  border-radius: 0.36rem;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.print-button:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.print-icon {
  position: relative;
  width: 0.96em;
  height: 0.61em;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.print-icon::before, .print-icon::after {
  position: absolute;
  left: 17%;
  width: 66%;
  height: 0.37em;
  border: 1.5px solid currentColor;
  background: var(--page);
  content: "";
}

.print-icon::before {
  bottom: 100%;
  border-bottom: 0;
}

.print-icon::after {
  top: 56%;
}

.hero-band {
  border-block: 1px solid #d5dcf4;
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.45rem, 4.75vw, 4.7rem);
  padding-block: clamp(2.7rem, 4.3vw, 4rem);
}

.discipline {
  margin-bottom: clamp(0.85rem, 1.55vw, 1.35rem);
  color: var(--cobalt);
  font-size: clamp(1.04rem, 1.5vw, 1.32rem);
  font-weight: 720;
}

.hero h1 {
  font: 760 clamp(3.7rem, 7.48vw, 7.5rem)/0.89 var(--display);
  letter-spacing: -0.058em;
}

.hero h1 span {
  display: block;
}

.intro {
  max-width: 43ch;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.46vw, 1.27rem);
  line-height: 1.52;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  min-height: 3.05rem;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 1rem;
  border: 1px solid transparent;
  border-radius: 0.38rem;
  font-weight: 725;
  text-decoration: none;
}

.button-primary {
  background: var(--cobalt);
  color: var(--white);
}

.button-primary:hover {
  background: #3034a7;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--cobalt);
  font-weight: 725;
}

.text-link:hover, .honor-link:hover {
  text-decoration-thickness: 0.13em;
}

.arrow-out, .arrow-up, .arrow-down {
  position: relative;
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  flex: 0 0 0.85em;
}

.arrow-out::before, .arrow-up::before, .arrow-down::before {
  position: absolute;
  top: 0.12em;
  right: 0.1em;
  width: 0.5em;
  height: 0.5em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
}

.arrow-out::after, .arrow-up::after, .arrow-down::after {
  position: absolute;
  top: 0.51em;
  right: 0.045em;
  width: 0.82em;
  height: 1.5px;
  transform: rotate(-45deg);
  background: currentColor;
  content: "";
}

.arrow-up {
  transform: rotate(-45deg);
}

.arrow-down {
  transform: rotate(135deg);
}

.location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-pin {
  position: relative;
  top: -0.07em;
  width: 0.7em;
  aspect-ratio: 1;
  transform: rotate(-45deg);
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 12%;
}

.location-pin::after {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.print-contact, .print-only {
  display: none;
}

.inspection {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #3a4e81;
  border-radius: 1.15rem 1.15rem 0.6rem 0.6rem;
  background: var(--indigo);
  box-shadow: 0 13px 0 -6px #ced8f4, 0 19px 38px -24px #21387b88;
  color: #f7f8ff;
}

.inspection-header, .inspection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 0.95rem;
  padding: 1.08rem clamp(0.75rem, 2vw, 1.48rem);
}

.inspection-context {
  margin-bottom: 0.26rem;
  color: #bbc9f0;
  font-size: 0.83rem;
  font-weight: 600;
}

.inspection-header h2 {
  font: 690 clamp(1.25rem, 2.2vw, 1.85rem)/1.07 var(--display);
  letter-spacing: -0.033em;
}

.cell-count {
  flex-shrink: 0;
  padding: 0.22rem 0.59rem;
  border: 1px solid #6083b6;
  border-radius: 0.25rem;
  color: #d3ddfe;
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.inspection-stage {
  position: relative;
  border-block: 1px solid #3a5088;
  background: #1b2e61;
}

#inspection-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 392;
}

.cell-targets {
  position: absolute;
  inset: 0;
}

.cell-target {
  position: absolute;
  width: var(--target-width);
  height: var(--target-height);
  padding: 0;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 18%, 80% 0, 100% 82%, 20% 100%);
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.cell-target::after {
  position: absolute;
  inset: 13% 18%;
  transform: rotate(-7deg);
  border: 2px solid transparent;
  border-radius: 50%;
  content: "";
}

.cell-target:focus-visible::after {
  border-color: white;
  box-shadow: 0 0 0 2px #192e45;
}

@media (hover: hover) {
  .cell-target:hover::after {
    border-color: #e7f7ff;
  }
}

.cell-readout {
  position: absolute;
  top: 0.65rem;
  left: 0.8rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid #7792ac;
  border-radius: 0.2rem;
  background: #182d49;
  color: #f2f6fe;
  font: 650 0.83rem/1.35 var(--text);
  pointer-events: none;
}

.inspection-footer {
  min-height: 5.15rem;
  flex-wrap: wrap;
}

.scan-status {
  display: flex;
  align-items: baseline;
  gap: 0.53rem;
  color: var(--amber);
  font-weight: 720;
  line-height: 1.25;
}

.scan-status::before {
  width: 0.54em;
  height: 0.54em;
  flex: 0 0 0.54em;
  align-self: center;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.inspection[data-state="pass"] .scan-status {
  color: #a5f2db;
}

.inspection[data-state="scanning"] .scan-status, .inspection[data-state="ready"] .scan-status {
  color: #bfd2ff;
}

.scan-help {
  margin-top: 0.16rem;
  color: #bfcdf0;
  font-size: 0.84rem;
}

.scan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.scan-button {
  min-height: 2.65rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid #7186bd;
  border-radius: 0.33rem;
  background: transparent;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 690;
}

.scan-button:hover {
  background: #344982;
}

.scan-primary {
  border-color: #ccdaff;
  background: #d6e0ff;
  color: var(--indigo);
}

.scan-primary:hover {
  background: #f4f7ff;
}

.scan-primary[aria-disabled="true"] {
  border-color: #7388b6;
  background: #394e76;
  color: #e4ebfa;
  cursor: progress;
}

.cell-picker {
  display: none;
  background: var(--indigo);
  color: #f7f8ff;
  font-family: var(--text);
}

@media (pointer: coarse), (max-width: 38rem) {
  .cell-picker {
    display: inline-block;
  }
}

.inspection :is(button, select):focus-visible, .casc a:focus-visible, .contact a:focus-visible {
  outline-color: var(--amber);
}

.press-band {
  background: #f7f8ff;
}

.press-row {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0.35rem clamp(1.5rem, 4.5vw, 4rem);
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.press-label {
  padding-block: 0.3rem;
}

.press-label h2 {
  margin-bottom: 0.26rem;
  color: var(--cobalt);
  font-size: 0.92rem;
}

.press-label p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.37;
}

.press-story {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 0.38rem;
  font: 690 clamp(1.3rem, 2.25vw, 2.02rem)/1.12 var(--display);
  letter-spacing: -0.028em;
  text-decoration: none;
}

.press-story:hover > span:first-child {
  text-decoration: underline;
}

.press-arrow {
  display: grid;
  width: 2.62rem;
  height: 2.62rem;
  flex: 0 0 2.62rem;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--cobalt);
  font-size: 1rem;
}

.press-story:hover .press-arrow {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: var(--white);
}

.projects > h2, .details h2 {
  margin-bottom: clamp(1.45rem, 3vw, 2.5rem);
}

.capstone-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(1.65rem, 3.5vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  background: var(--paper);
}

.showcase-player {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--indigo);
}

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

.showcase-player::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 52%, #172340c9);
  content: "";
}

.showcase-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(3.2rem, 6vw, 5rem);
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  color: var(--indigo);
  box-shadow: 0 3px 18px #17234066;
}

.showcase-play::before {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-block: 0.65rem solid transparent;
  border-left: 1rem solid currentColor;
  content: "";
}

.showcase-player:hover .showcase-play {
  background: var(--cobalt);
  color: var(--white);
}

.showcase-player:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}

.showcase-play-label {
  position: absolute;
  z-index: 1;
  bottom: 0.85rem;
  left: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

.showcase-caption {
  padding: clamp(1.15rem, 2.7vw, 2.35rem);
}

.showcase-caption h3 {
  margin-bottom: 0.75rem;
  font: 720 clamp(1.6rem, 2.7vw, 2.5rem)/1.04 var(--display);
  letter-spacing: -0.04em;
}

.showcase-caption p {
  max-width: 33ch;
  color: var(--muted);
}

.showcase-caption .text-link {
  margin-top: 0.8rem;
}

.project-feature, .course-projects {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 0 clamp(1.45rem, 4.25vw, 3.65rem);
}

.project-feature {
  border-top: 2px solid var(--cobalt);
  border-bottom: 1px solid var(--rule);
}

.project-capstone, .project-vision {
  padding-block: clamp(1.35rem, 3vw, 2.3rem);
}

.project-vision {
  padding-inline: clamp(1.05rem, 3vw, 2.4rem);
  background: var(--paper);
}

.project-feature h3 {
  margin-bottom: 0.85rem;
  font: 710 clamp(1.68rem, 3.04vw, 3rem)/1.025 var(--display);
  letter-spacing: -0.045em;
}

.project-feature p, .course-projects p {
  max-width: 67ch;
}

.project-context {
  margin-bottom: 0.58rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 670;
}

.project-capstone .text-link, .job .text-link {
  margin-top: 0.48rem;
}

.dataset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.85rem;
  margin-top: 1rem;
  border-top: 1px solid #c6d0f0;
}

.dataset > div, .casc-metrics dl > div {
  display: flex;
  flex-direction: column;
}

.dataset dd, .casc-metrics dd {
  order: -1;
  font-variant-numeric: lining-nums tabular-nums;
}

.dataset dd {
  color: var(--cobalt);
  font: 735 clamp(1.8rem, 3.12vw, 3.04rem)/1 var(--display);
  letter-spacing: -0.055em;
}

.dataset dt {
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 650;
}

.course-projects {
  padding-top: clamp(1.4rem, 3.4vw, 2.75rem);
}

.course-projects h3, .job h3, .education h3 {
  font: 710 clamp(1.3rem, 1.95vw, 1.74rem)/1.13 var(--display);
  letter-spacing: -0.025em;
}

.course-projects h3 {
  margin-bottom: 0.57rem;
}

.casc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine);
  color: #f9faf1;
}

.contours {
  position: absolute;
  z-index: -1;
  bottom: -10rem;
  left: -9rem;
  width: min(68rem, 84vw);
  height: auto;
  mask-image: linear-gradient(90deg, #000 61%, transparent 100%);
  opacity: 0.38;
  pointer-events: none;
}

.casc-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.45rem, 6vw, 6rem);
  padding-block: clamp(3.1rem, 6vw, 5.7rem);
}

.casc .section-title {
  font-size: clamp(2.28rem, 3.8vw, 3.8rem);
}

.casc-story > p {
  max-width: 57ch;
  margin-top: 1.15rem;
  color: #deeee6;
  font-size: 1.06rem;
}

.casc-metrics {
  width: min(100%, 26rem);
  padding-top: 1.15rem;
  margin-top: 1.5rem;
  border-top: 1px solid #6a9486;
}

.casc-metrics > p {
  margin-bottom: 0.72rem;
  color: #deeee6;
  font-size: 0.93rem;
  font-weight: 680;
}

.casc-metrics dl {
  display: flex;
  gap: clamp(1.3rem, 5vw, 4.4rem);
}

.casc-metrics dd {
  color: #f4e7ad;
  font: 750 clamp(1.95rem, 4.85vw, 4.25rem)/0.98 var(--display);
  letter-spacing: -0.06em;
}

.casc-metrics dt {
  color: #e0eee7;
  font-size: 0.95rem;
}

.casc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.45rem;
  margin-top: 0.9rem;
}

.casc-links .text-link {
  color: #f5e8b2;
}

.casc-resources {
  padding: clamp(1.05rem, 2.5vw, 1.95rem);
  border: 1px solid #729489;
  border-radius: 0.5rem;
  background: #1d493f;
}

.casc-resources h3 {
  margin-bottom: 0.9rem;
  font: 700 clamp(1.3rem, 2.23vw, 1.99rem)/1.1 var(--display);
  letter-spacing: -0.025em;
}

.casc-resources ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.casc-resources li {
  border-top: 1px solid #6a9185;
}

.casc-resources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-block: 0.73rem;
  text-decoration: none;
}

.casc-resources a:hover strong {
  text-decoration: underline;
}

.casc-resources small {
  display: block;
  margin-top: 0.17rem;
  color: #e1eee8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.record-section, .contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.7rem, 4.5vw, 4.25rem);
}

.job + .job {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.job-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem 0.95rem;
  margin-bottom: 0.82rem;
}

#experience .job {
  --mark-width: clamp(5.5rem, 9vw, 7.25rem);
  --mark-gap: clamp(0.85rem, 1.65vw, 1.45rem);
}

.employer-header {
  display: grid;
  grid-template-columns: var(--mark-width) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--mark-gap);
}

.employer-mark {
  display: grid;
  width: 100%;
  height: 3.55rem;
  place-items: center;
  padding: 0.45rem;
  border: 1px solid #d6ddea;
  border-radius: 0.25rem;
  background: #fff;
}

.employer-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}

.milwaukee-mark {
  border-color: transparent;
  background: #db011c;
}

#experience .job > :not(header) {
  margin-inline-start: calc(var(--mark-width) + var(--mark-gap));
}

.organization {
  margin-top: 0.31rem;
  color: var(--cobalt);
  font-weight: 700;
  line-height: 1.42;
}

.period {
  color: var(--muted);
  font-size: 0.91rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.42;
}

.period span {
  display: block;
  margin-top: 0.16rem;
}

.work-points {
  max-width: 74ch;
  padding-left: 1.14rem;
  margin: 0;
}

.work-points li + li, .job p + p {
  margin-top: 0.44rem;
}

.work-points li::marker {
  color: var(--cobalt);
}

.job > p {
  max-width: 73ch;
}

.detail-band {
  border-block: 1px solid #dbe2f4;
  background: #f0f3fc;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(2.3rem, 8vw, 7.5rem);
}

.education-entry p {
  max-width: 62ch;
}

.education-entry h3 + p {
  margin-top: 0.43rem;
}

.education-entry p + p {
  margin-top: 0.5rem;
}

.education-entry + .education-entry {
  padding-top: 1.28rem;
  margin-top: 1.28rem;
  border-top: 1px solid var(--rule);
}

.supporting-text, .skill-list dd {
  color: var(--muted);
}

.honor-link {
  color: var(--cobalt);
  font-weight: 665;
}

.skill-list > div {
  padding-bottom: 0.72rem;
}

.skill-list > div + div {
  padding-top: 0.72rem;
  border-top: 1px solid var(--rule);
}

.skill-list dt {
  font-weight: 740;
}

.contact {
  background: var(--indigo);
  color: var(--white);
}

.contact-inner {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) auto;
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1.25rem, 3.4vw, 3.2rem);
}

.contact-links a, .back-to-top {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  font-weight: 660;
  overflow-wrap: anywhere;
}

.contact-links a:hover, .contact .back-to-top:hover {
  color: #e1e7ff;
  text-decoration-thickness: 0.13em;
}

.back-to-top {
  color: #d5e3ff;
  font-size: 0.91rem;
}

@media (max-width: 65rem) {
  .brand-name {
    display: none;
  }

  .record-section {
    grid-template-columns: minmax(0, 0.43fr) minmax(0, 1fr);
  }

  .inspection-footer {
    gap: 0.55rem 0.75rem;
  }
}

@media (max-width: 51rem) {
  .hero, .casc-inner, .record-section, .contact-inner, .capstone-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 1.7rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 12.1vw + 0.5rem, 6.2rem);
  }

  .intro {
    margin-top: 1.15rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .casc-break {
    display: none;
  }

  .contours {
    top: 0;
    left: -15rem;
    width: 56rem;
  }

  .period span {
    display: inline;
    margin-left: 0.42rem;
  }

  .contact-inner {
    gap: 0.9rem;
  }
}

@media (max-width: 38rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: 0.25rem;
    padding-top: 0.55rem;
  }

  .header-inner nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nav-links {
    justify-content: space-between;
    gap: 0 0.55rem;
    font-size: 0.91rem;
  }

  .location {
    margin-top: 0.85rem;
  }

  .hero {
    gap: 1.42rem;
    padding-block: 2.1rem 2.55rem;
  }

  .inspection-header, .inspection-footer {
    padding-block: 0.75rem;
  }

  .inspection-context {
    font-size: 0.8rem;
  }

  .press-row, .project-feature, .course-projects, .details {
    grid-template-columns: minmax(0, 1fr);
  }

  .press-label p br {
    display: none;
  }

  .press-label time {
    display: inline-block;
    margin-left: 0.45rem;
  }

  .course-projects {
    row-gap: 1.4rem;
  }

  .course-projects article + article {
    padding-top: 1.4rem;
    border-top: 1px solid var(--rule);
  }

  .job-header {
    display: block;
  }

  .job-header .period {
    margin-top: 0.4rem;
  }

  .employer-header {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    row-gap: 0.2rem;
  }

  .employer-mark {
    grid-row: span 2;
    height: 3rem;
  }

  .employer-header .period {
    grid-column: 2;
    margin: 0;
  }

  #experience .job > :not(header) {
    margin-inline-start: 0;
  }
}

@page {
  margin: 0.47in;
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 9.25pt;
    line-height: 1.24;
  }

  a, .organization, .period, .project-context, .supporting-text, .skill-list dd, .honor-link {
    color: #000;
  }

  .site-header, .skip-link, .inspection, .press-band, .casc, .contact, .intro, .capstone-showcase,
  .hero-actions, .location, .text-link, .arrow-out, .employer-mark {
    display: none;
  }

  .shell {
    width: 100%;
    margin-inline: 0;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .hero-band {
    order: -2;
  }

  #experience {
    order: -1;
  }

  .hero-band, .detail-band, .project-vision {
    border: 0;
    background: none;
  }

  .hero, .record-section {
    display: block;
  }

  .section, .hero, .project-capstone, .project-vision, .course-projects {
    padding: 0;
  }

  .hero h1 {
    font-size: 23pt;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .hero h1 span, .period span {
    display: inline;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .discipline {
    order: 1;
    margin: 2pt 0 0;
    color: #000;
    font-size: 9.25pt;
  }

  .print-contact {
    order: 2;
    margin-top: 2pt;
  }

  .print-contact, .print-only {
    display: block;
  }

  .section-title, .projects > h2, .details h2 {
    padding-bottom: 1.7pt;
    margin: 8pt 0 3.5pt;
    border-bottom: 0.5pt solid #777;
    font-size: 12.75pt;
    letter-spacing: -0.025em;
  }

  .job h3, .project-feature h3, .course-projects h3, .education h3 {
    margin-bottom: 2pt;
    font-size: 10.4pt;
    letter-spacing: -0.02em;
  }

  .organization, .period, .project-context, .education-entry h3 + p {
    margin: 1pt 0 2pt;
    font-size: 8.9pt;
  }

  .job-header {
    gap: 2pt 8pt;
    margin: 0 0 2pt;
  }

  .employer-header {
    display: flex;
  }

  .job-header > div:not(.employer-mark) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6pt;
  }

  .job-header h3, .job-header .organization {
    margin: 0;
  }

  .job-header .organization {
    font-weight: 500;
  }

  #experience .job > :not(header) {
    margin-inline-start: 0;
  }

  .job-header .period {
    margin-top: 1pt;
  }

  .period span {
    margin-left: 4pt;
  }

  .job + .job, .education-entry + .education-entry {
    padding: 0;
    margin-top: 5pt;
    border: 0;
  }

  .work-points, .job > p, .project-feature p, .course-projects p, .education-entry p {
    max-width: none;
  }

  .work-points li + li, .job p + p, .education-entry p + p {
    margin-top: 2pt;
  }

  .work-points li::marker {
    color: inherit;
  }

  .project-feature, .course-projects, .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12pt;
    border: 0;
  }

  .course-projects {
    margin-top: 5pt;
  }

  .course-projects article + article {
    padding: 0;
    border: 0;
  }

  .dataset {
    display: flex;
    gap: 7pt;
    padding: 0;
    margin-top: 2pt;
    border: 0;
  }

  .dataset > div {
    display: flex;
    flex-direction: row;
    gap: 3pt;
  }

  .dataset dd, .dataset dt {
    order: 0;
    color: #000;
    font: inherit;
    letter-spacing: 0;
  }

  .dataset dd {
    font-weight: 700;
  }

  .skill-list > div, .skill-list > div + div {
    padding: 0 0 2pt;
    border: 0;
  }

  article, .details {
    break-inside: avoid;
  }

  h2, h3 {
    break-after: avoid;
  }
}
