:root {
  --bg: #11130f;
  --panel: rgba(24, 29, 24, 0.78);
  --panel-strong: #18201b;
  --text: #f1f4df;
  --muted: #a9b29f;
  --acid: #b9ff37;
  --orange: #ff6a2a;
  --violet: #7357ff;
  --cyan: #6ee7f5;
  --line: rgba(241, 244, 223, 0.18);
  --shadow: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(185, 255, 55, 0.18),
      transparent 27rem
    ),
    radial-gradient(
      circle at 86% 16%,
      rgba(115, 87, 255, 0.2),
      transparent 28rem
    ),
    linear-gradient(135deg, #10120f 0%, #151a13 42%, #090b0b 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(185, 255, 55, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(185, 255, 55, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
}

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

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

.noise,
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.noise {
  z-index: 5;
  opacity: 0.13;
  background-image:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 48%,
      transparent 50%
    ),
    repeating-radial-gradient(
      circle at 21% 37%,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px 4px
    );
  mix-blend-mode: overlay;
  animation: grain 0.6s steps(2) infinite;
}

.scanlines {
  z-index: 6;
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 4px,
    rgba(255, 255, 255, 0.18) 5px,
    transparent 6px
  );
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(
    to bottom,
    rgba(9, 11, 11, 0.9),
    rgba(9, 11, 11, 0.25)
  );
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(185, 255, 55, 0.15);
}

.brand,
.site-nav,
.btn,
.section-label,
.work-meta,
.status-panel,
.footer-link {
  font-family: "JetBrains Mono", monospace;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  color: #11130f;
  background: var(--acid);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.site-nav {
  display: flex;
  gap: clamp(0.7rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 100svh;
  padding: 7rem 0 4rem;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.kicker {
  width: fit-content;
  margin: 0 0 1.2rem;
  padding: 0.5rem 0.75rem;
  color: var(--acid);
  border: 1px solid rgba(185, 255, 55, 0.45);
  background: rgba(185, 255, 55, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  text-transform: uppercase;
}

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

h1 {
  max-width: 9.8ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.15rem, 8.2vw, 7.2rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.hero-text,
.about-copy p,
.works-header p,
.work-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.75;
}

.hero-text {
  max-width: 39rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: translateX(-130%);
  transition: transform 420ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(130%);
}

.btn-primary {
  color: #10120f;
  background: var(--acid);
  border-color: var(--acid);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: clamp(430px, 58vw, 640px);
  place-items: center;
}

.sync-ring {
  position: absolute;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border: 2px solid rgba(185, 255, 55, 0.3);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}

.sync-ring::before,
.sync-ring::after {
  position: absolute;
  inset: -18px;
  content: "";
  border: 1px dashed rgba(255, 106, 42, 0.56);
  border-radius: 50%;
}

.sync-ring::after {
  inset: 42px;
  border-color: rgba(110, 231, 245, 0.42);
  animation: rotate 9s linear infinite reverse;
}

.portrait-card {
  position: relative;
  width: min(75vw, 430px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 244, 223, 0.2);
  background: var(--panel-strong);
  box-shadow: 0 28px 90px var(--shadow);
  clip-path: polygon(8% 0, 100% 0, 100% 88%, 92% 100%, 0 100%, 0 12%);
}

.portrait-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(185, 255, 55, 0.24),
      transparent 12%,
      transparent 88%,
      rgba(115, 87, 255, 0.24)
    ),
    linear-gradient(to top, rgba(17, 19, 15, 0.48), transparent 46%);
  mix-blend-mode: color-dodge;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.1);
}

.status-panel {
  position: absolute;
  z-index: 2;
  min-width: 11rem;
  padding: 0.8rem 1rem;
  background: rgba(9, 11, 11, 0.82);
  border: 1px solid rgba(185, 255, 55, 0.36);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  animation: signalPulse 2.8s ease-in-out infinite;
}

.status-panel span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.status-panel strong {
  color: var(--text);
  font-size: 0.8rem;
}

.status-panel.top {
  top: 13%;
  right: 1%;
}

.status-panel.bottom {
  left: 0;
  bottom: 14%;
  border-color: rgba(255, 106, 42, 0.46);
  animation-delay: -1s;
}

.about,
.works,
.site-footer {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  color: var(--acid);
  text-transform: uppercase;
}

.section-label span {
  display: grid;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  color: #10120f;
  background: var(--orange);
  font-weight: 800;
}

.section-label p {
  margin: 0;
  font-size: 0.82rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-copy {
  padding-top: 0.45rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.skills span {
  padding: 0.58rem 0.72rem;
  color: var(--text);
  background: rgba(241, 244, 223, 0.06);
  border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.works-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.works-header p {
  max-width: 31rem;
  margin-bottom: 0.55rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  position: relative;
  min-height: 24rem;
  padding: 1.1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    0 100%
  );
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.work-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(185, 255, 55, 0.17), transparent),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 12px
    );
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 260ms ease,
    transform 460ms ease;
}

.work-card:hover {
  transform: translateY(-0.5rem);
  border-color: rgba(185, 255, 55, 0.56);
}

.work-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.work-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 7rem;
  color: var(--acid);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.work-card h3,
.work-card p,
.work-card a {
  position: relative;
}

.featured-work {
  display: flex;
  flex-direction: column;
}

.work-preview {
  display: block;
  aspect-ratio: 16 / 10;
  margin: -0.15rem -0.15rem 1rem;
  overflow: hidden;
  color: #0d0d0c;
  background:
    linear-gradient(135deg, rgba(185, 255, 55, 0.08), transparent 42%), #0b0f0c;
  border: 1px solid rgba(241, 244, 223, 0.18);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 15, 0.08);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%
  );
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 420ms ease;
}

