:root {
  --ink: #180A33;
  --ink-rgb: 24, 10, 51;
  --paper: #F1EFEC;
  --purple-dark: #180A33;
  --purple: #5B238A;
  --purple-light: #8B5ABA;
  --green: #5DCE5D;
  --green-rgb: 93, 206, 93;
  --white: #FFFFFF;
  --line: rgba(255, 255, 255, 0.15);
  --pad: clamp(22px, 5vw, 84px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

body.language-arrival,
body.language-leaving {
  opacity: 0;
}

body.language-arrival {
  transition: opacity .36s ease;
}

body.language-arrival.language-arrival-visible {
  opacity: 1;
}

body.language-leaving {
  transition: opacity .32s ease;
  pointer-events: none;
}

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

.cursor-glow {
  --cursor-solid: var(--purple);
  --cursor-rgb: 91, 35, 138;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cursor-solid);
  border-radius: 50%;
  background: rgba(var(--cursor-rgb), 0.14);
  box-shadow: 0 0 22px rgba(var(--cursor-rgb), 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition:
    width 0.22s cubic-bezier(.2,.8,.2,1),
    height 0.22s cubic-bezier(.2,.8,.2,1),
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    transform 0.12s ease;
  will-change: left, top, width, height, transform;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.cursor-glow.is-active {
  width: 44px;
  height: 44px;
  background: rgba(var(--cursor-rgb), 0.18);
  box-shadow: 0 0 30px rgba(var(--cursor-rgb), 0.34);
}

.cursor-glow.is-inverse {
  --cursor-solid: var(--green);
  --cursor-rgb: 93, 206, 93;
}

.cursor-glow.is-pressed {
  transform: translate(-50%, -50%) scale(0.82);
}

@media (pointer: fine) {
  body,
  a,
  button,
  input,
  textarea,
  select,
  [role="button"] {
    cursor: none;
  }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 var(--pad);
  direction: ltr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(var(--ink-rgb), 0.72);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-110%);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.site-header.header-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body:not(.hero-nav-ready) .site-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-110%) !important;
}

body.hero-nav-ready .site-header {
  pointer-events: auto;
}

.brand {
  order: 1;
  display: flex;
  align-items: center;
}

.brand img {
  width: 168px;
  height: 62px;
  object-fit: contain;
}

.nav {
  order: 2;
  display: flex;
  gap: 34px;
  direction: rtl;
  font-size: 14px;
}

.nav a {
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 25px;
  border-radius: 100px;
  background: var(--green);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(var(--green-rgb), 0.2);
}

.button-small {
  padding: 12px 19px;
}

.menu-toggle {
  display: none;
  width: 38px;
  border: 0;
  background: none;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--white);
}

/* Scroll-driven hero */
.hero-scroll {
  position: relative;
  z-index: 2;
  height: 220svh;
  background: var(--ink);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-ambient {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 90, 186, 0.30),
      transparent 43%
    ),
    var(--ink);
}

