@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Azeret+Mono:wght@400;700&family=Courier+Prime:wght@400;700&family=Oswald:wght@500&family=Playfair+Display:ital@0;1&display=swap');

* { box-sizing: border-box; margin: 0; }

:root {
  --red: #ff2d28;
  --lime: #68dd11;
  --orange: #f5a623;
  --black: #0a0a0a;
  --white: #fff;
  --scroll-progress: 0;
  --brand-dice-edge: 63.2%;
  --brand-dice-ycenter: 48%;
  --brand-text-gap: 20px;
  --pink: #ff8a86;
  --rail-wide: 64rem;
  --rail-narrow: 42rem;
}

html {
  background: var(--red);
}

body {
  font-family: 'Courier Prime', 'Courier New', monospace;
  background: var(--red);
  color: var(--black);
  line-height: 1.5;
}

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

/* ——— Sticky header (red → lime on scroll) ——— */

.site-header {
  --scroll-progress: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 1.25rem;
  overflow: hidden;
  border-bottom: 3px solid var(--black);
  background: color-mix(in srgb, var(--red) calc((1 - var(--scroll-progress)) * 100%), var(--lime) calc(var(--scroll-progress) * 100%));
  color: var(--white);
  transition: background 0.05s linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__mark {
  position: relative;
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
}

.brand__logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(7.5rem, 22vw, 11.5rem);
  height: auto;
  transform: translate(5px, 4px);
  transition: filter 0.15s ease;
}

.brand__logo-link:hover .brand__logo,
.brand__mark:hover .brand__logo {
  filter: brightness(0);
}

.brand__name {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 2.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.05;
  transition: color 0.15s ease;
}

.brand__mark:hover .brand__name {
  color: var(--black);
}

.brand__text {
  position: absolute;
  left: calc(var(--brand-dice-edge) + var(--brand-text-gap));
  top: var(--brand-dice-ycenter);
  transform: translateY(-50%);
  line-height: 1.05;
  white-space: nowrap;
  z-index: 1;
}

.brand__spacer {
  width: 10rem;
  flex-shrink: 0;
}

.brand__tag {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  line-height: 1.15;
  margin-top: calc(0.12rem + 3px);
  color: var(--red);
}

.site-nav {
  display: flex;
  gap: clamp(0.65rem, 3vw, 1.25rem);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(0.65rem, 1.8vw, 0.78rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-end;
  padding-bottom: 0.15rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.28rem 0.5rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--lime) calc((1 - var(--scroll-progress)) * 100%), var(--red) calc(var(--scroll-progress) * 100%));
  color: color-mix(in srgb, var(--black) calc((1 - var(--scroll-progress)) * 100%), var(--white) calc(var(--scroll-progress) * 100%));
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.15rem;
  height: 0.78rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

@media (max-width: 360px) {
  .brand__name {
    font-size: 1.85rem;
  }
}

@media (max-width: 800px) {
  .site-header {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.05rem;
    padding: 0 0.9rem 0.3rem 0.2rem;
    overflow: visible;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-start;
    z-index: 3;
  }

  .brand {
    margin-left: -2.4rem;
    margin-top: 0.4rem;
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(1) {
    transform: translateY(0.3rem) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-0.3rem) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.35rem 0.85rem 0.9rem;
    background: inherit;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }

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

  .site-nav a {
    padding: 0.72rem 0.8rem;
    font-size: 0.82rem;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 90;
  }
}

.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--white);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  border: none;
}
.btn-lime:hover { background: var(--white); color: var(--black); }

/* ——— Stage hero (prototype B in situ) ——— */

.stage-hero {
  background: var(--black);
  color: var(--white);
}

.stage-hero__link,
.stage-hero.stage-hero--secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: clamp(340px, 48vh, 540px);
  text-decoration: none;
  color: var(--white);
}

.stage-hero--secondary {
  min-height: clamp(260px, 36vh, 400px);
  border-bottom: 1px solid var(--lime);
}

.stage-hero--flip .stage-hero__stage { order: 2; }
.stage-hero--flip .stage-hero__copy {
  order: 1;
  border-left: none;
  border-right: 1px solid #2a2a2a;
}

