@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lobster&display=swap');

:root {
  color-scheme: dark;
  --ink: #0b0b09;
  --black: #11100d;
  --black-2: #181610;
  --paper: #d9c28b;
  --paper-light: #ecd79d;
  --yellow: #E5B235;
  --yellow-hot: #eac64a;
  --red: #a3211d;
  --red-hot: #d33a2f;
  --cream: #f0dfad;
  --green: #5a9f52;
  --muted: #806e42;
  --line: rgba(24, 22, 16, 0.28);
  --light-line: rgba(236, 215, 157, 0.28);
  --max: 1440px;
  --font-sans: "Avenir Next", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Bebas Neue", Impact, "Arial Black", "Avenir Next Condensed", sans-serif;
  --font-script: "SignPainter-HouseScript", "SignPainter", "Lobster", "Brush Script MT", "Segoe Script", cursive;
  --font-marker: "Bebas Neue", Impact, "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background: var(--ink);
  background-image: none;
  background-size: auto;
  font-family: var(--font-sans);
  text-rendering: geometricPrecision;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

#tv-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background: #020202;
  animation: tv-mask-fallback 1.2s steps(1, end) forwards;
}

.tv-line {
  width: 100vw;
  height: 100vh;
  opacity: 0;
  background: #f6f4de;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 34px rgba(234, 198, 74, 0.8);
  transform: scaleX(0) scaleY(0.01);
  transform-origin: center;
  will-change: transform, opacity;
}

.scanlines-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.92;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  mix-blend-mode: multiply;
  animation: flicker 0.13s infinite;
}

.scanlines-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(90deg, rgba(255, 0, 54, 0.18), transparent 17%, rgba(0, 208, 255, 0.12) 52%, transparent 84%);
  mix-blend-mode: screen;
}

@keyframes tv-mask-fallback {
  0%,
  99% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes flicker {
  0% {
    opacity: 0.86;
  }

  5% {
    opacity: 0.98;
  }

  12% {
    opacity: 0.9;
  }

  19% {
    opacity: 1;
  }

  28% {
    opacity: 0.85;
  }

  43% {
    opacity: 0.96;
  }

  58% {
    opacity: 0.88;
  }

  71% {
    opacity: 1;
  }

  100% {
    opacity: 0.91;
  }
}

a {
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

.line,
.word,
.char {
  font-family: inherit !important;
  line-height: 1.4 !important;
  padding-bottom: 15px !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

.hero-type-title,
.hero-type-title .line,
.hero-type-title .word,
.hero-type-title .char,
.title-better,
.title-call,
.title-han {
  font-family: var(--font-script) !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--yellow-hot);
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 900;
}

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

.site-header {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: 210px 1fr 132px;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow-hot);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.88;
}

.brand svg {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
}

.site-nav a,
.hire-button {
  position: relative;
  color: var(--yellow-hot);
  font-family: var(--font-display);
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--red-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.hire-button {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, 0.36);
  padding: 0 14px;
  color: var(--ink);
  background: var(--yellow-hot);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.75);
}

[data-magnetic] {
  will-change: transform;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 2px solid var(--yellow-hot);
  color: var(--yellow-hot);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 32px));
  height: clamp(560px, calc(100dvh - 92px), 760px);
  margin: 0 auto;
  background: #E5B235 !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35);
  isolation: isolate;
  perspective: 1100px;
}

.left-content {
  position: absolute !important;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  max-height: none;
  color: var(--ink);
  background: transparent !important;
  background-image: none !important;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: auto;
  height: 95%;
  max-height: 95vh;
  max-width: 58%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: auto;
  filter: contrast(1.28) saturate(0.85) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  mix-blend-mode: multiply;
  transform-origin: 56% 66%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: filter 120ms steps(2, end);
  will-change: transform, filter;
}

.hero-type-layer {
  position: absolute;
  inset: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: var(--ink);
  transform: none;
  transform-origin: left top;
  mix-blend-mode: multiply;
  opacity: 0;
  visibility: hidden;
  overflow: visible !important;
}

.hero-type-kicker {
  position: absolute;
  top: 14.2%;
  left: 16.8%;
  z-index: 14;
  display: inline-block;
  margin: 0;
  padding: clamp(8px, 0.74vw, 12px) clamp(38px, 4.35vw, 72px);
  color: var(--cream);
  background: #111;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(31px, 2.65vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
  clip-path: polygon(7% 0, 100% 0, 91% 100%, 0 100%);
  transform: rotate(-8.5deg) skewX(-4deg);
  transform-origin: left center;
  letter-spacing: 0.065em;
  box-shadow: 0.46vw 0.36vw 0 rgba(0, 0, 0, 0.18);
  text-shadow: none;
  opacity: 0;
  visibility: hidden;
}

.hero-type-title {
  margin: 0;
  padding-bottom: 0;
  color: #A3211D;
  font-family: var(--font-script) !important;
  font-size: 1rem;
  line-height: 0.62;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0.4vw 0.4vw 0px #8B0000 !important;
  opacity: 0;
  visibility: hidden;
  overflow: visible !important;
}

