:root {
  --paper: #f2f0e7;
  --paper-deep: #e8e4d8;
  --ink: #151612;
  --ink-soft: #4d5047;
  --line: rgba(21, 22, 18, 0.18);
  --acid: #c8ff52;
  --acid-dark: #7ea916;
  --coral: #ff7657;
  --violet: #9e90ff;
  --blue: #5fbbff;
  --white: #fffefa;
  --radius-sm: 0.75rem;
  --radius-md: 1.4rem;
  --radius-lg: 2.3rem;
  --shadow: 0 1.5rem 4rem rgba(21, 22, 18, 0.12);
  --shell: min(92vw, 1480px);
  --header-height: 5.2rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(21, 22, 18, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 4rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.dialog-open,
body.nav-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 500;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(6rem, 12vw, 11rem);
}

.scroll-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid-dark);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 200;
  top: 0.8rem;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(94vw, 1540px);
  min-height: var(--header-height);
  padding: 0.65rem 0.8rem 0.65rem 1rem;
  border: 1px solid rgba(21, 22, 18, 0.12);
  border-radius: 1.2rem;
  background: rgba(242, 240, 231, 0.86);
  box-shadow: 0 0.7rem 2rem rgba(21, 22, 18, 0.05);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 254, 250, 0.93);
  border-color: rgba(21, 22, 18, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--acid);
  background: var(--ink);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
}