@media (max-width: 720px) {
  .stage-hero__link,
  .stage-hero.stage-hero--secondary {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .stage-hero--flip .stage-hero__stage,
  .stage-hero--flip .stage-hero__copy { order: initial; }
  .stage-hero--flip .stage-hero__copy {
    border-right: none;
    border-left: none;
  }
}

.stage-hero__stage {
  position: relative;
  background: #14110e;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 280px;
}

.stage-hero--secondary .stage-hero__stage {
  min-height: 220px;
}

.stage-hero__blur {
  position: absolute;
  inset: -24%;
  width: 148%;
  height: 148%;
  object-fit: cover;
  filter: blur(16px) saturate(1.1);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.stage-hero__object {
  position: relative;
  z-index: 1;
  width: min(72%, 360px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.stage-hero__object--tall {
  width: min(70%, 300px);
}

.stage-hero__object--wide {
  width: min(92%, 440px);
}

.stage-hero__copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #2a2a2a;
}

.stage-hero__tag {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.65rem;
}

.stage-hero__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.stage-hero--secondary .stage-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.stage-hero__rule {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #ddd;
  margin-bottom: 0.85rem;
  max-width: 28ch;
}

.stage-hero__lede {
  font-size: 0.84rem;
  color: #999;
  max-width: 36ch;
  line-height: 1.5;
}

.stage-hero__cta {
  display: block;
  align-self: stretch;
  width: 100%;
  margin-top: 1.15rem;
  background: var(--lime);
  color: var(--black);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  text-align: center;
}

.stage-hero__link:hover .stage-hero__cta,
.stage-hero--secondary:hover .stage-hero__cta {
  background: var(--white);
}

.stage-hero--secondary:hover .stage-hero__title {
  color: var(--lime);
}

/* ——— Editorial hero (prototype C in situ) ——— */

.edit-hero {
  background: var(--white);
}

.edit-hero__link,
.edit-hero.edit-hero--secondary {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  text-decoration: none;
  color: inherit;
  border-bottom: 3px solid var(--black);
}

.edit-hero__link {
  min-height: clamp(320px, 46vh, 520px);
}

.edit-hero--primary .edit-hero__link {
  border-top: 3px solid var(--black);
  border-bottom: none;
  min-height: clamp(380px, 58vh, 620px);
}

.edit-hero.edit-hero--secondary {
  min-height: clamp(240px, 30vh, 360px);
}

.edit-hero--flip .edit-hero__photo { order: 2; }
.edit-hero--flip .edit-hero__panel { order: 1; }

@media (max-width: 720px) {
  .edit-hero__link,
  .edit-hero.edit-hero--secondary {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .edit-hero--flip .edit-hero__photo,
  .edit-hero--flip .edit-hero__panel { order: initial; }

  .edit-hero__photo::after {
    background: linear-gradient(
      to bottom,
      transparent 45%,
      rgba(0, 0, 0, 0.2) 75%,
      rgba(0, 0, 0, 0.45) 100%
    );
  }
}

.edit-hero__photo {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #111;
}

.edit-hero--secondary .edit-hero__photo {
  min-height: 220px;
}

.edit-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.edit-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(0, 0, 0, 0.22) 72%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.edit-hero__panel {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--lime);
  color: var(--black);
}

.edit-hero__panel--dark {
  background: var(--black);
  color: var(--white);
}

.edit-hero__panel--red {
  background: var(--red);
  color: var(--white);
}

.edit-hero__panel--orange {
  background: var(--orange);
  color: var(--black);
}

.edit-hero__tag {
  display: block;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.edit-hero__panel--dark .edit-hero__tag {
  color: var(--lime);
}

.edit-hero__tag--lime {
  color: var(--lime);
}

.edit-hero__title {
  font-family: 'Azeret Mono', monospace;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0.35rem 0 0.75rem;
}

.edit-hero--secondary .edit-hero__title {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
}

.edit-hero__lede {
  font-family: 'Courier Prime', monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 32ch;
}

.edit-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 2px solid currentColor;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edit-hero__panel--dark .edit-hero__meta {
  border-color: #444;
}

.edit-hero__cta {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border: 2px solid currentColor;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edit-hero__cta--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

.edit-hero__link:hover .edit-hero__cta,
.edit-hero--secondary:hover .edit-hero__cta {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.edit-hero__link:hover .edit-hero__cta--lime,
.edit-hero--secondary:hover .edit-hero__cta--lime {
  background: var(--white);
  border-color: var(--white);
}

/* ——— Field hero (prototype A in situ) ——— */

.field-hero {
  background: #111;
}

.field-hero__link,
.field-hero.field-hero--secondary {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(360px, 52vh, 560px);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}

.field-hero--primary .field-hero__link {
  border-bottom: 3px solid var(--black);
  min-height: clamp(380px, 58vh, 620px);
}

.field-hero--primary .field-hero__bg {
  object-position: 74% 58%;
}

.field-hero--primary .field-hero__dossier {
  max-width: min(22rem, 88%);
  font-size: clamp(0.78rem, 1.5vw + 0.42rem, 1rem);
  padding: 1.35em 1.4em 1.5em;
  margin: 1.5em;
  border-left-color: var(--red);
}

.field-hero--primary .field-hero__tag {
  font-size: 0.62em;
  margin-bottom: 0.55em;
  color: var(--pink);
}

.field-hero--primary .field-hero__title {
  font-size: 1.85em;
  margin-bottom: 0.65em;
  color: var(--white);
  transition: color 0.15s ease;
}

.field-hero--primary .field-hero__lede {
  font-size: 0.84em;
}

.field-hero--primary .field-hero__cta {
  font-size: 0.65em;
  margin-top: 1em;
  padding: 0.5em 0.85em;
}

.field-hero--primary .field-hero__link:hover .field-hero__title {
  color: var(--red);
}

@media (max-width: 720px) {
  .field-hero--primary .field-hero__link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .field-hero--primary .field-hero__dossier {
    width: 100%;
    max-width: none;
    margin: 0;
    border-left: none;
    border-top: 4px solid var(--red);
  }
}

.field-hero--secondary {
  min-height: clamp(280px, 38vh, 420px);
  border-top: 1px solid #1a1a1a;
}

.field-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.92);
  transform: scale(1.03);
}

.field-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.field-hero--right .field-hero__veil {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.1) 100%);
}

.field-hero__dossier {
  position: relative;
  z-index: 1;
  max-width: min(26rem, 92%);
  margin: 1.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: rgba(10, 10, 10, 0.88);
  border-left: 4px solid var(--lime);
}

.field-hero--right .field-hero__dossier {
  justify-self: end;
  border-left: none;
  border-right: 4px solid var(--red);
}

.field-hero--right .field-hero__tag {
  color: #ff8a86;
}

.field-hero--secondary .field-hero__dossier {
  max-width: min(24rem, 92%);
  margin: 1.15rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.field-hero__tag {
  display: block;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.55rem;
}

.field-hero__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.field-hero--secondary .field-hero__title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.field-hero__lede {
  font-family: 'Courier Prime', monospace;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #ccc;
  max-width: 34ch;
}

.field-hero__cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
}

.field-hero__cta--lime {
  background: var(--lime);
  color: var(--black);
}

.field-hero__cta--red {
  background: var(--red);
  color: var(--white);
}

.field-hero__link:hover .field-hero__cta,
.field-hero--secondary:hover .field-hero__cta {
  background: var(--white);
  color: var(--black);
}

/* ——— Strip hero (prototype D in situ) ——— */

.strip-hero {
  background: #000;
}

.strip-hero__link,
.strip-hero.strip-hero--secondary {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 44vh, 480px);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}

.strip-hero--secondary {
  min-height: clamp(240px, 34vh, 380px);
  border-top: 1px solid #1a1a1a;
}

.strip-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.92;
}

