/*
 * GAVA design system: the complete original stylesheet (src/index.css).
 *
 * The file is deliberately kept as ONE ordered cascade. It is written in
 * successive passes (base -> primitives -> editorial portfolio -> motion
 * language -> hero architecture -> inner pages -> 390px mobile composition),
 * and later passes intentionally re-declare earlier selectors. Splitting it by
 * component or reordering rules would change the rendered result.
 *
 * Values are in the form the original production build shipped (Lightning CSS
 * via Tailwind: -webkit- prefixes, colours as #rrggbbaa). The font @import moved
 * to a <link>; tokens.css and reset.css replace the tokens/Tailwind imports.
 * Originally generated by tools/migrate/generate.mjs. Since Phase 2 (content
 * cleanup, simplification and performance) it is maintained by hand and no
 * longer matches the React original 1:1; the Phase 2 pass is at the end of the
 * file and changes made in place carry a "Phase 2" or performance comment.
 */
:root {
  color: var(--cloud);
  background: var(--obsidian);
  font-family: var(--font-interface);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background: radial-gradient(circle at 75% 8%, #3382ff14, transparent 28%), var(--obsidian);
  cursor: default;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

a, button {
  color: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: .3rem;
}

.project-form input:focus-visible, .project-form select:focus-visible, .project-form textarea:focus-visible {
  outline: 0;
}

::selection {
  color: var(--obsidian);
  background: var(--cyan);
}

.noise {
  z-index: 100;
  pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

.nav-shell {
  z-index: 20;
  width: 100%;
  height: 7.5rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  display: grid;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
}

.brand {
  width: 9.25rem;
  display: block;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  gap: 2.4rem;
  display: flex;
}

.nav-links a, .nav-cta, .eyebrow, .process-step span, .footer-bottom, .footer-top > a {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 500;
  line-height: 1;
}

.nav-links a {
  color: #f5f7faa8;
  padding: 1rem 0;
  transition: color .25s;
  position: relative;
}

.nav-links a:after {
  content: "";
  background: var(--cyan);
  height: 1px;
  transition: inset-inline-end .3s;
  position: absolute;
  bottom: .65rem;
  inset-inline-start: 0;
  inset-inline-end: 100%;
}

.nav-links a:hover {
  color: var(--cloud);
}

.nav-links a:hover:after {
  inset-inline-end: 0;
}

.nav-cta {
  justify-self: end;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.nav-cta svg, .button-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1rem;
}

.menu-toggle {
  display: none;
}

.hero {
  --pointer-x: 0;
  --pointer-y: 0;
  min-height: 100svh;
  padding: 10.5rem var(--pad) 4rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  opacity: .18;
  background-image: linear-gradient(#8896a52e 1px, #0000 1px), linear-gradient(90deg, #8896a52e 1px, #0000 1px);
  background-size: 5rem 5rem;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#0000, #000 25%, #0000 85%);
  mask-image: linear-gradient(#0000, #000 25%, #0000 85%);
}

.hero:before {
  content: "";
  filter: blur(.55rem);
  width: 52rem;
  height: 52rem;
  transform: translate(calc(var(--pointer-x) * -1rem), calc(var(--pointer-y) * -1rem));
  background: radial-gradient(circle, #00e5ff1f, #3382ff0a 34%, #0000 67%);
  border-radius: 50%;
  transition: transform .14s linear;
  position: absolute;
  top: 0;
  inset-inline-end: -10rem;
}

.hero-content {
  z-index: 4;
  width: min(72rem, 83%);
  position: relative;
}

.eyebrow {
  color: var(--muted);
  align-items: center;
  gap: .9rem;
  margin-bottom: 2rem;
  display: flex;
}

.eyebrow span:first-child {
  color: var(--cyan);
}

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

h1, h2, h3 {
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-family: Sora, sans-serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(3.6rem, 7.1vw, 7.4rem);
  line-height: .88;
}

h1 em, h2 em {
  color: #0000;
  -webkit-text-stroke: 1px #f5f7fa80;
  font-style: normal;
}

.hero-bottom {
  align-items: flex-end;
  gap: 3rem;
  margin-top: 3rem;
  margin-inline-start: 27%;
  display: flex;
}

.hero-bottom p, .section-heading p, .reception-head p, .final-action p {
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(.92rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 1.4rem;
  display: flex;
}

.button-link {
  background: var(--cyan);
  min-height: 3.5rem;
  color: var(--obsidian);
  letter-spacing: .12em;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 0 1.25rem;
  font-size: .68rem;
  font-weight: 600;
  transition: background .25s, color .25s, transform .25s;
  display: inline-flex;
}

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

.button-link--secondary {
  color: var(--cloud);
  background: none;
  border-bottom: 1px solid #f5f7fa59;
  padding-inline: 0;
}

.button-link--secondary:hover {
  color: var(--cyan);
  background: none;
}

.system-visual {
  z-index: 2;
  aspect-ratio: 1;
  width: min(60vw, 58rem);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(calc(64deg + var(--pointer-y) * 2deg)) rotateZ(calc(-28deg + var(--pointer-x) * 2deg));
  transition: transform .14s linear;
  position: absolute;
  top: 4%;
  inset-inline-end: -9%;
}

.system-core {
  border-radius: 50%;
  position: absolute;
}

.system-core {
  background: radial-gradient(circle, #121820f0, #080b0f80);
  border: 1px solid #00e5ff52;
  place-items: center;
  display: grid;
  inset: 34%;
  overflow: hidden;
  transform: translateZ(4rem) rotate(28deg) rotateX(-64deg);
  box-shadow: 0 0 5rem #00e5ff24;
}

.system-core img {
  filter: drop-shadow(0 0 1rem #00e5ff59);
  width: 78%;
  transform: translateY(-1%);
}

.section-shell {
  padding: 8rem var(--pad);
  position: relative;
}

.positioning {
  background: radial-gradient(circle at 75% 50%, #3382ff14, transparent 30%), var(--obsidian);
  min-height: 54rem;
}

.positioning-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 8vw;
  margin-top: 7rem;
  display: grid;
}

.positioning h2, .section-heading h2, .reception-head h2, .final-content h2 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: .96;
}

.positioning h2 span {
  color: var(--muted);
  display: block;
}

.positioning h2 span:first-of-type {
  color: var(--cloud);
  margin-top: 1em;
}

.process-flow {
  padding-inline-start: 2rem;
  position: relative;
}

.process-line {
  background: linear-gradient(var(--cyan), var(--blue));
  width: 1px;
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  inset-inline-start: .22rem;
}

.process-line i {
  background: var(--obsidian);
  border: 1px solid var(--cyan);
  width: .55rem;
  height: .55rem;
  position: absolute;
  inset-inline-start: -.25rem;
}

.process-line i:first-child {
  top: 0;
}

.process-line i:nth-child(2) {
  top: 25%;
}

.process-line i:nth-child(3) {
  top: 50%;
}

.process-line i:nth-child(4) {
  top: 75%;
}

.process-line i:nth-child(5) {
  bottom: 0;
}

.process-step {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  min-height: 6.5rem;
  display: grid;
}

.process-step strong {
  text-transform: uppercase;
  font-family: Sora, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 500;
}

.process-step span {
  color: var(--muted);
}

.process-step:hover strong, .process-step:hover span {
  color: var(--cyan);
}

.services {
  background: var(--charcoal);
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin: 6rem 0 7rem;
  display: flex;
}

.section-heading p {
  margin-bottom: .6rem;
}

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

.service-row {
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  grid-template-columns: 5rem 1fr 14rem 3rem;
  align-items: center;
  min-height: 8.5rem;
  display: grid;
  position: relative;
  overflow: hidden;
}

.service-row:before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #00e5ff14, #0000 70%);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  position: absolute;
  inset: 0;
  transform: translate(-102%);
}

.service-row:hover:before {
  transform: translate(0);
}

.service-row h3 {
  font-size: clamp(1.4rem, 3vw, 3rem);
  transition: transform .4s, color .4s;
}

.service-row:hover h3 {
  color: var(--cyan);
  transform: translate(1rem);
}

.service-arrow {
  border: 1px solid var(--line);
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  transition: border-color .3s, background .3s;
  display: grid;
}

.service-arrow svg, .cta-orb svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1rem;
}

.service-row:hover .service-arrow {
  color: var(--obsidian);
  background: var(--cyan);
  border-color: var(--cyan);
}

.reception {
  overflow: hidden;
}

.reception-head {
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 7vw;
  margin: 6rem 0;
  display: grid;
}

.reception-head em {
  -webkit-text-stroke-color: var(--cyan);
}

.reception-head .button-link {
  margin-top: 2rem;
}

.journey {
  contain: layout paint;
  border: 1px solid var(--line);
  background-color: #12182073;
  background-image: linear-gradient(#8896a514 1px, #0000 1px), linear-gradient(90deg, #8896a514 1px, #0000 1px), none;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: repeat, repeat, repeat;
  background-size: 4rem 4rem;
  background-attachment: scroll, scroll, scroll;
  background-origin: padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box;
  height: 38rem;
  position: relative;
  overflow: hidden;
}

.journey-glow {
  background: radial-gradient(circle, #00e5ff26, #3382ff0f 35%, #0000 66%);
  width: 35rem;
  height: 35rem;
  animation: 5s ease-in-out infinite breathe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.journey-core {
  z-index: 3;
  border: 1px solid var(--cyan);
  background: #080b0fe0;
  flex-direction: column;
  justify-content: space-between;
  width: 13rem;
  height: 13rem;
  padding: 1.6rem;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4rem #00e5ff1f;
}

.journey-core > span {
  color: var(--cyan);
  letter-spacing: .2em;
  font-size: .56rem;
}

.journey-core strong {
  text-transform: uppercase;
  font: 500 1.2rem / 1.15 Sora, sans-serif;
}

.journey-lines {
  z-index: 1;
  fill: none;
  stroke: #00e5ff6b;
  stroke-width: 1px;
  width: calc(100% - 6rem);
  height: calc(100% - 6rem);
  position: absolute;
  inset: 3rem;
}

.journey-lines path {
  stroke-dasharray: 5 7;
  animation: 8s linear infinite dataFlow;
}

.journey-nodes {
  position: absolute;
  inset: 0;
}

.journey-node {
  z-index: 3;
  min-width: 8.5rem;
  color: var(--cloud);
  grid-template-columns: 1rem 1fr auto;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  display: grid;
  position: absolute;
}

.journey-node i {
  background: var(--obsidian);
  border: 1px solid var(--cyan);
  width: .55rem;
  height: .55rem;
  box-shadow: 0 0 .8rem #00e5ff99;
}

.journey-node--1 {
  top: 11%;
  inset-inline-start: 5%;
}

.journey-node--2 {
  top: 32%;
  inset-inline-start: 5%;
}

.journey-node--3 {
  top: 53%;
  inset-inline-start: 5%;
}

.journey-node--4 {
  top: 74%;
  inset-inline-start: 5%;
}

.journey-node--5 {
  top: 18%;
  inset-inline-end: 5%;
}

.journey-node--6 {
  top: 47%;
  inset-inline-end: 5%;
}

.journey-node--7 {
  top: 76%;
  inset-inline-end: 5%;
}

.work {
  background: var(--charcoal);
}

.philosophy {
  min-height: 100svh;
  padding: 8rem var(--pad);
  background: radial-gradient(circle at center, #00e5ff1a, transparent 35%), var(--obsidian);
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: relative;
  overflow: hidden;
}

.philosophy-path {
  border: 1px solid #00e5ff33;
  border-radius: 50%;
  width: 110%;
  height: 45%;
  position: absolute;
  top: 50%;
  inset-inline-start: -5%;
  transform: translateY(-50%) rotate(-5deg);
}

.philosophy-path:before, .philosophy-path:after {
  content: "";
  border-radius: inherit;
  border: 1px solid #3382ff29;
  position: absolute;
  inset: 12%;
}

.philosophy-path:after {
  inset: 28%;
}

.philosophy-words {
  z-index: 2;
  padding-block: 7rem 3rem;
  position: relative;
}

.philosophy-words > div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 4rem 1fr 2rem;
  align-items: center;
  min-height: 8rem;
  display: grid;
}

.philosophy-words h2 {
  font-size: clamp(3rem, 8vw, 8rem);
  transition: color .3s, transform .5s;
}

.philosophy-words i {
  border: 1px solid var(--cyan);
  width: .6rem;
  height: .6rem;
}

.philosophy-words > div:hover h2 {
  color: var(--cyan);
  transform: translate(2rem);
}

.final-cta {
  background: var(--charcoal);
  min-height: 58rem;
  overflow: hidden;
}

.final-orbit {
  border: 1px solid #00e5ff2e;
  border-radius: 50%;
  width: 65rem;
  height: 65rem;
  position: absolute;
  bottom: -30rem;
  inset-inline-end: -22rem;
  box-shadow: 0 0 0 6rem #00e5ff05, 0 0 0 12rem #3382ff05;
}

.final-content {
  z-index: 2;
  margin-top: 8rem;
  position: relative;
}

.final-content h2 {
  max-width: 70rem;
}

.final-content em {
  -webkit-text-stroke-color: var(--cyan);
}

.final-action {
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-block: 5rem 0; margin-inline: 45% 5%;
  display: flex;
}

.cta-orb {
  width: 11rem;
  height: 11rem;
  color: var(--obsidian);
  background: var(--cyan);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 50%;
  flex-direction: column;
  flex: 0 0 11rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: .68rem;
  font-weight: 600;
  transition: transform .4s, background .3s;
  display: flex;
}

.cta-orb:hover {
  background: var(--cloud);
  transform: scale(1.06) rotate(-4deg);
}

.footer {
  background: var(--obsidian);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-top {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 11rem;
  display: grid;
}

.brand--compact {
  width: 11rem;
}

.footer-top p {
  max-width: 16rem;
  color: var(--muted);
  text-transform: uppercase;
  font: 500 1.1rem / 1.35 Sora, sans-serif;
}

.footer-top > a {
  justify-self: end;
}

.footer-bottom {
  color: var(--muted);
  justify-content: space-between;
  padding-top: 2rem;
  display: flex;
}

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

@keyframes breathe {
  50% {
    opacity: .7;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes dataFlow {
  to {
    stroke-dashoffset: -96px;
  }
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .menu-toggle {
    border: 1px solid var(--line);
    background: none;
    flex-direction: column;
    justify-content: center;
    justify-self: end;
    gap: .45rem;
    width: 3rem;
    height: 3rem;
    padding: .9rem;
    display: flex;
  }

  .menu-toggle span {
    background: var(--cloud);
    height: 1px;
    transition: transform .3s;
    display: block;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(.23rem) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-.23rem) rotate(-45deg);
  }

  .nav-links.is-open {
    padding: 2rem var(--pad) 3rem;
    border-bottom: 1px solid var(--line);
    background: #080b0ff7;
    flex-direction: column;
    gap: 0;
    display: flex;
    position: absolute;
    top: 7.5rem;
    inset-inline-start: 0;
    inset-inline-end: 0;
  }

  .nav-links.is-open a {
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
    font: 500 1.5rem Sora, sans-serif;
  }

  .system-visual {
    opacity: .65;
    inset-inline-end: -23%;
  }

  .hero-content {
    width: 100%;
  }

  .hero-bottom {
    margin-inline-start: 10%;
  }

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

  .process-flow {
    max-width: 38rem;
    margin-inline-start: auto;
  }

  .service-row {
    grid-template-columns: 4rem 1fr 3rem;
  }

  .final-action {
    margin-inline-start: 25%;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    height: 5.5rem;
  }

  .brand {
    width: 7.5rem;
  }

  .nav-links.is-open {
    top: 5.5rem;
  }

  .hero {
    align-items: flex-start;
    min-height: 54rem;
    padding-top: 8rem;
  }

  .hero-grid {
    background-size: 3rem 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .system-visual {
    opacity: .48;
    width: 42rem;
    top: 26%;
    inset-inline-end: -22rem;
  }

  .system-core {
    transform: translateZ(4rem) rotate(28deg) rotateX(-64deg);
  }

  .hero-bottom {
    margin: 3rem 0 0;
    display: block;
  }

  .hero-bottom p {
    max-width: 22rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    margin-top: 2rem;
  }

  .section-shell, .philosophy {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .positioning {
    min-height: auto;
  }

  .positioning-grid {
    gap: 5rem;
    margin-top: 4rem;
  }

  .positioning h2, .section-heading h2, .reception-head h2, .final-content h2 {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .process-flow {
    margin-inline-start: 0;
  }

  .process-step {
    grid-template-columns: 2rem 1fr;
  }

  .section-heading {
    margin: 4rem 0;
    display: block;
  }

  .section-heading p {
    margin-top: 2rem;
  }

  .service-row {
    grid-template-columns: 2.5rem 1fr 2.6rem;
    min-height: 7rem;
  }

  .service-row h3 {
    max-width: 14rem;
    font-size: 1.3rem;
  }

  .service-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .reception-head {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 4rem 0;
  }

  .journey {
    height: 42rem;
  }

  .journey-lines {
    display: none;
  }

  .journey-core {
    width: 10rem;
    height: 10rem;
    top: 41%;
  }

  .journey-node {
    min-width: 7.5rem;
    font-size: .68rem;
  }

  .journey-node--1 {
    top: 6%;
    inset-inline-start: 7%;
  }

  .journey-node--2 {
    top: 17%;
    inset-inline-start: 54%;
  }

  .journey-node--3 {
    top: 31%;
    inset-inline-start: 4%;
  }

  .journey-node--4 {
    top: 58%;
    inset-inline-start: 57%;
  }

  .journey-node--5 {
    top: 70%;
    inset-inline-start: 6%;
    inset-inline-end: auto;
  }

  .journey-node--6 {
    top: 81%;
    inset-inline-start: 54%;
    inset-inline-end: auto;
  }

  .journey-node--7 {
    top: 91%;
    inset-inline-start: 8%;
    inset-inline-end: auto;
  }

  .philosophy {
    min-height: auto;
  }

  .philosophy-words {
    padding-top: 4rem;
  }

  .philosophy-words > div {
    grid-template-columns: 2rem 1fr 1rem;
    min-height: 6.5rem;
  }

  .philosophy-words h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .final-cta {
    min-height: 50rem;
  }

  .final-content {
    margin-top: 4rem;
  }

  .final-action {
    flex-direction: column;
    align-items: flex-start;
    margin: 4rem 0 0;
  }

  .cta-orb {
    flex-basis: 9rem;
    align-self: flex-end;
    width: 9rem;
    height: 9rem;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding-block: 2rem;
  }

  .footer-top p {
    display: none;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* GAVA reusable primitives */

.gava-tag {
  letter-spacing: .16em;
  text-transform: uppercase;
  align-items: center;
  font-size: .58rem;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
}

.gava-tag {
  min-height: 1.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding-inline: .7rem;
}

.button-link {
  position: relative;
  overflow: hidden;
}

.button-link:after {
  content: "";
  height: 1px;
  transition: inset-inline-end var(--duration-medium) var(--ease-system);
  background: currentColor;
  position: absolute;
  bottom: .65rem;
  inset-inline-start: 1.25rem;
  inset-inline-end: 100%;
}

.button-link:hover {
  box-shadow: 0 0 1.6rem #00e5ff1f;
}

.button-link:hover:after {
  inset-inline-end: 1.25rem;
}

.button-link--secondary:after {
  bottom: -1px;
  inset-inline-start: 0;
}

.button-link--secondary:hover:after {
  inset-inline-end: 0;
}

/* Selected work / editorial portfolio */

.work {
  background: radial-gradient(circle at 80% 12%, #3382ff12, transparent 23%), var(--charcoal);
  padding-bottom: 12rem;
}

.work-heading {
  gap: var(--grid-gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  min-height: 32rem;
  padding-block: 6rem 5rem;
  display: grid;
}

.work-heading h2 {
  grid-column: 1 / 9;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .83;
}

.work-heading p {
  color: var(--muted);
  font: 400 clamp(1rem, 1.5vw, 1.35rem)/1.55 var(--font-brand);
  text-transform: none;
  grid-column: 10 / 13;
  padding-bottom: .7rem;
}

.work-editorial {
  flex-direction: column;
  gap: 12rem;
  display: flex;
}

.project-editorial {
  --cursor-x: 50%;
  --cursor-y: 50%;
  --path-length: 0px;
  --path-angle: 0deg;
  position: relative;
}

.project-canvas {
  isolation: isolate;
  contain: layout paint;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #121820db, #080b0ffa);
  min-height: 47rem;
  position: relative;
  overflow: hidden;
}

.project-canvas:before {
  content: "";
  z-index: -1;
  transition: transform 1.1s var(--ease-system), opacity .6s ease;
  background-color: #0000;
  background-image: linear-gradient(#8896a512 1px, #0000 1px), linear-gradient(90deg, #8896a512 1px, #0000 1px);
  background-position: 0 0, 0 0;
  background-repeat: repeat, repeat;
  background-size: 4rem 4rem;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle, #000, #0000 82%);
  mask-image: radial-gradient(circle, #000, #0000 82%);
}

.project-canvas:after {
  content: "";
  z-index: -1;
  opacity: .65;
  transition: transform 1.2s var(--ease-system), opacity .7s ease;
  background: radial-gradient(circle at 72% 45%, #00e5ff1a, #0000 33%);
  position: absolute;
  inset: 0;
  transform: scale(1);
}

.project-editorial:hover .project-canvas:before {
  opacity: .8;
  transform: scale(1.03);
}

.project-editorial:hover .project-canvas:after {
  opacity: 1;
  transform: scale(1.12) translate(-2%);
}

.message-line--short {
  width: 54%;
  margin-top: .6rem;
}

.project-editorial__meta {
  border-bottom: 1px solid var(--line);
  grid-template-columns: .75fr 1fr auto;
  align-items: start;
  gap: 3rem;
  min-height: 13rem;
  padding: 2rem 0;
  display: grid;
}

.project-editorial__meta h3 {
  transition: color .4s ease, transform .6s var(--ease-system);
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: .95;
}

.project-editorial:hover .project-editorial__meta h3 {
  color: var(--cyan);
  transform: translate(.75rem);
}

.project-editorial__meta > a {
  border: 1px solid var(--line);
  width: 3.5rem;
  height: 3.5rem;
  transition: color .3s ease, border-color .3s ease, transform .4s var(--ease-system);
  place-items: center;
  display: grid;
}

.project-editorial__meta > a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translate(.15rem, -.15rem);
}

.project-editorial__meta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1rem;
}

.project-hover-label {
  z-index: 9;
  left: var(--cursor-x);
  top: var(--cursor-y);
  color: var(--obsidian);
  background: var(--cyan);
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  padding: .55rem .7rem;
  font-size: .5rem;
  font-weight: 600;
  transition: opacity .18s;
  position: absolute;
  transform: translate(.8rem, .8rem);
}

.project-editorial:hover .project-hover-label {
  opacity: 1;
}

.project-cursor-node {
  z-index: 8;
  left: var(--cursor-x);
  top: var(--cursor-y);
  border: 1px solid var(--cyan);
  background: var(--obsidian);
  width: .42rem;
  height: .42rem;
  box-shadow: 0 0 .7rem var(--cyan);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
}

.project-cursor-path {
  z-index: 7;
  width: var(--path-length);
  opacity: 0;
  pointer-events: none;
  transform-origin: 0;
  height: 1px;
  transform: rotate(var(--path-angle));
  background: linear-gradient(90deg, #0000, #00e5ffa6);
  position: absolute;
  top: 50%;
  left: 50%;
}

.project-editorial:hover .project-cursor-node, .project-editorial:hover .project-cursor-path {
  opacity: 1;
}

/* Project-specific connected system compositions */

.project-editorial--system {
  width: 88%;
}

.project-editorial--system:nth-child(odd) {
  margin-inline-start: auto;
}

.project-editorial--system .project-canvas {
  min-height: 37rem;
}

.project-editorial__info p {
  max-width: 22rem;
  color: var(--muted);
  margin-top: 1.2rem;
  font-size: .78rem;
  line-height: 1.6;
}

/* Motion language */

.motion-ready .nav-shell .brand {
  animation: brandLoad .8s var(--ease-reveal) both;
}

.motion-ready .hero h1 > span {
  opacity: 0;
  filter: blur(.45rem);
  animation: headlineLineIn 1s var(--ease-reveal) forwards;
  display: block;
  transform: translateY(1.4em);
}

.motion-ready .hero h1 > span:first-child {
  animation-delay: .14s;
}

.motion-ready .hero h1 > span:nth-child(2) {
  animation-delay: .24s;
}

.motion-ready .hero h1 > span:nth-child(3) {
  animation-delay: .34s;
}

.motion-ready .hero .eyebrow, .motion-ready .hero-bottom {
  animation: supportLoad .9s var(--ease-reveal) both;
  animation-delay: .48s;
}

.motion-ready .hero .system-stage {
  animation: architectureReveal 1.5s var(--ease-reveal) both;
}

.motion-ready .hero .route-structure path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1px;
  animation: routeDraw 1.8s var(--ease-reveal) forwards;
}

.motion-ready .hero .route-structure path:nth-child(2) {
  animation-delay: .18s;
}

.motion-ready .hero .route-structure path:nth-child(3) {
  animation-delay: .3s;
}

.motion-ready .hero .route-structure path:nth-child(4) {
  animation-delay: .42s;
}

.motion-ready [data-reveal-state="pending"] {
  opacity: .001;
  transform: translateY(1.6rem);
}

[data-reveal-state="visible"] {
  opacity: 1;
  transition: opacity .46s var(--ease-reveal), transform .56s var(--ease-reveal);
  transition-delay: calc(var(--reveal-order, 0) * 28ms);
  transform: translate(0) scale(1);
}

body.page-entering main {
  animation: pageCinematicIn .26s var(--ease-reveal) both;
}

.nav-links a:after {
  transition: inset-inline-end var(--duration-medium) var(--ease-system), background .3s ease;
}

.nav-links a.active {
  color: var(--cloud);
}

.nav-links a.active:after {
  background: var(--cyan);
  inset-inline-end: 0;
}

@keyframes brandLoad {
  0% {
    opacity: 0;
    transform: translateY(.7rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineLineIn {
  to {
    opacity: 1;
    filter: none;
    transform: translateY(0);
  }
}

@keyframes supportLoad {
  0% {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes architectureReveal {
  0% {
    opacity: 0;
    filter: blur(.35rem);
    translate: 4rem 2rem;
    scale: .9;
  }

  to {
    opacity: 1;
    filter: none;
    translate: 0;
    scale: 1;
  }
}

@keyframes routeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes projectDataFlow {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pageCinematicIn {
  0% {
    opacity: .82;
    transform: translateY(.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .work-heading h2 {
    grid-column: 1 / 10;
  }

  .work-heading p {
    grid-column: 10 / 13;
  }

  .project-canvas {
    min-height: 42rem;
  }
}

@media (max-width: 720px) {
  .work {
    padding-bottom: 7rem;
  }

  .work-heading {
    min-height: 25rem;
    padding-block: 4rem;
    display: block;
  }

  .work-heading h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .work-heading p {
    margin-top: 2.5rem;
  }

  .work-editorial {
    gap: 7rem;
  }

  .project-canvas {
    min-height: 36rem;
  }

  .project-editorial__meta {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    min-height: 15rem;
  }

  .project-editorial__meta h3 {
    grid-area: 2 / 1 / auto / 3;
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .project-editorial__meta > a {
    grid-area: 1 / 2;
  }

  .project-hover-label, .project-cursor-node, .project-cursor-path {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-state="pending"], [data-reveal-state="visible"] {
    opacity: 1;
    filter: none;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Hero architecture */

.hero {
  --scroll-depth: 0;
}

/* Performance: the entrance animation used to leave `filter: blur(0)` applied
 * forever, which flattened the 3D context and forced every child animation
 * (route flow, particles) through the main-thread filter pipeline. The visual
 * was designed and approved in that flattened form, so it is now declared
 * explicitly (`transform-style: flat`) and the filter ends at `none`: same
 * rendering, but the particles and shell rotation run on the compositor. */
.system-visual {
  width: min(66vw, 64rem);
  transform-style: flat;
  transform: perspective(1200px) translate3d(calc(var(--pointer-x) * -.9rem), calc(var(--pointer-y) * -.7rem + var(--scroll-depth) * 5rem), calc(var(--scroll-depth) * -8rem)) rotateX(calc(61deg + var(--pointer-y) * 2.2deg)) rotateZ(calc(-25deg + var(--pointer-x) * 2deg));
  /* Phase 2: 5% further right so the core no longer sits behind the headline. */
  top: -5%;
  inset-inline-end: -12%;
}

/* .system-stage wraps the visual and owns the entrance animation (it used to
 * live on .system-visual), so the visual's own translate/scale are free for
 * the scroll depth below. Same box as the hero, so the visual's percentage
 * offsets are unchanged. */
.system-stage {
  z-index: 2;
  pointer-events: none;
  transform-origin: 74% 45%;
  position: absolute;
  inset: 0;
}

/* Scroll depth: the visual sinks and recedes over the first 900px of scroll.
 * Where scroll-driven animations exist this runs on the compositor, with no
 * per-frame JavaScript or style recalculation (the scroll handler that wrote
 * --scroll-depth forced a style recalculation on every frame). hero.js keeps the
 * --scroll-depth path only for browsers without animation-timeline. */
@supports (animation-timeline: scroll()) {
  .system-visual {
    --depth-y: 4.5rem;
    --depth-scale: .904;
    animation: heroDepth linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 900px;
  }

  @keyframes heroDepth {
    to {
      translate: 0 var(--depth-y);
      scale: var(--depth-scale);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .system-visual {
      animation: none;
    }
  }
}

.architecture-haze {
  filter: blur(1.6rem);
  background: radial-gradient(circle at 48% 43%, #00e5ff33, #0000 18%), radial-gradient(circle at 55% 52%, #3382ff24, #0000 42%);
  border-radius: 50%;
  position: absolute;
  inset: 7%;
}

/* No backdrop-filter: a 2px blur of the faint hero grid was imperceptible, but
 * it re-rendered the backdrop of three large shells on every frame. */
.architecture-shell {
  background: linear-gradient(145deg, #f5f7fa09, #080b0f47), radial-gradient(circle at 34% 25%, #00e5ff0f, #0000 35%);
  border: 1px solid #8896a533;
  border-radius: 50%;
  position: absolute;
  box-shadow: inset 0 0 5rem #00e5ff06, 0 2rem 5rem #00000080;
}

.shell-a {
  inset: 1%;
}

.shell-b {
  border-color: #00e5ff29;
  animation: 30s linear infinite shellRotate;
  inset: 12%;
}

.shell-c {
  border-color: #3382ff33;
  inset: 25%;
  box-shadow: inset 0 0 4rem #3382ff14;
}

.architecture-routes {
  z-index: 3;
  width: 90%;
  height: 90%;
  position: absolute;
  inset: 5%;
  overflow: visible;
  will-change: transform;
}

.shell-b {
  will-change: transform;
}

.route-structure {
  fill: none;
  stroke: url("#route-gradient");
  stroke-width: 2.2px;
  opacity: .5;
}

.route-energy {
  fill: none;
  stroke: var(--cloud);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-dasharray: 2 98;
}

.route-energy path {
  animation: 8s linear infinite architectureFlow;
}

.route-energy path:nth-child(2) {
  animation-duration: 10s;
  animation-delay: -3s;
}

.route-energy path:nth-child(3) {
  animation-duration: 7s;
  animation-delay: -5s;
}

.route-nodes {
  fill: var(--obsidian);
  stroke: var(--cyan);
  stroke-width: 2px;
}

.hero[data-motion-state="idle"] .system-stage, .hero[data-motion-state="idle"] .route-energy path, .hero[data-motion-state="idle"] .particle-field i, .reception[data-motion-state="idle"] .journey-glow, .reception[data-motion-state="idle"] .journey-lines path, .service-architecture[data-motion-state="idle"] .service-diagram, .inner-hero[data-motion-state="idle"] .page-architecture__energy path, .contact-shell[data-motion-state="idle"] .page-architecture__energy path, .page-cta[data-motion-state="idle"] .page-architecture__energy path, body.is-scrolling .route-energy path, body.is-scrolling .journey-lines path, body.is-scrolling .particle-field i, body.is-scrolling .page-architecture__energy path {
  animation-play-state: paused;
}

.architecture-spine {
  z-index: 2;
  background: linear-gradient(90deg, #0000, #00e5ff52, #0000);
  width: 70%;
  height: 1px;
  position: absolute;
  top: 50%;
  inset-inline-start: 15%;
  transform: rotate(38deg) translateZ(4rem);
}

.spine-b {
  opacity: .5;
  transform: rotate(-49deg) translateZ(-2rem);
}

.system-core {
  z-index: 5;
  background: linear-gradient(145deg, #121820f5, #080b0fb8);
  border: 1px solid #00e5ff7a;
  border-radius: 1.2rem;
  inset: 39%;
  overflow: visible;
  transform: translateZ(5rem) rotate(25deg) rotateX(-61deg);
  box-shadow: inset 0 0 2rem #3382ff21, 0 0 3.5rem #00e5ff26, 0 1.5rem 3rem #00000080;
}

.system-core:before, .system-core:after {
  content: "";
  border: 1px solid #00e5ff24;
  border-radius: 1.5rem;
  position: absolute;
  inset: -14%;
}

.system-core:after {
  border-color: #3382ff1a;
  inset: -28%;
}

.system-core span {
  color: #0000;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 1.5rem #00e5ff73;
  font: 600 clamp(2rem, 5vw, 5rem) Sora, sans-serif;
}

.particle-field {
  z-index: 6;
  border-radius: 50%;
  position: absolute;
  inset: 4%;
}

.particle-field i {
  background: var(--cloud);
  width: 2px;
  height: 2px;
  box-shadow: 0 0 .45rem var(--cyan);
  opacity: .5;
  border-radius: 50%;
  animation: 7s ease-in-out infinite particleDrift;
  position: absolute;
}

.particle-field i:first-child {
  top: 31%;
  inset-inline-start: 12%;
}

.particle-field i:nth-child(2) {
  animation-delay: -1s;
  top: 62%;
  inset-inline-start: 20%;
}

.particle-field i:nth-child(3) {
  animation-delay: -4s;
  top: 11%;
  inset-inline-start: 31%;
}

.particle-field i:nth-child(4) {
  animation-delay: -2s;
  top: 72%;
  inset-inline-start: 42%;
}

.particle-field i:nth-child(5) {
  animation-delay: -6s;
  top: 18%;
  inset-inline-start: 53%;
}

.particle-field i:nth-child(6) {
  animation-delay: -3s;
  top: 78%;
  inset-inline-start: 66%;
}

.particle-field i:nth-child(7) {
  animation-delay: -5s;
  top: 29%;
  inset-inline-start: 76%;
}

.particle-field i:nth-child(8) {
  animation-delay: -1.5s;
  top: 55%;
  inset-inline-start: 86%;
}

.particle-field i:nth-child(9) {
  animation-delay: -2.5s;
  top: 84%;
  inset-inline-start: 14%;
}

.particle-field i:nth-child(10) {
  animation-delay: -4.5s;
  top: 18%;
  inset-inline-start: 91%;
}

.particle-field i:nth-child(11) {
  animation-delay: -6.5s;
  top: 43%;
  inset-inline-start: 33%;
}

.particle-field i:nth-child(12) {
  animation-delay: -3.5s;
  top: 52%;
  inset-inline-start: 59%;
}

.particle-field i:nth-child(13) {
  animation-delay: -1.2s;
  top: 8%;
  inset-inline-start: 71%;
}

.particle-field i:nth-child(14) {
  animation-delay: -5.3s;
  top: 51%;
  inset-inline-start: 7%;
}

.particle-field i:nth-child(15) {
  animation-delay: -2.2s;
  top: 92%;
  inset-inline-start: 48%;
}

.particle-field i:nth-child(16) {
  animation-delay: -4.2s;
  top: 87%;
  inset-inline-start: 82%;
}

.particle-field i:nth-child(17) {
  animation-delay: -.7s;
  top: 87%;
  inset-inline-start: 27%;
}

.particle-field i:nth-child(18) {
  animation-delay: -5.8s;
  top: 69%;
  inset-inline-start: 93%;
}

/* Inner page system */

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

.inner-page .nav-shell {
  position: absolute;
}

.inner-hero {
  min-height: 100svh;
  padding: 10rem var(--pad) 5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.inner-hero:before {
  content: "";
  filter: blur(1rem);
  background: radial-gradient(circle, #00e5ff1a, #3382ff09 40%, #0000 70%);
  border-radius: 50%;
  width: 58rem;
  height: 58rem;
  position: absolute;
  top: 2rem;
  inset-inline-end: -12rem;
}

.inner-hero__grid {
  opacity: .15;
  background-image: linear-gradient(#8896a52b 1px, #0000 1px), linear-gradient(90deg, #8896a52b 1px, #0000 1px);
  background-size: 5rem 5rem;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#0000, #000 25%, #0000 90%);
  mask-image: linear-gradient(#0000, #000 25%, #0000 90%);
}

.inner-hero__content {
  z-index: 4;
  width: min(70rem, 80%);
  position: relative;
}

.inner-hero h1 {
  font-size: clamp(3.6rem, 7.5vw, 7.8rem);
}

.inner-hero h1 em {
  margin-top: .3em;
  display: block;
}

.inner-hero__content > p {
  max-width: 31rem;
  color: var(--muted);
  margin-top: 2.5rem;
  margin-inline-start: 30%;
  font-size: 1rem;
  line-height: 1.7;
}

.page-architecture {
  z-index: 2;
  aspect-ratio: 1;
  width: min(55vw, 50rem);
  position: absolute;
  top: 12%;
  inset-inline-end: -8%;
  transform: perspective(1000px) rotateX(64deg) rotate(-24deg);
}

.page-architecture svg {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4px;
  opacity: .48;
  filter: drop-shadow(0 0 .35rem #00e5ff99);
  width: 84%;
  height: 84%;
  position: absolute;
  inset: 8%;
  will-change: transform;
}

.page-architecture__energy {
  stroke: var(--cloud);
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-dasharray: 2 98;
}

.page-architecture__energy path {
  animation: 8s linear infinite architectureFlow;
}

.page-architecture__ring {
  background: radial-gradient(circle, #3382ff0f, #0000 60%);
  border: 1px solid #00e5ff29;
  border-radius: 50%;
  position: absolute;
}

.ring-one {
  inset: 0;
}

.ring-two {
  border-color: #8896a529;
  inset: 14%;
}

.ring-three {
  border-color: #3382ff3d;
  inset: 29%;
}

.page-node {
  background: var(--obsidian);
  border: 1px solid var(--cyan);
  width: .55rem;
  height: .55rem;
  box-shadow: 0 0 .8rem var(--cyan);
  position: absolute;
}

.page-node--a {
  top: 18%;
  inset-inline-end: 22%;
}

.page-node--b {
  bottom: 19%;
  inset-inline-end: 18%;
}

.page-node--c {
  top: 50%;
  inset-inline-start: 11%;
}

.manifesto-intro {
  flex-direction: column;
  min-height: 46rem;
  display: flex;
}

.manifesto-intro__grid {
  flex: 1;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: 7vw;
  display: grid;
}

.manifesto-intro__grid > div {
  max-width: 50rem;
}

.manifesto-intro__grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.manifesto-intro__grid .manifesto-lead {
  color: var(--cloud);
  letter-spacing: -.04em;
  margin-bottom: 2rem;
  font: 400 clamp(1.8rem, 3.3vw, 3.5rem) / 1.25 Sora, sans-serif;
}

.principles {
  background: var(--charcoal);
}

.principles > h2, .thinking-head h2, .page-cta h2 {
  margin-top: 6rem;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: .95;
}

.principle-system {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 7rem;
  display: grid;
  position: relative;
}

.principle {
  border-inline-end: 1px solid var(--line);
  flex-direction: column;
  min-height: 28rem;
  padding: 2rem;
  display: flex;
  position: relative;
}

.principle:last-of-type {
  border-inline-end: 0;
}

.principle > span {
  color: var(--cyan);
  letter-spacing: .18em;
  font-size: .62rem;
}

.principle > i {
  background: var(--obsidian);
  border: 1px solid var(--cyan);
  width: .6rem;
  height: .6rem;
  margin: 5rem 0 2.5rem;
  box-shadow: 0 0 1rem #00e5ffa6;
}

.principle h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
}

.principle p {
  max-width: 19rem;
  color: var(--muted);
  margin-top: auto;
  font-size: .92rem;
  line-height: 1.7;
}

.principle-rail {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: .5;
  height: 1px;
  position: absolute;
  top: 7.25rem;
  inset-inline-start: 2rem;
  inset-inline-end: 2rem;
}

.thinking {
  overflow: hidden;
}

.thinking-head {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 7rem;
  display: flex;
}

.thinking-head p {
  max-width: 22rem;
  color: var(--muted);
  line-height: 1.7;
}

.thinking-list {
  border-top: 1px solid var(--line);
  position: relative;
}

.thinking-list article {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 5rem .9fr 1fr 1rem;
  align-items: center;
  gap: 3rem;
  min-height: 9rem;
  transition: padding .4s, background .4s;
  display: grid;
}

.thinking-list article:hover {
  background: linear-gradient(90deg, #00e5ff0e, #0000);
  padding-inline: 1.5rem;
}

.thinking-list span {
  color: var(--cyan);
  letter-spacing: .18em;
  font-size: .62rem;
}

.thinking-list h3 {
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.thinking-list p {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.6;
}

.thinking-list i {
  border: 1px solid var(--cyan);
  width: .55rem;
  height: .55rem;
  position: relative;
}

.page-cta {
  background: var(--charcoal);
  min-height: 54rem;
  overflow: hidden;
}

.page-cta h2 {
  z-index: 3;
  max-width: 70rem;
  position: relative;
}

.page-cta h2 em {
  color: #0000;
  -webkit-text-stroke: 1px var(--cyan);
  font-style: normal;
  display: block;
}

.page-cta .button-link {
  z-index: 4;
  margin-block: 4rem 0; margin-inline: 50% 0;
  position: relative;
}

.page-architecture--compact {
  opacity: .6;
  width: 47rem;
  top: 5rem;
  inset-inline-end: -8rem;
}

/* Services */

.services-hero .inner-hero__content {
  width: min(66rem, 74%);
}

.service-architecture {
  background: var(--charcoal);
  position: relative;
}

.service-spine {
  top: 14rem;
  bottom: 11rem;
  inset-inline-start: calc(var(--pad) + 3.6rem);
  background: linear-gradient(var(--cyan), var(--blue), transparent);
  opacity: .45;
  width: 1px;
  position: absolute;
}

.service-module {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 7rem 1fr .8fr;
  align-items: center;
  gap: 5vw;
  min-height: 33rem;
  display: grid;
  position: relative;
}

.service-module__number {
  color: var(--cyan);
  letter-spacing: .18em;
  align-self: stretch;
  padding-top: 4rem;
  font-size: .65rem;
}

.service-module__number:before {
  content: "";
  background: var(--charcoal);
  border: 1px solid var(--cyan);
  width: .6rem;
  height: .6rem;
  position: absolute;
  top: 4.15rem;
  inset-inline-start: 3.3rem;
  box-shadow: 0 0 .7rem #00e5ffa6;
}

.service-module__copy h2 {
  max-width: 45rem;
  margin: 1.4rem 0 2rem;
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: .95;
  transition: color .4s, transform .5s;
}

.service-module:hover .service-module__copy h2 {
  color: var(--cyan);
  transform: translate(.8rem);
}

.service-module__copy p {
  max-width: 31rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-diagram {
  aspect-ratio: 1;
  background: radial-gradient(circle, #00e5ff14, #0000 60%);
  border: 1px solid #8896a529;
  border-radius: 50%;
  justify-self: end;
  /* Phase 2 fix: without a width the diagram shrank to its (empty) content and
   * rendered as a few pixels on desktop; phones set their own width below.
   * 72%: the tilt projects ~1.37x wider than the box, so this keeps it inside
   * its column. */
  width: 72%;
  max-width: 22rem;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  transform: perspective(600px) rotateX(60deg) rotate(-28deg);
}

.service-module:hover .service-diagram {
  transform: perspective(600px) rotateX(55deg) rotate(-17deg) scale(1.04);
}

.service-diagram span {
  border: 1px solid #00e5ff40;
  border-radius: 50%;
  position: absolute;
}

.service-diagram span:first-child {
  inset: 12%;
}

.service-diagram span:nth-child(2) {
  border-color: #3382ff4d;
  inset: 28%;
}

.service-diagram span:nth-child(3) {
  background: #00e5ff1a;
  inset: 42%;
}

.service-diagram i {
  border: 1px solid var(--cyan);
  background: var(--charcoal);
  width: .55rem;
  height: .55rem;
  position: absolute;
  box-shadow: 0 0 .7rem #00e5ff99;
}

.service-diagram i:first-of-type {
  top: 14%;
  inset-inline-start: 50%;
}

.service-diagram i:nth-of-type(2) {
  top: 48%;
  inset-inline-end: 12%;
}

.service-diagram i:nth-of-type(3) {
  bottom: 12%;
  inset-inline-start: 35%;
}

.service-module--flagship {
  min-height: 48rem;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  background: radial-gradient(circle at 78% 50%, #00e5ff1a, transparent 30%), var(--obsidian);
  grid-template-columns: 7rem .65fr 1.35fr;
}

.service-module--flagship .service-module__copy h2 {
  color: var(--cyan);
}

.reception-architecture {
  place-items: center;
  min-height: 34rem;
  display: grid;
  position: relative;
}

.reception-architecture__core {
  z-index: 2;
  aspect-ratio: 1;
  background: var(--obsidian);
  text-align: center;
  border: 1px solid #00e5ff80;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  width: 10rem;
  padding: 1.2rem;
  display: flex;
  position: relative;
  box-shadow: 0 0 3rem #00e5ff1a;
}

.reception-architecture__core small, .reception-architecture__nodes {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .45rem;
}

.reception-architecture__core small {
  color: var(--muted);
}

.reception-architecture__core strong {
  font: 500 1rem/1.05 var(--font-brand);
  margin-block: .55rem;
}

.reception-architecture__path {
  border: 1px solid #00e5ff2e;
  border-radius: 50%;
  position: absolute;
  inset: 12%;
  transform: rotate(-12deg);
}

.reception-architecture__path:before, .reception-architecture__path:after {
  content: "";
  border-radius: inherit;
  border: 1px solid #3382ff2e;
  position: absolute;
  inset: 12%;
}

.reception-architecture__path:after {
  inset: 28%;
}

.reception-architecture__nodes {
  position: absolute;
  inset: 2%;
}

.reception-architecture__nodes > div {
  min-width: 7.6rem;
  color: var(--muted);
  align-items: center;
  gap: .5rem;
  display: flex;
  position: absolute;
}

.reception-architecture__nodes i {
  border: 1px solid var(--cyan);
  background: var(--obsidian);
  flex: none;
  width: .4rem;
  height: .4rem;
}

.reception-architecture__nodes > div:first-child {
  top: 10%;
  inset-inline-start: 3%;
}

.reception-architecture__nodes > div:nth-child(2) {
  top: 37%;
  inset-inline-start: 0;
}

.reception-architecture__nodes > div:nth-child(3) {
  bottom: 13%;
  inset-inline-start: 8%;
}

.reception-architecture__nodes > div:nth-child(4) {
  top: 1%;
  left: 50%;
  transform: translate(-50%);
}

.reception-architecture__nodes > div:nth-child(5) {
  top: 18%;
  inset-inline-end: 2%;
}

.reception-architecture__nodes > div:nth-child(6) {
  top: 51%;
  inset-inline-end: 0;
}

.reception-architecture__nodes > div:nth-child(7) {
  bottom: 8%;
  inset-inline-end: 8%;
}

.services-page-cta {
  background: radial-gradient(circle at 80% 60%, #00e5ff1a, transparent 28%), var(--obsidian);
  min-height: 48rem;
}

/* Contact */

.contact-shell {
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 8vw;
  min-height: 100svh;
  padding-top: 12rem;
  display: grid;
  overflow: hidden;
}

@media (max-width: 900px) {
  .service-module--flagship {
    grid-template-columns: 5rem .8fr 1.2fr;
  }

  .reception-architecture {
    min-height: 30rem;
  }
}

@media (max-width: 720px) {
  .project-editorial--system {
    width: 100%;
  }

  .project-editorial--system .project-canvas {
    min-height: 30rem;
  }

  .project-editorial__info p {
    margin-top: .8rem;
    font-size: .7rem;
  }

  .service-module--flagship {
    min-height: auto;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    grid-template-columns: 1.7rem 1fr;
  }

  .service-module--flagship .reception-architecture {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 27rem;
    margin-top: 1rem;
  }

  .reception-architecture__core {
    width: 8rem;
  }

  .reception-architecture__nodes > div {
    min-width: 6.1rem;
    font-size: .38rem;
  }
}

.contact-shell > .page-architecture {
  opacity: .36;
  width: 45rem;
  top: 22%;
  inset-inline-start: -22rem;
  inset-inline-end: auto;
}

.contact-intro, .project-form {
  z-index: 3;
  position: relative;
}

.contact-intro h1 {
  font-size: clamp(3.3rem, 6.5vw, 6.7rem);
}

.contact-intro h1 em {
  margin-top: .2em;
  display: block;
}

.contact-intro > p {
  max-width: 30rem;
  color: var(--muted);
  margin-top: 2.5rem;
  line-height: 1.7;
}

.project-form label > span {
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-size: .6rem;
  font-weight: 500;
  display: block;
}

.project-form {
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(1.5rem);
  backdrop-filter: blur(1.5rem);
  background: #121820b8;
  padding: 3rem;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  display: grid;
}

.project-form > label {
  margin-top: 2rem;
  display: block;
}

.project-form input, .project-form select, .project-form textarea {
  width: 100%;
  color: var(--cloud);
  background: none;
  border: 0;
  border-bottom: 1px solid #8896a559;
  border-radius: 0;
  outline: 0;
  padding: .9rem 0;
  font: 400 .92rem Inter, sans-serif;
  transition: border-color .25s;
}

.project-form textarea {
  resize: vertical;
}

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

.project-form option {
  color: var(--cloud);
  background: var(--charcoal);
}

.form-submit {
  width: 100%;
  min-height: 4rem;
  color: var(--obsidian);
  background: var(--cyan);
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 0;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding: 0 1.5rem;
  font-size: .68rem;
  font-weight: 600;
  transition: background .25s;
  display: flex;
}

.form-submit:hover {
  background: var(--cloud);
}

.form-submit svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1.1rem;
}

.form-note {
  color: var(--muted);
  margin-top: 1rem;
  font-size: .72rem;
  line-height: 1.5;
}

@keyframes architectureFlow {
  to {
    stroke-dashoffset: -100px;
  }
}

@keyframes architectureFloat {
  0%, to {
    translate: 0;
  }

  50% {
    translate: 0 -.8rem;
  }
}

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

@keyframes particleDrift {
  0%, to {
    opacity: .22;
    transform: translate(0);
  }

  50% {
    opacity: .85;
    transform: translate3d(.8rem, -1rem, 2rem);
  }
}

@keyframes pageArchitectureFloat {
  0%, to {
    translate: 0;
  }

  50% {
    translate: 0 -1rem;
  }
}

@media (max-width: 1050px) {
  .system-visual {
    opacity: .73;
    inset-inline-end: -19%;
  }

  .inner-hero__content {
    width: 100%;
  }

  .page-architecture {
    opacity: .62;
    inset-inline-end: -20%;
  }

  .service-module {
    grid-template-columns: 5rem 1fr .65fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}

@media (max-width: 720px) {
  .system-visual {
    width: 44rem;
    top: 23%;
    inset-inline-end: -24rem;
  }

  .system-core {
    border-radius: .8rem;
  }

  .inner-hero {
    align-items: flex-start;
    min-height: 48rem;
    padding-top: 8rem;
  }

  .inner-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .inner-hero__content > p {
    margin-inline-start: 0;
  }

  .page-architecture {
    opacity: .42;
    width: 38rem;
    top: 26%;
    inset-inline-end: -22rem;
  }

  .manifesto-intro {
    min-height: auto;
  }

  .manifesto-intro__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
  }

  .principles > h2, .thinking-head h2, .page-cta h2 {
    margin-top: 4rem;
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .principle-system {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .principle {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    min-height: 22rem;
  }

  .principle-rail {
    width: 1px;
    height: auto;
    inset-block: 2rem 2rem; inset-inline: 2rem auto;
  }

  .principle > i {
    margin-top: 4rem;
  }

  .thinking-head {
    margin-bottom: 4rem;
    display: block;
  }

  .thinking-head p {
    margin-top: 2rem;
  }

  .thinking-list article {
    grid-template-columns: 2.5rem 1fr 1rem;
    gap: 1rem;
    min-height: 12rem;
    padding-block: 2rem;
  }

  .thinking-list article p {
    grid-column: 2 / 4;
  }

  .page-cta {
    min-height: 44rem;
  }

  .page-cta .button-link {
    margin-inline-start: 0;
  }

  .service-spine {
    inset-inline-start: calc(var(--pad) + .2rem);
  }

  .service-module {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    min-height: 34rem;
    padding: 4rem 0;
  }

  .service-module__number {
    padding-top: 0;
  }

  .service-module__number:before {
    top: 4.1rem;
    inset-inline-start: -.05rem;
  }

  .service-module__copy h2 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .service-diagram {
    grid-column: 2;
    justify-self: start;
    width: 12rem;
    margin-top: 2rem;
  }

  .contact-shell {
    padding-top: 8rem;
  }

  .contact-intro h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .project-form {
    padding: 1.5rem;
  }

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

/* Purpose-built 390px mobile composition */

@media (max-width: 480px) {
  :root {
    --pad: 1.25rem;
    --grid-gap: .75rem;
  }

  body {
    background: radial-gradient(circle at 75% 3%, #3382ff12, transparent 18rem), var(--obsidian);
  }

  .noise {
    opacity: .02;
  }

  .nav-shell {
    z-index: 80;
    height: 5rem;
    padding-inline: var(--pad);
    border-bottom-color: #8896a524;
    position: absolute;
  }

  .brand {
    z-index: 82;
    width: 6.85rem;
    position: relative;
  }

  .menu-toggle {
    z-index: 82;
    -webkit-backdrop-filter: blur(.7rem);
    backdrop-filter: blur(.7rem);
    background: #080b0fb8;
    border-color: #8896a547;
    gap: .42rem;
    width: 2.9rem;
    height: 2.9rem;
    padding: .85rem;
    position: relative;
  }

  .nav-links.is-open {
    z-index: 81;
    height: 100svh;
    padding: 8.5rem var(--pad) 3rem;
    background: radial-gradient(circle at 90% 10%, #00e5ff17, transparent 15rem), var(--obsidian);
    border: 0;
    justify-content: center;
    gap: 0;
    display: flex;
    position: fixed;
    inset: 0;
  }

  .nav-links.is-open a {
    min-height: 4.6rem;
    font: 500 clamp(2rem, 10vw, 2.7rem)/1 var(--font-brand);
    letter-spacing: -.05em;
    border-bottom-color: #8896a52e;
    align-items: center;
    padding-block: 1.2rem 1rem; padding-inline: 2.5rem 0;
    display: flex;
    position: relative;
  }

  .nav-links.is-open a:after {
    bottom: -1px;
  }

  .section-shell, .philosophy {
    padding: 5.5rem var(--pad);
  }

  .eyebrow {
    gap: .65rem;
    margin-bottom: 1.5rem;
    font-size: .55rem;
  }
}

/* Home hero: message first, system second */

@media (max-width: 480px) {
  .hero {
    min-height: 56rem;
    padding: 7.4rem var(--pad) 2rem;
    border-bottom-color: #8896a524;
    align-items: flex-start;
  }

  .hero:before {
    opacity: .72;
    filter: blur(1.5rem);
    width: 30rem;
    height: 30rem;
    top: 17rem;
    inset-inline-end: -14rem;
  }

  .hero-grid {
    opacity: .1;
    background-size: 4rem 4rem;
    -webkit-mask-image: linear-gradient(#0000, #000 20%, #0000 83%);
    mask-image: linear-gradient(#0000, #000 20%, #0000 83%);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    letter-spacing: -.065em;
    max-width: 22rem;
    font-size: clamp(3.25rem, 14.8vw, 3.75rem);
    line-height: .91;
  }

  .hero h1 > span:nth-child(2) {
    max-width: 21rem;
  }

  .hero-bottom {
    z-index: 8;
    margin-top: 3.1rem;
    position: relative;
  }

  .hero-bottom p {
    max-width: 19rem;
    font-size: .84rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: .8rem;
    margin-top: 1.7rem;
  }

  .button-link {
    min-width: 12.5rem;
    min-height: 3.25rem;
    padding-inline: 1rem;
  }

  .button-link--secondary {
    min-width: auto;
  }

  /* No saturate() filter: the entrance animation's fill used to override it,
   * so it never rendered; it would now only add filter cost. */
  .system-visual {
    --depth-y: 2rem;
    --depth-scale: 1;
    opacity: .58;
    width: 34rem;
    transform: perspective(950px) translate3d(calc(var(--pointer-x) * -.25rem), calc(var(--scroll-depth) * 2rem), 0) rotateX(64deg) rotateZ(-26deg);
    /* Below the CTAs: message first, system second. */
    top: 28rem;
    inset-inline-end: -14.8rem;
  }

  .architecture-shell {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    background: none;
  }

  .architecture-haze {
    filter: blur(2rem);
    opacity: .65;
  }

  .system-core {
    inset: 40%;
    box-shadow: inset 0 0 1rem #3382ff1a, 0 0 2rem #00e5ff1c;
  }

  .architecture-spine, .particle-field i:nth-child(n+7) {
    display: none;
  }

  .particle-field {
    opacity: .55;
  }
}

/* Home positioning */

@media (max-width: 480px) {
  .positioning-grid {
    gap: 4.5rem;
    margin-top: 3.5rem;
  }

  .positioning h2 {
    font-size: clamp(2.8rem, 13.6vw, 3.45rem);
    line-height: .96;
  }

  .positioning h2 span:first-of-type {
    margin-top: .85em;
  }

  .process-flow {
    padding-inline-start: 1.5rem;
  }

  .process-step {
    grid-template-columns: 1.8rem 1fr;
    min-height: 5.3rem;
  }

  .process-step strong {
    letter-spacing: -.025em;
    font-size: .92rem;
  }
}

/* Home services as a deliberate vertical index */

@media (max-width: 480px) {
  .services .section-heading {
    margin: 3.5rem 0 4rem;
  }

  .section-heading h2, .reception-head h2, .final-content h2 {
    font-size: clamp(2.85rem, 13.5vw, 3.45rem);
    line-height: .95;
  }

  .section-heading p {
    max-width: 19rem;
    margin-top: 1.7rem;
    font-size: .84rem;
  }

  .service-row {
    grid-template-columns: 1.9rem 1fr 2.75rem;
    gap: .5rem;
    min-height: 6.8rem;
  }

  .service-row h3 {
    letter-spacing: -.04em;
    max-width: 15rem;
    font-size: clamp(1.05rem, 5.2vw, 1.3rem);
  }

  .service-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Digital reception: one central system, restrained endpoints */

@media (max-width: 480px) {
  .reception-head {
    gap: 2.2rem;
    margin: 3.5rem 0 4rem;
  }

  .reception-head p {
    max-width: 20rem;
    font-size: .84rem;
  }

  .journey {
    background-size: 4rem 4rem;
    height: 39rem;
  }

  .journey-glow {
    opacity: .7;
    width: 25rem;
    height: 25rem;
  }

  .journey-core {
    width: 8.5rem;
    height: 8.5rem;
    padding: 1.1rem;
    top: 43%;
  }

  .journey-core strong {
    font-size: .9rem;
  }

  .journey-node {
    grid-template-columns: .8rem 1fr;
    min-width: 6.8rem;
    font-size: .63rem;
  }

  .journey-node--1 {
    top: 7%;
    inset-inline-start: 6%;
  }

  .journey-node--2 {
    top: 15%;
    inset-inline-start: 57%;
  }

  .journey-node--3 {
    top: 28%;
    inset-inline-start: 4%;
  }

  .journey-node--4 {
    top: 60%;
    inset-inline-start: 52%;
  }

  .journey-node--5 {
    top: 72%;
    inset-inline-start: 6%;
  }

  .journey-node--6 {
    top: 82%;
    inset-inline-start: 57%;
  }

  .journey-node--7 {
    top: 92%;
    inset-inline-start: 7%;
  }
}

/* Work: full-width, image-led editorial sequence */

@media (max-width: 480px) {
  .work {
    padding-bottom: 7rem;
  }

  .work-heading {
    min-height: 23rem;
    padding: 4rem 0;
  }

  /* 18vw: at 20vw "SELECTED" overflowed narrow phones by 1-3px. */
  .work-heading h2 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .work-heading p {
    margin-top: 2.2rem;
    font-size: .95rem;
  }

  .work-editorial {
    gap: 6.5rem;
  }

  .project-canvas {
    min-height: 32rem;
  }

  .project-canvas:before {
    background-size: 3rem 3rem;
  }

  .project-editorial__meta {
    min-height: 13rem;
    padding: 1.5rem 0;
  }

  .project-editorial__meta h3 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .gava-tag {
    max-width: 13rem;
    min-height: 1.65rem;
    font-size: .48rem;
  }

  .project-editorial__meta > a {
    width: 3rem;
    height: 3rem;
  }
}

/* Philosophy and final CTA */

@media (max-width: 480px) {
  .philosophy {
    padding-block: 5.5rem;
  }

  .philosophy-path {
    opacity: .58;
    width: 170%;
    inset-inline-start: -35%;
  }

  .philosophy-words {
    padding-block: 3.5rem 0;
  }

  .philosophy-words > div {
    grid-template-columns: 1.7rem 1fr .8rem;
    min-height: 5.8rem;
  }

  .philosophy-words h2 {
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .final-cta {
    min-height: 46rem;
  }

  .final-content {
    margin-top: 4rem;
  }

  .final-action {
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .final-action p {
    font-size: .84rem;
  }

  .cta-orb {
    flex-basis: 8.5rem;
    align-self: flex-start;
    width: 8.5rem;
    height: 8.5rem;
  }

  .final-orbit {
    opacity: .58;
    width: 40rem;
    height: 40rem;
    bottom: -16rem;
    inset-inline-end: -26rem;
  }
}

/* About and Services page heroes: vertical manifesto, not reduced desktop */

@media (max-width: 480px) {
  .inner-hero {
    min-height: 45rem;
    padding: 7.4rem var(--pad) 3rem;
  }

  .inner-hero:before {
    width: 30rem;
    height: 30rem;
    top: 16rem;
    inset-inline-end: -18rem;
  }

  .inner-hero__grid {
    opacity: .09;
    background-size: 4rem 4rem;
  }

  .inner-hero h1 {
    letter-spacing: -.065em;
    max-width: 22rem;
    font-size: clamp(3.05rem, 14.5vw, 3.65rem);
    line-height: .92;
  }

  .inner-hero h1 em {
    margin-top: .4em;
  }

  .inner-hero__content > p {
    max-width: 19rem;
    margin-top: 2.4rem;
    font-size: .84rem;
    line-height: 1.65;
  }

  .page-architecture {
    opacity: .45;
    filter: none;
    width: 30rem;
    top: 22rem;
    inset-inline-end: -17rem;
  }

  .page-architecture__ring {
    background: none;
  }

  .page-node--c {
    display: none;
  }

  .manifesto-intro__grid {
    gap: 2.3rem;
    margin-top: 3.5rem;
  }

  .manifesto-intro__grid .manifesto-lead {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.28;
  }

  .manifesto-intro__grid p {
    font-size: .88rem;
    line-height: 1.75;
  }

  .principles > h2, .thinking-head h2, .page-cta h2 {
    font-size: clamp(2.9rem, 14vw, 3.55rem);
  }

  .principle-system {
    margin-top: 3.5rem;
  }

  .principle {
    min-height: 20rem;
    padding-block: 1.5rem 1.5rem; padding-inline: 2rem 1rem;
  }

  .principle > i {
    margin: 3.2rem 0 2rem;
  }

  .principle h3 {
    font-size: 1.8rem;
  }

  .principle p {
    font-size: .84rem;
  }

  .thinking-head {
    margin-bottom: 3.5rem;
  }

  .thinking-list article {
    grid-template-columns: 1.8rem 1fr .6rem;
    min-height: 10rem;
    padding-block: 1.6rem;
  }

  .thinking-list h3 {
    font-size: 1.45rem;
  }

  .thinking-list p {
    font-size: .82rem;
  }

  .page-cta {
    min-height: 40rem;
  }

  .page-architecture--compact {
    width: 27rem;
    top: 15rem;
    inset-inline-end: -17rem;
  }
}

/* Services page: connected vertical operating architecture */

@media (max-width: 480px) {
  .service-architecture {
    padding-top: 5.5rem;
  }

  .service-spine {
    top: 10rem;
    bottom: 8rem;
    inset-inline-start: calc(var(--pad) + .2rem);
  }

  .service-module {
    grid-template-columns: 1.7rem 1fr;
    min-height: 31rem;
    padding: 3.8rem 0 3.2rem;
  }

  .service-module__number:before {
    top: 3.9rem;
    inset-inline-start: -.08rem;
  }

  .service-module__copy h2 {
    margin-block: 1.2rem 1.5rem;
    font-size: clamp(2.25rem, 11vw, 2.85rem);
  }

  .service-module__copy p {
    max-width: 18rem;
    font-size: .84rem;
  }

  .service-diagram {
    opacity: .78;
    width: 10.5rem;
    margin-top: 1.4rem;
  }
}

/* Contact: one quiet, focused conversation */

@media (max-width: 480px) {
  .contact-shell {
    gap: 4rem;
    min-height: auto;
    padding-top: 7.4rem;
    padding-bottom: 5.5rem;
  }

  .contact-shell > .page-architecture {
    opacity: .25;
    width: 25rem;
    top: 13rem;
    inset-inline-start: auto;
    inset-inline-end: -18rem;
  }

  .contact-intro h1 {
    max-width: 22rem;
    font-size: clamp(3.1rem, 14.7vw, 3.7rem);
    line-height: .92;
  }

  .contact-intro > p {
    max-width: 19rem;
    margin-top: 2rem;
    font-size: .86rem;
  }

  .project-form {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #12182094;
    border-color: #8896a53d;
    padding: 1.4rem;
  }

  .form-grid {
    gap: 0;
  }

  .project-form label {
    margin-top: 1.75rem;
  }

  .project-form input, .project-form select, .project-form textarea {
    min-height: 3rem;
    padding-block: .75rem;
    font-size: 1rem;
  }

  .project-form textarea {
    min-height: 7rem;
  }

  .form-submit {
    min-height: 3.8rem;
    margin-top: 2.5rem;
  }
}

/* Footer reduced to the identity essentials */

@media (max-width: 480px) {
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-top {
    min-height: 7rem;
    padding-block: 1rem;
  }

  .brand--compact {
    width: 7.5rem;
  }

  .footer-top > a:last-child {
    align-items: center;
    min-height: 2.75rem;
    display: flex;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    font-size: .5rem;
  }
}

/* Mobile performance: retain meaning, remove redundant rendering cost */

@media (max-width: 480px) {
  .journey-lines {
    display: none;
  }

  .project-form, .menu-toggle {
    -webkit-backdrop-filter: none;
  }

  .project-editorial:hover .project-canvas:before, .service-module:hover .service-diagram {
    transform: none;
  }
}

/* Phase 2: simplified section structure
 *
 * Sections no longer open with a numbered label and rule ("02 ---- Positioning /
 * Process"), so the offsets that made room for it are removed and each section
 * starts with its heading. This pass also lays out the components whose
 * technical annotations (service codes, step and node numbers) were removed. */

.positioning-grid, .section-heading, .reception-head, .final-content, .manifesto-intro__grid {
  margin-top: 0;
}

.principles > h2, .thinking-head h2, .page-cta h2, .service-module__copy h2 {
  margin-top: 0;
}

.work-heading {
  min-height: 0;
  padding-top: 0;
}

.service-row {
  grid-template-columns: 1fr 3rem;
  gap: 1.5rem;
}

.philosophy-intro {
  z-index: 2;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(.92rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  position: relative;
}

.philosophy-words > div {
  grid-template-columns: 1fr 2rem;
}

.positioning, .final-cta, .manifesto-intro {
  min-height: 0;
}

.manifesto-intro__grid {
  align-items: start;
}

.manifesto-intro__grid > h2 {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: .95;
}

/* `.footer-top > a { justify-self: end }` is meant for "Back to top" but also
 * matched the logo link, pushing it against the tagline. */
.footer-top > .brand {
  justify-self: start;
}

.page-cta {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

/* Tablets: the CTAs no longer squeeze the hero paragraph into a narrow column. */
@media (min-width: 721px) and (max-width: 900px) {
  .hero-bottom {
    margin-inline-start: 0;
    display: block;
  }

  .hero-actions {
    margin-top: 2.2rem;
  }
}

@media (max-width: 720px) {
  .positioning-grid, .section-heading, .reception-head, .final-content, .manifesto-intro__grid {
    margin-top: 0;
  }

  .principles > h2, .thinking-head h2, .page-cta h2 {
    margin-top: 0;
  }

  .work-heading {
    min-height: 0;
    padding-top: 0;
  }

  .service-row {
    grid-template-columns: 1fr 2.6rem;
  }

  .philosophy-words > div {
    grid-template-columns: 1fr 1rem;
  }
}

@media (max-width: 480px) {
  .positioning-grid, .services .section-heading, .reception-head, .final-content, .manifesto-intro__grid {
    margin-top: 0;
  }

  .work-heading {
    padding-top: 0;
  }

  .service-row {
    grid-template-columns: 1fr 2.75rem;
    gap: 1rem;
  }

  .service-module__copy h2 {
    margin-top: 0;
  }

  .philosophy-words > div {
    grid-template-columns: 1fr .8rem;
  }

  .philosophy-intro {
    max-width: 19rem;
    font-size: .84rem;
  }

  .nav-links.is-open a {
    padding-inline-start: 0;
  }
}

/* Phase 3: Services, About and Contact content
 *
 * Reuses the existing modules (service-module, thinking-list, principle-system,
 * manifesto-intro__grid) and adds only what the new content needs: grouped
 * capability lists, provider notes, the markets/base block, contact methods and
 * the footer's social icons. */

/* Services: grouped capabilities */

.service-module {
  align-items: start;
}

.service-module .service-diagram, .service-module .reception-architecture {
  align-self: center;
}

.service-module__copy h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.9rem);
}

.capability-list {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin-top: 2.5rem;
  display: grid;
}

.service-module--flagship .capability-list {
  grid-template-columns: minmax(0, 1fr);
}

.capability-list li {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0 1.25rem;
}

.capability-list strong {
  color: var(--cloud);
  text-transform: uppercase;
  letter-spacing: -.02em;
  font: 500 .95rem / 1.3 var(--font-brand);
  display: block;
}

.capability-list span {
  color: var(--muted);
  margin-top: .45rem;
  font-size: .86rem;
  line-height: 1.6;
  display: block;
}

.service-module__copy .service-note {
  max-width: 40rem;
  border-inline-start: 1px solid var(--line-active);
  margin-top: 1.75rem;
  padding-inline-start: 1rem;
  font-size: .8rem;
  line-height: 1.65;
}

@media (min-width: 721px) {
  .service-module {
    padding-block: 6rem;
  }

  /* Centred in its column: right-aligned, the tilted diagram's projection
   * extended ~90px past the content edge and widened the page. */
  .service-module .service-diagram {
    justify-self: center;
  }

  .service-module__number:before {
    top: 7.6rem;
  }
}

@media (min-width: 901px) {
  .service-module--flagship {
    grid-template-columns: 7rem 1fr 1fr;
  }
}

@media (max-width: 1050px) and (min-width: 721px) {
  .capability-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .capability-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-module__copy h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/* About: experience, markets and base */

.markets {
  background: var(--charcoal);
}

.about-page-cta {
  background: var(--obsidian);
}

.markets a {
  color: var(--cloud);
  border-bottom: 1px solid var(--line-active);
  transition: color .25s;
}

.markets a:hover {
  color: var(--cyan);
}

.markets__facts {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  display: grid;
}

.markets__facts h3 {
  color: var(--muted);
  letter-spacing: .16em;
  font: 500 .66rem / 1 var(--font-interface);
  margin-bottom: 1.25rem;
}

.market-list li {
  color: var(--cloud);
  text-transform: uppercase;
  letter-spacing: -.02em;
  align-items: center;
  gap: .8rem;
  padding: .45rem 0;
  font: 500 1.05rem / 1.3 var(--font-brand);
  display: flex;
}

.market-list i {
  background: var(--obsidian);
  border: 1px solid var(--cyan);
  flex: none;
  width: .55rem;
  height: .55rem;
  box-shadow: 0 0 .7rem #00e5ff8c;
}

.manifesto-intro__grid .markets__office {
  color: var(--cloud);
  font: 500 1.05rem / 1.5 var(--font-brand);
}

.principle-system--continued {
  border-top: 0;
  margin-top: 0;
}

.principles .principle {
  min-height: 24rem;
}

.page-cta > p {
  z-index: 3;
  max-width: 30rem;
  color: var(--muted);
  margin-top: 2rem;
  line-height: 1.7;
  position: relative;
}

@media (max-width: 720px) {
  .markets__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .principles .principle {
    min-height: 18rem;
  }

  .principle-system--continued {
    border-top: 0;
    margin-top: 0;
  }
}

/* Contact: direct contact methods */

.contact-method {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1.4rem 1fr 1rem;
  align-items: center;
  gap: 1.1rem;
  min-height: 4.6rem;
  padding-block: .9rem;
  transition: color .25s;
  display: grid;
}

.contact-method small {
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-size: .6rem;
  font-weight: 500;
  display: block;
}

.contact-method strong {
  font: 500 1.05rem / 1.3 var(--font-brand);
  overflow-wrap: anywhere;
  transition: color .25s;
  display: block;
}

.contact-method--primary .contact-icon {
  color: var(--cyan);
}

.contact-method--primary strong {
  font-size: 1.3rem;
}

.contact-method:hover strong, .contact-method:hover .contact-method__arrow {
  color: var(--cyan);
}

.contact-method__arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1rem;
  transition: transform .3s var(--ease-system), color .25s;
}

.contact-method:hover .contact-method__arrow {
  transform: translate(.15rem, -.15rem);
}

.contact-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-linejoin: round;
  width: 1.4rem;
  height: 1.4rem;
}

.contact-icon__fill {
  fill: currentColor;
  stroke: none;
}

/* Footer: WhatsApp / Instagram */

.footer-bottom {
  align-items: center;
}

.footer-social {
  gap: .75rem;
  display: flex;
}

.footer-social a {
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  color: var(--cloud);
  place-items: center;
  transition: color .25s, border-color .25s;
  display: grid;
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.footer-social .contact-icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* Phase 4: links into the Digital Reception product page */

/* The home journey diagram is one real link to the product page. */
a.journey {
  color: inherit;
  transition: border-color .3s;
  display: block;
}

a.journey:hover, a.journey:focus-visible {
  border-color: var(--line-active);
}

a.journey:focus-visible {
  outline-offset: .35rem;
}

a.journey .journey-core {
  transition: box-shadow .4s, background .4s;
}

a.journey:hover .journey-core, a.journey:focus-visible .journey-core {
  background: #0b1219f0;
  box-shadow: 0 0 5rem #00e5ff38;
}

.service-module__link {
  border-bottom: 1px solid var(--line-active);
  letter-spacing: .14em;
  text-transform: uppercase;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
  padding-bottom: .55rem;
  font-size: .68rem;
  font-weight: 600;
  transition: color .25s;
  display: inline-flex;
}

.service-module__link:hover {
  color: var(--cyan);
}

.service-module__link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  width: 1rem;
}

/* Phase 5: real portfolio
 *
 * Each card shows a genuine screenshot of the live project (assets/img/portfolio/)
 * in a browser frame inside the existing project canvas, keeping the canvas grid,
 * the cursor label/node/beam (portfolio.js) and the hover lift. */

.project-shot .project-canvas {
  min-height: 0;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.project-shot__frame {
  z-index: 3;
  background: var(--obsidian);
  border: 1px solid #8896a547;
  border-radius: .5rem;
  transition: transform .9s var(--ease-system), border-color .5s ease, box-shadow .5s ease;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1.8rem 4rem #0000006b;
}

.project-editorial:hover .project-shot__frame {
  border-color: #00e5ff57;
  transform: translateY(-.4rem);
  box-shadow: 0 2.4rem 5rem #00000080, 0 0 2rem #00e5ff0d;
}

.project-shot__bar {
  color: var(--muted);
  background: #0c1219;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: .4rem;
  height: 2.3rem;
  padding: 0 1rem;
  font-size: .72rem;
  display: flex;
}

.project-shot__bar i {
  border: 1px solid #8896a580;
  border-radius: 50%;
  flex: none;
  width: .5rem;
  height: .5rem;
}

.project-shot__bar span {
  background: #ffffff0a;
  border-radius: 99px;
  margin-inline: auto;
  padding: .2rem .9rem;
}

.project-shot__frame img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  display: block;
}

/* Laravel: shown when a project has no screenshot (keeps the 16:10 frame). */
.project-shot__placeholder {
  aspect-ratio: 16 / 10;
  color: var(--muted);
  background: radial-gradient(circle at 30% 30%, #00e5ff14, transparent 60%), var(--obsidian);
  place-items: center;
  width: 100%;
  font-size: .8rem;
  letter-spacing: .08em;
  display: grid;
}

.project-shot .project-editorial__meta {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
}

.project-shot .project-editorial__info p {
  max-width: 30rem;
  font-size: .9rem;
  line-height: 1.65;
}

.project-editorial__meta > .project-visit {
  white-space: nowrap;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 1px solid var(--line-active);
  align-items: center;
  gap: .7rem;
  width: auto;
  height: auto;
  padding: .2rem 0 .55rem;
  font-size: .68rem;
  font-weight: 600;
  display: inline-flex;
}

@media (max-width: 1050px) {
  .project-shot .project-editorial__meta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .project-shot .project-editorial__meta h3 {
    grid-area: 1 / 1;
  }

  .project-shot .project-editorial__info {
    grid-area: 2 / 1 / auto / 3;
  }

  .project-editorial__meta > .project-visit {
    grid-area: 1 / 2;
    align-self: start;
  }
}

@media (max-width: 720px) {
  .project-shot .project-editorial__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 0;
  }

  .project-shot .project-editorial__meta h3, .project-shot .project-editorial__info, .project-editorial__meta > .project-visit {
    grid-area: auto;
  }

  .project-shot .project-editorial__meta h3 {
    order: -1;
  }

  .project-editorial__meta > .project-visit {
    justify-self: start;
    min-height: 2.75rem;
  }

  .project-shot__bar {
    height: 1.9rem;
    font-size: .64rem;
  }
}

/* Phase 5: contact channels (WhatsApp primary, then call / email / Instagram) */

.contact-channels {
  max-width: 36rem;
  margin-top: 2.75rem;
}

.contact-primary {
  background: linear-gradient(135deg, #00e5ff17, #00e5ff05);
  border: 1px solid var(--line-active);
  border-radius: .45rem;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.25rem;
  transition: border-color .25s, background .25s;
  display: grid;
}

.contact-primary:hover {
  border-color: var(--cyan);
  background: linear-gradient(135deg, #00e5ff24, #00e5ff0a);
}

.contact-primary__icon {
  color: var(--obsidian);
  background: var(--cyan);
  border-radius: 50%;
  place-items: center;
  width: 3rem;
  height: 3rem;
  display: grid;
}

.contact-primary__text small, .contact-alt small {
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-size: .6rem;
  font-weight: 500;
  display: block;
}

.contact-primary__text strong {
  font: 500 1.3rem / 1.2 var(--font-brand);
  display: block;
}

.contact-primary__cta {
  color: var(--cyan);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  align-items: center;
  gap: .55rem;
  font-size: .66rem;
  font-weight: 600;
  display: inline-flex;
}

.contact-primary:hover .contact-method__arrow {
  transform: translate(.15rem, -.15rem);
}

.contact-alt {
  grid-template-columns: minmax(0, 1fr);
  gap: .6rem;
  margin-top: .6rem;
  display: grid;
}

.contact-alt .contact-method {
  border: 1px solid var(--line);
  border-radius: .45rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  min-height: 0;
  padding: .8rem 1.25rem;
  transition: border-color .25s, color .25s;
}

.contact-alt .contact-method:hover {
  border-color: #8896a599;
}

.contact-alt .contact-icon {
  justify-self: center;
  width: 1.3rem;
  height: 1.3rem;
}

.contact-alt strong {
  overflow-wrap: break-word;
  font: 500 1rem / 1.35 var(--font-brand);
}

.contact-alt small {
  margin-bottom: .25rem;
}

@media (max-width: 720px) {
  .contact-primary {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .contact-primary__cta {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    justify-content: space-between;
  }
}

/* Phase 6: Arabic (RTL) and the language switch
 *
 * Layout mirroring comes from logical properties (tools/i18n/logical-css.mjs).
 * This pass covers what cannot mirror automatically: typography, directional
 * icons and hover motion, gradients/transforms, and left-to-right values (phone
 * numbers, emails, domains) inside Arabic text. */

/* Hide the page until the Arabic text is in place (inline bootstrap + i18n.js). */
html.i18n-pending main {
  visibility: hidden;
}

/* Language switch (filled in by assets/js/i18n.js) */

.nav-actions {
  justify-self: end;
  align-items: center;
  gap: 1.4rem;
  display: flex;
}

.lang-switch {
  color: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 99px;
  min-height: 2.5rem;
  padding: .35rem 1rem;
  font: 500 .82rem / 1 var(--font-interface);
  transition: border-color .25s, color .25s;
  background: none;
}

.lang-switch:lang(ar) {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: .9rem;
}

.lang-switch:hover {
  color: var(--cyan);
  border-color: var(--line-active);
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 1fr auto auto;
    column-gap: .75rem;
  }

  .lang-switch {
    min-height: 3rem;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    z-index: 82;
    position: relative;
  }

  .lang-switch {
    -webkit-backdrop-filter: blur(.7rem);
    backdrop-filter: blur(.7rem);
    background: #080b0fb8;
    min-height: 2.9rem;
    padding-inline: .85rem;
  }
}

/* Arabic typography */

html[lang="ar"] {
  --font-brand: "IBM Plex Sans Arabic", "Sora", sans-serif;
  --font-interface: "IBM Plex Sans Arabic", "Inter", sans-serif;
}

/* Many rules name Sora/Inter directly; in Arabic every element switches to the
 * Arabic face, and tracking is removed (letter-spacing breaks Arabic joining).
 * Elements marked lang="en" (the "G" mark, the English switch label) keep theirs. */
html[lang="ar"] body :lang(ar) {
  letter-spacing: 0 !important;
  font-family: "IBM Plex Sans Arabic", "Inter", sans-serif !important;
}

html[lang="ar"] :is(h1, h2, h3) {
  font-weight: 600;
  line-height: 1.22 !important;
}

html[lang="ar"] :is(p, li, dd, label, small, figcaption) {
  line-height: 1.8;
}

/* Outlined words read poorly in Arabic (joined letters show overlapping
 * contours), so they become solid in the same colour family. */
html[lang="ar"] :is(h1, h2) em {
  color: #f5f7fa99;
  -webkit-text-stroke: 0;
}

html[lang="ar"] :is(.reception-head, .final-content, .page-cta, .dr-page .section-shell, .dr-hero) em {
  color: var(--cyan);
}

/* Left-to-right values inside Arabic text */
[dir="rtl"] :is([data-contact-text], .project-shot__bar span, .dr-callcenter__caller small) {
  unicode-bidi: isolate;
  direction: ltr;
}

[dir="rtl"] [data-contact-text] {
  text-align: right;
}

/* Directional icons: arrows point the reading way. Logos, check marks and
 * illustrations are not mirrored. */
[dir="rtl"] :is(.nav-cta, .button-link, .project-visit, .service-arrow, .cta-orb, .form-submit, .service-module__link, .contact-primary__cta) svg {
  transform: scaleX(-1);
}

[dir="rtl"] .contact-primary:hover .contact-method__arrow {
  transform: scaleX(-1) translate(.15rem, -.15rem);
}

/* Hover motion moves in the reading direction */
[dir="rtl"] .service-row:hover h3 {
  transform: translate(-1rem);
}

[dir="rtl"] .philosophy-words > div:hover h2 {
  transform: translate(-2rem);
}

[dir="rtl"] .project-editorial:hover .project-editorial__meta h3 {
  transform: translate(-.75rem);
}

[dir="rtl"] .service-module:hover .service-module__copy h2 {
  transform: translate(-.8rem);
}

[dir="rtl"] .project-editorial__meta > a:hover {
  transform: translate(-.15rem, -.15rem);
}

[dir="rtl"] .service-row:before {
  background: linear-gradient(270deg, #00e5ff14, #0000 70%);
  transform: translate(102%);
}

[dir="rtl"] .service-row:hover:before {
  transform: translate(0);
}

/* Flow diagrams follow the reading direction: inputs on the right in Arabic. */
[dir="rtl"] .journey-lines {
  transform: scaleX(-1);
}

[dir="rtl"] .system-stage {
  transform-origin: 26% 45%;
}

@media (max-width: 480px) {
  html[lang="ar"] .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.2rem);
  }
}

/* Small uppercase labels are sized for tracked Latin capitals; Arabic needs
 * more size to read at the same visual weight. */
html[lang="ar"] :is(.nav-links a, .nav-cta, .eyebrow, .button-link, .cta-orb, .footer-bottom, .footer-top > a, .gava-tag, .project-visit, .service-module__link, .contact-primary__cta, .form-submit, .project-form label > span, .contact-alt small, .contact-primary__text small, .process-step span, .markets__facts h3, .project-shot__bar) {
  font-size: .86rem;
}

html[lang="ar"] .footer-top p {
  font-size: 1.2rem;
}

/* Email addresses and phone numbers are typed left to right, even in Arabic. */
[dir="rtl"] .project-form :is(input[type="email"], input[type="tel"]) {
  text-align: right;
  direction: ltr;
}

/* The open mobile menu keeps its large type in Arabic. */
html[lang="ar"] .nav-links.is-open a {
  font-size: 1.6rem;
}

@media (max-width: 480px) {
  html[lang="ar"] .nav-links.is-open a {
    font-size: clamp(1.7rem, 8.5vw, 2.2rem);
  }
}

/* ===================================================================
   Laravel pass: server-rendered states that the static site handled in JS.
   =================================================================== */

/* The language switch is a real link (works without JavaScript). */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Contact form: status panels, field errors, honeypot. */
.form-status {
  border: 1px solid var(--line-active);
  background: #00e5ff0f;
  margin-bottom: 2rem;
  padding: 1.1rem 1.25rem;
}

.form-status:focus {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

.form-status strong {
  color: var(--cloud);
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.form-status p {
  color: var(--muted);
  margin-top: .4rem;
  font-size: .88rem;
  line-height: 1.6;
}

.form-status--error {
  border-color: #ff6b7a80;
  background: #ff6b7a12;
}

.form-error {
  color: #ff8a96;
  margin-top: .45rem;
  font-size: .76rem;
  line-height: 1.4;
  display: block;
}

.project-form [aria-invalid="true"] {
  border-color: #ff6b7a;
}

.form-trap {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  position: absolute;
  inset-inline-start: -10000px;
}

/* Emails, phone numbers and handles keep LTR order inside Arabic text. */
.ltr-value {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .ltr-value {
  text-align: end;
}

/* Admin preview banner (drafts shown, page not public). */
.preview-bar {
  z-index: 200;
  color: var(--obsidian);
  background: #ffc857;
  text-align: center;
  padding: .55rem 1rem;
  font: 600 .78rem / 1.4 var(--font-interface);
  position: sticky;
  top: 0;
}

.preview-bar a {
  color: inherit;
  text-decoration: underline;
  margin-inline-start: .75rem;
}