.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.hero-editorial {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-editorial-title {
  position: absolute;
  top: clamp(32px, 4.2vh, 54px);
  right: clamp(24px, 4vw, 72px);
  width: min(34vw, 560px);
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.hero-editorial-title span,
.hero-editorial-title strong {
  display: block;
  font-weight: 500;
}

.hero-editorial-title strong {
  margin-top: 0.04em;
}

.hero-editorial-copy {
  position: absolute;
  bottom: 9vh;
  left: clamp(90px, 14vw, 250px);
  width: min(31vw, 520px);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.8;
  text-align: right;
}

.hero-editorial-logo {
  position: absolute;
  top: clamp(30px, 4.2vh, 54px);
  left: clamp(24px, 4vw, 72px);
  display: block;
  width: clamp(128px, 10.5vw, 190px);
  height: auto;
}

.hero-language-switch {
  position: absolute;
  z-index: 4;
  top: clamp(34px, 4.6vh, 58px);
  left: calc(clamp(24px, 4vw, 72px) + clamp(128px, 10.5vw, 190px) + 14px);
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(var(--green-rgb), .72);
  border-radius: 999px;
  color: var(--white);
  background: rgba(var(--ink-rgb), .3);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  pointer-events: auto;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.hero-language-switch:hover {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
  transform: translateY(-2px);
}

.hero-editorial-scroll {
  position: absolute;
  bottom: 5.8vh;
  left: 4.5vw;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.hero-frame {
  --hero-w: min(34vw, 620px);
  --hero-h: calc(var(--hero-w) * 0.53);
  position: absolute;
  z-index: 3;
  top: 56%;
  left: 50%;
  width: var(--hero-w);
  height: var(--hero-h);
  overflow: hidden;
  background: var(--purple);
  box-shadow: 0 35px 100px rgba(var(--ink-rgb), 0.55);
  clip-path: polygon(
    61.25% 0%,
    0% 0%,
    0% 40.86%,
    35.62% 40.86%,
    35.62% 100%,
    61.25% 100%,
    100% 0%,
    61.25% 0%
  );
  transform: translate(-50%, -50%);
  will-change: width, height, clip-path, border-radius;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  will-change: transform;
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--ink-rgb), 0.04),
    rgba(var(--ink-rgb), 0.32)
  );
}

.hero-progress {
  position: absolute;
  z-index: 7;
  bottom: 4.2vh;
  left: 4.5vw;
  width: 105px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* Shared sections */
.section {
  position: relative;
  z-index: 1;
  padding: 110px var(--pad);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.section-kicker span {
  color: var(--green);
  font-weight: 800;
}

.section-kicker p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.statement-copy h2,
.section-heading h2,
.impact-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* About */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(270px, 0.85fr);
  grid-template-areas:
    "kicker kicker"
    "copy stats";
  align-items: start;
  column-gap: clamp(38px, 4vw, 72px);
  row-gap: 26px;
  background: var(--paper);
  color: var(--ink);
}

.statement > .section-kicker {
  grid-area: kicker;
}

.statement-copy {
  grid-area: copy;
}

.statement-stats {
  grid-area: stats;
}

.statement .section-kicker p {
  color: rgba(var(--ink-rgb), 0.58);
}

.statement-copy p {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(var(--ink-rgb), 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.statement-side {
  padding-top: 25px;
  border-top: 1px solid rgba(var(--ink-rgb), 0.22);
}

.statement-side p {
  color: rgba(var(--ink-rgb), 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.statement-side a {
  display: inline-flex;
  gap: 12px;
  margin-top: 25px;
  font-weight: 700;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--purple);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 21px 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-size: 22px;
  font-weight: 600;
}

.ticker i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(var(--green-rgb), 0.38);
}

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

/* Services */
.services {
  background: var(--ink);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 64px;
}

.section-heading .section-kicker {
  align-self: stretch;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--purple-dark);
}

.service-panel.reverse {
  grid-template-columns: 1fr 1.35fr;
}

.service-panel.reverse .service-media {
  order: 2;
}

.service-media {
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.service-panel:hover img {
  transform: scale(1.045);
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 64px);
}

.service-content > span {
  color: var(--green);
  font-size: 12px;
}

.service-content h3 {
  margin: 14px 0 20px;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.service-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.85;
}

.service-content ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-content li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

/* Work */
.featured {
  background: var(--paper);
  color: var(--ink);
}

.featured .section-kicker p {
  color: rgba(var(--ink-rgb), 0.62);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--purple-dark);
}

.project-large {
  height: 700px;
}

.project-wide {
  grid-column: 1 / -1;
  height: 590px;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(var(--ink-rgb), 0.86),
    transparent 58%
  );
}

.project:hover img {
  transform: scale(1.045);
}

.project div {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 27px;
  left: 30px;
  color: var(--white);
}

.project span {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project h3 {
  margin: 8px 0 0;
  font-size: 29px;
}

/* Process */
.impact {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  background: linear-gradient(
    135deg,
    var(--purple-dark) 0%,
    var(--ink) 62%
  );
}

.impact-copy h2 {
  margin-top: 24px;
  font-size: clamp(38px, 4.2vw, 62px);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.impact-grid div {
  min-height: 240px;
  padding: 35px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.impact-grid strong {
  color: var(--green);
  font-size: 12px;
}

.impact-grid h3 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.impact-grid p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.75;
}

/* Clients */
.clients {
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 90px;
}

.client-marquee {
  overflow: hidden;
  margin-top: 0;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.client-track span {
  padding: 35px 45px;
  border-left: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.36);
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

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

/* Contact */
.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 760px;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: url("../profile/img-514.jpg") center / cover;
  filter: saturate(0.55);
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      270deg,
      rgba(var(--ink-rgb), 0.96),
      rgba(var(--ink-rgb), 0.48)
    ),
    linear-gradient(0deg, var(--ink), transparent);
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 2;
}

.contact h2 {
  margin: 20px 0 32px;
  font-size: clamp(46px, 5.6vw, 82px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

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

.contact-details {
  display: grid;
  gap: 28px;
  min-width: 300px;
}

.contact-details div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-details small {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  letter-spacing: 0.08em;
}

.contact-details p {
  margin: 0;
}

/* Footer and reveal */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--pad);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

footer img {
  width: 110px;
  height: 45px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

/* Balanced Arabic typography */
.statement-copy h2,
.section-heading h2,
.impact-copy h2,
.contact h2,
.service-content h3,
.project h3,
.impact-grid h3 {
  text-wrap: balance;
}

.section-heading h2 {
  max-width: 900px;
}

.statement-copy h2 {
  max-width: 860px;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-editorial-title {
    top: 6vh;
    right: 5vw;
    width: min(42vw, 520px);
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.16;
  }

  .hero-editorial-logo {
    top: 5vh;
    left: 5vw;
    width: clamp(120px, 14vw, 165px);
  }

  .hero-frame {
    --hero-w: min(46vw, 570px);
    top: 56%;
  }

  .hero-editorial-copy {
    left: 7vw;
    width: 38vw;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.78;
  }
}

@media (max-width: 1000px) {
  .nav {
    position: fixed;
    inset: 86px 0 auto;
    display: none;
    flex-direction: column;
    padding: 30px var(--pad);
    background: var(--ink);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .button-small {
    display: none;
  }

  .statement,
  .impact {
    grid-template-columns: 1fr;
  }

  .statement {
    grid-template-areas:
      "kicker"
      "copy"
      "stats";
    row-gap: 26px;
  }

  .service-panel,
  .service-panel.reverse {
    grid-template-columns: 1fr;
  }

  .service-panel.reverse .service-media {
    order: 0;
  }

  .service-media {
    min-height: 480px;
  }

  .impact-grid {
    margin-top: 20px;
  }

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

  .project,
  .project-large,
  .project-wide {
    grid-column: 1;
    height: 500px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 60px;
  }

  .contact-details {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-scroll {
    height: 200svh;
  }

  .hero-editorial-logo {
    top: 28px;
    left: 20px;
    width: 112px;
  }

  .hero-editorial-title {
    top: 118px;
    right: 20px;
    width: calc(100vw - 40px);
    font-size: clamp(34px, 9.5vw, 46px);
    line-height: 1.16;
  }

  .hero-frame {
    --hero-w: 80vw;
    --hero-h: calc(var(--hero-w) * 0.53);
    top: 52%;
  }

  .hero-editorial-copy {
    right: 20px;
    bottom: 9vh;
    left: 20px;
    width: auto;
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-editorial-scroll {
    display: block;
    bottom: 6.8vh;
    left: 20px;
    padding-bottom: 6px;
    font-size: 10px;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .62);
  }

  .hero-progress {
    bottom: 4vh;
    left: 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 20px;
  }

  .site-header {
    height: 72px;
  }

  .brand img {
    width: 132px;
    height: 50px;
  }

  .nav {
    inset: 72px 0 auto;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .statement-copy h2,
  .section-heading h2,
  .impact-copy h2 {
    font-size: 34px;
    line-height: 1.25;
  }

  .statement-copy p {
    font-size: 16px;
  }

  .ticker span {
    font-size: 18px;
  }

  .service-panel {
    min-height: 0;
  }

  .service-media {
    min-height: 330px;
  }

  .service-content {
    padding: 34px 24px;
  }

  .service-content h3 {
    font-size: 30px;
    line-height: 1.3;
  }

  .project,
  .project-large,
  .project-wide {
    height: 400px;
  }

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

  .impact-grid div {
    min-height: 210px;
  }

  .contact h2 {
    font-size: 46px;
    line-height: 1.2;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (pointer: coarse), (hover: none) {
  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.language-arrival,
  body.language-leaving,
  body.language-arrival.language-arrival-visible {
    opacity: 1;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll {
    height: 100svh;
  }

  .hero-frame {
    width: 100vw !important;
    height: 100svh !important;
    clip-path: inset(0) !important;
  }

  .hero-editorial,
  .hero-progress {
    display: none;
  }

  .ticker-track,
  .client-track {
    animation: none;
  }

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

  .statement-stats.visible .statement-stat {
    animation: none;
  }
}

/* About section statistics */
.statement-stats {
  display: grid;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.statement-stat {
  position: relative;
  direction: ltr;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 16px;
  min-height: 94px;
  padding: 19px 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 16px;
  background:
    linear-gradient(125deg, rgba(91, 35, 138, 0.075), transparent 70%),
    rgba(255, 255, 255, 0.32);
  transition:
    transform 0.32s cubic-bezier(.2,.8,.2,1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.statement-stat::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(var(--green-rgb), 0.45);
}

.statement-stat:hover {
  transform: translateX(6px);
  border-color: rgba(91, 35, 138, 0.28);
  box-shadow: 0 16px 34px rgba(var(--ink-rgb), 0.08);
}

.statement-stat strong {
  display: inline-flex;
  align-items: flex-start;
  color: var(--purple);
  font-size: clamp(38px, 3.3vw, 54px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.statement-stat .stat-number {
  color: var(--purple);
}

.statement-stat .stat-plus {
  margin-left: 3px;
  color: var(--green);
  font-size: 0.56em;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.02em);
}

.statement-stat .stat-label {
  direction: rtl;
  padding-bottom: 5px;
  color: rgba(var(--ink-rgb), 0.72);
  font-size: 14px;
  font-weight: 600;
}

.statement-stats.visible .statement-stat {
  animation: stat-card-in 0.7s cubic-bezier(.2,.8,.2,1) both;
}

.statement-stats.visible .statement-stat:nth-child(2) {
  animation-delay: 0.09s;
}

.statement-stats.visible .statement-stat:nth-child(3) {
  animation-delay: 0.18s;
}

@keyframes stat-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .statement-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .statement-stat {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 132px;
    padding: 22px;
  }

  .statement-stat .stat-label {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .statement-stats {
    grid-template-columns: 1fr;
  }

  .statement-stat {
    grid-template-columns: auto 1fr;
    min-height: 88px;
    padding: 17px 18px;
  }

  .statement-stat strong {
    font-size: 38px;
  }
}

/* About section desktop balance — v7 */
@media (min-width: 1001px) {
  .statement-copy {
    max-width: 980px;
  }

  .statement-stats {
    justify-self: stretch;
    width: 100%;
    max-width: 390px;
  }
}



/* About CTA and inner About page — v5 */
.statement-more {
  gap: 10px;
  margin-top: 28px;
  padding: 13px 22px;
  font-size: 13px;
}

.statement-more span {
  font-size: 17px;
  line-height: 1;
}

body.inner-page {
  background: var(--ink);
}

body.inner-page .site-header,
body.inner-page:not(.hero-nav-ready) .site-header {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

body.inner-page main {
  padding-top: 86px;
}

.nav a[aria-current="page"] {
  opacity: 1;
  color: var(--green);
}

.about-page-hero {
  position: relative;
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(46px, 7vw, 120px);
  padding: clamp(88px, 11vw, 160px) var(--pad);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.about-page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(139, 90, 186, 0.28), transparent 36%),
    var(--ink);
}

.about-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000, transparent 82%);
}

.about-page-copy {
  max-width: 820px;
}

.about-page-copy .section-kicker {
  margin-bottom: 24px;
}

.about-page-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(46px, 5.6vw, 82px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.about-page-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.95;
}

.about-page-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.about-page-actions .text-link {
  padding-bottom: 6px;
}

.about-page-visual {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page-visual-logo {
  display: block;
  width: min(30vw, 430px);
  height: auto;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.28));
}

.about-overview {
  background: var(--paper);
  color: var(--ink);
}

.about-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr);
  grid-template-areas:
    "kicker kicker"
    "main side";
  column-gap: clamp(42px, 6vw, 96px);
  row-gap: 26px;
  align-items: start;
}

.about-overview-grid > .section-kicker {
  grid-area: kicker;
}

.about-overview-main {
  grid-area: main;
}

.about-overview-side {
  grid-area: side;
}

.about-overview .section-kicker p,
.about-values .section-kicker p {
  color: rgba(var(--ink-rgb), .58);
}

.about-overview-main h2,
.about-values-head h2,
.about-method-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.about-overview-main p,
.about-overview-side p {
  color: rgba(var(--ink-rgb), .72);
  line-height: 1.95;
}

.about-overview-main p {
  margin: 26px 0 0;
  font-size: 17px;
}

.about-overview-side {
  padding-top: 18px;
  border-top: 1px solid rgba(var(--ink-rgb), .2);
}

.about-overview-side p {
  margin: 0;
  font-size: 15px;
}

.about-values {
  background: var(--paper);
  color: var(--ink);
  padding-top: 0;
}

.about-values-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 54px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(var(--ink-rgb), .18);
  border-right: 1px solid rgba(var(--ink-rgb), .18);
}

.about-value {
  min-height: 300px;
  padding: clamp(30px, 3.6vw, 54px);
  border-left: 1px solid rgba(var(--ink-rgb), .18);
  border-bottom: 1px solid rgba(var(--ink-rgb), .18);
}

.about-value > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.about-value h3 {
  margin: 68px 0 16px;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 500;
}

.about-value p {
  margin: 0;
  color: rgba(var(--ink-rgb), .68);
  font-size: 15px;
  line-height: 1.85;
}

.about-method {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(50px, 7vw, 110px);
  background: linear-gradient(135deg, var(--purple-dark), var(--ink) 62%);
}

.about-method-copy h2 {
  margin-top: 28px;
}

.about-method-copy > p {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.9;
}

.about-method-list {
  border-top: 1px solid var(--line);
}

.about-method-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.about-method-item strong {
  color: var(--green);
  font-size: 12px;
}

.about-method-item h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.about-method-item p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.8;
}

.about-stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--purple);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.about-stats-band > div {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.about-stats-band > div:last-child {
  border-left: 0;
}

.about-stats-band strong {
  display: inline-flex;
  align-items: flex-start;
  color: var(--paper);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  line-height: 1;
}

.about-stats-band .stat-plus {
  margin-left: 4px;
  color: var(--green);
  font-size: 0.5em;
  line-height: 1;
}

.about-stats-band span {
  color: rgba(255,255,255,.78);
  font-size: 16px;
}

.about-cta {
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  background: var(--ink);
}

.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(var(--ink-rgb), .96), rgba(var(--ink-rgb), .44)),
    url('../profile/img-433.jpg') center/cover;
}

.about-cta-copy,
.about-cta .button {
  position: relative;
  z-index: 1;
}

.about-cta-copy h2 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.18;
}

@media (max-width: 1000px) {
  .about-page-hero,
  .about-overview-grid,
  .about-method {
    grid-template-columns: 1fr;
  }

  .about-overview-grid {
    grid-template-areas:
      "kicker"
      "main"
      "side";
    row-gap: 26px;
  }

  .about-page-hero {
    padding-top: 90px;
  }

  .about-page-visual {
    min-height: 360px;
  }

  .about-page-visual-logo {
    width: min(46vw, 360px);
  }

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

  .about-value {
    min-height: 230px;
  }
}

@media (max-width: 700px) {
  body.inner-page main {
    padding-top: 72px;
  }

  .about-page-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .about-page-copy h1 {
    font-size: 42px;
    line-height: 1.24;
  }

  .about-page-copy > p {
    font-size: 16px;
  }

  .about-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-page-visual {
    min-height: 240px;
  }

  .about-page-visual-logo {
    width: min(66vw, 300px);
  }

  .about-overview-main h2,
  .about-values-head h2,
  .about-method-copy h2 {
    font-size: 34px;
    line-height: 1.28;
  }

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

  .about-stats-band > div {
    min-height: 145px;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .about-stats-band > div:last-child {
    border-bottom: 0;
  }

  .about-cta {
    min-height: 480px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }
}

/* =========================================================
   Work archive and linked service cards — v9
   ========================================================= */

.service-panel {
  position: relative;
  color: inherit;
}

.service-panel::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: var(--paper);
  font-size: 18px;
  background-color: rgba(var(--ink-rgb), .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5H19V15' fill='none' stroke='%23F1EFEC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  backdrop-filter: blur(10px);
  transform: rotate(-12deg);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}

.service-panel:hover::after {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  transform: rotate(0deg) scale(1.06);
}

.work-page {
  background: var(--paper);
  color: var(--ink);
}

.work-page .contact {
  color: var(--white);
}

.work-page .site-header {
  color: var(--paper);
}

.work-page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: end;
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(110px, 13vw, 190px) var(--pad) clamp(70px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}

.work-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 28%, rgba(139,90,186,.34), transparent 31%),
    radial-gradient(circle at 20% 78%, rgba(91,35,138,.34), transparent 32%),
    var(--ink);
}

.work-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.work-page-hero-copy {
  max-width: 1080px;
}

.work-page-hero-copy .section-kicker {
  margin-bottom: 28px;
}

.work-page-hero-copy h1 {
  max-width: 970px;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 104px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.work-page-hero-copy > p {
  max-width: 750px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.9;
}

.work-page-hero-mark {
  align-self: center;
  justify-self: center;
  width: min(27vw, 390px);
  opacity: .15;
  transform: rotate(-8deg);
}

.work-page-hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.work-browser {
  position: relative;
  padding: clamp(80px, 9vw, 140px) var(--pad) clamp(100px, 11vw, 170px);
  background: var(--paper);
  color: var(--ink);
}

.work-browser-head {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(420px, 1.35fr);
  align-items: end;
  gap: clamp(35px, 7vw, 110px);
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .2);
}

.work-browser .section-kicker p {
  color: rgba(var(--ink-rgb), .55);
}

.work-browser-head h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 500;
  line-height: 1.15;
}

.work-filter {
  position: relative;
  z-index: 9;
}

.work-filter-toggle {
  width: 100%;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 20px;
  border: 0;
  border-bottom: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font: inherit;
  text-align: right;
}

.work-filter-current {
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.work-filter-chevron {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(91,35,138,.3);
  border-radius: 50%;
  transition: transform .3s ease, background-color .3s ease;
}

.work-filter-chevron::before,
.work-filter-chevron::after {
  content: "";
  position: absolute;
  top: 23px;
  width: 13px;
  height: 2px;
  background: currentColor;
}

.work-filter-chevron::before {
  right: 12px;
  transform: rotate(42deg);
}

.work-filter-chevron::after {
  left: 12px;
  transform: rotate(-42deg);
}

.work-filter-toggle[aria-expanded="true"] .work-filter-chevron {
  transform: rotate(180deg);
  background: rgba(91,35,138,.08);
}

.work-filter-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: 0;
  max-height: min(62vh, 540px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(var(--ink-rgb), .12);
  border-radius: 18px;
  background: rgba(241,239,236,.97);
  box-shadow: 0 28px 80px rgba(var(--ink-rgb), .18);
  backdrop-filter: blur(18px);
}

.work-filter-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .08);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  text-align: right;
  transition: background-color .22s ease, color .22s ease, padding .22s ease;
}

