:root {
  color-scheme: dark;
  --bg: #07080b;
  --panel: rgba(14, 17, 22, 0.88);
  --panel-soft: rgba(18, 22, 28, 0.68);
  --text: #f7f2e8;
  --muted: #a7afb8;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #57b7ff;
  --green: #84ef73;
  --yellow: #ffd75c;
  --red: #ff6678;
  --pink: #ff83c7;
  --lime: #c2ff6c;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(118deg, rgba(255, 102, 120, 0.16), transparent 28%),
    linear-gradient(235deg, rgba(87, 183, 255, 0.16), transparent 36%),
    var(--bg);
  background-size: 92px 92px, 92px 92px, auto, auto, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23noise)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.07;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  position: fixed;
  inset: -18%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(118deg, transparent 16%, rgba(255, 255, 255, 0.045) 38%, transparent 58%),
    linear-gradient(64deg, transparent 20%, rgba(132, 239, 115, 0.05) 48%, transparent 67%);
  filter: blur(0.4px);
  opacity: 0.88;
  pointer-events: none;
  transform: translate3d(-28%, 0, 0);
  animation: ambientSweep 18s ease-in-out infinite alternate;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0.56) 72%, transparent);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 820;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 242, 232, 0.2), rgba(87, 183, 255, 0.1)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 28px rgba(87, 183, 255, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  animation: markPulse 5.5s ease-in-out infinite;
}

.nav-links {
  gap: 0.35rem;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.56rem 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 690;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 10rem clamp(1rem, 5vw, 4rem) 7rem;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 5.5rem clamp(1rem, 5vw, 4rem) 5rem;
  z-index: -4;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%);
  box-shadow:
    0 70px 180px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  pointer-events: none;
  animation: frameGlow 7s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 16rem;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  top: 4.7rem;
  right: -3rem;
  z-index: -2;
  width: min(78rem, 74vw);
  height: 47rem;
  transform: perspective(1300px) rotateY(-20deg) rotateX(9deg) rotateZ(-2deg);
  transform-origin: 70% 20%;
  animation: stageDrift 10s ease-in-out infinite alternate;
}

.hero-backdrop::before,
.hero-backdrop::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-backdrop::before {
  inset: 1rem -3rem 2rem 11rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.025);
  transform: translateZ(-60px);
}

.hero-backdrop::after {
  top: 12rem;
  right: -10rem;
  width: 64rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 92, 0.7), rgba(87, 183, 255, 0.55), transparent);
  box-shadow: 0 0 30px rgba(87, 183, 255, 0.34);
  transform: rotate(-8deg);
  animation: beamSlide 8s ease-in-out infinite alternate;
}

