:root {
  color-scheme: light;
  --ink: #111;
  --paper: #f3f3f0;
  --white: #fff;
  --gray: #a6a6a3;
  --line: rgba(17, 17, 17, 0.2);
  --line-light: rgba(255, 255, 255, 0.24);
  --page-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  color: var(--ink);
  background: var(--white);
}

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

.scroll-progress {
  position: fixed;
  z-index: 12;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ink);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.07em;
}

.wordmark span {
  display: inline-block;
  margin-left: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.54rem;
  vertical-align: top;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3.2rem);
}

.site-nav a,
.menu-toggle,
.site-footer > a:last-child {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 0.55;
}

.site-nav a span {
  margin-right: 0.35rem;
  color: #777;
  font-size: 0.55rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle__icon {
  display: grid;
  gap: 4px;
}

.menu-toggle__icon i {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: max(42rem, 100svh);
  overflow: hidden;
  align-items: center;
  padding: 7rem var(--page-gutter) 5rem;
  color: var(--white);
  background: var(--ink);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(76%, 67rem);
}

.eyebrow,
.section-label,
.hero__edition,
.hero__rail,
.hero__graphic-note,
.work__footer,
.project-card__category,
.project-card__tags,
.text-link,
.timeline-item__period,
.timeline-item__number,
.experience__aside > span:last-child,
.subsection h3,
.award-row__date,
.cert-row__period,
.contact__details span,
.site-footer p {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem 0.5rem;
  color: #c6c6c6;
  animation: rise-in 700ms 100ms both;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
  animation: ping 2.2s 1.2s infinite;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 17.4vw, 16.8rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.055em;
  transform: skewY(-2deg);
}

.hero h1 > span {
  display: block;
  animation: title-slam 850ms cubic-bezier(0.18, 0.8, 0.2, 1) both;
}

.hero h1 > span:first-child {
  animation-delay: 180ms;
}

.hero h1 > span:nth-child(2) {
  margin-top: 0.16em;
  animation-delay: 300ms;
}

.hero__surname {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  text-stroke: 2px var(--white);
}

.hero__period {
  color: var(--white);
  -webkit-text-stroke: 0;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 2.8rem 0 0 0.7rem;
  animation: rise-in 750ms 600ms both;
}

.hero__intro {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.hero__intro em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.round-link {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.round-link span {
  font-size: 1.4rem;
  transition: transform 200ms ease;
}

.round-link:hover {
  color: var(--white);
  background: #444;
  transform: rotate(-12deg);
}

.round-link:hover span {
  transform: translateY(3px);
}

.hero__graphic {
  position: absolute;
  top: 17%;
  right: 4%;
  width: min(38vw, 32rem);
  aspect-ratio: 1;
  opacity: 0.7;
  animation: graphic-appear 1.1s 450ms both;
}

.hero__orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.hero__orbit--one {
  transform: rotate(-32deg) scaleY(0.42);
  animation: orbit 25s linear infinite;
}

.hero__orbit--two {
  transform: rotate(58deg) scaleY(0.55);
  border-style: dashed;
  animation: orbit 30s linear infinite reverse;
}

.hero__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 15rem);
  line-height: 0.7;
  letter-spacing: -0.12em;
  transform: rotate(-12deg);
}

.hero__monogram span {
  margin-left: 0.28em;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.hero__crosshair {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
}

.hero__crosshair::before,
.hero__crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  background: var(--white);
  transform: translate(-50%, -50%);
}

.hero__crosshair::before {
  width: 1px;
  height: 100%;
}

.hero__crosshair::after {
  width: 100%;
  height: 1px;
}

.hero__crosshair--one {
  top: 5%;
  left: 46%;
}

.hero__crosshair--two {
  right: 5%;
  bottom: 30%;
}

.hero__graphic-note {
  position: absolute;
  right: 7%;
  bottom: 12%;
  color: #bfbfbd;
  line-height: 1.7;
}

.hero__rail {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #c5c5c5;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__rail i {
  display: block;
  width: 1px;
  height: 2.8rem;
  background: #aaa;
  transform-origin: top;
  animation: rail-pulse 1.5s ease-in-out infinite alternate;
}

.hero__edition {
  position: absolute;
  right: var(--page-gutter);
  bottom: 2rem;
  color: #9c9c9c;
}

.section-pad {
  position: relative;
  padding: clamp(5rem, 10vw, 10rem) var(--page-gutter);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.section-label i {
  width: 4.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.display-title span {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

.about {
  min-height: 48rem;
  overflow: hidden;
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.about__grid .display-title {
  position: relative;
  z-index: 1;
}

.about__grid .display-title span {
  color: transparent;
}

.about__copy {
  max-width: 35rem;
  padding-top: 0.6rem;
}

.about__copy p {
  max-width: 34rem;
  color: #50504d;
  font-size: 0.93rem;
  line-height: 1.75;
}

.about__copy .about__lead {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.045em;
}

.about__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1rem;
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.about__meta div,
.contact__details div,
.contact__details a {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  text-decoration: none;
}

.about__meta div span,
.contact__details span {
  color: #777;
}

.about__meta strong,
.contact__details strong {
  font-size: 0.84rem;
  line-height: 1.4;
}

.about__stamp {
  position: absolute;
  right: 3%;
  bottom: 7%;
  display: grid;
  width: 8rem;
  height: 8rem;
  place-content: center;
  color: #787875;
  border: 1px solid #b2b2af;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 0.8;
  text-align: center;
  transform: rotate(12deg);
}

.work,
.recognition {
  color: var(--white);
  background: var(--ink);
}

.section-label--light {
  color: #d3d3d3;
}

.work__heading,
.experience__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.work__heading > p,
.experience__heading > p,
.recognition__headline > p {
  margin: 0 8% 0 0;
  color: #c1c1c1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5rem 2rem;
}

.project-card {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.project-card__index {
  position: absolute;
  top: -0.55rem;
  left: 0;
  padding-right: 0.7rem;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.project-card__index span {
  color: #777;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.project-card__visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.46;
  color: var(--ink);
  background: #d4d4d0;
  text-decoration: none;
  isolation: isolate;
}

.project-card__visual::before,
.project-card__visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card__visual::before {
  inset: -35%;
  opacity: 0.8;
  background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(17, 17, 17, 0.3) 23px 24px);
  transform: rotate(-12deg);
}

.project-card__visual::after {
  inset: 22%;
  border: 1px solid rgba(17, 17, 17, 0.7);
  border-radius: 50%;
}

.project-card__visual:hover::before {
  transform: rotate(0) scale(1.1);
}

.project-card__visual:hover::after {
  transform: scale(1.14) rotate(24deg);
}

.project-motif--signal::after {
  border-radius: 50% 50% 0 50%;
  transform: rotate(35deg) scale(0.78);
}

.project-motif--terrain::before {
  background-image: repeating-radial-gradient(ellipse at 42% 60%, transparent 0 13px, rgba(17, 17, 17, 0.55) 14px 15px, transparent 16px 27px);
  transform: rotate(-17deg) scale(1.35);
}

.project-motif--terrain::after {
  inset: 15% 34%;
  border-radius: 44% 56% 65% 35%;
  transform: rotate(32deg);
}

.project-motif--grid::before {
  background-image: linear-gradient(rgba(17, 17, 17, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(300px) rotateX(38deg) scale(1.4);
}

.project-motif--grid::after {
  inset: 15% 25%;
  border-radius: 0;
  transform: rotate(45deg);
}

.project-motif--contour::before {
  background-image: repeating-radial-gradient(ellipse at 53% 48%, transparent 0 11px, rgba(17, 17, 17, 0.6) 12px 13px, transparent 14px 24px);
  transform: rotate(18deg) scale(1.2);
}

.project-motif--contour::after {
  inset: 28% 22%;
  border-radius: 50% 0;
  transform: rotate(-28deg);
}

.project-card__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.project-card__visual-label {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.project-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  transition: transform 200ms ease;
}

.project-card__visual:hover .project-card__arrow {
  transform: rotate(45deg);
}

.project-card__content {
  padding: 1.4rem 0 0;
}

.project-card__category {
  margin: 0 0 0.9rem;
  color: #b6b6b3;
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.84;
  letter-spacing: -0.03em;
}

.project-card__description {
  max-width: 30rem;
  min-height: 3.5rem;
  margin: 1rem 0 1.4rem;
  color: #c8c8c6;
  font-size: 0.87rem;
  line-height: 1.6;
}

.project-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #c6c6c6;
  font-size: 0.52rem;
}

.project-card__tags span {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.text-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.work__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  padding-top: 1rem;
  color: #9d9d9a;
  border-top: 1px solid var(--line-light);
}

.experience {
  background: var(--paper);
}

.experience__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(2rem, 8vw, 9rem);
}

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

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.2rem;
  padding: 1.7rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.timeline-item__number {
  padding-top: 0.3rem;
  color: #777;
}

.timeline-item__period {
  margin: 0 0 0.55rem;
  color: #70706d;
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.timeline-item__organization {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.timeline-item__description {
  max-width: 38rem;
  margin: 0.7rem 0 0;
  color: #5b5b58;
  font-size: 0.85rem;
  line-height: 1.65;
}

.timeline-item__arrow {
  align-self: center;
  font-size: 1.2rem;
  transition: transform 200ms ease;
}

.timeline-item:hover .timeline-item__arrow {
  transform: translate(3px, -3px);
}

.experience__aside {
  align-self: start;
  margin-top: 8rem;
  padding: 1.5rem;
  color: var(--white);
  background: var(--ink);
  transform: rotate(2deg);
}

.aside-mark {
  display: inline-block;
  font-size: 2.4rem;
  animation: orbit 18s linear infinite;
}

.experience__aside p {
  margin: 2rem 0 3rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.86;
}

.experience__aside > span:last-child {
  color: #aaa;
  font-size: 0.52rem;
}

.recognition {
  overflow: hidden;
}

.recognition__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.recognition__headline {
  align-self: start;
  position: sticky;
  top: 3rem;
}

.recognition__headline > p {
  margin: 2rem 0 0;
}

.recognition__content {
  display: grid;
  gap: 3.2rem;
}

.subsection h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  color: #bdbdbb;
  border-bottom: 1px solid var(--line-light);
}

.subsection h3 span {
  color: #858582;
  font-size: 0.53rem;
}

.award-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.award-row__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.award-row__event {
  color: #d0d0ce;
  font-size: 0.82rem;
  line-height: 1.45;
}

.award-row__event a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.award-row__date,
.cert-row__period {
  color: #a0a09d;
  font-size: 0.52rem;
  text-align: right;
  white-space: nowrap;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-list span {
  padding: 0.7rem 0.9rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  font-size: 0.8rem;
  transition: color 160ms ease, background 160ms ease;
}

.skills-list span:hover {
  color: var(--ink);
  background: var(--white);
}

.cert-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.cert-row__name {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.cert-row__name small {
  color: #aaa;
  font-size: 0.7rem;
  font-weight: 400;
}

.contact {
  min-height: 47rem;
  overflow: hidden;
  background: #d9d9d5;
}

.contact::after {
  position: absolute;
  right: -9rem;
  bottom: -19rem;
  width: min(55vw, 52rem);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem #d9d9d5, 0 0 0 calc(2rem + 1px) rgba(17, 17, 17, 0.18), 0 0 0 5rem #d9d9d5, 0 0 0 calc(5rem + 1px) rgba(17, 17, 17, 0.18);
  content: "";
  pointer-events: none;
}

.contact .section-label {
  margin-bottom: clamp(4rem, 9vw, 9rem);
}

.contact__main {
  position: relative;
  z-index: 1;
}

.contact__main .eyebrow {
  margin: 0 0 1.6rem;
  color: #555;
}

.contact .display-title {
  font-size: clamp(4.5rem, 12vw, 11.5rem);
}

.contact .display-title span {
  color: transparent;
}

.contact__cta {
  display: flex;
  width: min(31rem, 100%);
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.contact__cta i {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1rem;
  font-style: normal;
  transition: transform 200ms ease;
}

.contact__cta:hover i {
  transform: rotate(45deg);
}

.contact__details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(17, 17, 17, 0.35);
}

.contact__details a {
  transition: opacity 160ms ease;
}

.contact__details a:hover {
  opacity: 0.58;
}

.site-footer {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--page-gutter);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: #a9a9a7;
  font-size: 0.54rem;
}

.site-footer > a:last-child {
  font-size: 0.55rem;
}

.section-indicator {
  position: fixed;
  z-index: 5;
  right: 1.25rem;
  bottom: 1.5rem;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--ink);
  mix-blend-mode: difference;
  pointer-events: none;
}

.section-indicator span {
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 700;
}

.section-indicator i {
  width: 1px;
  height: 2rem;
  background: var(--white);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:nth-child(even).reveal,
.timeline-item:nth-child(even).reveal {
  transition-delay: 100ms;
}

@keyframes title-slam {
  from {
    opacity: 0;
    transform: translate(-0.08em, 0.2em) skewX(-5deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) skewX(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes graphic-appear {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-12deg);
  }
  to {
    opacity: 0.7;
    transform: scale(1) rotate(0);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg) scaleY(0.42);
  }
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 0.6rem rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes rail-pulse {
  to {
    transform: scaleY(0.45);
  }
}

@media (min-width: 1500px) {
  :root {
    --page-gutter: max(5.5rem, calc((100vw - 1300px) / 2));
  }
}

@media (max-width: 850px) {
  .hero__copy {
    width: 100%;
  }

  .hero__graphic {
    top: 19%;
    right: -6%;
    width: 52vw;
    opacity: 0.36;
  }

  .hero h1 {
    font-size: clamp(5.3rem, 18vw, 10rem);
  }

  .about__grid,
  .recognition__grid {
    grid-template-columns: 1fr;
  }

  .about__copy {
    max-width: 40rem;
    margin-left: auto;
  }

  .about__stamp {
    right: 4%;
    bottom: 3%;
    width: 6rem;
    height: 6rem;
    font-size: 1.1rem;
  }

  .experience__body {
    grid-template-columns: 1fr;
  }

  .experience__aside {
    width: min(20rem, 70%);
    margin: 1rem 0 0 auto;
  }

  .recognition__headline {
    position: static;
  }

  .recognition__content {
    max-width: 50rem;
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header {
    height: 4.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--page-gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: max(42rem, 100svh);
    padding-top: 7rem;
  }

  .hero__copy {
    align-self: center;
  }

  .hero__eyebrow {
    margin-left: 0.2rem;
    font-size: 0.55rem;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 19.5vw, 7.5rem);
    line-height: 0.78;
  }

  .hero__surname {
    -webkit-text-stroke-width: 1px;
  }

  .hero__bottom {
    margin: 2rem 0 0 0.2rem;
  }

  .hero__graphic {
    top: 17%;
    right: -18%;
    width: 70vw;
    opacity: 0.2;
  }

  .hero__graphic-note,
  .hero__edition {
    font-size: 0.5rem;
  }

  .hero__edition {
    right: var(--page-gutter);
    bottom: 1.2rem;
  }

  .hero__rail {
    display: none;
  }

  .section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-label {
    margin-bottom: 3.5rem;
    font-size: 0.55rem;
  }

  .section-label i {
    width: 2.5rem;
  }

  .display-title {
    font-size: clamp(4rem, 15vw, 6.7rem);
  }

  .about {
    min-height: unset;
    padding-bottom: 7rem;
  }

  .about__grid {
    gap: 2.5rem;
  }

  .about__copy {
    padding-right: 0.5rem;
  }

  .about__copy .about__lead {
    font-size: 1.35rem;
  }

  .about__copy p {
    font-size: 0.87rem;
  }

  .about__stamp {
    right: 5%;
    bottom: 1.5rem;
  }

  .work__heading,
  .experience__heading {
    display: block;
    margin-bottom: 3rem;
  }

  .work__heading > p,
  .experience__heading > p,
  .recognition__headline > p {
    margin: 1.6rem 0 0;
    font-size: 0.82rem;
  }

  .project-list {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .project-card__visual {
    aspect-ratio: 1.2;
  }

  .project-card h3 {
    font-size: 3.3rem;
  }

  .project-card__description {
    min-height: 0;
    font-size: 0.82rem;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .work__footer {
    margin-top: 3.5rem;
  }

  .timeline-item {
    grid-template-columns: 2rem 1fr auto;
    gap: 0.65rem;
    padding: 1.4rem 0;
  }

  .timeline-item h3 {
    font-size: 2.25rem;
  }

  .timeline-item__description {
    font-size: 0.81rem;
  }

  .experience__aside {
    width: 75%;
    margin-top: 1.5rem;
  }

  .recognition__grid {
    gap: 3.5rem;
  }

  .recognition__content {
    gap: 2.5rem;
  }

  .award-row {
    grid-template-columns: 5.2rem 1fr;
    gap: 0.5rem;
  }

  .award-row__title {
    font-size: 1.2rem;
  }

  .award-row__event {
    font-size: 0.78rem;
  }

  .award-row__date {
    grid-column: 2;
    text-align: left;
  }

  .skills-list span {
    padding: 0.6rem 0.75rem;
    font-size: 0.72rem;
  }

  .cert-row__name {
    font-size: 0.82rem;
  }

  .cert-row__period {
    max-width: 6.7rem;
    font-size: 0.48rem;
  }

  .contact {
    min-height: unset;
  }

  .contact .section-label {
    margin-bottom: 4.5rem;
  }

  .contact__main .eyebrow {
    max-width: 17rem;
    font-size: 0.55rem;
  }

  .contact .display-title {
    font-size: clamp(3.8rem, 15vw, 6.5rem);
  }

  .contact__cta {
    margin-top: 2.5rem;
    font-size: 0.58rem;
  }

  .contact__details {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 4rem;
  }

  .contact__details strong {
    font-size: 0.76rem;
    overflow-wrap: anywhere;
  }

  .site-footer {
    min-height: 5rem;
  }

  .site-footer p {
    max-width: 8rem;
    font-size: 0.45rem;
    text-align: center;
  }

  .site-footer > a:last-child {
    font-size: 0.48rem;
  }

  .section-indicator {
    right: 0.55rem;
    bottom: 0.8rem;
  }
}

.ventures {
  overflow: hidden;
  background: #e4e4e0;
}

.ventures__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

.ventures__heading > p {
  margin: 0 8% 0 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ventures__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.venture-card {
  position: relative;
  display: flex;
  min-height: 24rem;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.35rem), calc(100% - 1.35rem) 100%, 0 100%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.venture-card:hover {
  z-index: 1;
  color: var(--white);
  background: var(--ink);
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.24);
  transform: translateY(-4px) rotate(-0.3deg);
}

.venture-card--featured {
  color: var(--white);
  background: var(--ink);
}

.venture-card--featured:hover {
  color: var(--ink);
  background: var(--white);
}

.venture-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.venture-card h3 {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.venture-card h3 a {
  color: inherit;
  text-decoration: none;
}

.venture-card h3 a span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.45em;
  vertical-align: middle;
  transition: transform 160ms ease;
}

.venture-card h3 a:hover span {
  transform: translate(3px, -3px);
}

.venture-card__metric {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.venture-card__metric strong {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.9;
}

.venture-card__metric span {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.venture-card__description {
  max-width: 38rem;
  margin: 0 0 auto;
  color: #565653;
  font-size: 0.83rem;
  line-height: 1.65;
}

.venture-card--featured .venture-card__description {
  color: #c7c7c4;
}

.venture-card--featured:hover .venture-card__description {
  color: #565653;
}

.venture-card__number {
  position: absolute;
  top: 4.5rem;
  right: 1rem;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.8;
  opacity: 0.045;
  pointer-events: none;
  transition: transform 250ms ease, opacity 250ms ease;
}

.venture-card:hover .venture-card__number {
  opacity: 0.11;
  transform: rotate(-8deg) scale(1.1);
}

@media (min-width: 601px) and (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--page-gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .ventures__heading {
    display: block;
    margin-bottom: 2.5rem;
  }

  .ventures__heading > p {
    margin: 1.5rem 0 0;
    font-size: 0.82rem;
  }

  .ventures__grid {
    grid-template-columns: 1fr;
  }

  .venture-card {
    min-height: 21rem;
  }

  .venture-card__top {
    font-size: 0.5rem;
  }

  .venture-card h3 {
    font-size: 2.8rem;
  }

  .venture-card__metric strong {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Kinetic cut-paper language: sharp edges, hard shadows, diagonal wipes. */
.slash-transition {
  position: fixed;
  z-index: 15;
  inset: -10vh 0;
  overflow: hidden;
  pointer-events: none;
}

.slash-transition::before,
.slash-transition::after {
  position: absolute;
  top: 0;
  left: -65vw;
  width: 62vw;
  height: 120vh;
  opacity: 0;
  content: "";
  transform: skewX(-18deg);
}

.slash-transition::before {
  background: var(--white);
}

.slash-transition::after {
  background: var(--ink);
}

.slash-transition.is-active::before,
.slash-transition.is-active::after {
  animation: slash-cut 560ms cubic-bezier(0.7, 0, 0.18, 1) both;
}

.slash-transition.is-active::after {
  animation-delay: 45ms;
}

.hero__slash {
  position: absolute;
  z-index: 2;
  top: -25%;
  width: 2px;
  height: 150%;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: rotate(22deg) scaleY(0);
  transform-origin: center;
}

.hero__slash--one {
  left: 67%;
  animation: hero-cut 800ms 460ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero__slash--two {
  left: 69%;
  width: 8px;
  opacity: 0.7;
  animation: hero-cut 800ms 500ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.site-nav a {
  position: relative;
  z-index: 0;
  padding: 0.55rem 0.65rem;
  transition: color 140ms ease, transform 180ms ease;
}

.site-nav a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  content: "";
  transform: skewX(-16deg) scaleX(0);
  transform-origin: left;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--white);
  opacity: 1;
  transform: skewX(-3deg) translateY(-1px);
}

.site-nav a:hover::before,
.site-nav a[aria-current="location"]::before {
  transform: skewX(-16deg) scaleX(1);
}

.site-nav a[aria-current="location"] span,
.site-nav a:hover span {
  color: #c8c8c8;
}

.scroll-progress span {
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  mix-blend-mode: difference;
}

.section-label i {
  width: clamp(4.5rem, 11vw, 9rem);
  transform: skewX(-28deg);
  transform-origin: left;
}

.display-title {
  text-shadow: 5px 5px 0 rgba(17, 17, 17, 0.06);
}

.work .display-title,
.recognition .display-title {
  text-shadow: 5px 5px 0 rgba(255, 255, 255, 0.12);
}

.project-card__visual {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.15rem), calc(100% - 1.15rem) 100%, 0 100%);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease-out, clip-path 200ms ease;
}

.project-card__visual:hover {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.project-card__content h3 {
  display: inline-block;
  transform: skewX(-2deg);
  transform-origin: left;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-card__content h3 {
  transform: skewX(-5deg) translateX(0.35rem);
}

.timeline-item {
  transition: padding-left 200ms cubic-bezier(0.2, 0.8, 0.2, 1), background 200ms ease;
}

.timeline-item:hover {
  padding-left: 0.8rem;
  background: linear-gradient(100deg, rgba(17, 17, 17, 0.055), transparent 75%);
}

.timeline-item h3 {
  transition: transform 200ms ease;
  transform-origin: left;
}

.timeline-item:hover h3 {
  transform: skewX(-4deg);
}

.award-row,
.cert-row {
  transition: padding-left 180ms ease, background 180ms ease;
}

.award-row:hover,
.cert-row:hover {
  padding-left: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
}

.contact__cta {
  position: relative;
  isolation: isolate;
  transition: padding 180ms ease, color 180ms ease;
}

.contact__cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  content: "";
  transform: skewX(-12deg) scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact__cta:hover {
  padding-right: 0.7rem;
  padding-left: 0.7rem;
  color: var(--white);
}

.contact__cta:hover::before {
  transform: skewX(-12deg) scaleX(1);
}

.contact__cta:hover i {
  color: var(--ink);
  background: var(--white);
}

/* No clip-path on .reveal: it would cut off parts that hang outside a card and override card shapes. */
.reveal {
  transform: none;
  transition:
    opacity 430ms ease,
    transform 520ms cubic-bezier(0.16, 0.82, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* No clip-path here: a zero-area clip makes IntersectionObserver report 0, so items never reveal. */
.js-enabled .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.3rem);
}

.project-card:nth-child(even).reveal {
  transition-delay: 100ms;
}

.project-card:nth-child(even).reveal.is-visible {
  transform: translateY(0);
}

.hero__copy .hero__eyebrow {
  animation: rise-in 500ms 100ms both;
}

.hero h1 > span {
  animation-name: title-slam;
  animation-duration: 650ms;
}

.hero__bottom {
  animation-duration: 500ms;
}

.hero__graphic {
  animation-duration: 800ms;
}

@keyframes slash-cut {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }
  12%,
  78% {
    opacity: 1;
  }
  45%,
  60% {
    transform: translateX(115vw) skewX(-18deg);
  }
  100% {
    opacity: 0;
    transform: translateX(230vw) skewX(-18deg);
  }
}

@keyframes hero-cut {
  0% {
    opacity: 0;
    transform: rotate(22deg) scaleY(0);
  }
  35% {
    opacity: 0.8;
    transform: rotate(22deg) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: rotate(22deg) scaleY(1);
  }
}

@media (max-width: 600px) {
  .site-nav a {
    padding: 0.9rem 0;
  }

  .site-nav a::before {
    inset: 0 -0.5rem;
  }

  .hero__slash--one {
    left: 78%;
  }

  .hero__slash--two {
    left: 81%;
  }
}

.hero__monogram {
  transform: translate3d(var(--pointer-x, 0), var(--pointer-y, 0), 0) rotate(-12deg);
  transition: transform 180ms ease-out;
}

.section-label.reveal i {
  transform: scaleX(0) skewX(-28deg);
  transition: transform 420ms cubic-bezier(0.18, 0.8, 0.2, 1);
}

.section-label.reveal.is-visible i {
  transform: scaleX(1) skewX(-28deg);
}

.project-list > .project-card:nth-child(1).reveal.is-visible,
.timeline > .timeline-item:nth-child(1).reveal.is-visible,
.ventures__grid > .venture-card:nth-child(1).reveal.is-visible {
  transition-delay: 40ms;
}

.project-list > .project-card:nth-child(2).reveal.is-visible,
.timeline > .timeline-item:nth-child(2).reveal.is-visible,
.ventures__grid > .venture-card:nth-child(2).reveal.is-visible {
  transition-delay: 110ms;
}

.project-list > .project-card:nth-child(3).reveal.is-visible,
.timeline > .timeline-item:nth-child(3).reveal.is-visible,
.ventures__grid > .venture-card:nth-child(3).reveal.is-visible {
  transition-delay: 180ms;
}

.project-list > .project-card:nth-child(4).reveal.is-visible,
.timeline > .timeline-item:nth-child(4).reveal.is-visible,
.ventures__grid > .venture-card:nth-child(4).reveal.is-visible {
  transition-delay: 250ms;
}

.ventures__grid > .venture-card:nth-child(5).reveal.is-visible {
  transition-delay: 320ms;
}

.ventures__grid > .venture-card:nth-child(6).reveal.is-visible {
  transition-delay: 390ms;
}

.subsection.is-visible .award-row,
.subsection.is-visible .cert-row,
.subsection.is-visible .skills-list span {
  animation: paper-flick 420ms cubic-bezier(0.18, 0.8, 0.2, 1) both;
}

.subsection.is-visible :is(.award-row, .cert-row, .skills-list span):nth-child(2) {
  animation-delay: 70ms;
}

.subsection.is-visible :is(.award-row, .cert-row, .skills-list span):nth-child(3) {
  animation-delay: 140ms;
}

.subsection.is-visible .skills-list span:nth-child(4) {
  animation-delay: 210ms;
}

.subsection.is-visible .skills-list span:nth-child(5) {
  animation-delay: 280ms;
}

.subsection.is-visible .skills-list span:nth-child(6) {
  animation-delay: 350ms;
}

.subsection.is-visible .skills-list span:nth-child(7) {
  animation-delay: 420ms;
}

.subsection.is-visible .skills-list span:nth-child(8) {
  animation-delay: 490ms;
}

.subsection.is-visible .skills-list span:nth-child(9) {
  animation-delay: 560ms;
}

@keyframes paper-flick {
  from {
    opacity: 0;
    transform: translateX(-0.9rem) skewX(-4deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) skewX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slash-transition,
  .hero__slash {
    display: none;
  }

  .reveal,
  .project-card:nth-child(even).reveal {
    transform: none;
    clip-path: none;
  }

  .js-enabled .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .project-card__visual {
    transform: none;
  }
}

/* 04 / Apps: iOS apps from Apple Developer Academy, one editorial row each. */
.apps {
  color: var(--white);
  background: var(--ink);
}

.apps__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.apps__heading > p {
  margin: 0 8% 0 0;
  color: #c1c1c1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.apps .display-title {
  text-shadow: 5px 5px 0 rgba(255, 255, 255, 0.12);
}

.app-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-light);
}

.app-row {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 5.5rem minmax(0, 1fr) minmax(0, 1.15fr) 10rem;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(0.6rem, 1.5vw, 1.4rem);
  border-top: 1px solid var(--line-light);
  isolation: isolate;
  transition: color 220ms ease;
}

/* White panel that wipes in from the left on hover. */
.app-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row:hover,
.app-row:focus-within {
  color: var(--ink);
}

.app-row:hover::before,
.app-row:focus-within::before {
  transform: scaleX(1);
}

.app-row__index {
  align-self: start;
  padding-top: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

/* Monogram in an iOS-style rounded square, tilted per row. */
.app-row__icon {
  display: grid;
  width: 5.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 23%;
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 3.1rem;
  line-height: 1;
  transform: rotate(var(--app-tilt, -4deg));
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.app-row:nth-child(2) .app-row__icon {
  --app-tilt: 5deg;
}

.app-row:nth-child(3) .app-row__icon {
  --app-tilt: -7deg;
}

.app-row:nth-child(4) .app-row__icon {
  --app-tilt: 3deg;
}

.app-row:hover .app-row__icon,
.app-row:focus-within .app-row__icon {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.2);
  transform: rotate(0deg) scale(1.06);
}

.app-row__kind {
  margin: 0 0 0.6rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.app-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 4.4rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.app-row__description {
  max-width: 34rem;
  margin: 0;
  color: #c1c1c1;
  font-size: 0.86rem;
  line-height: 1.65;
  transition: color 220ms ease;
}

.app-row:hover .app-row__description,
.app-row:focus-within .app-row__description {
  color: #4a4a48;
}

.app-row__links {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.app-row__links a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-row__links a span {
  display: inline-block;
  transition: transform 160ms ease;
}

.app-row__links a:hover span,
.app-row__links a:focus-visible span {
  transform: translate(3px, -3px);
}

@media (max-width: 850px) {
  .apps__heading {
    display: block;
  }

  .apps__heading > p {
    margin: 1.5rem 0 0;
  }

  .app-row {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 1rem 1.2rem;
  }

  .app-row__index {
    display: none;
  }

  .app-row__icon {
    width: 4.2rem;
    font-size: 2.4rem;
  }

  .app-row__description,
  .app-row__links {
    grid-column: 1 / -1;
  }

  .app-row__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-row::before,
  .app-row__icon {
    transition: none;
  }
}

/* Eight nav items: tighten spacing on mid-width screens before the menu toggle takes over. */
@media (min-width: 1101px) and (max-width: 1400px) {
  .site-nav {
    gap: 0.25rem;
  }
}

/* Experience aside holds a quote: reset blockquote spacing. */
.experience__aside blockquote {
  margin: 0;
}

.experience__aside .aside-mark {
  height: 2.2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  animation: none;
}

/* 05 / Hobby projects: same rows as Apps, on a light background with an ink hover panel. */
.hobby {
  color: var(--ink);
  background: var(--paper);
}

.hobby .apps__heading > p {
  color: #555;
}

.hobby .app-list,
.hobby .app-row {
  border-color: var(--line);
}

.hobby .app-row::before {
  background: var(--ink);
}

.hobby .app-row:hover,
.hobby .app-row:focus-within {
  color: var(--white);
}

.hobby .app-row__icon {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.18);
}

.hobby .app-row:hover .app-row__icon,
.hobby .app-row:focus-within .app-row__icon {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.16);
}

.hobby .app-row__description {
  color: #565653;
}

.hobby .app-row:hover .app-row__description,
.hobby .app-row:focus-within .app-row__description {
  color: #c1c1c1;
}