.title-lockup {
  position: static;
  z-index: auto;
  width: auto;
  max-width: none;
  height: 0;
  margin: 0;
  color: #A3211D;
  font-family: var(--font-script) !important;
  transform: none;
  white-space: nowrap;
  overflow: visible !important;
}

.title-better,
.title-call,
.title-han {
  display: block !important;
  position: absolute !important;
  width: max-content;
  max-width: none;
  margin: 0 !important;
  color: #A3211D;
  font-family: var(--font-script) !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.68;
  white-space: nowrap;
  text-shadow:
    0.036em 0.036em 0 #7b1712,
    0.066em 0.062em 0 rgba(63, 10, 8, 0.24) !important;
  filter: drop-shadow(-1px 1px 0 rgba(235, 205, 116, 0.2));
  --title-scale-x: 1.16;
  transform: rotate(-8.5deg) skewX(-2deg) scaleX(var(--title-scale-x));
  transform-origin: left center;
  overflow: visible !important;
}

.title-lockup .line {
  display: block !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

.title-lockup .word,
.title-lockup .char {
  line-height: inherit !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

.title-better {
  top: 25%;
  left: 16.6%;
  z-index: 10;
  --title-scale-x: 1.22;
  font-size: clamp(152px, 11.8vw, 202px);
}

.title-call {
  top: 39.4%;
  left: 36.6%;
  z-index: 11;
  --title-scale-x: 1.1;
  font-size: clamp(78px, 6.05vw, 104px);
}

.title-han {
  top: 51.6%;
  left: 17.2%;
  z-index: 10;
  --title-scale-x: 1.17;
  font-size: clamp(160px, 12.45vw, 214px);
}

.hero-type-title > div,
.hero-type-title .line {
  display: block;
  overflow: visible !important;
}

.hero-type-title .word,
.hero-type-title .char {
  display: inline-block;
  font-family: var(--font-script) !important;
  white-space: nowrap;
  overflow: visible !important;
}

.poster-mark,
.poster-badge,
.hero-deco,
.hero-mini-badge {
  position: absolute !important;
  display: inline-grid;
  justify-items: center;
  align-items: center;
  gap: 0.2vw;
  padding: 0;
  border: 0;
  color: var(--ink);
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(19px, 1.42vw, 27px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  mix-blend-mode: multiply;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  animation: hero-float 3.8s ease-in-out infinite;
}

.poster-mark::after,
.poster-badge:not(.badge-case)::after {
  content: none;
}

.poster-badge,
.hero-mini-badge,
.hero-ink-cta {
  pointer-events: auto;
}

.poster-mark i,
.poster-badge i {
  color: var(--ink);
  font-size: 1.72em;
  line-height: 1;
  filter: drop-shadow(0.055em 0.055em 0 rgba(229, 178, 53, 0.22));
}

.hero-deco:nth-child(2),
.hero-mini-badge:nth-of-type(2) {
  animation-name: hero-float-alt;
  animation-duration: 4.4s;
}

.hero-deco:nth-child(3),
.poster-badge:nth-of-type(3) {
  animation-duration: 4.1s;
}

.poster-top-label {
  font-size: clamp(20px, 1.54vw, 29px);
  z-index: 15;
}

.deco-ai {
  top: 1.8%;
  left: 24.2%;
  transform: rotate(-5deg);
}

.deco-java {
  top: 2.1%;
  left: 39.8%;
  transform: rotate(5deg);
}

.badge-portfolio {
  top: 31%;
  left: 46.4%;
  transform: rotate(9deg);
}

.badge-projects {
  top: 53.2%;
  left: 12.6%;
  transform: rotate(-18deg);
}

.badge-about {
  bottom: 16.4%;
  left: 21.3%;
  transform: rotate(-4deg);
}

.badge-resume {
  bottom: 16.2%;
  left: 43.8%;
  transform: rotate(7deg);
}

.badge-case {
  bottom: 14.5%;
  left: 33.4%;
  width: clamp(90px, 7.55vw, 126px);
  height: clamp(90px, 7.55vw, 126px);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 0.78;
  transform: rotate(-5deg);
}

.badge-case::before,
.badge-case::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.badge-case::before {
  background: repeating-conic-gradient(from -5deg, currentColor 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 0 43%, #000 44% 83%, transparent 84%);
  mask: radial-gradient(circle, transparent 0 43%, #000 44% 83%, transparent 84%);
}

.badge-case::after {
  inset: 14%;
  background: repeating-conic-gradient(from 7deg, currentColor 0deg 5deg, transparent 5deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 0 54%, #000 55% 72%, transparent 73%);
  mask: radial-gradient(circle, transparent 0 54%, #000 55% 72%, transparent 73%);
}

.badge-case span {
  position: relative;
  z-index: 1;
  max-width: 70%;
}

.hero-ink-cta {
  position: absolute;
  top: 55.4%;
  left: 41.2%;
  z-index: 7;
  width: clamp(102px, 7.55vw, 136px);
  height: clamp(102px, 7.55vw, 136px);
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 50%;
  color: #E5B235;
  background: #111;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(20px, 1.5vw, 27px);
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(-15deg);
  box-shadow:
    inset 0 0 0 2px rgba(229, 178, 53, 0.06),
    0.42vw 0.36vw 0 rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  animation: hero-float 3.6s ease-in-out infinite;
}

.is-tv-glitch .hero-person {
  filter: contrast(1.45) saturate(0.7);
}

.hero-person.is-hover-glitch {
  filter:
    contrast(1.62)
    saturate(0.72)
    drop-shadow(-8px 0 0 rgba(0, 234, 255, 0.82))
    drop-shadow(8px 0 0 rgba(255, 23, 47, 0.76))
    drop-shadow(0 0 16px rgba(0, 0, 0, 0.25));
}

.rgb-split {
  text-shadow:
    3px 3px 0 #8B0000,
    -4px 0 rgba(0, 220, 255, 0.85),
    4px 0 rgba(255, 33, 48, 0.78),
    -2px -1px 0 rgba(0, 0, 255, 0.4);
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  overflow: hidden;
  height: 39px;
  display: flex;
  align-items: center;
  color: var(--yellow-hot);
  background: var(--red);
  border-top: 2px solid rgba(24, 22, 16, 0.32);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.hero-marquee-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero-marquee-group span {
  display: inline-flex;
  align-items: center;
  padding: 0 25px;
}

.hero-marquee-group span:not(:last-child)::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 25px;
  border-radius: 50%;
  background: currentColor;
}

@keyframes hero-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes hero-float-alt {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 6px;
  }
}

@keyframes terminal-flicker {
  0%,
  100% {
    opacity: 0.3;
  }

  14% {
    opacity: 0.42;
  }

  38% {
    opacity: 0.24;
  }

  67% {
    opacity: 0.36;
  }
}

@keyframes terminal-cursor {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}


.hero-band {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 32px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 34% 21%;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(216, 168, 30, 0.95), rgba(236, 196, 70, 0.96)),
    var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.hero-band::before,
.cases-band::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 12% 20%, transparent 0 2px, rgba(0, 0, 0, 0.45) 3px, transparent 4px),
    radial-gradient(circle at 82% 72%, transparent 0 1px, rgba(0, 0, 0, 0.35) 2px, transparent 3px);
  background-size: 22px 19px, 31px 29px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 510px;
  padding: 72px 26px 40px 150px;
}

.scribble {
  position: absolute;
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 0.95;
  transform: rotate(-7deg);
}

.scribble.top-left {
  left: 170px;
  top: 38px;
}

.scribble.top-right {
  left: 294px;
  top: 34px;
}

.slab {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 16px;
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  transform: rotate(-11deg);
}

.hero-copy h1 {
  position: relative;
  z-index: 2;
  margin: -6px 0 14px;
  color: var(--red);
  font-family: var(--font-script);
  font-size: 92px;
  line-height: 0.68;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgba(255, 205, 64, 0.38);
  transform: rotate(-7deg);
}

.hero-copy h1 span {
  display: block;
}

.orbit-links {
  position: relative;
  width: 340px;
  min-height: 116px;
}

.orbit-links a {
  position: absolute;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transform: rotate(-8deg);
}

.orbit-links a:nth-child(1) {
  left: -56px;
  top: 10px;
}

.orbit-links a:nth-child(2) {
  left: 34px;
  top: 83px;
}

.orbit-links a:nth-child(3) {
  left: 170px;
  top: 62px;
  text-align: center;
}

.orbit-links a:nth-child(4) {
  left: 282px;
  top: 78px;
}

.round-cta {
  position: absolute;
  right: 38px;
  bottom: 92px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--yellow-hot);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transform: rotate(-12deg);
}

.hero-portrait {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
}

.hero-portrait img {
  width: min(100%, 520px);
  height: 480px;
  object-fit: cover;
  object-position: center bottom;
  mix-blend-mode: multiply;
  filter: contrast(1.2) saturate(0.94);
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 54px 38px 50px 12px;
}

.hero-proof article {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-areas:
    "icon number"
    "icon label";
  column-gap: 12px;
  align-items: center;
}

.hero-proof svg {
  grid-area: icon;
  width: 48px;
  height: 48px;
}

.hero-proof strong {
  grid-area: number;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.9;
}

.hero-proof span {
  grid-area: label;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
}

.ticker {
  width: min(var(--max), calc(100% - 32px));
  min-height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 6px 18px;
  color: var(--yellow-hot);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}

.ticker span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 30px;
  border-radius: 50%;
  background: var(--yellow-hot);
  vertical-align: middle;
}

.about-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(300px, 420px) 1fr;
  gap: 46px;
  align-items: center;
  padding: 42px 54px;
  background: var(--black);
  color: var(--cream);
}

.about-photo {
  align-self: end;
  height: 190px;
  overflow: hidden;
  filter: grayscale(1) sepia(0.38) contrast(1.25);
}

.about-photo img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 18%;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--yellow-hot);
  font-size: 46px;
  line-height: 0.95;
}

