:root {
  --green: #0cb04c;
  --green-soft: #5cb42c;
  --ink: #100b0c;
  --charcoal: #101312;
  --paper: #f7f8f5;
  --muted: #a8afa6;
  --line: rgba(247, 248, 245, 0.16);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 245, 0.026) 1px, transparent 1px),
    var(--ink);
  background-size: 112px 112px, 112px 112px, auto;
}

body.intro-active {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
}

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

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 176, 76, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #070a08 0%, #020302 100%);
  background-size: 80px 80px, 80px 80px, auto;
  overflow: hidden;
}

.intro-grid {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(12, 176, 76, 0.20);
  pointer-events: none;
}

.intro-grid::before,
.intro-grid::after {
  content: "";
  position: absolute;
  background: rgba(12, 176, 76, 0.22);
}

.intro-grid::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.intro-grid::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.intro-brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(84%, 1220px);
  perspective: 1400px;
  perspective-origin: center;
}

.intro-logo-shell {
  --logo-pad: 38px;
  position: relative;
  width: 100%;
  padding: var(--logo-pad) 0;
  transform-origin: center;
  transform-style: preserve-3d;
  background:
    linear-gradient(90deg, transparent, rgba(12, 176, 76, 0.80), transparent) center top / 88% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(12, 176, 76, 0.80), transparent) center bottom / 88% 1px no-repeat;
  animation: intro-ambigram-3d 8.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.intro-logo-shell::before,
.intro-logo-shell::after {
  content: "";
  position: absolute;
  inset: var(--logo-pad) 0;
  transform-origin: center;
  pointer-events: none;
}

.intro-logo-shell::before {
  z-index: 0;
  background: url("assets/ems-ambigram-logo.png") center / contain no-repeat;
  filter: brightness(0.36) saturate(1.2) blur(0.2px);
  opacity: 0.52;
  transform: translate3d(24px, 22px, -72px) scale(0.992);
}

.intro-logo-shell::after {
  z-index: 3;
  background: linear-gradient(108deg, transparent 0 38%, rgba(247, 248, 245, 0.34) 46%, rgba(12, 176, 76, 0.22) 52%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.62;
  transform: translate3d(-130%, 0, 82px);
  animation: logo-light-pass 8.2s ease-in-out infinite;
}

.intro-logo-shell img {
  position: relative;
  z-index: 2;
  width: 100%;
  backface-visibility: hidden;
  transform: translateZ(56px);
  filter:
    drop-shadow(18px 30px 0 rgba(0, 0, 0, 0.26))
    drop-shadow(0 24px 52px rgba(12, 176, 76, 0.32));
}

.intro-brand p {
  margin: 0;
  color: rgba(247, 248, 245, 0.72);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.enter-button {
  position: absolute;
  left: 50%;
  bottom: 48px;
  z-index: 2;
  min-width: 152px;
  min-height: 52px;
  padding: 14px 28px;
  color: var(--paper);
  background: rgba(247, 248, 245, 0.04);
  border: 1px solid rgba(247, 248, 245, 0.26);
  transform: translateX(-50%);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.enter-button:hover,
.enter-button:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  transform: translateX(-50%) translateY(-2px);
  outline: none;
}

.intro-gate.is-exiting {
  pointer-events: none;
  animation: gate-exit 900ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro-gate.is-exiting .intro-logo-shell {
  animation-play-state: paused;
}

.intro-gate.is-exiting .enter-button,
.intro-gate.is-exiting .intro-brand p {
  opacity: 0;
}

.site-header,
main,
.site-footer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.has-entered .site-header,
body.has-entered main,
body.has-entered .site-footer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(22px, 4vw, 76px);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  color: rgba(247, 248, 245, 0.74);
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .is-active {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  padding: 126px clamp(22px, 4vw, 76px) 64px;
  background: transparent;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: clamp(92px, 8vw, 150px) clamp(22px, 5vw, 96px) clamp(56px, 6vw, 96px);
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  border: 1px solid rgba(247, 248, 245, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(12, 176, 76, 0.075),
    0 28px 90px rgba(0, 0, 0, 0.24);
}

.hero::after {
  background:
    linear-gradient(var(--green), var(--green)) left top / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 1px 96px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 1px 96px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 1px 96px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1px 96px no-repeat;
  opacity: 0.54;
  animation: hero-frame-breathe 4.8s ease-in-out infinite;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 245, 0.055) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  opacity: 0.68;
  animation: hero-grid-drift 8s linear infinite;
}

.hero-motion::before {
  content: "";
  position: absolute;
  inset: clamp(92px, 8vw, 150px) clamp(22px, 5vw, 96px) clamp(56px, 6vw, 96px);
  background: linear-gradient(112deg, transparent 0 38%, rgba(12, 176, 76, 0.24) 47%, rgba(247, 248, 245, 0.14) 50%, transparent 62% 100%);
  transform: translateX(-120%);
  animation: hero-light-sweep 5.8s ease-in-out infinite;
}

.hero-motion::after {
  content: "";
  position: absolute;
  inset: clamp(118px, 10vw, 196px) clamp(42px, 9vw, 180px) clamp(88px, 9vw, 150px);
  border: 1px solid rgba(12, 176, 76, 0.18);
  opacity: 0.42;
  transform: scale(0.98);
  animation: hero-inner-frame 4.2s ease-in-out infinite;
}

.hero-scan {
  position: absolute;
  display: block;
  opacity: 0.86;
}

.hero-scan-x {
  top: clamp(92px, 8vw, 150px);
  bottom: clamp(56px, 6vw, 96px);
  left: 18%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(12, 176, 76, 0.7), rgba(247, 248, 245, 0.22), transparent);
  animation: hero-scan-x 6.4s linear infinite;
}

.hero-scan-y {
  left: clamp(22px, 5vw, 96px);
  right: clamp(22px, 5vw, 96px);
  top: 64%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(12, 176, 76, 0.66), rgba(247, 248, 245, 0.24), transparent);
  animation: hero-scan-y 7.8s linear infinite;
}

.hero-pulse,
.hero-slicer {
  position: absolute;
  display: block;
  pointer-events: none;
}

.hero-pulse {
  background: var(--green);
  box-shadow: 0 0 26px rgba(12, 176, 76, 0.48);
  opacity: 0;
}

.hero-pulse-one {
  top: clamp(116px, 12vw, 210px);
  left: clamp(28px, 7vw, 150px);
  width: min(220px, 20vw);
  height: 2px;
  animation: hero-pulse-one 3.7s ease-in-out infinite;
}

.hero-pulse-two {
  right: clamp(26px, 7vw, 142px);
  bottom: clamp(46px, 7vw, 116px);
  width: 2px;
  height: min(190px, 22vh);
  animation: hero-pulse-two 4.6s ease-in-out 800ms infinite;
}

.hero-slicer {
  width: min(560px, 42vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(12, 176, 76, 0.72), rgba(247, 248, 245, 0.26), transparent);
  filter: drop-shadow(0 0 18px rgba(12, 176, 76, 0.36));
  opacity: 0;
}

.hero-slicer-one {
  top: 27%;
  left: -12vw;
  transform: rotate(-18deg) translateX(-120%);
  animation: hero-slicer-one 6.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.hero-slicer-two {
  right: -14vw;
  bottom: 24%;
  transform: rotate(-18deg) translateX(120%);
  animation: hero-slicer-two 7.6s cubic-bezier(0.76, 0, 0.24, 1) 1.5s infinite;
}

.hero-mark {
  position: absolute;
  top: 8%;
  right: -22%;
  z-index: 0;
  display: block;
  width: min(58vw, 1120px);
  opacity: 0;
  transform: rotate(174deg) translateY(28px);
  pointer-events: none;
}

.hero-mark img {
  width: 100%;
  opacity: 0.55;
  filter: saturate(1.25) brightness(0.72);
}

body.has-entered .hero-mark {
  animation:
    hero-mark-settle 1600ms cubic-bezier(0.76, 0, 0.24, 1) both,
    hero-mark-drift 18s ease-in-out 1600ms infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100svh - 190px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hero-message {
  width: min(100%, 1420px);
  min-height: calc(100svh - 350px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  width: 100%;
  max-width: 1320px;
  margin-bottom: 28px;
  color: #6b6666;
  font-size: 10.8rem;
  line-height: 0.84;
  font-weight: 800;
  text-align: center;
}

h1 span {
  position: relative;
  display: inline-block;
  padding: 0 18px 2px;
  overflow: hidden;
}

h1 span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 32%;
  background: linear-gradient(105deg, transparent, rgba(247, 248, 245, 0.18), rgba(12, 176, 76, 0.18), transparent);
  opacity: 0;
  transform: translateX(-160%) skewX(-16deg);
  pointer-events: none;
}

body.has-entered h1 span:first-child {
  animation: hero-title-in 900ms cubic-bezier(0.76, 0, 0.24, 1) 140ms both;
}

body.has-entered h1 span:last-child {
  animation: hero-title-in 900ms cubic-bezier(0.76, 0, 0.24, 1) 280ms both;
}

body.has-entered h1 span::after {
  animation: hero-title-sweep 7.5s ease-in-out 1300ms infinite;
}

.hero-lede {
  max-width: 980px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.86);
  font-size: 1.62rem;
  line-height: 1.34;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 84px;
  width: 100%;
  padding-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 214px;
  padding: 18px 30px;
  border: 1px solid rgba(247, 248, 245, 0.26);
  border-radius: 0;
  color: var(--paper);
  background: rgba(247, 248, 245, 0.04);
  box-shadow: none;
  font-size: 1.28rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  outline: none;
}

.intro-band,
.services,
.work,
.timeline,
.contact-band {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-band {
  position: relative;
  color: var(--paper);
  background: transparent;
  border-top: 1px solid rgba(247, 248, 245, 0.06);
  overflow: hidden;
}

.intro-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(247, 248, 245, 0.028), transparent 42%);
  pointer-events: none;
}

.about-lede,
.about-grid,
.about-proof {
  position: relative;
  z-index: 1;
}

.intro-band h2,
.services-heading h2,
.section-heading h2,
.timeline-heading h2,
.contact-band h2 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: 4.6rem;
  line-height: 0.98;
  font-weight: 800;
}

