:root {
  --bg: #090908;
  --paper: #e8e2d3;
  --paper-soft: #bdb7a8;
  --ink: #11110f;
  --red: #e12d2d;
  --green: #9adf6b;
  --blue: #6fb4ff;
  --line: rgba(232, 226, 211, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(circle at 20% 15%, rgba(225, 45, 45, 0.18), transparent 30%),
    radial-gradient(circle at 84% 28%, rgba(154, 223, 107, 0.12), transparent 24%),
    var(--bg);
  font-family: "Courier New", Consolas, monospace;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.035) 50%, transparent 50%) 0 0 / 100% 4px;
  mix-blend-mode: overlay;
  opacity: 0.35;
  z-index: 20;
}

a {
  color: inherit;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
  opacity: 0.16;
  z-index: 19;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 8, 0.86);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions,
.filters,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--paper-soft);
  font-size: 11px;
}

.brand-name {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}

.site-nav {
  gap: clamp(10px, 3vw, 28px);
  font-size: 12px;
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--paper-soft);
  text-decoration: none;
}

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

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.24fr);
  gap: clamp(22px, 4.6vw, 58px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(16px, 4vw, 56px) 40px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.button,
.filter,
.project-body h3,
.availability strong,
.email-text {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-text {
  max-width: 680px;
  color: var(--paper-soft);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.marker {
  position: relative;
  display: inline;
  color: var(--paper);
  background:
    linear-gradient(104deg, transparent 7%, rgba(154, 223, 107, 0.08) 7% 13%, rgba(154, 223, 107, 0.34) 13% 88%, transparent 88%),
    linear-gradient(180deg, transparent 48%, rgba(232, 226, 211, 0.06) 48% 100%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.16em 0.02em;
  text-shadow: 1px 1px 0 rgba(225, 45, 45, 0.46);
}

.marker::selection {
  color: var(--ink);
  background: var(--green);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
}

.button.primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button.ghost {
  color: var(--paper);
  background: transparent;
}

.button:hover,
.filter:hover,
.filter.active {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(0.6deg);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 226, 211, 0.045) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(232, 226, 211, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
    #0d0d0b;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(225, 45, 45, 0.16), transparent 36%),
    linear-gradient(0deg, rgba(9, 9, 8, 0.34), transparent 58%);
  pointer-events: none;
  z-index: 3;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.12);
}

.hero-collage {
  position: absolute;
  inset: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  grid-template-rows: repeat(9, minmax(42px, 1fr));
  gap: 10px;
  min-height: calc(100% - 24px);
}

.collage-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(232, 226, 211, 0.18);
  background: rgba(9, 9, 8, 0.82);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 50%, transparent 50%) 0 0 / 100% 4px,
    linear-gradient(135deg, transparent 52%, rgba(225, 45, 45, 0.18));
  mix-blend-mode: screen;
  opacity: 0.42;
}

.collage-tile:hover {
  z-index: 4;
  border-color: rgba(154, 223, 107, 0.74);
  box-shadow: 8px 8px 0 rgba(225, 45, 45, 0.62), 0 0 28px rgba(154, 223, 107, 0.12);
  transform: translate(-3px, -3px) rotate(-0.45deg);
}

.collage-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.38) contrast(1.18) brightness(0.82);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.collage-tile:hover img {
  transform: scale(1.05);
  filter: grayscale(0.08) contrast(1.24) brightness(0.94);
}

.collage-tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.tile-minecraft {
  grid-column: 1 / span 5;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.35vw, 30px);
  color: var(--paper);
  background:
    linear-gradient(140deg, rgba(154, 223, 107, 0.16), transparent 42%),
    linear-gradient(0deg, rgba(225, 45, 45, 0.14), transparent 68%),
    #11110f;
}

.tile-minecraft span,
.tile-code span,
.tile-apps span {
  position: relative;
  z-index: 2;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.tile-minecraft strong {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 8.2ch;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 4.35vw, 64px);
  line-height: 0.9;
  text-shadow: 3px 3px 0 rgba(225, 45, 45, 0.72), -2px -2px 0 rgba(154, 223, 107, 0.32);
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
}