.section-kicker {
  margin: 8px 0 10px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
}

.about-copy p:not(.section-kicker),
.cases-intro p,
.skills-head p,
.experience-copy p,
.process-list p,
.case-card p {
  margin: 0;
  line-height: 1.45;
  font-size: 16px;
}

.line-button {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  border: 2px solid currentColor;
  padding: 7px 14px;
  color: var(--yellow-hot);
  font-family: var(--font-display);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.line-button::after {
  content: ">";
  margin-left: 10px;
}

.line-button.dark {
  color: var(--ink);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
}

.about-stats div {
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid var(--light-line);
  padding: 0 14px;
}

.about-stats dt {
  font-family: var(--font-display);
  color: var(--paper-light);
  font-size: 34px;
}

.about-stats dd {
  margin: 4px 0 0;
  color: var(--yellow-hot);
  font-family: var(--font-display);
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
}

.cases-band {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  padding: 36px 44px 32px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(236, 223, 179, 0.96), rgba(206, 184, 133, 0.96)),
    var(--paper);
}

.cases-intro {
  position: relative;
  z-index: 1;
}

.cases-intro h2 {
  color: var(--ink);
  font-size: 38px;
}

.cases-intro h2 span {
  display: block;
}

.cases-intro h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin: 12px 0 16px;
  background: var(--red);
}