.work-card:hover .work-preview img {
  transform: scale(1.035);
}

.preview-browser {
  display: flex;
  gap: 0.28rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(17, 19, 15, 0.12);
}

.preview-browser span {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #11130f;
}

.preview-browser span:nth-child(2) {
  background: #ff6a2a;
}

.preview-browser span:nth-child(3) {
  background: #6ee7f5;
}

.preview-body {
  position: relative;
  display: grid;
  height: 12rem;
  padding: 0.9rem;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(17, 19, 15, 0.13) 1px, transparent 1px),
    linear-gradient(
      135deg,
      transparent 0 50%,
      rgba(185, 255, 55, 0.12) 50% 100%
    );
  background-size:
    13px 13px,
    auto;
}

.preview-kicker,
.preview-title {
  position: relative;
  z-index: 2;
  display: block;
}

.preview-kicker {
  color: #ff5b3b;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-title {
  max-width: 9ch;
  margin-top: 0.7rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.95rem, 3.25vw, 2.55rem);
  font-weight: 900;
  line-height: 0.9;
}

.preview-art {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 1.4rem;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.32),
      transparent 32%
    ),
    linear-gradient(135deg, #ff6a3d, #f2e34c 45%, #66d8f0);
  box-shadow: 0 18px 32px rgba(17, 19, 15, 0.18);
}

.preview-art::before,
.preview-art::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 38%;
  transform: rotate(-11deg);
}

.preview-art::after {
  inset: 24%;
  border-radius: 50%;
  transform: rotate(18deg);
}

.metric {
  position: absolute;
  z-index: 2;
  min-width: 3.25rem;
  padding: 0.45rem;
  color: #f5f2ea;
  background: rgba(17, 19, 15, 0.78);
  border-radius: 0.7rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.metric-top {
  top: 14%;
  right: 8%;
}

.metric-bottom {
  left: -14%;
  bottom: 9%;
}

.event-preview {
  color: #f4efe6;
  background: #090b0a;
}

.event-preview .preview-browser {
  border-bottom-color: rgba(244, 239, 230, 0.14);
}

.event-preview .preview-browser span {
  background: #d8ff46;
}

.event-preview .preview-browser span:nth-child(2) {
  background: #35e9cf;
}

.event-preview .preview-browser span:nth-child(3) {
  background: #f4efe6;
}

.event-preview-body {
  background:
    linear-gradient(rgba(7, 9, 8, 0.48), rgba(7, 9, 8, 0.86)),
    radial-gradient(
      circle at 65% 10%,
      rgba(216, 255, 70, 0.15),
      transparent 28%
    ),
    linear-gradient(145deg, #111611, #2a2419 48%, #0b0f0d);
}

.event-preview-body::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.32;
  mask-image: linear-gradient(
    115deg,
    transparent 0 34%,
    #000 44% 74%,
    transparent 84%
  );
}

.event-preview .preview-kicker {
  color: #35e9cf;
}

.event-preview .preview-title {
  max-width: 7ch;
  color: #f4efe6;
}

.event-wire {
  position: absolute;
  right: 13%;
  top: 24%;
  width: 36%;
  aspect-ratio: 0.9;
  border: 1px solid rgba(244, 239, 230, 0.26);
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(244, 239, 230, 0.13) 1px, transparent 1px);
  background-size: 12px 12px;
  transform: rotate(10deg);
}

.event-stats {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  display: grid;
  gap: 0.24rem;
  width: min(38%, 8rem);
  padding: 0.45rem;
  background: rgba(11, 15, 13, 0.82);
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 0.45rem;
}

