*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --scroll-progress: 0;
  --scroll-y: 0%;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  margin: 0;
  min-height: 100vh;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 90, 0, 0.98) 0%, rgba(255, 201, 137, 0.96) 34%, rgba(255, 242, 220, 1) 57%, rgba(42, 91, 67, 0.88) 78%, rgba(11, 7, 5, 1) 100%),
    var(--color-paper);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

::selection {
  color: var(--color-paper);
  background: var(--color-brown);
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(90deg, rgba(34, 20, 14, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(34, 20, 14, 0.04) 0 1px, transparent 1px 9px);
}

.scroll-wash {
  position: fixed;
  inset: -12vh -8vw;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  background:
    linear-gradient(115deg, rgba(255, 242, 220, 0) 0 20%, rgba(255, 242, 220, 0.58) 31%, rgba(29, 106, 75, 0.22) 54%, rgba(76, 44, 26, 0.34) 78%, rgba(11, 7, 5, 0.48) 100%),
    repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.08) 0 18px, rgba(255, 90, 0, 0.05) 18px 24px, transparent 24px 48px);
  clip-path: polygon(0 0, 100% 0, 100% var(--wash-edge, 44%), 0 var(--wash-bottom, 72%));
  transform: translateY(calc(var(--scroll-progress) * -13vh));
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  transition:
    width 180ms ease,
    height 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  mix-blend-mode: difference;
}

.cursor-dot.is-active {
  width: 44px;
  height: 44px;
  border-color: var(--color-orange);
  background: rgba(255, 90, 0, 0.14);
}

.intro-gate {
  --intro-x: 50%;
  --intro-y: 50%;
  --intro-shift-x: 0px;
  --intro-shift-y: 0px;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  color: var(--color-black);
  background: var(--color-orange);
  overflow: hidden;
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.76, 0, 0.24, 1),
    visibility 700ms ease;
}

.intro-gate.is-exiting {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
}

.intro-gate.is-hidden {
  display: none;
}

.intro-texture,
.intro-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-texture {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.055) 0 1px, transparent 1px 13px);
  mix-blend-mode: multiply;
}

.intro-lines span {
  position: absolute;
  width: 46vw;
  height: 2px;
  background: var(--color-black);
  opacity: 0.24;
  transform-origin: left center;
  animation: lineDrift 5.5s ease-in-out infinite alternate;
}

.intro-lines span:nth-child(1) {
  top: 18%;
  left: -5%;
  transform: rotate(-7deg);
}

.intro-lines span:nth-child(2) {
  right: -4%;
  top: 32%;
  transform: rotate(9deg);
  animation-delay: -1.5s;
}

.intro-lines span:nth-child(3) {
  bottom: 24%;
  left: 8%;
  transform: rotate(5deg);
  animation-delay: -3s;
}

.intro-lines span:nth-child(4) {
  right: 12%;
  bottom: 16%;
  transform: rotate(-12deg);
  animation-delay: -4s;
}

.intro-stage {
  position: relative;
  width: min(1180px, calc(100vw - 28px));
  min-height: min(720px, calc(100svh - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.2rem, 4vw, 3rem);
}

.intro-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  opacity: 0.58;
  filter: saturate(1.1) contrast(1.1);
  transform: translate(var(--intro-shift-x), var(--intro-shift-y)) scale(1.05);
  transition: transform 140ms linear;
}

.intro-stage::after {
  content: "";
  position: absolute;
  inset: 2.4%;
  border: 2px solid rgba(11, 7, 5, 0.55);
  transform: none;
  pointer-events: none;
}

.intro-copy {
  position: absolute;
  z-index: 1;
  inset: clamp(1.4rem, 4vw, 3.5rem);
  max-width: none;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-brown);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro-copy h1 {
  position: absolute;
  left: 0;
  bottom: clamp(5rem, 13vw, 9rem);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 8ch;
}

.intro-copy h1:empty {
  display: none;
}

.intro-copy p:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 26rem;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  text-align: right;
}

.intro-copy p:last-child:empty {
  display: none;
}

.intro-launch {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: clamp(104px, 17vw, 172px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  color: var(--color-black);
  background: var(--color-paper);
  box-shadow: 12px 12px 0 rgba(11, 7, 5, 0.8);
  transform: rotate(-5deg);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.intro-launch:hover,
.intro-launch:focus-visible {
  transform: translateY(-5px) rotate(4deg);
  background: var(--color-white);
  box-shadow: 6px 18px 0 rgba(11, 7, 5, 0.82);
  outline: none;
}

.launch-eye {
  position: relative;
  width: 68%;
  aspect-ratio: 1.7;
  border: 3px solid currentColor;
  border-radius: 52% 48% 50% 50%;
  background: var(--color-white);
  animation: eyeBlink 4.5s infinite;
}

.launch-pupil {
  position: absolute;
  width: 28%;
  aspect-ratio: 1;
  left: calc(50% + var(--intro-shift-x) * 0.08);
  top: calc(50% + var(--intro-shift-y) * 0.12);
  border-radius: 50%;
  background: var(--color-black);
  transform: translate(-50%, -50%);
  transition: left 120ms linear, top 120ms linear;
}

.intro-hint {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  margin: 0;
  font-weight: 800;
}

.intro-hint:empty {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.25rem);
  color: var(--color-ink);
  background: rgba(255, 242, 220, 0.72);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
}

.brand-glyph {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-black);
  transform: rotate(-7deg);
}