.case-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  position: relative;
  min-height: 265px;
  border: 2px solid rgba(24, 22, 16, 0.22);
  background: rgba(239, 221, 174, 0.86);
  box-shadow: 5px 5px 0 rgba(24, 22, 16, 0.18);
  will-change: transform, opacity, box-shadow;
}

.case-label {
  position: absolute;
  left: 10px;
  top: -12px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: var(--cream);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.case-image {
  height: 102px;
  border-bottom: 2px solid rgba(24, 22, 16, 0.22);
  background-color: var(--ink);
}

.case-image.store {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.3)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(236, 196, 70, 0.38) 29px 31px),
    linear-gradient(180deg, #372719, #0f0d0a);
}

.case-image.local {
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(0deg, rgba(90, 159, 82, 0.34) 0 2px, transparent 2px 14px),
    linear-gradient(90deg, #0d1710, #122a1b, #071009);
}

.case-image.mini {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent),
    radial-gradient(circle at 22% 50%, #d8c490 0 25px, transparent 26px),
    linear-gradient(135deg, #b99e62, #efe1b5);
}

.case-card h3 {
  margin: 14px 16px 6px;
  font-family: var(--font-display);
  font-size: 21px;
}

.case-card p {
  margin: 0 16px;
  color: #1d1a12;
  font-size: 14px;
}

.case-card a {
  display: inline-flex;
  margin: 12px 16px 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}

.case-card a::after {
  content: ">";
  margin-left: 8px;
}

.skills-band {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 34px;
  align-items: stretch;
  padding: 46px 48px 52px;
  color: #f4c84c;
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 200, 76, 0.13), transparent 30%),
    linear-gradient(135deg, #050704, #11120b 58%, #050604) !important;
  border-top: 2px solid rgba(244, 200, 76, 0.28);
  border-bottom: 2px solid rgba(244, 200, 76, 0.2);
  isolation: isolate;
}

.skills-band::before,
.skills-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.skills-band::before {
  opacity: 0.32;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0 2px, transparent 2px 5px),
    linear-gradient(90deg, transparent, rgba(244, 200, 76, 0.08), transparent);
  mix-blend-mode: multiply;
  animation: terminal-flicker 5.2s steps(2, end) infinite;
}

.skills-band::after {
  opacity: 0.7;
  background:
    radial-gradient(ellipse at center, transparent 0 48%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(125, 255, 126, 0.06), transparent 18%, transparent 82%, rgba(125, 255, 126, 0.04));
}

.skills-head,
.terminal-shell {
  position: relative;
  z-index: 1;
}

.skills-head h2 {
  color: #f4c84c;
  font-size: clamp(38px, 4.2vw, 58px);
  text-shadow: 0 0 12px rgba(244, 200, 76, 0.26);
}

.skills-head p {
  max-width: 24ch;
  margin-top: 14px;
  color: rgba(244, 200, 76, 0.74);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
}

.terminal-label,
.terminal-command,
.terminal-bar,
.terminal-skill-list small {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.terminal-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #8bff7a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-shell {
  min-width: 0;
  border: 2px solid rgba(244, 200, 76, 0.58);
  background:
    linear-gradient(180deg, rgba(244, 200, 76, 0.08), transparent 120px),
    rgba(4, 7, 4, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(125, 255, 126, 0.16),
    inset 0 0 34px rgba(125, 255, 126, 0.08),
    10px 10px 0 rgba(0, 0, 0, 0.28);
}

.terminal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 200, 76, 0.36);
  padding: 10px 14px;
  color: #8bff7a;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(244, 200, 76, 0.24);
}

.terminal-module {
  min-width: 0;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(125, 255, 126, 0.08), transparent 44%),
    #080b06;
}