.about-lede p:not(.section-kicker) {
  max-width: 820px;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) repeat(3, minmax(0, 1fr));
  margin-top: 62px;
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.about-statement,
.about-step {
  min-height: 330px;
  padding: 28px 24px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.016);
}

.about-statement {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.14), rgba(247, 248, 245, 0.014));
}

.about-statement span {
  color: rgba(247, 248, 245, 0.12);
  font-size: clamp(4.8rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.78;
}

.about-statement p {
  max-width: 340px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.78);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-step {
  display: flex;
  flex-direction: column;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.about-step:hover {
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.10), rgba(247, 248, 245, 0.016));
  border-color: rgba(12, 176, 76, 0.34);
  transform: translateY(-8px);
}

.about-step span {
  color: var(--green);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 0.92;
}

.about-step h3 {
  margin: auto 0 18px;
  color: var(--paper);
  font-size: 2.05rem;
  line-height: 1.02;
  font-weight: 800;
}

.about-step p {
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.66);
  font-size: 1rem;
  line-height: 1.62;
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.about-proof span {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  color: rgba(247, 248, 245, 0.68);
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.012);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.services {
  position: relative;
  background: transparent;
  border-top: 1px solid rgba(247, 248, 245, 0.06);
  overflow: hidden;
}

.services-bg-mark {
  position: absolute;
  right: -16%;
  top: 86px;
  width: min(74%, 1120px);
  opacity: 0.04;
  transform: rotate(180deg);
  pointer-events: none;
}

.services-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 76px;
}

.services-heading h2 {
  max-width: 980px;
}

.services-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.66);
  font-size: 1.12rem;
  line-height: 1.7;
}

.services-system {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.phase-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.phase-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.072), rgba(247, 248, 245, 0.014));
  overflow: hidden;
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.phase-card::before {
  content: attr(data-phase);
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  color: rgba(247, 248, 245, 0.035);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.phase-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--green);
  transform: scaleX(0.16);
  transform-origin: left;
  transition: transform 260ms ease;
}

.phase-card:hover,
.phase-card:focus-within {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.12), rgba(247, 248, 245, 0.018));
  border-color: rgba(12, 176, 76, 0.38);
  transform: translateY(-8px);
}

.phase-card:hover::after,
.phase-card:focus-within::after {
  transform: scaleX(1);
}

.phase-card.is-media {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.phase-card.is-media::before {
  color: rgba(5, 7, 6, 0.09);
}

.phase-card.is-media::after {
  background: rgba(5, 7, 6, 0.82);
}

.phase-number {
  color: rgba(247, 248, 245, 0.38);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.9;
}

.phase-card.is-media .phase-number {
  color: rgba(5, 7, 6, 0.28);
}

.phase-card h3 {
  margin: auto 0 22px;
  color: var(--paper);
  font-size: 4.1rem;
  line-height: 0.92;
  font-weight: 800;
}

.phase-card p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.02rem;
  line-height: 1.65;
}

.phase-card.is-media h3,
.phase-card.is-media p {
  color: var(--ink);
}

.phase-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}

.phase-tags span,
.capability-strip span {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.phase-tags span {
  padding: 10px 12px;
  color: rgba(247, 248, 245, 0.76);
  border: 1px solid rgba(247, 248, 245, 0.16);
  background: rgba(247, 248, 245, 0.03);
}

.phase-card.is-media .phase-tags span {
  color: rgba(5, 7, 6, 0.82);
  border-color: rgba(5, 7, 6, 0.20);
  background: rgba(5, 7, 6, 0.045);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.capability-strip span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: rgba(247, 248, 245, 0.62);
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.018);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.work {
  color: var(--paper);
  background: transparent;
  border-top: 1px solid rgba(247, 248, 245, 0.06);
}

.work .section-kicker {
  color: var(--green);
}

.work-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.work-feature,
.work-row {
  position: relative;
  overflow: hidden;
  background: rgba(247, 248, 245, 0.025);
}

.work-feature {
  min-height: 688px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(247, 248, 245, 0.12);
}

.work-feature::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(247, 248, 245, 0.10);
  pointer-events: none;
}