.work-filter-menu button:last-child {
  border-bottom: 0;
}

.work-filter-menu button:hover,
.work-filter-menu button[aria-selected="true"] {
  padding-right: 25px;
  background: var(--purple);
  color: var(--paper);
}

.work-filter-menu small {
  color: currentColor;
  font-size: 11px;
  opacity: .55;
}

.work-results-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 26px 0 34px;
  color: rgba(var(--ink-rgb), .55);
  font-size: 12px;
}

.work-results-count {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 31px;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--green);
  color: var(--ink);
  font-size: 12px;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}

.work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity .28s ease, transform .28s ease;
}

.work-card[hidden] {
  display: none;
}

.work-card.is-entering {
  animation: work-card-in .55s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes work-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.work-card-media {
  position: relative;
  aspect-ratio: 1.26 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--purple-dark);
}

.work-card--large .work-card-media {
  aspect-ratio: 1.55 / 1;
}

.work-card--tall .work-card-media {
  aspect-ratio: .92 / 1;
}

.work-card--wide {
  grid-column: 1 / -1;
}

.work-card--wide .work-card-media {
  aspect-ratio: 2.15 / 1;
}

.work-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(var(--ink-rgb), .18));
  pointer-events: none;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.work-card-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .16);
}

.work-card-info span {
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
}

