:root {
  --ink: #090909;
  --paper: #eef3f4;
  --accent: #ff4a1c;
  --line: rgba(9, 9, 9, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 62% 43%, rgba(255, 255, 255, 0.95) 0 10%, transparent 38%),
    radial-gradient(circle at 50% 0%, #f9fbfb 0, var(--paper) 72%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: multiply;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.2vh 3.3vw;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.brand i {
  width: 0.32em;
  aspect-ratio: 1;
  margin: 0 0 0.02em 0.11em;
  border-radius: 50%;
  background: var(--accent);
}

.brand i.is-arriving {
  animation: brand-dot-hop 2.25s linear both;
}

.nav {
  display: flex;
  gap: clamp(2.25rem, 4.2vw, 5.5rem);
  align-items: center;
  margin-right: 3.2vw;
  font-size: clamp(0.9rem, 1.15vw, 1.25rem);
}

.language-switcher {
  display: inline-flex;
  gap: 0.36rem;
  align-items: center;
  color: #596064;
  font-size: 0.72em;
  letter-spacing: 0.08em;
}

.language-option {
  padding: 0.2rem 0;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: transparent;
  opacity: 0.42;
  transition: opacity 260ms ease;
}

.language-option[aria-pressed="true"],
.language-option:hover {
  opacity: 1;
}

.language-option:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.25rem;
}

.menu-toggle {
  display: none;
}

.hero-copy {
  position: absolute;
  top: 20.7%;
  left: 3.25vw;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 48vw;
  padding: 0;
  will-change: transform;
}