.work-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.88)),
    linear-gradient(90deg, rgba(12, 176, 76, 0.18), transparent 42%);
}

.work-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.92) contrast(1.03) brightness(0.76);
  transition: transform 520ms ease, filter 520ms ease;
}

.work-feature.is-contain img {
  object-fit: contain;
  object-position: center;
  transform: none;
  background: rgba(247, 248, 245, 0.035);
}

.work-feature-copy {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 56px));
  margin: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 176, 76, 0.62);
}

.work-feature-copy span,
.work-row span:not(.work-index) {
  display: block;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.work-feature-copy h3 {
  margin: 12px 0 16px;
  color: var(--paper);
  font-size: 4.3rem;
  line-height: 0.9;
  font-weight: 800;
}

.work-feature-copy p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.work-list {
  display: grid;
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
  border-right: 1px solid rgba(247, 248, 245, 0.12);
}

.work-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 18px;
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  transition: background 220ms ease, transform 220ms ease;
}

.work-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms ease;
}

.work-index {
  color: rgba(247, 248, 245, 0.34);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.work-row h3 {
  margin: 12px 0 0;
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 800;
}

.work-row img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.82);
  transition: transform 420ms ease, filter 420ms ease;
}

.work-feature:hover img,
.work-feature:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.06) brightness(0.86);
}

.work-feature.is-contain:hover img,
.work-feature.is-contain:focus-visible img {
  transform: none;
  filter: saturate(1.02) contrast(1.04) brightness(0.84);
}

.work-row:hover,
.work-row:focus-visible {
  background: rgba(12, 176, 76, 0.07);
  transform: translateX(6px);
  outline: none;
}

.work-row:hover::before,
.work-row:focus-visible::before {
  transform: scaleY(1);
}

.work-row:hover img,
.work-row:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.08) brightness(0.94);
}

.work-taxonomy {
  margin-top: 18px;
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.taxonomy-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px 24px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 46%),
    rgba(247, 248, 245, 0.018);
}

.taxonomy-head .section-kicker {
  margin-bottom: 0;
}

.taxonomy-head p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.72);
  font-size: 1.08rem;
  line-height: 1.65;
}

.archive-link {
  grid-column: 2;
  width: fit-content;
  display: inline-flex;
  justify-content: center;
  min-width: 240px;
  padding: 16px 22px;
  color: var(--paper);
  border: 1px solid rgba(247, 248, 245, 0.26);
  background: rgba(247, 248, 245, 0.04);
  font-size: 1rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.archive-link:hover,
.archive-link:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  outline: none;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sector-block {
  min-height: 372px;
  padding: 26px 24px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.014);
}

.sector-number {
  display: block;
  margin-bottom: 42px;
  color: rgba(12, 176, 76, 0.76);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 0.9;
}

.sector-block h3 {
  max-width: 330px;
  margin-bottom: 22px;
  color: var(--paper);
  font-size: 1.82rem;
  line-height: 1.02;
  font-weight: 800;
}

.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-cloud li {
  padding: 8px 10px;
  color: rgba(247, 248, 245, 0.72);
  border: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.024);
  font-size: 0.86rem;
  line-height: 1.25;
}

.client-cloud a {
  color: inherit;
  text-decoration: none;
}

.client-cloud .client-tag-active {
  color: var(--ink);
  border-color: var(--green);
  background: var(--green);
  font-weight: 800;
}

.client-cloud .client-tag-active:hover,
.client-cloud .client-tag-active:focus-within {
  color: var(--paper);
  background: rgba(12, 176, 76, 0.22);
  outline: 1px solid var(--green);
}

.work-type-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.type-lane {
  min-height: 176px;
  padding: 22px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.055), rgba(247, 248, 245, 0.012));
}

.type-lane span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.type-lane p {
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.64);
  font-size: 0.98rem;
  line-height: 1.62;
}

.timeline {
  position: relative;
  color: var(--paper);
  background: transparent;
  border-top: 1px solid rgba(247, 248, 245, 0.06);
  overflow: hidden;
}

.timeline::before {
  content: "30";
  position: absolute;
  top: 18px;
  right: clamp(18px, 4vw, 70px);
  color: rgba(247, 248, 245, 0.028);
  font-size: clamp(11rem, 28vw, 32rem);
  font-weight: 800;
  line-height: 0.75;
  pointer-events: none;
}

.timeline::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(12, 176, 76, 0.055) 8% 8.08%, transparent 8.08% 100%),
    linear-gradient(180deg, transparent 0 72%, rgba(247, 248, 245, 0.035) 72% 72.08%, transparent 72.08% 100%);
  background-size: 14.285% 100%, 100% 168px;
  pointer-events: none;
}

.timeline-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 54px;
}

.timeline-heading h2 {
  max-width: 980px;
}

.timeline-heading p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.12rem;
  line-height: 1.72;
}

.timeline-board {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.028), rgba(247, 248, 245, 0.01));
}

.timeline-ruler {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-ruler span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  color: var(--green);
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-era {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.052), rgba(247, 248, 245, 0.012));
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.timeline-era::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 13px;
  height: 13px;
  background: var(--green);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px rgba(12, 176, 76, 0.65);
}

.timeline-era::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(12, 176, 76, 0.62), transparent 74%);
  pointer-events: none;
}

.timeline-era:hover,
.timeline-era:focus-within {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.12), rgba(247, 248, 245, 0.018));
  border-color: rgba(12, 176, 76, 0.38);
  transform: translateY(-8px);
}

.timeline-era.is-current {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.timeline-era.is-current::before {
  background: var(--ink);
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(5, 7, 6, 0.36);
}

.timeline-era.is-current::after {
  background: linear-gradient(180deg, rgba(5, 7, 6, 0.46), transparent 72%);
}

.era-number {
  color: rgba(247, 248, 245, 0.34);
  font-size: 4.9rem;
  font-weight: 800;
  line-height: 0.86;
}

.timeline-era.is-current .era-number {
  color: rgba(5, 7, 6, 0.24);
}

.era-label {
  display: block;
  margin: 26px 0 auto;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.timeline-era.is-current .era-label {
  color: rgba(5, 7, 6, 0.74);
}

.timeline-era h3 {
  margin: 82px 0 18px;
  color: var(--paper);
  font-size: 2.2rem;
  line-height: 1.02;
  font-weight: 800;
}

.timeline-era p {
  margin-bottom: 26px;
  color: rgba(247, 248, 245, 0.66);
  font-size: 1rem;
  line-height: 1.62;
}

.timeline-era.is-current h3,
.timeline-era.is-current p {
  color: var(--ink);
}

.timeline-era ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-era li {
  padding: 8px 10px;
  color: rgba(247, 248, 245, 0.72);
  border: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.024);
  font-size: 0.84rem;
  line-height: 1.25;
}

.timeline-era.is-current li {
  color: rgba(5, 7, 6, 0.78);
  border-color: rgba(5, 7, 6, 0.18);
  background: rgba(5, 7, 6, 0.045);
}

.timeline-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-summary span {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px 24px;
  color: rgba(247, 248, 245, 0.72);
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.014);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.28;
  text-transform: uppercase;
}

