:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #737b70;
  --paper: #f4f3ec;
  --paper-deep: #ebeae1;
  --forest: #111a14;
  --forest-soft: #1d2b20;
  --accent: #c8ef62;
  --line: rgba(23, 32, 25, 0.15);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

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

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

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--forest);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--forest);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  color: #f7f7f0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: -0.07em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.1rem);
  font-size: 0.8rem;
  color: rgba(247, 247, 240, 0.76);
}

.site-nav > a:not(.nav-contact) {
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-contact):hover,
.site-nav > a:not(.nav-contact):focus-visible {
  color: var(--accent);
}

.nav-contact {
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(247, 247, 240, 0.32);
  border-radius: 2rem;
  color: #f7f7f0;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-contact span {
  margin-left: 0.55rem;
  color: var(--accent);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--forest);
}

.nav-contact:hover span,
.nav-contact:focus-visible span {
  color: var(--forest);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(840px, 100svh);
  min-height: max(700px, 100svh);
  overflow: hidden;
  align-items: center;
  padding: 125px 12% 95px;
  background: var(--forest);
  color: #f5f5ee;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -9%;
  bottom: -34%;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(200, 239, 98, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.28;
  background-image: linear-gradient(rgba(225, 238, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 238, 216, 0.08) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(110deg, transparent 15%, #000 65%, transparent);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(200, 239, 98, 0.24);
  border-radius: 50%;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-orb-one {
  top: 15%;
  right: 12%;
  width: clamp(300px, 40vw, 620px);
  aspect-ratio: 1;
  box-shadow: inset 0 0 90px rgba(200, 239, 98, 0.035);
}

.hero-orb-two {
  top: 26%;
  right: 20%;
  width: clamp(190px, 26vw, 395px);
  aspect-ratio: 1;
  border-color: rgba(245, 245, 238, 0.16);
}

.hero-stamp {
  position: absolute;
  top: 24%;
  right: 25%;
  color: rgba(200, 239, 98, 0.7);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.6;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(640px, 60%);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(245, 245, 238, 0.7);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(200, 239, 98, 0.7);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9.5vw, 9.4rem);
  font-weight: 600;
  letter-spacing: -0.095em;
  line-height: 0.98;
}

.hero h1 span,
.contact h2 span {
  color: var(--accent);
}

.hero-description {
  max-width: 425px;
  margin: 1.8rem 0 0;
  color: rgba(245, 245, 238, 0.69);
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 1.2rem;
  border-radius: 3rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: var(--forest);
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-3px);
  background: #d7f993;
}

.button-primary span {
  font-size: 1rem;
}

.text-link {
  color: rgba(245, 245, 238, 0.8);
  font-size: 0.78rem;
}

.text-link span {
  margin-left: 0.4rem;
  color: var(--accent);
}

.hero-meta {
  display: flex;
  width: min(510px, 100%);
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(3rem, 8vh, 6rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 245, 238, 0.18);
  color: rgba(245, 245, 238, 0.54);
  font-size: 0.69rem;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.scroll-line {
  width: 31px;
  height: 1px;
  background: var(--accent);
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  top: 48%;
  right: 16%;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  transform: translate3d(0, calc(-50% + var(--parallax-y, 0px)), 0);
}

.portrait-frame {
  display: grid;
  width: clamp(115px, 14vw, 185px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(200, 239, 98, 0.52);
  border-radius: 50%;
  background: #243328;
  box-shadow: 0 0 0 12px rgba(200, 239, 98, 0.035), 0 25px 80px rgba(0, 0, 0, 0.24);
}

.portrait-frame img {
  width: 76%;
  height: 76%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-caption {
  color: rgba(245, 245, 238, 0.58);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-align: center;
}

.hero-index {
  position: absolute;
  right: 7.2%;
  bottom: 3.5rem;
  color: rgba(245, 245, 238, 0.43);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.section-wrap {
  padding-right: 12%;
  padding-left: 12%;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
}

.section-kicker span {
  color: #8c997b;
  font-size: 0.63rem;
}

.intro {
  display: grid;
  grid-template-columns: 0.72fr 1.5fr;
  gap: 7%;
  padding-top: clamp(100px, 13vw, 178px);
  padding-bottom: clamp(100px, 13vw, 178px);
}

.intro .section-kicker,
.experience .section-kicker {
  padding-top: 0.85rem;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.intro .section-heading span {
  color: #8a9286;
}

.intro-copy {
  max-width: 620px;
  margin: 2rem 0 0;
  color: #5d675c;
  font-size: 1rem;
  line-height: 1.9;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.skill-list span {
  padding: 0.6rem 0.88rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  color: #536052;
  font-size: 0.69rem;
}

.experience {
  display: grid;
  grid-template-columns: 0.72fr 1.5fr;
  gap: 7%;
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(90px, 11vw, 145px);
  background: var(--paper-deep);
}

.experience-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8%;
}

.experience .section-heading {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}

.section-lead {
  max-width: 210px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  padding-top: 0.2rem;
  color: #788273;
  font-size: 0.69rem;
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.timeline-item h3 span {
  color: #6d776b;
  font-weight: 500;
}

.timeline-item p {
  margin: 0.55rem 0 0;
  color: #717a6f;
  font-size: 0.8rem;
  line-height: 1.75;
}

.work {
  padding-top: clamp(100px, 12vw, 155px);
  padding-bottom: clamp(100px, 12vw, 155px);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.6rem;
}

.work-heading .section-kicker {
  margin-bottom: 1.25rem;
}

.work-heading .section-heading {
  font-size: clamp(3rem, 6vw, 6rem);
}

.heading-period {
  color: #91a777;
}

.work-intro {
  max-width: 300px;
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.3rem, 4.5vw, 4.3rem);
  row-gap: 4.5rem;
}

.project-card {
  min-width: 0;
}

.project-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  column-gap: 2.2rem;
  align-items: end;
}

.project-card-featured .project-image {
  grid-row: span 2;
  aspect-ratio: 1.56;
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.35;
  background: #e4e6dc;
}

.project-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 32, 25, 0.07);
  content: "";
  pointer-events: none;
}

.project-image-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-image-preview:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.045);
}

.project-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(17, 26, 20, 0.52);
  color: #fff;
  font-size: 0.62rem;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.project-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.project-preview-trigger {
  min-height: 37px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-preview-trigger:hover,
.project-preview-trigger:focus-visible {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--accent);
}

.project-type {
  margin: 0 0 0.38rem;
  color: #7c8677;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.project-link {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  transform: rotate(45deg);
  border-color: var(--forest);
  background: var(--forest);
  color: var(--accent);
}

.project-description {
  margin: 0.8rem 0 0;
  color: #70796e;
  font-size: 0.79rem;
  line-height: 1.75;
}

.project-card-featured .project-description {
  align-self: start;
  margin-top: 0.85rem;
}

.project-dialog {
  width: min(940px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.1rem;
  background: #f4f3ec;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.project-dialog::backdrop {
  background: rgba(8, 13, 10, 0.78);
  backdrop-filter: blur(7px);
}

.project-dialog-panel {
  position: relative;
  display: grid;
  max-height: calc(100vh - 2rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  overflow: auto;
  border-radius: inherit;
}

.project-dialog-image-wrap {
  display: grid;
  min-height: 330px;
  max-height: calc(100vh - 2rem);
  place-items: center;
  padding: 1rem;
  background: #e8e9e1;
}

.project-dialog-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
}

.project-dialog-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  flex-direction: column;
}

.project-dialog-close {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(23, 32, 25, 0.17);
  border-radius: 50%;
  background: rgba(244, 243, 236, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.project-dialog-close:hover,
.project-dialog-close:focus-visible {
  border-color: var(--forest);
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.project-dialog-type {
  margin: 0 0 0.8rem;
  color: #788273;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-dialog-content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.project-dialog-description {
  margin: 1.2rem 0 1.7rem;
  color: #667064;
  font-size: 0.87rem;
  line-height: 1.8;
}

.project-dialog-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #87917f;
  font-size: 0.8rem;
  font-weight: 700;
}

.project-dialog-link[hidden] {
  display: none;
}

.project-dialog-link span {
  color: #738550;
}

body.dialog-open {
  overflow: hidden;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(90px, 10vw, 130px);
  background: var(--forest);
  color: #f5f5ee;
  isolation: isolate;
}

.contact .section-kicker {
  color: rgba(245, 245, 238, 0.55);
}

.contact .section-kicker span {
  color: var(--accent);
}

.contact-orb {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: -14%;
  width: 47vw;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 239, 98, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(200, 239, 98, 0.025), 0 0 0 140px rgba(200, 239, 98, 0.02);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8%;
  align-items: end;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 8rem);
}

.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8.5vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.98;
}

.contact-details {
  padding-bottom: 0.5rem;
}

.contact-details p {
  max-width: 340px;
  margin: 0 0 1.7rem;
  color: rgba(245, 245, 238, 0.62);
  font-size: 0.86rem;
  line-height: 1.8;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid rgba(245, 245, 238, 0.3);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 600;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  color: rgba(245, 245, 238, 0.7);
  font-size: 0.76rem;
}

.social-link span {
  color: var(--accent);
}

.site-footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(245, 245, 238, 0.17);
  color: rgba(245, 245, 238, 0.46);
  font-size: 0.67rem;
}

.brand-footer {
  color: #f5f5ee;
  font-size: 0.8rem;
}

.brand-footer .brand-mark {
  width: 29px;
  height: 29px;
  font-size: 0.59rem;
}

.site-footer > a:last-child {
  color: rgba(245, 245, 238, 0.7);
}

.site-nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.project-link:focus-visible,
.project-preview-trigger:focus-visible,
.contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (min-width: 1500px) {
  .hero {
    padding-left: max(12%, calc((100vw - 1300px) / 2));
  }

  .section-wrap {
    padding-right: max(12%, calc((100vw - 1300px) / 2));
    padding-left: max(12%, calc((100vw - 1300px) / 2));
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 76px;
    padding: 0 6%;
  }

  .hero {
    min-height: max(690px, 100svh);
    padding-right: 8%;
    padding-left: 8%;
  }

  .hero-content {
    width: 68%;
  }

  .hero-portrait {
    right: 9%;
  }

  .section-wrap {
    padding-right: 8%;
    padding-left: 8%;
  }

  .intro,
  .experience {
    grid-template-columns: 0.55fr 1.45fr;
    gap: 5%;
  }

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

  .section-lead {
    max-width: 100%;
  }

  .project-card-featured {
    column-gap: 1.4rem;
  }

  .contact-content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5%;
  }
}

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

  .site-header {
    position: absolute;
    min-height: 72px;
    padding: 0 6%;
  }

  .brand {
    font-size: 0.89rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 12;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 15px;
    height: 1px;
    background: #f5f5ee;
    transition: transform 180ms ease;
  }

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

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

  .site-nav {
    position: absolute;
    top: 12px;
    right: 5%;
    left: 5%;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 1.3rem 1.2rem;
    border: 1px solid rgba(245, 245, 238, 0.16);
    border-radius: 1rem;
    background: rgba(17, 26, 20, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    flex-direction: column;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-contact) {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(245, 245, 238, 0.12);
  }

  .nav-contact {
    align-self: flex-start;
    margin-top: 1rem;
  }

  .hero {
    min-height: max(720px, 100svh);
    align-items: flex-start;
    padding: 160px 7% 75px;
  }

  .hero::after {
    right: -25%;
    bottom: -12%;
    width: 100%;
    height: 45%;
  }

  .hero-grid {
    background-size: 52px 52px;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 1.35rem;
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 17vw, 6.6rem);
  }

  .hero-description {
    max-width: 340px;
    margin-top: 1.3rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 1.2rem;
    margin-top: 1.5rem;
  }

  .button {
    min-height: 46px;
    padding: 0 1rem;
    font-size: 0.7rem;
  }

  .text-link {
    font-size: 0.7rem;
  }

  .hero-meta {
    width: 100%;
    margin-top: 3rem;
    font-size: 0.61rem;
  }

  .hero-portrait {
    top: auto;
    right: 10%;
    bottom: 6.5rem;
    gap: 0.5rem;
    transform: translate3d(0, var(--parallax-y, 0), 0);
  }

  .portrait-frame {
    width: clamp(90px, 24vw, 130px);
  }

  .portrait-caption {
    font-size: 0.45rem;
  }

  .hero-orb-one {
    top: auto;
    right: -18%;
    bottom: 3%;
    width: 73vw;
  }

  .hero-orb-two {
    top: auto;
    right: -4%;
    bottom: 9%;
    width: 56vw;
  }

  .hero-stamp {
    display: none;
  }

  .hero-index {
    right: 7%;
    bottom: 2rem;
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .intro,
  .experience {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .intro .section-kicker,
  .experience .section-kicker {
    padding-top: 0;
  }

  .section-heading {
    font-size: clamp(2.7rem, 11vw, 4.2rem);
  }

  .intro-copy {
    margin-top: 1.35rem;
    font-size: 0.9rem;
  }

  .skill-list {
    margin-top: 1.5rem;
  }

  .skill-list span {
    padding: 0.54rem 0.75rem;
    font-size: 0.64rem;
  }

  .experience-content {
    gap: 1.5rem;
  }

  .experience .section-heading {
    font-size: 3.2rem;
  }

  .timeline-item {
    grid-template-columns: 42px 1fr;
    gap: 0.5rem;
    padding: 1.1rem 0;
  }

  .timeline-item h3 {
    font-size: 0.83rem;
    line-height: 1.6;
  }

  .timeline-item p {
    font-size: 0.74rem;
  }

  .work {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .work-heading {
    display: block;
    margin-bottom: 2.2rem;
  }

  .work-heading .section-heading {
    font-size: clamp(3rem, 12vw, 4.3rem);
  }

  .work-intro {
    margin-top: 1rem;
    font-size: 0.8rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    row-gap: 2.6rem;
  }

  .project-card-featured {
    grid-column: auto;
    display: block;
  }

  .project-card-featured .project-image,
  .project-image {
    aspect-ratio: 1.24;
  }

  .project-info {
    margin-top: 1rem;
  }

  .project-info h3 {
    font-size: 1.15rem;
  }

  .project-actions {
    gap: 0.35rem;
  }

  .project-preview-trigger {
    min-height: 34px;
    padding: 0 0.65rem;
    font-size: 0.62rem;
  }

  .project-description {
    font-size: 0.76rem;
  }

  .project-dialog {
    width: calc(100vw - 1.25rem);
    max-height: calc(100vh - 1.25rem);
    border-radius: 0.85rem;
  }

  .project-dialog-panel {
    max-height: calc(100vh - 1.25rem);
    grid-template-columns: 1fr;
  }

  .project-dialog-image-wrap {
    min-height: 0;
    max-height: 43vh;
    padding: 0.6rem;
  }

  .project-dialog-image {
    max-height: calc(43vh - 1.2rem);
  }

  .project-dialog-content {
    padding: 1.4rem 1.3rem 1.6rem;
  }

  .project-dialog-content h2 {
    padding-right: 2.5rem;
    font-size: 1.9rem;
  }

  .project-dialog-description {
    margin: 0.9rem 0 1rem;
    font-size: 0.8rem;
  }

  .contact {
    padding-top: 5.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3.5rem 0 4.5rem;
  }

  .contact h2 {
    font-size: clamp(3.5rem, 14vw, 5.4rem);
  }

  .contact-details p {
    font-size: 0.8rem;
  }

  .contact-orb {
    top: 30%;
    right: -40%;
    width: 95vw;
  }

  .site-footer {
    min-height: 75px;
    flex-wrap: wrap;
    padding: 1rem 0;
    font-size: 0.59rem;
  }

  .brand-footer {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-meta {
    margin-top: 2.2rem;
  }

  .hero-portrait {
    bottom: 4.5rem;
  }
}

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