.brand-text {
  max-width: min(38vw, 17rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  color: var(--color-muted);
  font-weight: 800;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-black);
  border-color: var(--color-line);
  background: rgba(255, 90, 0, 0.11);
}

.nav-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-paper);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--color-ink);
}

main {
  position: relative;
  z-index: 3;
}

.section-frame {
  position: relative;
  scroll-margin-top: 78px;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.hero-section {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 2rem;
  padding-top: 7rem;
  overflow: hidden;
  color: var(--color-black);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-orange);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 14% center;
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.02);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0.05) 0 44%, rgba(255, 90, 0, 0.54) 62%, rgba(255, 90, 0, 0.94)),
    linear-gradient(180deg, rgba(255, 90, 0, 0) 48%, rgba(255, 242, 220, 0.48) 100%);
}

.hero-copy {
  grid-column: 2;
  justify-self: end;
  width: min(600px, 100%);
}

.hero-title {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-title span:first-child {
  font-size: clamp(4rem, 10vw, 8.4rem);
  font-weight: 950;
}

.hero-title span:last-child {
  font-size: clamp(1.4rem, 4vw, 3.1rem);
  font-weight: 900;
}

.hero-role {
  width: fit-content;
  margin: 1.25rem 0 0;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  font-weight: 950;
  transform: none;
}

.hero-line {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-actions a,
.copy-email {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  color: var(--color-black);
  background: var(--color-paper);
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--color-black);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.hero-actions a:hover,
.copy-email:hover,
.hero-actions a:focus-visible,
.copy-email:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--color-black);
  background: var(--color-white);
  outline: none;
}

.hero-notes {
  display: none;
  gap: 0.85rem;
  align-self: end;
  margin-bottom: clamp(0rem, 4vw, 2rem);
}

.note-card,
.focus-card,
.method-card,
.project-card {
  border-radius: var(--radius-card);
}

.note-card {
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-black);
  background: rgba(255, 242, 220, 0.76);
  box-shadow: 5px 5px 0 rgba(11, 7, 5, 0.86);
}