.archive-main {
  color: var(--paper);
}

.archive-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
  padding: 138px clamp(22px, 4vw, 76px) 72px;
  overflow: hidden;
}

.archive-hero::before,
.archive-hero::after {
  content: "";
  position: absolute;
  inset: clamp(96px, 8vw, 150px) clamp(22px, 5vw, 96px) clamp(42px, 5vw, 82px);
  pointer-events: none;
}

.archive-hero::before {
  border: 1px solid rgba(247, 248, 245, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(12, 176, 76, 0.045),
    0 28px 90px rgba(0, 0, 0, 0.24);
}

.archive-hero::after {
  background:
    linear-gradient(var(--green), var(--green)) left top / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 1px 96px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1px 96px no-repeat;
  opacity: 0.42;
}

.archive-copy,
.archive-stats {
  position: relative;
  z-index: 1;
}

.archive-copy h1 {
  max-width: 1240px;
  margin-bottom: 30px;
  padding: 0;
  color: #6b6666;
  font-size: clamp(5.2rem, 9vw, 12.2rem);
  line-height: 0.84;
  text-align: left;
}

.archive-copy p:not(.section-kicker) {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.82);
  font-size: 1.32rem;
  line-height: 1.46;
}

.archive-stats {
  display: grid;
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.archive-stats div {
  min-height: 138px;
  padding: 20px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.052), rgba(247, 248, 245, 0.012));
}

.archive-stats span {
  display: block;
  margin-bottom: 0;
  color: var(--green);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 0.9;
}

.work-archive-page .archive-hero,
.clients-page .archive-hero {
  min-height: auto;
  display: block;
  padding: 128px clamp(20px, 5vw, 72px) 34px;
}

.work-archive-page .archive-hero::before,
.work-archive-page .archive-hero::after,
.clients-page .archive-hero::before,
.clients-page .archive-hero::after {
  display: none;
}

.work-archive-page .archive-copy h1,
.clients-page .archive-copy h1 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 176, 76, 0.8);
}

.work-archive-page .archive-controls {
  padding-top: 22px;
  border-top: 0;
}

.work-archive-page .archive-results {
  padding-top: 34px;
}

.archive-controls,
.archive-results {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(247, 248, 245, 0.06);
}

.clients-section {
  padding: 34px clamp(20px, 5vw, 72px) clamp(72px, 9vw, 128px);
  border-top: 1px solid rgba(247, 248, 245, 0.06);
}

.clients-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.clients-heading h2 {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(2.6rem, 5.5vw, 6.2rem);
  line-height: 0.98;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.client-logo-card {
  min-height: 188px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 22px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.965), rgba(247, 248, 245, 0.88));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.client-logo-card:hover {
  z-index: 1;
  border-color: rgba(12, 176, 76, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  transform: translateY(-4px);
}

.client-logo-card img {
  width: min(132px, 100%);
  height: auto;
  filter: saturate(0.95) contrast(1.04);
}

.archive-controls {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 46%);
}

.archive-results {
  padding-top: clamp(24px, 4vw, 54px);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.client-filter-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-group > span {
  min-width: 96px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.filter-button {
  min-height: 46px;
  padding: 12px 16px;
  color: rgba(247, 248, 245, 0.72);
  border: 1px solid rgba(247, 248, 245, 0.14);
  background: rgba(247, 248, 245, 0.024);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  outline: none;
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
}

.archive-results-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.archive-results-head[hidden] {
  display: none;
}

.archive-results-head h2 {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: 4.2rem;
  line-height: 0.98;
}

[data-portfolio-profile][hidden] {
  display: none;
}

.portfolio-profile {
  position: relative;
  margin-bottom: clamp(30px, 4vw, 54px);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(135deg, rgba(12, 176, 76, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(247, 248, 245, 0.055), rgba(247, 248, 245, 0.016));
  overflow: hidden;
}

.portfolio-profile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}

.portfolio-profile .section-kicker {
  margin-bottom: 16px;
}

.portfolio-profile h2 {
  max-width: 980px;
  margin: 0 0 28px;
  color: var(--paper);
  font-size: clamp(2.4rem, 4.8vw, 5.6rem);
  line-height: 0.94;
}

.portfolio-profile-copy {
  max-width: 1120px;
  display: grid;
  gap: 14px;
}

.portfolio-profile-copy p {
  margin: 0;
  color: rgba(247, 248, 245, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.56;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.archive-grid.is-job-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.045), rgba(247, 248, 245, 0.012));
  overflow: hidden;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.archive-card[role="button"] {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.archive-card.has-case::before,
.archive-card.archive-client::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--green);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 240ms ease;
}

.archive-card:hover {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.10), rgba(247, 248, 245, 0.016));
  border-color: rgba(12, 176, 76, 0.34);
  transform: translateY(-8px);
}

.archive-card.has-case:hover::before,
.archive-card.archive-client:hover::before,
.archive-card.archive-client:focus-visible::before {
  transform: scaleX(1);
}

.archive-card figure {
  height: 220px;
  margin: 0;
  overflow: hidden;
  background: rgba(247, 248, 245, 0.04);
}

.archive-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.82);
  transition: transform 520ms ease, filter 520ms ease;
}

.archive-card:hover figure img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

.archive-card.archive-job {
  min-height: 430px;
}

.archive-card.archive-job::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--green);
  opacity: 0.62;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 240ms ease, opacity 240ms ease;
}

.archive-card.archive-job:hover::before,
.archive-card.archive-job:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.archive-card.archive-job:focus-visible,
.archive-card.archive-client:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.archive-card.archive-job figure {
  height: 220px;
}

.archive-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.archive-card.archive-job .archive-card-body {
  display: flex;
}

.archive-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 58px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.22;
  text-transform: uppercase;
}

.archive-card.archive-job .archive-card-meta {
  margin-bottom: 58px;
}

.archive-card h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font-size: 2rem;
  line-height: 1.02;
}

.archive-card.archive-job h3 {
  font-size: 2rem;
  line-height: 1.02;
}

.archive-card p {
  margin-bottom: 24px;
  color: rgba(247, 248, 245, 0.66);
  font-size: 1rem;
  line-height: 1.62;
}

.archive-card.archive-job p {
  font-size: 1rem;
  line-height: 1.62;
}

.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 24px;
  padding: 0;
  list-style: none;
}