.work-card-info h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.25;
}

.work-card-info b {
  flex: 0 0 auto;
  color: rgba(var(--ink-rgb), .35);
  font-size: 11px;
  font-weight: 500;
}

.work-empty {
  grid-column: 1 / -1;
  padding: 70px 0;
  border-top: 1px solid rgba(var(--ink-rgb), .16);
  border-bottom: 1px solid rgba(var(--ink-rgb), .16);
  text-align: center;
  color: rgba(var(--ink-rgb), .55);
}

.work-cta {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 72%, rgba(139,90,186,.28), transparent 32%),
    var(--ink);
  color: var(--paper);
}

.work-cta-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 500;
  line-height: 1.18;
}

@media (max-width: 1000px) {
  .work-page-hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .work-page-hero-mark {
    position: absolute;
    left: 7vw;
    bottom: 6vw;
    width: min(28vw, 260px);
  }

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

  .work-filter {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .service-panel::after {
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
  }

  .work-page-hero {
    min-height: 630px;
    padding-top: 105px;
    padding-bottom: 70px;
  }

  .work-page-hero-copy h1 {
    font-size: 43px;
    line-height: 1.22;
  }

  .work-page-hero-copy > p {
    font-size: 16px;
  }

  .work-page-hero-mark {
    display: none;
  }

  .work-browser {
    padding-top: 74px;
  }

  .work-browser-head {
    padding-bottom: 32px;
  }

  .work-filter-toggle {
    min-height: 76px;
  }

  .work-filter-current {
    font-size: 30px;
  }

  .work-filter-chevron {
    width: 42px;
    height: 42px;
  }

  .work-filter-chevron::before,
  .work-filter-chevron::after {
    top: 20px;
    width: 11px;
  }

  .work-filter-chevron::before { right: 10px; }
  .work-filter-chevron::after { left: 10px; }

  .work-cards {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .work-card--wide {
    grid-column: auto;
  }

  .work-card-media,
  .work-card--large .work-card-media,
  .work-card--tall .work-card-media,
  .work-card--wide .work-card-media {
    aspect-ratio: 1.18 / 1;
  }

  .work-cta {
    min-height: 450px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }
}


/* Compact internal page heroes — v10 */
.about-page-hero,
.work-page-hero {
  min-height: clamp(360px, 46svh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(96px, 10vw, 138px) var(--pad) clamp(56px, 6vw, 82px);
}

.about-page-hero {
  grid-template-columns: none;
  gap: 0;
}

.about-page-copy,
.work-page-hero-copy {
  width: min(100%, 920px);
  max-width: 920px;
}

.about-page-copy .section-kicker,
.work-page-hero-copy .section-kicker {
  margin-bottom: 18px;
}

.about-page-copy h1,
.work-page-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.about-page-copy > p,
.about-page-actions,
.about-page-visual,
.work-page-hero-copy > p,
.work-page-hero-mark {
  display: none !important;
}

@media (max-width: 700px) {
  .about-page-hero,
  .work-page-hero {
    min-height: 330px;
    padding-top: 92px;
    padding-bottom: 52px;
  }

  .about-page-copy h1,
  .work-page-hero-copy h1 {
    font-size: 38px;
    line-height: 1.22;
  }
}

/* Interaction, contact form, and About cleanup — v11 */
.button-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  overflow: visible;
}

.button-arrow::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
}

.button-arrow::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 1px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.statement-more .button-arrow {
  font-size: initial;
  line-height: initial;
}

/* The dedicated stats strip was removed from about.html. */
.about-stats-band {
  display: none !important;
}

.contact.contact-with-form {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1.18fr);
  grid-template-areas:
    "copy form"
    "details form";
  align-items: end;
  column-gap: clamp(48px, 7vw, 118px);
  row-gap: 40px;
  min-height: 820px;
}

