/* Hallmark · shape: Visual Poetry · genre: atmospheric · theme: Midnight · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · weakest: none, layered reference sections directly over the fixed 238-frame canvas with no background fills or blur overlays */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: var(--z-tooltip);
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  background: var(--color-paper);
  color: var(--color-ink);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 560ms var(--ease-out),
    transform 560ms var(--ease-out),
    visibility 0s linear 560ms;
}

.preloader--done {
  opacity: 0;
  transform: scale(1.025);
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: min(220px, 72vw);
}

.preloader__mark {
  width: clamp(84px, 16vw, 132px);
  height: auto;
  display: block;
}

.preloader__stroke {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: preloader-draw 1050ms var(--ease-out) forwards;
}

.preloader__stroke--z {
  animation-delay: 180ms;
}

.preloader__dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: preloader-dot 520ms var(--ease-out) 620ms forwards;
}

.preloader__track {
  position: relative;
  width: min(148px, 46vw);
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-rule);
}

.preloader__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform-origin: left center;
  transform: scaleX(0.01);
  will-change: transform;
}

.preloader__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: min(148px, 46vw);
}

.preloader__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.preloader__percent {
  font-size: var(--text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--color-ink);
}

@keyframes preloader-draw {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes preloader-dot {
  from {
    opacity: 0;
    transform: scale(0.35);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sequence-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100dvh;
  overflow: clip;
  pointer-events: none;
  background: var(--color-paper);
}

.sequence-canvas,
.sequence-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.sequence-canvas {
  z-index: var(--z-base);
}

.sequence-poster {
  z-index: var(--z-raised);
  object-fit: cover;
  object-position: 50% 25%;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-sticky-nav);
  height: var(--nav-height);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  transform: translateY(0);
  transition: transform var(--dur-short) var(--ease-out);
  will-change: transform;
}

.site-header--hidden {
  transform: translateY(-100%);
}

.site-header:focus-within {
  transform: translateY(0);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--dur-short) var(--ease-out);
}

.brand-mark:hover {
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  padding-block: var(--space-xs);
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.78);
  transition: color var(--dur-micro) var(--ease-out);
}

.site-nav a:hover {
  color: var(--color-accent);
}

.venue-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.venue-status__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.page-shell {
  position: relative;
  z-index: var(--z-base);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  display: flex;
  align-items: stretch;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap-columns);
  align-items: stretch;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
  min-width: 0;
  max-width: 420px;
}

.hero-title {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7.8vw, 6.75rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--color-ink);
  text-wrap: normal;
  text-shadow: 0 2px 14px oklch(8% 0.04 264 / 0.65);
}

.hero__intro {
  align-self: flex-end;
  width: min(100%, 26ch);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-copy {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-ink-2);
  text-align: right;
  max-width: 30ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.hero__rule {
  height: var(--rule-hair);
  width: 100%;
  background: var(--color-rule);
}

.social-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero__intro .social-row {
  justify-content: flex-start;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule-2);
  color: var(--color-ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}

.social-pill:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  padding-top: var(--space-md);
}

.stat-item__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.stat-item__desc {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--color-ink-2);
  max-width: 26ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.hero__stage-accents {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-block: var(--space-md);
}

.hero-signature {
  position: absolute;
  top: var(--space-xs);
  right: calc(var(--space-2xl) + var(--space-md));
  width: clamp(130px, 14vw, 190px);
  height: auto;
  color: var(--color-ink);
  opacity: 0.85;
  pointer-events: none;
}

.hero-globe,
.hero-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule-2);
  color: var(--color-ink);
  text-decoration: none;
  transition:
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-short) var(--ease-out);
}

.hero-globe:hover,
.hero-jump:hover {
  background: var(--color-ink);
  color: var(--color-paper);
  transform: translateY(-2px);
}

.hero-jump {
  align-self: flex-end;
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: clip;
  border-top: var(--rule-hair) solid var(--color-rule);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  padding-block: var(--space-md);
}

.marquee__track {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  white-space: nowrap;
  animation: marquee-scroll 24s linear infinite;
}

.marquee__track--slow {
  animation-duration: 30s;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* About */
.about {
  position: relative;
  min-height: 115dvh;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
}

.about__frame {
  position: relative;
  flex: 1;
  min-height: 88dvh;
  padding-block: calc(var(--space-3xl) + var(--space-lg)) var(--space-3xl);
  display: flex;
  align-items: center;
}

.about__layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(240px, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: var(--space-xl);
}

.about__bio {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  max-width: none;
}

.about__lead {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.48;
  color: var(--color-ink);
  max-width: 34ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.8);
}

.about__note {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-ink-2);
  max-width: 38ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.8);
}

.about__specs {
  grid-column: 3;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__spec {
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.about__spec-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ink);
}

.about__spec-value {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 34ch;
}

.reticle,
.reticle-cross {
  position: absolute;
  color: var(--color-ink);
  opacity: 0.85;
  pointer-events: none;
}

.reticle--tl {
  top: var(--space-lg);
  left: var(--gutter);
}

.reticle--tr {
  top: var(--space-lg);
  right: var(--gutter);
}

.reticle-cross--bl {
  bottom: var(--space-lg);
  left: calc(var(--gutter) + var(--space-xs));
}

.reticle-cross--br {
  bottom: var(--space-lg);
  right: calc(var(--gutter) + var(--space-xs));
}

/* Projects */
.projects {
  position: relative;
  min-height: 110dvh;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
}