.eyebrow {
  margin: 0 0 0 0.25vw;
  font-size: clamp(0.72rem, 1.2vw, 1.22rem);
  letter-spacing: 0.44em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: clamp(1.5rem, 3vh, 2rem) 0 0;
  font-size: clamp(4.2rem, min(7.15vw, 15.5svh), 8.8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.title-dot {
  display: inline-block;
  width: 0.18em;
  aspect-ratio: 1;
  margin-left: 0.055em;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(0.02em);
}

.title-dot.is-arriving,
.projects-heading h2 span.is-arriving,
.profile-intro h2 span.is-arriving,
.experience-heading h2 span.is-arriving,
.contact-section h2 span.is-arriving {
  animation: title-dot-hop 2.35s linear 150ms both;
}

@keyframes brand-dot-hop {
  0% {
    opacity: 0;
    transform: translate(-8rem, 0);
  }
  18% {
    opacity: 1;
    transform: translate(-6.1rem, -0.85rem);
  }
  34% {
    transform: translate(-4.7rem, 0);
  }
  50% {
    transform: translate(-3.35rem, -0.58rem);
  }
  64% {
    transform: translate(-2.3rem, 0);
  }
  76% {
    transform: translate(-1.35rem, -0.34rem);
  }
  86% {
    transform: translate(-0.72rem, 0);
  }
  94% {
    transform: translate(-0.26rem, -0.14rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes title-dot-hop {
  0% {
    opacity: 0;
    transform: translate(-3em, 0.02em);
  }
  18% {
    opacity: 1;
    transform: translate(-2.28em, -0.56em);
  }
  34% {
    transform: translate(-1.72em, 0.02em);
  }
  50% {
    transform: translate(-1.2em, -0.38em);
  }
  64% {
    transform: translate(-0.8em, 0.02em);
  }
  76% {
    transform: translate(-0.46em, -0.22em);
  }
  86% {
    transform: translate(-0.23em, 0.02em);
  }
  94% {
    transform: translate(-0.08em, -0.08em);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0.02em);
  }
}

.intro {
  margin: clamp(1.25rem, 2.4vh, 2rem) 0 0 0.45vw;
  color: #4b5356;
  font-size: clamp(1rem, 1.62vw, 1.78rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.project-link {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  margin: clamp(0.8rem, 1.6vh, 1.25rem) 0 0 0.45vw;
  color: var(--accent);
  font-size: clamp(1rem, 1.65vw, 1.72rem);
  font-weight: 400;
}

.project-link span {
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(0.02em, -0.04em);
}

.visual {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.monogram {
  position: absolute;
  top: 21.5%;
  left: 48%;
  z-index: 0;
  color: var(--accent);
  font-size: clamp(24rem, min(44vw, 70svh), 42rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.82;
  will-change: transform;
}

.orbit {
  position: absolute;
  top: 13.5%;
  left: clamp(66vw, calc(76vw - 12svh), 71vw);
  z-index: 1;
  width: min(25vw, 45svh, 33.75rem);
  aspect-ratio: 1;
  will-change: transform;
}

.orbit path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.42;
  stroke-linecap: round;
  stroke-dasharray: 212;
  stroke-dashoffset: 0;
}

.orbit.is-arriving path {
  animation: orbit-draw 2.8s cubic-bezier(0.3, 0.68, 0.28, 1) both;
}

@keyframes orbit-draw {
  from {
    stroke-dashoffset: 212;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.visual img {
  position: absolute;
  left: calc(50vw - 72svh);
  bottom: 0;
  z-index: 2;
  opacity: 1;
  width: auto;
  height: 92svh;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
  filter: saturate(0.92) contrast(0.97);
  will-change: transform;
}

.disciplines {
  position: absolute;
  bottom: 5.2vh;
  left: 3.7vw;
  z-index: 4;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(0.62rem, 0.84vw, 0.9rem);
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.folio {
  position: absolute;
  top: 20vh;
  right: 3.55vw;
  z-index: 4;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(0.65rem, 0.85vw, 0.9rem);
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: grid;
  width: clamp(4.4rem, 6.6vw, 7rem);
  aspect-ratio: 1;
  place-items: center;
  background: var(--accent);
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 2rem;
  background: white;
}

.scroll-cue span::before,
.scroll-cue span::after {
  position: absolute;
  bottom: 0;
  width: 0.9rem;
  height: 1px;
  content: "";
  background: white;
}

.scroll-cue span::before {
  right: 0;
  transform: rotate(45deg);
  transform-origin: right;
}

.scroll-cue span::after {
  left: 0;
  transform: rotate(-45deg);
  transform-origin: left;
}

.projects-section,
.profile-section,
.experience-section,
.contact-section {
  position: relative;
  overflow: hidden;
}

.section-kicker {
  margin: 0 0 1.1rem;
  font: 0.78rem/1.2 "Courier New", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.projects-section {
  padding: clamp(5rem, 8vw, 9rem) 3.7vw clamp(6rem, 10vw, 11rem);
  background: #f7f9f9;
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  gap: 2vw;
  align-items: start;
  margin-bottom: clamp(4rem, 7vw, 8rem);
  will-change: transform;
}

.projects-heading h2,
.profile-intro h2,
.experience-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.projects-heading h2 span,
.profile-intro h2 span,
.experience-heading h2 span,
.contact-section h2 span {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.045em;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  vertical-align: 0.02em;
  background: var(--accent);
}

.section-note {
  max-width: 24rem;
  margin: 4.6rem 0 0;
  color: #4b5356;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.35;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 6rem) 2.2vw;
}

.project-card {
  grid-column: span 5;
  min-width: 0;
  transform-origin: 50% 100%;
  will-change: transform;
}

.project-card--wide {
  grid-column: span 7;
}

.project-card--last {
  margin-top: 7vw;
}

.project-card--feature {
  grid-column: 1 / -1;
  margin-top: 1vw;
}

.project-card--feature .project-media {
  height: clamp(24rem, 38vw, 46rem);
}

.project-card__link {
  display: block;
  color: inherit;
}

.project-media {
  position: relative;
  height: clamp(22rem, 35vw, 41rem);
  margin: 0;
  overflow: hidden;
  background: #b51113;
  will-change: clip-path;
}

.project-card--tall .project-media {
  height: clamp(28rem, 43vw, 50rem);
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 5, 5, 0.14));
}

.project-media img,
.project-media video {
  display: block;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.92) contrast(1.02);
  will-change: transform;
}

.project-media--ceniza img {
  object-position: 50% 14%;
}

.project-media--super-rayo img {
  object-position: 50% 50%;
}

.project-media--agenda img {
  object-position: 50% 50%;
}

.project-media--introcrea img {
  object-position: 50% 57%;
}

@media (hover: hover) and (pointer: fine) {
  .project-media img,
  .project-media video {
    transition: filter 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-card:hover .project-media img,
  .project-card:hover .project-media video {
    filter: saturate(1) contrast(1.04);
  }
}

.project-meta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem 1.5rem;
  padding: 1.25rem 2.1rem 0 0;
  border-top: 1px solid var(--ink);
}

.project-meta > i,
.experience-entry > i {
  position: absolute;
  top: 1.3rem;
  right: 0.15rem;
  width: 0.68rem;
  height: 0.68rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), color 420ms ease;
}

.project-meta p,
.project-meta span {
  margin: 0;
  font: 0.72rem/1.35 "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta p {
  color: var(--accent);
}

.project-meta h3 {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 3.7vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.project-meta span {
  grid-column: 1 / -1;
  max-width: 38rem;
  color: #5a6164;
}

.profile-section {
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 9rem) 3.7vw;
  color: #f5f7f7;
  background: #0b0c0c;
}

.profile-orbit {
  position: absolute;
  top: -15vw;
  right: -8vw;
  width: 42vw;
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
  will-change: transform;
}

.profile-orbit circle {
  fill: none;
  stroke: rgba(255, 74, 28, 0.7);
  stroke-width: 0.22;
  stroke-dasharray: 305;
  stroke-dashoffset: 0;
}

.profile-orbit.is-arriving circle {
  animation: profile-orbit-draw 2.8s cubic-bezier(0.3, 0.68, 0.28, 1) both;
}

@keyframes profile-orbit-draw {
  from {
    stroke-dashoffset: 305;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.profile-intro {
  width: min(64rem, 70vw);
  margin-left: 0;
}

.profile-intro .section-kicker {
  color: var(--accent);
}

.profile-intro h2 {
  max-width: 9ch;
}

.profile-summary {
  max-width: 45rem;
  margin: clamp(2rem, 4vw, 4rem) 0 0 24vw;
  color: #aeb5b7;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  line-height: 1.35;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(5rem, 10vw, 10rem) 0 0 13vw;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.capabilities article {
  min-height: 18rem;
  padding: 1.4rem 1.4rem 2rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.capabilities article + article {
  padding-left: 1.4rem;
}

.capabilities span {
  color: var(--accent);
  font: 0.72rem/1.2 "Courier New", monospace;
}

.capabilities h3 {
  margin: 5rem 0 1rem;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.capabilities p {
  margin: 0;
  color: #92999b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.tool-stack {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) 3fr;
  margin: 0 0 0 13vw;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.tool-stack__header {
  padding: 1.35rem 2rem 1.35rem 0;
}

.tool-stack__header .section-kicker {
  margin: 0 0 3.5rem;
  color: var(--accent);
}

.tool-stack__header > p:last-child {
  max-width: 12rem;
  margin: 0;
  color: #aeb5b7;
  font-size: 0.95rem;
  line-height: 1.35;
}

.tool-stack__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.tool-stack__list li {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: #d9dede;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 360ms ease, background-color 360ms ease;
}

.tool-icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  color: #f5f7f7;
}

.tool-icon svg,
.tool-icon img {
  display: block;
}

.tool-icon--unity img {
  width: auto;
  height: 3rem;
  filter: invert(1);
}

.tool-icon--resolve svg {
  width: 100%;
  height: 100%;
}

.tool-icon--resolve svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.tool-icon--resolve svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

.tool-icon--adobe {
  border: 1px solid currentColor;
  border-radius: 0.28rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  text-transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .tool-stack__list li:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.035);
  }
}

.experience-section {
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 9rem) 3.7vw clamp(6rem, 10vw, 11rem);
  background: #e3e9ea;
}

.experience-section::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.23em;
  z-index: 0;
  color: rgba(255, 74, 28, 0.11);
  content: "92";
  font-size: min(42vw, 48rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
}

.experience-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}

.experience-heading .section-kicker {
  margin-top: 0;
}

.experience-heading h2 {
  max-width: 8ch;
}

.experience-list {
  position: relative;
  z-index: 2;
  width: min(64rem, 67vw);
  margin: clamp(4rem, 8vw, 8rem) 0 0 auto;
  border-top: 1px solid var(--ink);
}

.experience-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) 1.1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.65rem 2.5rem 1.8rem 0;
  border-bottom: 1px solid rgba(9, 9, 9, 0.28);
  color: inherit;
}

.experience-list p,
.experience-list h3 {
  margin: 0;
}

.experience-list p {
  color: #545c5f;
  font: 0.72rem/1.45 "Courier New", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.experience-list h3 {
  font-size: clamp(1.75rem, 3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.experience-entry > span {
  grid-column: 2;
  color: var(--accent);
  font: 0.72rem/1.35 "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-entry > i {
  top: 1.9rem;
  right: 0.25rem;
}

.project-card__link:focus-visible,
.experience-entry:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.45rem;
}

@media (hover: hover) and (pointer: fine) {
  .project-card__link:hover .project-meta > i,
  .experience-entry:hover > i {
    color: var(--accent);
    transform: translate(0.24rem, -0.24rem);
  }

  .experience-entry h3 {
    transition: color 420ms ease;
  }

  .experience-entry:hover h3 {
    color: var(--accent);
  }
}

.experience-side {
  position: absolute;
  top: 52%;
  left: 3.7vw;
  margin: 0;
  font: 0.7rem/1.3 "Courier New", monospace;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.contact-section {
  min-height: 96svh;
  padding: clamp(5rem, 8vw, 9rem) 3.7vw 3.7vw;
  color: white;
  background: var(--accent);
}

.contact-section .section-kicker {
  color: #101010;
}

.contact-topline {
  display: flex;
  justify-content: flex-end;
  color: #101010;
  font: 0.72rem/1.2 "Courier New", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-topline p {
  margin: 0;
}

.contact-main .section-kicker {
  margin: clamp(3rem, 6vw, 6rem) 0 1.8rem;
}

.contact-section h2 {
  max-width: 10ch;
  margin-left: 0;
  font-size: clamp(5rem, 13vw, 14rem);
}

.contact-section h2 span {
  background: #101010;
}

.contact-cta {
  display: flex;
  width: min(43rem, 58vw);
  align-items: center;
  justify-content: space-between;
  margin: 3rem 12vw 0 auto;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.62);
  color: #101010;
  font-size: clamp(1.2rem, 2vw, 2.15rem);
  letter-spacing: -0.035em;
}

.contact-cta i {
  display: block;
  width: 0.55em;
  height: 0.55em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.contact-details {
  display: grid;
  width: min(64rem, 70vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.2rem;
  margin: clamp(4rem, 6vw, 6rem) auto 0;
}

.contact-details a {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  color: #101010;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.contact-details a:nth-child(-n + 2) {
  border-top: 1px solid rgba(0, 0, 0, 0.55);
}

.contact-details a::after {
  width: 0.52em;
  height: 0.52em;
  flex: 0 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
}

.back-to-top {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: clamp(4.4rem, 6.6vw, 7rem);
  aspect-ratio: 1;
  place-items: center;
  background: #101010;
}

.back-to-top span {
  position: relative;
  width: 1px;
  height: 2rem;
  background: white;
}

.back-to-top span::before,
.back-to-top span::after {
  position: absolute;
  top: 0;
  width: 0.9rem;
  height: 1px;
  content: "";
  background: white;
}

.back-to-top span::before {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right;
}

.back-to-top span::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1200px) and (max-width: 1600px) and (min-height: 700px) and (max-height: 1000px) {
  .monogram {
    left: 45.5%;
    font-size: 40.5vw;
  }

  .orbit {
    left: 64%;
    width: 28.5vw;
  }
}

@media (min-width: 2000px) and (max-height: 1100px) {
  .monogram {
    left: 46.5%;
    font-size: min(31vw, 82svh, 48rem);
  }

  .orbit {
    left: calc(50vw + 24svh);
    width: min(26vw, 60svh, 37.5rem);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 900px;
  }

  .topbar {
    padding: 1.75rem 1.35rem;
  }

  .menu-toggle {
    z-index: 12;
    display: grid;
    gap: 6px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.7rem 0.45rem;
    border: 0;
    background: transparent;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .nav {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: min(76vw, 20rem);
    height: 100vh;
    padding: 7rem 2rem;
    margin: 0;
    flex-direction: column;
    background: #f8fbfb;
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .language-switcher {
    margin-top: auto;
    font-size: 0.75rem;
  }

  .hero-copy {
    position: relative;
    inset: auto;
    z-index: 4;
    width: auto;
    padding: 8.8rem 1.35rem 0;
  }

  .eyebrow {
    position: static;
    margin-bottom: 1.4rem;
    font-size: 0.68rem;
  }

  h1 {
    position: static;
    max-width: 9ch;
    margin-top: 0;
    font-size: clamp(3.7rem, 18vw, 6.3rem);
    line-height: 0.82;
  }

  .intro {
    position: static;
    margin-top: 1.8rem;
    font-size: 1.05rem;
  }

  .project-link {
    position: static;
    margin-top: 1.1rem;
  }

  .visual {
    inset: auto 0 0;
    height: 57%;
  }

  .visual img {
    right: auto;
    left: -55vw;
    width: auto;
    height: 100%;
    object-position: left bottom;
  }

  .monogram {
    top: 6%;
    left: 37%;
    font-size: 76vw;
  }

  .orbit {
    top: 13%;
    left: 48%;
    width: 66vw;
  }

  .disciplines {
    bottom: 2rem;
    left: 1.35rem;
    color: white;
    mix-blend-mode: difference;
  }

  .folio {
    top: auto;
    right: 1.1rem;
    bottom: 8rem;
    font-size: 0.6rem;
  }

  .projects-section,
  .profile-section,
  .experience-section,
  .contact-section {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-heading .section-note {
    grid-column: 1;
    margin-top: 1.5rem;
  }

  .projects-heading h2,
  .profile-intro h2,
  .experience-heading h2 {
    font-size: clamp(3.8rem, 18vw, 6.5rem);
  }

  .projects-grid {
    display: block;
  }

  .project-card,
  .project-card--last,
  .project-card--feature {
    margin: 0 0 4.5rem;
  }

  .project-media,
  .project-card--tall .project-media,
  .project-card--feature .project-media {
    height: min(118vw, 39rem);
  }

  .profile-intro {
    width: auto;
    margin-left: 0;
  }

  .profile-summary {
    margin-left: 0;
  }

  .capabilities {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
  }

  .capabilities article,
  .capabilities article + article {
    min-height: 15rem;
    padding: 1.2rem;
  }

  .capabilities article:nth-child(odd) {
    padding-left: 0;
  }

  .capabilities h3 {
    margin-top: 3rem;
  }

  .tool-stack {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .tool-stack__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-right: 0;
  }

  .tool-stack__header .section-kicker {
    margin-bottom: 0;
  }

  .tool-stack__header > p:last-child {
    text-align: right;
  }

  .tool-stack__list {
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .tool-stack__list li {
    min-height: 9.5rem;
  }

  .experience-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-list {
    width: auto;
    margin-top: 4rem;
  }

  .experience-entry {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .experience-entry > span {
    grid-column: 1;
  }

  .experience-side {
    display: none;
  }

  .contact-section {
    min-height: 45rem;
    padding-bottom: 7rem;
  }

  .contact-section .section-kicker,
  .contact-section h2 {
    margin-left: 0;
  }

  .contact-section h2 {
    font-size: clamp(4.2rem, 19vw, 7rem);
  }

  .contact-cta {
    width: auto;
    margin: 2.5rem 0 0 3rem;
    font-size: 1.1rem;
  }

  .contact-details {
    width: auto;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 4rem 3rem 0;
  }

  .contact-details a:nth-child(2) {
    border-top: 0;
  }
}

@media (min-width: 600px) and (max-width: 820px) {
  .hero-copy {
    position: absolute;
    top: 20.7%;
    left: 3.25vw;
    width: 52vw;
    padding: 0;
  }

  .eyebrow {
    margin: 0 0 0 0.25vw;
  }

  h1 {
    max-width: 9ch;
    margin-top: clamp(1.35rem, 2.8vh, 1.75rem);
    font-size: clamp(4.2rem, min(10vw, 15.5svh), 5.2rem);
  }

  .intro {
    margin: clamp(1.1rem, 2.2vh, 1.5rem) 0 0 0.45vw;
    font-size: clamp(0.9rem, 1.7vw, 1rem);
  }

  .project-link {
    margin: clamp(0.75rem, 1.4vh, 1rem) 0 0 0.45vw;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  }

  .visual {
    inset: 0;
    height: auto;
  }

  .visual img {
    left: calc(54vw - 72svh);
    height: 92svh;
  }

  .monogram {
    top: 21.5%;
    left: 52%;
    font-size: min(54vw, 70svh);
  }

  .orbit {
    top: 13.5%;
    left: 66%;
    width: min(30vw, 45svh);
  }

  .disciplines {
    bottom: 5.2vh;
    left: 3.7vw;
    color: var(--ink);
    mix-blend-mode: normal;
  }

  .folio {
    top: 20vh;
    right: 3.55vw;
    bottom: auto;
    font-size: clamp(0.58rem, 1.2vw, 0.7rem);
  }
}

@media (max-width: 520px) {
  .intro {
    max-width: 20rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .visual {
    height: 47%;
  }

  .monogram {
    top: 14%;
    left: 8%;
    font-size: 68vw;
  }

  .orbit {
    top: 2%;
    left: 38%;
    width: 58vw;
  }

  .disciplines,
  .folio {
    display: none;
  }

  .projects-heading h2,
  .profile-intro h2,
  .experience-heading h2 {
    font-size: clamp(3.35rem, 16.2vw, 5.25rem);
  }

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

  .capabilities article,
  .capabilities article + article {
    min-height: 0;
    padding: 1.4rem 0 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .capabilities h3 {
    margin: 1.75rem 0 0.75rem;
  }

  .tool-stack__header {
    display: block;
  }

  .tool-stack__header .section-kicker {
    margin-bottom: 1rem;
  }

  .tool-stack__header > p:last-child {
    text-align: left;
  }

  .contact-cta,
  .contact-details {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .visual img {
    bottom: -24svh;
    left: calc(43vw - 72svh);
    height: 70svh;
  }

  .monogram {
    top: 24%;
    left: 8%;
    font-size: 64vw;
  }

  .orbit {
    top: 26%;
    left: 28%;
    width: 42vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .brand i.is-arriving,
  .title-dot.is-arriving,
  .projects-heading h2 span.is-arriving,
  .profile-intro h2 span.is-arriving,
  .experience-heading h2 span.is-arriving,
  .contact-section h2 span.is-arriving,
  .orbit.is-arriving path {
    animation: none !important;
  }

  .profile-orbit.is-arriving circle {
    animation: none !important;
  }

  .hero-copy,
  .monogram,
  .orbit,
  .profile-orbit,
  .visual img,
  .projects-heading,
  .project-card,
  .project-media,
  .project-media img,
  .project-meta {
    opacity: 1;
    clip-path: none;
    transform: none !important;
  }
}