.contact-with-form .contact-copy {
  grid-area: copy;
  align-self: end;
}

.contact-with-form .contact-intro {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.9;
}

.contact-with-form .contact-form {
  position: relative;
  z-index: 2;
  grid-area: form;
  align-self: center;
  display: grid;
  gap: 22px;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(24, 10, 51, 0.62);
  box-shadow: 0 30px 90px rgba(11, 3, 28, 0.32);
  backdrop-filter: blur(18px);
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

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

.contact-form select {
  padding-inline: 0 28px;
  color-scheme: dark;
}

.contact-form input[type="email"],
.contact-form input[type="tel"] {
  direction: ltr;
  text-align: right;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form select option {
  background: var(--ink);
  color: var(--paper);
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.contact-submit {
  gap: 11px;
  border: 0;
  font-family: inherit;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #f3b6b6;
}

.contact-with-form .contact-details {
  grid-area: details;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  width: 100%;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.contact-with-form .contact-details div {
  display: grid;
  grid-template-columns: minmax(105px, 0.45fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding-top: 13px;
}

.contact-with-form .contact-details small {
  margin: 0;
  text-align: right;
}

.contact-with-form .contact-details p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.contact-with-form .contact-phone {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

@media (max-width: 1000px) {
  .contact.contact-with-form {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "details";
    align-items: stretch;
    gap: 42px;
    min-height: auto;
  }

  .contact-with-form .contact-form {
    align-self: stretch;
  }

  .contact-with-form .contact-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .contact-with-form .contact-details div {
    display: block;
  }

  .contact-with-form .contact-details small {
    margin-bottom: 8px;
  }
}

@media (max-width: 700px) {
  .button-arrow {
    flex-basis: 14px;
    width: 14px;
    height: 14px;
  }

  .contact.contact-with-form {
    gap: 34px;
  }

  .contact-with-form .contact-form {
    gap: 19px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-with-form .contact-details {
    grid-template-columns: 1fr;
  }
}

/* Unified diagonal arrow — SVG mask prevents mobile emoji substitution */
.button-arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  min-width: 1.05em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5H19V15' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5H19V15' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  overflow: visible;
  line-height: 1;
}

.button-arrow::before,
.button-arrow::after {
  content: none !important;
  display: none !important;
}


/* v14 — unified contact forms and simplified work archive filter */
.work-browser {
  padding-top: clamp(56px, 6vw, 92px);
}

.work-browser-head {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding-bottom: 34px;
}

.work-filter {
  width: min(100%, 650px);
  max-width: none;
  margin-right: 0;
  margin-left: auto;
}

.work-filter-toggle {
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 15px;
  text-align: right;
}

.work-filter-current {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.work-filter-menu button {
  font-size: 15px;
  text-align: right;
}

.work-results-meta {
  justify-content: flex-start;
}

.contact-with-form .contact-details p.contact-phone {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right !important;
  justify-self: stretch;
}

.inner-page .contact.contact-with-form {
  min-height: 780px;
}

@media (max-width: 1000px) {
  .work-filter {
    width: min(100%, 620px);
  }

  .inner-page .contact.contact-with-form {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .work-browser {
    padding-top: 48px;
  }

  .work-browser-head {
    padding-bottom: 24px;
  }

  .work-filter {
    width: 100%;
  }

  .work-filter-toggle {
    min-height: 68px;
  }

  .work-filter-current {
    font-size: 23px;
  }

  .work-filter-menu button {
    font-size: 14px;
  }
}

/* v15 — seamless service and client marquees */
.ticker {
  direction: ltr;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 0;
  animation: ticker-seamless 28s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 34px;
  padding: 21px 34px 21px 0;
  direction: rtl;
  white-space: nowrap;
}

@keyframes ticker-seamless {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.clients {
  overflow: hidden;
  background: var(--ink);
}

.clients-marquees {
  display: grid;
  gap: 4px;
  margin-top: 38px;
  padding-block: 5px;
  background: var(--ink);
}

.client-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid rgba(241, 239, 236, .10);
  border-bottom: 1px solid rgba(241, 239, 236, .10);
  background: var(--ink);
  direction: ltr;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(28px, 7vw, 110px);
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ink), transparent);
}

.client-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-marquee-forward .client-track {
  animation: clients-forward 42s linear infinite;
}

.client-marquee-reverse .client-track {
  animation: clients-reverse 46s linear infinite;
  transform: translate3d(-50%, 0, 0);
}

.client-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.client-logo-item {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(132px, 11vw, 174px);
  height: 88px;
  padding: 17px 24px;
  background: transparent;
}

.client-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 138px;
  max-height: 50px;
  object-fit: contain;
  opacity: .62;
  filter: brightness(0) invert(1) grayscale(1);
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
}

.client-logo-item:hover img {
  transform: scale(1.07);
  filter: none;
  opacity: 1;
}

@keyframes clients-forward {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes clients-reverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  .ticker-group {
    gap: 24px;
    padding-right: 24px;
  }

  .clients-marquees {
    gap: 3px;
    margin-top: 30px;
  }

  .client-logo-item {
    flex-basis: 118px;
    height: 76px;
    padding: 15px 18px;
  }

  .client-logo-item img {
    max-width: 98px;
    max-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .client-track {
    animation: none !important;
    transform: none !important;
  }
}

/* v17 — compact contact heading locked to exactly two lines */
.contact.contact-with-form .contact-copy h2 {
  max-width: none;
  margin: 18px 0 24px;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-wrap: nowrap;
}

@media (max-width: 700px) {
  .contact.contact-with-form .contact-copy h2 {
    margin: 16px 0 22px;
    font-size: clamp(29px, 8.5vw, 38px);
    line-height: 1.22;
  }
}


/* v20 — menu and footer logos at 2x the previous display size */
.site-header .brand img {
  width: 368px;
  height: 132px;
}

footer > img {
  width: 116px;
  height: 116px;
}

@media (max-width: 600px) {
  .site-header .brand img {
    width: 288px;
    height: 108px;
  }

  footer > img {
    width: 104px;
    height: 104px;
  }
}

/* v21 — compact expandable services with sticky card stacking */
.services {
  --service-card-height: clamp(284px, 38vh, 360px);
  position: relative;
  padding-bottom: clamp(34px, 4vw, 56px);
}

.services .section-heading {
  margin-bottom: clamp(42px, 7vw, 86px);
}

.service-stack {
  --service-final-progress: 0;
  display: block;
  padding-bottom: 0;
}

.service-stack.is-final-transition .service-panel:not(:last-child) {
  opacity: calc(1 - var(--service-final-progress));
  transition: opacity .16s linear, border-color .35s ease, box-shadow .35s ease;
}

/* A real trailing flow item extends the sticky boundary without leaving
   visible padding after the final card has been released. */
.service-stack::after {
  content: "";
  display: block;
  height: clamp(300px, 48vh, 520px);
  pointer-events: none;
}

.service-panel,
.service-panel.reverse {
  position: sticky;
  z-index: calc(5 + var(--service-index));
  top: 104px;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) 1.28fr;
  height: var(--service-card-height);
  min-height: var(--service-card-height);
  margin: 0 0 clamp(110px, 19vh, 190px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  color: var(--paper);
  background: linear-gradient(135deg, #281047 0%, var(--purple-dark) 72%);
  box-shadow: 0 24px 70px rgba(8,2,18,.38);
  transform-origin: center top;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.service-panel:last-child {
  margin-bottom: 0;
}

.service-panel:nth-child(even) {
  background: linear-gradient(135deg, #48196c 0%, #27103f 78%);
}

.service-panel.is-expanded {
  height: auto;
  border-color: rgba(var(--green-rgb), .52);
  box-shadow: 0 30px 85px rgba(8,2,18,.5);
}

.service-panel::after {
  content: none;
}

.service-media,
.service-panel.reverse .service-media {
  order: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.service-media img {
  min-height: 100%;
}

.service-content {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 12px 22px;
  padding: clamp(26px, 3.2vw, 48px);
}

.service-content > span {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 10px;
  color: var(--green);
  font-size: 12px;
}

.service-content h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.22;
}

.service-toggle {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 4px;
  border: 0;
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  background: transparent;
}

.service-toggle:focus {
  outline: none;
}

.service-toggle:focus-visible i {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.service-toggle i {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  transition: border-color .3s ease, background-color .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}

.service-toggle i::before,
.service-toggle i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%,-50%);
}

.service-toggle i::after {
  transform: translate(-50%,-50%) rotate(90deg);
  transition: transform .3s ease;
}

.service-toggle:hover i,
.service-toggle[aria-expanded="true"] i {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
}

.service-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.service-toggle[aria-expanded="true"] i::after {
  transform: translate(-50%,-50%) rotate(0deg);
}

.service-details {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 0fr;
  min-width: 0;
  opacity: 0;
  transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}

.service-details > div {
  min-height: 0;
  overflow: hidden;
}

.service-panel.is-expanded .service-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-details p {
  max-width: 650px;
  margin-top: 22px;
}

.service-details ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0 18px;
  margin-top: 20px;
}

.service-work-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(var(--green-rgb),.6);
  color: var(--green);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .service-panel,
  .service-panel.reverse {
    grid-template-columns: minmax(210px, .65fr) 1.35fr;
  }

  .service-media,
  .service-panel.reverse .service-media {
    min-height: 220px;
  }

  .service-content {
    padding: 28px;
  }
}

@media (max-width: 700px) {
  .services {
    --service-card-height: 265px;
    padding-bottom: 28px;
  }

  .service-stack {
    padding-bottom: 0;
  }

  .service-stack::after {
    height: clamp(260px, 48svh, 420px);
  }

  .services .section-heading {
    margin-bottom: 38px;
  }

  .service-panel,
  .service-panel.reverse {
    top: 78px;
    grid-template-columns: 1fr;
    margin-bottom: 92px;
    border-radius: 14px;
  }

  .service-media,
  .service-panel.reverse .service-media {
    min-height: 145px;
    height: 145px;
  }

  .service-panel.is-expanded .service-media,
  .service-panel.is-expanded.reverse .service-media {
    height: 145px;
  }

  .service-content {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 21px 19px 22px;
  }

  .service-content > span {
    padding-top: 5px;
  }

  .service-content h3 {
    font-size: clamp(24px, 7vw, 31px);
  }

  .service-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .service-toggle i {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .service-details {
    grid-column: 1 / 4;
  }

  .service-details p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
  }

  .service-details ul {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .service-details li {
    padding: 11px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-details,
  .service-toggle i,
  .service-toggle i::after {
    transition: none;
  }
}

/* v22 — scroll-led process journey */
.impact {
  --process-progress: 0;
  position: relative;
  z-index: 1;
  display: block;
  height: 360vh;
  min-height: 2400px;
  gap: 0;
  padding: 0;
  background:
    radial-gradient(circle at 82% 45%, rgba(91,35,138,.24), transparent 34%),
    linear-gradient(135deg, var(--purple-dark) 0%, var(--ink) 68%);
}

.impact-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 8vw, 140px);
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: 110px var(--pad) 70px;
  overflow: hidden;
}

.impact-sticky::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 48%;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(50%,-50%) scale(calc(.82 + (var(--process-progress) * .18)));
}

.impact-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
}

.impact-copy h2 {
  margin: 24px 0 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.14;
}

.process-intro {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.54);
  font-size: 15px;
  line-height: 1.8;
}

.process-status {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: clamp(42px, 8vh, 82px);
  color: rgba(255,255,255,.28);
  font-size: 18px;
}

.process-status span {
  color: var(--green);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
}

.process-status em {
  font-style: normal;
}

.impact-journey {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-right: 52px;
}

.process-rail {
  position: absolute;
  top: 18px;
  right: 13px;
  bottom: 18px;
  width: 1px;
  overflow: visible;
  background: rgba(255,255,255,.16);
}

.process-rail i {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(var(--green-rgb),.45);
  transform: scaleY(var(--process-progress));
  transform-origin: top;
  transition: transform .12s linear;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 0;
}

.impact-grid .process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 124px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  opacity: .28;
  transform: translateX(-12px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), border-color .45s ease;
}

.impact-grid .process-step > div {
  min-height: 0;
  padding: 0;
  border: 0;
}

.impact-grid .process-step:last-child {
  border-bottom: 0;
}

.impact-grid .process-step::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -46px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.impact-grid .process-step.is-active {
  border-color: rgba(var(--green-rgb),.3);
  opacity: 1;
  transform: translateX(0);
}

.impact-grid .process-step.is-active::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(var(--green-rgb),.12), 0 0 24px rgba(var(--green-rgb),.4);
  transform: translateY(-50%) scale(1.12);
}

.impact-grid .process-step strong {
  align-self: start;
  padding-top: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
}

.impact-grid .process-step h3 {
  margin: 0;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.25;
}

.impact-grid .process-step p {
  max-width: 570px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 1000px) {
  .impact {
    height: 330vh;
    min-height: 2200px;
  }

  .impact-sticky {
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
  }

  .impact-copy h2 {
    font-size: clamp(38px, 5vw, 58px);
  }

  .impact-journey {
    padding-right: 42px;
  }

  .impact-grid .process-step::before {
    right: -36px;
  }
}

@media (max-width: 700px) {
  .impact {
    height: 340vh;
    min-height: 2300px;
  }

  .impact-sticky {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
    height: 100svh;
    min-height: 100svh;
    padding: 96px var(--pad) 36px;
  }

  .impact-sticky::before {
    top: 28%;
    right: 50%;
    width: 110vw;
    height: 110vw;
  }

  .impact-copy {
    align-self: end;
  }

  .impact-copy h2 {
    margin-top: 16px;
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .process-intro {
    display: none;
  }

  .process-status {
    position: absolute;
    top: 40px;
    left: 0;
    margin: 0;
    font-size: 12px;
  }

  .process-status span {
    font-size: 34px;
  }

  .impact-journey {
    align-self: start;
    padding-right: 34px;
  }

  .process-rail {
    right: 8px;
  }

  .impact-grid .process-step {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    min-height: 86px;
    padding: 13px 0;
  }

  .impact-grid .process-step::before {
    right: -31px;
    width: 10px;
    height: 10px;
  }

  .impact-grid .process-step h3 {
    font-size: 25px;
  }

  .impact-grid .process-step p {
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 13px;
    line-height: 1.65;
    transition: max-height .45s ease, margin .4s ease, opacity .3s ease;
  }

  .impact-grid .process-step.is-active p {
    max-height: 92px;
    margin-top: 7px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .impact {
    height: auto;
    min-height: 0;
  }

  .impact-sticky {
    position: relative;
    min-height: auto;
  }

  .impact-grid .process-step {
    opacity: 1;
    transform: none;
  }

  .impact-grid .process-step p {
    display: block;
    max-height: none;
    margin-top: 7px;
    opacity: 1;
  }
}

/* v23 — video portfolio cards and deferred YouTube player */
.work-video-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: inherit;
}

.work-card-media i {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(var(--ink-rgb),.34);
  box-shadow: 0 12px 35px rgba(var(--ink-rgb),.24);
  backdrop-filter: blur(10px);
  transform: translate(-50%,-50%);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}

.work-card-media i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--paper);
  transform: translate(-50%,-50%);
}