.archive-tags li {
  padding: 8px 10px;
  color: rgba(247, 248, 245, 0.70);
  border: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.024);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.archive-action {
  width: fit-content;
  display: inline-flex;
  padding: 12px 14px;
  color: var(--paper);
  border: 1px solid rgba(247, 248, 245, 0.22);
  background: rgba(247, 248, 245, 0.03);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

a.archive-action:hover,
a.archive-action:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  outline: none;
}

.archive-action.is-muted {
  color: rgba(247, 248, 245, 0.42);
  border-color: rgba(247, 248, 245, 0.10);
}

.archive-empty {
  margin: 24px 0 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.1rem;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  grid-template-columns: minmax(48px, 76px) minmax(0, 1fr) minmax(48px, 76px);
  align-items: center;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 42%),
    rgba(5, 6, 6, 0.92);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

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

.portfolio-lightbox-stage {
  grid-column: 2;
  min-width: 0;
}

.portfolio-lightbox figure {
  width: min(100%, 1500px);
  max-height: calc(100svh - 52px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
}

.portfolio-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 160px);
  object-fit: contain;
  background: rgba(247, 248, 245, 0.05);
  box-shadow: var(--shadow);
}

.portfolio-lightbox figcaption {
  max-width: 980px;
  color: var(--paper);
}

.portfolio-lightbox figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.22;
  text-transform: uppercase;
}

.portfolio-lightbox figcaption h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 3rem);
  line-height: 1.02;
}

.portfolio-lightbox-nav {
  width: 100%;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--paper);
  background: rgba(247, 248, 245, 0.075);
  border: 1px solid rgba(247, 248, 245, 0.18);
  border-radius: 0;
  cursor: pointer;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.portfolio-lightbox-nav.is-prev {
  grid-column: 1;
}

.portfolio-lightbox-nav.is-next {
  grid-column: 3;
}

.portfolio-lightbox-nav:hover,
.portfolio-lightbox-nav:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  outline: 0;
}

.portfolio-lightbox-nav.is-prev:hover,
.portfolio-lightbox-nav.is-prev:focus-visible {
  transform: translateX(-4px);
}

.portfolio-lightbox-nav.is-next:hover,
.portfolio-lightbox-nav.is-next:focus-visible {
  transform: translateX(4px);
}

.case-page {
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 245, 0.026) 1px, transparent 1px),
    var(--ink);
  background-size: 112px 112px, 112px 112px, auto;
}

.case-main {
  color: var(--paper);
}

.case-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.64fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: end;
  padding: 138px clamp(22px, 4vw, 76px) 72px;
  overflow: hidden;
}

.case-hero::before,
.case-hero::after {
  content: "";
  position: absolute;
  inset: clamp(96px, 8vw, 150px) clamp(22px, 5vw, 96px) clamp(42px, 5vw, 82px);
  pointer-events: none;
}

.case-hero::before {
  border: 1px solid rgba(247, 248, 245, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(12, 176, 76, 0.045),
    0 28px 90px rgba(0, 0, 0, 0.24);
}

.case-hero::after {
  background:
    linear-gradient(var(--green), var(--green)) left top / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 1px 96px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 96px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1px 96px no-repeat;
  opacity: 0.42;
}

.case-copy,
.case-visual {
  position: relative;
  z-index: 1;
}

.case-back {
  display: inline-flex;
  margin-bottom: 58px;
  color: rgba(247, 248, 245, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.case-back:hover,
.case-back:focus-visible {
  color: var(--green);
  outline: none;
}

.case-copy h1 {
  max-width: 960px;
  margin-bottom: 28px;
  padding: 0;
  color: #6b6666;
  font-size: clamp(5.4rem, 11vw, 14rem);
  line-height: 0.82;
  text-align: left;
}

.case-summary {
  max-width: 760px;
  margin-bottom: 42px;
  color: rgba(247, 248, 245, 0.84);
  font-size: 1.44rem;
  line-height: 1.4;
  white-space: pre-line;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.case-meta-grid div {
  min-height: 110px;
  padding: 18px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.018);
}

.case-meta-grid span,
.case-panel span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.22;
  text-transform: uppercase;
}

.case-meta-grid strong {
  display: block;
  color: var(--paper);
  font-size: 1.1rem;
  line-height: 1.25;
}

.case-visual {
  min-height: min(70svh, 720px);
  align-self: stretch;
  border: 1px solid rgba(247, 248, 245, 0.12);
  overflow: hidden;
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(247, 248, 245, 0.10);
  pointer-events: none;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04) brightness(0.78);
}

.case-visual.is-contain img {
  object-fit: contain;
  background: rgba(247, 248, 245, 0.035);
}

.case-visual.is-light {
  background: #ffffff;
}

.case-visual.is-light::before {
  border-color: rgba(16, 11, 12, 0.12);
}

.case-visual.is-light img {
  object-fit: contain;
  padding: clamp(22px, 4vw, 58px);
  background: #ffffff;
  filter: none;
}

.case-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 9vw, 128px);
  border-top: 1px solid rgba(247, 248, 245, 0.06);
}

.case-panel {
  min-height: 360px;
  padding: 28px 24px;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.052), rgba(247, 248, 245, 0.012));
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.case-panel:first-child {
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.case-panel:hover {
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.10), rgba(247, 248, 245, 0.016));
  border-color: rgba(12, 176, 76, 0.34);
  transform: translateY(-8px);
}

.case-panel h2 {
  margin: 110px 0 18px;
  color: var(--paper);
  font-size: 2.1rem;
  line-height: 1.02;
}

.case-panel p {
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.66);
  font-size: 1rem;
  line-height: 1.62;
}

.case-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 40px;
  align-items: end;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(247, 248, 245, 0.06);
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 46%);
}

.case-proof h2 {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: 4.2rem;
  line-height: 0.98;
}

.case-proof p:not(.section-kicker) {
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.06rem;
  line-height: 1.66;
}

.case-gallery {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(247, 248, 245, 0.06);
}

.case-gallery-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.case-gallery-heading h2 {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: 4.2rem;
  line-height: 0.98;
}

.case-gallery-heading h2:only-child {
  grid-column: 1 / -1;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  border-left: 1px solid rgba(247, 248, 245, 0.12);
}

.case-gallery-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(247, 248, 245, 0.12);
  border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 248, 245, 0.04), rgba(247, 248, 245, 0.012));
  overflow: hidden;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.case-gallery-card:nth-child(1) {
  grid-column: span 2;
}

.case-gallery-card.is-hero,
.case-gallery-card.is-banner {
  grid-column: span 2;
}

.case-gallery-card:hover {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.10), rgba(247, 248, 245, 0.016));
  border-color: rgba(12, 176, 76, 0.34);
  transform: translateY(-8px);
}

.case-gallery-card figure {
  position: relative;
  height: 340px;
  margin: 0;
  overflow: hidden;
  background: rgba(247, 248, 245, 0.04);
}

.case-gallery-card:nth-child(1) figure {
  height: 430px;
}

.case-gallery-card.is-banner figure {
  height: 300px;
}

.case-gallery-card.is-portrait figure {
  height: 520px;
}