.strip-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
  pointer-events: none;
}

.strip-hero__bar {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  display: grid;
  gap: 0.35rem 2rem;
  grid-template-columns: 1fr auto;
  align-items: end;
}

@media (max-width: 640px) {
  .strip-hero__bar { grid-template-columns: 1fr; }
}

.strip-hero__tag {
  display: block;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.35rem;
}

.strip-hero__title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 2px 0 0 var(--red), -2px 0 0 #00d4ff;
}

.strip-hero--secondary .strip-hero__title {
  font-size: clamp(1.55rem, 4.2vw, 2.5rem);
}

.strip-hero__lede {
  grid-column: 1 / -1;
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  color: #ccc;
  max-width: 48ch;
  margin-top: 0.35rem;
  line-height: 1.45;
}

.strip-hero__cta {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  align-self: end;
}

.strip-hero__cta--lime {
  background: var(--lime);
  color: var(--black);
}

.strip-hero__cta--red {
  background: var(--red);
  color: var(--white);
}

.strip-hero__link:hover .strip-hero__cta,
.strip-hero--secondary:hover .strip-hero__cta {
  background: var(--white);
  color: var(--black);
}

/* ——— Quote band ——— */

.home-quote {
  background: var(--lime);
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  border-bottom: 3px solid var(--red);
}

.home-quote blockquote {
  max-width: 56rem;
  margin: 0 auto;
}