.tile-minecraft small {
  position: relative;
  z-index: 2;
  max-width: 22ch;
  margin-top: 14px;
  color: var(--paper-soft);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.tile-morrowvale {
  grid-column: 6 / span 9;
  grid-row: 1 / span 4;
}

.tile-code {
  grid-column: 1 / span 6;
  grid-row: 5 / span 3;
  padding: clamp(12px, 1.4vw, 16px);
  background:
    linear-gradient(90deg, rgba(111, 180, 255, 0.14), transparent 46%),
    rgba(9, 9, 8, 0.9);
}

.tile-code pre {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 10px 0 0;
  color: var(--paper);
  font: 700 clamp(10px, 1.08vw, 14px) / 1.36 "Courier New", Consolas, monospace;
  white-space: pre-wrap;
}

.tile-code code {
  color: inherit;
}

.tile-apps {
  grid-column: 1 / span 6;
  grid-row: 8 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 13px;
  background:
    linear-gradient(135deg, rgba(111, 180, 255, 0.28), transparent 48%),
    linear-gradient(0deg, rgba(154, 223, 107, 0.18), transparent 64%),
    #101312;
}

.tile-apps strong {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(21px, 2.35vw, 30px);
  line-height: 0.84;
  text-shadow: 3px 3px 0 rgba(111, 180, 255, 0.34), -2px -2px 0 rgba(225, 45, 45, 0.38);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tile-apps small {
  position: relative;
  z-index: 2;
  color: var(--paper-soft);
  font-size: 9px;
  line-height: 1.15;
  text-transform: uppercase;
}

.tile-pokev {
  grid-column: 7 / span 5;
  grid-row: 5 / span 3;
}

.tile-kiwi {
  grid-column: 12 / span 3;
  grid-row: 5 / span 4;
}

.tile-sound {
  grid-column: 7 / span 5;
  grid-row: 8 / span 2;
}

.tile-sound img {
  object-position: 50% 40%;
  filter: grayscale(0.1) contrast(1.18) brightness(0.78) saturate(1.1);
}

.tile-sound:hover img {
  filter: grayscale(0) contrast(1.22) brightness(0.9) saturate(1.2);
}

.signal-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -8px 8px 0 var(--red);
}

.signal-card span,
.project-meta,
.project-tags,
.track-list {
  font-size: 11px;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 0.9;
  text-transform: uppercase;
}

.ticker {
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  color: var(--ink);
  background: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  animation: drift 26s linear infinite;
}

.ticker span {
  padding-inline: 24px;
  white-space: nowrap;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-40%);
  }
}

@keyframes mail-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes mail-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

.profile,
.focus,
.archive,
.services,
.experience,
.contact,
.simple-section,
.page-hero {
  padding: clamp(52px, 8vw, 100px) clamp(16px, 4vw, 56px);
}

.simple-hero {
  min-height: calc(100svh - 74px);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(225, 45, 45, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.012);
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--paper-soft);
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1.45;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-note {
  max-width: 460px;
  margin: 0;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.5;
}

.focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.focus article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 8, 0.54);
}

.focus span,
.skill-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.focus strong {
  display: block;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 0.95;
  text-transform: uppercase;
}

.focus p {
  color: var(--paper-soft);
  line-height: 1.55;
}

.services {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(225, 45, 45, 0.07), transparent 46%),
    rgba(255, 255, 255, 0.012);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(9, 9, 8, 0.72);
  overflow: hidden;
}

.service-grid article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--red);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-grid article:hover::after {
  background: var(--green);
  transform: scaleX(1);
}

.service-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.service-grid h3 {
  margin-bottom: 14px;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 0.92;
  text-transform: uppercase;
}

.service-grid p {
  color: var(--paper-soft);
  line-height: 1.5;
}

.service-grid ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 20px 0 0;
  list-style: none;
}

.service-grid li {
  padding: 7px 8px;
  color: var(--paper);
  border: 1px solid rgba(232, 226, 211, 0.14);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  text-transform: uppercase;
}

.simple-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(154, 223, 107, 0.055), transparent 46%),
    rgba(255, 255, 255, 0.012);
}

.simple-section h2 {
  max-width: 980px;
  margin-bottom: 28px;
}