.event-stats span {
  padding: 0.24rem 0.35rem;
  color: #d8ff46;
  background: rgba(244, 239, 230, 0.05);
  border-radius: 0.28rem;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.cinema-preview {
  color: #f6f1ea;
  background: #141313;
}

.cinema-preview .preview-browser {
  border-bottom-color: rgba(246, 241, 234, 0.14);
}

.cinema-preview .preview-browser span {
  background: #b11f3a;
}

.cinema-preview .preview-browser span:nth-child(2) {
  background: #d7a84e;
}

.cinema-preview .preview-browser span:nth-child(3) {
  background: #f6f1ea;
}

.cinema-preview-body {
  background:
    linear-gradient(
      90deg,
      rgba(13, 12, 12, 0.98),
      rgba(13, 12, 12, 0.72) 48%,
      rgba(70, 76, 74, 0.52)
    ),
    radial-gradient(
      circle at 72% 48%,
      rgba(246, 241, 234, 0.16),
      transparent 27%
    ),
    radial-gradient(circle at 76% 58%, rgba(215, 168, 78, 0.2), transparent 22%);
}

.cinema-preview-body::before {
  position: absolute;
  right: -12%;
  bottom: -14%;
  width: 68%;
  aspect-ratio: 1.55;
  content: "";
  border-radius: 48%;
  background:
    radial-gradient(
      circle,
      rgba(246, 241, 234, 0.28) 0 9%,
      transparent 10% 16%
    ),
    radial-gradient(
      circle at 24% 48%,
      rgba(246, 241, 234, 0.24) 0 6%,
      transparent 7%
    ),
    radial-gradient(
      circle at 44% 32%,
      rgba(246, 241, 234, 0.2) 0 5%,
      transparent 6%
    ),
    radial-gradient(
      circle at 62% 56%,
      rgba(246, 241, 234, 0.22) 0 7%,
      transparent 8%
    );
  filter: blur(1px);
  opacity: 0.58;
}

.cinema-preview .preview-kicker {
  color: #d7a84e;
}

.cinema-title {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 7ch;
  margin-top: 0.7rem;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 3.45rem);
  font-weight: 700;
  line-height: 0.84;
}

.cinema-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 14rem;
  margin-top: 0.7rem;
  color: rgba(246, 241, 234, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cinema-strip {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(246, 241, 234, 0.22);
  border-bottom: 1px solid rgba(246, 241, 234, 0.18);
}

.cinema-strip span {
  padding: 0.45rem 0.35rem;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.cinema-strip span + span {
  border-left: 1px solid rgba(246, 241, 234, 0.16);
}

.work-card a {
  display: inline-flex;
  margin-top: auto;
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card p {
  min-height: 7.7rem;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--acid);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.site-footer h2 {
  max-width: 11ch;
  margin: 0;
}

.footer-link {
  color: #10120f;
  background: var(--acid);
  padding: 1rem 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.section-reveal {
  opacity: 0;
  transform: translateY(3rem) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 720ms ease;
}

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

.work-card,
.skills span,
.status-panel {
  opacity: 0;
  transform: translateY(1rem);
}

.is-visible .work-card,
.is-visible .skills span,
.hero.is-visible .status-panel {
  animation: riseIn 620ms ease forwards;
}

.is-visible .work-card:nth-child(2),
.is-visible .skills span:nth-child(2),
.hero.is-visible .status-panel.bottom {
  animation-delay: 120ms;
}

.is-visible .work-card:nth-child(3),
.is-visible .skills span:nth-child(3) {
  animation-delay: 240ms;
}

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

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

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

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-1.5%, 1%);
  }
  100% {
    transform: translate(1%, -1.5%);
  }
}

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

@keyframes signalPulse {
  0%,
  100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 12px 40px rgba(185, 255, 55, 0.23);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.74fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  h1 {
    font-size: clamp(3.15rem, 7.4vw, 6.2rem);
    max-width: 9.3ch;
  }

  .hero-text {
    max-width: 34rem;
  }
}

@media (max-width: 900px) {
  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6.5rem;
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    max-width: 42rem;
  }

  h1 {
    margin-inline: auto;
  }

  .kicker {
    margin-inline: auto;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 520px;
  }

  .works-header,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

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

  .work-card {
    min-height: 18rem;
  }

  .work-meta {
    margin-bottom: 4rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
  }

  .brand {
    flex: 0 0 auto;
    max-width: 8.25rem;
    font-size: 0.7rem;
  }

  .site-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: clamp(0.45rem, 2.5vw, 0.8rem);
    font-size: clamp(0.58rem, 2.2vw, 0.7rem);
    white-space: nowrap;
  }

  main,
  .site-footer {
    width: 100%;
    max-width: 1180px;
    padding-inline: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    text-align: left;
    justify-items: stretch;
  }

  .kicker,
  .hero-text {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: stretch;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.55rem);
    max-width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    width: 100%;
    overflow: hidden;
  }

  .portrait-card {
    width: min(100%, 360px);
  }

  .status-panel {
    min-width: 8.7rem;
    padding: 0.7rem 0.8rem;
  }

  .status-panel.top {
    top: 5%;
    right: 0.25rem;
  }

  .status-panel.bottom {
    left: 0.25rem;
    bottom: 4%;
  }

  .btn {
    width: 100%;
  }
}

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