.work-video-trigger:hover .work-card-media i,
.work-video-trigger:focus-visible .work-card-media i {
  border-color: var(--green);
  background: var(--green);
  transform: translate(-50%,-50%) scale(1.08);
}

.work-video-trigger:hover .work-card-media i::before,
.work-video-trigger:focus-visible .work-card-media i::before {
  border-left-color: var(--ink);
}

.work-video-trigger:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 5px;
}

.work-card-info > div {
  min-width: 0;
}

.work-card-info p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(var(--ink-rgb),.58);
  font-size: 13px;
  line-height: 1.75;
}

.work-video-modal[hidden] {
  display: none;
}

.work-video-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px,4vw,56px);
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}

.work-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,4,22,.94);
}

.work-video-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px,100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  contain: layout paint;
  transform: translateZ(0);
}

.work-video-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.work-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #08040d;
  contain: paint;
  transform: translateZ(0);
}

.work-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.work-video-caption {
  padding: clamp(22px,3vw,38px);
}

.work-video-caption span {
  color: var(--green);
  font-size: 11px;
}

.work-video-caption h2 {
  margin: 8px 0 0;
  font-size: clamp(26px,3vw,42px);
}

.work-video-caption p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.62);
  line-height: 1.8;
}

.work-video-youtube-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(var(--green-rgb),.65);
  color: var(--green);
  font-size: 12px;
}