.hero-shot {
  position: absolute;
  display: block;
  overflow: hidden;
  width: min(37rem, 42vw);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #10141a;
  box-shadow: var(--shadow);
  filter: saturate(0.98) contrast(1.06);
  transform: translate3d(0, 0, 0);
  will-change: transform, filter;
  animation: shotFloatA 8s ease-in-out infinite alternate;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot-a {
  top: 6.8rem;
  right: 27rem;
}

.hero-shot-b {
  top: 0;
  right: 3rem;
  animation-name: shotFloatB;
  animation-delay: -2s;
}

.hero-shot-c {
  top: 20.4rem;
  right: 11rem;
  width: min(40rem, 45vw);
  animation-name: shotFloatC;
  animation-delay: -4s;
}

.hero-shot-d {
  top: 8.5rem;
  right: -8rem;
  width: min(30rem, 34vw);
  opacity: 0.84;
  animation-name: shotFloatB;
  animation-delay: -5s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(52rem, 100%);
  padding-top: 4.5rem;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-copy,
.hero-actions,
.hero-rail {
  animation: heroEnter 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-content h1 { animation-delay: 80ms; }
.hero-copy { animation-delay: 160ms; }
.hero-actions { animation-delay: 240ms; }
.hero-rail { animation-delay: 320ms; }

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: 9.4rem;
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow:
    0 18px 70px rgba(0, 0, 0, 0.56),
    0 0 42px rgba(255, 255, 255, 0.1);
}

.hero-copy {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.35rem;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.button,
.card-actions a {
  position: relative;
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 780;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::after,
.card-actions a::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 8%, rgba(255, 255, 255, 0.28), transparent 42%);
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.button:hover::after,
.card-actions a:hover::after {
  transform: translateX(130%);
}

.button {
  padding: 0.8rem 1rem;
}

.button:hover,
.card-actions a:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #f7f2e8;
  color: #101114;
  box-shadow: 0 0 32px rgba(247, 242, 232, 0.16);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 42rem;
  margin-top: 1.2rem;
}

.hero-rail span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 720;
  padding: 0.28rem 0.65rem;
  animation: railGlow 4.5s ease-in-out infinite alternate;
}

.projects-section {
  padding: 5.4rem clamp(1rem, 5vw, 4rem);
  padding-bottom: 6.6rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

h2 {
  margin-bottom: 0;
  font-size: 5.4rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.filter-button {
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  padding: 0.52rem 0.75rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.filter-button.is-active {
  border-color: rgba(247, 242, 232, 0.62);
  background: rgba(247, 242, 232, 0.16);
  color: var(--text);
}

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

.project-card {
  --accent: var(--blue);
  --mx: 50%;
  --my: 18%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(128deg, color-mix(in srgb, var(--accent) 17%, transparent), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--panel);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 28px 90px rgba(0, 0, 0, 0.3);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  animation: cardEnter 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--card-delay, 0ms);
  contain: layout paint;
  backface-visibility: hidden;
}

.project-card::before,
.project-card::after {
  position: absolute;
  inset: -1px;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.project-card::before {
  background: linear-gradient(
    118deg,
    transparent 5%,
    color-mix(in srgb, var(--accent) 24%, transparent) 32%,
    rgba(255, 255, 255, 0.08) 44%,
    transparent 66%
  );
  opacity: 0;
  transform: translateX(-42%);
  transition:
    opacity 260ms ease,
    transform 520ms ease;
}

.project-card::after {
  background: radial-gradient(
    34rem circle at var(--mx) var(--my),
    color-mix(in srgb, var(--accent) 20%, transparent),
    rgba(255, 255, 255, 0.055) 18%,
    transparent 52%
  );
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card[data-accent="green"] { --accent: var(--green); }
.project-card[data-accent="blue"] { --accent: var(--blue); }
.project-card[data-accent="red"] { --accent: var(--red); }
.project-card[data-accent="yellow"] { --accent: var(--yellow); }
.project-card[data-accent="pink"] { --accent: var(--pink); }
.project-card[data-accent="lime"] { --accent: var(--lime); }

.project-card:nth-child(1) { --card-delay: 80ms; }
.project-card:nth-child(2) { --card-delay: 140ms; }
.project-card:nth-child(3) { --card-delay: 200ms; }
.project-card:nth-child(4) { --card-delay: 260ms; }
.project-card:nth-child(5) { --card-delay: 320ms; }
.project-card:nth-child(6) { --card-delay: 380ms; }
.project-card:nth-child(7) { --card-delay: 440ms; }
.project-card:nth-child(8) { --card-delay: 500ms; }

.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 36px 120px rgba(0, 0, 0, 0.48),
    0 0 54px color-mix(in srgb, var(--accent) 16%, transparent);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(-6px);
  will-change: transform;
}

.project-card:hover::before {
  opacity: 0.55;
  transform: translateX(34%);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card.is-hidden {
  display: none;
}

.feature-card {
  grid-column: span 2;
  grid-row: auto;
}

@media (min-width: 1221px) {
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: span 2;
  }

  .project-card:nth-child(6) {
    grid-column: 2 / span 2;
  }
}

.preview-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c1118;
  isolation: isolate;
}

.preview-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-card .preview-link {
  aspect-ratio: 16 / 10;
}

.preview-link::before,
.preview-link::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.preview-link::before {
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 1rem 50%, rgba(255, 102, 120, 0.95) 0 3px, transparent 3.5px),
    radial-gradient(circle at 1.75rem 50%, rgba(255, 215, 92, 0.95) 0 3px, transparent 3.5px),
    radial-gradient(circle at 2.5rem 50%, rgba(132, 239, 115, 0.95) 0 3px, transparent 3.5px),
    linear-gradient(180deg, rgba(17, 20, 26, 0.84), rgba(17, 20, 26, 0.45));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.preview-link::after {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 78%, rgba(5, 7, 10, 0.32)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 38%),
    linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.12) 44%, transparent 55%);
  background-position: 0 0, 0 0, -130% 0;
  background-size: 100% 100%, 100% 100%, 240% 100%;
  animation: previewSheen 9s ease-in-out infinite;
  mix-blend-mode: normal;
}

.preview-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
  transform: scale(1.01);
  transition: transform 420ms ease, filter 300ms ease;
}

.project-card:hover .preview-link img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.045) translateY(-1.2%);
}

.card-body {
  display: grid;
  gap: 0.92rem;
  padding: 1rem;
}

