@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");
:root {
  --paper: #f8f5ee;
  --ink: #302442;
  --purple: #6940b7;
  --lilac: #e8def4;
  --line: #d9d1de;
  --muted: #716779;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #b379ed;
  outline-offset: 6px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 64px;
  padding-right: 64px;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2%;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  gap: 24px;
}
.wordmark {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -3px;
}
.wordmark span {
  font-size: 25px;
  color: var(--purple);
  margin-left: 4px;
}
nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
}
nav a:hover,
.text-link:hover {
  color: var(--purple);
}
.language {
  display: flex;
  gap: 8px;
  font-size: 12px;
  align-items: center;
}
.language button {
  border: 0;
  background: none;
  padding: 7px 4px;
  color: var(--muted);
  cursor: pointer;
}
.language button[aria-pressed="true"] {
  font-weight: 700;
  color: var(--purple);
  border-bottom: 2px solid var(--purple);
}
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding-top: 65px;
  position: relative;
  gap: 28px;
}
.eyebrow,
.tiny {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}
h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 118px;
  line-height: 0.87;
  font-weight: 400;
  letter-spacing: -4px;
  margin: 34px 0;
}
h1 > span {
  color: var(--purple);
  font-style: italic;
}
h1 sup {
  font-family: Georgia;
  font-size: 61px;
  display: inline-block;
  color: #d194b1;
  vertical-align: top;
  margin: 2px 0 0 25px;
}
.intro {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 29px;
}
.button {
  display: inline-block;
  background: var(--purple);
  border: 1px solid var(--purple);
  color: white;
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 12px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  background: #512e94;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding: 4px 0;
}
.hero .text-link {
  margin-left: 23px;
}
.hero-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 9px;
  letter-spacing: 1.3px;
  align-self: end;
}
.art {
  height: 510px;
  position: relative;
}
.test-window {
  position: absolute;
  top: 107px;
  left: 12px;
  right: 12px;
  transform: rotate(-5deg);
  background: #fffdf8;
  border: 1.5px solid #544360;
  border-radius: 9px;
  box-shadow: 11px 13px 0 #d8c8ee;
  z-index: 2;
  transition: transform 0.4s;
}
.art:hover .test-window {
  transform: rotate(-2deg) translateY(-5px);
}
.window-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font: 10px monospace;
}
.window-top span:first-child {
  color: #ac93c8;
  letter-spacing: 2px;
}
.window-body {
  padding: 25px;
}
.window-body h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400;
  margin: 16px 0 25px;
}
.check {
  font-size: 12px;
  padding: 8px 0;
  display: flex;
  gap: 13px;
  align-items: center;
}
.check i {
  font-style: normal;
  background: #e7dfef;
  border-radius: 50%;
  height: 19px;
  width: 19px;
  text-align: center;
  color: var(--purple);
}
.test-bottom {
  margin-top: 20px;
  border-top: 1px dashed var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font: 9px monospace;
}
.note {
  position: absolute;
  padding: 19px 23px;
  z-index: 3;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 23px;
  line-height: 1.2;
  white-space: pre-line;
}
.pink {
  background: #f0c5d4;
  right: 10px;
  top: 15px;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 #e4d5d5;
}
.yellow {
  background: #f4e9a7;
  bottom: 2px;
  left: -20px;
  transform: rotate(-9deg);
  display: flex;
  gap: 12px;
}
.yellow > span:first-child {
  font-size: 40px;
}
.orbit {
  position: absolute;
  font-size: 140px;
  color: #9f7ac9;
  top: -35px;
  left: -8px;
  animation: turn 45s linear infinite;
}
.cursor {
  position: absolute;
  right: -12px;
  bottom: 35px;
  z-index: 4;
  font-size: 56px;
  color: var(--purple);
  transform: rotate(-12deg);
}
.cursor span {
  font-size: 11px;
  background: var(--purple);
  color: white;
  padding: 4px 12px;
  border-radius: 3px;
  position: absolute;
  top: 57px;
  left: 32px;
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 57px;
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -1px;
  white-space: pre-line;
  margin: 20px 0 40px;
}
.section-title em {
  font-weight: 400;
  color: var(--purple);
}
.about {
  background: var(--lilac);
  margin-top: 0;
}
.about-grid,
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.about-copy {
  padding-top: 42px;
}
.about-copy h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
}
.about-copy p {
  font-size: 14px;
  line-height: 1.9;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.tags span {
  border: 1px solid #bca9d1;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 10px;
}
.personal-art {
  height: 120px;
  position: relative;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 23px;
}
.cup {
  font-size: 64px;
  transform: rotate(-12deg);
}
.cat {
  font-family: monospace;
  font-size: 24px;
  transform: rotate(8deg);
}
.spark {
  font-size: 32px;
  color: var(--purple);
  align-self: start;
}
.manga {
  font-family: Georgia;
  font-size: 15px;
  line-height: 1.8;
  padding: 18px 12px;
  background: #f7f3e7;
  border: 1px solid var(--ink);
  box-shadow: 5px 4px 0 #a08aba;
  transform: rotate(12deg);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.section-heading > p {
  font-size: 12px;
  color: var(--muted);
  white-space: pre-line;
}
.job {
  border-top: 1px solid var(--line);
  padding: 37px 0;
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
}
.job h3 {
  font-size: 29px;
  font-weight: 500;
  margin: 0;
}
.job .role {
  color: var(--purple);
  font-size: 13px;
  margin: 6px 0;
}
.job .date {
  font-size: 11px;
  color: var(--muted);
}
.job ul {
  padding-left: 17px;
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}
.job li + li {
  margin-top: 9px;
}
.job li::marker {
  color: #ad91cd;
}
.projects {
  background: #eee8e1;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.project-art {
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
}
.project-art:hover {
  transform: translateY(-5px);
}
.illustrator {
  background: #ddc8b5;
  color: #3e3029;
}
.project-number {
  position: absolute;
  top: 23px;
  left: 25px;
  font-size: 9px;
  letter-spacing: 2px;
}
.artist-name {
  position: absolute;
  top: 67px;
  left: 35px;
  font:
    54px/0.95 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -2px;
}
.artist-name em {
  font-weight: 400;
}
.artist-name small {
  display: block;
  font:
    8px "DM Sans",
    sans-serif;
  letter-spacing: 4px;
  margin-top: 18px;
}
.pen {
  font-size: 180px;
  position: absolute;
  right: 30px;
  top: 34px;
  transform: rotate(-24deg);
  color: #704e40;
}
.round-arrow {
  position: absolute;
  bottom: 22px;
  right: 23px;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  text-align: center;
  line-height: 32px;
}
.automation {
  background: #42305f;
  color: #f0e6fb;
}
.code-art {
  position: absolute;
  left: 28px;
  top: 87px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font: 13px/1.6 monospace;
}
.code-art b {
  color: #e4baa3;
  font-weight: 400;
}
.code-art i {
  color: #cfb7f0;
  font-style: normal;
}
.code-label {
  position: absolute;
  bottom: 29px;
  left: 28px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #c6afd9;
}
.project-content {
  padding: 25px 1px;
}
.project-content h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 10px 0 14px;
}
.project-content p {
  font-size: 13px;
  line-height: 1.9;
  min-height: 145px;
}
.skill-row {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 240px 1fr;
  padding: 23px 0;
  gap: 30px;
}
.skill-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
.skill-row p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.education {
  background: #eae3f1;
}
.education-list article {
  border-top: 1px solid #c8bbd7;
  padding: 24px 0;
}
.education-list h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  margin: 10px 0;
}
.education-list p,
.education-grid > div > p:last-child {
  font-size: 12px;
}
.education-list ul {
  padding-left: 15px;
  font-size: 13px;
  line-height: 2.1;
}
.contact {
  background: var(--purple);
  color: var(--paper);
}
.contact h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 79px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -1.5px;
  white-space: pre-line;
  margin: 30px 0;
}
.contact h2 em {
  font-weight: 400;
  color: #e5c2e1;
}
.email {
  font-size: 23px;
  border-bottom: 1px solid #b49bd6;
  padding-bottom: 8px;
  display: inline-block;
}
.contact-links {
  display: flex;
  gap: 34px;
  margin-top: 52px;
  font-size: 12px;
}
.contact-links a:last-child {
  margin-left: auto;
}
footer {
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
footer > span:last-child {
  font-size: 23px;
  color: var(--purple);
}
.skip {
  position: absolute;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.reveal {
  animation: rise 0.6s ease both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .wrap {
    max-width: 1350px;
  }
  .hero {
    min-height: 830px;
  }
  h1 {
    font-size: 140px;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
  nav {
    gap: 18px;
  }
  .hero {
    gap: 15px;
  }
  h1 {
    font-size: 99px;
  }
  .intro {
    font-size: 15px;
  }
  .art {
    transform: scale(0.9);
    transform-origin: center;
  }
  .about-grid,
  .education-grid {
    gap: 40px;
  }
  .section-title {
    font-size: 48px;
  }
  .hero .text-link {
    margin: 15px 0;
  }
  .job {
    gap: 30px;
  }
  .project-content p {
    min-height: 190px;
  }
}
@media (max-width: 650px) {
  header {
    height: 76px;
    padding: 0 23px;
    gap: 15px;
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  nav > a:nth-child(2),
  nav > a:last-child {
    display: none;
  }
  .wordmark {
    font-size: 30px;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    display: block;
    padding-top: 35px;
    min-height: 0;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: 105px;
    margin-top: 30px;
  }
  h1 sup {
    font-size: 45px;
  }
  .intro {
    font-size: 15px;
    max-width: 100%;
  }
  .hero .text-link {
    margin-left: 18px;
  }
  .art {
    height: 470px;
    transform: scale(0.91);
    margin-top: 15px;
  }
  .window-body {
    padding: 23px;
  }
  .window-body h2 {
    font-size: 31px;
  }
  .pink {
    right: -5px;
    top: 15px;
  }
  .test-window {
    left: 0;
    right: 0;
    top: 102px;
  }
  .yellow {
    left: -12px;
    bottom: 0;
    font-size: 22px;
  }
  .cursor {
    right: 0;
  }
  .hero-footer {
    font-size: 7px;
    gap: 15px;
    margin-top: 15px;
  }
  .hero-footer span:last-child {
    text-align: right;
  }
  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .section-title {
    font-size: 47px;
    margin-bottom: 30px;
  }
  .about-grid,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .about-copy {
    padding-top: 18px;
  }
  .personal-art {
    height: 90px;
    margin: 35px 0 15px;
    gap: 28px;
  }
  .cup {
    font-size: 51px;
  }
  .cat {
    font-size: 21px;
  }
  .manga {
    font-size: 12px;
    padding: 10px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-bottom: 30px;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 28px 0;
  }
  .job h3 {
    font-size: 27px;
  }
  .job ul {
    font-size: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project-art {
    height: 280px;
  }
  .project-content p {
    min-height: 0;
  }
  .project-content {
    padding-bottom: 10px;
  }
  .skill-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .skill-row p {
    line-height: 2;
  }
  .education-list {
    margin-top: 15px;
  }
  .contact h2 {
    font-size: 52px;
  }
  .email {
    font-size: 18px;
  }
  .contact-links {
    gap: 20px;
    font-size: 10px;
  }
  footer {
    font-size: 8px;
    gap: 15px;
  }
  footer > span:nth-child(2) {
    max-width: 130px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.orbit {
  font-size: 0;
  width: 125px;
  height: 125px;
  top: 3px;
  background: #a380c9;
  clip-path: polygon(
    45% 0,
    55% 0,
    55% 35%,
    80% 10%,
    88% 18%,
    63% 43%,
    100% 43%,
    100% 55%,
    65% 55%,
    90% 80%,
    82% 88%,
    57% 63%,
    57% 100%,
    45% 100%,
    45% 65%,
    20% 90%,
    12% 82%,
    37% 57%,
    0 57%,
    0 45%,
    35% 45%,
    10% 20%,
    18% 12%,
    43% 37%
  );
}
.wordmark span,
h1 sup,
footer > span:last-child {
  font-variant-emoji: text;
}
.cursor {
  font-family: Arial, sans-serif;
  font-size: 48px;
  transform: rotate(-120deg);
}
.cursor span {
  transform: rotate(120deg);
  top: 25px;
  left: -30px;
}
.yellow {
  bottom: -30px;
  left: -20px;
}
.art {
  margin-bottom: 30px;
}
@media (max-width: 650px) {
  .yellow {
    bottom: -15px;
  }
  .art {
    margin-bottom: 25px;
  }
}
/* Personal photographs: one portrait, one small handmade detail. */
.about-grid {
  align-items: center;
  column-gap: 78px;
}
.about-copy {
  padding-top: 65px;
}
.personal-photos {
  position: relative;
  max-width: 465px;
  padding: 0 55px 62px 8px;
  margin-top: 36px;
}
.personal-photos figure {
  margin: 0;
  background: #fffdf8;
  padding: 10px 10px 0;
  box-shadow: 0 7px 22px #49305d14;
  border: 1px solid #d7c9e1;
}
.portrait-photo {
  width: 100%;
  max-width: 315px;
  transform: rotate(-3deg);
}
.portrait-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.personal-photos figcaption {
  font-size: 11px;
  line-height: 1.5;
  padding: 12px 3px 14px;
  color: #665070;
  text-align: center;
}
.ceramics-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  transform: rotate(6deg);
}
.ceramics-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 941/557;
  object-fit: cover;
}
.ceramics-photo figcaption {
  font-size: 10px;
  padding: 9px 0 11px;
}
.tags {
  gap: 10px;
  margin-top: 28px;
}
.tags span {
  font-size: 13px;
  padding: 9px 17px;
  background: #f4eef9;
  border-color: #bba5d0;
}
.about-copy p {
  font-size: 15px;
}
.about .section-title {
  font-size: 53px;
}
@media (max-width: 900px) {
  .about-grid {
    column-gap: 38px;
  }
  .personal-photos {
    padding-right: 25px;
  }
  .ceramics-photo {
    width: 180px;
    right: -10px;
  }
  .about .section-title {
    font-size: 46px;
  }
  .tags span {
    font-size: 12px;
    padding: 8px 14px;
  }
}
@media (max-width: 650px) {
  .about-grid {
    gap: 30px;
  }
  .personal-photos {
    max-width: 380px;
    margin: 28px auto 0;
    padding: 0 42px 66px 8px;
  }
  .portrait-photo {
    max-width: 280px;
  }
  .ceramics-photo {
    width: 185px;
    right: 0;
  }
  .about-copy {
    padding-top: 12px;
  }
  .tags span {
    font-size: 13px;
  }
  .about .section-title {
    font-size: 45px;
  }
}
.illustrator {
  background: #ded2ea;
  padding: 18px 18px 0;
  display: flex;
  align-items: flex-start;
}
.browser-frame {
  width: 100%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0 9px 18px #24133322;
  background: #111;
  border: 1px solid #a597b2;
}
.browser-bar {
  height: 27px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #faf7fd;
  color: #7c6a90;
  font-size: 8px;
}
.browser-bar span:first-child {
  font-size: 7px;
  letter-spacing: 2px;
}
.browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.illustrator:hover .browser-frame {
  transform: translateY(-2px);
}
@media (max-width: 650px) {
  .illustrator {
    height: auto;
    min-height: 230px;
    padding: 15px;
  }
  .browser-bar {
    font-size: 7px;
  }
}
/* More comfortable reading sizes across the portfolio. */
nav {
  font-size: 15px;
  gap: 30px;
}
.language {
  font-size: 14px;
}
.intro {
  font-size: 19px;
}
.button,
.text-link {
  font-size: 15px;
}
.eyebrow,
.tiny {
  font-size: 12px;
  letter-spacing: 1.4px;
}
.hero-footer {
  font-size: 11px;
}
.about-copy p {
  font-size: 17px;
  line-height: 1.85;
}
.about-copy h3 {
  font-size: 27px;
}
.tags span {
  font-size: 15px;
  padding: 10px 18px;
}
.section-heading > p {
  font-size: 15px;
}
.job .role {
  font-size: 16px;
}
.job .date {
  font-size: 14px;
}
.job ul {
  font-size: 16px;
  line-height: 1.8;
}
.job li + li {
  margin-top: 12px;
}
.project-content p {
  font-size: 16px;
  line-height: 1.8;
  min-height: 0;
}
.project-content h3 {
  font-size: 26px;
}
.skill-row h3 {
  font-size: 19px;
}
.skill-row p {
  font-size: 16px;
  line-height: 1.9;
}
.education-list h3 {
  font-size: 21px;
}
.education-list p,
.education-grid > div > p:last-child {
  font-size: 15px;
}
.education-list ul {
  font-size: 16px;
  line-height: 1.9;
}
.personal-photos figcaption {
  font-size: 13px;
}
.ceramics-photo figcaption {
  font-size: 12px;
}
.contact-links {
  font-size: 15px;
}
footer {
  font-size: 12px;
}
.project-number {
  font-size: 11px;
}
.code-label {
  font-size: 10px;
}
@media (max-width: 900px) {
  nav {
    gap: 18px;
  }
  .intro {
    font-size: 18px;
  }
  .project-content p {
    min-height: 0;
  }
  .tags span {
    font-size: 14px;
  }
}
@media (max-width: 650px) {
  nav {
    font-size: 14px;
    gap: 16px;
  }
  .language {
    font-size: 13px;
  }
  .intro {
    font-size: 18px;
  }
  .hero .text-link {
    margin-left: 0;
    display: table;
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .hero-footer {
    font-size: 9px;
  }
  .about-copy p,
  .job ul,
  .project-content p,
  .skill-row p,
  .education-list ul {
    font-size: 16px;
  }
  .tags span {
    font-size: 14px;
  }
  .section-heading > p {
    font-size: 14px;
  }
  .job .date {
    font-size: 13px;
  }
  .contact-links {
    font-size: 13px;
    gap: 17px;
    flex-wrap: wrap;
  }
  footer {
    font-size: 10px;
  }
  .personal-photos figcaption {
    font-size: 12px;
  }
  .ceramics-photo figcaption {
    font-size: 11px;
  }
}
/* Keep both photo captions fully visible, with a slightly larger pottery detail. */
.personal-photos {
  padding: 0 0 12px 8px;
}
.personal-photos .ceramics-photo {
  position: relative;
  bottom: auto;
  right: auto;
  width: 245px;
  margin: 26px 0 0 auto;
  transform: rotate(4deg);
}
@media (max-width: 900px) {
  .personal-photos .ceramics-photo {
    width: 205px;
  }
}
@media (max-width: 650px) {
  .personal-photos {
    padding: 0 6px 12px 8px;
  }
  .personal-photos .ceramics-photo {
    width: 210px;
    margin-top: 26px;
  }
}
/* Two handmade pieces, with the portrait caption unobstructed. */
.pottery-photos {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
}
.personal-photos .pottery-photos .ceramics-photo {
  width: 245px;
  flex: 1.2;
  margin: 8px 0 0;
  min-width: 0;
  transform: rotate(-3deg);
}
.personal-photos .toast-photo {
  width: 190px;
  flex: 1;
  min-width: 0;
  transform: rotate(4deg);
  margin: 0;
}
.toast-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 50% 55%;
}
.toast-photo figcaption {
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 2px 12px;
}
.personal-photos .ceramics-photo figcaption {
  font-size: 12px;
}
.art {
  margin-bottom: 0;
}
@media (max-width: 650px) {
  .pottery-photos {
    gap: 14px;
    margin-top: 30px;
  }
  .toast-photo figcaption,
  .personal-photos .ceramics-photo figcaption {
    font-size: 11px;
  }
}

.job-company-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.job-company-link span {
  font:
    14px "DM Sans",
    sans-serif;
  color: var(--purple);
  transition: transform 0.2s;
}
.job-company-link:hover span {
  transform: translate(3px, 3px);
}
.company-details {
  background: #f1ecf3;
  border-top: 1px solid var(--line);
}
.company-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  padding: 40px 0 95px;
  border-bottom: 1px solid #d7cddd;
}
.clickup-preview {
  position: relative;
  min-height: 330px;
  background: #fff;
  border: 1px solid #ddd5e5;
  border-radius: 12px;
  box-shadow: 0 22px 55px #38284b16;
  overflow: hidden;
}
.cu-topbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid #eee9f1;
  color: #302442;
}
.cu-logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, #7c4dff, #ef4fa8);
  color: white;
  font-size: 17px;
}
.cu-topbar strong {
  font-size: 13px;
}
.cu-search {
  margin-left: auto;
  border: 1px solid #e9e4ed;
  border-radius: 5px;
  padding: 5px 11px;
  width: 42%;
  color: #948a9b;
  font-size: 9px;
}
.cu-avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e8def4;
  color: #6940b7;
  font-size: 10px;
}
.cu-content {
  display: grid;
  grid-template-columns: 135px 1fr;
  min-height: 230px;
}
.cu-content aside {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 14px;
  border-right: 1px solid #eee9f1;
  font-size: 10px;
  color: #716779;
}
.cu-content aside b {
  color: #302442;
  margin-bottom: 5px;
}
.cu-board {
  padding: 20px 22px;
}
.cu-board h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 7px 0 19px;
}
.cu-task {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 9px;
  border: 1px solid #f0ecf2;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 10px;
}
.cu-task small {
  margin-left: auto;
  color: #8b8191;
  font-size: 8px;
}
.task-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}
.task-dot.violet {
  background: #8b63d6;
}
.task-dot.yellow-dot {
  background: #e4bd59;
}
.task-dot.mint {
  background: #61b89d;
}
.cu-caption {
  position: absolute;
  right: 13px;
  bottom: 10px;
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #897e90;
}
.company-copy .tiny,
.razor-details .tiny {
  color: var(--purple);
}
.company-copy h3,
.razor-details .section-heading h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 43px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 12px 0 18px;
}
.company-copy > p:not(.tiny) {
  font-size: 14px;
  line-height: 1.9;
  color: #574d60;
}
.private-note {
  margin-top: 30px;
  padding: 20px 22px;
  background: #e8def4;
  border-left: 3px solid var(--purple);
}
.private-note strong {
  font-size: 13px;
}
.private-note p {
  font-size: 12px;
  line-height: 1.7;
  margin: 7px 0;
}
.private-note a {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  border-bottom: 1px solid currentColor;
}
.razor-details {
  padding-top: 72px;
}
.razor-details .section-heading {
  align-items: end;
  margin-bottom: 26px;
}
.razor-details .section-heading h3 {
  font-size: 38px;
  margin-bottom: 0;
}
.razor-details .section-heading > p {
  max-width: 245px;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.client-card {
  position: relative;
  min-height: 310px;
  padding: 25px 23px 24px;
  background: #fffdf8;
  border: 1px solid #e3dce5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.client-index {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  color: #c4afd8;
  line-height: 1;
}
.client-sector {
  margin-top: 24px;
  font-size: 8px;
  letter-spacing: 1.15px;
  color: #81758b;
  font-weight: 600;
}
.client-card h4 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  margin: 8px 0 6px;
}
.client-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #62586a;
  margin: 0 0 18px;
}
.client-card .text-link,
.private-label {
  margin-top: auto;
  font-size: 11px;
}
.private-label {
  color: #8b8191;
  border-bottom: 1px dashed #bcb2c5;
  padding-bottom: 3px;
}
.contact-invite {
  max-width: 570px;
  font-size: 15px;
  line-height: 1.8;
  color: #f0e8f7;
  margin: -12px 0 28px;
}
.contact h2 {
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .company-feature {
    gap: 38px;
  }
  .cu-content {
    grid-template-columns: 110px 1fr;
  }
  .client-grid {
    gap: 12px;
  }
  .client-card {
    padding: 22px 17px;
  }
  .client-sector {
    font-size: 7px;
    letter-spacing: 0.9px;
  }
}
@media (max-width: 650px) {
  .company-feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 10px 0 62px;
  }
  .clickup-preview {
    min-height: 280px;
  }
  .cu-content {
    grid-template-columns: 105px 1fr;
    min-height: 200px;
  }
  .cu-board {
    padding: 18px 13px;
  }
  .cu-task {
    font-size: 9px;
    padding: 10px 7px;
  }
  .company-copy h3 {
    font-size: 37px;
  }
  .razor-details {
    padding-top: 54px;
  }
  .razor-details .section-heading h3 {
    font-size: 34px;
  }
  .razor-details .section-heading > p {
    max-width: none;
  }
  .client-grid {
    grid-template-columns: 1fr;
  }
  .client-card {
    min-height: 0;
    padding: 22px;
  }
  .client-sector {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .client-card p {
    font-size: 12px;
  }
  .contact-invite {
    font-size: 13px;
    margin: 0 0 23px;
  }
}