.home-quote p {
  font-family: 'Azeret Mono', monospace;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: var(--red);
  max-width: 18ch;
}

.home-quote cite {
  display: block;
  margin-top: 1.25rem;
  text-align: right;
  font-family: 'Azeret Mono', monospace;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  font-style: normal;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ——— News + statement ——— */

.home-news {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 2rem;
  padding: 0 1.5rem 3rem;
  max-width: var(--rail-wide);
  margin: 0 auto;
  align-items: start;
  position: relative;
  background: var(--white);
}

.home-news::before,
.work-page::before,
.work-detail-page::before,
.about-page::before,
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--white);
  z-index: -1;
}

@media (max-width: 700px) {
  .home-news {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .news-content {
    padding: 1.25rem 1.5rem 1.5rem;
    background: #ececec;
  }
}

.statement-box {
  background: var(--red);
  color: var(--white);
  padding: 1.75rem 1.5rem;
  box-shadow: 5px 5px 0 #f5a623;
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
  font-family: 'Archivo Black', sans-serif;
}

@media (max-width: 700px) {
  .statement-box { margin-top: 0; }
}

.statement-box h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.statement-box p {
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.news-content {
  padding-top: 2.5rem;
}

.news-content h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.news-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 38rem;
}

.news-content em {
  font-style: italic;
}

/* ——— Secondary heroes (stage pattern, stacked) ——— */

.home-secondaries {
  display: flex;
  flex-direction: column;
  background: var(--black);
}

/* ——— Work page ——— */

.work-page,
.work-detail-page {
  position: relative;
  padding: 2rem 1.5rem 4rem;
  max-width: var(--rail-wide);
  margin: 0 auto;
  background: var(--white);
}

.work-page__header { margin-bottom: 1.5rem; }

.work-page__header h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--red);
}

.work-page__intro {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
  max-width: 32rem;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--black);
}

.category-btn {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  background: var(--white);
  border: 2px solid var(--black);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.category-btn:hover:not(.category-btn--active) {
  background: var(--lime);
}
.category-btn--active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.work-card--enter .work-card__enter {
  animation: work-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--enter-delay, 0ms);
}
@keyframes work-card-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.work-page__error {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #555;
  padding: 1rem 0;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* ——— Work cards (black wash) ——— */

.work-card {
  position: relative;
  width: 100%;
  height: clamp(280px, 30vw, 340px);
  border: 3px solid var(--black);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  background: #0a0a0a;
}

.work-card:focus-visible {
  box-shadow: 0 0 0 3px var(--red);
}

.work-card__enter {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98);
  transform-origin: center center;
}

.work-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-card__fill {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  background: #000;
  transition: height 0.4s ease;
}

.work-card--peek .work-card__fill,
.work-card--flipped .work-card__fill {
  height: 100%;
}

.work-card__title-bar {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  padding: 0.85rem 1rem 3.25rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.88) 28%,
    rgba(0, 0, 0, 0.62) 55%,
    rgba(0, 0, 0, 0.28) 78%,
    transparent 100%
  );
  pointer-events: none;
}

.work-card__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.work-card__subtitle {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: none;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.25rem;
}

.work-card__meta {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 4.4rem 1.1rem 1.1rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.12s ease;
  pointer-events: none;
}

.work-card--peek .work-card__meta,
.work-card--flipped .work-card__meta {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease 0.1s;
}

.work-card__kicker {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.7rem;
}