.primary-nav a {
  position: relative;
  padding: 0.65rem 0.3rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.primary-nav a span {
  margin-right: 0.25rem;
  color: #86887e;
  font-size: 0.62rem;
  font-weight: 500;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.command-trigger {
  min-width: 7.5rem;
  padding: 0.75rem 0.85rem;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  min-height: 1.5rem;
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(23rem, 0.85fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: max(48rem, 100svh);
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 58rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.availability span,
.hero-availability i,
.system-status i,
.live-label i {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #59b43d;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(89, 180, 61, 0.55);
  animation: status-pulse 2.4s infinite;
}

@keyframes status-pulse {
  45% { box-shadow: 0 0 0 0.4rem rgba(89, 180, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(89, 180, 61, 0); }
}

.hero h1,
.section-header h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7.7vw, 8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.serif-line {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.text-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: 0.04em;
}

.text-highlight::before {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: -0.04em;
  left: -0.08em;
  height: 0.45em;
  background: var(--acid);
  border-radius: 0.04em;
  content: "";
  transform: rotate(-1deg);
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(15rem, 32rem) auto;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.hero-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 13rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 800;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.button svg {
  width: 1.15rem;
}

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

.button-primary:hover {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
}

.button-quiet {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.button-quiet:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.hero-system {
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--paper);
  transform: rotate(1.25deg);
  transition: transform 420ms var(--ease);
  min-width: 0;
}

.hero-system:hover {
  transform: rotate(0);
}

.system-toolbar,
.system-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.8rem;
  padding: 0.8rem 1.1rem;
  color: rgba(242, 240, 231, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.system-canvas {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
  min-height: 30rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(200, 255, 82, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 82, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(158, 144, 255, 0.18), transparent 48%);
  background-size: 2.5rem 2.5rem, 2.5rem 2.5rem, 100% 100%;
  perspective: 900px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.system-canvas::after {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(242, 240, 231, 0.14);
  border-radius: 50%;
  content: "";
}

.system-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 11rem;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 1rem rgba(200, 255, 82, 0.07), 0 0 5rem rgba(200, 255, 82, 0.18);
  text-align: center;
}

.system-core span {
  align-self: end;
  margin-bottom: -1rem;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.system-core strong {
  align-self: start;
  max-width: 8rem;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.system-orbit {
  position: absolute;
  z-index: 1;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 255, 82, 0.25);
  border-radius: 50%;
  animation: orbit 22s linear infinite;
}

.system-orbit::before,
.system-orbit::after {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.system-orbit::before { top: 13%; left: 14%; }
.system-orbit::after { right: 8%; bottom: 20%; background: var(--blue); }

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

.system-node {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.65rem;
  color: var(--paper);
  background: rgba(21, 22, 18, 0.9);
  border: 1px solid rgba(242, 240, 231, 0.2);
  border-radius: 0.55rem;
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.node-research { top: 16%; left: 8%; }
.node-strategy { top: 22%; right: 5%; }
.node-prototype { right: 8%; bottom: 16%; }
.node-learn { bottom: 18%; left: 7%; }

.system-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 0;
}

.system-footer p,
.system-footer strong {
  margin: 0;
}

.system-footer strong {
  color: var(--acid);
  font-family: "Helvetica Neue", sans-serif;
  font-size: 0.77rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Home hero 1.1 — identity and selected work */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(36rem, 1.18fr);
  gap: 0.85rem;
  align-items: stretch;
  width: min(96vw, 1580px);
  min-height: calc(100svh - 0.4rem);
  padding: calc(var(--header-height) + 2rem) 0.9rem 3.6rem;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 0 100%, rgba(158, 144, 255, 0.3), transparent 30rem),
    radial-gradient(circle at 100% 0, rgba(95, 187, 255, 0.2), transparent 26rem),
    var(--ink);
  border-radius: 0 0 2.7rem 2.7rem;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 44%;
  width: 10rem;
  height: 10rem;
  background: var(--coral);
  border-radius: 50%;
  content: "";
  filter: blur(5rem);
  opacity: 0.28;
  pointer-events: none;
}

.hero-profile,
.hero-work {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: clamp(34rem, calc(100svh - var(--header-height) - 7rem), 51rem);
  border-radius: 1.8rem;
}

.hero-profile {
  overflow: hidden;
  background: #243228;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-profile-image,
.hero-profile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-profile-image {
  object-fit: cover;
  object-position: 50% 57%;
  transform: scale(1.025);
  transition: transform 1s var(--ease), filter 500ms ease;
  animation: portrait-settle 1.2s var(--ease) both;
}

@keyframes portrait-settle {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1.025); }
}

.hero-profile:hover .hero-profile-image {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.065);
}

.hero-profile-shade {
  background:
    linear-gradient(180deg, rgba(10, 20, 14, 0.56) 0%, transparent 32%),
    linear-gradient(0deg, rgba(8, 12, 9, 0.95) 0%, rgba(8, 12, 9, 0.42) 49%, transparent 72%),
    linear-gradient(90deg, rgba(8, 12, 9, 0.28), transparent 58%);
  pointer-events: none;
}

.hero-profile-top {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.hero-profile-top p,
.hero-role,
.hero-work-kicker {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-profile-top p:first-child,
.hero-work-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-profile-top p:first-child span,
.hero-work-kicker span {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  letter-spacing: 0;
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-availability i {
  flex: 0 0 auto;
}

.hero-profile-copy {
  position: absolute;
  z-index: 2;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
}

.hero-role {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-profile h1 {
  display: grid;
  gap: 0.02em;
  margin: 0 0 1.4rem;
  color: var(--white);
  font-size: clamp(3.2rem, 4.7vw, 5.8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero-profile h1 > span {
  display: block;
  animation: hero-line-in 850ms var(--ease) both;
}

.hero-profile h1 > span:nth-child(2) { animation-delay: 90ms; }
.hero-profile h1 > span:nth-child(3) { animation-delay: 180ms; }

@keyframes hero-line-in {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-profile h1 .serif-line {
  color: #fff8dc;
  font-size: 0.82em;
  letter-spacing: -0.055em;
}

.hero-profile mark {
  position: relative;
  z-index: 0;
  padding: 0 0.08em;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
}

.hero-profile mark::before {
  position: absolute;
  z-index: -1;
  inset: 0.09em -0.04em -0.02em;
  background: var(--acid);
  border-radius: 0.08em;
  content: "";
  transform: rotate(-1.5deg);
}

.profile-signifier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.6rem;
  padding: 0.85rem 0.9rem 0.85rem 1rem;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.18);
  transition: transform 260ms var(--ease), background 220ms ease;
}

.profile-signifier span {
  display: grid;
  gap: 0.15rem;
}

.profile-signifier small {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.profile-signifier strong {
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.profile-signifier i {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.2rem;
  font-style: normal;
  transition: transform 260ms var(--ease), color 220ms ease, background 220ms ease;
}

.profile-signifier:hover {
  background: var(--acid);
  transform: translateY(-4px);
}

.profile-signifier:hover i {
  color: var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}

.hero-work {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.25rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.78), transparent 15rem),
    var(--acid);
  box-shadow: inset 0 0 0 1px rgba(21, 22, 18, 0.13);
}

.hero-work-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.hero-work-kicker {
  margin-bottom: 0.7rem;
}

.hero-work-kicker span {
  color: var(--paper);
  background: var(--ink);
}

.hero-work h2 {
  margin: 0;
  font-size: clamp(2.65rem, 4.25vw, 5rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.84;
}

.hero-work h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-work-header > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap 220ms var(--ease);
}

.hero-work-header > a:hover {
  gap: 0.8rem;
}

.hero-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(11rem, 0.88fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 0;
}

.hero-case-preview {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 1.15rem;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(21, 22, 18, 0.18);
  transform: translateY(1rem);
  animation: preview-card-in 720ms var(--ease) forwards;
  animation-delay: calc(180ms + var(--preview-index) * 100ms);
  opacity: 0;
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.hero-case-preview:first-child {
  grid-row: 1 / -1;
}

@keyframes preview-card-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-case-preview::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 7, 0.08) 24%, rgba(8, 9, 7, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 9, 7, 0.3), transparent 65%);
  content: "";
  pointer-events: none;
}

.hero-case-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 400ms ease;
}

.hero-case-preview[data-open-case="galvano-stellar"] img {
  object-position: 50% 12%;
}

.hero-case-preview[data-open-case="voor-je-draait"] img {
  object-position: 50% 30%;
}

.hero-case-preview:not(:first-child) img {
  right: 0;
  left: auto;
  width: 62%;
  filter: saturate(0.82) contrast(1.04);
}

.hero-case-preview:not(:first-child)::after {
  background:
    linear-gradient(90deg, var(--ink) 0 43%, rgba(21, 22, 18, 0.82) 60%, rgba(21, 22, 18, 0.2) 100%),
    linear-gradient(180deg, transparent 30%, rgba(8, 9, 7, 0.8) 100%);
}

.hero-case-preview:nth-child(2) .hero-case-meta span:first-child {
  background: var(--coral);
}

.hero-case-preview:nth-child(3) .hero-case-meta span:first-child {
  background: var(--violet);
}

.hero-case-preview:hover {
  z-index: 2;
  box-shadow: 0 1.25rem 3rem rgba(21, 22, 18, 0.24);
  transform: translateY(-5px);
}

.hero-case-preview:hover img {
  filter: saturate(1.12) contrast(1.02);
  transform: scale(1.065);
}

.hero-case-meta,
.hero-case-copy {
  position: absolute;
  z-index: 2;
  right: 1rem;
  left: 1rem;
}

.hero-case-meta {
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-case-meta span:first-child {
  padding: 0.4rem 0.52rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
}

.hero-case-copy {
  bottom: 1rem;
  display: grid;
  gap: 0.35rem;
}

.hero-case-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}

.hero-case-copy strong {
  max-width: 20rem;
  font-size: clamp(1.4rem, 2.15vw, 2.65rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero-case-preview:not(:first-child) .hero-case-copy strong {
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
}

.hero-case-preview:not(:first-child) .hero-case-copy {
  right: 38%;
}

.hero-case-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.68rem;
  font-weight: 750;
}

.hero-case-cta i {
  font-size: 1rem;
  font-style: normal;
  transition: transform 220ms var(--ease);
}

.hero-case-preview:hover .hero-case-cta i {
  transform: translate(0.2rem, -0.2rem);
}

.hero-work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2rem;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-work-footer p {
  margin: 0;
}

.hero-work-footer p span {
  color: var(--coral);
}

.hero-work-footer button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
}

.hero-work-footer kbd {
  margin-left: 0.35rem;
  padding: 0.2rem 0.35rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 0.3rem;
  font-size: 0.54rem;
}

.hero .scroll-cue {
  right: 1.2rem;
  bottom: 0.8rem;
  left: auto;
  color: rgba(255, 255, 255, 0.66);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scroll-cue i {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--ink);
  content: "";
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  from { transform: translateX(-110%); }
  to { transform: translateX(220%); }
}

.manifesto {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.marquee {
  overflow: hidden;
  padding: 1rem 0;
  color: var(--ink);
  background: var(--acid);
  border-block: 1px solid rgba(21, 22, 18, 0.4);
  white-space: nowrap;
}

.marquee > div {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee span {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee i {
  font-style: normal;
}

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

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.55fr 0.9fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  padding-block: clamp(6rem, 12vw, 10rem);
}

.manifesto .section-kicker {
  color: rgba(242, 240, 231, 0.52);
}

.manifesto-lead {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.manifesto-lead em {
  color: var(--acid);
  font-family: Georgia, serif;
  font-weight: 400;
}

.manifesto-note {
  border-top: 1px solid rgba(242, 240, 231, 0.25);
}

.manifesto-note .note-index {
  display: inline-block;
  margin-top: -1px;
  padding: 0.6rem 0.8rem;
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.manifesto-note p {
  margin: 2rem 0 0;
  color: rgba(242, 240, 231, 0.7);
  font-size: 0.95rem;
}

.manifesto-note strong {
  color: var(--paper);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-header > * {
  min-width: 0;
}

.section-header h2 {
  margin-top: 1.1rem;
  font-size: clamp(3.3rem, 7vw, 7.2rem);
}

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  letter-spacing: -0.025em;
  line-height: 1.58;
}

.case-list {
  display: grid;
  gap: 2.3rem;
}

.case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  min-height: 40rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 rgba(21, 22, 18, 0);
  transition: box-shadow 420ms var(--ease), transform 420ms var(--ease);
}

.case-card:nth-child(even) {
  grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr);
}

.case-card:nth-child(even) .case-media {
  order: 2;
}

.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.35rem);
}

.case-media {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  background: #d7d7ce;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.case-card[data-case="galvano-stellar"] .case-media img {
  object-position: top center;
}

.case-card[data-case="voor-je-draait"] .case-media img {
  object-fit: cover;
  object-position: center top;
  background: #ebe7db;
}

.case-card:hover .case-media img {
  transform: scale(1.025);
}

.case-badge {
  position: absolute;
  z-index: 2;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 0.5rem;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-body h3 {
  margin: auto 0 1.3rem;
  padding-top: 2rem;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.case-summary {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.case-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.case-tools li,
.tool-tag,
.ai-stack li {
  padding: 0.42rem 0.58rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 750;
}

.case-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.case-open span:last-child {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: color 200ms ease, background 200ms ease, transform 280ms var(--ease);
}

.case-open:hover span:last-child {
  color: var(--ink);
  background: var(--acid);
  transform: rotate(45deg);
}

.design-section {
  position: relative;
  background: #ddd8ca;
  border-block: 1px solid var(--line);
}

.design-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(rgba(21, 22, 18, 0.16) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  content: "";
  pointer-events: none;
}

.design-section > .section-shell {
  position: relative;
}

.filter-console {
  margin-bottom: 2.5rem;
  padding: 1.1rem;
  background: rgba(255, 254, 250, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.filter-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.filter-meta p {
  margin: 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-button span {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: 0.25rem;
  color: var(--ink-soft);
  background: rgba(21, 22, 18, 0.08);
  border-radius: 999px;
  font-size: 0.6rem;
}

.filter-button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.filter-button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.filter-button[aria-pressed="true"] span {
  color: var(--ink);
  background: var(--acid);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.design-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  min-height: 33rem;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: opacity 260ms ease, transform 360ms var(--ease), box-shadow 360ms var(--ease);
}

.design-card:nth-child(1),
.design-card:nth-child(5) {
  grid-column: span 8;
}

.design-card:nth-child(4),
.design-card:nth-child(6) {
  min-height: 28rem;
}

.design-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-0.35rem) rotate(-0.25deg);
}

.design-card.is-hidden {
  display: none;
}

.design-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 620ms var(--ease), filter 300ms ease;
}

.design-card[data-project="funda-flow"] img {
  object-fit: contain;
  background: #1c1c1c;
}

.design-card:hover img {
  filter: brightness(0.78);
  transform: scale(1.035);
}

.design-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(21, 22, 18, 0.14), transparent 36%, rgba(21, 22, 18, 0.92));
}

.design-number {
  align-self: flex-start;
  padding: 0.5rem 0.6rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 0.45rem;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 800;
}

.design-card-copy {
  transform: translateY(1.6rem);
  transition: transform 350ms var(--ease);
}

.design-card:hover .design-card-copy {
  transform: translateY(0);
}

.design-card-copy p {
  margin: 0 0 0.35rem;
  color: rgba(242, 240, 231, 0.68);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.design-card-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.3rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.design-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 300ms ease, transform 350ms var(--ease);
}

.design-card:hover .design-tools {
  opacity: 1;
  transform: translateY(0);
}

.design-tools span {
  padding: 0.35rem 0.5rem;
  color: var(--paper);
  background: rgba(21, 22, 18, 0.5);
  border: 1px solid rgba(242, 240, 231, 0.25);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
}

.archive-strip {
  display: grid;
  grid-template-columns: minmax(12rem, 0.4fr) 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.archive-strip > p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.archive-track span {
  padding: 0.55rem 0.7rem;
  color: var(--ink-soft);
  background: rgba(255, 254, 250, 0.58);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  font-size: 0.7rem;
}

.ai-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: #11120f;
}

.ai-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(200, 255, 82, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 82, 0.1) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
}

.ai-section .section-shell {
  position: relative;
}

.ai-section .section-kicker,
.ai-section .section-intro {
  color: rgba(242, 240, 231, 0.66);
}

.ai-principle {
  margin: 1.6rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(242, 240, 231, 0.2);
  color: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 0.74rem;
}

.ai-principle span {
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.3rem 0.45rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 0.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 38rem;
  overflow: hidden;
  padding: 1rem;
  background: #191a16;
  border: 1px solid rgba(242, 240, 231, 0.16);
  border-radius: var(--radius-md);
  transition: border-color 280ms ease, transform 360ms var(--ease);
}

.ai-card:hover {
  border-color: rgba(200, 255, 82, 0.55);
  transform: translateY(-0.35rem);
}

.ai-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.2rem 1rem;
  color: rgba(242, 240, 231, 0.57);
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.ai-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 14rem;
  overflow: hidden;
  background: #0d0e0c;
  border: 1px solid rgba(242, 240, 231, 0.12);
  border-radius: 0.95rem;
}

.ai-visual img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.ai-card:hover .ai-visual img {
  transform: scale(1.03);
}

.workflow-visual {
  position: relative;
  width: 84%;
  height: 10rem;
}

.workflow-line {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(200, 255, 82, 0.3);
}

.workflow-dot {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #191a16;
  border: 1px solid rgba(200, 255, 82, 0.5);
  border-radius: 50%;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  transform: translate(-50%, -50%);
}

.workflow-dot:nth-of-type(1) { left: 8%; }
.workflow-dot:nth-of-type(2) { left: 36%; }
.workflow-dot:nth-of-type(3) { left: 64%; }
.workflow-dot:nth-of-type(4) { left: 92%; color: var(--ink); background: var(--acid); }

.ai-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem 0.3rem 0.2rem;
}

.ai-card-copy h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.ai-card-copy > p {
  margin: 0;
  color: rgba(242, 240, 231, 0.68);
  font-size: 0.9rem;
}

.ai-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: auto 0 0;
  padding: 1.7rem 0 0;
  list-style: none;
}

.ai-stack li {
  color: rgba(242, 240, 231, 0.72);
  background: transparent;
  border-color: rgba(242, 240, 231, 0.18);
}

.ai-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.85rem 0.1rem 0;
  color: var(--acid);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(242, 240, 231, 0.14);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.ai-trace {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: 1rem;
  background: rgba(25, 26, 22, 0.76);
  border: 1px solid rgba(242, 240, 231, 0.15);
  border-radius: var(--radius-md);
}

.trace-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.25rem 1rem;
  color: rgba(242, 240, 231, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trace-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(242, 240, 231, 0.12);
  border-radius: 0.85rem;
  list-style: none;
}

.trace-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding: 1.2rem;
  background: #11120f;
}

.trace-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.55rem;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  content: "→";
  font-size: 0.65rem;
}

.trace-flow span {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
}

.trace-flow strong {
  margin-top: auto;
  font-size: 1.3rem;
}

.trace-flow small {
  margin-top: 0.2rem;
  color: rgba(242, 240, 231, 0.5);
  font-size: 0.68rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: start;
}

.portrait-frame {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  margin: 0;
}

.portrait-frame img {
  width: 100%;
  max-height: 48rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(0.88) contrast(1.03);
}

.portrait-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.2rem;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.about-copy {
  padding-top: clamp(1rem, 5vw, 5rem);
}

.about-lead {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.about-copy > p:not(.about-lead) {
  max-width: 43rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.principle-list {
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.principle-list article {
  display: grid;
  grid-template-columns: 3rem minmax(10rem, 0.7fr) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-list span {
  font-family: "Courier New", monospace;
  font-size: 0.67rem;
}

.principle-list h3,
.principle-list p {
  margin: 0;
}

.principle-list h3 {
  font-size: 1rem;
}

.principle-list p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.about-page-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.35rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 220ms var(--ease);
}

.about-page-link:hover {
  color: var(--ink);
  background: var(--coral);
  transform: translateX(0.2rem);
}

.contact {
  padding-bottom: 2rem;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 7rem);
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.contact-card::after {
  position: absolute;
  top: -25%;
  right: -8%;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 255, 82, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(200, 255, 82, 0.03), 0 0 0 8rem rgba(200, 255, 82, 0.02);
  content: "";
}

.contact-card .section-kicker {
  color: rgba(242, 240, 231, 0.55);
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-top: 1.5rem;
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.contact-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 35rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: 1rem 0;
  color: var(--acid);
  border-bottom: 2px solid var(--acid);
  text-decoration: none;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 750;
}

.contact-link svg {
  width: 2rem;
  transition: transform 220ms var(--ease);
}

.contact-link:hover svg {
  transform: translateX(0.5rem);
}

.contact-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  color: rgba(242, 240, 231, 0.52);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.site-footer p,
.site-footer a {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer a {
  justify-self: end;
  font-weight: 800;
}

.project-dialog,
.command-dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
}

.project-dialog {
  width: min(94vw, 1180px);
  max-height: 92svh;
  overflow: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.42);
}

.project-dialog::backdrop,
.command-dialog::backdrop {
  background: rgba(9, 10, 8, 0.76);
  backdrop-filter: blur(9px);
}

.project-dialog[open] {
  animation: dialog-in 360ms var(--ease) both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(1.5rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-close {
  position: sticky;
  z-index: 30;
  top: 1rem;
  float: right;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 1rem 1rem -4rem 0;
  color: var(--paper);
  background: rgba(21, 22, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.dialog-close span {
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-hero {
  position: relative;
  display: grid;
  min-height: 31rem;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.dialog-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.53;
}

.dialog-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 22, 18, 0.1), rgba(21, 22, 18, 0.9));
  content: "";
}

.dialog-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: clamp(2rem, 6vw, 5rem);
}

.dialog-hero-copy p {
  margin: 0 0 1rem;
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.dialog-hero-copy h2 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.dialog-body {
  padding: clamp(2rem, 6vw, 5rem);
}

.dialog-summary {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.dialog-facts {
  display: grid;
  gap: 1.2rem;
  align-content: start;
  margin: 0;
}

.dialog-facts div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dialog-facts dt {
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dialog-facts dd {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.dialog-lead {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.dialog-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-block: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.dialog-metric {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
}

.dialog-metric strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.dialog-metric span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.dialog-story {
  display: grid;
  gap: 0;
}

.story-row {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.story-row h3 {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.story-row p {
  max-width: 48rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.68;
}

.dialog-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 2rem 0 4rem;
  padding: 0;
  list-style: none;
}

.dialog-phases li {
  min-height: 8rem;
  padding: 1rem;
  background: var(--ink);
  border-radius: 0.8rem;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 750;
}

.dialog-phases span {
  display: block;
  margin-bottom: 2rem;
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
}

.dialog-media {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.dialog-media figure {
  margin: 0;
}

.dialog-media img,
.dialog-media video {
  width: 100%;
  border-radius: var(--radius-md);
}

.dialog-media figcaption,
.dialog-note {
  padding: 0.7rem 0.2rem;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
}

.dialog-note {
  margin: 3rem 0 0;
  padding: 1rem;
  background: #e3dfd2;
  border-radius: 0.7rem;
}

.design-dialog-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 38rem;
}

.design-dialog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a1a17;
}

.design-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.design-dialog-copy .section-kicker {
  margin-bottom: 1rem;
}

.design-dialog-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.design-dialog-copy > p {
  margin: 1.7rem 0;
  color: var(--ink-soft);
}

.design-dialog-copy .case-tools {
  margin-top: auto;
}

.ai-dialog {
  min-height: 35rem;
  padding: clamp(2rem, 6vw, 6rem);
  color: var(--paper);
  background: var(--ink);
}

.ai-dialog .section-kicker {
  color: var(--acid);
}

.ai-dialog h2 {
  max-width: 50rem;
  margin: 1rem 0 2rem;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.ai-dialog-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 240, 231, 0.2);
}

.ai-dialog-grid > p {
  margin: 0;
  color: rgba(242, 240, 231, 0.72);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.proof-box {
  padding: 1.2rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 0.8rem;
}

.proof-box span {
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-box p {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.ai-dialog .case-tools li {
  color: rgba(242, 240, 231, 0.78);
  background: transparent;
  border-color: rgba(242, 240, 231, 0.2);
}

.command-dialog {
  top: 12vh;
  bottom: auto;
  width: min(92vw, 680px);
  max-height: 72svh;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 18, 0.22);
  border-radius: 1.2rem;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.38);
}

.command-dialog[open] {
  animation: command-in 220ms var(--ease) both;
}

@keyframes command-in {
  from { opacity: 0; transform: translateY(-0.7rem) scale(0.98); }
}

.command-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.command-head svg {
  width: 1.25rem;
}

.command-head input {
  width: 100%;
  padding: 0.4rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.command-head kbd,
.command-close {
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-color: var(--line);
}

.command-close {
  min-width: 2.7rem;
  min-height: 1.8rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
}

.command-results {
  max-height: 50svh;
  overflow: auto;
  padding: 0.6rem;
}

.command-group-label {
  padding: 0.5rem 0.55rem;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.command-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  padding: 0.7rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0.7rem;
  cursor: pointer;
  text-align: left;
}

.command-result:hover,
.command-result.is-selected {
  background: var(--acid);
}

.result-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
}

.command-result strong,
.command-result small {
  display: block;
}

.command-result strong {
  font-size: 0.82rem;
}

.command-result small {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.67rem;
}

.command-result > span:last-child {
  color: var(--ink-soft);
}

.command-empty {
  padding: 3rem 1rem;
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.82rem;
}

.command-help {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0.65rem 1rem;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  font-size: 0.61rem;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  max-width: 24rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.7rem);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

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

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(19rem, 0.82fr) minmax(0, 1.18fr);
    gap: 0.7rem;
    padding-top: calc(var(--header-height) + 1.7rem);
    padding-bottom: 3.4rem;
  }

  .hero-profile,
  .hero-work {
    min-height: 36rem;
  }

  .hero-work {
    padding: 1rem;
  }

  .hero-case-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(9rem, 0.92fr);
  }

  .case-card,
  .case-card:nth-child(even) {
    grid-template-columns: 1fr 0.85fr;
    min-height: 35rem;
  }

  .case-card:nth-child(even) .case-media {
    order: initial;
  }

  .design-card,
  .design-card:nth-child(1),
  .design-card:nth-child(5) {
    grid-column: span 6;
  }

  .ai-cards {
    grid-template-columns: 1fr 1fr;
  }

  .ai-card:last-child {
    grid-column: 1 / -1;
    min-height: 32rem;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(92vw, 720px);
    --header-height: 4.5rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    padding: 0.55rem 0.6rem 0.55rem 0.8rem;
  }

  .brand-name,
  .command-trigger {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.8rem;
    padding: 0.6rem 0.8rem;
    color: var(--paper);
    background: var(--ink);
    border: 0;
    border-radius: 0.7rem;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 750;
  }

  .nav-toggle-lines {
    display: grid;
    gap: 0.25rem;
    width: 1rem;
  }

  .nav-toggle-lines i {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child {
    transform: translateY(0.13rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child {
    transform: translateY(-0.13rem) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-height) + 1.8rem);
    left: 3vw;
    display: grid;
    width: 94vw;
    padding: 0.7rem;
    background: var(--ink);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.7rem);
    transition: opacity 180ms ease, transform 220ms var(--ease);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 0.9rem;
    color: var(--paper);
    border-bottom: 1px solid rgba(242, 240, 231, 0.14);
    font-size: 0.85rem;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a span {
    color: var(--acid);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero-profile {
    min-height: 44rem;
  }

  .hero-work {
    min-height: 42rem;
  }

  .hero-profile h1 {
    font-size: clamp(3.6rem, 9vw, 6rem);
  }

  .hero-case-copy strong {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  }

  .hero-case-preview:not(:first-child) .hero-case-copy strong {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
  }

  .eyebrow-row {
    margin-bottom: 2.5rem;
  }

  .hero-intro,
  .section-header,
  .manifesto-grid,
  .about-grid,
  .dialog-summary,
  .design-dialog-visual,
  .ai-dialog-grid {
    grid-template-columns: 1fr;
  }

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

  .manifesto-grid {
    gap: 2.5rem;
  }

  .manifesto-note {
    max-width: 25rem;
  }

  .section-header {
    align-items: start;
  }

  .section-intro {
    max-width: 42rem;
  }

  .case-card,
  .case-card:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-media {
    min-height: 28rem;
  }

  .case-body h3 {
    margin-top: 2rem;
  }

  .archive-strip {
    grid-template-columns: 1fr;
  }

  .trace-flow {
    grid-template-columns: 1fr 1fr;
  }

  .trace-flow li:nth-child(2)::after {
    display: none;
  }

  .portrait-frame {
    position: relative;
    top: auto;
    max-width: 34rem;
  }

  .dialog-phases {
    grid-template-columns: 1fr 1fr;
  }

  .design-dialog-visual img {
    max-height: 55svh;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
    background-size: 100% 3rem;
  }

  .section-pad {
    padding-block: 6rem;
  }

  .hero {
    width: 100%;
    gap: 0.6rem;
    padding: calc(var(--header-height) + 2.5rem) 0.55rem 3.2rem;
    border-radius: 0 0 1.7rem 1.7rem;
  }

  .hero-profile,
  .hero-work {
    border-radius: 1.3rem;
  }

  .hero-profile {
    min-height: 34rem;
  }

  .hero-profile-image {
    object-position: 50% 57%;
  }

  .hero-profile-top {
    padding: 0.9rem;
  }

  .hero-availability {
    max-width: 8.5rem;
    justify-content: flex-end;
    text-align: right;
  }

  .hero-profile-copy {
    right: 0.9rem;
    bottom: 0.9rem;
    left: 0.9rem;
  }

  .hero-profile h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 13vw, 4.65rem);
  }

  .profile-signifier {
    min-height: 4.15rem;
  }

  .profile-signifier small {
    max-width: 15rem;
    font-size: 0.62rem;
  }

  .hero-work {
    min-height: auto;
    gap: 1rem;
    padding: 1rem;
  }

  .hero-work-header {
    align-items: start;
  }

  .hero-work h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-work-header > a {
    margin-top: 2.4rem;
    white-space: nowrap;
  }

  .hero-case-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-case-preview,
  .hero-case-preview:first-child {
    grid-row: auto;
    min-height: 14rem;
  }

  .hero-case-preview:first-child {
    min-height: 19rem;
  }

  .hero-case-copy strong,
  .hero-case-preview:not(:first-child) .hero-case-copy strong {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .hero-work-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero .scroll-cue {
    display: none;
  }

  .marquee {
    padding: 0.75rem 0;
  }

  .manifesto-grid {
    padding-block: 5rem;
  }

  .manifesto-lead {
    font-size: 2.35rem;
  }

  .section-header {
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .section-header h2,
  .contact-card h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .case-list {
    gap: 1.2rem;
  }

  .case-card {
    border-radius: 1.35rem;
  }

  .case-media {
    min-height: 20rem;
  }

  .case-body {
    padding: 1.4rem;
  }

  .case-body h3 {
    font-size: 3.2rem;
  }

  .filter-console {
    padding: 1rem;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-buttons::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

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

  .design-card,
  .design-card:nth-child(1),
  .design-card:nth-child(4),
  .design-card:nth-child(5),
  .design-card:nth-child(6) {
    grid-column: 1;
    min-height: 28rem;
  }

  .design-card-copy {
    transform: none;
  }

  .design-tools {
    opacity: 1;
    transform: none;
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }

  .ai-card,
  .ai-card:last-child {
    grid-column: auto;
    min-height: 35rem;
  }

  .trace-flow {
    grid-template-columns: 1fr;
  }

  .trace-flow li {
    min-height: 7rem;
  }

  .trace-flow li::after {
    display: none !important;
  }

  .principle-list article {
    grid-template-columns: 2rem 1fr;
  }

  .principle-list p {
    grid-column: 2;
  }

  .contact-card {
    padding: 2rem 1.4rem;
    border-radius: 1.4rem;
  }

  .contact-card::after {
    display: none;
  }

  .contact-card h2 {
    font-size: 3.15rem;
  }

  .contact-meta {
    display: grid;
  }

  .project-dialog {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }

  .dialog-hero {
    min-height: 28rem;
  }

  .dialog-hero-copy,
  .dialog-body {
    padding: 1.5rem;
  }

  .dialog-hero-copy h2 {
    font-size: 3.7rem;
  }

  .dialog-summary {
    gap: 2.5rem;
  }

  .dialog-metrics {
    grid-template-columns: 1fr;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .dialog-phases {
    grid-template-columns: 1fr;
  }

  .dialog-phases li {
    min-height: 6rem;
  }

  .dialog-phases span {
    margin-bottom: 1rem;
  }

  .design-dialog-copy {
    min-height: 43svh;
  }

  .ai-dialog {
    min-height: 100svh;
    padding: 5rem 1.5rem 2rem;
  }

  .ai-dialog h2 {
    font-size: 3.6rem;
  }

  .command-dialog {
    top: 5vh;
    width: 96vw;
    max-height: 88svh;
  }

  .command-help {
    display: none;
  }

  .site-footer {
    min-height: 6rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* ========================================================================== 
   SHOWCASE SYSTEM / v3
   One visual, data-driven presentation layer for all published work.
   ========================================================================== */

.showcase-hub.section-pad {
  padding-bottom: 0;
  background: #f5f2ea;
}

.work-intro {
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.work-intro .section-kicker {
  margin-bottom: 1.25rem;
}

.work-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
}

.work-intro-grid h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.work-intro-grid h2 span {
  font-weight: 400;
  letter-spacing: -0.045em;
}

.work-intro-grid > p {
  max-width: 30rem;
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.45;
}

.category-nav-shell {
  position: sticky;
  z-index: 150;
  top: var(--header-height);
  padding-block: 0.65rem;
  background: linear-gradient(180deg, rgba(245, 242, 234, 0.98), rgba(245, 242, 234, 0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.category-nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.35rem;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.65rem 0.9rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 22, 18, 0.13);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.category-nav a i {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  background: var(--category-accent);
  border: 1px solid rgba(21, 22, 18, 0.18);
  border-radius: 50%;
}

.category-nav a:hover,
.category-nav a.is-active {
  color: var(--ink);
  background: var(--category-focus);
  border-color: var(--category-accent);
}

.category-nav a:hover {
  transform: translateY(-1px);
}

.category-nav a:focus-visible {
  outline-color: var(--category-accent);
}

.showcase-category {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 4.5rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  overflow: clip;
  color: var(--category-ink);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--category-accent) 9%, transparent), transparent 38%),
    var(--category-surface);
  border-bottom: 1px solid var(--category-border);
}

.showcase-category::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.45rem;
  background: var(--category-accent);
  content: "";
}

.showcase-category::after {
  position: absolute;
  top: clamp(2rem, 7vw, 7rem);
  right: -4rem;
  width: clamp(10rem, 22vw, 24rem);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--category-accent) 30%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem color-mix(in srgb, var(--category-accent) 4%, transparent),
    0 0 0 5rem color-mix(in srgb, var(--category-accent) 3%, transparent);
  pointer-events: none;
  content: "";
}

.category-shell {
  position: relative;
  z-index: 1;
}

.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.category-heading > div:first-child {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
}

.category-number {
  display: grid;
  place-items: center;
  width: 3.2rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  color: #fff;
  background: var(--category-accent);
  border-radius: 50%;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.category-heading h3 {
  max-width: 18ch;
  margin: -0.08em 0 0.45rem;
  font-size: clamp(2.15rem, 4.5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.category-heading p {
  max-width: 36rem;
  margin: 0;
  color: color-mix(in srgb, var(--category-ink) 72%, transparent);
  font-size: 0.95rem;
}

.category-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.category-controls > span {
  margin-right: 0.5rem;
  color: color-mix(in srgb, var(--category-ink) 68%, transparent);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.category-controls button {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  color: var(--category-ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--category-border);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.category-controls button:hover:not(:disabled) {
  color: #fff;
  background: var(--category-hover);
  transform: translateY(-2px);
}

.category-controls button:disabled {
  cursor: default;
  opacity: 0.32;
}

.showcase-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(17rem, 24vw, 20.5rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.2rem 1.6rem;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--category-accent) color-mix(in srgb, var(--category-accent) 15%, transparent);
  scrollbar-width: thin;
}

.showcase-rail:focus-visible {
  outline-color: var(--category-accent);
  outline-offset: 0.4rem;
}

.showcase-card-wrap {
  min-width: 0;
  perspective: 900px;
  scroll-snap-align: start;
}

.showcase-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  position: relative;
  display: grid;
  grid-template-rows: 59% 41%;
  width: 100%;
  aspect-ratio: 5 / 7;
  padding: 0;
  overflow: hidden;
  color: var(--category-ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid color-mix(in srgb, var(--category-border) 68%, #fff);
  border-radius: 1.45rem;
  box-shadow: 0 1rem 2.6rem color-mix(in srgb, var(--category-ink) 13%, transparent);
  text-align: left;
  text-decoration: none;
  transform: translateZ(0) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y));
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 340ms var(--ease), box-shadow 340ms var(--ease), border-color 220ms ease;
}

.showcase-card-media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--category-accent) 20%, #191a17);
}

.showcase-card-media > img,
.showcase-card-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform 650ms var(--ease), filter 320ms ease;
}

.showcase-card-index {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding-inline: 0.45rem;
  color: #fff;
  background: rgba(15, 16, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.showcase-card-glare {
  position: absolute;
  inset: -30%;
  opacity: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.58), transparent 29%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.showcase-card-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1.05rem 0.95rem;
}

.showcase-card-category {
  display: block;
  margin-bottom: 0.52rem;
  color: var(--category-hover);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.showcase-card-body > strong {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0.38rem;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showcase-card-subtitle {
  display: -webkit-box;
  overflow: hidden;
  color: color-mix(in srgb, var(--category-ink) 73%, transparent);
  font-size: 0.72rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.showcase-card[data-showcase-card="meer-dan-een-huis"] .showcase-card-subtitle {
  font-size: 0.68rem;
  line-height: 1.34;
  -webkit-line-clamp: 4;
}

.showcase-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.7rem;
  margin-top: auto;
}

.showcase-card-footer > i {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  color: #fff;
  background: var(--category-accent);
  border-radius: 50%;
  font-size: 0.85rem;
  font-style: normal;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.software-chips {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.software-chip {
  display: grid;
  place-items: center;
  min-width: 1.82rem;
  height: 1.82rem;
  padding-inline: 0.35rem;
  color: var(--category-ink);
  background: var(--category-surface);
  border: 1px solid color-mix(in srgb, var(--category-border) 65%, transparent);
  border-radius: 0.48rem;
}

.software-chip b {
  font-family: "Courier New", monospace;
  font-size: 0.55rem;
  letter-spacing: -0.03em;
}

.software-more {
  font-family: "Courier New", monospace;
  font-size: 0.57rem;
  font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
  .showcase-card:hover,
  .showcase-card:focus-visible {
    border-color: var(--category-accent);
    box-shadow: 0 1.8rem 3.8rem color-mix(in srgb, var(--category-ink) 22%, transparent);
    transform: translateY(-0.55rem) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y));
  }

  .showcase-card:hover .showcase-card-media > img,
  .showcase-card:hover .showcase-card-media > video,
  .showcase-card:focus-visible .showcase-card-media > img {
    transform: scale(1.045);
  }

  .showcase-card:hover .showcase-card-glare {
    opacity: 0.55;
  }

  .showcase-card:hover .showcase-card-footer > i,
  .showcase-card:focus-visible .showcase-card-footer > i {
    background: var(--category-hover);
    transform: rotate(8deg) scale(1.06);
  }
}

.showcase-card:focus-visible {
  outline: 4px solid var(--category-focus);
  outline-offset: 4px;
}

.showcase-card:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}

.showcase-placeholder {
  cursor: default;
  border-style: dashed;
  box-shadow: none;
}

.placeholder-art {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--category-accent);
}

.placeholder-art span {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.placeholder-art span:nth-child(1) { top: -18%; left: -14%; }
.placeholder-art span:nth-child(2) { right: -18%; bottom: -18%; }
.placeholder-art span:nth-child(3) { top: 28%; left: 29%; background: rgba(255, 255, 255, 0.14); }

.placeholder-art b {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.placeholder-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: color-mix(in srgb, var(--category-ink) 68%, transparent);
  font-size: 0.66rem;
  font-weight: 750;
}

.placeholder-status i {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--category-accent);
  border-radius: 50%;
}

.workflow-graphic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(20rem, 38vw, 34rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  color: #eef1ff;
  background:
    linear-gradient(rgba(129, 151, 238, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 151, 238, 0.13) 1px, transparent 1px),
    #101839;
  background-size: 2.4rem 2.4rem;
  border: 1px solid rgba(196, 206, 255, 0.28);
  border-radius: 1.1rem;
}

.workflow-graphic.is-compact {
  min-height: 100%;
  padding: 1rem;
  border: 0;
  border-radius: 0;
}

.workflow-graphic-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.workflow-graphic-head i {
  width: 0.45rem;
  height: 0.45rem;
  background: #8dacff;
  border-radius: 50%;
  box-shadow: 0 0 1.2rem #8dacff;
}

.workflow-graphic ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-graphic li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 206, 255, 0.42);
}

.workflow-graphic li:not(:last-child)::after {
  position: absolute;
  top: -0.22rem;
  right: -0.62rem;
  color: #8dacff;
  content: "→";
}

.workflow-graphic li span {
  color: #8dacff;
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
}

.workflow-graphic li strong {
  font-size: clamp(0.68rem, 1vw, 0.9rem);
}

.workflow-graphic.is-compact .workflow-graphic-head {
  font-size: 0.5rem;
}

.workflow-graphic.is-compact li strong {
  font-size: 0.56rem;
}

.minecraft-server-graphic {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(20rem, 38vw, 34rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  color: #f2f4ff;
  background:
    radial-gradient(circle at 78% 18%, rgba(99, 235, 255, 0.22), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(152, 92, 255, 0.28), transparent 32%),
    linear-gradient(145deg, #10163d 0%, #15184d 48%, #090e2b 100%);
  border: 1px solid rgba(196, 206, 255, 0.32);
  border-radius: 1.1rem;
}

.minecraft-server-graphic::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(139, 166, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 166, 255, 0.09) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.34) 72%, transparent 100%);
  content: "";
}

.minecraft-server-graphic::after {
  position: absolute;
  right: -8%;
  bottom: -24%;
  z-index: -1;
  width: 52%;
  aspect-ratio: 1;
  background: #724cff;
  border-radius: 50%;
  filter: blur(5rem);
  opacity: 0.18;
  content: "";
}

.minecraft-server-graphic.is-compact {
  min-height: 100%;
  padding: 1rem;
  border: 0;
  border-radius: 0;
}

.minecraft-server-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.minecraft-server-head i {
  width: 0.46rem;
  height: 0.46rem;
  background: #5ff5ad;
  border-radius: 50%;
  box-shadow: 0 0 1rem rgba(95, 245, 173, 0.85);
}

.minecraft-server-core {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(12rem, 1.4fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  margin: clamp(1.5rem, 4vw, 3.5rem) 0;
}

.minecraft-server-cube {
  position: relative;
  display: grid;
  place-content: center;
  width: min(100%, 12.5rem);
  aspect-ratio: 1;
  padding: 1rem;
  color: #11163e;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 44%),
    linear-gradient(145deg, #9f8bff, #65efff 56%, #59f5ae);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.2rem;
  box-shadow: 1.2rem 1.2rem 0 rgba(99, 76, 255, 0.16), 0 1.5rem 4rem rgba(0, 0, 0, 0.26);
  transform: rotate(-3deg);
}

.minecraft-server-cube::before,
.minecraft-server-cube::after {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  background: #12183f;
  content: "";
}

.minecraft-server-cube::before {
  top: 1rem;
  right: 1rem;
}

.minecraft-server-cube::after {
  bottom: 1rem;
  left: 1rem;
}

.minecraft-server-cube span,
.minecraft-server-cube small {
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.minecraft-server-cube strong {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.minecraft-server-terminal {
  padding: clamp(1rem, 2.5vw, 1.8rem);
  font-family: "Courier New", monospace;
  background: rgba(5, 9, 30, 0.76);
  border: 1px solid rgba(147, 176, 255, 0.32);
  border-radius: 0.9rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0.6rem);
}

.minecraft-server-terminal::before {
  display: block;
  width: 2.6rem;
  height: 0.42rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, #ff6c8f 0 26%, transparent 26% 37%, #ffd66c 37% 63%, transparent 63% 74%, #5ff5ad 74%);
  border-radius: 1rem;
  content: "";
}

.minecraft-server-terminal p {
  display: flex;
  gap: 0.55rem;
  margin: 0.55rem 0;
  color: rgba(235, 240, 255, 0.78);
  font-size: clamp(0.62rem, 1.1vw, 0.83rem);
}

.minecraft-server-terminal p:first-of-type {
  margin-bottom: 0.9rem;
  color: #f5f6ff;
  font-weight: 800;
}

.minecraft-server-terminal p span {
  color: #75edff;
}

.minecraft-server-terminal p i {
  color: #5ff5ad;
  font-style: normal;
  font-weight: 900;
}

.minecraft-server-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.minecraft-server-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(196, 206, 255, 0.4);
}

.minecraft-server-flow li:not(:last-child)::after {
  position: absolute;
  top: -0.24rem;
  right: -0.62rem;
  color: #75edff;
  content: "→";
}

.minecraft-server-flow span {
  color: #75edff;
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
}

.minecraft-server-flow strong {
  font-size: clamp(0.68rem, 1vw, 0.9rem);
}

.minecraft-server-graphic.is-compact .minecraft-server-head {
  font-size: 0.48rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-core {
  grid-template-columns: minmax(4.2rem, 0.72fr) minmax(6.8rem, 1.28fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.minecraft-server-graphic.is-compact .minecraft-server-cube {
  width: min(100%, 6.2rem);
  padding: 0.5rem;
  border-radius: 0.7rem;
  box-shadow: 0.55rem 0.55rem 0 rgba(99, 76, 255, 0.16);
}

.minecraft-server-graphic.is-compact .minecraft-server-cube::before,
.minecraft-server-graphic.is-compact .minecraft-server-cube::after {
  width: 0.55rem;
  height: 0.55rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-cube::before {
  top: 0.5rem;
  right: 0.5rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-cube::after {
  bottom: 0.5rem;
  left: 0.5rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-cube span,
.minecraft-server-graphic.is-compact .minecraft-server-cube small {
  font-size: 0.34rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-cube strong {
  font-size: 2rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-terminal {
  padding: 0.65rem;
  border-radius: 0.6rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-terminal::before {
  width: 1.6rem;
  height: 0.28rem;
  margin-bottom: 0.55rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-terminal p {
  gap: 0.3rem;
  margin: 0.28rem 0;
  font-size: 0.43rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-terminal p:first-of-type {
  margin-bottom: 0.45rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-flow strong {
  font-size: 0.53rem;
}

.minecraft-server-graphic.is-compact .minecraft-server-flow span {
  font-size: 0.47rem;
}

@media (max-width: 600px) {
  .minecraft-server-graphic:not(.is-compact) {
    padding: 1rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-head {
    font-size: 0.48rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-core {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.75rem;
    margin: 0.8rem 0;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube {
    width: 5.5rem;
    padding: 0.5rem;
    border-radius: 0.7rem;
    box-shadow: 0.55rem 0.55rem 0 rgba(99, 76, 255, 0.16);
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube::before,
  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube::after {
    width: 0.55rem;
    height: 0.55rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube::before {
    top: 0.5rem;
    right: 0.5rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube::after {
    bottom: 0.5rem;
    left: 0.5rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube span,
  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube small {
    font-size: 0.32rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-cube strong {
    font-size: 2rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-terminal {
    min-width: 0;
    padding: 0.6rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-terminal::before {
    width: 1.6rem;
    height: 0.28rem;
    margin-bottom: 0.5rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-terminal p {
    gap: 0.28rem;
    margin: 0.28rem 0;
    font-size: 0.43rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-terminal p:first-of-type {
    margin-bottom: 0.45rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-flow {
    gap: 0.42rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-flow span {
    font-size: 0.43rem;
  }

  .minecraft-server-graphic:not(.is-compact) .minecraft-server-flow strong {
    font-size: 0.52rem;
  }
}

.home-case-graphic {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #cbd5ff;
  background: #101839;
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 900;
}

/* Unified visual showcase detail */

.project-dialog[data-kind="showcase"] {
  width: min(96vw, 1560px);
  max-height: 96svh;
  color: var(--ink);
  background: #f7f4ec;
  border-radius: 1.4rem;
  overscroll-behavior: contain;
}

.project-dialog[data-kind="showcase"] .dialog-close {
  z-index: 80;
  top: 0.85rem;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0.85rem 0.85rem -4.1rem 0;
  color: #fff;
  background: rgba(16, 17, 15, 0.88);
}

.showcase-detail {
  --detail-shell: min(88vw, 1320px);
  min-height: 100%;
  background: #f7f4ec;
}

.showcase-detail-header {
  padding: clamp(1.25rem, 3vw, 2.75rem);
  color: var(--category-ink);
  background: var(--category-surface);
  border-bottom: 1px solid var(--category-border);
}

.showcase-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--category-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
}

.showcase-back:hover {
  color: #fff;
  background: var(--category-hover);
}

.showcase-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 8rem);
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.showcase-title-row > div > p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.showcase-title-row > div > p i {
  width: 0.62rem;
  height: 0.62rem;
  background: var(--category-accent);
  border-radius: 50%;
}

.showcase-title-row h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.6rem, 8.5vw, 8.8rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.showcase-title-row > p {
  max-width: 34rem;
  margin: 0 0 0.25rem;
  color: color-mix(in srgb, var(--category-ink) 80%, transparent);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  line-height: 1.45;
}

.showcase-detail-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: var(--category-ink);
  border: 1px solid var(--category-border);
  border-radius: 1rem;
  view-transition-name: showcase-cover;
}

.showcase-detail-hero > img,
.showcase-detail-hero > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-detail-hero .workflow-graphic,
.showcase-detail-hero .minecraft-server-graphic {
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.is-transition-source .showcase-card-media {
  view-transition-name: showcase-cover;
}

::view-transition-old(showcase-cover),
::view-transition-new(showcase-cover) {
  animation-duration: 480ms;
  animation-timing-function: var(--ease);
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.25rem);
  width: var(--detail-shell);
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 10rem);
}

.is-research-wall {
  background:
    linear-gradient(rgba(16, 42, 76, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 76, 0.026) 1px, transparent 1px),
    #f5f3ec;
  background-size: 2.5rem 2.5rem;
}

.is-research-wall .showcase-detail-header {
  background:
    radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--category-focus) 68%, transparent) 0 7rem, transparent 7.1rem),
    var(--category-surface);
}

.is-research-wall .showcase-detail-hero {
  aspect-ratio: 16 / 9;
  padding: clamp(0.45rem, 1.2vw, 1rem);
  background: #dff3ff;
}

.artifact-index {
  display: grid;
  grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 5vw, 6rem);
  width: var(--detail-shell);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--category-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--category-border);
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3.5rem rgba(16, 42, 76, 0.08);
}

.artifact-index-intro h3 {
  max-width: 17ch;
  margin: 0.8rem 0 2rem;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.artifact-index dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.artifact-index dl > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--category-border) 55%, transparent);
}

.artifact-index dt,
.artifact-index dd {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.artifact-index dt {
  color: color-mix(in srgb, var(--category-ink) 58%, transparent);
  font-weight: 800;
}

.artifact-index ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-index a {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  min-height: 6.2rem;
  padding: 0.85rem;
  color: var(--category-ink);
  background: color-mix(in srgb, var(--category-surface) 57%, #fff);
  border: 1px solid color-mix(in srgb, var(--category-border) 68%, transparent);
  border-radius: 0.72rem;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 220ms var(--ease);
}

.artifact-index a > span {
  grid-row: 1 / span 2;
  color: var(--category-accent);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.artifact-index a strong {
  align-self: end;
  font-size: 0.86rem;
  line-height: 1.15;
}

.artifact-index a small {
  margin-top: 0.32rem;
  color: color-mix(in srgb, var(--category-ink) 60%, transparent);
  font-size: 0.62rem;
  line-height: 1.3;
}

.artifact-index a:hover {
  color: #fff;
  background: var(--category-hover);
  transform: translateY(-0.15rem);
}

.artifact-index a:hover > span,
.artifact-index a:hover small {
  color: var(--category-focus);
}

.artifact-index a:focus-visible {
  outline: 4px solid var(--category-focus);
  outline-offset: 3px;
}

.showcase-gallery.research-wall {
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-top: clamp(3rem, 6vw, 6rem);
}

.artifact-card {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 42, 76, 0.18);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 3.5rem rgba(16, 42, 76, 0.075);
  scroll-margin-top: 1.5rem;
}

.artifact-card-header {
  display: grid;
  grid-template-columns: clamp(3rem, 7vw, 6rem) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
}

.artifact-card-header > span {
  color: var(--category-accent);
  font-family: "Courier New", monospace;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
}

.artifact-card-header p {
  margin: 0 0 0.45rem;
  color: color-mix(in srgb, var(--category-ink) 62%, transparent);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.artifact-card-header h3 {
  max-width: 24ch;
  margin: 0;
  color: var(--category-ink);
  font-size: clamp(1.75rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.artifact-card figure {
  margin: 0;
}

.artifact-preview {
  background: #edf0f2;
  border-color: rgba(16, 42, 76, 0.14);
  border-radius: 0.65rem;
}

.artifact-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.artifact-card figcaption {
  max-width: 60rem;
  margin-top: 0.85rem;
  color: color-mix(in srgb, var(--category-ink) 72%, transparent);
  font-size: 0.78rem;
  line-height: 1.5;
}

.artifact-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.artifact-insight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  max-width: 61rem;
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--category-ink);
  background: color-mix(in srgb, var(--category-focus) 35%, #fff);
  border-left: 0.22rem solid var(--category-accent);
  font-size: 0.78rem;
  line-height: 1.45;
}

.artifact-insight > span {
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.artifact-credit {
  margin: 0;
  padding: 0.68rem 0.8rem;
  color: color-mix(in srgb, var(--category-ink) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--category-border) 65%, transparent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.artifact-card .gallery-external-link {
  margin-top: 0;
}

.artifact-relation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
  padding: 1rem;
  color: #fff;
  background: var(--category-ink);
  border-radius: 0.65rem;
  text-decoration: none;
}

.artifact-relation span {
  color: var(--category-focus);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.artifact-relation strong {
  font-size: 0.78rem;
}

.artifact-relation i {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--category-ink);
  background: var(--category-focus);
  border-radius: 50%;
  font-style: normal;
}

.artifact-relation:hover {
  background: var(--category-hover);
}

.gallery-item {
  min-width: 0;
  margin: 0;
}

.gallery-full { grid-column: 1 / -1; }
.gallery-wide { grid-column: 2 / span 10; }
.gallery-standard { grid-column: 3 / span 8; }
.gallery-portrait { grid-column: 4 / span 6; }
.gallery-pair-left { grid-column: 1 / span 6; }
.gallery-pair-right { grid-column: 7 / span 6; }
.gallery-hero { grid-column: 1 / -1; }

.gallery-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #e4e1da;
  border: 1px solid rgba(21, 22, 18, 0.16);
  border-radius: 0.85rem;
  cursor: zoom-in;
}

.gallery-image-button img,
.gallery-item > video {
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
}

.gallery-image-button img {
  transition: transform 520ms var(--ease), filter 260ms ease;
}

.gallery-image-button > span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.52rem 0.7rem;
  color: #fff;
  background: rgba(15, 16, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.gallery-image-button:hover img {
  filter: saturate(1.04);
  transform: scale(1.012);
}

.gallery-image-button:hover > span,
.gallery-image-button:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image-button:focus-visible {
  outline-color: var(--category-accent);
}

.gallery-item.is-contained .gallery-image-button {
  display: grid;
  place-items: center;
  min-height: clamp(24rem, 42vw, 37rem);
  background: var(--gallery-media-background, #241536);
}

.gallery-item.is-contained .gallery-image-button img {
  width: auto;
  max-width: min(72%, 18rem);
  max-height: 33rem;
  object-fit: contain;
}

.gallery-item > video {
  background: #111;
  border: 1px solid rgba(21, 22, 18, 0.18);
}

.gallery-item figcaption {
  max-width: 52rem;
  margin-top: 0.72rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.gallery-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0.62rem 0.78rem;
  color: var(--category-ink);
  background: color-mix(in srgb, var(--category-surface) 72%, #fff);
  border: 1px solid var(--category-border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.gallery-external-link i {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: #fff;
  background: var(--category-hover);
  border-radius: 50%;
  font-style: normal;
  transition: transform 220ms var(--ease);
}

.gallery-external-link:hover {
  color: #fff;
  background: var(--category-hover);
}

.gallery-external-link:hover i {
  color: var(--category-ink);
  background: var(--category-focus);
  transform: translate(0.12rem, -0.12rem);
}

.gallery-external-link:focus-visible {
  outline: 4px solid var(--category-focus);
  outline-offset: 3px;
}

.gallery-item .workflow-graphic {
  width: 100%;
}

.showcase-summary,
.showcase-tags,
.showcase-project-nav {
  width: var(--detail-shell);
  margin-inline: auto;
}

.showcase-summary {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.showcase-section-label {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.showcase-summary > div {
  max-width: 49rem;
}

.showcase-summary > div p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.53;
  letter-spacing: -0.018em;
}

.showcase-summary > div p + p {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.showcase-cta {
  width: var(--detail-shell);
  margin: 0 auto clamp(5rem, 9vw, 9rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--category-accent) 25%, transparent), transparent 54%),
    var(--category-ink);
  border-radius: 1.2rem;
}

.showcase-cta > p {
  margin: 0 0 clamp(2.5rem, 5vw, 5rem);
  color: var(--category-focus);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.showcase-cta h3 {
  max-width: 13ch;
  margin: 0 0 2.2rem;
  font-size: clamp(2.4rem, 5.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.showcase-cta > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.showcase-cta > div > p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.showcase-cta a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.2rem;
  padding: 0.8rem 1rem;
  color: var(--category-ink);
  background: var(--category-focus);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 850;
}

.showcase-cta a:hover {
  background: #fff;
}

.showcase-tags {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}

.showcase-tag-groups {
  display: grid;
  gap: 2rem;
}

.showcase-tag-groups > div > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 760;
}

.showcase-tag-groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase-tag-groups li {
  padding: 0.58rem 0.75rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(21, 22, 18, 0.25);
  border-radius: 0.35rem;
  font-size: 0.72rem;
}

.showcase-project-nav {
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding-block: 2rem clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.showcase-project-nav > a,
.showcase-project-nav button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 7.5rem;
  padding: 1.1rem;
  color: var(--category-ink);
  background: var(--category-surface);
  border: 1px solid var(--category-border);
  border-radius: 0.75rem;
  text-align: left;
  text-decoration: none;
}

.showcase-project-nav button {
  width: 100%;
  cursor: pointer;
}

.showcase-project-nav > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.showcase-project-nav span {
  color: color-mix(in srgb, var(--category-ink) 68%, transparent);
  font-size: 0.66rem;
  font-weight: 760;
  text-transform: uppercase;
}

.showcase-project-nav strong {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.showcase-project-nav a:hover,
.showcase-project-nav button:hover {
  color: #fff;
  background: var(--category-hover);
}

.showcase-lightbox[hidden] {
  display: none;
}

.showcase-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  background: rgba(8, 9, 8, 0.96);
  backdrop-filter: blur(18px);
}

.lightbox-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-bar p,
.lightbox-bar span {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.lightbox-bar button,
.lightbox-step {
  min-height: 2.75rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-bar button {
  padding-inline: 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.lightbox-step {
  align-self: center;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.1rem;
}

.showcase-lightbox figure {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.showcase-lightbox figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
}

.showcase-lightbox figcaption {
  max-width: 54rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  text-align: center;
}

.lightbox-previous { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }

.lightbox-bar {
  grid-template-columns: minmax(8rem, 1fr) auto auto auto;
}

.lightbox-zoom-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lightbox-zoom-controls button {
  min-width: 2.75rem;
  padding-inline: 0.7rem;
}

.lightbox-zoom-controls > span {
  min-width: 3.6rem;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.lightbox-bar button:hover,
.lightbox-bar button:focus-visible,
.lightbox-step:hover,
.lightbox-step:focus-visible {
  color: #10110f;
  background: var(--category-focus, #c8ff52);
  border-color: var(--category-focus, #c8ff52);
}

.showcase-lightbox figure {
  overflow: hidden;
}

.lightbox-canvas {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 0.55rem;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

.lightbox-canvas.is-zoomed {
  cursor: grab;
}

.lightbox-canvas.is-zoomed:active {
  cursor: grabbing;
}

.showcase-lightbox figure img {
  transform: translate3d(var(--lightbox-pan-x, 0), var(--lightbox-pan-y, 0), 0) scale(var(--lightbox-zoom, 1));
  transform-origin: center;
  transition: transform 160ms ease;
  pointer-events: none;
}

.lightbox-canvas:active img {
  transition: none;
}

.project-dialog.lightbox-open > .dialog-close {
  visibility: hidden;
}

/* Future exploration: Een biosfeer voor de toekomst */
.showcase-card[data-showcase-card="biosfeer-voor-de-toekomst"] .showcase-card-subtitle {
  font-size: 0.68rem;
  line-height: 1.34;
  -webkit-line-clamp: 4;
}

.is-future-exploration {
  --biosphere-cream: #f7f4e9;
  --biosphere-moss: #2f8b59;
  --biosphere-earth: #bb6846;
  --biosphere-blue: #8ed7e8;
  color: var(--category-ink);
  background:
    radial-gradient(circle at 12% 30%, rgba(47, 139, 89, 0.07), transparent 25rem),
    var(--biosphere-cream);
}

.biosphere-header {
  background:
    radial-gradient(circle at 84% 18%, rgba(142, 215, 232, 0.28), transparent 24rem),
    linear-gradient(145deg, #eef5e9, #e3eee4 68%, #d8ebea);
}

.is-future-exploration .showcase-title-row h2 {
  max-width: 10ch;
}

.biosphere-project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
}

.biosphere-project-meta > div {
  min-width: 0;
  padding: 0.82rem 0.9rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid color-mix(in srgb, var(--category-border) 70%, transparent);
  border-radius: 0.7rem;
}

.biosphere-project-meta dt {
  margin-bottom: 0.32rem;
  color: color-mix(in srgb, var(--category-ink) 62%, transparent);
  font-family: "Courier New", monospace;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.biosphere-project-meta dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.biosphere-hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(31rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.78rem 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(15, 33, 26, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.68rem;
  font-size: 0.7rem;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}

.biosphere-hero-note span {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--category-focus);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.biosphere-section {
  width: var(--detail-shell);
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid color-mix(in srgb, var(--category-border) 46%, transparent);
}

.biosphere-question {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 8rem);
  border-top: 0;
}

.biosphere-question h3,
.biosphere-section-heading h3,
.biosphere-reflection-copy h3 {
  margin: 0.8rem 0 0;
  max-width: 15ch;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.biosphere-question > div {
  max-width: 44rem;
}

.biosphere-question > div p,
.biosphere-synthesis-copy p,
.biosphere-reflection-copy > div p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.biosphere-question > div p + p,
.biosphere-synthesis-copy p + p {
  margin-top: 1.25rem;
  color: color-mix(in srgb, var(--category-ink) 76%, transparent);
}

.biosphere-section-heading {
  display: grid;
  grid-template-columns: 0.56fr 1.1fr 0.74fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.biosphere-section-heading h3 {
  max-width: 14ch;
}

.biosphere-section-heading > p:last-child {
  max-width: 28rem;
  margin: 0;
  color: color-mix(in srgb, var(--category-ink) 68%, transparent);
  font-size: 0.86rem;
  line-height: 1.55;
}

.biosphere-idea-list {
  display: grid;
  gap: clamp(4.5rem, 9vw, 9rem);
}

.biosphere-idea {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.biosphere-idea.is-reversed .biosphere-idea-copy {
  order: 2;
}

.biosphere-idea-copy > p:first-child {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--category-hover);
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.biosphere-idea-copy > p:first-child span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  background: var(--category-accent);
  border-radius: 50%;
}

.biosphere-idea h4 {
  margin: 0 0 1.1rem;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.biosphere-idea-copy > p:last-child {
  max-width: 42rem;
  margin: 0;
  color: color-mix(in srgb, var(--category-ink) 84%, transparent);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.65;
}

.biosphere-project-image {
  min-width: 0;
  margin: 0;
}

.biosphere-project-image .gallery-image-button {
  background: #d9e5d5;
  border-color: color-mix(in srgb, var(--category-border) 76%, transparent);
  box-shadow: 0 1.4rem 4rem rgba(23, 50, 41, 0.12);
}

.biosphere-project-image .gallery-image-button img {
  display: block;
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
}

.biosphere-project-image figcaption {
  max-width: 38rem;
  margin-top: 0.72rem;
  color: color-mix(in srgb, var(--category-ink) 65%, transparent);
  font-size: 0.72rem;
  line-height: 1.45;
}

.biosphere-synthesis {
  position: relative;
}

.biosphere-synthesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(19rem, 0.87fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.biosphere-system {
  padding: clamp(0.8rem, 2vw, 1.4rem);
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(142, 215, 232, 0.18), transparent 34%),
    #173229;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.1rem;
  box-shadow: 0 2rem 5rem rgba(23, 50, 41, 0.19);
}

.biosphere-system-map {
  position: relative;
  aspect-ratio: 1.13 / 1;
  min-height: 28rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  border-radius: 0.8rem;
}

.biosphere-system-map svg {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  overflow: visible;
}

.biosphere-system-map svg circle {
  fill: none;
  stroke: rgba(189, 229, 201, 0.24);
  stroke-dasharray: 1.8 2.5;
  stroke-width: 0.6;
}

.system-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-linecap: round;
  stroke-width: 1.2;
  transition: stroke 240ms ease, stroke-width 240ms ease;
}

.biosphere-system[data-system-active="0"] .system-path-0,
.biosphere-system[data-system-active="1"] .system-path-1,
.biosphere-system[data-system-active="2"] .system-path-2 {
  stroke: var(--biosphere-blue);
  stroke-width: 2;
}

.biosphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  padding: 1rem;
  background: #edf3e7;
  border: 0.45rem solid rgba(189, 229, 201, 0.14);
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -46%);
}

.biosphere-core span {
  color: #426654;
  font-family: "Courier New", monospace;
  font-size: clamp(0.48rem, 0.8vw, 0.62rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.biosphere-core strong {
  max-width: 12ch;
  color: #173229;
  font-size: clamp(0.82rem, 1.5vw, 1.2rem);
  line-height: 1.1;
}

.biosphere-system-map ol {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.biosphere-system-map li {
  position: absolute;
  width: 35%;
}

.biosphere-system-map li:nth-child(1) { top: 2%; left: 32.5%; }
.biosphere-system-map li:nth-child(2) { bottom: 3%; left: 1%; }
.biosphere-system-map li:nth-child(3) { right: 1%; bottom: 3%; }

.biosphere-system-map button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.6rem;
  padding: 0.55rem 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 22, 17, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.68rem;
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.biosphere-system-map button > span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: #173229;
  background: rgba(189, 229, 201, 0.82);
  border-radius: 50%;
  font-family: "Courier New", monospace;
  font-size: 0.56rem;
  font-weight: 900;
}

.biosphere-system-map button strong {
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  line-height: 1.15;
}

.biosphere-system-map button[aria-pressed="true"] {
  color: #173229;
  background: var(--biosphere-blue);
  border-color: #d8f5fb;
}

.biosphere-system-map button[aria-pressed="true"] > span {
  background: #fff;
}

.biosphere-system-map button:hover {
  transform: translateY(-0.12rem);
}

.biosphere-system-map button:focus-visible {
  outline: 4px solid var(--category-focus);
  outline-offset: 3px;
}

.biosphere-system-reading {
  min-height: 11.25rem;
  padding: 1rem 0.85rem 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.biosphere-system-reading > p:first-child {
  margin: 0 0 0.45rem;
  color: var(--biosphere-blue);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.biosphere-system-reading h4 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.biosphere-system-reading > p:not(:first-child) {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.82rem;
  line-height: 1.5;
}

.biosphere-system-reading small {
  display: block;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.45;
}

.biosphere-system-reading small > span:first-child {
  margin-right: 0.35rem;
  color: var(--category-focus);
  font-weight: 850;
}

.biosphere-synthesis-copy {
  padding-top: 0.2rem;
}

.biosphere-project-image.is-wide {
  width: min(100%, 58rem);
  margin: clamp(3rem, 7vw, 6rem) auto 0;
}

.biosphere-project-image.is-wide .gallery-image-button img {
  max-height: 48rem;
  object-fit: contain;
  background: #dbe6d7;
}

.biosphere-reflection {
  padding-bottom: 0;
}

.biosphere-reflection-copy {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.biosphere-reflection-copy h3 {
  max-width: 14ch;
}

.biosphere-reflection .showcase-cta {
  width: 100%;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.is-future-exploration .showcase-tags {
  border-color: color-mix(in srgb, var(--category-border) 46%, transparent);
}

@media (max-width: 1100px) {
  .work-intro-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  }

  .category-heading h3 {
    max-width: 15ch;
  }

  .showcase-rail {
    grid-auto-columns: clamp(17rem, 32vw, 19.5rem);
  }

  .showcase-detail {
    --detail-shell: min(88vw, 1080px);
  }

  .gallery-wide { grid-column: 1 / -1; }
  .gallery-standard { grid-column: 2 / span 10; }
  .gallery-portrait { grid-column: 3 / span 8; }
}

@media (max-width: 860px) {
  .work-intro-grid,
  .showcase-title-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .work-intro-grid > p {
    max-width: 35rem;
  }

  .category-nav-shell {
    top: var(--header-height);
  }

  .category-heading {
    align-items: flex-start;
  }

  .category-heading p {
    max-width: 29rem;
  }

  .category-controls > span {
    display: none;
  }

  .showcase-rail {
    grid-auto-columns: clamp(17rem, 42vw, 19rem);
  }

  .project-dialog[data-kind="showcase"] {
    width: 100%;
    max-width: 100%;
    max-height: 100svh;
    overflow-x: hidden;
    border-radius: 0;
  }

  .showcase-detail {
    --detail-shell: min(90vw, 760px);
  }

  .showcase-back {
    margin-bottom: 3.5rem;
  }

  .showcase-title-row h2 {
    max-width: 14ch;
  }

  .showcase-title-row > p {
    max-width: 38rem;
  }

  .artifact-index {
    grid-template-columns: 1fr;
  }

  .artifact-index-intro h3 {
    max-width: 22ch;
  }

  .showcase-detail-hero {
    aspect-ratio: 4 / 3;
  }

  .gallery-standard { grid-column: 1 / -1; }
  .gallery-portrait { grid-column: 3 / span 8; }

  .showcase-summary,
  .showcase-tags {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .biosphere-question,
  .biosphere-section-heading,
  .biosphere-idea,
  .biosphere-synthesis-grid,
  .biosphere-reflection-copy {
    grid-template-columns: 1fr;
  }

  .biosphere-section-heading {
    align-items: start;
  }

  .biosphere-section-heading > p:last-child {
    max-width: 36rem;
  }

  .biosphere-idea.is-reversed .biosphere-idea-copy {
    order: 0;
  }

  .biosphere-idea {
    gap: 2rem;
  }

  .biosphere-idea-copy {
    max-width: 46rem;
  }

  .biosphere-project-image .gallery-image-button img {
    max-height: 44rem;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .showcase-hub.section-pad {
    padding-top: 5rem;
  }

  .work-intro {
    padding-bottom: 3.5rem;
  }

  .work-intro-grid h2 {
    font-size: clamp(4.1rem, 21vw, 6rem);
  }

  .work-intro-grid > p {
    font-size: 1rem;
  }

  .category-nav-shell {
    padding-block: 0.45rem;
  }

  .category-nav {
    width: 100%;
    padding-inline: 4vw;
  }

  .category-nav a {
    min-height: 2.75rem;
    font-size: 0.68rem;
  }

  .showcase-category {
    scroll-margin-top: calc(var(--header-height) + 4rem);
    padding-block: 3.4rem;
  }

  .category-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .category-heading > div:first-child {
    gap: 0.85rem;
  }

  .category-number {
    width: 2.7rem;
  }

  .category-heading h3 {
    margin-top: 0;
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .category-heading p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .category-controls {
    display: none;
  }

  .showcase-rail {
    width: calc(100% + 4vw);
    grid-auto-columns: min(79vw, 19rem);
    gap: 0.9rem;
    padding-right: 12vw;
    padding-bottom: 1.2rem;
  }

  .showcase-card-body {
    padding: 0.9rem 0.92rem 0.85rem;
  }

  .showcase-card-body > strong {
    font-size: 1.25rem;
  }

  .showcase-card-subtitle {
    font-size: 0.69rem;
  }

  .project-dialog[data-kind="showcase"] .dialog-close {
    width: 2.85rem;
    height: 2.85rem;
    margin: 0.65rem 0.65rem -3.5rem 0;
  }

  .showcase-detail {
    --detail-shell: 91vw;
  }

  .showcase-detail-header {
    padding: 1rem;
  }

  .showcase-back {
    max-width: calc(100% - 3.5rem);
    min-height: 2.5rem;
    margin-bottom: 3.4rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.64rem;
  }

  .showcase-title-row {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .showcase-title-row h2 {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  .showcase-title-row > p {
    font-size: 0.98rem;
  }

  .showcase-detail-hero {
    aspect-ratio: 1 / 1;
    border-radius: 0.7rem;
  }

  .showcase-gallery {
    column-gap: 0;
    row-gap: 2.6rem;
    padding-block: 4rem;
  }

  .artifact-index {
    width: 91vw;
    margin-top: 3rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .artifact-index-intro h3 {
    font-size: 2rem;
  }

  .artifact-index ol {
    grid-template-columns: 1fr;
  }

  .artifact-index a {
    min-height: 5rem;
  }

  .artifact-card {
    padding: 0.8rem;
    border-radius: 0.75rem;
  }

  .artifact-card-header {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .artifact-card-header h3 {
    font-size: clamp(1.6rem, 9vw, 2.7rem);
  }

  .artifact-insight {
    grid-template-columns: 1fr;
  }

  .artifact-relation {
    grid-template-columns: 1fr auto;
  }

  .artifact-relation span {
    grid-column: 1 / -1;
  }

  .gallery-full,
  .gallery-wide,
  .gallery-standard,
  .gallery-portrait,
  .gallery-pair-left,
  .gallery-pair-right,
  .gallery-hero {
    grid-column: 1 / -1;
  }

  .gallery-image-button > span {
    display: none;
  }

  .showcase-summary {
    padding-block: 3.5rem;
  }

  .showcase-summary > div p {
    font-size: 1.1rem;
  }

  .showcase-summary > div p + p {
    font-size: 0.98rem;
  }

  .showcase-cta {
    margin-bottom: 4rem;
    padding: 1.25rem;
  }

  .showcase-cta > p {
    margin-bottom: 3rem;
  }

  .showcase-cta h3 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .showcase-cta > div {
    grid-template-columns: 1fr;
  }

  .showcase-cta a {
    justify-content: space-between;
    width: 100%;
  }

  .showcase-tags {
    padding-block: 3.5rem;
  }

  .showcase-project-nav > div {
    grid-template-columns: 1fr;
  }

  .showcase-project-nav > a,
  .showcase-project-nav button {
    min-height: 6.5rem;
  }

  .showcase-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.7rem;
  }

  .lightbox-bar {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    row-gap: 0.55rem;
  }

  .lightbox-bar > [data-lightbox-count] {
    display: none;
  }

  .lightbox-zoom-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .lightbox-zoom-controls button {
    flex: 0 0 auto;
  }

  .showcase-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .showcase-lightbox figure img {
    max-height: calc(100svh - 13rem);
  }

  .lightbox-step {
    align-self: stretch;
    width: auto;
    height: 2.9rem;
  }

  .lightbox-previous { grid-column: 1; grid-row: 3; }
  .lightbox-next { grid-column: 2; grid-row: 3; }

  .biosphere-project-meta {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .biosphere-project-meta > div {
    padding: 0.7rem 0.75rem;
  }

  .biosphere-hero-note {
    right: 0.55rem;
    bottom: 0.55rem;
    max-width: calc(100% - 1.1rem);
    padding: 0.58rem 0.65rem;
    font-size: 0.61rem;
  }

  .biosphere-section {
    padding-block: 4.5rem;
  }

  .biosphere-question h3,
  .biosphere-section-heading h3,
  .biosphere-reflection-copy h3 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .biosphere-question > div p,
  .biosphere-synthesis-copy p,
  .biosphere-reflection-copy > div p {
    font-size: 1rem;
  }

  .biosphere-section-heading {
    margin-bottom: 3.25rem;
  }

  .biosphere-idea-list {
    gap: 4.5rem;
  }

  .biosphere-idea h4 {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .biosphere-project-image .gallery-image-button img {
    max-height: none;
  }

  .biosphere-system {
    padding: 0.65rem;
    border-radius: 0.8rem;
  }

  .biosphere-system-map {
    width: 100%;
    height: 30rem;
    min-height: 0;
    aspect-ratio: auto;
  }

  .biosphere-system-map li {
    width: 44%;
  }

  .biosphere-system-map li:nth-child(1) { top: 2%; left: 28%; }
  .biosphere-system-map li:nth-child(2) { bottom: 3%; left: 0; }
  .biosphere-system-map li:nth-child(3) { right: 0; bottom: 3%; }

  .biosphere-system-map button {
    min-height: 3.3rem;
    padding: 0.45rem;
  }

  .biosphere-system-map button > span {
    width: 1.55rem;
    height: 1.55rem;
  }

  .biosphere-core {
    width: 49%;
  }

  .biosphere-system-reading {
    min-height: 13rem;
  }

  .biosphere-project-image.is-wide {
    margin-top: 3rem;
  }

  .biosphere-reflection-copy {
    margin-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card,
  .showcase-card-media > img,
  .showcase-card-media > video,
  .showcase-card-glare,
  .gallery-image-button img,
  .artifact-index a,
  .artifact-relation,
  .showcase-lightbox figure img,
  .category-nav a,
  .category-controls button {
    transition: none !important;
    transform: none !important;
  }

  .showcase-card-glare {
    display: none;
  }

  .showcase-card:hover,
  .showcase-card:focus-visible {
    transform: none;
  }

  .system-path,
  .biosphere-system-map button {
    transition: none !important;
  }

  .biosphere-system-map button:hover {
    transform: none;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.001ms !important;
  }
}

@media (hover: none) {
  .design-tools {
    opacity: 1;
    transform: none;
  }

  .design-card-copy {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Art direction v2 — Editorial Signal
   -------------------------------------------------------------------------- */

:root {
  --paper: #f3efe7;
  --paper-deep: #e7e2d8;
  --ink: #171719;
  --ink-soft: #5d5b57;
  --line: rgba(23, 23, 25, 0.2);
  --acid: #ff5636;
  --acid-dark: #d43b21;
  --coral: #ff5636;
  --violet: #7960ff;
  --blue: #3155ff;
  --white: #fffdf8;
  --editorial-blue: #3155ff;
  --mist-blue: #dbe2ff;
  --radius-sm: 0.35rem;
  --radius-md: 0.65rem;
  --radius-lg: 0.9rem;
  --shadow: 0 1.2rem 3.4rem rgba(23, 23, 25, 0.12);
  --shell: min(90vw, 1400px);
  --header-height: 4.75rem;
}

html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  color: var(--ink);
  background: var(--paper);
  background-image: none;
  line-height: 1.6;
}

::selection {
  color: var(--white);
  background: var(--editorial-blue);
}

:focus-visible {
  outline: 3px solid var(--editorial-blue);
  outline-offset: 4px;
}

.scroll-progress span {
  background: var(--coral);
}

.site-header {
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  padding: 0.7rem clamp(1rem, 5vw, 5rem);
  background: rgba(243, 239, 231, 0.96);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.96);
  border-color: var(--line);
}

.brand-mark {
  color: var(--white);
  background: var(--editorial-blue);
  border-radius: 0.35rem;
}

.brand-name {
  font-size: 0.82rem;
  letter-spacing: 0;
}

.primary-nav {
  gap: clamp(0.8rem, 2.4vw, 2.6rem);
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.primary-nav a span {
  color: var(--editorial-blue);
  font-family: "Courier New", monospace;
}

.primary-nav a::after {
  bottom: 0.2rem;
  height: 3px;
  background: var(--coral);
}

.command-trigger {
  min-width: auto;
  padding: 0.68rem 0.85rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.home-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 1.8rem);
  padding-bottom: 1.35rem;
}

.home-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-meta-row p,
.home-method-line p {
  margin: 0;
}

.home-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-availability span {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  background: #38a956;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 169, 86, 0.4);
  animation: status-pulse 2.4s infinite;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(19rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: stretch;
  margin-block: clamp(1.5rem, 3vh, 2.5rem);
}

.home-intro-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.home-role,
.home-work-index header > p,
.home-method-line p {
  margin: 0;
  color: var(--editorial-blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-intro h1 {
  max-width: 13ch;
  margin: 1rem 0 clamp(1.8rem, 4vh, 3.4rem);
  font-size: clamp(4.2rem, 6.2vw, 6.75rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.home-intro h1 span {
  position: relative;
  display: inline-block;
  color: var(--editorial-blue);
}

.home-intro h1 span::after {
  position: absolute;
  right: 0.04em;
  bottom: -0.08em;
  left: 0.04em;
  height: 0.1em;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: signal-line-in 620ms 180ms var(--ease) forwards;
}

@keyframes signal-line-in {
  to { transform: scaleX(1); }
}

.home-intro-copy {
  display: grid;
  grid-template-columns: minmax(16rem, 34rem) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.home-intro-copy > p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.58;
}

.home-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 12rem;
}

.home-primary-action,
.home-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.2rem;
  padding: 0.72rem 0.9rem;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, transform 220ms var(--ease);
}

.home-primary-action {
  color: var(--white);
  background: var(--coral);
}

.home-primary-action:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.home-actions button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.home-actions button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.home-actions kbd {
  color: var(--ink);
  background: rgba(23, 23, 25, 0.07);
  border-color: rgba(23, 23, 25, 0.13);
}

.home-work-index {
  min-width: 0;
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.home-work-index header {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.home-work-index header > p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-work-index header > p span {
  color: var(--coral);
}

.home-work-index h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-case-index {
  border-bottom: 1px solid var(--line);
}

.home-case-row {
  display: grid;
  grid-template-columns: 1.7rem 4.6rem minmax(0, 1fr) auto 2rem;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-height: 6rem;
  padding: 0.65rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: padding 240ms var(--ease), background 200ms ease;
}

.home-case-row:hover {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  background: var(--mist-blue);
}

.home-case-number,
.home-case-year {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.6rem;
  font-weight: 800;
}

.home-case-number {
  color: var(--editorial-blue);
}

.home-case-year {
  color: var(--ink-soft);
}

.home-case-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 0.2rem;
}

.home-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease);
}

.home-case-row[data-open-case="galvano-stellar"] img {
  object-position: top center;
}

.home-case-row:hover .home-case-thumb img {
  transform: scale(1.07);
}

.home-case-copy {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.home-case-copy strong {
  overflow: hidden;
  font-size: 0.94rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-case-copy small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-case-arrow {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-style: normal;
  transition: color 200ms ease, background 200ms ease, transform 220ms var(--ease);
}

.home-case-row:hover .home-case-arrow {
  color: var(--ink);
  background: var(--coral);
  transform: rotate(45deg);
}

.home-index-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.home-index-all:hover {
  color: var(--editorial-blue);
}

.home-support-row {
  display: grid;
  grid-template-columns: minmax(17rem, 23rem) 1fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: 0.8rem;
  border-block: 1px solid var(--line);
}

.home-profile-card {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr) 2.2rem;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
  padding: 0.4rem;
  color: var(--ink);
  border-radius: 0.4rem;
  text-decoration: none;
  transition: background 200ms ease;
}

.home-profile-card:hover {
  background: var(--mist-blue);
}

.home-profile-card > img {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 0.25rem;
}

.home-profile-copy {
  display: grid;
  min-width: 0;
  gap: 0.06rem;
}

.home-profile-copy small {
  color: var(--editorial-blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-profile-copy strong {
  font-size: 0.9rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.home-profile-copy > span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.66rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-profile-card > i {
  color: var(--coral);
  font-size: 1rem;
  font-style: normal;
  transition: transform 220ms var(--ease);
}

.home-profile-card:hover > i {
  transform: translate(0.15rem, -0.15rem);
}

.home-method-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.2vw, 1rem);
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.home-method-line p {
  margin-right: 0.5rem;
  color: var(--ink-soft);
}

.home-method-line i {
  color: var(--coral);
  font-style: normal;
}

.home-next-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-next-link:hover {
  color: var(--editorial-blue);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.practice-band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: var(--white);
  background: var(--editorial-blue);
}

.practice-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.practice-band .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.practice-band h2 {
  max-width: 9ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.practice-band ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
}

.practice-band li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.3rem 0.8rem;
  min-height: 8.5rem;
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.practice-band li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.practice-band li:nth-child(even) {
  padding-left: 1rem;
}

.practice-band li > span {
  color: #ffb4a5;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.64rem;
  font-weight: 800;
}

.practice-band li strong {
  font-size: 1rem;
  line-height: 1.25;
}

.practice-band li small {
  grid-column: 2;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.5;
}

.section-pad {
  padding-block: clamp(6rem, 10vw, 9rem);
}

.section-kicker {
  color: var(--editorial-blue);
}

.section-header {
  gap: clamp(2.5rem, 6vw, 7rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.section-header h2,
.contact-card h2 {
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  line-height: 0.92;
}

.serif-line {
  font-family: inherit;
  font-style: normal;
  font-weight: 850;
  letter-spacing: -0.065em;
}

.section-intro,
.about-copy > p:not(.about-lead) {
  max-width: 62ch;
  font-size: max(1rem, 16px);
  line-height: 1.62;
}

.case-card,
.case-card:nth-child(even) {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: none;
}

.case-card:hover {
  box-shadow: 0 1rem 3rem rgba(23, 23, 25, 0.1);
  transform: translateY(-0.2rem);
}

.case-badge {
  color: var(--white);
  background: var(--coral);
  border-radius: 0.25rem;
}

.case-body h3 {
  font-size: clamp(2.7rem, 4.8vw, 5rem);
}

.case-open:hover span:last-child {
  color: var(--white);
  background: var(--editorial-blue);
}

.design-section {
  color: var(--white);
  background: #243fda;
  border-block: 0;
}

.design-section::before {
  display: none;
}

.design-section .section-kicker,
.design-section .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.filter-console {
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 0.55rem;
}

.design-card {
  border-radius: 0.5rem;
}

.design-number,
.filter-button[aria-pressed="true"] span,
.ai-principle span {
  color: var(--white);
  background: var(--coral);
}

.archive-strip {
  border-color: rgba(255, 255, 255, 0.35);
}

.archive-track span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 0.3rem;
}

.ai-section {
  background: var(--ink);
}

.ai-grid-bg {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(49, 85, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 85, 255, 0.28) 1px, transparent 1px);
}

.portrait-frame,
.contact-card {
  border-radius: 0.65rem;
}

.contact-card {
  color: var(--ink);
  background: var(--coral);
}

.contact-card .section-kicker {
  color: rgba(23, 23, 25, 0.65);
}

.contact-link {
  color: var(--white);
  background: var(--ink);
}

.reveal {
  transform: translateY(1rem);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}

@media (max-width: 1100px) {
  .home-intro-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.8fr);
    gap: 2.5rem;
  }

  .home-intro h1 {
    font-size: clamp(3.9rem, 6.8vw, 5.4rem);
  }

  .home-intro-copy {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .home-case-row {
    grid-template-columns: 1.5rem 3.8rem minmax(0, 1fr) 1.9rem;
  }

  .home-case-year {
    display: none;
  }

  .home-support-row {
    grid-template-columns: minmax(17rem, 22rem) 1fr;
  }

  .home-next-link {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(92vw, 720px);
    --header-height: 4.4rem;
  }

  .site-header {
    top: 0;
    left: 0;
    grid-template-columns: 1fr auto;
    width: 100%;
    padding: 0.55rem 1rem;
    transform: none;
  }

  .primary-nav {
    top: calc(var(--header-height) + 0.5rem);
  }

  .nav-toggle {
    border-radius: 999px;
  }

  .home-intro {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1.8rem);
    padding-bottom: 1.5rem;
  }

  .home-intro-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-block: 1.5rem;
  }

  .home-intro h1 {
    max-width: 11ch;
    font-size: clamp(4.2rem, 12vw, 6.5rem);
  }

  .home-intro-copy {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-actions {
    display: flex;
    min-width: 12rem;
  }

  .home-work-index {
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-work-index header {
    padding-top: 1rem;
  }

  .home-case-row {
    grid-template-columns: 1.7rem 5.2rem minmax(0, 1fr) auto 2rem;
  }

  .home-case-year {
    display: block;
  }

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

  .home-method-line {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0.4rem;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .home-meta-row {
    font-size: 0.58rem;
  }

  .home-availability {
    max-width: 10rem;
    justify-content: flex-end;
    text-align: right;
  }

  .home-intro h1 {
    margin-block: 1.2rem 1.8rem;
    font-size: clamp(3.6rem, 16vw, 5rem);
  }

  .home-intro-copy {
    grid-template-columns: 1fr;
  }

  .home-intro-copy > p {
    max-width: 42ch;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .home-intro-grid {
    gap: 3rem;
  }

  .home-case-row {
    grid-template-columns: 1.5rem 4.2rem minmax(0, 1fr) 2rem;
    min-height: 5.6rem;
  }

  .home-case-year {
    display: none;
  }

  .home-profile-card {
    grid-template-columns: 4rem minmax(0, 1fr) 2rem;
  }

  .home-profile-card > img {
    width: 4rem;
    height: 4rem;
  }

  .home-profile-copy strong {
    font-size: 0.86rem;
  }

  .home-profile-copy > span {
    font-size: 0.62rem;
  }

  .home-method-line {
    gap: 0.55rem;
    font-size: 0.62rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .home-method-line::-webkit-scrollbar {
    display: none;
  }

  .practice-band {
    padding-block: 4rem;
  }

  .practice-band h2 {
    font-size: 3.2rem;
  }

  .practice-band ol {
    grid-template-columns: 1fr;
  }

  .practice-band li,
  .practice-band li:nth-child(even) {
    min-height: 7rem;
    padding: 1rem 0;
    border-right: 0;
  }

  .section-header h2,
  .contact-card h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }
}

/* --------------------------------------------------------------------------
   Sack Attack — evidence-led long-form case
   -------------------------------------------------------------------------- */

.project-dialog[data-project-id="sack-attack"] {
  width: min(96vw, 1440px);
  max-height: 96svh;
  background: #f6f2e9;
}

.project-dialog[data-project-id="sack-attack"] .dialog-close {
  z-index: 90;
  color: #f7f5ed;
  background: rgba(18, 32, 32, 0.9);
}

.sack-case {
  --sack-petrol: #285d62;
  --sack-petrol-deep: #163d42;
  --sack-sage: #a8c3b0;
  --sack-coral: #e99a8c;
  --sack-ochre: #d8b25c;
  --sack-cream: #f7f5ed;
  color: var(--ink);
  background: var(--sack-cream);
}

.sack-case-hero {
  position: relative;
  display: grid;
  min-height: min(52rem, 88svh);
  overflow: hidden;
  color: #fff;
  background: var(--sack-petrol-deep);
}

.sack-case-hero > img,
.sack-case-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sack-case-hero > img {
  object-fit: cover;
  object-position: center;
}

.sack-case-hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 31, 33, 0.92) 0%, rgba(12, 31, 33, 0.72) 43%, rgba(12, 31, 33, 0.1) 78%),
    linear-gradient(0deg, rgba(12, 31, 33, 0.92) 0%, transparent 55%);
}

.sack-case-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(58rem, 72%);
  padding: clamp(3rem, 7vw, 7rem);
}

.sack-case-kicker,
.sack-case-section-label,
.sack-case-role-card > span,
.sack-contribution > span,
.sack-case-nav p,
.sack-case-nav button span,
.sack-claim-shift span,
.sack-limitations > span,
.sack-tag-groups > div > span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sack-case-kicker {
  margin: 0 0 1.2rem;
  color: var(--sack-coral);
}

.sack-case-hero h2 {
  margin: 0;
  font-size: clamp(5rem, 11vw, 10.5rem);
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.sack-case-statement {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.sack-case-role-card {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.2rem;
  max-width: 48rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.sack-case-role-card > span {
  color: var(--sack-sage);
}

.sack-case-role-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.sack-case-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  color: #fff;
  background: rgba(22, 61, 66, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sack-case-video-link span {
  color: var(--sack-sage);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sack-case-video-link strong {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.sack-case-video-link small {
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-weight: 500;
}

.sack-case-video-link i {
  color: var(--sack-coral);
  font-style: normal;
}

.sack-case-video-link:hover,
.sack-case-video-link:focus-visible {
  color: var(--sack-petrol);
  background: var(--sack-sage);
  border-color: var(--sack-sage);
  transform: translateY(-2px);
}

.sack-case-video-link:hover span,
.sack-case-video-link:focus-visible span,
.sack-case-video-link:hover small,
.sack-case-video-link:focus-visible small {
  color: rgba(22, 61, 66, 0.7);
}

#sack-video {
  scroll-margin-top: 5.5rem;
}

.sack-case-hero-meta {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 28rem;
}

.sack-case-hero-meta span {
  padding: 0.45rem 0.7rem;
  color: #fff;
  background: rgba(22, 61, 66, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.sack-case-nav {
  position: sticky;
  z-index: 70;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
  padding: 0 5.5rem 0 clamp(1rem, 3vw, 2.5rem);
  color: #fff;
  background: rgba(22, 61, 66, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0.7rem 2rem rgba(22, 61, 66, 0.16);
  backdrop-filter: blur(16px);
}

.sack-case-nav p {
  flex: 0 0 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  white-space: nowrap;
}

.sack-case-nav p span {
  color: var(--sack-coral);
}

.sack-case-nav > div {
  display: flex;
  align-self: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.sack-case-nav > div::-webkit-scrollbar {
  display: none;
}

.sack-case-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}

.sack-case-nav button::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0;
  left: 0.75rem;
  height: 3px;
  background: var(--sack-coral);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.sack-case-nav button:hover,
.sack-case-nav button[aria-current="true"] {
  color: #fff;
}

.sack-case-nav button:hover::after,
.sack-case-nav button[aria-current="true"]::after {
  transform: scaleX(1);
}

.sack-case-nav button span {
  color: var(--sack-coral);
  font-size: 0.56rem;
}

.sack-case-content {
  background: var(--sack-cream);
}

.sack-case-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  border-bottom: 1px solid rgba(23, 23, 25, 0.16);
  scroll-margin-top: 4.8rem;
}

.sack-case-section-label {
  margin: 0 0 1.2rem;
  color: var(--sack-petrol);
}

.sack-case-intro h3,
.sack-section-header h3,
.sack-audience-block h3 {
  max-width: 62rem;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 7rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-wrap: balance;
}

.sack-case-lead {
  max-width: 52rem;
  margin: 2.2rem 0 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.62;
}

.sack-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  overflow: hidden;
  background: rgba(23, 23, 25, 0.16);
  border: 1px solid rgba(23, 23, 25, 0.16);
  border-radius: var(--radius-md);
}

.sack-facts div {
  min-height: 7.8rem;
  padding: 1.2rem;
  background: #fffdf8;
}

.sack-facts dt {
  color: var(--sack-petrol);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sack-facts dd {
  margin: 1.3rem 0 0;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.35;
}

.sack-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.sack-skill-grid article {
  min-height: 15rem;
  padding: 1.3rem;
  color: #fff;
  background: var(--sack-petrol-deep);
  border-radius: var(--radius-md);
}

.sack-skill-grid article:nth-child(2) { background: var(--sack-petrol); }
.sack-skill-grid article:nth-child(3) { color: var(--ink); background: var(--sack-coral); }
.sack-skill-grid article:nth-child(4) { color: var(--ink); background: var(--sack-sage); }

.sack-skill-grid article > span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.65rem;
  font-weight: 800;
}

.sack-skill-grid h4 {
  margin: 4rem 0 0.8rem;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.sack-skill-grid p {
  margin: 0;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1.55;
  opacity: 0.78;
}

.sack-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.sack-section-header .sack-case-section-label {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.sack-section-header > p:last-child {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.sack-editorial-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.sack-prose {
  display: grid;
  gap: 1.2rem;
}

.sack-prose p {
  max-width: 52rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.sack-media-card,
.sack-video-card {
  margin: 0;
}

.sack-media-card img,
.sack-video-card video {
  display: block;
  width: 100%;
  background: var(--paper-deep);
  border-radius: var(--radius-md);
}

.sack-media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sack-media-card figcaption,
.sack-video-card figcaption {
  padding: 0.8rem 0.15rem 0;
  color: var(--ink-soft);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.64rem;
  line-height: 1.5;
}

.sack-contribution {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  background: var(--sack-petrol);
  border-radius: var(--radius-md);
}

.sack-contribution > span {
  color: var(--sack-coral);
}

.sack-contribution p {
  max-width: 58rem;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.sack-audience-block {
  margin-top: clamp(5rem, 9vw, 9rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid rgba(23, 23, 25, 0.18);
}

.sack-audience-block > header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 2rem clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.sack-audience-block > header .sack-case-section-label {
  grid-column: 1 / -1;
  margin: 0;
}

.sack-audience-block > header > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.sack-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.sack-insight-grid article {
  display: grid;
  grid-template-columns: 2rem 0.8fr 1.2fr;
  gap: 1rem;
  min-height: 10rem;
  padding: 1.25rem;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 25, 0.16);
  border-radius: var(--radius-md);
}

.sack-insight-grid article > span {
  color: var(--sack-coral);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.65rem;
  font-weight: 800;
}

.sack-insight-grid p,
.sack-insight-grid strong {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.sack-insight-grid p { color: var(--ink-soft); }

.sack-process-section {
  color: #fff;
  background: var(--sack-petrol-deep);
}

.sack-process-section .sack-case-section-label { color: var(--sack-coral); }
.sack-process-section .sack-section-header > p:last-child { color: rgba(255, 255, 255, 0.72); }

.sack-process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sack-process-line::before {
  position: absolute;
  top: 1.55rem;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.sack-process-line li {
  position: relative;
  min-height: 17rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.sack-process-line li > span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--ink);
  background: var(--sack-coral);
  border-radius: 50%;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.58rem;
  font-weight: 800;
}

.sack-process-line h4 {
  margin: 4.5rem 0 0.7rem;
  font-size: 1.05rem;
}

.sack-process-line p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.55;
}

.sack-prototype-media,
.sack-role-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.sack-prototype-media .sack-media-card img {
  aspect-ratio: 4 / 3;
}

.sack-finding-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  background: rgba(23, 23, 25, 0.16);
  border: 1px solid rgba(23, 23, 25, 0.16);
  border-radius: var(--radius-md);
}

.sack-finding-strip div {
  min-height: 9rem;
  padding: 1.3rem;
  background: #fffdf8;
}

.sack-finding-strip strong {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--sack-petrol);
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -0.055em;
}

.sack-finding-strip span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.sack-role-section {
  background: #fffdf8;
}

.sack-leadership-list {
  display: grid;
  gap: 1rem;
}

.sack-leadership-moment {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--sack-cream);
  border: 1px solid rgba(23, 23, 25, 0.16);
  border-radius: var(--radius-md);
}

.sack-moment-heading span {
  color: var(--sack-coral);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: 800;
}

.sack-moment-heading h4 {
  margin: 3rem 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.sack-leadership-moment dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.sack-leadership-moment dl div {
  padding-top: 0.8rem;
  border-top: 2px solid var(--sack-petrol);
}

.sack-leadership-moment dt {
  color: var(--sack-petrol);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sack-leadership-moment dd {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.sack-moment-insight {
  grid-column: 2;
  margin: 0;
  padding: 1rem 1.2rem;
  color: #fff;
  background: var(--sack-petrol);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.sack-role-media {
  grid-template-columns: 1.25fr 0.75fr;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.sack-role-media .sack-media-card:first-child img {
  aspect-ratio: 16 / 10;
}

.sack-personal-evidence img {
  aspect-ratio: 3 / 4;
  object-position: center 36%;
}

.sack-shift-section {
  color: var(--ink);
  background: var(--sack-coral);
}

.sack-shift-section .sack-case-section-label { color: var(--sack-petrol-deep); }

.sack-claim-shift {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.sack-claim-shift > div {
  min-height: 17rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: rgba(255, 253, 248, 0.76);
  border-radius: var(--radius-md);
}

.sack-claim-shift > div:last-child {
  color: #fff;
  background: var(--sack-petrol-deep);
}

.sack-claim-shift p {
  max-width: 32rem;
  margin: 6rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.sack-claim-shift > i {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-style: normal;
}

.sack-shift-explanation {
  max-width: 58rem;
  margin: clamp(2rem, 4vw, 4rem) 0 0 auto;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 650;
  line-height: 1.6;
}

.sack-experience-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.9rem;
}

.sack-media-wide img {
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #fff;
}

.sack-experience-media .sack-media-card:last-child img {
  aspect-ratio: 16 / 11;
}

.sack-result-section {
  background: #dfe9e1;
}

.sack-session-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  margin: 0 0 clamp(3rem, 6vw, 6rem);
  padding: 0;
  list-style: none;
}

.sack-session-flow li {
  display: grid;
  min-height: 9rem;
  padding: 1rem;
  color: #fff;
  background: var(--sack-petrol-deep);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 750;
}

.sack-session-flow span {
  color: var(--sack-coral);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
}

.sack-concept-media img {
  aspect-ratio: 16 / 8.8;
  object-position: center;
}

.sack-video-card {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.sack-video-card video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.sack-reflection-section {
  color: #fff;
  background: var(--ink);
}

.sack-reflection-section .sack-case-section-label { color: var(--sack-coral); }

.sack-reflection-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.sack-reflection-section .sack-prose p {
  color: rgba(255, 255, 255, 0.75);
}

.sack-limitations {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
  background: var(--sack-coral);
  border-radius: var(--radius-md);
}

.sack-limitations ul {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.sack-limitations li {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 23, 25, 0.24);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.55;
}

.sack-case-footer {
  padding: clamp(3rem, 7vw, 7rem);
  background: var(--sack-cream);
}

.sack-tag-groups {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.6fr;
  gap: 1rem;
}

.sack-tag-groups > div {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 23, 25, 0.18);
}

.sack-tag-groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.sack-tag-groups li {
  padding: 0.42rem 0.62rem;
  color: var(--sack-petrol-deep);
  background: rgba(168, 195, 176, 0.36);
  border: 1px solid rgba(40, 93, 98, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sack-tag-groups li:hover {
  color: #fff;
  background: var(--sack-petrol);
  transform: translateY(-2px);
}

.sack-case-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.sack-case-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1.2rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(23, 23, 25, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, transform 200ms ease;
}

.sack-case-actions button:last-child {
  color: #fff;
  background: var(--sack-petrol-deep);
  border-color: var(--sack-petrol-deep);
}

.sack-case-actions button:hover {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .sack-case-hero-copy {
    width: min(50rem, 82%);
  }

  .sack-case-hero-meta {
    display: none;
  }

  .sack-case-nav {
    justify-content: flex-start;
    padding-right: 5rem;
  }

  .sack-case-nav p {
    display: none;
  }

  .sack-facts,
  .sack-skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sack-process-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .sack-process-line::before {
    display: none;
  }

  .sack-process-line li {
    min-height: 13rem;
  }

  .sack-process-line h4 {
    margin-top: 3rem;
  }

  .sack-leadership-moment {
    grid-template-columns: 1fr;
  }

  .sack-leadership-moment dl,
  .sack-moment-insight {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .project-dialog[data-project-id="sack-attack"] {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }

  .sack-case-hero {
    min-height: 46rem;
  }

  .sack-case-hero > img {
    object-position: 54% center;
  }

  .sack-case-hero-shade {
    background: linear-gradient(0deg, rgba(12, 31, 33, 0.98) 0%, rgba(12, 31, 33, 0.76) 58%, rgba(12, 31, 33, 0.15) 100%);
  }

  .sack-case-hero-copy {
    width: auto;
    padding: 6rem 1.25rem 2rem;
  }

  .sack-case-hero h2 {
    font-size: clamp(4.2rem, 20vw, 6rem);
  }

  .sack-case-statement {
    font-size: 1.15rem;
  }

  .sack-case-role-card {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .sack-case-video-link {
    width: 100%;
    justify-content: space-between;
    border-radius: 1rem;
  }

  .sack-case-nav {
    min-height: 3.8rem;
    padding-right: 4.5rem;
  }

  .sack-case-nav button {
    padding-inline: 0.65rem;
  }

  .sack-case-section {
    padding: 4.5rem 1.2rem;
  }

  .sack-case-intro h3,
  .sack-section-header h3,
  .sack-audience-block h3 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .sack-case-lead {
    margin-left: 0;
    font-size: 1.05rem;
  }

  .sack-facts,
  .sack-skill-grid,
  .sack-section-header,
  .sack-editorial-grid,
  .sack-audience-block > header,
  .sack-insight-grid,
  .sack-process-line,
  .sack-prototype-media,
  .sack-finding-strip,
  .sack-leadership-moment dl,
  .sack-role-media,
  .sack-claim-shift,
  .sack-experience-media,
  .sack-session-flow,
  .sack-reflection-grid,
  .sack-tag-groups,
  .sack-case-actions {
    grid-template-columns: 1fr;
  }

  .sack-section-header .sack-case-section-label,
  .sack-audience-block > header .sack-case-section-label {
    grid-column: 1;
  }

  .sack-section-header {
    gap: 1.5rem;
  }

  .sack-facts div {
    min-height: 6.5rem;
  }

  .sack-skill-grid article {
    min-height: 12rem;
  }

  .sack-skill-grid h4 {
    margin-top: 2.8rem;
  }

  .sack-contribution {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .sack-insight-grid article {
    grid-template-columns: 1.6rem 1fr;
  }

  .sack-insight-grid strong {
    grid-column: 2;
  }

  .sack-process-line li {
    min-height: 11rem;
  }

  .sack-role-media {
    gap: 2rem;
  }

  .sack-personal-evidence img {
    aspect-ratio: 4 / 3;
    object-position: center 40%;
  }

  .sack-claim-shift > i {
    min-height: 3rem;
    transform: rotate(90deg);
  }

  .sack-claim-shift > div {
    min-height: 13rem;
  }

  .sack-claim-shift p {
    margin-top: 3.5rem;
  }

  .sack-session-flow li {
    min-height: 6rem;
  }

  .sack-case-footer {
    padding: 3rem 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   Voor Je Draait — compact theory-to-design case
   -------------------------------------------------------------------------- */

.project-dialog[data-project-id="voor-je-draait"] {
  width: min(96vw, 1440px);
  max-height: 96svh;
  background: #f7f0d9;
}

.project-dialog[data-project-id="voor-je-draait"] .dialog-close {
  z-index: 190;
  color: #fff9e9;
  background: rgba(7, 40, 55, 0.92);
  border-color: rgba(255, 249, 233, 0.28);
}

.project-dialog[data-project-id="voor-je-draait"].vjd-viewer-active {
  overflow: hidden;
}

.project-dialog[data-project-id="voor-je-draait"].vjd-viewer-active .dialog-close {
  opacity: 0;
  pointer-events: none;
}

.vjd-case {
  --vjd-navy: #082f43;
  --vjd-navy-soft: #164b58;
  --vjd-green: #28673b;
  --vjd-leaf: #7ca34a;
  --vjd-gold: #e3a534;
  --vjd-coral: #cc6548;
  --vjd-cream: #f7f0d9;
  --vjd-paper: #fffaf0;
  --vjd-line: rgba(8, 47, 67, 0.18);
  color: #142c32;
  background: var(--vjd-cream);
}

.vjd-hero {
  position: relative;
  display: grid;
  min-height: min(51rem, 88svh);
  overflow: hidden;
  color: #fffdf4;
  background: var(--vjd-navy);
}

.vjd-hero > img,
.vjd-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vjd-hero > img {
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.015);
}

.vjd-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 35, 49, 0.97) 0%, rgba(5, 35, 49, 0.87) 40%, rgba(5, 35, 49, 0.18) 78%),
    linear-gradient(0deg, rgba(5, 35, 49, 0.96) 0%, transparent 50%);
}

.vjd-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(55rem, 68%);
  padding: clamp(3rem, 7vw, 7rem);
}

.vjd-kicker,
.vjd-label,
.vjd-role-note > span,
.vjd-facts dt,
.vjd-reflection-grid aside > span,
.vjd-tag-groups > div > span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vjd-kicker {
  margin: 0 0 1.2rem;
  color: #f2bf58;
}

.vjd-hero h2 {
  margin: 0;
  font-size: clamp(5rem, 11vw, 10rem);
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.vjd-hero-statement {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: rgba(255, 253, 244, 0.9);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.vjd-role-note {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.2rem;
  max-width: 48rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 253, 244, 0.32);
}

.vjd-role-note > span { color: #bed879; }

.vjd-role-note p {
  margin: 0;
  color: rgba(255, 253, 244, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.vjd-hero-metrics {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(6rem, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 253, 244, 0.25);
  border: 1px solid rgba(255, 253, 244, 0.25);
  border-radius: 1rem;
  list-style: none;
  backdrop-filter: blur(12px);
}

.vjd-hero-metrics li {
  display: grid;
  min-height: 6.2rem;
  padding: 0.9rem;
  background: rgba(5, 35, 49, 0.76);
}

.vjd-hero-metrics strong {
  color: #bed879;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.vjd-hero-metrics span {
  align-self: end;
  color: rgba(255, 253, 244, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vjd-content { background: var(--vjd-cream); }

.vjd-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  border-bottom: 1px solid var(--vjd-line);
}

.vjd-label {
  margin: 0 0 1.2rem;
  color: var(--vjd-green);
}

.vjd-section-heading h3 {
  max-width: 64rem;
  margin: 0;
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  letter-spacing: -0.075em;
  line-height: 0.91;
  text-wrap: balance;
}

.vjd-section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.vjd-section-heading-split > p {
  max-width: 41rem;
  margin: 0;
  color: rgba(20, 44, 50, 0.7);
  font-size: 1rem;
  line-height: 1.72;
}

.vjd-intro-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: clamp(3rem, 6vw, 6rem);
}

.vjd-prose {
  display: grid;
  gap: 1.2rem;
}

.vjd-prose p {
  max-width: 53rem;
  margin: 0;
  color: rgba(20, 44, 50, 0.73);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.73;
}

.vjd-feedback-loop {
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  color: #fffdf4;
  background: var(--vjd-navy);
  border-radius: 1rem;
}

.vjd-feedback-loop figcaption {
  display: grid;
  gap: 0.6rem;
}

.vjd-feedback-loop figcaption > span,
.vjd-design-boundary span {
  color: #efb65d;
  font: 800 0.63rem/1 "Courier New", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vjd-feedback-loop figcaption > strong {
  max-width: 29rem;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.vjd-feedback-loop figcaption > p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 253, 244, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.vjd-feedback-loop ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.vjd-feedback-loop li {
  position: relative;
  min-height: 8.7rem;
  padding: 0.9rem;
  color: #142c32;
  background: #fffaf0;
  border-radius: 0.8rem;
}

.vjd-feedback-loop li:nth-child(2) { background: #bed879; }
.vjd-feedback-loop li:nth-child(3) { background: #efb65d; }
.vjd-feedback-loop li:nth-child(4) { background: #d7df9b; }

.vjd-feedback-loop li > span {
  color: var(--vjd-coral);
  font: 800 0.6rem/1 "Courier New", monospace;
}

.vjd-feedback-loop li > strong {
  display: block;
  margin-top: 1.3rem;
  font-size: 0.88rem;
}

.vjd-feedback-loop li > p {
  margin: 0.45rem 0 0;
  color: rgba(20, 44, 50, 0.68);
  font-size: 0.68rem;
  line-height: 1.45;
}

.vjd-feedback-loop li::after {
  position: absolute;
  z-index: 1;
  right: -0.72rem;
  top: 50%;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  content: "→";
  color: #fffdf4;
  background: var(--vjd-coral);
  border: 3px solid var(--vjd-navy);
  border-radius: 50%;
  font-size: 0.72rem;
  transform: translateY(-50%);
}

.vjd-feedback-loop li:nth-child(2)::after {
  right: 50%;
  top: auto;
  bottom: -0.74rem;
  content: "↓";
  transform: translateX(50%);
}

.vjd-feedback-loop li:nth-child(3) {
  grid-column: 2;
  padding-left: 1.55rem;
}
.vjd-feedback-loop li:nth-child(4) { grid-column: 1; grid-row: 2; }
.vjd-feedback-loop li:nth-child(3)::after {
  right: auto;
  left: -0.72rem;
  content: "←";
}
.vjd-feedback-loop li:nth-child(4)::after { display: none; }

.vjd-loop-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  padding: 0.8rem 0.9rem;
  color: #fffdf4;
  border: 1px dashed rgba(255, 253, 244, 0.28);
  border-radius: 0.8rem;
}

.vjd-loop-return span {
  max-width: 25rem;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.4;
}

.vjd-loop-return i {
  color: #bed879;
  font-size: 1.4rem;
  font-style: normal;
}

.vjd-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  align-self: start;
  margin: 0;
  overflow: hidden;
  background: var(--vjd-line);
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
}

.vjd-facts div {
  min-height: 7.4rem;
  padding: 1rem;
  background: var(--vjd-paper);
}

.vjd-facts dt { color: var(--vjd-green); }

.vjd-facts dd {
  margin: 1.1rem 0 0;
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.4;
}

.vjd-skill-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.vjd-skill-grid article {
  display: grid;
  min-height: 14rem;
  padding: 1.2rem;
  color: #fffdf4;
  background: var(--vjd-navy);
  border-radius: 1rem;
  transition: transform 220ms ease, background 220ms ease;
}

.vjd-skill-grid article:nth-child(2),
.vjd-skill-grid article:nth-child(5) { background: var(--vjd-green); }
.vjd-skill-grid article:nth-child(3) { color: #142c32; background: #d7df9b; }
.vjd-skill-grid article:nth-child(4) { color: #142c32; background: #efb65d; }

.vjd-skill-grid article:hover { transform: translateY(-4px); }
.vjd-skill-grid article > span { font: 800 0.64rem/1 "Courier New", monospace; }

.vjd-skill-grid h4 {
  align-self: end;
  margin: 3rem 0 0.7rem;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.vjd-skill-grid p {
  margin: 0;
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.55;
  opacity: 0.78;
}

.vjd-theory-section {
  color: #fffdf4;
  background: var(--vjd-navy);
}

.vjd-theory-section .vjd-label { color: #efb65d; }
.vjd-theory-section .vjd-section-heading-split > p { color: rgba(255, 253, 244, 0.7); }

.vjd-theory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.vjd-theory-grid article {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 20rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: rgba(255, 253, 244, 0.07);
  border: 1px solid rgba(255, 253, 244, 0.15);
  border-radius: 1rem;
  transition: background 220ms ease, transform 220ms ease;
}

.vjd-theory-grid article:hover {
  background: rgba(255, 253, 244, 0.11);
  transform: translateY(-3px);
}

.vjd-theory-title { grid-column: 1 / -1; }

.vjd-theory-title span {
  color: #efb65d;
  font: 800 0.64rem/1 "Courier New", monospace;
}

.vjd-theory-title h4 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  letter-spacing: -0.05em;
}

.vjd-theory-grid article > p {
  align-self: end;
  max-width: 27rem;
  margin: 2rem 0 0;
  color: rgba(255, 253, 244, 0.65);
  font-size: 0.86rem;
  line-height: 1.62;
}

.vjd-theory-grid article > div[aria-hidden] {
  align-self: end;
  color: #bed879;
  font-size: 1.5rem;
}

.vjd-theory-grid article > strong {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  color: #fffdf4;
  border-top: 1px solid rgba(255, 253, 244, 0.22);
  font-size: 1rem;
  line-height: 1.55;
}

.vjd-design-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(13rem, 0.75fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  color: #142c32;
  background: rgba(255, 253, 244, 0.18);
  border: 1px solid rgba(255, 253, 244, 0.18);
  border-radius: 1rem;
}

.vjd-design-boundary > div {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: #fffaf0;
}

.vjd-design-boundary > div:first-child { background: #efb65d; }
.vjd-design-boundary > div:last-child { background: #f5ddd3; }

.vjd-design-boundary h4 {
  max-width: 28rem;
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.vjd-design-boundary p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(20, 44, 50, 0.7);
  font-size: 0.8rem;
  line-height: 1.58;
}

.vjd-design-boundary ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.vjd-design-boundary li {
  position: relative;
  padding: 0.8rem 0 0 1.4rem;
  border-top: 1px solid rgba(20, 44, 50, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.48;
}

.vjd-design-boundary li::before {
  position: absolute;
  left: 0;
  content: "●";
  color: var(--vjd-green);
  font-size: 0.68rem;
}

.vjd-design-boundary > div:last-child li::before {
  content: "×";
  color: var(--vjd-coral);
  font-size: 0.9rem;
  font-weight: 900;
}

.vjd-concept-section { background: #edf0d7; }

.vjd-concept-explainer {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(24rem, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fffdf4;
  background: var(--vjd-navy);
  border-radius: 1rem;
}

.vjd-concept-explainer p { margin: 0; }

.vjd-concept-explainer p:first-child {
  color: #bed879;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.vjd-concept-explainer p:last-child {
  color: rgba(255, 253, 244, 0.75);
  font-size: clamp(0.94rem, 1.2vw, 1.05rem);
  line-height: 1.72;
}

.vjd-wide-media {
  margin: clamp(3rem, 6vw, 6rem) 0 0;
}

.vjd-wide-media img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--vjd-paper);
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
}

.vjd-wide-media figcaption,
.vjd-test-media figcaption {
  padding: 0.75rem 0.15rem 0;
  color: rgba(20, 44, 50, 0.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.63rem;
  line-height: 1.5;
}

.vjd-component-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 1rem 0 0;
  padding: 0;
  overflow: hidden;
  background: var(--vjd-line);
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
  list-style: none;
}

.vjd-component-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  min-height: 8rem;
  padding: 1.15rem;
  background: var(--vjd-paper);
}

.vjd-component-list li > span {
  color: var(--vjd-coral);
  font: 800 0.65rem/1 "Courier New", monospace;
}

.vjd-component-list strong { font-size: 0.92rem; }
.vjd-component-list p { margin: 0.7rem 0 0; color: rgba(20, 44, 50, 0.66); font-size: 0.78rem; line-height: 1.5; }

.vjd-flow-block {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--vjd-line);
}

.vjd-flow-block .vjd-wide-media { margin-top: 0; }

.vjd-proof-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.vjd-session-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.vjd-session-flow li {
  display: grid;
  min-height: 10rem;
  padding: 1rem;
  color: #fffdf4;
  background: var(--vjd-navy);
  border-radius: 1rem;
}

.vjd-session-flow li:nth-child(2) { background: var(--vjd-green); }
.vjd-session-flow li:nth-child(3) { color: #142c32; background: #efb65d; }
.vjd-session-flow li:nth-child(4) { background: var(--vjd-navy-soft); }
.vjd-session-flow li:nth-child(5) { color: #142c32; background: #bed879; }
.vjd-session-flow span { font: 800 0.63rem/1 "Courier New", monospace; }
.vjd-session-flow strong { align-self: end; margin-top: 2.5rem; font-size: 0.9rem; }
.vjd-session-flow p { margin: 0.45rem 0 0; color: inherit; font-size: 0.72rem; line-height: 1.45; opacity: 0.76; }

.vjd-test-section { background: var(--vjd-paper); }

.vjd-test-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.vjd-test-media { margin: 0; }

.vjd-test-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.64 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
}

.vjd-change-list { display: grid; gap: 0.8rem; }

.vjd-change-list article {
  display: grid;
  grid-template-columns: 2rem minmax(0, 0.8fr) auto minmax(0, 1.2fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: var(--vjd-cream);
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
}

.vjd-change-list article > span { color: var(--vjd-coral); font: 800 0.64rem/1 "Courier New", monospace; }
.vjd-change-list small { color: var(--vjd-green); font: 800 0.6rem/1 "Courier New", monospace; text-transform: uppercase; }
.vjd-change-list p,
.vjd-change-list strong { display: block; margin: 0.65rem 0 0; font-size: 0.8rem; line-height: 1.55; }
.vjd-change-list p { color: rgba(20, 44, 50, 0.65); }
.vjd-change-list i { align-self: center; color: var(--vjd-gold); font-style: normal; }

.vjd-open-point {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: #fffdf4;
  background: var(--vjd-coral);
  border-radius: 1rem;
}

.vjd-open-point span { color: var(--vjd-navy); font: 800 0.66rem/1 "Courier New", monospace; text-transform: uppercase; }
.vjd-open-point p { max-width: 55rem; margin: 0; font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 650; line-height: 1.5; }

.vjd-onepager-section { background: #dce6b8; }

.vjd-onepager-open {
  position: relative;
  display: block;
  width: min(72rem, 94%);
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  padding: 0;
  overflow: hidden;
  color: #fffdf4;
  background: var(--vjd-navy);
  border: 0;
  border-radius: 1.2rem;
  box-shadow: 0 2rem 5rem rgba(8, 47, 67, 0.2);
  cursor: zoom-in;
  text-align: left;
}

.vjd-onepager-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  transition: transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 350ms ease;
}

.vjd-onepager-open > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(8, 47, 67, 0.92);
  border: 1px solid rgba(255, 253, 244, 0.24);
  border-radius: 0.9rem;
  backdrop-filter: blur(12px);
}

.vjd-onepager-open strong { font-size: 0.85rem; }
.vjd-onepager-open small { color: rgba(255, 253, 244, 0.62); font-size: 0.68rem; }
.vjd-onepager-open i { grid-column: 2; grid-row: 1 / 3; color: #bed879; font-size: 1.5rem; font-style: normal; }
.vjd-onepager-open:hover img { filter: saturate(1.06); transform: scale(1.018); }
.vjd-onepager-open:focus-visible { outline: 4px solid var(--vjd-coral); outline-offset: 5px; }

.vjd-reflection-section {
  color: #fffdf4;
  background: var(--vjd-navy);
}

.vjd-reflection-section .vjd-label { color: #efb65d; }

.vjd-reflection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: clamp(3rem, 6vw, 6rem);
}

.vjd-reflection-section .vjd-prose p { color: rgba(255, 253, 244, 0.73); }

.vjd-reflection-grid aside {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: #142c32;
  background: #efb65d;
  border-radius: 1rem;
}

.vjd-reflection-grid aside ul {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.vjd-reflection-grid aside li {
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 44, 50, 0.23);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.55;
}

.vjd-footer {
  padding: clamp(3rem, 7vw, 7rem);
  background: var(--vjd-cream);
}

.vjd-tag-groups {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 1rem;
}

.vjd-tag-groups > div {
  padding-top: 1rem;
  border-top: 1px solid var(--vjd-line);
}

.vjd-tag-groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.vjd-tag-groups li {
  padding: 0.42rem 0.62rem;
  color: var(--vjd-navy);
  background: rgba(124, 163, 74, 0.16);
  border: 1px solid rgba(40, 103, 59, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
}

.vjd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.vjd-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1.2rem;
  color: #142c32;
  background: transparent;
  border: 1px solid var(--vjd-line);
  border-radius: 1rem;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, transform 200ms ease;
}

.vjd-actions button:last-child {
  color: #fffdf4;
  background: var(--vjd-navy);
  border-color: var(--vjd-navy);
}

.vjd-actions button:hover,
.vjd-actions button:focus-visible {
  color: #fffdf4;
  background: var(--vjd-coral);
  border-color: var(--vjd-coral);
  transform: translateY(-2px);
}

.vjd-onepager-viewer {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #fffdf4;
  background: rgba(4, 24, 34, 0.97);
  backdrop-filter: blur(18px);
  animation: vjd-viewer-in 240ms ease both;
}

.vjd-onepager-viewer[hidden] { display: none; }

@keyframes vjd-viewer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vjd-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--vjd-navy);
  border-bottom: 1px solid rgba(255, 253, 244, 0.18);
}

.vjd-viewer-bar div { display: grid; gap: 0.15rem; }
.vjd-viewer-bar span { color: rgba(255, 253, 244, 0.62); font: 700 0.6rem/1.2 "Courier New", monospace; text-transform: uppercase; }
.vjd-viewer-bar strong { font-size: 0.9rem; }

.vjd-viewer-bar button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.8rem;
  color: #fffdf4;
  background: transparent;
  border: 1px solid rgba(255, 253, 244, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
}

.vjd-viewer-bar button span { color: #bed879; font-size: 1.2rem; }
.vjd-viewer-bar button:hover,
.vjd-viewer-bar button:focus-visible { color: var(--vjd-navy); background: #bed879; border-color: #bed879; outline: none; }
.vjd-viewer-bar button:hover span,
.vjd-viewer-bar button:focus-visible span { color: var(--vjd-navy); }

.vjd-viewer-canvas {
  overflow: auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  overscroll-behavior: contain;
}

.vjd-viewer-canvas img {
  width: min(1600px, 92vw);
  min-width: min(1050px, 190vw);
  height: auto;
  aspect-ratio: auto;
  border-radius: 0.8rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
}

@media (max-width: 1100px) {
  .vjd-hero-copy { width: min(50rem, 80%); }
  .vjd-hero-metrics { display: none; }
  .vjd-skill-grid { grid-template-columns: repeat(3, 1fr); }
  .vjd-session-flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .project-dialog[data-project-id="voor-je-draait"] {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }

  .vjd-hero { min-height: 45rem; }
  .vjd-hero > img { object-position: 52% top; }
  .vjd-hero-shade { background: linear-gradient(0deg, rgba(5, 35, 49, 0.99) 0%, rgba(5, 35, 49, 0.82) 58%, rgba(5, 35, 49, 0.2) 100%); }
  .vjd-hero-copy { width: auto; padding: 6rem 1.2rem 2.4rem; }
  .vjd-hero h2 { font-size: clamp(4rem, 19vw, 5.8rem); }
  .vjd-hero-statement { font-size: 1.12rem; }
  .vjd-role-note { grid-template-columns: 1fr; gap: 0.55rem; }

  .vjd-section { padding: 4.5rem 1.2rem; }
  .vjd-section-heading h3 {
    font-size: clamp(2.7rem, 11.5vw, 4.4rem);
    overflow-wrap: anywhere;
  }
  .vjd-section-heading-split,
  .vjd-intro-grid,
  .vjd-theory-grid,
  .vjd-design-boundary,
  .vjd-concept-explainer,
  .vjd-test-layout,
  .vjd-reflection-grid,
  .vjd-tag-groups { grid-template-columns: 1fr; }

  .vjd-skill-grid,
  .vjd-component-list,
  .vjd-session-flow,
  .vjd-actions { grid-template-columns: repeat(2, 1fr); }

  .vjd-section-heading-split { gap: 1.5rem; }
  .vjd-facts { grid-template-columns: 1fr 1fr; }
  .vjd-skill-grid article { min-height: 11rem; }
  .vjd-theory-grid article { min-height: 17rem; }
  .vjd-wide-media { margin-inline: 0; overflow-x: auto; }
  .vjd-wide-media img { min-width: 46rem; }
  .vjd-flow-block .vjd-wide-media:not(.vjd-proof-media) img { min-width: 58rem; }
  .vjd-proof-media img { min-width: 0; }
  .vjd-session-flow li { min-height: 7.5rem; }
  .vjd-change-list article { grid-template-columns: 1.6rem 1fr; }
  .vjd-change-list article > i { grid-column: 2; transform: rotate(90deg); }
  .vjd-change-list article > div:last-child { grid-column: 2; min-width: 0; }
  .vjd-open-point { grid-template-columns: 1fr; }
  .vjd-onepager-open { width: 100%; }
  .vjd-footer { padding: 3rem 1.2rem; }
  .vjd-viewer-bar div span { display: none; }
  .vjd-viewer-bar button { font-size: 0; }
  .vjd-viewer-bar button span { font-size: 1.2rem; }
}

@media (max-width: 600px) {
  .vjd-skill-grid,
  .vjd-component-list,
  .vjd-session-flow,
  .vjd-actions { grid-template-columns: 1fr; }

  .vjd-feedback-loop ol { grid-template-columns: 1fr; }
  .vjd-feedback-loop li:nth-child(3),
  .vjd-feedback-loop li:nth-child(4) { grid-column: 1; grid-row: auto; }
  .vjd-feedback-loop li:nth-child(3) { padding-left: 0.9rem; }
  .vjd-feedback-loop li::after,
  .vjd-feedback-loop li:nth-child(2)::after,
  .vjd-feedback-loop li:nth-child(3)::after {
    right: 50%;
    left: auto;
    top: auto;
    bottom: -0.74rem;
    display: grid;
    content: "↓";
    transform: translateX(50%);
  }
  .vjd-feedback-loop li:nth-child(4)::after { display: none; }
}

@media (max-width: 420px) {
  .vjd-facts { grid-template-columns: 1fr; }
  .vjd-onepager-open > span { top: 0.6rem; right: 0.6rem; left: 0.6rem; }
  .vjd-onepager-open small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vjd-skill-grid article,
  .vjd-theory-grid article,
  .vjd-onepager-open img,
  .vjd-actions button { transition: none; }

  .vjd-onepager-viewer { animation: none; }
}

/* Bahamut's Depths — weapon-finish showcases */

.is-weapon-finish {
  --weapon-deep: #071b18;
  --weapon-panel: #0d2822;
  --weapon-line: rgba(176, 245, 222, 0.22);
  --weapon-mint: #b0f5de;
  --weapon-silver: #dbe8e3;
  --weapon-signal: #ff4fa3;
  color: #15231f;
  background:
    radial-gradient(circle at 5% 42%, rgba(176, 245, 222, 0.17), transparent 25rem),
    #f2f5ef;
}

.weapon-finish-header {
  min-height: min(48rem, 88svh);
  padding: clamp(1.25rem, 3vw, 2.75rem) clamp(1.25rem, 4vw, 4rem) clamp(3.5rem, 7vw, 7rem);
  color: #f4fff9;
  background:
    linear-gradient(rgba(176, 245, 222, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 245, 222, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(255, 79, 163, 0.2), transparent 24rem),
    radial-gradient(circle at 15% 90%, rgba(37, 157, 126, 0.35), transparent 30rem),
    var(--weapon-deep);
  background-size: 4rem 4rem, 4rem 4rem, auto, auto, auto;
  border-color: rgba(176, 245, 222, 0.2);
}

.weapon-finish-header .showcase-back {
  margin-bottom: clamp(4rem, 10vw, 9rem);
  color: #f4fff9;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--weapon-line);
}

.weapon-finish-header .showcase-back:hover {
  color: var(--weapon-deep);
  background: var(--weapon-mint);
}

.weapon-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 8rem);
  width: min(100%, 1380px);
  margin-inline: auto;
}

.weapon-collection-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--weapon-mint);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weapon-collection-label i {
  width: 0.65rem;
  height: 0.65rem;
  background: var(--weapon-signal);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(255, 79, 163, 0.15);
}

.weapon-title-grid h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.5rem, 7.9vw, 8.4rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.weapon-subtitle {
  max-width: 42rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  color: rgba(244, 255, 249, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.5;
}

.weapon-meta {
  margin: 0;
  border-top: 1px solid var(--weapon-line);
}

.weapon-meta > div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--weapon-line);
}

.weapon-meta dt,
.weapon-meta dd {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.weapon-meta dt {
  color: rgba(244, 255, 249, 0.5);
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.weapon-meta dd {
  color: var(--weapon-mint);
  font-weight: 800;
}

.weapon-workshop-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1380px);
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  padding-top: 1rem;
  color: #f4fff9;
  border-top: 1px solid var(--weapon-line);
  text-decoration: none;
  font-size: 0.78rem;
}

.weapon-workshop-link span { color: rgba(244, 255, 249, 0.55); }
.weapon-workshop-link strong { color: var(--weapon-mint); }
.weapon-workshop-link:hover strong { color: var(--weapon-signal); }

.weapon-carousel {
  width: var(--detail-shell);
  margin: clamp(-2rem, -2.5vw, -1rem) auto clamp(5rem, 10vw, 10rem);
  padding: clamp(0.7rem, 1.4vw, 1.15rem);
  color: #f4fff9;
  background: var(--weapon-deep);
  border: 1px solid rgba(176, 245, 222, 0.25);
  border-radius: 1rem;
  box-shadow: 0 2.2rem 6rem rgba(7, 27, 24, 0.27);
}

.weapon-carousel-topline,
.weapon-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.2rem;
}

.weapon-carousel-topline > p,
.weapon-carousel-footer > p {
  margin: 0;
  color: rgba(244, 255, 249, 0.54);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weapon-carousel-topline > p span {
  margin-right: 0.6rem;
  color: var(--weapon-signal);
}

.weapon-carousel-topline > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.weapon-carousel-topline [data-weapon-carousel-count] {
  min-width: 4.5rem;
  color: var(--weapon-mint);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.weapon-carousel-topline button {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: #f4fff9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--weapon-line);
  border-radius: 50%;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.weapon-carousel-topline button:hover {
  color: var(--weapon-deep);
  background: var(--weapon-mint);
  transform: translateY(-0.12rem);
}

.weapon-carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020706;
  border: 1px solid var(--weapon-line);
  border-radius: 0.65rem;
  touch-action: pan-y;
}

.weapon-carousel-viewport:focus-visible {
  outline: 4px solid var(--weapon-signal);
  outline-offset: 4px;
}

.weapon-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 320ms ease, transform 480ms var(--ease), visibility 0s linear 480ms;
}

.weapon-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.weapon-carousel-slide > video,
.weapon-carousel-slide > iframe,
.weapon-youtube-trigger,
.weapon-carousel-image,
.weapon-youtube-trigger img,
.weapon-carousel-image img {
  width: 100%;
  height: 100%;
}

.weapon-carousel-slide > video,
.weapon-carousel-slide > iframe,
.weapon-carousel-image img {
  object-fit: contain;
  background: #020706;
}

.weapon-carousel-slide > iframe {
  border: 0;
}

.weapon-youtube-trigger {
  position: relative;
  display: grid;
  padding: 0;
  overflow: hidden;
  place-items: center;
  color: #f4fff9;
  background: #020706;
  border: 0;
}

.weapon-youtube-trigger::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 7, 6, 0.08), rgba(2, 7, 6, 0.38));
  transition: background 200ms ease;
}

.weapon-youtube-trigger img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 220ms ease;
}

.weapon-youtube-trigger > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(4.4rem, 8vw, 6.5rem);
  aspect-ratio: 1;
  place-items: center;
  background: var(--weapon-mint);
  border: 0.45rem solid rgba(7, 27, 24, 0.2);
  border-radius: 50%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.42);
  transition: background 180ms ease, transform 220ms var(--ease);
}

.weapon-youtube-trigger > span i {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.2rem solid var(--weapon-deep);
}

.weapon-youtube-trigger > strong {
  position: relative;
  z-index: 2;
  margin-top: -28%;
  padding: 0.55rem 0.75rem;
  color: #f4fff9;
  background: rgba(7, 27, 24, 0.82);
  border: 1px solid var(--weapon-line);
  border-radius: 999px;
  font-size: 0.7rem;
  backdrop-filter: blur(0.6rem);
}

.weapon-youtube-trigger:hover img {
  filter: saturate(1.12) brightness(1.06);
  transform: scale(1.025);
}

.weapon-youtube-trigger:hover > span {
  background: var(--weapon-signal);
  transform: scale(1.07);
}

.weapon-youtube-trigger:focus-visible {
  outline: 4px solid var(--weapon-signal);
  outline-offset: -4px;
}

.weapon-carousel-image {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.weapon-carousel-image img { transition: transform 600ms var(--ease); }
.weapon-carousel-image:hover img { transform: scale(1.018); }

.weapon-carousel-image span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.55rem 0.7rem;
  color: #f4fff9;
  background: rgba(7, 27, 24, 0.78);
  border: 1px solid var(--weapon-line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(0.6rem);
}

.weapon-carousel-slide > p {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: clamp(2.8rem, 7vw, 5.5rem) clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  color: #f4fff9;
  background: linear-gradient(transparent, rgba(2, 7, 6, 0.9));
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  line-height: 1.4;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.weapon-carousel-slide.is-playing > p { opacity: 0; }

.weapon-carousel-footer { padding-top: 0.55rem; }

.weapon-carousel-dots {
  display: flex;
  gap: 0.4rem;
}

.weapon-carousel-dots button {
  display: grid;
  min-width: 1.7rem;
  min-height: 2.2rem;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
}

.weapon-carousel-dots button span {
  display: block;
  width: 1.35rem;
  height: 0.22rem;
  background: rgba(244, 255, 249, 0.3);
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease;
}

.weapon-carousel-dots button[aria-pressed="true"] span {
  width: 2.4rem;
  background: var(--weapon-signal);
}

.weapon-carousel-dots button:focus-visible { outline: 3px solid var(--weapon-mint); outline-offset: 1px; }

.weapon-story {
  width: var(--detail-shell);
  margin-inline: auto;
}

.weapon-overview {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.weapon-overview h3,
.weapon-tech-heading h3,
.weapon-changes h3 {
  max-width: 13ch;
  margin: 0.75rem 0 0;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.weapon-overview > div:last-child {
  max-width: 50rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(21, 35, 31, 0.23);
}

.weapon-overview > div:last-child p {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.55;
}

.weapon-overview > div:last-child p + p { margin-top: 1.2rem; }

.weapon-tech {
  padding: clamp(2rem, 4vw, 4rem);
  color: #f4fff9;
  background:
    linear-gradient(rgba(176, 245, 222, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 245, 222, 0.055) 1px, transparent 1px),
    var(--weapon-deep);
  background-size: 3.2rem 3.2rem;
  border-radius: 1rem;
}

.weapon-tech-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.weapon-tech-heading .showcase-section-label { color: var(--weapon-mint); }
.weapon-tech-heading h3 { max-width: 14ch; margin-left: auto; text-align: right; }

.weapon-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--weapon-line);
  border: 1px solid var(--weapon-line);
}

.weapon-tech-grid article {
  min-height: 19rem;
  padding: clamp(1.15rem, 2.5vw, 2rem);
  background: var(--weapon-panel);
}

.weapon-tech-grid article > span {
  display: block;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
  color: var(--weapon-signal);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.weapon-tech-grid h4 {
  margin: 0 0 0.8rem;
  color: var(--weapon-mint);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.weapon-tech-grid p {
  margin: 0;
  color: rgba(244, 255, 249, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
}

.weapon-changes {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(5rem, 10vw, 10rem);
}

.weapon-changes > div > p:last-child {
  max-width: 28rem;
  color: rgba(21, 35, 31, 0.66);
  font-size: 0.86rem;
  line-height: 1.55;
}

.weapon-changes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: weapon-change;
}

.weapon-changes li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 4.5rem;
  border-top: 1px solid rgba(21, 35, 31, 0.22);
  counter-increment: weapon-change;
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  font-weight: 750;
}

.weapon-changes li::before {
  content: counter(weapon-change, decimal-leading-zero);
  color: var(--category-accent);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
}

.weapon-source-note {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.65fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin: clamp(5rem, 10vw, 10rem) 0;
  padding: clamp(1.3rem, 3vw, 2.5rem);
  color: #f4fff9;
  background: var(--weapon-panel);
  border-left: 0.4rem solid var(--weapon-signal);
}

.weapon-source-note > div:first-child { display: grid; gap: 0.3rem; }
.weapon-source-note span { color: var(--weapon-signal); font-family: "Courier New", monospace; font-size: 0.68rem; }
.weapon-source-note strong { color: var(--weapon-mint); }
.weapon-source-note p { margin: 0; color: rgba(244, 255, 249, 0.66); font-size: 0.78rem; line-height: 1.55; }
.weapon-source-links { display: grid; gap: 0.45rem; justify-items: start; }
.weapon-source-links a { color: #f4fff9; font-size: 0.75rem; font-weight: 800; text-underline-offset: 0.25rem; }
.weapon-source-links a:hover { color: var(--weapon-mint); }

@media (max-width: 860px) {
  .weapon-finish-header { min-height: auto; }
  .weapon-title-grid,
  .weapon-overview,
  .weapon-changes { grid-template-columns: 1fr; }
  .weapon-title-grid { gap: 3rem; }
  .weapon-title-grid h2 { max-width: 12ch; }
  .weapon-meta { max-width: 32rem; }
  .weapon-carousel { margin-top: -1.5rem; }
  .weapon-tech-heading { display: block; }
  .weapon-tech-heading h3 { margin: 1rem 0 0; text-align: left; }
  .weapon-tech-grid { grid-template-columns: 1fr; }
  .weapon-tech-grid article { min-height: auto; }
  .weapon-tech-grid article > span { margin-bottom: 3rem; }
  .weapon-source-note { grid-template-columns: 1fr 1.4fr; }
  .weapon-source-links { grid-column: 2; }
}

@media (max-width: 600px) {
  .weapon-finish-header { padding: 1rem 1rem 4rem; }
  .weapon-finish-header .showcase-back { margin-bottom: 4rem; }
  .weapon-title-grid h2 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .weapon-subtitle { font-size: 0.94rem; }
  .weapon-meta > div { grid-template-columns: 6.2rem minmax(0, 1fr); }
  .weapon-workshop-link { display: grid; }
  .weapon-carousel {
    width: 94vw;
    margin-bottom: 5rem;
    padding: 0.55rem;
    border-radius: 0.75rem;
  }
  .weapon-carousel-topline > p span,
  .weapon-carousel-footer > p { display: none; }
  .weapon-carousel-viewport { aspect-ratio: 4 / 3; }
  .weapon-carousel-slide > p { font-size: 0.7rem; }
  .weapon-carousel-image span { top: 0.6rem; right: 0.6rem; }
  .weapon-carousel-dots button { min-width: 1.35rem; }
  .weapon-carousel-dots button span { width: 0.9rem; }
  .weapon-carousel-dots button[aria-pressed="true"] span { width: 1.7rem; }
  .weapon-overview { padding-bottom: 5rem; }
  .weapon-overview h3,
  .weapon-tech-heading h3,
  .weapon-changes h3 { font-size: 2.7rem; }
  .weapon-tech { margin-inline: -1.5vw; padding: 1rem; border-radius: 0.75rem; }
  .weapon-tech-grid article { padding: 1.15rem; }
  .weapon-changes { gap: 2rem; padding-block: 5rem; }
  .weapon-source-note { grid-template-columns: 1fr; }
  .weapon-source-links { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .weapon-carousel-slide,
  .weapon-youtube-trigger::after,
  .weapon-youtube-trigger img,
  .weapon-youtube-trigger > span,
  .weapon-carousel-image img,
  .weapon-carousel-topline button,
  .weapon-carousel-dots button span { transition: none; }
}

/* ========================================================================== 
   HOMEPAGE FINAL REDESIGN / v4
   Calm, themeable entry point with three clear routes: work, about, contact.
   ========================================================================== */

html[data-theme="dark"] {
  color-scheme: dark;
  --home-bg: #0f1218;
  --home-surface: #161b24;
  --home-surface-raised: #1c2330;
  --home-text: #f1eee6;
  --home-muted: #aeb4c0;
  --home-line: rgba(241, 238, 230, 0.12);
  --home-line-strong: rgba(241, 238, 230, 0.22);
  --home-blue: #4c6fff;
  --home-blue-hover: #6683ff;
  --home-orange: #ff5a3c;
  --home-header: rgba(15, 18, 24, 0.88);
  --home-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  color-scheme: light;
  --home-bg: #f3f0e9;
  --home-surface: #fbf9f4;
  --home-surface-raised: #ffffff;
  --home-text: #17191f;
  --home-muted: #5f6570;
  --home-line: rgba(23, 25, 31, 0.12);
  --home-line-strong: rgba(23, 25, 31, 0.22);
  --home-blue: #3155ff;
  --home-blue-hover: #2446e2;
  --home-orange: #f45134;
  --home-header: rgba(243, 240, 233, 0.9);
  --home-shadow: 0 1.5rem 4rem rgba(31, 37, 48, 0.1);
}

body.home-page {
  overflow-x: clip;
  color: var(--home-text);
  background: var(--home-bg);
  transition: color 220ms ease, background 220ms ease;
}

.home-page ::selection {
  color: #fff;
  background: var(--home-blue);
}

.home-page :focus-visible {
  outline: 3px solid var(--home-blue);
  outline-offset: 4px;
}

.home-page .scroll-progress span {
  background: var(--home-blue);
}

.home-shell {
  width: min(90vw, 1200px);
  margin-inline: auto;
}

.home-page .site-header {
  top: 0;
  left: 0;
  grid-template-areas: "brand nav language theme";
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(1rem, 3vw, 3rem);
  width: 100%;
  min-height: 4.5rem;
  padding: 0.65rem max(5vw, calc((100vw - 1200px) / 2));
  background: var(--home-header);
  border: 0;
  border-bottom: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(18px);
  transform: none;
}

.home-page .site-header.is-scrolled {
  background: color-mix(in srgb, var(--home-bg) 94%, transparent);
  border-color: var(--home-line-strong);
}

.home-page .brand {
  grid-area: brand;
  color: var(--home-text);
}

.home-page .brand-mark {
  color: #fff;
  background: var(--home-blue);
  border-radius: 0.45rem;
}

.home-page .primary-nav {
  grid-area: nav;
  justify-content: flex-end;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.home-page .primary-nav a {
  padding: 0.7rem 0.1rem;
  color: var(--home-muted);
  font-size: 0.82rem;
}

.home-page .primary-nav a:hover,
.home-page .primary-nav a.is-active {
  color: var(--home-text);
}

.home-page .primary-nav a::after {
  bottom: 0.18rem;
  height: 2px;
  background: var(--home-blue);
}

.home-page .nav-toggle {
  grid-area: menu;
}

.language-switcher {
  grid-area: language;
  display: inline-flex;
  gap: 0.15rem;
  align-items: center;
  padding: 0.2rem;
  background: var(--home-surface);
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
}

.language-switcher button {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.52;
  filter: saturate(0.72);
  transition: opacity 160ms ease, filter 160ms ease, background 160ms ease, transform 160ms ease;
}

.language-flag {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 0.84rem;
  overflow: hidden;
  background: #fff;
  border-radius: 0.1rem;
  box-shadow: 0 0 0 1px rgba(15, 18, 24, 0.2);
}

.language-flag-nl {
  background: linear-gradient(
    to bottom,
    #ae1c28 0 33.333%,
    #ffffff 33.333% 66.666%,
    #21468b 66.666% 100%
  );
}

.language-flag-en::before,
.language-flag-en::after {
  position: absolute;
  z-index: 1;
  background: #ce1124;
  content: "";
}

.language-flag-en::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 0.22rem;
  transform: translateY(-50%);
}

.language-flag-en::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.22rem;
  transform: translateX(-50%);
}

.language-switcher button:hover,
.language-switcher button.is-active,
.language-switcher button[aria-pressed="true"] {
  opacity: 1;
  filter: saturate(1);
}

.language-switcher button:hover {
  transform: translateY(-1px);
}

.language-switcher button.is-active,
.language-switcher button[aria-pressed="true"] {
  background: var(--home-line-strong);
}

.theme-toggle {
  grid-area: theme;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  color: var(--home-text);
  background: var(--home-surface);
  border: 1px solid var(--home-line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  color: #fff;
  background: var(--home-blue);
  border-color: var(--home-blue);
  transform: translateY(-2px);
}

html[data-theme="dark"] .theme-toggle-moon,
html[data-theme="light"] .theme-toggle-sun {
  display: none;
}

.command-trigger[hidden] {
  display: none !important;
}

.home-hero {
  display: grid;
  align-items: center;
  min-height: min(88svh, 52rem);
  padding: calc(4.5rem + clamp(3rem, 7vw, 6rem)) 0 clamp(5rem, 8vw, 7rem);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
  max-width: 76rem;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-role,
.home-section-heading > div > p,
.home-about-copy > p:first-child,
.home-contact-panel > div:first-child > p:first-child {
  margin: 0;
  color: var(--home-blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 1.4rem 0 2rem;
  color: var(--home-text);
  font-weight: 850;
}

.home-hero-title-main,
.home-hero-title-sub {
  display: block;
  text-wrap: balance;
}

.home-hero-title-main {
  max-width: 11ch;
  font-size: clamp(3.8rem, 6.4vw, 6.7rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.home-hero-title-sub {
  position: relative;
  width: fit-content;
  max-width: 23ch;
  margin-top: 1.15rem;
  color: var(--home-blue);
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-hero-title-sub::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 0.18rem;
  background: var(--home-orange);
  content: "";
}

.home-hero-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--home-surface-raised);
  border: 1px solid var(--home-line-strong);
  border-radius: 1.15rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.22);
}

.home-hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 13, 15, 0.2));
  pointer-events: none;
  content: "";
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.home-hero-lead {
  max-width: 58ch;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(1.06rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.6rem;
}

.home-page .home-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.05rem;
  color: #fff;
  background: var(--home-blue);
  border: 0;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.home-page .home-primary-action:hover {
  background: var(--home-blue-hover);
  transform: translateY(-2px);
}

.home-secondary-action {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 0.15rem;
  color: var(--home-text);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--home-line-strong);
}

.home-secondary-action:hover {
  color: var(--home-blue);
  border-color: var(--home-blue);
}

.home-work {
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(7rem, 12vw, 11rem);
  background: var(--home-surface);
  border-block: 1px solid var(--home-line);
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.home-section-heading h2,
.home-about-copy h2,
.home-contact-panel h2 {
  margin: 0.7rem 0 0;
  color: var(--home-text);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.home-section-heading > p {
  max-width: 42ch;
  margin: 0 0 0.5rem;
  color: var(--home-muted);
  line-height: 1.65;
}

.work-filters {
  display: flex;
  gap: 0.55rem;
  margin-top: clamp(2.8rem, 6vw, 5rem);
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: var(--home-line-strong) transparent;
}

.work-filters button {
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0.62rem 0.9rem;
  color: var(--home-muted);
  background: transparent;
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.work-filters button:hover,
.work-filters button[aria-pressed="true"] {
  color: #fff;
  background: var(--home-blue);
  border-color: var(--home-blue);
}

.work-result-count {
  min-height: 1.2rem;
  margin: 0.7rem 0 1.3rem;
  color: var(--home-muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  text-align: right;
  text-transform: uppercase;
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.home-work-grid .showcase-card-wrap {
  width: auto;
  min-width: 0;
  perspective: none;
}

.home-work-grid .showcase-card-wrap[hidden] {
  display: none !important;
}

.home-work-grid .showcase-card {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  color: var(--home-text);
  background: var(--home-surface-raised);
  border: 1px solid var(--home-line);
  border-radius: 0.85rem;
  box-shadow: none;
  transform: none;
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.home-work-grid .showcase-card:hover {
  border-color: var(--home-line-strong);
  box-shadow: var(--home-shadow);
  transform: translateY(-5px);
}

.home-work-grid .showcase-card-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101319;
}

.home-work-grid .showcase-card-media > img,
.home-work-grid .showcase-card-media > video,
.home-work-grid .showcase-card-media > div {
  width: 100%;
  height: 100%;
  transition: transform 380ms var(--ease);
}

.home-work-grid .showcase-card:hover .showcase-card-media > img,
.home-work-grid .showcase-card:hover .showcase-card-media > video,
.home-work-grid .showcase-card:hover .showcase-card-media > div {
  transform: scale(1.025);
}

.home-work-grid .showcase-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.55rem;
  min-height: 10.8rem;
  padding: 1.15rem;
  color: var(--home-text);
  background: transparent;
}

.home-work-grid .showcase-card-category {
  color: var(--home-blue);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-work-grid .showcase-card-body > strong {
  max-width: 18ch;
  color: var(--home-text);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-work-grid .showcase-card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
  color: var(--home-muted);
  border-top: 1px solid var(--home-line);
  font-size: 0.68rem;
  font-weight: 750;
}

.home-about {
  padding: clamp(7rem, 12vw, 11rem) 0;
  background: var(--home-bg);
}

.home-about-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.home-about-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--home-surface);
  border-radius: 0.85rem;
}

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

.home-about-copy {
  max-width: 44rem;
}

.home-about-copy h2 {
  max-width: 10ch;
}

.home-about-copy > p:not(:first-child) {
  max-width: 48ch;
  margin: 1.8rem 0 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.home-about-copy > a {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 2.2rem;
  padding-bottom: 0.45rem;
  color: var(--home-text);
  border-bottom: 2px solid var(--home-blue);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.home-about-copy > a:hover {
  color: var(--home-blue);
}

.home-contact {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
  background: var(--home-bg);
}

.home-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 1rem;
}

.home-contact-panel h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.home-contact-panel > div:first-child > p:last-child {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.home-contact-links {
  display: grid;
  gap: 0.7rem;
}

.home-contact-link {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.7rem 0.9rem;
  color: var(--home-text);
  background: var(--home-surface-raised);
  border: 1px solid var(--home-line-strong);
  border-radius: 0.65rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-contact-link.is-primary {
  color: #fff;
  background: var(--home-blue);
  border-color: var(--home-blue);
}

.home-contact-link:hover {
  color: #fff;
  background: var(--home-blue-hover);
  border-color: var(--home-blue-hover);
  transform: translateY(-2px);
}

.home-contact-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid currentColor;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: lowercase;
}

.home-page .site-footer {
  width: min(90vw, 1200px);
  color: var(--home-muted);
  border-top-color: var(--home-line);
}

.home-page .site-footer a {
  color: var(--home-text);
}

@media (max-width: 980px) {
  .home-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about-layout {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  .home-page .site-header {
    grid-template-areas: "brand language theme menu";
    grid-template-columns: 1fr auto auto auto;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
  }

  .home-page .primary-nav {
    top: calc(4.5rem + 0.5rem);
    left: 3vw;
    display: grid;
    justify-content: stretch;
    width: 94vw;
    padding: 0.6rem;
    background: var(--home-surface-raised);
    border: 1px solid var(--home-line-strong);
  }

  .home-page .primary-nav a,
  .home-page .primary-nav a:hover,
  .home-page .primary-nav a.is-active {
    color: var(--home-text);
  }

  .home-page .nav-toggle {
    color: var(--home-text);
    background: var(--home-surface);
    border: 1px solid var(--home-line-strong);
  }

  .home-hero {
    min-height: auto;
    padding-top: calc(4.5rem + clamp(4rem, 10vw, 6rem));
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .home-hero-title-main {
    max-width: 13ch;
  }

  .home-hero-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .home-section-heading,
  .home-about-layout,
  .home-contact-panel {
    grid-template-columns: 1fr;
  }

  .home-section-heading {
    align-items: start;
  }

  .home-about-photo {
    max-width: 34rem;
    aspect-ratio: 5 / 4;
  }

  .home-contact-panel {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .home-shell {
    width: min(92vw, 40rem);
  }

  .language-switcher button {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: calc(4.5rem + 4.5rem);
    padding-bottom: 6rem;
  }

  .home-hero-title-main {
    max-width: 10ch;
    font-size: clamp(3.1rem, 15vw, 4.4rem);
  }

  .home-hero-title-sub {
    max-width: 20ch;
    font-size: clamp(1.05rem, 5.6vw, 1.45rem);
  }

  .home-hero-actions {
    display: grid;
    align-items: stretch;
  }

  .home-page .home-primary-action {
    width: 100%;
  }

  .home-secondary-action {
    width: max-content;
  }

  .home-hero-photo {
    aspect-ratio: 4 / 3;
    border-radius: 0.8rem;
  }

  .home-section-heading h2,
  .home-about-copy h2,
  .home-contact-panel h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

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

  .home-work-grid .showcase-card-body {
    min-height: 9.5rem;
  }

  .work-result-count {
    text-align: left;
  }

  .home-about-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .home-contact-panel {
    padding: 1.35rem;
  }

  .home-page .site-footer {
    width: 92vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page,
  .theme-toggle,
  .language-switcher button,
  .home-primary-action,
  .home-work-grid .showcase-card,
  .home-work-grid .showcase-card-media > img,
  .home-work-grid .showcase-card-media > video,
  .home-work-grid .showcase-card-media > div,
  .home-contact-link {
    transition: none;
  }
}