/* Authentic company imagery and preview framing */
.site-preview,
.client-preview {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd5e5;
  box-shadow: 0 22px 55px #38284b16;
}
.site-preview {
  min-height: 330px;
  border-radius: 12px;
}
.preview-browser {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  background: #fff;
  border-bottom: 1px solid #ece7ef;
  color: #83798b;
  font:
    10px/1 Arial,
    sans-serif;
}
.preview-browser span:first-child {
  color: #c17e9f;
  letter-spacing: 2px;
}
.preview-browser span:nth-child(2) {
  margin: auto;
  border: 1px solid #eee9f1;
  border-radius: 4px;
  padding: 5px 14px;
  color: #81788a;
}
.site-preview > img {
  display: block;
  width: 100%;
  height: 295px;
  object-fit: cover;
  object-position: top center;
}
.preview-caption {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  background: #302442d9;
  color: white;
  font-size: 10px;
}
.client-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.client-card {
  min-height: 370px;
  padding: 0 22px 24px;
}
.client-preview {
  width: calc(100% + 44px);
  height: 160px;
  margin: 0 -22px 20px;
  border-width: 0 0 1px;
}
.client-preview img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
  object-position: center;
}
.client-preview .preview-browser {
  height: 35px;
}
.vali-preview img {
  object-fit: contain;
  background: #f6f4fb;
  padding: 8px 18px;
}
.tbb-preview img {
  object-position: center 44%;
}
.cargill-preview {
  display: grid;
  place-items: center;
  height: 160px;
  background: #fff;
}
.cargill-brand {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #f7f7f5, #fff);
}
.cargill-brand img {
  display: block;
  width: 75%;
  max-height: 96px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .client-grid {
    gap: 12px;
  }
  .client-card {
    padding: 0 17px 22px;
  }
  .client-preview {
    width: calc(100% + 34px);
    margin-left: -17px;
    margin-right: -17px;
  }
}
@media (max-width: 650px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
  .client-card {
    min-height: 340px;
    padding: 0 22px 22px;
  }
  .client-preview {
    width: calc(100% + 44px);
    height: 180px;
    margin-left: -22px;
    margin-right: -22px;
  }
  .client-preview img {
    height: 144px;
  }
  .site-preview {
    min-height: 270px;
  }
  .site-preview > img {
    height: 235px;
  }
}