.case-gallery-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.48)),
    linear-gradient(90deg, rgba(12, 176, 76, 0.12), transparent 46%);
  pointer-events: none;
}

.case-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.case-gallery-trigger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -6px;
}

.case-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(247, 248, 245, 0.035);
  filter: saturate(0.92) contrast(1.04) brightness(0.82);
  transition: transform 520ms ease, filter 520ms ease;
}

.case-gallery-card.is-hero img,
.case-gallery-card.is-banner img,
.case-gallery-card.is-landscape img,
.case-gallery-card.is-portrait img {
  object-fit: contain;
}

.case-gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

.case-gallery-card div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.case-gallery-card span {
  display: block;
  margin-bottom: auto;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.22;
  text-transform: uppercase;
}

.case-gallery-card h3 {
  margin: 64px 0 14px;
  color: var(--paper);
  font-size: 1.75rem;
  line-height: 1.02;
}

.case-gallery-card p {
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.64);
  font-size: 0.98rem;
  line-height: 1.62;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(48px, 76px) minmax(0, 1fr) minmax(48px, 76px);
  align-items: center;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(12, 176, 76, 0.08), transparent 42%),
    rgba(5, 6, 6, 0.92);
  backdrop-filter: blur(18px);
}

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

.case-lightbox figure {
  grid-column: 2;
  width: min(100%, 1480px);
  max-height: calc(100svh - 52px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
}

.case-lightbox img {
  width: 100%;
  max-height: calc(100svh - 190px);
  object-fit: contain;
  background: rgba(247, 248, 245, 0.045);
  box-shadow: var(--shadow);
}

.case-lightbox figcaption {
  max-width: 960px;
  color: var(--paper);
}

.case-lightbox figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.22;
  text-transform: uppercase;
}

.case-lightbox figcaption h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 3rem);
  line-height: 1.02;
}

.case-lightbox figcaption p {
  max-width: 760px;
  margin: 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1rem;
  line-height: 1.55;
}

.case-lightbox-close,
.case-lightbox-nav {
  min-height: 48px;
  padding: 0 16px;
  color: var(--paper);
  background: rgba(247, 248, 245, 0.08);
  border: 1px solid rgba(247, 248, 245, 0.18);
  border-radius: 0;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.case-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.case-lightbox-nav {
  width: 100%;
}

.case-lightbox-nav.is-prev {
  grid-column: 1;
}

.case-lightbox-nav.is-next {
  grid-column: 3;
}

.case-lightbox-close:hover,
.case-lightbox-close:focus-visible,
.case-lightbox-nav:hover,
.case-lightbox-nav:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  outline: 0;
}

.case-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 9vw, 128px);
}

.case-switcher a {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  color: rgba(247, 248, 245, 0.72);
  border: 1px solid rgba(247, 248, 245, 0.12);
  background: rgba(247, 248, 245, 0.016);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.28;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.case-switcher a:hover,
.case-switcher a:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  outline: none;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: end;
  background: transparent;
  color: var(--paper);
  border-top: 1px solid rgba(247, 248, 245, 0.08);
  overflow: hidden;
}

.contact-band::before {
  content: "EDGE";
  position: absolute;
  left: clamp(18px, 4vw, 70px);
  bottom: -0.18em;
  color: rgba(247, 248, 245, 0.026);
  font-size: clamp(8rem, 24vw, 28rem);
  font-weight: 800;
  line-height: 0.78;
  pointer-events: none;
}

.contact-band .section-kicker {
  color: var(--green);
}

.contact-copy,
.contact-panel {
  position: relative;
  z-index: 1;
}

.contact-band h2 {
  margin-bottom: 0;
}

.contact-copy p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 28px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.68);
  font-size: 1.16rem;
  line-height: 1.72;
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(247, 248, 245, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 176, 76, 0.10), rgba(247, 248, 245, 0.018));
}

.contact-name {
  display: block;
  margin-bottom: 54px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

address {
  display: grid;
  gap: 14px;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.4;
}

address a,
address span {
  padding-bottom: 14px;
  color: rgba(247, 248, 245, 0.76);
  border-bottom: 1px solid rgba(247, 248, 245, 0.14);
}

.contact-action {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
  padding: 16px 22px;
  color: var(--paper);
  border: 1px solid rgba(247, 248, 245, 0.26);
  background: rgba(247, 248, 245, 0.04);
  font-size: 1.04rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(247, 248, 245, 0.62);
  background: transparent;
  font-size: 0.92rem;
}

@keyframes intro-ambigram-3d {
  0%,
  18% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(0) scale(0.985);
  }
  32% {
    transform: rotateX(8deg) rotateY(-26deg) rotateZ(-1deg) translateZ(18px) scale(1.015);
  }
  48%,
  58% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(180deg) translateZ(24px) scale(1.025);
  }
  74% {
    transform: rotateX(-7deg) rotateY(24deg) rotateZ(181deg) translateZ(18px) scale(1.015);
  }
  92%,
  100% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(360deg) translateZ(0) scale(0.985);
  }
}

@keyframes logo-light-pass {
  0%,
  24%,
  100% {
    opacity: 0;
    transform: translate3d(-130%, 0, 82px);
  }
  38%,
  68% {
    opacity: 0.62;
  }
  78% {
    opacity: 0;
    transform: translate3d(130%, 0, 82px);
  }
}

@keyframes gate-exit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
    visibility: hidden;
  }
}

@keyframes hero-mark-settle {
  0% {
    opacity: 0;
    transform: rotate(174deg) translateY(28px);
  }
  100% {
    opacity: 0.08;
    transform: rotate(180deg) translateY(0);
  }
}

@keyframes hero-mark-drift {
  0% {
    transform: rotate(180deg) translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: rotate(183deg) translate3d(-22px, 18px, 0) scale(1.035);
  }
}

@keyframes hero-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 96px 48px, 48px 96px;
  }
}

@keyframes hero-frame-breathe {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.62;
  }
}

@keyframes hero-light-sweep {
  0%,
  24%,
  100% {
    opacity: 0;
    transform: translateX(-120%);
  }
  42%,
  58% {
    opacity: 1;
  }
  78% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes hero-inner-frame {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.54;
    transform: scale(1.01);
  }
}

@keyframes hero-scan-x {
  0% {
    transform: translateX(-22vw);
  }
  100% {
    transform: translateX(118vw);
  }
}

@keyframes hero-scan-y {
  0% {
    transform: translateY(-46vh);
  }
  100% {
    transform: translateY(46vh);
  }
}

@keyframes hero-pulse-one {
  0%,
  100% {
    opacity: 0;
    transform: scaleX(0.16);
  }
  42%,
  62% {
    opacity: 0.82;
    transform: scaleX(1);
  }
}

@keyframes hero-pulse-two {
  0%,
  100% {
    opacity: 0;
    transform: scaleY(0.18);
  }
  38%,
  58% {
    opacity: 0.72;
    transform: scaleY(1);
  }
}