.projects__inner {
  position: relative;
  padding-top: var(--space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(180px, 1fr) minmax(0, 380px);
  align-items: stretch;
  gap: var(--space-lg) var(--space-xl);
}

.projects__header {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.projects__inner > .project-card:nth-of-type(odd) {
  grid-column: 1;
}

.projects__inner > .project-card:nth-of-type(even) {
  grid-column: 3;
}

.projects__title {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 5vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--color-ink);
  white-space: nowrap;
  text-wrap: normal;
}

.projects__subtitle {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 34ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.82);
}

.project-link--all {
  margin-bottom: var(--space-xs);
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 186px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  border: var(--rule-hair) solid var(--color-rule-2);
  background: transparent;
  color: var(--color-ink);
  text-align: left;
  transition:
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-short) var(--ease-out);
}

.project-card:hover {
  border-color: var(--color-ink);
  transform: translateY(-3px);
}

.project-card--accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.project-card--accent:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
  transform: translateY(-3px);
}

.project-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
}

.project-card__index {
  font-size: var(--text-sm);
  font-weight: 700;
  color: inherit;
  opacity: 0.72;
  flex-shrink: 0;
}

.project-card__meta {
  font-size: var(--text-xs);
  color: inherit;
  opacity: 0.78;
  text-align: right;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.project-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: inherit;
}

.project-card__desc {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 36ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.82);
}

.project-card--accent .project-card__desc {
  color: inherit;
  opacity: 0.9;
}

.project-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-xs);
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule-2);
  color: inherit;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}

.project-link:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

/* Tech Stack */
.tech-stack {
  position: relative;
  min-height: 95dvh;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-2xl);
}

.stack__list {
  padding-top: var(--space-lg);
}

.stack-row {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(160px, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: var(--space-xl);
  padding-block: var(--space-lg);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.stack-row__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  min-width: 0;
}

.stack-row__index {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
}

.stack-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.stack-row__desc {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 34ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.stack-row__spacer {
  min-width: 0;
}

.stack-row__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-xs);
}

.stack-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule-2);
  background: transparent;
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.82);
  transition:
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}

.stack-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule-2);
  color: var(--color-ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}

.pill-btn:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

/* Contact */
.contact {
  position: relative;
  min-height: 92dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-2xl);
}

.contact__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding-top: var(--space-2xl);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(200px, 1fr) minmax(260px, 380px);
  align-items: start;
  gap: var(--space-xl);
}

.contact__left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  max-width: none;
}

.contact__title {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 5.2vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--color-ink);
}

.contact__note {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 36ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.contact__scope {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-xs);
}

.contact__scope-item {
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.contact__scope-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ink);
}

.contact__scope-desc {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--color-ink-2);
  max-width: 36ch;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.contact__right {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__primary {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.contact__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact__email {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: var(--rule-hair) solid var(--color-rule-2);
  align-self: flex-start;
  padding-bottom: var(--space-2xs);
  word-break: break-word;
  text-shadow: 0 1px 10px oklch(8% 0.04 264 / 0.85);
}

.contact__email:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact__channels {
  display: flex;
  flex-direction: column;
}

.contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
  font-size: var(--text-sm);
  transition:
    color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}

.contact-channel:last-child {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.contact-channel__name {
  font-weight: 600;
}

.contact-channel__handle {
  color: var(--color-ink-2);
  font-size: var(--text-xs);
}

.contact-channel:hover {
  color: var(--color-accent);
}

.contact-channel:hover .contact-channel__handle {
  color: var(--color-accent);
}

.contact__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}

.contact__venue {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

@media (max-width: 60rem) {
  .site-nav {
    gap: var(--space-md);
  }

  .venue-status {
    display: none;
  }

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

  .hero__stage-accents {
    min-height: 160px;
    flex-direction: row;
    align-items: flex-end;
  }

  .hero-signature {
    display: none;
  }

  .about__frame {
    padding-block: calc(var(--space-3xl) + var(--space-xl)) calc(var(--space-4xl) + var(--space-lg));
  }

  .about__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .about__bio,
  .about__specs {
    grid-column: 1;
  }

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

  .projects__inner > .project-card:nth-of-type(odd),
  .projects__inner > .project-card:nth-of-type(even) {
    grid-column: 1;
  }

  .projects__header {
    align-items: flex-start;
  }

  .stack-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .stack-row__spacer {
    display: none;
  }

  .stack-row__tags {
    justify-content: flex-start;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .contact__left,
  .contact__right {
    grid-column: 1;
  }
}

@media (max-width: 42rem) {
  .site-header {
    height: auto;
    padding-block: var(--space-xs);
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: var(--space-xs);
  }

  .site-nav a {
    font-size: var(--text-xs);
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  .hero-title {
    font-size: 3.15rem;
    margin-bottom: var(--space-4xl);
  }

  .hero__intro {
    align-self: flex-start;
    margin-top: auto;
  }

  .hero-copy {
    text-align: left;
  }

  .hero__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .reticle-cross--bl,
  .reticle-cross--br {
    display: none;
  }

  .about__frame {
    padding-bottom: var(--space-2xl);
  }

  .project-card--accent {
    transform: none;
  }

  .preloader__inner {
    gap: var(--space-sm);
  }

  .preloader__mark {
    width: clamp(72px, 24vw, 96px);
  }

  .social-row {
    flex-wrap: wrap;
  }
}

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

  .preloader {
    transition:
      opacity 150ms linear,
      visibility 0s linear 150ms;
  }

  .preloader--done {
    transform: none;
  }

  .preloader__stroke {
    animation: none;
    stroke-dashoffset: 0;
  }

  .preloader__dot {
    animation: none;
    opacity: 1;
  }

  .preloader__bar {
    transition: none;
  }

  .site-header {
    transition: none;
  }

  .marquee__track {
    animation: none;
  }
}