.work-card__type {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.work-card__copy {
  flex: 1 1 auto;
  min-height: 0;
}

.work-card__mechanism {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.work-card__summary {
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.work-card__cta {
  align-self: center;
  margin-top: auto;
  background: var(--white);
  color: var(--black);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.work-card--live .work-card__cta {
  background: var(--red);
  color: var(--white);
}

.work-card__cta:hover {
  background: var(--lime);
  color: var(--black);
}

/* Legacy flip-card rules removed — see work-card above */

/* ——— About & contact (narrow text pages) ——— */

.about-page,
.contact-page {
  position: relative;
  max-width: var(--rail-narrow);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  background: var(--white);
}

.about-hero {
  padding: 3rem 0 2rem;
  border-bottom: 3px solid var(--black);
}

.about-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--red);
}

.about-hero__lede {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  max-width: 34rem;
  color: #333;
}

.about-creds {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.about-creds ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

/* ——— Single work / piece page ——— */

.piece-hero {
  position: relative;
  background: #000;
}

.piece-hero__stage {
  position: relative;
  min-height: clamp(32rem, 82vh, 56rem);
  padding: 0;
  overflow: hidden;
}

.piece-hero__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.piece-hero__thumbs {
  position: absolute;
  z-index: 4;
  right: 1.25rem;
  top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.piece-hero__thumb {
  width: 8.25rem;
  aspect-ratio: 3 / 2;
  height: auto;
  padding: 0;
  border: 2px solid var(--white);
  background: #111;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

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

.piece-hero__thumb:hover {
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .piece-hero__thumbs {
    top: 1rem;
  }
  .piece-hero__thumb {
    width: 6.5rem;
  }
}

[data-include="header"] {
  display: block;
  min-height: calc(clamp(7.5rem, 22vw, 11.5rem) * 0.574 + 0.6rem);
  background: var(--red);
}

.piece-hero__bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 3.25rem clamp(1.25rem, 4vw, 2.5rem) 1.6rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    transparent 100%
  );
  border: 0;
}

.piece-hero__tag {
  display: block;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.4rem;
}

.piece-hero__title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  text-shadow: 2px 0 0 var(--red), -2px 0 0 #00d4ff;
}

.piece-page {
  --piece-pad-top: 2.5rem;
  --site-header-h: calc(clamp(7.5rem, 22vw, 11.5rem) * 0.574 + 0.6rem);
  position: relative;
  padding: var(--piece-pad-top) 1.5rem 4.5rem;
  max-width: var(--rail-wide);
  margin: 0 auto;
  background: var(--white);
}

.piece-page::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--white);
  z-index: -1;
}

.piece-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .piece-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
    gap: 3rem;
    align-items: start;
  }
}

.piece-statement h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.piece-statement p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #222;
  margin-bottom: 1.1rem;
}

.piece-statement p:last-child { margin-bottom: 0; }

.piece-meta {
  border: 3px solid var(--black);
  background: #f3f3f3;
  padding: 1.15rem 1.2rem 1.3rem;
}

@media (min-width: 800px) {
  .piece-meta {
    position: sticky;
    top: calc(var(--site-header-h) + var(--piece-pad-top));
  }
}

.piece-meta h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.piece-meta dl {
  margin: 0;
}

.piece-meta div {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-top: 1px solid #ccc;
}

.piece-meta div:first-of-type { border-top: 0; padding-top: 0; }

.piece-meta dt {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.piece-meta dd {
  font-size: 0.85rem;
  margin: 0;
  color: var(--black);
}

.piece-meta__cta {
  display: block;
  margin-top: 1.1rem;
  text-align: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  background: var(--lime);
  color: var(--black);
  text-decoration: none;
}

.piece-meta__cta:hover {
  background: var(--white);
  color: var(--black);
  outline: 2px solid var(--black);
  outline-offset: -2px;
}

.piece-back {
  display: inline-block;
  margin-top: 2.25rem;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
}

.piece-back:hover { color: var(--red); }

a.work-card__cta,
a.work-card__cta:link,
a.work-card__cta:visited {
  text-decoration: none;
  color: var(--black);
}

.work-card--live a.work-card__cta:link,
.work-card--live a.work-card__cta:visited {
  color: var(--white);
}

.about-body {
  padding: 2rem 0;
}

.about-body p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-page .about-services {
  margin-top: 2rem;
}

.about-services {
  background: var(--black);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin: 0 -1.25rem;
}

.about-services h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.25rem;
  color: var(--lime);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-services__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 500px) {
  .about-services__grid { grid-template-columns: repeat(3, 1fr); }
}

.about-services__grid h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.about-services__grid p {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.5;
}

.about-contact {
  text-align: center;
  padding-top: 0.5rem;
}

.about-contact a {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.85rem;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.about-contact a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--red);
  color: var(--white);
  border-top: 3px solid var(--black);
  padding: clamp(2rem, 5vw, 2.75rem) 1.5rem clamp(1.15rem, 3vw, 1.5rem);
}

.site-footer__inner {
  max-width: var(--rail-wide);
  margin: 0 auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3.5rem;
  align-items: start;
  padding-bottom: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 45%, var(--red));
}

@media (max-width: 640px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__nav {
    align-items: flex-start;
    text-align: left;
  }
}

.site-footer__bio {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(0.8rem, 1.8vw, 0.88rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 42ch;
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  text-align: right;
}

.site-footer__nav a {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer__icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.site-footer__copy {
  font-family: 'Azeret Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--black) 70%, var(--red));
  margin: 0;
}