.work-video-youtube-link b {
  font-size: 14px;
  font-weight: 400;
}

.work-video-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(var(--ink-rgb),.5);
  backdrop-filter: blur(10px);
}

.work-video-close::before,
.work-video-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--paper);
}

.work-video-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.work-video-close::after { transform: translate(-50%,-50%) rotate(-45deg); }

html.video-modal-open,
body.video-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.video-modal-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

@media (max-width:700px) {
  .work-card-media i {
    width: 54px;
    height: 54px;
  }

  .work-video-modal {
    padding: 10px;
  }

  .work-video-dialog {
    border-radius: 13px;
  }

  .work-video-close {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
  }
}

/* v24 — visual identity project galleries */
.work-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: inherit;
}

/* Keep identity covers compact and close to their original proportions. */
.work-card--identity .work-card-media {
  aspect-ratio: 1.6 / 1;
}

.work-gallery-trigger:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 5px;
}

.work-gallery-trigger .work-gallery-mark {
  top: 18px;
  left: 18px;
  width: 50px;
  height: 50px;
  transform: none;
}

.work-gallery-trigger .work-gallery-mark::before,
.work-gallery-trigger .work-gallery-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  border: 0;
  background: var(--paper);
  transform: translate(-50%,-50%);
}

.work-gallery-trigger .work-gallery-mark::after {
  transform: translate(-50%,-50%) rotate(90deg);
}

.work-gallery-trigger:hover .work-gallery-mark,
.work-gallery-trigger:focus-visible .work-gallery-mark {
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.08);
}

.work-gallery-trigger:hover .work-gallery-mark::before,
.work-gallery-trigger:hover .work-gallery-mark::after,
.work-gallery-trigger:focus-visible .work-gallery-mark::before,
.work-gallery-trigger:focus-visible .work-gallery-mark::after {
  background: var(--ink);
}

.work-gallery-label {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(var(--ink-rgb),.38);
  backdrop-filter: blur(10px);
  font-size: 11px;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.work-gallery-trigger:hover .work-gallery-label {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
}

.work-gallery-modal[hidden] {
  display: none;
}

.work-gallery-modal {
  position: fixed;
  z-index: 125;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px,2vw,28px);
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}

.work-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,4,22,.94);
}

.work-gallery-dialog {
  --gallery-ratio: 1.3333;
  position: relative;
  z-index: 1;
  width: min(1120px,100%,calc((100dvh - 220px) * var(--gallery-ratio)));
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 45px 130px rgba(0,0,0,.5);
  scrollbar-width: none;
  -ms-overflow-style: none;
  contain: layout paint;
  transform: translateZ(0);
}

.work-gallery-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.work-gallery-head {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px,4vw,54px);
  border-top: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 14% 80%, rgba(132,73,179,.36), transparent 34%),
    var(--ink);
}

.work-gallery-head > span {
  color: var(--green);
  font-size: 11px;
}

.work-gallery-head h2 {
  margin: 8px 0 0;
  font-size: clamp(36px,5vw,66px);
  font-weight: 500;
  line-height: 1;
}

.work-gallery-head p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.8;
}

.work-gallery-stage {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--gallery-ratio);
  overflow: hidden;
  background: #120822;
  touch-action: pan-y;
}

.work-gallery-images {
  width: 100%;
  height: 100%;
}

.work-gallery-images figure {
  width: 100%;
  height: 100%;
  display: none;
  margin: 0;
  overflow: hidden;
  background: #120822;
}

.work-gallery-images figure.is-active {
  display: block;
  animation: gallery-slide-in .45s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes gallery-slide-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: none; }
}

.work-gallery-images img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.work-gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(var(--ink-rgb),.48);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.work-gallery-prev { right: 18px; }
.work-gallery-next { left: 18px; }

.work-gallery-nav span {
  font-size: 24px;
  line-height: 1;
}

.work-gallery-nav:hover,
.work-gallery-nav:focus-visible {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
}

.work-gallery-counter {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(var(--ink-rgb),.48);
  backdrop-filter: blur(10px);
  font-size: 11px;
  transform: translateX(50%);
}

.work-gallery-counter i {
  color: rgba(255,255,255,.45);
  font-style: normal;
}

.work-gallery-close {
  position: sticky;
  z-index: 5;
  top: 18px;
  float: left;
  width: 46px;
  height: 46px;
  margin: 18px 0 -64px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(var(--ink-rgb),.58);
  backdrop-filter: blur(10px);
}

.work-gallery-close::before,
.work-gallery-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--paper);
}

.work-gallery-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.work-gallery-close::after { transform: translate(-50%,-50%) rotate(-45deg); }

body.gallery-modal-open {
  overflow: hidden;
}