.feature-card .card-body {
  padding: 1.15rem;
}

.card-topline,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.card-topline {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}

.status,
.tag-row span {
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  white-space: nowrap;
}

.status {
  color: #0d0f12;
  font-weight: 820;
}

.status-live {
  background: var(--green);
}

.project-card h3 {
  margin-bottom: -0.2rem;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-card h3 {
  font-size: 2.55rem;
}

.project-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.98rem;
}

.tag-row {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.card-actions a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.58rem 0.78rem;
}

.card-actions a:first-child {
  border-color: color-mix(in srgb, var(--accent) 55%, rgba(255, 255, 255, 0.16));
  background: color-mix(in srgb, var(--accent) 14%, rgba(255, 255, 255, 0.05));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  color: var(--muted);
}

.site-footer a {
  color: #fff;
}

@keyframes ambientSweep {
  0% {
    transform: translate3d(-28%, 0, 0) rotate(0deg);
  }

  100% {
    transform: translate3d(22%, -4%, 0) rotate(1deg);
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow:
      0 0 24px rgba(87, 183, 255, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.12) inset;
  }

  50% {
    box-shadow:
      0 0 34px rgba(255, 215, 92, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.16) inset;
  }
}

@keyframes frameGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.065);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.13);
  }
}

@keyframes stageDrift {
  0% {
    transform: perspective(1300px) rotateY(-20deg) rotateX(9deg) rotateZ(-2deg) translate3d(0, 0, 0);
  }

  100% {
    transform: perspective(1300px) rotateY(-18deg) rotateX(8deg) rotateZ(-1.4deg) translate3d(1rem, -0.4rem, 0);
  }
}

@keyframes beamSlide {
  0% {
    opacity: 0.52;
    transform: translateX(-3rem) rotate(-8deg);
  }

  100% {
    opacity: 0.92;
    transform: translateX(3rem) rotate(-8deg);
  }
}

@keyframes shotFloatA {
  0% {
    transform: translate3d(0, 0, 0);
    filter: saturate(0.98) contrast(1.06);
  }

  100% {
    transform: translate3d(-0.7rem, -0.85rem, 0);
    filter: saturate(1.08) contrast(1.08);
  }
}

@keyframes shotFloatB {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0.8rem, 0.65rem, 0);
  }
}

@keyframes shotFloatC {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-0.35rem, 0.9rem, 0);
  }
}

@keyframes heroEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes railGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
  }

  100% {
    border-color: rgba(255, 215, 92, 0.24);
    background: rgba(255, 255, 255, 0.082);
  }
}

@keyframes cardEnter {
  0% {
    opacity: 0;
    transform: perspective(900px) translateY(22px) rotateX(3deg);
  }

  100% {
    opacity: 1;
    transform: perspective(900px) translateY(0) rotateX(0deg);
  }
}

@keyframes previewSheen {
  0%,
  42% {
    background-position: 0 0, 0 0, -130% 0;
  }

  72%,
  100% {
    background-position: 0 0, 0 0, 130% 0;
  }
}

@media (max-width: 1220px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 82vh;
  }

  .hero-backdrop {
    right: -16rem;
    width: 95vw;
    opacity: 0.58;
  }

  .hero-shot {
    width: min(28rem, 54vw);
  }

  .hero-shot-d {
    width: min(24rem, 48vw);
  }

  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 4.2rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 2;
    grid-row: auto;
  }

  .feature-card h3 {
    font-size: 2.15rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-group {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 58px 58px, 58px 58px, auto, auto, auto;
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 9.4rem;
    padding-bottom: 4rem;
  }

  .hero::before {
    inset: 7.25rem 0.75rem 3rem;
  }

  .hero-backdrop {
    top: 7.5rem;
    right: -17rem;
    width: 155vw;
    opacity: 0.44;
    transform: perspective(900px) rotateY(-14deg) rotateX(7deg);
  }

  .hero-shot {
    width: 21rem;
  }

  .hero-shot-a {
    right: 19rem;
  }

  .hero-shot-b {
    right: 4rem;
  }

  .hero-shot-c {
    right: 9rem;
  }

  .hero-shot-d {
    top: 10rem;
    right: -3rem;
    width: 18rem;
  }

  h1 {
    font-size: 4.05rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions .button {
    flex: 1 1 9rem;
  }

  .projects-section {
    padding-top: 3.25rem;
  }

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

  .feature-card {
    grid-column: auto;
  }

  .project-card h3,
  .feature-card h3 {
    font-size: 1.55rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

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