.simple-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.simple-list article {
  min-height: 210px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 8, 0.62);
}

.simple-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.simple-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1;
  text-transform: uppercase;
}

.simple-list p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.45;
}

.profile {
  border-bottom: 1px solid var(--line);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
}

.profile-grid p {
  max-width: 760px;
  color: var(--paper-soft);
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1.45;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  min-height: 62px;
  display: block;
  padding: 12px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.skill-list span {
  margin-bottom: 6px;
}

.filters {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 13px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.project-card {
  grid-column: span 4;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.project-card.featured {
  grid-column: span 8;
}

.project-card.has-gallery {
  grid-column: span 8;
}

.featured-preview .project-card,
.featured-preview .project-card.featured,
.featured-preview .project-card.has-gallery {
  grid-column: span 4;
  min-height: 500px;
}

.featured-preview .project-gallery {
  display: none;
}

.archive-actions,
.simple-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.archive-toggle {
  min-width: min(100%, 250px);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #151512;
  overflow: hidden;
}

.project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
  filter: grayscale(0.35) contrast(1.25);
}

.project-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 7px;
  color: var(--paper);
  background: rgba(9, 9, 8, 0.72);
  border: 1px solid rgba(232, 226, 211, 0.16);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--paper-soft);
}

.project-body h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.94;
  text-transform: uppercase;
}

.project-body p {
  color: var(--paper-soft);
  line-height: 1.55;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.project-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(232, 226, 211, 0.16);
  background: rgba(9, 9, 8, 0.76);
  overflow: hidden;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.14);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.project-gallery figure:hover img {
  filter: grayscale(0) contrast(1.2);
  transform: scale(1.04);
}