.note-card span,
.project-meta span,
.contact-link span {
  display: block;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.note-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.section-heading {
  width: min(var(--layout-max), 100%);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.contact-copy > p {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-copy > p {
  margin-inline: auto;
}

.about-section {
  background:
    linear-gradient(180deg, rgba(255, 242, 220, 0.94), rgba(255, 229, 194, 0.95)),
    var(--color-paper);
}

.about-grid {
  width: min(var(--layout-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.65fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.about-text {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-left: 8px solid var(--color-orange);
  background: rgba(255, 250, 240, 0.68);
}

.about-text p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 700;
}

.about-photo {
  min-height: 320px;
  overflow: hidden;
  border: 2px solid var(--color-black);
  background: var(--color-black);
  transform: rotate(1.4deg);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.focus-card {
  padding: 1.15rem;
  border: 1px solid var(--color-line);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow-soft);
}

.focus-card h3,
.method-card h3,
.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0;
}

.focus-card p,
.method-card p,
.project-card p {
  margin: 0.7rem 0 0;
}

.method-section {
  color: var(--color-paper);
  background:
    linear-gradient(180deg, rgba(29, 106, 75, 0.94), rgba(76, 44, 26, 0.92)),
    var(--color-green);
}

.method-section .eyebrow,
.method-section .section-heading > p:last-child {
  color: rgba(255, 242, 220, 0.74);
}

.method-grid {
  width: min(var(--layout-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.method-card {
  position: relative;
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 242, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 242, 220, 0.1), rgba(255, 242, 220, 0.035)),
    rgba(11, 7, 5, 0.18);
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--method-fill, 10%);
  background: linear-gradient(180deg, rgba(255, 90, 0, 0), rgba(255, 90, 0, 0.22));
  transform-origin: bottom;
}

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

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 950;
}

.work-section {
  color: var(--color-paper);
  background: var(--color-black);
}

.work-heading .eyebrow,
.work-heading > p:last-child {
  color: rgba(255, 242, 220, 0.72);
}

.project-grid {
  width: min(var(--layout-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: var(--color-paper);
  border: 1px solid rgba(255, 242, 220, 0.2);
  background: #15100d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 6px solid var(--project-accent);
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-8px) rotate(calc((var(--project-index) - 1) * 0.6deg));
  border-color: var(--project-accent);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  outline: none;
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-brown);
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 360ms ease,
    filter 360ms ease;
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.project-media-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.34rem 0.55rem;
  border-radius: var(--radius-card);
  color: var(--color-black);
  background: var(--color-paper);
  font-size: 0.78rem;
  font-weight: 950;
}

.project-content {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.project-viewpoint {
  color: rgba(255, 242, 220, 0.72);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-card);
  font-size: 0.82rem;
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: center;
  gap: 0;
  color: var(--color-ink);
  background:
    linear-gradient(180deg, rgba(255, 229, 194, 0.95), rgba(255, 242, 220, 0.98)),
    var(--color-paper);
}

.contact-copy,
.contact-art {
  width: min(760px, 100%);
}

.contact-copy {
  justify-self: center;
  text-align: center;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
  margin-inline: auto;
  max-width: 620px;
  text-align: left;
}

.contact-link {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 5px 5px 0 var(--color-black);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--color-black);
  background: var(--color-paper-soft);
  outline: none;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.copy-email {
  width: fit-content;
  color: var(--color-paper);
  background: var(--color-black);
  box-shadow: 5px 5px 0 var(--color-orange);
}

.contact-art {
  display: none;
  justify-self: start;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--color-black);
  background: var(--color-black);
  transform: rotate(-2deg);
}

.contact-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal {
  width: min(1120px, calc(100vw - 2rem));
  max-height: min(86svh, 820px);
  padding: 0;
  color: var(--color-ink);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: 12px 12px 0 var(--color-black);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.project-modal::backdrop {
  background: rgba(11, 7, 5, 0.72);
  backdrop-filter: blur(6px);
}

.project-modal.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal.is-closing {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.modal-close {
  position: sticky;
  top: 0.75rem;
  left: calc(100% - 3.5rem);
  z-index: 2;
  width: 44px;
  aspect-ratio: 1;
  margin: 0.75rem 0.75rem 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  background: var(--color-orange);
}

.modal-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--color-black);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0 1rem 1rem;
  overflow: auto;
  max-height: calc(min(86svh, 820px) - 4rem);
}

.modal-copy {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 1rem;
}

.modal-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.modal-copy p {
  margin: 0.9rem 0 0;
}

.modal-field {
  margin-top: 1.4rem !important;
  color: var(--color-brown);
  font-weight: 950;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.modal-media {
  margin: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-white);
  opacity: 0;
  transform: translateY(16px);
  animation: modalMediaIn 420ms ease forwards;
  animation-delay: var(--modal-delay, 120ms);
}

.modal-media img,
.modal-media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-media-video {
  grid-column: 1 / -1;
}

.modal-media-video video {
  aspect-ratio: 16 / 9;
  background: var(--color-black);
}

.modal-media figcaption {
  padding: 0.65rem 0.75rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.noscript-message {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  padding: 1rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-card);
  color: var(--color-black);
  background: var(--color-paper);
}

[data-reveal],
.project-card,
.method-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

[data-reveal].is-visible,
.project-card.is-visible,
.method-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes eyeBlink {
  0%,
  88%,
  100% {
    transform: scaleY(1);
  }

  92%,
  94% {
    transform: scaleY(0.12);
  }
}

@keyframes lineDrift {
  from {
    translate: -16px 0;
  }

  to {
    translate: 18px 8px;
  }
}

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

@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;
  }
}

@media (max-width: 980px) {
  .intro-stage,
  .hero-section,
  .about-grid,
  .contact-section,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .intro-hint {
    grid-column: 1;
  }

  .intro-launch {
    grid-column: 1;
    justify-self: start;
  }

  .hero-section {
    min-height: 96svh;
  }

  .hero-copy {
    grid-column: 1;
    justify-self: end;
    width: min(430px, 56vw);
    text-align: right;
  }

  .hero-role {
    margin-left: auto;
  }

  .hero-line {
    margin-left: auto;
  }

  .hero-actions {
    justify-content: flex-end;
  }

  .hero-section::after {
    background:
      linear-gradient(180deg, rgba(255, 90, 0, 0.36), rgba(255, 90, 0, 0.8) 55%, rgba(255, 242, 220, 0.28)),
      linear-gradient(90deg, rgba(255, 90, 0, 0), rgba(255, 90, 0, 0.62));
  }

  .hero-art img {
    object-position: 22% center;
  }

  .hero-notes {
    display: none;
  }

  .focus-list,
  .method-grid,
  .project-grid,
  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-art {
    width: min(var(--layout-max), 100%);
    justify-self: center;
  }

  .modal-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.5rem;
    border: 2px solid var(--color-black);
    border-radius: var(--radius-card);
    background: var(--color-paper);
    box-shadow: 6px 6px 0 var(--color-black);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .section-frame {
    padding-inline: 1rem;
  }

  .hero-section {
    padding-top: 6rem;
  }

  .hero-title span:first-child {
    font-size: clamp(3.2rem, 11vw, 5.2rem);
  }

  .hero-title span:last-child {
    font-size: clamp(1.05rem, 4vw, 1.65rem);
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .about-photo,
  .contact-art {
    min-height: 300px;
  }

  .project-modal {
    width: calc(100vw - 1rem);
    max-height: 90svh;
  }

  .modal-body {
    max-height: calc(90svh - 4rem);
  }
}