@media (max-width:700px) {
  .work-gallery-trigger .work-gallery-mark {
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
  }

  .work-gallery-label {
    right: 14px;
    bottom: 14px;
  }

  .work-gallery-modal {
    padding: 6px;
  }

  .work-gallery-dialog {
    width: min(100%,calc((100dvh - 190px) * var(--gallery-ratio)));
    max-height: calc(100dvh - 12px);
    border-radius: 13px;
  }

  .work-gallery-head {
    min-height: 190px;
    padding: 32px 22px 36px;
  }

  .work-gallery-head p {
    font-size: 13px;
  }

  .work-gallery-stage {
    height: auto;
    min-height: 0;
  }

  .work-gallery-nav {
    width: 42px;
    height: 42px;
  }

  .work-gallery-prev { right: 10px; }
  .work-gallery-next { left: 10px; }

  .work-gallery-close {
    top: 10px;
    width: 40px;
    height: 40px;
    margin: 10px 0 -50px 10px;
  }
}

/* v25 — balanced desktop portfolio rhythm */
@media (min-width:1001px) {
  .project-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: clamp(18px,1.6vw,28px);
  }

  .project,
  .project-large,
  .project-wide {
    grid-column: auto;
    height: auto;
    aspect-ratio: 1.5 / 1;
  }

  .work-card--wide {
    grid-column: auto;
  }

  .work-card-media,
  .work-card--large .work-card-media,
  .work-card--tall .work-card-media,
  .work-card--wide .work-card-media,
  .work-card--identity .work-card-media {
    aspect-ratio: 1.5 / 1;
  }

  .work-card-info {
    flex: 1;
  }
}

/* Production accessibility safeguards. */
.hero-editorial-title {
  margin: 0;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.work-empty[hidden] {
  display: none;
}

/* Selected work: four playable video projects. */
.featured-browse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 0 10px 28px rgba(var(--green-rgb),.28);
  font-size: 12px;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.featured-browse-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.featured-browse:hover {
  border-color: var(--ink);
  color: var(--green);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(var(--green-rgb),.38);
}

.project-video {
  font: inherit;
  cursor: pointer;
}

.project-play {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(var(--ink-rgb),.42);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.project-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--paper);
  transform: translate(-50%,-50%);
}

.project-video:hover .project-play,
.project-video:focus-visible .project-play {
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.07);
}

.project-video:hover .project-play::before,
.project-video:focus-visible .project-play::before {
  border-left-color: var(--ink);
}

@media (max-width: 700px) {
  .project-play {
    top: 16px;
    left: 16px;
    width: 46px;
    height: 46px;
  }
}

/* Bilingual navigation and left-to-right layout. */
.language-switch {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.language-switch:hover {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
}

html[dir="ltr"] .nav,
html[dir="ltr"] .header-actions,
html[dir="ltr"] .statement-stat .stat-label {
  direction: ltr;
}

html[dir="ltr"] .hero-editorial-copy,
html[dir="ltr"] .work-filter-toggle,
html[dir="ltr"] .work-filter-menu button,
html[dir="ltr"] .contact-with-form .contact-details,
html[dir="ltr"] .contact-with-form .contact-details small,
html[dir="ltr"] .contact-with-form .contact-details p {
  text-align: left;
}

html[dir="ltr"] .contact-with-form .contact-details {
  direction: ltr;
}

html[dir="ltr"] .contact-with-form .contact-details p.contact-phone,
html[dir="ltr"] .contact-form input[type="email"],
html[dir="ltr"] .contact-form input[type="tel"] {
  text-align: left !important;
}

html[dir="ltr"] .work-filter-menu button:hover,
html[dir="ltr"] .work-filter-menu button[aria-selected="true"] {
  padding-right: 18px;
  padding-left: 25px;
}

html[dir="ltr"] .impact-journey {
  padding-right: 0;
  padding-left: 52px;
}

html[dir="ltr"] .process-rail {
  right: auto;
  left: 13px;
}

html[dir="ltr"] .work-gallery-prev {
  right: auto;
  left: 18px;
}

html[dir="ltr"] .work-gallery-next {
  right: 18px;
  left: auto;
}

@media (max-width: 700px) {
  .language-switch {
    min-width: 38px;
    height: 38px;
    padding: 0 9px;
  }

  html[dir="ltr"] .impact-journey {
    padding-left: 34px;
  }

  html[dir="ltr"] .process-rail {
    left: 8px;
  }

  html[dir="ltr"] .work-gallery-prev {
    left: 10px;
  }

  html[dir="ltr"] .work-gallery-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .work-card.is-entering,
  .work-gallery-images figure.is-active {
    opacity: 1;
    animation: none !important;
    transform: none;
    transition: none;
  }
}

/* English copy is naturally wider, so its type scale is slightly more compact. */
html[dir="ltr"] body {
  font-size: 15px;
}

html[dir="ltr"] .nav {
  font-size: 13px;
}

html[dir="ltr"] .hero-editorial-title {
  right: auto;
  left: clamp(24px, 4vw, 72px);
  font-size: clamp(30px, 3.2vw, 50px);
  text-align: left;
}

html[dir="ltr"] .hero-editorial-logo {
  right: clamp(24px, 4vw, 72px);
  left: auto;
}

html[dir="ltr"] .hero-language-switch {
  right: calc(clamp(24px, 4vw, 72px) + clamp(128px, 10.5vw, 190px) + 14px);
  left: auto;
}

html[dir="ltr"] .hero-editorial-copy {
  right: clamp(90px, 14vw, 250px);
  left: auto;
  text-align: left;
}

html[dir="ltr"] .statement-copy h2,
html[dir="ltr"] .section-heading h2,
html[dir="ltr"] .impact-copy h2,
html[dir="ltr"] .contact h2 {
  font-size: clamp(34px, 3.8vw, 58px);
}

html[dir="ltr"] .service-content h3 {
  font-size: clamp(25px, 2.65vw, 40px);
}

html[dir="ltr"] .project h3 {
  font-size: 26px;
}

html[dir="ltr"] .about-page-copy h1,
html[dir="ltr"] .work-page-hero-copy h1 {
  font-size: clamp(38px, 4.35vw, 66px);
}

html[dir="ltr"] .about-overview-main h2,
html[dir="ltr"] .about-values-head h2,
html[dir="ltr"] .about-method-copy h2 {
  font-size: clamp(34px, 3.8vw, 56px);
}

html[dir="ltr"] .work-card-info h3 {
  font-size: clamp(20px, 1.75vw, 28px);
}

html[dir="ltr"] .contact.contact-with-form .contact-copy h2 {
  font-size: clamp(32px, 3.55vw, 56px);
}

@media (max-width: 700px) {
  html[dir="ltr"] .hero-editorial-title {
    right: auto;
    left: 20px;
    font-size: clamp(28px, 7.8vw, 38px);
  }

  html[dir="ltr"] .hero-editorial-logo {
    right: 20px;
    left: auto;
  }

  .hero-language-switch {
    top: 30px;
    left: 142px;
    min-width: 40px;
    height: 40px;
  }

  html[dir="ltr"] .hero-language-switch {
    right: 142px;
    left: auto;
  }

  html[dir="ltr"] .hero-editorial-copy {
    right: 20px;
    left: 20px;
    width: auto;
  }

  html[dir="ltr"] .about-page-copy h1,
  html[dir="ltr"] .work-page-hero-copy h1 {
    font-size: clamp(31px, 8.6vw, 42px);
  }

  html[dir="ltr"] .statement-copy h2,
  html[dir="ltr"] .section-heading h2,
  html[dir="ltr"] .impact-copy h2,
  html[dir="ltr"] .contact h2 {
    font-size: clamp(29px, 8vw, 36px);
  }
}