.project-gallery figcaption {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 6px 7px;
  color: var(--green);
  border-top: 1px solid rgba(232, 226, 211, 0.12);
  font-size: 10px;
  line-height: 1.15;
  text-transform: uppercase;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.project-tags span {
  padding: 5px 8px;
  color: var(--paper);
  border: 1px solid var(--line);
}

.project-link {
  width: fit-content;
  margin-top: 16px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

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

.experience {
  border-bottom: 1px solid var(--line);
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.experience-list article {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.experience-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.experience-list strong {
  display: block;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.9;
  text-transform: uppercase;
}

.experience-list p {
  color: var(--paper-soft);
  line-height: 1.5;
}

.contact {
  min-height: 48svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact h2 {
  max-width: 920px;
  margin-bottom: 18px;
}

.contact-lead {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--paper-soft);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.45;
}

.availability {
  width: min(900px, 100%);
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(154, 223, 107, 0.38);
  background:
    linear-gradient(90deg, rgba(154, 223, 107, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.026);
  box-shadow: 6px 6px 0 rgba(225, 45, 45, 0.34);
}

.availability span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.availability strong {
  display: block;
  color: var(--paper);
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-actions {
  flex-wrap: wrap;
  gap: 16px;
}

.email-copyline {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  padding: 8px 0;
  color: var(--paper);
  user-select: text;
}

.mail-icon {
  position: relative;
  width: 34px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  background:
    linear-gradient(34deg, transparent 47%, var(--green) 49% 53%, transparent 55%),
    linear-gradient(146deg, transparent 47%, var(--green) 49% 53%, transparent 55%);
  background-position: 0 -2px, 0 -2px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 4px 4px 0 rgba(225, 45, 45, 0.52);
  animation: mail-float 2.6s ease-in-out infinite;
}

.mail-icon::before {
  content: none;
}

.mail-icon::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
  animation: mail-pulse 1.35s ease-in-out infinite;
}

.email-text {
  position: relative;
  display: block;
  max-width: 100%;
  color: var(--paper);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.48);
}

.email-text::before {
  content: "email:";
  margin-right: 9px;
  color: var(--green);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

.dev-signature {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(9, 9, 8, 0.82);
  border: 1px solid rgba(225, 45, 45, 0.58);
  box-shadow: 5px 5px 0 rgba(225, 45, 45, 0.34), 0 0 24px rgba(9, 9, 8, 0.7);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.84;
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dev-signature::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.dev-signature span {
  color: var(--red);
  font-weight: 800;
}

.dev-signature:hover {
  opacity: 1;
  color: #fff;
  border-color: var(--green);
  box-shadow: 5px 5px 0 rgba(154, 223, 107, 0.34), 0 0 28px rgba(154, 223, 107, 0.12);
  transform: translateY(-2px);
}

.hidden {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .focus,
  .service-grid,
  .profile-grid,
  .simple-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-visual {
    min-height: 640px;
    transform: none;
  }

  .hero-collage {
    grid-template-columns: repeat(14, minmax(0, 1fr));
    grid-template-rows: repeat(11, minmax(42px, 1fr));
  }

  .tile-minecraft {
    grid-column: 1 / span 7;
    grid-row: 1 / span 4;
  }

  .tile-morrowvale {
    grid-column: 8 / span 7;
    grid-row: 1 / span 4;
  }

  .tile-code {
    grid-column: 1 / span 8;
    grid-row: 5 / span 3;
  }

  .tile-apps {
    grid-column: 1 / span 8;
    grid-row: 8 / span 2;
  }

  .tile-kiwi {
    grid-column: 9 / span 6;
    grid-row: 5 / span 3;
  }

  .tile-pokev {
    grid-column: 1 / span 8;
    grid-row: 10 / span 2;
  }

  .tile-sound {
    grid-column: 9 / span 6;
    grid-row: 8 / span 4;
  }

  .project-card,
  .project-card.featured,
  .project-card.has-gallery {
    grid-column: span 6;
  }

  .experience-list {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
  }

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

  .simple-list article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    position: relative;
  }

  .site-nav {
    width: 100%;
    gap: 10px 14px;
    justify-content: flex-start;
    font-size: 11px;
    line-height: 1.35;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(34px, 13vw, 56px);
  }

  .hero,
  .profile,
  .focus,
  .archive,
  .services,
  .experience,
  .contact,
  .simple-section,
  .page-hero {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 36px;
    gap: 26px;
  }

  .hero-text,
  .profile-grid p,
  .contact-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .button,
  .filter {
    min-height: 44px;
  }

  .hero-actions,
  .contact-actions,
  .filters {
    align-items: stretch;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: 1 1 150px;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: auto;
  }

  .hero-collage {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(130px, auto);
    gap: 9px;
  }

  .tile-minecraft {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 170px;
  }

  .tile-morrowvale,
  .tile-code,
  .tile-apps,
  .tile-pokev {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .tile-morrowvale {
    min-height: 190px;
  }

  .tile-code {
    min-height: 175px;
  }

  .tile-apps {
    min-height: 125px;
  }

  .tile-pokev {
    min-height: 165px;
  }

  .tile-kiwi,
  .tile-sound {
    grid-column: auto;
    grid-row: auto;
    min-height: 160px;
  }

  .tile-minecraft strong {
    font-size: clamp(36px, 13.5vw, 58px);
  }

  .tile-code pre {
    font-size: 11px;
  }

  .project-card,
  .project-card.featured,
  .project-card.has-gallery {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .project-media,
  .project-media img {
    min-height: 220px;
  }

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

  .skill-list {
    grid-template-columns: 1fr;
  }

  .simple-list {
    grid-template-columns: 1fr;
  }

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

  .focus article,
  .experience-list article {
    min-height: 0;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .project-tags {
    gap: 6px;
  }

  .project-tags span,
  .service-grid li {
    font-size: 11px;
  }

  .availability {
    box-shadow: 4px 4px 0 rgba(225, 45, 45, 0.34);
  }

  .email-copyline {
    width: 100%;
  }

  .dev-signature {
    right: 12px;
    bottom: 10px;
    max-width: 150px;
    text-align: right;
  }
}

@media (max-width: 420px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

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

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

  .tile-kiwi,
  .tile-sound {
    grid-column: 1;
  }

  .filter {
    flex: 1 1 calc(50% - 8px);
  }

  .project-body {
    padding: 15px;
  }

  .project-media,
  .project-media img {
    min-height: 190px;
  }

  .mail-icon {
    width: 30px;
    height: 22px;
  }

  .email-copyline {
    gap: 11px;
  }
}