/* Let grid items shrink to the available viewport, including intrinsic images. */
.hero > *, .about-grid > *, .education-grid > *, .project-grid > *,
.company-feature > *, .client-grid > *, .job > *, .skill-row > * { min-width: 0; }
.personal-photos { width: 100%; }
.portrait-photo { max-width: 100%; }
.personal-photos .portrait-photo { max-width: 315px; }
.pottery-photos > figure { max-width: 100%; }
.company-brand { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.company-brand svg { flex:0 0 28px; width:28px; height:34px; }
.company-brand .tiny { margin:0; }
.contact-links { flex-wrap:wrap; }
.email { max-width:100%; overflow-wrap:anywhere; }
@media (max-width:900px) {
  .hero { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
  .about-grid,.education-grid,.project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .company-feature { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
  .art { min-width:0; }
  h1 { font-size:clamp(68px,11vw,99px); }
  h1 sup { margin-left:12px; font-size:40px; }
  .cursor { right:14px; }
}
@media (max-width:650px) {
  .about-grid,.education-grid,.project-grid,.company-feature { grid-template-columns:minmax(0,1fr); }
  .personal-photos { max-width:380px; }
  .personal-photos .portrait-photo { width:100%; max-width:280px; }
  .pottery-photos { width:100%; }
  .hero h1 { font-size:clamp(72px,24vw,105px); }
  .hero h1 sup { font-size:clamp(30px,10vw,45px); margin-left:10px; }
  .hero-footer { flex-wrap:wrap; gap:8px 16px; }
  .hero-footer span { min-width:0; }
  .hero-footer span:last-child { text-align:left; }
  .art { margin-left:8px; margin-right:8px; }
  .cursor { right:20px; }
  .eyebrow { overflow-wrap:anywhere; }
  .contact-links { gap:16px 24px; }
  .contact-links a:last-child { margin-left:0; }
  footer { flex-wrap:wrap; align-items:center; }
  footer > span:nth-child(2) { max-width:none; flex:1 1 160px; }
}
@media (max-width:360px) {
  header { padding:0 16px; gap:10px; }
  nav { gap:10px; font-size:13px; }
  .language { gap:3px; }
  .wrap { padding-left:20px; padding-right:20px; }
  .window-body { padding:18px; }
  .window-body h2 { font-size:28px; }
  .section-title,.about .section-title { font-size:40px; }
}

/* Four RazorTech projects, balanced across two columns. */
.razor-details .client-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.razor-web-preview { display:block; background:#293e81; }
.client-preview.razor-web-preview img { display:block; width:100%; height:calc(100% - 35px); object-fit:cover; object-position:center 35%; }
.client-card .client-contribution { font-size:12px; color:var(--purple); border-left:2px solid #c4afd8; padding-left:10px; }
@media(max-width:650px) {
  .razor-details .client-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
}

/* Dedicated experience pages. */
.detail-intro { padding-top:65px; padding-bottom:35px; }
.detail-intro .eyebrow { margin-top:40px; }
.detail-intro h1 { font-family:"Instrument Serif", Georgia, serif; font-size:clamp(48px,8vw,88px); margin:12px 0; font-weight:400; }
.detail-intro p:last-child { font-size:18px; }
body[data-company] .company-details { padding-top:30px; }
body[data-company] .razor-details { border-top:0; margin-top:0; padding-top:0; }
.detail-role { padding-top:55px; padding-bottom:45px; }
.detail-contact { padding-top:30px; padding-bottom:70px; display:flex; flex-wrap:wrap; gap:24px; align-items:center; }
.detail-contact h2 { width:100%; margin:0; }
.detail-contact a { overflow-wrap:anywhere; }
.client-preview.vali-preview, .client-preview.tbb-preview, .client-preview.cargill-preview { grid-template-rows:minmax(0,1fr); }
.client-preview.vali-preview img, .client-preview.tbb-preview img, .client-preview.cargill-preview img { min-height:0; max-height:100%; box-sizing:border-box; }
@media(max-width:650px) { .detail-intro { padding-top:36px; } .detail-contact { flex-direction:column; align-items:flex-start; } }

/* Project navigation and contact controls. */
.nav-projects { position:relative; }
.projects-toggle { display:flex; align-items:center; gap:7px; border:0; background:transparent; color:inherit; font:inherit; padding:8px 0; cursor:pointer; }
.menu-chevron { transition:transform .2s ease; }
.projects-toggle[aria-expanded="true"] .menu-chevron { transform:rotate(180deg); }
.projects-menu { position:absolute; z-index:50; top:100%; left:0; width:205px; max-width:calc(100vw - 32px); padding:10px; background:#fffdf8; border:1px solid #d9cee4; border-radius:14px; box-shadow:0 12px 32px #30244218; }
.projects-menu:not([hidden]) { display:flex; flex-direction:column; gap:3px; }
.projects-menu a { display:block; padding:11px 12px; border-radius:8px; }
.projects-menu a:hover, .projects-menu a:focus-visible { background:#eee5f6; color:#7043ae; }
.projects-toggle:focus-visible, .back-to-top:focus-visible { outline:2px solid #7043ae; outline-offset:5px; }
.contact-links .back-to-top, .detail-contact .back-to-top { display:inline-flex; align-items:center; gap:12px; padding:10px 12px 10px 18px; border:1px solid #b8a3cb; border-radius:99px; text-decoration:none; transition:background .2s,transform .2s,box-shadow .2s; }
.top-arrow { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#7043ae; color:#fff; transition:transform .2s; }
.back-to-top:hover { background:#eee5f6; box-shadow:0 5px 14px #30244215; transform:translateY(-2px); }
.back-to-top:hover .top-arrow { transform:translateY(-3px); }
html { scroll-behavior:smooth; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .back-to-top, .top-arrow, .menu-chevron { transition:none!important; transform:none!important; } }

/* Contact links: gentle lift and a growing underline. */
:is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top) {
  position:relative;
  transition:transform 220ms ease, opacity 220ms ease;
}
:is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top)::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:2px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 260ms ease;
  pointer-events:none;
}
:is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top):focus-visible {
  outline:2px solid currentColor;
  outline-offset:7px;
  border-radius:3px;
}
:is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top):focus-visible::after {
  transform:scaleX(1);
}
@media(hover:hover) and (pointer:fine) {
  :is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top):hover {
    transform:translateY(-3px);
  }
  :is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top):hover::after {
    transform:scaleX(1);
  }
}
@media(prefers-reduced-motion:reduce) {
  :is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top),
  :is(.contact-links a, .detail-contact a, a.email, a[href^="mailto:"]):not(.back-to-top)::after {
    transition:none;
    transform:none;
  }
}

/* Navigation alignment and back-to-top contrast. */
header nav { align-items:center; }
header nav > a, .projects-toggle { line-height:1.5; }
.projects-toggle { padding:0; }
.back-to-top:hover, .back-to-top:focus-visible { color:#7043ae; background:#eee5f6; }
.back-to-top:hover .top-arrow, .back-to-top:focus-visible .top-arrow { color:#fff; background:#7043ae; }

/* Personal-interest pills. */
.about .tags span {
  transition:background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .about .tags span:hover {
    background-color:#7043ae;
    border-color:#7043ae;
    color:#fff;
  }
}
@media (prefers-reduced-motion:reduce) {
  .about .tags span { transition:none; }
}

/* Compact contact band on experience pages only. */
body[data-company] .detail-contact {
  display:block;
  background:var(--purple);
  color:var(--paper);
  padding:48px 0 54px;
  margin-top:24px;
}
.detail-contact-inner { width:100%; box-sizing:border-box; }
.detail-contact h2 {
  font-family:"Instrument Serif", Georgia, serif;
  font-size:clamp(34px,4vw,48px);
  font-weight:400;
  line-height:1.12;
  margin:0 0 30px;
}
.detail-contact-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
}
.detail-contact-direct { display:flex; flex-direction:column; align-items:flex-start; gap:20px; min-width:0; }
.detail-contact-actions .text-link { color:inherit; font-size:15px; font-weight:500; line-height:1.5; border-bottom-color:#cdb9ee; max-width:100%; }
.detail-contact-explore { justify-self:center; }
.detail-contact-actions .back-to-top { justify-self:end; white-space:nowrap; color:var(--paper); border-color:#cdb9ee; }
.detail-contact-actions .top-arrow { background:#eee5f6; color:#7043ae; }
.detail-contact-actions .back-to-top:hover,
.detail-contact-actions .back-to-top:focus-visible { color:#7043ae; background:#eee5f6; }
.detail-contact-actions .back-to-top:hover .top-arrow,
.detail-contact-actions .back-to-top:focus-visible .top-arrow { background:#7043ae; color:#fff; }
@media(max-width:900px) {
  .detail-contact-actions { grid-template-columns:minmax(0,1fr) auto; gap:30px; }
  .detail-contact-explore { grid-row:2; justify-self:start; }
  .detail-contact-actions .back-to-top { grid-column:2; grid-row:2; }
}
@media(max-width:650px) {
  body[data-company] .detail-contact { padding:36px 0 40px; }
  .detail-contact-actions { grid-template-columns:minmax(0,1fr); gap:30px; }
  .detail-contact-explore { grid-row:auto; }
  .detail-contact-actions .back-to-top { grid-column:1; grid-row:auto; justify-self:end; margin-top:4px; }
}

/* Expanded navigation, including skills and learning. */
header nav { gap:clamp(14px,2vw,30px); }
header nav > a, .projects-toggle { white-space:nowrap; }
#toolkit, #learning { scroll-margin-top:24px; }
@media(max-width:1100px) {
  header { height:auto; min-height:94px; display:grid; grid-template-columns:1fr auto; gap:14px 20px; padding-top:16px; padding-bottom:18px; }
  header .wordmark { grid-column:1; grid-row:1; }
  header .language { grid-column:2; grid-row:1; }
  header nav { grid-column:1 / -1; grid-row:2; display:flex; flex-wrap:wrap; justify-content:center; gap:14px 24px; }
  header nav > a:nth-child(2), header nav > a:last-child { display:block; }
}
@media(max-width:650px) {
  header nav { justify-content:flex-start; gap:14px 20px; font-size:13px; }
  header .projects-menu { left:auto; right:0; }
}

/* Compact mobile navigation; desktop navigation is unchanged. */
.mobile-menu-toggle { display:none; }
@media(max-width:650px) {
  header { grid-template-columns:minmax(0,1fr) auto auto; min-height:76px; gap:0 14px; padding:14px 20px; align-items:center; }
  header .wordmark { grid-column:1; grid-row:1; justify-self:start; }
  header .language { grid-column:2; grid-row:1; }
  .mobile-menu-toggle { grid-column:3; grid-row:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 10px; border:1px solid #d9cee4; border-radius:10px; background:transparent; color:var(--ink); font:inherit; font-size:13px; cursor:pointer; }
  .hamburger-icon { display:flex; flex-direction:column; gap:4px; width:18px; }
  .hamburger-icon span { display:block; height:2px; width:18px; background:currentColor; border-radius:2px; transition:transform .2s, opacity .2s; }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) { opacity:0; }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  header nav { display:none; grid-column:1 / -1; grid-row:2; width:100%; min-width:0; box-sizing:border-box; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); gap:2px; }
  header.mobile-menu-open nav { display:flex; flex-direction:column; align-items:stretch; }
  header nav > a, header nav > a:nth-child(2), header nav > a:last-child { display:block; padding:12px; min-height:44px; box-sizing:border-box; border-radius:8px; font-size:15px; }
  header .projects-toggle { width:100%; justify-content:space-between; padding:12px; min-height:44px; box-sizing:border-box; font-size:15px; }
  header .projects-menu { position:static; width:auto; max-width:100%; box-sizing:border-box; margin:0 0 8px 12px; padding:4px 8px; box-shadow:none; border:0; border-left:2px solid #cdb9ee; border-radius:0; background:transparent; }
  header .projects-menu a { white-space:normal; min-height:44px; box-sizing:border-box; }
  .detail-contact-actions .back-to-top { justify-self:start; margin-left:0; }
  .contact-links .back-to-top { align-self:flex-start; margin-left:0; }
}
@media(prefers-reduced-motion:reduce) { .hamburger-icon span { transition:none; } }

/* Experience overview on the home page. */
.job .job-summary { margin:0; font-size:16px; line-height:1.85; }

/* Keep the location and specialties separate from the hero illustration on phones. */
@media (max-width:650px) {
  .hero > .art { height:500px; margin-top:22px; margin-bottom:0; }
  .hero-footer {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:30px;
    padding:18px 0 22px;
    line-height:1.7;
    font-size:9px;
    letter-spacing:1.2px;
  }
  .hero-footer span { width:100%; text-align:left!important; }
}