@keyframes hero-slicer-one {
  0%,
  28%,
  100% {
    opacity: 0;
    transform: rotate(-18deg) translateX(-120%);
  }
  42%,
  62% {
    opacity: 0.78;
  }
  82% {
    opacity: 0;
    transform: rotate(-18deg) translateX(250%);
  }
}

@keyframes hero-slicer-two {
  0%,
  24%,
  100% {
    opacity: 0;
    transform: rotate(-18deg) translateX(120%);
  }
  40%,
  58% {
    opacity: 0.7;
  }
  80% {
    opacity: 0;
    transform: rotate(-18deg) translateX(-260%);
  }
}

@keyframes hero-title-in {
  0% {
    opacity: 0;
    transform: translateY(38px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-sweep {
  0%,
  26%,
  100% {
    opacity: 0;
    transform: translateX(-160%) skewX(-16deg);
  }
  42%,
  56% {
    opacity: 1;
  }
  74% {
    opacity: 0;
    transform: translateX(360%) skewX(-16deg);
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 7rem;
  }

  .intro-band h2,
  .services-heading h2,
  .section-heading h2,
  .timeline-heading h2,
  .contact-band h2 {
    font-size: 3.6rem;
  }

  .hero-mark {
    top: 10%;
    right: -28%;
    width: 1200px;
  }

  .hero-message {
    width: min(100%, 960px);
  }

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

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

  .phase-map {
    grid-template-columns: 1fr;
  }

  .phase-card {
    min-height: 360px;
  }

  .phase-card h3 {
    font-size: 3.6rem;
  }

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

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

  .work-feature {
    min-height: 620px;
  }

  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid rgba(247, 248, 245, 0.12);
  }

  .work-row {
    grid-template-columns: 48px minmax(0, 1fr);
    align-content: start;
  }

  .work-row img {
    grid-column: 1 / -1;
    height: 180px;
  }

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

  .work-type-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline-era {
    min-height: 430px;
  }

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

  .archive-copy h1 {
    font-size: 7rem;
  }

  .archive-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .archive-grid.is-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .case-hero,
  .case-proof {
    grid-template-columns: 1fr;
  }

  .case-copy h1 {
    font-size: 7rem;
  }

  .case-visual {
    min-height: 520px;
  }

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

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

@media (max-width: 760px) {
  .intro-gate {
    padding: 22px;
    background-size: 54px 54px, 54px 54px, auto;
  }

  .intro-grid {
    inset: 18px;
  }

  .intro-brand {
    width: 96%;
    gap: 20px;
  }

  .intro-logo-shell {
    --logo-pad: 28px;
  }

  .intro-logo-shell::before {
    transform: translate3d(12px, 14px, -46px) scale(0.992);
  }

  .intro-logo-shell img {
    transform: translateZ(36px);
    filter:
      drop-shadow(10px 18px 0 rgba(0, 0, 0, 0.22))
      drop-shadow(0 18px 36px rgba(12, 176, 76, 0.26));
  }

  .intro-brand p {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .enter-button {
    bottom: 30px;
  }

  .site-header {
    position: sticky;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand img {
    width: 86px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px 9px;
    max-width: 238px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 100svh;
    padding: 74px 18px 34px;
  }

  .hero::before,
  .hero::after {
    inset: 76px 14px 24px;
  }

  .hero::after {
    background:
      linear-gradient(var(--green), var(--green)) left top / 52px 1px no-repeat,
      linear-gradient(var(--green), var(--green)) left top / 1px 52px no-repeat,
      linear-gradient(var(--green), var(--green)) right top / 52px 1px no-repeat,
      linear-gradient(var(--green), var(--green)) right top / 1px 52px no-repeat,
      linear-gradient(var(--green), var(--green)) left bottom / 52px 1px no-repeat,
      linear-gradient(var(--green), var(--green)) left bottom / 1px 52px no-repeat,
      linear-gradient(var(--green), var(--green)) right bottom / 52px 1px no-repeat,
      linear-gradient(var(--green), var(--green)) right bottom / 1px 52px no-repeat;
  }

  .hero-motion {
    background-size: 80px 80px, 80px 80px;
    opacity: 0.48;
  }

  .hero-copy {
    min-height: calc(100svh - 108px);
  }

  .hero-message {
    min-height: calc(100svh - 230px);
  }

  h1 {
    font-size: 4.7rem;
  }

  .hero-lede {
    font-size: 1.08rem;
    margin-bottom: 0;
  }

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

  .hero-mark {
    top: 12%;
    right: -74%;
    width: 980px;
  }

  .intro-band h2,
  .services-heading h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 2.8rem;
  }

  .services-heading,
  .section-heading,
  .timeline-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .services-heading {
    gap: 18px;
    margin-bottom: 42px;
  }

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

  .about-grid {
    margin-top: 38px;
  }

  .about-statement,
  .about-step {
    min-height: auto;
    padding: 24px 20px;
  }

  .about-statement {
    gap: 24px;
  }

  .about-step:hover {
    transform: none;
  }

  .about-step h3 {
    margin: 18px 0 12px;
    font-size: 1.82rem;
  }

  .about-proof span {
    min-height: auto;
    padding: 18px 20px;
  }

  .phase-card {
    min-height: auto;
    padding: 26px;
  }

  .phase-card::before {
    font-size: 5.2rem;
  }

  .phase-card:hover,
  .phase-card:focus-within {
    transform: none;
  }

  .phase-card h3 {
    margin: 22px 0 14px;
    font-size: 3rem;
  }

  .phase-tags {
    margin-top: 20px;
  }

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

  .capability-strip span {
    min-height: auto;
  }

  .work-feature {
    min-height: auto;
    display: grid;
    align-items: end;
    padding-top: 58%;
  }

  .work-feature::before {
    inset: 12px;
  }

  .work-feature-copy {
    width: calc(100% - 40px);
    margin: 20px;
  }

  .work-feature-copy h3 {
    font-size: 3rem;
  }

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

  .work-row {
    min-height: auto;
    transform: none;
  }

  .work-row img {
    height: auto;
    max-height: 320px;
    object-fit: contain;
    background: rgba(247, 248, 245, 0.035);
  }

  .work-row:hover,
  .work-row:focus-visible {
    transform: none;
  }

  .taxonomy-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .sector-grid,
  .work-type-map,
  .timeline-ruler,
  .timeline-track,
  .timeline-summary {
    grid-template-columns: 1fr;
  }

  .timeline-heading {
    gap: 14px;
    margin-bottom: 34px;
  }

  .timeline-ruler span,
  .timeline-summary span {
    min-height: auto;
    padding: 18px 20px;
  }

  .timeline-era {
    min-height: auto;
    padding: 24px 20px;
    transform: none;
  }

  .timeline-era:hover,
  .timeline-era:focus-within {
    transform: none;
  }

  .timeline-era h3 {
    margin-top: 18px;
    font-size: 1.82rem;
  }

  .era-label {
    margin: 18px 0 0;
  }

  .era-number {
    font-size: 4rem;
  }

  .archive-link {
    grid-column: auto;
    width: 100%;
  }

  .archive-hero {
    min-height: auto;
    padding: 96px 18px 34px;
  }

  .work-archive-page .archive-hero,
  .clients-page .archive-hero {
    padding: 76px 18px 20px;
  }

  .work-archive-page .archive-controls {
    padding-top: 18px;
  }

  .work-archive-page .archive-results {
    padding-top: 26px;
  }

  .archive-hero::before,
  .archive-hero::after {
    inset: 76px 14px 24px;
  }

  .archive-copy h1 {
    font-size: 4.5rem;
  }

  .archive-copy p:not(.section-kicker) {
    font-size: 1.08rem;
  }

  .archive-stats,
  .archive-results-head,
  .archive-grid,
  .clients-heading {
    grid-template-columns: 1fr;
  }

  .clients-section {
    padding: 42px 18px 56px;
  }

  .clients-heading {
    gap: 14px;
    margin-bottom: 24px;
  }

  .clients-heading h2 {
    font-size: 2.45rem;
  }

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

  .client-logo-card {
    min-height: 146px;
    padding: 18px;
  }

  .client-logo-card:hover {
    transform: none;
  }

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

  .archive-controls,
  .archive-results {
    padding-right: 18px;
    padding-left: 18px;
  }

  .filter-group {
    align-items: stretch;
  }

  .filter-group > span {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 180px;
  }

  .archive-results-head {
    gap: 14px;
    margin-bottom: 34px;
  }

  .archive-results-head h2 {
    font-size: 2.8rem;
  }

  .archive-card {
    min-height: auto;
  }

  .archive-card figure,
  .archive-card.archive-job figure {
    height: auto;
    max-height: none;
  }

  .archive-card figure img {
    height: auto;
    object-fit: contain;
  }

  .archive-card-body {
    flex: none;
    padding: 22px 18px 24px;
  }

  .archive-card-meta,
  .archive-card.archive-job .archive-card-meta {
    margin-bottom: 18px;
  }

  .archive-card p {
    margin-bottom: 18px;
  }

  .archive-tags {
    margin: 0 0 18px;
  }

  .archive-card:hover {
    transform: none;
  }

  .portfolio-lightbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .portfolio-lightbox-stage {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .portfolio-lightbox figure {
    width: 100%;
    max-height: calc(100svh - 92px);
    gap: 12px;
  }

  .portfolio-lightbox img {
    max-height: calc(100svh - 190px);
  }

  .portfolio-lightbox-nav {
    grid-row: 2;
    min-height: 48px;
    font-size: 2.8rem;
  }

  .portfolio-lightbox-nav.is-prev {
    grid-column: 1;
  }

  .portfolio-lightbox-nav.is-next {
    grid-column: 2;
  }

  .case-hero {
    min-height: auto;
    padding: 96px 18px 34px;
  }

  .case-hero::before,
  .case-hero::after {
    inset: 76px 14px 24px;
  }

  .case-copy h1 {
    font-size: 4.5rem;
  }

  .case-summary {
    margin-bottom: 28px;
    font-size: 1.08rem;
  }

  .case-meta-grid,
  .case-detail,
  .case-proof,
  .case-gallery-heading,
  .case-gallery-grid,
  .case-switcher {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: auto;
    align-self: auto;
  }

  .case-visual::before {
    inset: 10px;
  }

  .case-visual img,
  .case-visual.is-contain img,
  .case-visual.is-light img {
    height: auto;
    object-fit: contain;
  }

  .case-visual.is-light img {
    padding: 18px;
  }

  .case-detail,
  .case-switcher {
    padding-right: 18px;
    padding-left: 18px;
  }

  .case-gallery {
    padding: 42px 18px;
  }

  .case-gallery-heading {
    gap: 14px;
    margin-bottom: 20px;
  }

  .case-gallery-heading h2 {
    font-size: 2.8rem;
  }

  .case-gallery-card,
  .case-gallery-card:nth-child(1),
  .case-gallery-card.is-hero,
  .case-gallery-card.is-banner {
    grid-column: auto;
    min-height: auto;
  }

  .case-gallery-card:hover {
    transform: none;
  }

  .case-gallery-card figure,
  .case-gallery-card:nth-child(1) figure,
  .case-gallery-card.is-banner figure,
  .case-gallery-card.is-portrait figure {
    order: 2;
    height: auto;
    min-height: 0;
  }

  .case-gallery-card figure::after {
    display: none;
  }

  .case-gallery-card img,
  .case-gallery-card.is-hero img,
  .case-gallery-card.is-banner img,
  .case-gallery-card.is-landscape img,
  .case-gallery-card.is-portrait img {
    height: auto;
    max-height: none;
    object-fit: contain;
    transform: none;
  }

  .case-gallery-card div {
    order: 1;
    flex: none;
    padding: 22px 18px 24px;
  }

  .case-gallery-card span {
    margin-bottom: 0;
  }

  .case-gallery-card h3 {
    margin: 18px 0 12px;
    font-size: 1.55rem;
  }

  .case-panel {
    min-height: auto;
    padding: 24px 20px;
  }

  .case-panel:hover {
    transform: none;
  }

  .case-panel h2 {
    margin: 18px 0 12px;
    font-size: 1.82rem;
  }

  .case-proof h2 {
    font-size: 2.8rem;
  }

  .sector-block {
    min-height: auto;
    padding: 24px 20px;
  }

  .sector-number {
    margin-bottom: 28px;
    font-size: 2.4rem;
  }

  .sector-block h3 {
    font-size: 1.48rem;
  }

  .type-lane {
    min-height: auto;
    padding: 20px;
  }

  .site-footer {
    display: grid;
    gap: 10px;
    line-height: 1.42;
  }

  .contact-panel {
    padding: 24px 20px;
  }

  .contact-name {
    margin-bottom: 38px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.6rem;
  }

  .case-copy h1 {
    font-size: 3.45rem;
  }

  .archive-copy h1 {
    font-size: 3.45rem;
  }

  .clients-heading h2 {
    font-size: 2.2rem;
  }

  .client-logo-card {
    min-height: 132px;
    padding: 14px;
  }

  .intro-band h2,
  .services-heading h2,
  .section-heading h2,
  .timeline-heading h2,
  .contact-band h2 {
    font-size: 2.35rem;
  }

  .phase-card h3 {
    font-size: 2.55rem;
  }
}

@media (max-width: 760px) {
  .case-lightbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .case-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-height: calc(100svh - 92px);
    gap: 12px;
  }

  .case-lightbox img {
    max-height: calc(100svh - 250px);
  }

  .case-lightbox figcaption h3 {
    font-size: 1.45rem;
  }

  .case-lightbox figcaption p {
    font-size: 0.92rem;
  }

  .case-lightbox-close {
    top: 14px;
    right: 14px;
    min-height: 42px;
    padding: 0 12px;
  }

  .case-lightbox-nav {
    grid-row: 2;
    min-height: 44px;
  }

  .case-lightbox-nav.is-prev {
    grid-column: 1;
  }

  .case-lightbox-nav.is-next {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