.terminal-command {
  display: block;
  margin-bottom: 14px;
  color: rgba(139, 255, 122, 0.74);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.terminal-module h3 {
  margin: 0 0 14px;
  color: #f4c84c;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.35vw, 36px);
  line-height: 0.95;
  text-transform: uppercase;
}

.terminal-skill-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terminal-skill-list li {
  display: grid;
  grid-template-columns: minmax(108px, 0.72fr) 1fr;
  gap: 12px;
  align-items: baseline;
  border-left: 3px solid rgba(244, 200, 76, 0.48);
  padding: 8px 10px;
  color: rgba(244, 200, 76, 0.96);
  background: rgba(244, 200, 76, 0.045);
}

.terminal-skill-list span {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.95;
  text-transform: uppercase;
}

.terminal-skill-list small {
  color: rgba(139, 255, 122, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

[data-terminal-type].is-typing::after {
  content: "_";
  display: inline-block;
  margin-left: 0.08em;
  color: #8bff7a;
  animation: terminal-cursor 0.72s steps(2, end) infinite;
}

.experience-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  padding: 44px;
  background: #17140d;
  border-top: 2px solid rgba(216, 168, 30, 0.24);
}

.experience-copy h2 {
  font-size: 38px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 190px;
  border-left: 5px solid var(--red-hot);
  padding: 0 0 0 18px;
}

.process-list span {
  display: block;
  color: var(--yellow-hot);
  font-family: var(--font-display);
  font-size: 17px;
}

.process-list h3 {
  margin: 12px 0 8px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.05;
  text-transform: uppercase;
}

.process-list p {
  color: #d6c18a;
}

.contact-band {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(390px, 560px);
  gap: 40px;
  align-items: center;
  min-height: 520px;
  padding: 58px 56px 68px;
  background:
    radial-gradient(circle at 16% 30%, rgba(229, 178, 53, 0.18), transparent 26%),
    linear-gradient(135deg, #0c0b08, #15120d 58%, #070604) !important;
  border-top: 2px solid rgba(229, 178, 53, 0.24);
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 10% 20%, rgba(236, 215, 157, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 60%, rgba(236, 215, 157, 0.28) 0 1px, transparent 2px);
  background-size: 28px 24px, 36px 32px;
}

.classified-side,
.classified-ad {
  position: relative;
  z-index: 1;
}

.classified-side {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.classified-info {
  width: min(100%, 380px);
  margin: -8px 0 0;
  padding: 18px;
  list-style: none;
  color: var(--yellow-hot);
  border: 2px solid rgba(229, 178, 53, 0.42);
  background: rgba(8, 7, 5, 0.68);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.28);
}

.classified-info li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.classified-info li + li {
  border-top: 1px solid rgba(229, 178, 53, 0.24);
}

.classified-info i {
  color: var(--red-hot);
  font-size: 18px;
  text-align: center;
}

.classified-info a {
  text-decoration: none;
}

.classified-ad {
  width: min(100%, 560px);
  justify-self: end;
  padding: clamp(28px, 3.4vw, 46px);
  color: var(--ink);
  background:
    linear-gradient(rgba(239, 221, 174, 0.9), rgba(239, 221, 174, 0.9)),
    radial-gradient(circle at 16% 18%, rgba(24, 22, 16, 0.16) 0 1px, transparent 2px),
    var(--paper-light) !important;
  background-size: auto, 18px 16px, auto;
  border: 2px solid rgba(24, 22, 16, 0.45);
  box-shadow:
    14px 14px 0 rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 245, 204, 0.42);
  transform: rotate(-1.7deg);
}

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

.classified-ad::before {
  inset: 10px;
  border: 2px solid rgba(24, 22, 16, 0.18);
}

.classified-ad::after {
  right: 22px;
  top: -17px;
  width: 92px;
  height: 34px;
  background: rgba(240, 223, 173, 0.64);
  border: 1px solid rgba(24, 22, 16, 0.22);
  transform: rotate(6deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}

.classified-stamp {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 14px;
  border: 2px solid currentColor;
  padding: 5px 10px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.classified-ad h2 {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 0.84;
  max-width: 480px;
}

.classified-ad h2 span {
  display: block;
  color: var(--red);
  font-family: var(--font-script);
  font-size: 0.9em;
  line-height: 0.78;
  text-transform: none;
  transform: rotate(-3deg);
}

.classified-ad h2 strong {
  display: block;
  color: var(--ink);
  font: inherit;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(24, 22, 16, 0.58);
  border-radius: 0;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 247, 208, 0.58);
  font: 600 16px/1.35 var(--font-sans);
  outline: none;
  box-shadow: inset 3px 3px 0 rgba(24, 22, 16, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 126px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow:
    inset 3px 3px 0 rgba(24, 22, 16, 0.08),
    0 0 0 3px rgba(163, 33, 29, 0.2);
}

.classified-submit {
  justify-self: start;
  min-height: 44px;
  border: 2px solid var(--ink);
  padding: 0 18px;
  color: var(--paper-light);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(24, 22, 16, 0.75);
  cursor: pointer;
}

.classified-submit:hover {
  background: #7f1915;
}

.classified-submit:active {
  transform: translateY(1px);
  box-shadow: 3px 3px 0 rgba(24, 22, 16, 0.75);
}

.form-note {
  margin: 0;
  color: rgba(24, 22, 16, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.classified-tearoffs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px -14px -18px;
  border-top: 2px dashed rgba(24, 22, 16, 0.38);
}

.classified-tearoffs a {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
}

.classified-tearoffs a + a {
  border-left: 2px dashed rgba(24, 22, 16, 0.38);
}

.phone-image {
  width: min(100%, 390px);
  height: 250px;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.12) saturate(0.88) sepia(0.12);
  transform: rotate(2deg);
}

.about-band,
.experience-band,
.site-footer {
  background: var(--black) !important;
  background-image: none !important;
}

.cases-band {
  background: var(--paper) !important;
  background-image: none !important;
}

.contact-card {
  background: transparent !important;
  background-image: none !important;
}

.hero-band::before,
.cases-band::before,
.contact-card::before {
  content: none !important;
  background: none !important;
}

.case-card {
  background: rgba(239, 221, 174, 0.94) !important;
  background-image: none !important;
}

.case-image,
.case-image.store,
.case-image.local,
.case-image.mini {
  background: var(--ink) !important;
  background-image: none !important;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--yellow-hot);
  background: var(--black);
  padding: 0 24px;
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-marquee-track {
    transform: none !important;
  }

  .scanlines-overlay,
  .hero-deco,
  .hero-mini-badge,
  .hero-ink-cta,
  .skills-band::before,
  [data-terminal-type].is-typing::after {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 190px 1fr 128px;
  }

  .site-nav {
    gap: 22px;
  }

  .hero-band {
    grid-template-columns: 48% 32% 20%;
  }

  .hero-copy {
    padding-left: 82px;
  }

  .scribble.top-left {
    left: 104px;
  }

  .scribble.top-right {
    left: 228px;
  }

  .hero-copy h1 {
    font-size: 78px;
  }

  .hero-type-layer {
    inset: 0;
    width: 100%;
  }

  .hero-type-kicker {
    top: 14.8%;
    left: 16.2%;
    padding: clamp(7px, 0.85vw, 10px) clamp(30px, 4vw, 50px);
    font-size: clamp(27px, 3vw, 38px);
  }

  .hero-type-title {
    font-size: 1rem;
  }

  .title-better {
    top: 25.2%;
    left: 15.2%;
    font-size: clamp(124px, 12.2vw, 148px);
  }

  .title-call {
    top: 39.8%;
    left: 35.8%;
    font-size: clamp(66px, 6.35vw, 80px);
  }

  .title-han {
    top: 51.8%;
    left: 16.1%;
    font-size: clamp(134px, 13vw, 160px);
  }

  .poster-mark,
  .poster-badge,
  .hero-mini-badge {
    font-size: clamp(17px, 1.9vw, 22px);
  }

  .badge-portfolio {
    top: 31.5%;
    left: 45.8%;
  }

  .badge-projects {
    top: 53.6%;
    left: 10.6%;
  }

  .badge-about {
    bottom: 16.2%;
    left: 19.5%;
  }

  .badge-resume {
    bottom: 16%;
    left: 42.6%;
  }

  .badge-case {
    bottom: 14.6%;
    left: 31.8%;
    width: clamp(86px, 8.7vw, 106px);
    height: clamp(86px, 8.7vw, 106px);
  }

  .hero-ink-cta {
    top: 55.6%;
    left: 41%;
    width: clamp(86px, 9.2vw, 112px);
    height: clamp(86px, 9.2vw, 112px);
    font-size: clamp(18px, 2vw, 24px);
  }

  .hero-marquee {
    height: 34px;
    font-size: 18px;
  }

  .about-band {
    grid-template-columns: 210px minmax(270px, 380px) 1fr;
    gap: 28px;
    padding: 36px;
  }

  .skills-band {
    grid-template-columns: 1fr;
    padding: 42px 38px 48px;
  }

  .skills-head p {
    max-width: 62ch;
  }

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

  .terminal-module:nth-child(1) {
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .hire-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    z-index: 10;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 12px;
    color: var(--yellow-hot);
    background: var(--black);
    border: 2px solid var(--yellow-hot);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-band {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 420px;
    padding: 62px 30px 30px;
  }

  .scribble.top-left {
    left: 40px;
    top: 30px;
  }

  .scribble.top-right {
    left: 170px;
    top: 30px;
  }

  .hero-copy h1 {
    font-size: 72px;
  }

  .hero-type-layer {
    inset: 0;
    width: 100%;
  }

  .hero-type-kicker {
    top: 15.8%;
    left: 12.8%;
    padding: clamp(7px, 1vw, 10px) clamp(20px, 4.2vw, 38px);
    font-size: clamp(23px, 3.25vw, 30px);
  }

  .hero-type-title {
    font-size: 1rem;
  }

  .title-better {
    top: 25.8%;
    left: 7.6%;
    font-size: clamp(98px, 13.4vw, 118px);
  }

  .title-call {
    top: 40.2%;
    left: 35.5%;
    font-size: clamp(53px, 7.2vw, 66px);
  }

  .title-han {
    top: 52%;
    left: 8.8%;
    font-size: clamp(108px, 14.6vw, 132px);
  }

  .left-content {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .poster-mark,
  .poster-badge,
  .hero-mini-badge {
    font-size: clamp(15px, 2.1vw, 19px);
  }

  .badge-portfolio {
    top: 32.2%;
    left: 44.4%;
  }

  .badge-projects {
    top: 53.8%;
    left: 5.8%;
  }

  .badge-about {
    bottom: 16%;
    left: 16.5%;
  }

  .badge-resume {
    bottom: 15.6%;
    left: 40%;
  }

  .badge-case {
    bottom: 14.4%;
    left: 28.6%;
  }

  .hero-ink-cta {
    top: 55.8%;
    left: 40.6%;
    width: clamp(78px, 10vw, 96px);
    height: clamp(78px, 10vw, 96px);
    font-size: clamp(17px, 2.2vw, 20px);
  }

  .orbit-links {
    width: 250px;
  }

  .orbit-links a:nth-child(1) {
    left: 0;
    top: 4px;
  }

  .orbit-links a:nth-child(2) {
    left: 0;
    top: 58px;
  }

  .orbit-links a:nth-child(3) {
    left: 118px;
    top: 34px;
  }

  .orbit-links a:nth-child(4) {
    left: 198px;
    top: 74px;
  }

  .round-cta {
    right: 30px;
    bottom: 92px;
  }

  .hero-portrait {
    display: none;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 24px 28px;
  }

  .hero-proof article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "number"
      "label";
    justify-items: center;
    text-align: center;
  }

  .hero-proof svg {
    width: 36px;
    height: 36px;
  }

  .hero-proof strong {
    font-size: 34px;
  }

  .ticker {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
  }

  .ticker span:not(:last-child)::after {
    margin-left: 10px;
  }

  .about-band,
  .cases-band,
  .skills-band,
  .experience-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .about-photo {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-band {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 46px 34px 58px;
  }

  .classified-ad {
    justify-self: center;
    transform: rotate(-0.8deg);
  }

  .phone-image {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-band,
  .hero-poster,
  .ticker,
  .about-band,
  .cases-band,
  .skills-band,
  .experience-band,
  .contact-band,
  .site-footer {
    width: min(100% - 18px, var(--max));
  }

  .brand {
    font-size: 17px;
  }

  .brand svg {
    width: 36px;
    height: 36px;
  }

  .hero-poster {
    height: 520px;
    aspect-ratio: auto;
  }

  .hero-type-layer {
    inset: 0;
    width: 100%;
  }

  .hero-type-kicker {
    top: 17.5%;
    left: 8%;
    margin-bottom: 0;
    padding: 1.1vw 4.4vw;
    font-size: 5vw;
  }

  .hero-type-title {
    font-size: 1rem;
  }

  .title-better {
    top: 28.6%;
    left: 5.4%;
    font-size: 18.5vw;
  }

  .title-call {
    top: 39.5%;
    left: 41%;
    font-size: 9.8vw;
  }

  .title-han {
    top: 49.8%;
    left: 6.4%;
    font-size: 20.5vw;
  }

  .left-content {
    width: 100%;
    height: 520px;
    max-height: 520px;
  }

  .poster-mark,
  .poster-badge,
  .hero-mini-badge,
  .hero-deco {
    display: none;
  }

  .hero-ink-cta {
    display: none;
  }

  .hero-marquee {
    height: 40px;
    font-size: 16px;
  }

  .hero-marquee-group span {
    padding: 0 16px;
  }

  .hero-marquee-group span:not(:last-child)::after {
    margin-left: 16px;
  }

  .hero-copy {
    min-height: 390px;
    padding: 58px 22px 28px;
  }

  .slab {
    font-size: 22px;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .round-cta {
    width: 66px;
    height: 66px;
    font-size: 16px;
    right: 22px;
    bottom: 82px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    padding-bottom: 24px;
  }

  .hero-proof article {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "icon number"
      "icon label";
    justify-items: start;
    text-align: left;
  }

  .about-band,
  .cases-band,
  .skills-band,
  .experience-band {
    padding: 30px 22px;
  }

  h2 {
    font-size: 36px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats div {
    border-left: 0;
    border-top: 1px solid var(--light-line);
  }

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

  .terminal-module {
    padding: 17px;
  }

  .terminal-skill-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-band {
    padding: 36px 20px 48px;
  }

  .classified-info {
    width: 100%;
  }

  .classified-info li {
    grid-template-columns: 24px 1fr;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .classified-ad {
    padding: 26px 22px 32px;
    transform: none;
  }

  .classified-ad h2 {
    font-size: 42px;
  }

  .classified-tearoffs {
    margin-right: -8px;
    margin-left: -8px;
  }

  .classified-tearoffs a {
    font-size: 15px;
  }

  .phone-image {
    height: 210px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px 18px;
  }
}

/* Ambient terminal and classified-ad micro motion. Layout-neutral overrides only. */
@keyframes ambientCursorBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes phosphorBreathing {
  0%,
  100% {
    text-shadow:
      0 0 2px rgba(244, 200, 76, 0.28),
      0 0 7px rgba(139, 255, 122, 0.12);
  }

  50% {
    text-shadow:
      0 0 4px rgba(244, 200, 76, 0.5),
      0 0 14px rgba(139, 255, 122, 0.2),
      0 0 24px rgba(244, 200, 76, 0.08);
  }
}

@keyframes classifiedFilmNoise {
  0% {
    background-position: 0 0, 0 0;
  }

  20% {
    background-position: 7px -5px, 0 0;
  }

  40% {
    background-position: -6px 4px, 0 0;
  }

  60% {
    background-position: 4px 8px, 0 0;
  }

  80% {
    background-position: -8px -3px, 0 0;
  }

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

.terminal-command::after {
  content: " \2588";
  display: inline-block;
  color: #8bff7a;
  text-shadow:
    0 0 4px rgba(139, 255, 122, 0.58),
    0 0 12px rgba(139, 255, 122, 0.24);
  animation: ambientCursorBlink 1s step-end infinite;
}

.skills-band :where(.terminal-label, .terminal-bar, .terminal-command, .terminal-module h3, .terminal-skill-list span, .terminal-skill-list small, .skills-head h2, .skills-head p) {
  animation: phosphorBreathing 4s ease-in-out infinite;
}

.classified-ad::before {
  inset: 10px;
  border: 2px solid rgba(24, 22, 16, 0.18);
  opacity: 0.86;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E"),
    linear-gradient(rgba(24, 22, 16, 0.04), rgba(255, 245, 204, 0.04));
  background-size: 92px 92px, auto;
  mix-blend-mode: multiply;
  animation: classifiedFilmNoise 0.62s steps(2, end) infinite;
}

.contact-form input,
.contact-form textarea,
.classified-submit {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(24, 22, 16, 0.74);
  background-color: rgba(244, 229, 176, 0.72);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7b1712;
  background-color: rgba(238, 217, 151, 0.78);
  outline: none;
  box-shadow:
    inset 3px 3px 0 rgba(24, 22, 16, 0.12),
    0 0 0 3px rgba(123, 23, 18, 0.22);
}

.classified-submit {
  box-shadow:
    4px 4px 0 #11100d,
    7px 7px 0 rgba(24, 22, 16, 0.28);
}

.classified-submit:hover {
  background: #8e1d18;
  transform: translate(-2px, -2px) !important;
  box-shadow:
    6px 6px 0 #11100d,
    10px 10px 0 rgba(24, 22, 16, 0.24);
}

.classified-submit:active {
  transform: translate(2px, 2px) !important;
  box-shadow:
    1px 1px 0 #11100d,
    0 0 0 rgba(24, 22, 16, 0);
}

@media (prefers-reduced-motion: reduce) {
  .terminal-command::after,
  .skills-band :where(.terminal-label, .terminal-bar, .terminal-command, .terminal-module h3, .terminal-skill-list span, .terminal-skill-list small, .skills-head h2, .skills-head p),
  .classified-ad::before {
    animation: none;
  }

  .classified-submit:hover,
  .classified-submit:active {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .hero-type-kicker {
    top: 10% !important;
    left: 5% !important;
    padding: 2vw 4vw !important;
    color: #E5B235 !important;
    background-color: #111 !important;
    font-size: 6vw !important;
    transform: skewX(-12deg) rotate(-8deg) !important;
  }

  .title-better,
  .title-call,
  .title-han {
    text-shadow: 1vw 1vw 0 #8B0000 !important;
  }

  .title-better {
    top: 18% !important;
    left: 8% !important;
    font-size: 26vw !important;
  }

  .title-call {
    top: 26% !important;
    left: 45% !important;
    margin-top: -2vw !important;
    font-size: 14vw !important;
  }

  .title-han {
    top: 32% !important;
    left: 10% !important;
    font-size: 28vw !important;
  }

  .hero-ink-cta {
    top: 46% !important;
    left: 35% !important;
    width: 18vw !important;
    height: 18vw !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #E5B235 !important;
    background: #111 !important;
    font-size: 3vw !important;
    line-height: 1.2 !important;
    text-align: center !important;
    z-index: 20 !important;
  }

  .badge-case {
    top: 56% !important;
    bottom: auto !important;
    left: 8% !important;
    width: 22vw !important;
    height: 22vw !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #111 !important;
    border-radius: 50% !important;
    padding: 1vw !important;
    background: transparent !important;
    font-size: 3vw !important;
    line-height: 0.86 !important;
    z-index: 13 !important;
  }

  .badge-case::before {
    content: "" !important;
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    left: 3px !important;
    border: 1.5px dashed #111 !important;
    border-radius: 50% !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    pointer-events: none !important;
  }

  .badge-case::after {
    content: none !important;
  }

  .badge-case span {
    max-width: 70% !important;
    transform: rotate(-5deg) !important;
  }

  .badge-portfolio,
  .badge-projects {
    display: inline-grid !important;
    font-size: 3.5vw !important;
    z-index: 13 !important;
  }

  .badge-portfolio {
    top: 38% !important;
    right: 5% !important;
    left: auto !important;
    transform: rotate(10deg) !important;
  }

  .badge-projects {
    top: 65% !important;
    left: 25% !important;
    right: auto !important;
    transform: rotate(-15deg) !important;
  }

  .hero-marquee,
  .footer-marquee {
    display: flex !important;
    align-items: center !important;
    padding: 2vw 0 !important;
    line-height: 1 !important;
  }
}
