.card-visual {
  height: 390px;
  border-radius: 13px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-radius 0.5s;
}
.visual-label {
  position: absolute;
  left: 24px;
  top: 23px;
  font-size: 8px;
  letter-spacing: 1px;
  z-index: 3;
}
.visual-caption {
  position: absolute;
  bottom: 23px;
  left: 24px;
  font-size: 8px;
  letter-spacing: 0.7px;
  z-index: 3;
}
.card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff30;
  position: absolute;
  bottom: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  font-size: 23px;
  transition:
    transform 0.3s,
    background 0.3s;
}
.web-visual {
  background: #cdcfda;
  color: #343343;
}
.browser-model {
  position: absolute;
  top: 22%;
  left: 9%;
  width: 82%;
  height: 62%;
  background: #e9e7e3;
  box-shadow: 15px 25px 40px #26214333;
  transform: rotate(-8deg);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.6s;
}
.browser-top {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 7px;
  border-bottom: 1px solid #c7c5c0;
}
.browser-top > span:first-child {
  letter-spacing: 2px;
}
.browser-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76%;
  padding: 17px;
}
.micro {
  font-size: 6px;
}
.browser-content h3 {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.06;
  margin: 13px 0 20px;
}
.mini-button {
  background: #383239;
  color: white;
  border-radius: 20px;
  padding: 8px 9px;
  font-size: 6px;
}
.browser-footer {
  display: flex;
  justify-content: space-between;
  padding: 6px 17px;
  font-size: 5px;
}
.web-orbit {
  width: 135px;
  height: 135px;
  position: relative;
  margin-right: 10px;
}
.web-orbit i {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 22px solid #7060b3;
  border-radius: 50%;
  box-shadow:
    inset 5px 3px 9px #d6caff,
    5px 4px 9px #3b2d7733;
  transform: rotateX(58deg) rotateY(20deg) rotateZ(30deg);
}
.web-orbit i:nth-child(2) {
  transform: rotateX(25deg) rotateY(60deg) rotateZ(-20deg);
}
.web-orbit i:nth-child(3) {
  transform: rotateX(-42deg) rotateY(-30deg);
}
.mobile-visual {
  background: #d1e6d6;
  color: #1a4531;
}
.phone {
  position: absolute;
  width: 143px;
  height: 275px;
  border: 5px solid #272c2a;
  border-radius: 26px;
  box-shadow: 15px 20px 25px #12332630;
  top: 62px;
  transition: transform 0.6s;
  overflow: hidden;
}
.phone-notch {
  width: 50px;
  height: 12px;
  background: #242b28;
  position: absolute;
  top: 0;
  left: calc(50% - 25px);
  border-radius: 0 0 9px 9px;
}
.phone-back {
  left: calc(50% - 125px);
  background: #164936;
  color: #ddf3a1;
  transform: rotate(-14deg);
}
.phone-small-logo {
  font-size: 30px;
  margin: 25px 14px 0;
  font-weight: 700;
}
.phone-back p {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 20px 13px;
}
.phone-back em {
  font-family: Georgia, serif;
}
.phone-circle {
  font-size: 43px;
  position: absolute;
  bottom: 10px;
  left: 14px;
}
.phone-front {
  left: calc(50% - 13px);
  background: #f3f1e9;
  transform: rotate(10deg);
  padding: 25px 10px 10px;
  color: #202c28;
}
.app-top {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  align-items: center;
}
.phone-front h3 {
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 20px 0;
}
.app-chart {
  height: 65px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 15px;
}
.app-chart i {
  flex: 1;
  background: #b0cfb2;
  border-radius: 3px;
  height: 40%;
}
.app-chart i:nth-child(2) {
  height: 60%;
}
.app-chart i:nth-child(3) {
  height: 47%;
}
.app-chart i:nth-child(4) {
  height: 80%;
}
.app-chart i:nth-child(5) {
  height: 65%;
}
.app-chart i:nth-child(6) {
  height: 90%;
}
.app-chart i:last-child {
  height: 100%;
  background: #24563e;
}
.app-tile {
  background: #d7e5cd;
  padding: 9px;
  border-radius: 9px;
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.app-tile small {
  font-size: 5px;
  width: 100%;
  margin-top: 7px;
}
.app-nav {
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  margin-top: 11px;
}
.software-visual {
  background: #c7c9bd;
  color: #292c26;
}
.system-model {
  display: flex;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22%;
  height: 63%;
  background: #eceee5;
  border: 1px solid #faffeb;
  border-radius: 8px;
  transform: perspective(900px) rotateY(10deg) rotateX(9deg) rotateZ(-4deg);
  box-shadow: 20px 25px 30px #3d42362e;
  transition: transform 0.6s;
  overflow: hidden;
}
.system-sidebar {
  width: 35px;
  background: #242d28;
  color: #e6eddb;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  padding-top: 10px;
  font-size: 11px;
}
.system-sidebar b {
  font-size: 23px;
}
.system-main {
  flex: 1;
  padding: 18px;
}
.system-head {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  align-items: center;
}
.system-head b {
  font-size: 5px;
  background: #29362d;
  padding: 6px;
  border-radius: 3px;
  color: white;
  font-weight: 400;
}
.system-tiles {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.system-tiles > div {
  width: 50%;
  background: #d8dfca;
  border-radius: 5px;
  padding: 12px 8px;
}
.system-tiles span {
  font-size: 5px;
  display: block;
}
.system-tiles strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.6px;
  display: block;
  margin: 7px 0;
}
.system-tiles small {
  font-size: 5px;
}
.system-tiles i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a7c31;
  vertical-align: middle;
}
.system-graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 5px;
  padding: 12px;
  background: #f5f6f1;
  border-radius: 5px;
}
.system-graph span {
  border: 1px solid #bac4ad;
  border-radius: 4px;
  padding: 8px;
}
.system-graph i {
  height: 1px;
  background: #a3b18e;
  flex: 1;
}
.system-lines {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.system-lines span {
  height: 4px;
  width: 80%;
  background: #dce0d4;
  border-radius: 2px;
}
.system-lines span:nth-child(2) {
  width: 60%;
}
.system-lines span:last-child {
  width: 72%;
}
.ai-visual {
  background: #242a28;
  color: #d9e7d7;
}
.intelligence {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 600px;
}
.ai-ring {
  position: absolute;
  border: 1px solid #9fbc6c70;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow:
    0 0 20px #c5ff5d08,
    inset 0 0 20px #c5ff5d08;
  animation: orbit 22s linear infinite;
}
.r1 {
  transform: rotateY(55deg) rotateX(15deg);
}
.r2 {
  width: 300px;
  height: 300px;
  transform: rotateY(-50deg) rotateX(-20deg);
  animation-direction: reverse;
}
.r3 {
  width: 200px;
  height: 200px;
  transform: rotateX(65deg) rotateZ(30deg);
}
.ai-core {
  font-size: 100px;
  color: var(--lime);
  text-shadow: 0 0 50px #b8ed4230;
  animation: slow-spin 35s linear infinite;
}
.ai-node {
  position: absolute;
  background: #344031e6;
  border: 1px solid #b6d97b55;
  padding: 12px 15px;
  font-size: 7px;
  border-radius: 30px;
  letter-spacing: 0.6px;
  display: flex;
  gap: 20px;
  box-shadow: 0 5px 15px #0003;
}
.node-one {
  left: 10%;
  top: 30%;
}
.node-two {
  right: 10%;
  top: 46%;
}
.node-three {
  left: 22%;
  bottom: 25%;
}
@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes orbit {
  50% {
    rotate: 25deg;
  }
  100% {
    rotate: 0deg;
  }
}
:root {
  --paper: #f0f0f6;
  --ink: #202124;
  --lime: #d4ff5a;
  --line: #d0d1d7;
  --pad: 5vw;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #769325;
  outline-offset: 6px;
}
input:focus,
textarea:focus {
  outline-color: #769325;
}
button:disabled {
  cursor: default;
}
em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
button[hidden],
[hidden] {
  display: none !important;
}
.ink-filter {
  position: absolute;
}
.visually-hidden {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--lime);
  padding: 16px;
}
.skip-link:focus {
  top: 15px;
}
.section-wrap {
  padding: 110px var(--pad);
}
.micro-label {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.7px;
}
.eyebrow-line {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 500;
}
.cross {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.eyebrow-index {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.display-heading,
.page-title {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(48px, 6.7vw, 110px);
  line-height: 1.04;
  letter-spacing: -0.064em;
  font-weight: 500;
  margin: 55px 0;
}
.page-title {
  font-size: clamp(65px, 9.7vw, 155px);
}
.display-heading em,
.page-title em {
  letter-spacing: -0.07em;
}
.large-copy {
  font-size: clamp(23px, 2.5vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.05em;
}
.body-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  letter-spacing: -0.2px;
}
.line-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 55px;
  border-bottom: 1px solid currentColor;
  padding: 13px 0;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.line-link > span:last-child {
  font-size: 24px;
  transition: transform 0.35s var(--ease);
}
.line-link:hover > span:last-child {
  transform: translate(3px, -3px);
}
.pill {
  border-radius: 50px;
  padding: 16px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.1px;
  background: #e0e1e9;
  transition:
    background 0.25s,
    transform 0.25s,
    color 0.25s;
}
.pill:hover {
  transform: translateY(-2px);
  background: var(--lime);
  color: var(--ink);
}
.pill.dark {
  background: #24252c;
  color: #fff;
}
.pill.dark:hover {
  background: var(--lime);
  color: var(--ink);
}
.pill i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.pill.accent {
  background: var(--lime);
  color: #202124;
}
.pill.accent:hover {
  background: #b8df42;
}
.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 31px var(--pad);
  gap: 30px;
  transition:
    padding 0.3s,
    background 0.35s;
}
.site-header > * {
  pointer-events: auto;
}
.site-brand {
  display: inline-block;
  width: 125px;
  flex-shrink: 0;
}
.logo-crop {
  position: relative;
  width: 125px;
  height: 45px;
  display: block;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  width: 151px;
  height: auto;
  max-width: none;
  top: -57px;
  left: -11px;
  filter: url(#logo-ink);
}
.header-location {
  position: absolute;
  left: 34%;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  transition: opacity 0.3s;
}
.header-location span {
  color: var(--muted);
}
body[data-page='home']:not(.has-scrolled) .header-location {
  opacity: 0;
  pointer-events: none;
}
.header-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.motion-control {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e0e1e9;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background 0.2s;
}
.motion-control:hover {
  background: var(--lime);
}
.menu-dots {
  font-size: 17px;
  line-height: 7px;
  letter-spacing: 1px;
}
.has-scrolled .site-header {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #f0f0f6ed;
  backdrop-filter: blur(16px);
}
.header-is-dark .site-header {
  color: #fff;
}
.header-is-dark .site-header .logo-crop img {
  filter: url(#logo-ink) invert(1);
}
.header-is-dark .header-location span {
  color: #b1b6b1;
}
.header-is-dark.has-scrolled .site-header {
  background: #121714dd;
}
.header-is-dark .site-header .pill:not(.dark),
.header-is-dark .motion-control {
  background: #ffffffea;
  color: #202124;
}
.header-is-dark .site-header .pill:hover,
.header-is-dark .motion-control:hover {
  background: var(--lime);
}
#site-navigation {
  position: fixed;
  inset: 104px var(--pad) auto auto;
  margin: 0;
  width: min(370px, 90vw);
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    display 0.3s allow-discrete,
    overlay 0.3s allow-discrete;
  z-index: 45;
}
#site-navigation:popover-open {
  opacity: 1;
  transform: none;
}
@starting-style {
  #site-navigation:popover-open {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
}
#site-navigation::backdrop {
  background: #0002;
  backdrop-filter: blur(2px);
}
#site-navigation nav {
  background: #fff;
  border-radius: 14px;
  padding: 24px 31px;
  box-shadow: 0 15px 80px #00000015;
}
#site-navigation nav > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 28px;
  letter-spacing: -1.1px;
  overflow: hidden;
}
#site-navigation nav > a > span {
  transition: transform 0.3s;
}
#site-navigation nav > a:hover > span {
  transform: translateX(7px);
}
#site-navigation nav > a > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  scale: 0;
  transition:
    opacity 0.3s,
    scale 0.3s;
}
#site-navigation nav > a[aria-current='page'] > i {
  opacity: 1;
  scale: 1;
}
.menu-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--lime);
  padding: 24px 30px;
  border-radius: 14px;
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.menu-project b {
  font-size: 33px;
  font-weight: 400;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 55;
  pointer-events: none;
}
.reading-progress > i {
  display: block;
  width: 100%;
  height: 100%;
  background: #a2c345;
  transform: scaleX(var(--reading, 0));
  transform-origin: left;
}
.custom-cursor {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 9px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition:
    opacity 0.2s,
    scale 0.3s;
  mix-blend-mode: normal;
}
.custom-cursor.active {
  opacity: 1;
  scale: 1;
}
.home-hero {
  padding: 132px var(--pad) 0;
}
/* The promise leads the first screen; the scene below supports it. */
.home-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin: 0 0 36px;
}
.home-intro h1 {
  font:
    500 clamp(44px, 6vw, 96px) / 1.02 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.064em;
  margin: 0;
  text-wrap: balance;
}
.home-intro h1 em {
  letter-spacing: -0.07em;
}
.home-subline {
  margin: 22px 0 0;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--muted);
}
.home-coordinate {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  align-self: flex-end;
  color: var(--muted);
  margin-bottom: 3px;
}
.scene-window {
  height: calc(100svh - 310px);
  min-height: 440px;
  max-height: 770px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #141917;
  isolation: isolate;
}
.scene-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 45%, #344135 0%, #19211c 50%, #0d1210 100%);
}
.scene-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.scene-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.scene-topline {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 27px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  color: #cbd6ca;
}
.scene-topline i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 15px var(--lime);
}
.scene-caption {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
  z-index: 3;
  pointer-events: none;
}
.scene-caption h2 {
  font:
    450 clamp(26px, 2.8vw, 44px) / 1.02 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.06em;
  margin: 0;
  text-shadow: 0 2px 20px #0005;
}
.scene-caption em {
  color: var(--lime);
}
.scene-instruction {
  letter-spacing: 1px;
  text-align: right;
}
.explore-strip {
  height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 25px;
}
.explore-strip > span:nth-child(3) {
  font-size: 11px;
  font-weight: 600;
}
.editorial-section {
  padding-top: 120px;
}
.editorial-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  margin-top: 65px;
}
.editorial-columns > .large-arabic {
  font-family: Georgia, serif;
  font-size: 170px;
  line-height: 1;
  justify-self: start;
  align-self: center;
}
.editorial-columns .large-copy {
  margin-bottom: 30px;
}
.editorial-columns .body-copy {
  margin-bottom: 25px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin: 50px 0;
}
.section-title-row h2 {
  margin: 0;
}
.section-title-row > p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 340px;
  margin: 0 0 7px;
}
.small-muted {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 17px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 27px;
}
.project-card {
  display: block;
  min-width: 0;
}
.project-picture {
  position: relative;
  perspective: 1000px;
  border-radius: 15px;
  overflow: hidden;
  transform: translateZ(0);
  isolation: isolate;
  transition: border-radius 0.5s var(--ease);
}
.project-picture > .card-visual {
  height: 440px;
  border-radius: 0;
  transform: scale(1.005);
  transition:
    transform 0.7s var(--ease),
    filter 0.5s;
}
.project-card:hover .project-picture {
  border-radius: 35px;
}
.project-card:hover .project-picture > .card-visual {
  transform: scale(1.04);
}
.project-meta {
  padding: 22px 3px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.project-meta .micro-label {
  font-size: 11px;
  color: var(--muted);
}
.project-meta h3 {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -1px;
  margin: 7px 0 0;
}
.project-index {
  font-size: 28px;
  transition: transform 0.3s;
}
.project-card:hover .project-index {
  transform: translate(4px, -4px);
}
.concept-badge {
  position: absolute;
  top: 21px;
  left: 23px;
  font-size: 11px;
  letter-spacing: 0.9px;
  z-index: 4;
  border-radius: 40px;
  padding: 7px 9px;
  background: #ffffffb3;
  color: #29312b;
}
.project-picture .visual-label {
  display: none;
}
.project-hover {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 12px 15px;
  border-radius: 40px;
  font-size: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.project-hover b {
  font-size: 20px;
  font-weight: 400;
}
.project-card:hover .project-hover {
  opacity: 1;
  transform: none;
}
.home-projects .project-card:nth-child(even) {
  margin-top: 85px;
}
.home-projects .project-card:nth-child(odd) {
  margin-bottom: 85px;
}
.project-grid .card-visual .browser-content h3 {
  font-size: clamp(24px, 2.5vw, 40px);
}
.project-grid .phone {
  top: 82px;
}
.project-grid .intelligence {
  transform: scale(1.1);
}
.all-projects-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 45px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.all-projects-row > .micro-label {
  font-size: 11px;
}
.tunnel-story {
  height: 220svh;
  background: #101610;
  color: #fff;
  position: relative;
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.story-topline {
  position: absolute;
  top: 130px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  letter-spacing: 1px;
  z-index: 4;
}
.story-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.story-copy h2 {
  position: relative;
  width: 100%;
  font:
    500 clamp(70px, 9.2vw, 145px) / 0.97 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.06em;
  margin: 40px 0;
}
.story-line {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
}
.story-line:first-child {
  opacity: 1;
  transform: none;
  filter: none;
}
.story-copy em {
  color: var(--lime);
}
.story-description {
  max-width: 420px;
  color: #ced6cb;
  letter-spacing: 0.1px;
  margin: 0;
}
.story-bottom {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 45px;
  letter-spacing: 1px;
}
.story-progress {
  display: flex;
  gap: 6px;
  width: 150px;
}
/* Each segment fills through its own chapter, following the rendered scene. */
.story-progress > i {
  --chapter: 0;
  flex: 1;
  position: relative;
  height: 3px;
  background: #ffffff38;
  overflow: hidden;
}
.story-progress > i:nth-child(2) {
  --chapter: 1;
}
.story-progress > i:nth-child(3) {
  --chapter: 2;
}
.story-progress > i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleX(clamp(0, var(--chapter-progress, 0) * 3 - var(--chapter), 1));
  transform-origin: left;
}
html[dir='rtl'] .story-progress > i::after {
  transform-origin: right;
}
.story-skip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.story-skip > span:last-child {
  font-size: 23px;
  line-height: 1;
}
.story-skip:hover,
.story-skip:focus-visible {
  color: var(--lime);
}
.bridge-section .display-heading {
  max-width: 1100px;
}
.bridge-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}
.bridge-bottom p {
  max-width: 540px;
  margin: 0;
}
.closing-cta {
  position: relative;
  padding: 95px var(--pad) 35px;
  overflow: hidden;
  background: #171e19;
  color: #f0f0f6;
  isolation: isolate;
}
.closing-cta > .micro-label {
  position: relative;
  z-index: 2;
  font-size: 9px;
  color: #cbd6c9;
}
.site-footer {
  padding: 55px var(--pad) 22px;
  background: var(--paper);
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 0.8fr;
  align-items: start;
  gap: 30px;
}
.footer-row p {
  font-size: 9px;
  line-height: 1.6;
  margin: 0;
}
.footer-row > div {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-row > div > span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.footer-fine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 7px;
  letter-spacing: 0.4px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 70px;
}
.footer-fine [lang='ar'] {
  font-size: 11px;
}
.next-page {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 70px var(--pad) 50px;
  min-height: 400px;
  background: #e1e2e9;
  isolation: isolate;
}
.next-page > .micro-label {
  font-size: 9px;
  z-index: 2;
}
.next-page-title {
  font:
    500 clamp(65px, 10vw, 160px) / 1.1 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.07em;
  margin: 22px 0 35px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.next-page-title > span {
  transition: transform 0.5s;
}
.next-page:hover .next-page-title > span {
  transform: translate(10px, -10px);
}
.next-caption {
  font-size: 12px;
  z-index: 2;
}
.about-story {
  height: 190svh;
  position: relative;
  background: #0d1210;
  color: white;
}
.about-hero-label {
  position: absolute;
  top: 145px;
  left: var(--pad);
  right: var(--pad);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.about-story-copy {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 95px;
  z-index: 3;
}
.about-wordmark {
  font:
    500 24vw/0.85 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  margin: 0;
  text-align: center;
  position: relative;
  pointer-events: none;
}
.about-wordmark > span {
  font:
    400 20px Georgia,
    serif;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--lime);
  letter-spacing: 0;
}
.about-chapters {
  position: relative;
  margin-top: 28px;
  letter-spacing: 1px;
}
.about-chapters > span {
  position: absolute;
  inset: 0;
  text-align: center;
}
.about-chapters > span:first-child {
  opacity: 1;
}
.about-symbol {
  font-size: 220px;
  align-self: center;
  justify-self: center;
  line-height: 1;
  animation: slow-spin 50s linear infinite;
}
.belief-section {
  background: #1a211c;
  color: #f0f0f6;
  padding: 20px 0 45px;
  overflow: hidden;
}
.belief-section .display-heading {
  font-size: clamp(45px, 6.6vw, 105px);
  line-height: 1.15;
  max-width: 1250px;
}
.belief-section em {
  color: var(--lime);
}
.belief-section .eyebrow-index {
  color: #a4b19e;
}
.belief-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  margin: 70px 0 0;
  padding-left: 25%;
}
.belief-columns p {
  font-size: 16px;
  line-height: 1.6;
  color: #c9d2c6;
  margin: 20px 0 0;
}
.belief-columns .micro-label {
  font-size: 11px;
  color: #a6b39f;
}
.word-marquee {
  white-space: nowrap;
  border-top: 1px solid #ffffff25;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
}
.word-marquee > span {
  display: block;
  flex-shrink: 0;
  animation: marquee 34s linear infinite;
}
.expertise-scroll {
  height: 180svh;
  position: relative;
}
.expertise-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 780px;
  overflow: hidden;
  padding-top: 1px;
}
.expertise-heading {
  padding-top: 115px;
  padding-bottom: 35px;
}
.expertise-heading .display-heading {
  font-size: clamp(40px, 4.8vw, 78px);
  margin: 25px 0 0;
}
.expertise-hint {
  position: absolute;
  right: var(--pad);
  top: 240px;
  font-size: 8px;
  color: var(--muted);
}
.expertise-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 var(--pad);
  will-change: transform;
}
.expertise-card {
  width: 38vw;
  max-width: 570px;
  min-width: 400px;
  height: 390px;
  position: relative;
  border-radius: 13px;
  padding: 28px;
  overflow: hidden;
  flex-shrink: 0;
  background: #dcdde5;
}
.expertise-card > .micro-label {
  font-size: 11px;
  position: relative;
  z-index: 2;
}
.expertise-letter {
  position: absolute;
  right: 20px;
  top: 5px;
  font:
    500 230px/1 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.09em;
  opacity: 0.12;
}
.expertise-card h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1.2px;
  position: relative;
  z-index: 2;
  margin: 90px 0 25px;
}
.expertise-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.expertise-card li {
  font-size: 13px;
  border-top: 1px solid #20212425;
  padding: 10px 0;
}
.expertise-0 {
  background: #d5cce8;
}
.expertise-1 {
  background: #d0e3d5;
}
.expertise-2 {
  background: #c9cebb;
}
.expertise-3 {
  background: var(--lime);
}
.approach-section .section-title-row h2 {
  font-size: clamp(40px, 5.2vw, 85px);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8vw;
  margin-top: 70px;
  align-items: center;
}
.process-graphic {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 700px;
}
.process-graphic i {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #9c9ea0;
  border-radius: 50%;
  transform: rotateY(60deg) rotateX(15deg);
}
.process-graphic i:nth-child(2) {
  transform: rotateY(-60deg) rotateX(15deg);
}
.process-graphic i:nth-child(3) {
  transform: rotateX(60deg);
}
.process-graphic > span {
  font-size: 100px;
  font-weight: 700;
}
.process-list details {
  border-top: 1px solid var(--line);
}
.process-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.process-list summary {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  cursor: pointer;
}
.process-list summary::-webkit-details-marker {
  display: none;
}
.process-list summary > span {
  font-size: 11px;
  color: var(--muted);
}
.process-list h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.7px;
  margin: 0;
}
.process-list summary > b {
  font-size: 22px;
  font-weight: 400;
  margin-left: auto;
  transition: transform 0.3s;
}
.process-list details[open] summary > b {
  transform: rotate(45deg);
}
.process-list details > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 20px 25px 34px;
}
.process-scope {
  font-size: 11px;
  color: var(--muted);
  max-width: 450px;
  margin: 40px 0 0 auto;
  line-height: 1.6;
}
.values-section {
  padding-top: 40px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5vw;
  margin-top: 55px;
}
.values-grid article > span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.values-grid h3 {
  font:
    500 clamp(25px, 2.7vw, 44px) / 1.12 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 25px 0;
}
.values-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 300px;
}
.projects-intro {
  padding-top: 175px;
  padding-bottom: 65px;
}
.projects-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.projects-heading .page-title {
  margin: 40px 0 50px;
}
.projects-count {
  font-size: 50px;
  letter-spacing: -5px;
  font-weight: 400;
  margin-top: 75px;
}
.projects-count span {
  font-size: 30px;
  letter-spacing: -2px;
  vertical-align: middle;
  margin: 0 10px;
}
.projects-intro-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}
.projects-intro-bottom .large-copy {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 0;
}
.projects-intro-bottom .body-copy {
  font-size: 13px;
  margin: 0;
  max-width: 460px;
  justify-self: end;
}
.project-collection {
  padding-top: 25px;
}
.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 45px;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
}
.project-filters button {
  border-radius: 30px;
  letter-spacing: 0.3px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.project-filters button > span {
  color: var(--muted);
}
.project-filters button[aria-pressed='true'] {
  background: #25262c;
  color: white;
}
.project-filters button[aria-pressed='true'] > span {
  color: #c8cbce;
}
.project-filters button:hover {
  border-color: var(--line);
}
.archive-projects {
  gap: 70px 28px;
}
.archive-projects .project-card:nth-child(even) {
  padding-top: 80px;
}
.archive-projects.is-filtered .project-card {
  padding-top: 0;
}
.archive-projects.is-filtered {
  grid-template-columns: 1fr 1fr;
}
.archive-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 45px;
  margin-top: 80px;
}
.archive-note > p {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.35;
  margin: 0 auto 0 0;
}
.archive-note .cross {
  font-size: 45px;
}
.project-detail-intro {
  padding-top: 155px;
  padding-bottom: 65px;
}
.back-projects {
  font-size: 11px;
  letter-spacing: 0.5px;
}
.detail-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.project-detail-intro .page-title {
  font-size: clamp(58px, 7.8vw, 125px);
  max-width: 1250px;
  margin: 35px 0 60px;
}
.detail-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.detail-summary > .micro-label {
  font-size: 8px;
  color: var(--muted);
}
.detail-summary > p {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.6px;
  margin: 0;
  max-width: 580px;
}
.detail-art {
  margin: 0 var(--pad);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--project-accent);
  height: min(780px, 70vw);
  min-height: 500px;
}
.detail-art > .card-visual {
  height: 100%;
  border-radius: 0;
}
.detail-art .visual-label,
.detail-art .visual-caption {
  display: none;
}
.detail-art .browser-model {
  width: 70%;
  height: 70%;
  top: 13%;
  left: 15%;
  transform: rotate(-5deg);
}
.detail-art .browser-content {
  padding: 35px 40px;
}
.detail-art .browser-content h3 {
  font-size: clamp(40px, 5vw, 85px);
  letter-spacing: -0.06em;
}
.detail-art .browser-top {
  padding: 20px 30px;
  font-size: 10px;
}
.detail-art .micro {
  font-size: 9px;
}
.detail-art .mini-button {
  font-size: 8px;
  padding: 12px 20px;
}
.detail-art .browser-footer {
  font-size: 8px;
  padding: 8px 40px;
}
.detail-art .web-orbit {
  width: 250px;
  height: 250px;
  margin-right: 15px;
}
.detail-art .web-orbit i {
  border-width: 40px;
}
.detail-art .phone {
  scale: 1.7;
  top: calc(50% - 145px);
}
.detail-art .phone-back {
  left: calc(50% - 170px);
}
.detail-art .phone-front {
  left: calc(50% + 25px);
}
.detail-art .system-model {
  left: 15%;
  right: 15%;
  height: 65%;
  top: 18%;
}
.detail-art .system-sidebar {
  width: 70px;
  font-size: 20px;
  padding: 25px;
  gap: 35px;
}
.detail-art .system-sidebar b {
  font-size: 40px;
}
.detail-art .system-main {
  padding: 35px;
}
.detail-art .system-head {
  font-size: 16px;
}
.detail-art .system-head b {
  font-size: 9px;
  padding: 10px;
}
.detail-art .system-tiles {
  margin: 25px 0;
  gap: 20px;
}
.detail-art .system-tiles > div {
  padding: 22px;
}
.detail-art .system-tiles span {
  font-size: 9px;
}
.detail-art .system-tiles strong {
  font-size: 28px;
  margin: 13px 0;
}
.detail-art .system-tiles small {
  font-size: 9px;
}
.detail-art .system-graph {
  font-size: 9px;
  padding: 20px;
}
.detail-art .system-graph span {
  padding: 18px;
}
.detail-art .system-lines {
  margin-top: 25px;
  gap: 14px;
}
.detail-art .system-lines span {
  height: 7px;
}
.detail-art-caption {
  position: absolute;
  bottom: 25px;
  left: 30px;
  right: 30px;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #202124;
}
.detail-art:has(.ai-visual) .detail-art-caption {
  color: #c9d2c6;
}
.project-thinking .display-heading {
  font-size: clamp(38px, 4.6vw, 75px);
  max-width: 1050px;
}
.thinking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6vw;
  margin-top: 65px;
}
.thinking-grid .micro-label {
  font-size: 8px;
  color: var(--muted);
}
.thinking-grid p {
  font-size: 15px;
  line-height: 1.7;
  margin: 20px 0 0;
}
.thinking-grid ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.thinking-grid li {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.interactive-demo {
  padding-top: 30px;
}
.interactive-demo .section-title-row h2 {
  font-size: clamp(45px, 5vw, 80px);
}
.demo-container {
  border-radius: 18px;
  overflow: hidden;
  background: #e5e5e6;
}
.concept-disclosure {
  padding-top: 15px;
  display: grid;
  grid-template-columns: 50px 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.concept-disclosure > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}
.concept-disclosure .line-link {
  justify-self: end;
}
.next-project {
  position: relative;
  overflow: hidden;
  background: #dfe0e7;
  display: block;
  padding: 65px var(--pad);
  min-height: 460px;
}
.next-project > .micro-label {
  position: relative;
  z-index: 3;
}
.next-project h2 {
  position: relative;
  z-index: 3;
  font:
    500 clamp(40px, 5.6vw, 90px) / 1.1 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.06em;
  width: 70%;
  margin: 40px 0;
}
.next-project h2 > span {
  display: block;
  margin-top: 30px;
}
.next-project > .card-visual {
  position: absolute;
  right: -2%;
  top: -15%;
  width: 48%;
  height: 130%;
  transform: rotate(8deg);
  opacity: 0.85;
  transition: transform 0.5s;
}
.next-project:hover > .card-visual {
  transform: rotate(2deg) scale(1.03);
}
.next-project .visual-label,
.next-project .visual-caption {
  display: none;
}
.contact-hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  isolation: isolate;
  background: #101711;
  color: white;
  overflow: hidden;
}
.contact-hero > .scene-canvas {
  opacity: 0.85;
}
.contact-hero-inner {
  position: relative;
  z-index: 3;
  padding: 170px var(--pad) 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}
.contact-hero-inner .page-title {
  font-size: clamp(62px, 8.8vw, 145px);
  line-height: 1.02;
  margin: 40px 0 70px;
  text-shadow: 0 2px 25px #09120ca6;
}
.contact-hero-inner .page-title em {
  color: var(--lime);
}
.contact-hero-inner > .micro-label {
  font-size: 11px;
  color: #c6d1c1;
}
.contact-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 30px;
  pointer-events: auto;
}
.contact-hero-bottom a {
  font-size: 11px;
  letter-spacing: 0.6px;
  border-bottom: 1px solid #ffffff60;
  padding-bottom: 12px;
}
.contact-hero-bottom > span {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.contact-form-section {
  padding-top: 90px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 10vw;
  margin-top: 70px;
}
.contact-details .display-heading {
  font-size: clamp(42px, 4.4vw, 72px);
  margin: 0 0 30px;
}
.contact-details .body-copy {
  font-size: 14px;
  max-width: 320px;
}
.contact-channel {
  margin-top: 45px;
}
.contact-channel > .micro-label {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 15px;
}
.contact-channel > a {
  font-size: 23px;
  letter-spacing: -0.8px;
}
.contact-location {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 35px;
  font-size: 12px;
}
.contact-location .micro-label {
  color: var(--muted);
  font-size: 8px;
}
.contact-location time {
  margin-left: 15px;
}
.inquiry-form label {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #55585a;
}
.inquiry-form label > span:not(.service-choice span) {
  margin-left: auto;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.inquiry-form input:not([type='radio']),
.inquiry-form textarea {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid #bfc3c4;
  border-radius: 0;
  padding: 12px 0 18px;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  font-size: 13px;
}
.inquiry-form fieldset {
  border: 0;
  padding: 0;
  margin: 40px 0;
}
.inquiry-form legend {
  font-size: 11px;
  color: #55585a;
  margin-bottom: 16px;
}
.service-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.service-choice {
  position: relative;
  cursor: pointer;
}
.service-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.service-choice span {
  border: 1px solid #c8cbcd;
  padding: 11px 15px;
  border-radius: 40px;
  transition:
    background 0.2s,
    color 0.2s;
}
.service-choice input:checked + span {
  background: #252a26;
  border-color: #252a26;
  color: #fff;
}
.service-choice input:focus-visible + span {
  outline: 2px solid #769325;
  outline-offset: 3px;
}
.service-choice:hover span {
  border-color: #7d8b76;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 35px;
}
.form-actions p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.form-actions .pill {
  padding: 18px 20px;
  gap: 18px;
}
.form-feedback {
  line-height: 1.6;
  margin: 20px 0;
  color: #43552a;
}
.form-feedback a {
  text-decoration: underline;
}
/* A field only bots fill in (server/contact.php ignores those posts). Off-screen rather than display:none. */
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.faq-section {
  padding-top: 30px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 10vw;
  margin-top: 50px;
}
.faq-grid .display-heading {
  font-size: clamp(40px, 4.3vw, 70px);
  margin: 0;
}
.faq-grid .process-list h3 {
  font-size: 17px;
}
.faq-grid .process-list summary {
  padding: 25px 0;
}
.not-found {
  padding-top: 200px;
  min-height: 90svh;
}
.paused *,
.paused *::before,
.paused *::after {
  animation-play-state: paused !important;
}
.scene-fallback::after {
  content: '✳';
  position: absolute;
  color: var(--lime);
  font-size: 300px;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}
.split-reveal .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.13em;
  margin-bottom: -0.13em;
}
.split-reveal .word-inner {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--word-index, 0) * 22ms);
}
.js .split-reveal:not(.in-view) .word-inner {
  transform: translateY(118%);
}
.read-reveal .read-word {
  opacity: 0.15;
  transition: opacity 0.15s;
}
.js .read-reveal:not(.is-reading) .read-word {
  opacity: 0.15;
}
.scene-window .scene-canvas {
  will-change: transform;
}
.browser-model {
  animation: browser-float 8s ease-in-out infinite;
}
.phone-back {
  animation: phone-float-back 9s ease-in-out infinite;
}
.phone-front {
  animation: phone-float-front 9s ease-in-out infinite;
}
.system-model {
  animation: system-float 10s ease-in-out infinite;
}
.project-card .visual-caption {
  font-size: 7px;
}
.project-picture > .card-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #fff2, transparent 50%, #0000000c);
  pointer-events: none;
}
.commerce-demo {
  padding: 45px;
  background: #e4e0d7;
}
.demo-brand {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #292c2630;
  padding-bottom: 22px;
}
.demo-brand span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.7px;
}
.demo-store-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 35px 0;
}
.demo-store-top h3 {
  font:
    500 52px/1.02 Manrope,
    sans-serif;
  letter-spacing: -3px;
  margin: 0;
}
.demo-bag {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-bag b {
  font-size: 14px;
  background: #29332b;
  border-radius: 50%;
  color: #eee;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-weight: 400;
}
.demo-categories {
  display: flex;
  gap: 7px;
  margin-bottom: 25px;
}
.demo-categories button {
  background: transparent;
  padding: 10px 17px;
  border-radius: 30px;
  font-size: 10px;
}
.demo-categories button[aria-pressed='true'] {
  background: #2b332c;
  color: white;
}
.demo-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.demo-products article {
  background: #f3f0e9;
  border-radius: 9px;
  overflow: hidden;
}
.demo-products article > div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.demo-products h4 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 0;
}
.demo-products article button {
  border: 1px solid #ccc;
  background: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 25px;
}
.demo-products article button:hover {
  background: var(--lime);
}
.object-art {
  height: 230px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.lamp i:first-child {
  position: absolute;
  width: 110px;
  height: 55px;
  border-radius: 90px 90px 3px 3px;
  background: linear-gradient(100deg, #6f824c, #afc17a, #5c7242);
  top: 50px;
  box-shadow: 10px 20px 20px #0002;
}
.lamp i:last-child {
  position: absolute;
  width: 12px;
  height: 120px;
  background: linear-gradient(90deg, #5b6b44, #acbc84);
  top: 105px;
}
.lamp:after {
  content: '';
  position: absolute;
  width: 95px;
  height: 10px;
  border-radius: 50%;
  background: #5e6d48;
  bottom: 6px;
}
.vase i {
  width: 100px;
  height: 150px;
  position: relative;
  background: linear-gradient(90deg, #a4806f, #d4b9a7, #9a7563);
  border-radius: 25% 25% 40% 40%;
  box-shadow: 12px 15px 20px #0002;
}
.vase i:before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: -8px;
  height: 18px;
  background: #5f4c41;
  border: 7px solid #bc9c88;
  border-radius: 50%;
}
.chair i:first-child {
  width: 100px;
  height: 90px;
  border-radius: 30px 30px 6px 6px;
  position: absolute;
  top: 45px;
  background: linear-gradient(110deg, #9596a8, #c7c6d1, #8c8b9c);
  transform: rotate(-7deg);
}
.chair i:nth-child(2) {
  width: 110px;
  height: 20px;
  border-radius: 10px;
  background: #aaaabb;
  position: absolute;
  top: 130px;
  transform: rotate(-7deg);
}
.chair i:last-child {
  width: 85px;
  height: 65px;
  border-left: 8px solid #5d5e63;
  border-right: 8px solid #5d5e63;
  position: absolute;
  top: 149px;
  transform: rotate(-7deg);
}
.demo-status {
  font-size: 11px;
  line-height: 1.7;
  color: #697067;
  margin: 25px 0 0;
}
.mobile-demo {
  display: flex;
  gap: 10vw;
  justify-content: center;
  align-items: center;
  padding: 65px 40px;
  background: #cddfce;
}
.demo-device {
  position: relative;
  width: 285px;
  min-height: 540px;
  flex-shrink: 0;
  border: 7px solid #24362b;
  background: #f3f3eb;
  border-radius: 43px;
  padding: 45px 23px 35px;
  box-shadow: 22px 28px 35px #1a432e25;
}
.demo-notch {
  position: absolute;
  top: 0;
  left: calc(50% - 40px);
  width: 80px;
  height: 22px;
  background: #24362b;
  border-radius: 0 0 17px 17px;
}
.demo-device .micro-label {
  font-size: 7px;
}
.demo-device h3 {
  font:
    500 35px/1.03 Manrope,
    sans-serif;
  letter-spacing: -1.8px;
  margin: 22px 0;
}
.demo-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  background: #e1e6db;
  border-radius: 20px;
  padding: 4px;
}
.demo-tabs button {
  width: 50%;
  padding: 8px;
  border-radius: 20px;
  background: none;
  font-size: 10px;
}
.demo-tabs button[aria-pressed='true'] {
  background: #fff;
}
.day-card {
  background: #dae6c7;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.day-card > span:first-child {
  font-size: 7px;
  letter-spacing: 0.5px;
}
.day-card h4 {
  font-size: 19px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 13px 0 8px;
  position: relative;
  z-index: 2;
}
.day-sun {
  position: absolute;
  right: -10px;
  bottom: 0;
  font-size: 100px;
  color: #a5c27d;
  line-height: 1;
  z-index: 0;
}
.agenda-row {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #d9dfd3;
  padding: 19px 0;
}
.agenda-row time {
  font-size: 9px;
  color: var(--muted);
}
.agenda-row small {
  font-size: 8px;
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.device-bottom-line {
  position: absolute;
  bottom: 14px;
  left: calc(50% - 35px);
  height: 4px;
  width: 70px;
  background: #25372c;
  border-radius: 5px;
}
.demo-task {
  display: flex;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid #ccd4c3;
  font-size: 12px;
}
.demo-task input {
  accent-color: #56743e;
}
.demo-task:has(input:checked) {
  text-decoration: line-through;
}
#task-status {
  font-size: 10px;
  margin-top: 25px;
}
.demo-instruction > span {
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: #506448;
}
.demo-instruction p {
  font:
    500 36px/1.12 Manrope,
    sans-serif;
  letter-spacing: -1.6px;
  margin: 25px 0;
}
.operations-demo {
  background: #e2e6db;
  padding: 45px;
}
.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #b9c3ad;
  padding-bottom: 25px;
}
.ops-brand {
  font-size: 18px;
  letter-spacing: -0.7px;
}
.operations-demo > h3 {
  font:
    500 45px/1.06 Manrope,
    sans-serif;
  letter-spacing: -2.3px;
  margin: 35px 0 20px;
}
.operations-demo > p:not(.demo-status) {
  margin-bottom: 30px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.kanban > div {
  background: #d4dbcc;
  border-radius: 9px;
  min-height: 290px;
  padding: 15px;
}
.kanban > div > h4 {
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  margin: 0 0 20px;
}
.kanban-item {
  padding: 17px;
  background: #f6f7f0;
  border-radius: 6px;
  display: block;
  text-align: left;
  margin-top: 10px;
  width: 100%;
  box-shadow: 0 3px 8px #2d472807;
  transition:
    transform 0.3s,
    background 0.3s;
}
.kanban-item:hover {
  transform: translateY(-3px);
  background: #fff;
}
.kanban-item > span {
  font-size: 6px;
  letter-spacing: 0.5px;
}
.kanban-item > b {
  display: block;
  font-weight: 450;
  line-height: 1.4;
  margin: 15px 0;
}
.kanban-item > small {
  font-size: 8px;
  color: #7b8871;
}
.demo-reset {
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  background: none;
  margin-top: 20px;
  letter-spacing: 0.5px;
}
.assistant-demo {
  padding: 40px;
  background: #1b241e;
  color: #e4eadf;
}
.assistant-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #ffffff25;
  letter-spacing: 0.5px;
}
.assistant-symbol {
  font-size: 35px;
  color: var(--lime);
}
.demo-live {
  margin-left: auto;
  color: #97b48b;
  font-size: 11px;
}
.chat-messages {
  min-height: 310px;
  max-height: 580px;
  overflow: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.assistant-message,
.user-message {
  border-radius: 12px;
  padding: 22px;
  background: #29372b;
  max-width: 78%;
  align-self: flex-start;
}
.assistant-message > span {
  letter-spacing: 0.7px;
  color: #a0ba95;
}
.assistant-message p {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin: 12px 0 0;
}
.user-message {
  background: #d4ff5a;
  color: #1b241e;
  align-self: flex-end;
  font-size: 13px;
  padding: 17px 22px;
}
.sample-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.sample-prompts button {
  background: #ffffff08;
  border: 1px solid #ffffff35;
  border-radius: 25px;
  padding: 12px 16px;
  color: #dce8d6;
  font-size: 9px;
}
.sample-prompts button:hover {
  background: var(--lime);
  color: #202124;
}
.assistant-demo .demo-status {
  color: #9caf93;
  font-size: 10px;
}
.assistant-demo .demo-reset {
  color: #dce8d6;
}
.inquiry-form input:invalid:not(:placeholder-shown) {
  border-bottom-color: #a44536;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}
@keyframes browser-float {
  50% {
    translate: 0 -12px;
  }
}
@keyframes phone-float-back {
  50% {
    translate: 0 -9px;
  }
}
@keyframes phone-float-front {
  50% {
    translate: 0 8px;
  }
}
@keyframes system-float {
  50% {
    translate: 0 -10px;
  }
}
.site-header {
  pointer-events: auto;
}
.home-hero {
  padding-top: 132px;
}
.scene-caption:before {
  content: '';
  position: absolute;
  left: -35px;
  right: -35px;
  bottom: -30px;
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 1700px) {
  :root {
    --pad: max(5vw, calc((100vw - 1600px) / 2));
  }
  .project-picture > .card-visual {
    height: 540px;
  }
  .scene-window {
    height: 690px;
  }
  .expertise-card {
    width: 540px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding-top: 25px;
  }
  .header-location {
    left: 31%;
    font-size: 7px;
  }
  .header-controls {
    gap: 8px;
  }
  .pill {
    padding: 15px 18px;
    gap: 18px;
  }
  .project-picture > .card-visual {
    height: 365px;
  }
  .project-meta h3 {
    font-size: 21px;
  }
  .project-grid .phone {
    top: 50px;
  }
  .project-grid .browser-content h3 {
    font-size: 26px;
  }
  .web-orbit {
    width: 110px;
    height: 110px;
  }
  .web-orbit i {
    border-width: 18px;
  }
  .project-card .visual-caption {
    font-size: 6px;
  }
  .project-hover {
    font-size: 6px;
    padding: 9px 12px;
  }
  .section-title-row > p {
    max-width: 270px;
    font-size: 13px;
  }
  .expertise-card {
    min-width: 370px;
    height: 370px;
  }
  .expertise-card h3 {
    font-size: 25px;
    margin-top: 75px;
  }
  .expertise-card li {
    font-size: 12px;
  }
  .expertise-sticky {
    min-height: 740px;
  }
  .expertise-heading {
    padding-top: 100px;
  }
  .expertise-hint {
    top: 225px;
  }
  .detail-art .web-orbit {
    width: 190px;
    height: 190px;
  }
  .detail-art .web-orbit i {
    border-width: 30px;
  }
  .detail-art .phone {
    scale: 1.4;
  }
  .detail-art .phone-back {
    left: calc(50% - 140px);
  }
  .detail-art .phone-front {
    left: calc(50% + 5px);
  }
  .detail-art .system-main {
    padding: 22px;
  }
  .detail-art .system-head {
    font-size: 12px;
  }
  .detail-art .system-tiles strong {
    font-size: 23px;
  }
  .detail-art .system-tiles > div {
    padding: 15px;
  }
  .detail-art .system-graph span {
    padding: 12px;
  }
  .contact-form-grid,
  .faq-grid {
    gap: 6vw;
  }
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .concept-disclosure {
    grid-template-columns: 30px 1fr;
    gap: 25px;
  }
  .concept-disclosure .line-link {
    grid-column: 2;
    justify-self: start;
  }
  .thinking-grid {
    gap: 4vw;
  }
  .kanban-item {
    padding: 12px;
  }
  .kanban-item > b {
    font-size: 11px;
  }
  .commerce-demo,
  .operations-demo {
    padding: 30px;
  }
  .object-art {
    height: 215px;
  }
  .demo-instruction p {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 6vw;
  }
  .section-wrap {
    padding: 75px var(--pad);
  }
  html {
    scroll-padding-top: 95px;
  }
  .site-header {
    padding: 22px var(--pad);
    gap: 15px;
  }
  .site-brand {
    width: 101px;
  }
  .logo-crop {
    width: 101px;
    height: 36px;
  }
  .logo-crop img {
    width: 122px;
    top: -46px;
    left: -9px;
  }
  .header-location {
    display: none;
  }
  .header-controls .pill i {
    width: 3px;
    height: 3px;
  }
  .motion-control {
    font-size: 11px;
  }
  .menu-dots {
    font-size: 14px;
  }
  .has-scrolled .site-header {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  #site-navigation {
    top: 82px;
    right: var(--pad);
    width: min(330px, 88vw);
  }
  #site-navigation nav {
    padding: 20px 29px;
    border-radius: 12px;
  }
  #site-navigation nav > a {
    font-size: 27px;
    line-height: 1.2;
    padding: 17px 0;
  }
  .menu-project {
    padding: 23px 27px;
  }
  .micro-label {
    font-size: 11px;
  }
  .eyebrow-line {
    font-size: 8px;
    gap: 9px;
    letter-spacing: 0.3px;
  }
  .cross {
    font-size: 20px;
  }
  .eyebrow-index {
    max-width: 35%;
    text-align: right;
  }
  .display-heading {
    font-size: clamp(38px, 9.7vw, 65px);
    margin: 37px 0;
    line-height: 1.08;
  }
  .page-title {
    font-size: clamp(56px, 13.3vw, 92px);
    line-height: 1.03;
  }
  .large-copy {
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: -1.1px;
  }
  .body-copy {
    font-size: 14px;
  }
  .line-link {
    font-size: 8px;
    gap: 40px;
  }
  .line-link > span:last-child {
    font-size: 23px;
  }
  .home-intro {
    padding-left: 0;
    margin-bottom: 28px;
    display: block;
  }
  .home-intro h1 {
    font-size: clamp(36px, 10.4vw, 58px);
    line-height: 1.04;
  }
  /* The desktop line breaks leave single-word lines at this width; let the promise reflow. */
  .home-intro h1 br {
    display: none;
  }
  .home-coordinate {
    display: none;
  }
  .scene-window {
    height: calc(100svh - 260px);
    min-height: 470px;
    max-height: 700px;
    border-radius: 16px;
  }
  .scene-topline {
    top: 23px;
    letter-spacing: 0.6px;
  }
  .scene-caption {
    left: 23px;
    right: 23px;
    bottom: 24px;
  }
  .scene-caption h2 {
    font-size: 26px;
    line-height: 1.08;
  }
  .scene-instruction {
    display: none;
  }
  .explore-strip {
    height: 58px;
    font-size: 22px;
  }
  .explore-strip > span:nth-child(2),
  .explore-strip > span:nth-child(4) {
    display: none;
  }
  .explore-strip > span:nth-child(3) {
    font-size: 11px;
  }
  .editorial-section {
    padding-top: 65px;
  }
  .editorial-columns {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .editorial-columns > .large-arabic {
    display: none;
  }
  .editorial-columns > div {
    padding-left: 13%;
  }
  .editorial-columns .large-copy {
    font-size: 23px;
  }
  .section-title-row {
    display: block;
    margin: 35px 0;
  }
  .section-title-row > p {
    margin: 25px 0 0;
    font-size: 13px;
    max-width: 350px;
  }
  .small-muted {
    font-size: 9px;
    margin-top: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-picture {
    border-radius: 12px;
  }
  .project-picture > .card-visual {
    height: 360px;
  }
  .home-projects .project-card:nth-child(even),
  .home-projects .project-card:nth-child(odd) {
    margin: 0;
  }
  .project-grid .phone {
    top: 58px;
  }
  .project-grid .browser-content h3 {
    font-size: 25px;
    letter-spacing: -1.3px;
  }
  .project-grid .web-orbit {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    margin-right: -4px;
  }
  .project-grid .web-orbit i {
    border-width: 17px;
  }
  .project-meta {
    padding-top: 16px;
  }
  .project-meta h3 {
    font-size: 22px;
  }
  .project-meta .micro-label {
    font-size: 11px;
  }
  .concept-badge {
    top: 18px;
    left: 18px;
    font-size: 11px;
  }
  .project-hover {
    display: none;
  }
  .project-card .visual-caption {
    font-size: 6px;
    left: 18px;
    bottom: 20px;
  }
  .all-projects-row {
    margin-top: 35px;
    padding-top: 25px;
    gap: 20px;
  }
  .tunnel-story {
    height: 200svh;
  }
  .story-sticky {
    min-height: 560px;
  }
  .story-topline {
    top: 110px;
    letter-spacing: 0.5px;
  }
  .story-copy h2 {
    font-size: clamp(56px, 14vw, 95px);
    height: 210px;
    margin: 30px 0 5px;
    line-height: 1.03;
  }
  .story-bottom {
    bottom: 30px;
    gap: 20px;
  }
  .story-progress {
    width: 84px;
    gap: 4px;
  }
  .story-bottom > span:first-child {
    line-height: 1.6;
  }
  .bridge-bottom {
    display: block;
  }
  .bridge-bottom p {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .closing-cta {
    padding: 65px var(--pad) 28px;
  }
  .closing-cta > .micro-label {
    font-size: 6px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }
  .footer-row p {
    font-size: 8px;
  }
  .footer-row > div {
    font-size: 11px;
    gap: 10px;
  }
  .footer-row > div > span {
    font-size: 6px;
  }
  .footer-fine {
    margin-top: 35px;
    font-size: 6px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .footer-fine [lang='ar'] {
    font-size: 11px;
  }
  .footer-fine a {
    width: 100%;
    text-align: right;
    font-size: 7px;
  }
  .next-page {
    padding: 50px var(--pad) 35px;
    min-height: 280px;
  }
  .next-page > .micro-label {
    font-size: 7px;
  }
  .next-page-title {
    font-size: clamp(55px, 13vw, 90px);
    margin: 25px 0;
  }
  .next-caption {
    font-size: 11px;
  }
  .about-story {
    height: 180svh;
  }
  .about-hero-label {
    top: 115px;
    gap: 25px;
  }
  .about-hero-label > span:last-child {
    font-size: 11px;
    max-width: 140px;
    text-align: right;
  }
  .about-story-copy {
    bottom: 125px;
    left: 4%;
    right: 4%;
  }
  .about-wordmark {
    font-size: 26vw;
    letter-spacing: -0.075em;
  }
  .about-wordmark > span {
    top: -35px;
    right: 15px;
    font-size: 20px;
  }
  .about-chapters {
    margin-top: 25px;
  }
  .about-symbol {
    font-size: 100px;
    justify-self: start;
    margin: 5px 0;
  }
  .about-intro .editorial-columns > div {
    padding-left: 0;
  }
  .belief-section {
    padding-top: 0;
    padding-bottom: 25px;
  }
  .belief-section .display-heading {
    font-size: clamp(35px, 9.3vw, 63px);
    line-height: 1.14;
  }
  .belief-columns {
    padding-left: 12%;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 40px;
  }
  .belief-columns p {
    font-size: 14px;
    margin-top: 12px;
  }
  .belief-columns .micro-label {
    font-size: 7px;
  }
  .word-marquee {
    font-size: 26px;
    padding-top: 22px;
  }
  .expertise-scroll {
    height: auto;
  }
  .expertise-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .expertise-heading {
    padding-top: 75px;
    padding-bottom: 30px;
  }
  .expertise-heading .display-heading {
    font-size: 38px;
    line-height: 1.08;
    margin: 30px 0 0;
  }
  .expertise-hint {
    position: static;
    display: block;
    margin-top: 25px;
    font-size: 7px;
  }
  .expertise-track {
    width: auto;
    overflow-x: auto;
    padding: 0 var(--pad) 20px;
    gap: 14px;
    scroll-snap-type: x mandatory;
    transform: none !important;
    will-change: auto;
  }
  .expertise-card {
    min-width: 0;
    width: 82vw;
    height: 375px;
    max-width: 440px;
    scroll-snap-align: center;
    padding: 25px;
  }
  .expertise-card h3 {
    font-size: 25px;
    margin-top: 85px;
  }
  .expertise-card li {
    font-size: 12px;
  }
  .expertise-letter {
    font-size: 210px;
  }
  .approach-section .section-title-row h2 {
    font-size: 38px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .process-graphic i {
    width: 200px;
    height: 200px;
  }
  .process-graphic > span {
    letter-spacing: -9px;
  }
  .process-list summary {
    padding: 23px 0;
    gap: 14px;
  }
  .process-list h3 {
    font-size: 19px;
  }
  .process-list details > p {
    font-size: 13px;
    margin-left: 28px;
  }
  .process-scope {
    font-size: 9px;
    line-height: 1.7;
    margin-top: 25px;
  }
  .values-section {
    padding-top: 20px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }
  .values-grid article {
    border-top: 1px solid var(--line);
    padding: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .values-grid article > span {
    grid-column: 1/-1;
    font-size: 11px;
  }
  .values-grid h3 {
    font-size: 25px;
    margin: 0;
  }
  .values-grid p {
    font-size: 12px;
    margin: 0;
  }
  .projects-intro {
    padding-top: 135px;
    padding-bottom: 40px;
  }
  .projects-heading .page-title {
    font-size: clamp(55px, 13vw, 88px);
    margin: 35px 0;
  }
  .projects-count {
    font-size: 26px;
    letter-spacing: -3px;
    position: absolute;
    right: 0;
    top: 32px;
    margin: 0;
  }
  .projects-count span {
    font-size: 16px;
    letter-spacing: -1px;
    margin: 0 5px;
  }
  .projects-heading {
    padding-right: 20px;
  }
  .projects-intro-bottom {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .projects-intro-bottom .large-copy {
    font-size: 24px;
    letter-spacing: -1px;
  }
  .projects-intro-bottom .body-copy {
    max-width: 100%;
  }
  .project-collection {
    padding-top: 15px;
  }
  .project-toolbar {
    display: block;
    padding: 15px 0;
    margin-bottom: 30px;
  }
  .project-toolbar > .micro-label {
    display: none;
  }
  .archive-projects {
    gap: 38px;
  }
  .archive-projects .project-card:nth-child(even) {
    padding-top: 0;
  }
  .archive-projects.is-filtered {
    grid-template-columns: 1fr;
  }
  .archive-note {
    margin-top: 45px;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 25px;
  }
  .archive-note > p {
    font-size: 20px;
  }
  .archive-note .cross {
    font-size: 30px;
  }
  .archive-note .line-link {
    margin-left: 55px;
  }
  .project-detail-intro {
    padding-top: 125px;
    padding-bottom: 40px;
  }
  .back-projects {
    font-size: 8px;
  }
  .detail-labels {
    font-size: 6px;
    gap: 20px;
    margin-top: 50px;
    line-height: 1.7;
  }
  .detail-labels > span:last-child {
    text-align: right;
  }
  .project-detail-intro .page-title {
    font-size: clamp(47px, 11.5vw, 80px);
    line-height: 1.07;
    margin: 30px 0 35px;
  }
  .detail-summary {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-summary > .micro-label {
    font-size: 7px;
  }
  .detail-summary > p {
    font-size: 17px;
    line-height: 1.5;
  }
  .detail-art {
    margin: 0 10px;
    border-radius: 12px;
    min-height: 420px;
    height: 115vw;
  }
  .detail-art .browser-model {
    width: 87%;
    left: 6%;
    height: 62%;
    top: 19%;
  }
  .detail-art .browser-content {
    padding: 18px;
  }
  .detail-art .browser-content h3 {
    font-size: 28px;
    letter-spacing: -1.5px;
  }
  .detail-art .browser-top {
    padding: 12px 15px;
    font-size: 7px;
  }
  .detail-art .micro {
    font-size: 6px;
  }
  .detail-art .mini-button {
    font-size: 5px;
    padding: 8px 10px;
  }
  .detail-art .browser-footer {
    font-size: 5px;
    padding: 7px 18px;
  }
  .detail-art .web-orbit {
    width: 110px;
    height: 110px;
    margin-right: 0;
    flex-shrink: 0;
  }
  .detail-art .web-orbit i {
    border-width: 19px;
  }
  .detail-art .phone {
    scale: 1.1;
    top: calc(50% - 140px);
  }
  .detail-art .phone-back {
    left: calc(50% - 130px);
  }
  .detail-art .phone-front {
    left: calc(50% - 10px);
  }
  .detail-art .system-model {
    left: 5%;
    right: 5%;
    height: 60%;
    top: 20%;
  }
  .detail-art .system-sidebar {
    width: 35px;
    font-size: 11px;
    padding: 10px;
    gap: 20px;
  }
  .detail-art .system-sidebar b {
    font-size: 24px;
  }
  .detail-art .system-main {
    padding: 15px;
  }
  .detail-art .system-head {
    font-size: 8px;
  }
  .detail-art .system-head b {
    font-size: 5px;
    padding: 6px;
  }
  .detail-art .system-tiles {
    margin: 17px 0;
    gap: 7px;
  }
  .detail-art .system-tiles > div {
    padding: 12px 8px;
  }
  .detail-art .system-tiles span {
    font-size: 5px;
  }
  .detail-art .system-tiles strong {
    font-size: 14px;
    margin: 8px 0;
  }
  .detail-art .system-tiles small {
    font-size: 5px;
  }
  .detail-art .system-graph {
    font-size: 5px;
    padding: 10px;
  }
  .detail-art .system-graph span {
    padding: 9px;
  }
  .detail-art .system-lines {
    margin-top: 15px;
    gap: 8px;
  }
  .detail-art .system-lines span {
    height: 4px;
  }
  .detail-art .intelligence {
    scale: 1.05;
  }
  .detail-art-caption {
    font-size: 11px;
    left: 20px;
    bottom: 20px;
    line-height: 1.7;
    right: 40px;
  }
  .project-thinking .display-heading {
    font-size: 35px;
    margin: 35px 0;
  }
  .thinking-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }
  .thinking-grid p {
    font-size: 14px;
    margin-top: 13px;
  }
  .thinking-grid .micro-label {
    font-size: 7px;
  }
  .thinking-grid ul {
    margin-top: 12px;
  }
  .thinking-grid li {
    font-size: 12px;
  }
  .interactive-demo {
    padding-top: 10px;
  }
  .interactive-demo > .eyebrow-line {
    font-size: 6px;
    line-height: 1.8;
  }
  .interactive-demo > .eyebrow-line .eyebrow-index {
    font-size: 6px;
  }
  .interactive-demo .section-title-row h2 {
    font-size: 41px;
  }
  .demo-container {
    border-radius: 12px;
  }
  .concept-disclosure {
    padding-top: 10px;
    grid-template-columns: 22px 1fr;
    gap: 22px;
  }
  .concept-disclosure > p {
    font-size: 10px;
  }
  .concept-disclosure .cross {
    font-size: 20px;
  }
  .concept-disclosure .line-link {
    font-size: 7px;
    gap: 20px;
  }
  .next-project {
    min-height: 370px;
    padding-top: 50px;
    padding-bottom: 45px;
  }
  .next-project h2 {
    font-size: 36px;
    width: 70%;
    margin: 25px 0;
  }
  .next-project > .card-visual {
    width: 60%;
    right: -13%;
    opacity: 0.6;
  }
  .next-project > .micro-label {
    font-size: 7px;
  }
  .contact-hero {
    min-height: 680px;
    height: 90svh;
  }
  .contact-hero-inner {
    padding: 140px var(--pad) 45px;
    justify-content: center;
  }
  .contact-hero-inner .page-title {
    font-size: clamp(46px, 11vw, 80px);
    margin: 40px 0 70px;
    line-height: 1.08;
  }
  .contact-hero-inner > .micro-label {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  .contact-hero-bottom {
    display: block;
  }
  .contact-hero-bottom a {
    font-size: 7px;
    display: inline-block;
  }
  .contact-hero-bottom > span {
    display: block;
    font-size: 6px;
    margin-top: 22px;
  }
  .contact-form-section {
    padding-top: 65px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
  }
  .contact-details .display-heading {
    font-size: 43px;
    margin-bottom: 25px;
  }
  .contact-details .body-copy {
    font-size: 13px;
    max-width: 320px;
  }
  .contact-channel {
    margin-top: 30px;
  }
  .contact-channel > a {
    font-size: 23px;
  }
  .contact-location {
    display: none;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .inquiry-form input:not([type='radio']),
  .inquiry-form textarea {
    font-size: 16px;
  }
  .inquiry-form input::placeholder,
  .inquiry-form textarea::placeholder {
    font-size: 13px;
  }
  .inquiry-form fieldset {
    margin: 35px 0;
  }
  .service-choices {
    gap: 8px;
  }
  .service-choice span {
    padding: 10px 13px;
  }
  .form-actions {
    gap: 22px;
    margin-top: 25px;
  }
  .form-actions p {
    font-size: 10px;
  }
  .form-actions .pill {
    padding: 18px 22px;
    gap: 20px;
  }
  .faq-section {
    padding-top: 10px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }
  .faq-grid .display-heading {
    font-size: 41px;
  }
  .faq-grid .process-list h3 {
    font-size: 16px;
    max-width: 240px;
  }
  .faq-grid .process-list summary {
    gap: 12px;
    padding: 23px 0;
  }
  .commerce-demo {
    padding: 24px 18px;
  }
  .demo-brand {
    font-size: 18px;
    padding-bottom: 18px;
  }
  .demo-brand span {
    font-size: 11px;
  }
  .demo-store-top {
    margin: 25px 0;
  }
  .demo-store-top h3 {
    font-size: 32px;
    letter-spacing: -1.8px;
  }
  .demo-bag {
    font-size: 11px;
    gap: 8px;
  }
  .demo-bag b {
    font-size: 10px;
    width: 24px;
    height: 24px;
  }
  .demo-categories {
    gap: 3px;
    margin-bottom: 18px;
  }
  .demo-categories button {
    font-size: 8px;
    padding: 9px 12px;
  }
  .demo-products {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .demo-products article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 8px;
  }
  .object-art {
    width: 130px;
    height: 145px;
    flex-shrink: 0;
    scale: 0.7;
    transform-origin: center;
    overflow: visible;
  }
  .demo-products article > div:last-child {
    flex: 1;
    padding: 10px;
    gap: 10px;
  }
  .demo-products h4 {
    font-size: 12px;
  }
  .demo-products article button {
    width: 27px;
    height: 27px;
    font-size: 20px;
    flex-shrink: 0;
  }
  .lamp i:first-child {
    top: 10px;
  }
  .lamp i:last-child {
    top: 65px;
    height: 90px;
  }
  .lamp:after {
    bottom: -15px;
  }
  .chair i:first-child {
    top: 5px;
  }
  .chair i:nth-child(2) {
    top: 90px;
  }
  .chair i:last-child {
    top: 109px;
  }
  .demo-status {
    font-size: 9px;
    line-height: 1.8;
  }
  .mobile-demo {
    display: block;
    padding: 35px 15px;
  }
  .demo-device {
    width: 265px;
    min-height: 530px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .demo-instruction {
    padding: 30px 20px 0;
  }
  .demo-instruction > span {
    font-size: 7px;
  }
  .demo-instruction p {
    font-size: 27px;
    margin: 18px 0;
  }
  .operations-demo {
    padding: 24px 17px;
  }
  .ops-head {
    gap: 20px;
    padding-bottom: 20px;
  }
  .ops-brand {
    font-size: 13px;
  }
  .ops-head .micro-label {
    text-align: right;
  }
  .operations-demo > h3 {
    font-size: 32px;
    letter-spacing: -1.7px;
    margin-top: 25px;
  }
  .kanban {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .kanban > div {
    min-height: 130px;
    padding: 14px;
  }
  .kanban > div > h4 {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .kanban-item {
    padding: 17px;
  }
  .kanban-item > b {
    font-size: 13px;
    margin: 13px 0;
  }
  .kanban-item > small {
    font-size: 9px;
  }
  .kanban-item > span {
    font-size: 6px;
  }
  .assistant-demo {
    padding: 23px 18px;
  }
  .assistant-heading {
    gap: 10px;
    padding-bottom: 18px;
  }
  .assistant-symbol {
    font-size: 26px;
  }
  .demo-live {
    display: none;
  }
  .chat-messages {
    min-height: 340px;
    max-height: 580px;
    gap: 12px;
  }
  .assistant-message,
  .user-message {
    max-width: 94%;
    padding: 17px;
  }
  .assistant-message p {
    font-size: 15px;
    letter-spacing: -0.3px;
  }
  .user-message {
    font-size: 12px;
  }
  .sample-prompts {
    gap: 7px;
    display: grid;
  }
  .sample-prompts button {
    font-size: 9px;
    padding: 12px 14px;
    text-align: left;
  }
  .assistant-demo .demo-status {
    font-size: 9px;
  }
  .not-found {
    padding-top: 150px;
  }
  .custom-cursor {
    display: none;
  }
  .read-reveal .read-word {
    transition: opacity 0.1s;
  }
}
@media (max-height: 760px) and (min-width: 761px) {
  .expertise-sticky {
    min-height: 0;
  }
  .expertise-heading {
    padding-top: 100px;
    padding-bottom: 20px;
  }
  .expertise-heading .display-heading {
    font-size: 42px;
    line-height: 1.05;
    margin-top: 20px;
  }
  .expertise-card {
    height: 340px;
  }
  .expertise-card h3 {
    margin-top: 45px;
    margin-bottom: 15px;
  }
  .expertise-letter {
    font-size: 200px;
  }
  .expertise-card li {
    padding: 9px 0;
  }
  .expertise-hint {
    top: 205px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .split-reveal:not(.in-view) .word-inner {
    transform: none;
  }
  .read-reveal .read-word {
    opacity: 1 !important;
  }
  .tunnel-story {
    height: 110svh;
  }
  .about-story {
    height: 110svh;
  }
  .story-line:not(:first-child) {
    display: none;
  }
  .expertise-scroll {
    height: auto;
  }
  .expertise-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding-bottom: 45px;
  }
  .expertise-track {
    overflow-x: auto;
    width: auto;
    transform: none !important;
  }
  .custom-cursor {
    display: none;
  }
}

/* Keep the native popover reachable when browser chrome or orientation reduces height. */
#site-navigation {
  max-height: calc(100svh - 120px);
  max-height: calc(100dvh - 104px - max(16px, env(safe-area-inset-bottom)));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-padding-block: 8px;
}
#site-navigation a:focus-visible {
  outline-offset: -4px;
}
@media (max-width: 760px) {
  #site-navigation {
    max-height: calc(100svh - 98px);
    max-height: calc(100dvh - 82px - max(16px, env(safe-area-inset-bottom)));
  }
}

/* Reduced motion is a static reading layout, not a shortened first chapter. */
@media (prefers-reduced-motion: reduce) {
  .tunnel-story,
  .about-story {
    height: auto;
  }
  .tunnel-story .story-sticky,
  .about-story .story-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 120px var(--pad) 65px;
  }
  .tunnel-story .story-topline {
    position: relative;
    inset: auto;
    margin-bottom: 40px;
  }
  .tunnel-story .story-copy,
  .about-chapters {
    display: none;
  }
  .story-reading.visually-hidden,
  .about-reading.visually-hidden {
    position: relative;
    clip: auto;
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0;
    z-index: 3;
  }
  .story-reading ol,
  .about-reading {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 32px;
    text-align: center;
  }
  .story-reading ol {
    margin: 0;
  }
  .story-reading h3 {
    font:
      500 clamp(38px, 5.5vw, 74px) / 1.08 Manrope,
      Arial,
      sans-serif;
    letter-spacing: -0.06em;
    margin: 0;
  }
  .story-reading p {
    font-size: 12px;
    color: #ced6cb;
    line-height: 1.6;
    margin: 16px auto 0;
    max-width: 420px;
  }
  .tunnel-story .story-bottom,
  .about-story .story-bottom {
    display: none;
  }
  .about-hero-label {
    position: relative;
    inset: auto;
  }
  .about-story-copy {
    position: relative;
    inset: auto;
    margin-top: 100px;
  }
  .about-reading.visually-hidden {
    gap: 20px;
    margin-top: 40px;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.6;
  }
}

/* Phase 3: legible chapter handoff, synchronized to the rendered scene. */
.story-copy h2 {
  line-height: 1.06;
}
.story-line {
  opacity: 1;
  transform: none;
  filter: none;
}
.story-row {
  display: block;
  overflow: hidden;
  overflow: clip;
}
.story-row-inner {
  display: block;
  transform: translateY(var(--chapter-shift, 112%));
}
.story-line:first-child {
  --chapter-shift: 0%;
}
.story-has-state .story-row-inner {
  transition: transform 260ms var(--ease);
}
.about-chapters {
  font-size: 11px;
  line-height: 1.6;
}
.about-chapters > span {
  opacity: 1;
}
.about-chapters > span:first-child {
  --chapter-shift: 0%;
}
@media (prefers-reduced-motion: reduce) {
  .story-row-inner {
    transition: none !important;
    transform: none !important;
  }
}

/* Phase 3: readable supporting hierarchy within Paper / Charcoal / Lime. */
:root {
  --muted: #62656c;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #65686f;
  opacity: 1;
}
.read-reveal .read-word,
.js .read-reveal:not(.is-reading) .read-word {
  opacity: 0.65;
}
.micro-label,
.eyebrow-line {
  font-size: 11px;
  line-height: 1.6;
}
.eyebrow-line {
  flex-wrap: wrap;
  row-gap: 10px;
}
.line-link {
  font-size: 11px;
  line-height: 1.6;
  min-height: 44px;
}
.project-meta .micro-label,
.detail-labels,
.detail-summary > .micro-label,
.thinking-grid .micro-label {
  font-size: 11px;
  line-height: 1.6;
}
.project-filters {
  gap: 8px;
}
.project-filters button {
  font-size: 12px;
  min-height: 44px;
  padding: 11px 15px;
  gap: 10px;
}
.project-filters button > span {
  font-size: 11px;
}
.project-toolbar > .micro-label {
  font-size: 11px;
}
.small-muted,
.concept-disclosure > p,
.form-actions p {
  font-size: 12px;
  line-height: 1.7;
}
.concept-disclosure .line-link {
  font-size: 11px;
}
.inquiry-form label,
.inquiry-form legend {
  font-size: 13px;
}
.service-choice span {
  font-size: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.form-feedback {
  font-size: 14px;
}
.form-actions .pill {
  font-size: 11px;
  min-height: 48px;
}
.contact-channel > .micro-label,
.contact-location .micro-label {
  font-size: 11px;
}
.story-topline {
  font-size: 11px;
}
.story-description {
  font-size: 14px;
  line-height: 1.6;
}
.story-bottom {
  font-size: 11px;
  line-height: 1.6;
}
/* Small labels sit on bright rings: a soft dark halo keeps them readable without a visible box. */
.story-topline,
.story-bottom,
.about-hero-label {
  text-shadow:
    0 0 2px #0b100bcc,
    0 1px 14px #0b100be6;
}
.story-description {
  padding-block: 10px;
  background: radial-gradient(closest-side, #0b100bd9 45%, #0b100b00);
  text-shadow: 0 0 2px #0b100bcc;
}
.scene-topline {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.6px;
}
.scene-instruction {
  font-size: 11px;
  line-height: 1.7;
}
.all-projects-row > .micro-label,
.closing-cta > .micro-label,
.next-page > .micro-label,
.next-project > .micro-label {
  font-size: 11px;
  line-height: 1.6;
}
.footer-row p,
.footer-row > div > span,
.footer-fine,
.footer-fine a {
  font-size: 11px;
  line-height: 1.6;
}
.demo-categories button,
.demo-tabs button,
.sample-prompts button {
  font-size: 12px;
  min-height: 44px;
}
.demo-status,
.assistant-demo .demo-status {
  font-size: 12px;
  line-height: 1.7;
}
.demo-brand span,
.demo-bag {
  font-size: 11px;
}
.demo-products article button {
  width: 44px;
  height: 44px;
  min-width: 44px;
}
.demo-device .micro-label,
.demo-instruction > span,
.day-card > span:first-child {
  font-size: 11px;
  line-height: 1.6;
}
.agenda-row {
  font-size: 13px;
}
.agenda-row time,
.agenda-row small {
  font-size: 11px;
  line-height: 1.5;
}
.demo-reset {
  font-size: 11px;
  line-height: 1.6;
  min-height: 44px;
}
.ops-head .micro-label {
  font-size: 11px;
  max-width: 140px;
  line-height: 1.6;
}
.operations-demo > p:not(.demo-status) {
  font-size: 13px;
  line-height: 1.6;
}
.kanban > div > h4 {
  font-size: 13px;
}
.kanban > div > h4 > span {
  font-size: 12px;
  opacity: 1;
  color: #53604b;
}
.kanban-item > span,
.kanban-item > small {
  font-size: 11px;
  line-height: 1.5;
  color: #52604a;
}
.kanban-item > b {
  font-size: 14px;
}
.assistant-heading {
  font-size: 11px;
  line-height: 1.6;
}
.assistant-message > span {
  font-size: 11px;
  line-height: 1.5;
}
.pill:active,
.project-filters button:active,
.demo-categories button:active,
.sample-prompts button:active {
  transform: translateY(1px);
}
.demo-reset:hover,
.back-projects:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 760px) {
  .header-controls {
    gap: 4px;
  }
  .header-controls .pill {
    font-size: 11px;
    padding: 12px;
    gap: 7px;
    min-height: 40px;
  }
  .motion-control {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .eyebrow-index {
    font-size: 11px;
    line-height: 1.6;
  }
  .interactive-demo > .eyebrow-line,
  .interactive-demo > .eyebrow-line .eyebrow-index {
    font-size: 11px;
  }
  .project-meta .micro-label,
  .detail-labels,
  .detail-summary > .micro-label,
  .thinking-grid .micro-label {
    font-size: 11px;
  }
  .project-filters {
    gap: 6px;
  }
  .project-filters button {
    font-size: 12px;
    padding: 10px 13px;
    gap: 10px;
  }
  .project-filters button > span {
    font-size: 11px;
  }
  .projects-intro-bottom .body-copy {
    font-size: 14px;
  }
  .all-projects-row {
    flex-wrap: wrap;
    align-items: center;
  }
  .all-projects-row > .micro-label {
    max-width: none;
    text-align: left;
    font-size: 11px;
  }
  .scene-topline {
    font-size: 11px;
    left: 21px;
    right: 21px;
  }
  .story-topline {
    font-size: 11px;
  }
  .story-description {
    font-size: 13px;
    padding: 0 24px;
    line-height: 1.6;
  }
  .story-bottom {
    font-size: 11px;
    letter-spacing: 0.2px;
  }
  .story-bottom > span:first-child {
    max-width: 210px;
  }
  .about-chapters {
    font-size: 11px;
    letter-spacing: 0.3px;
  }
  .about-hero-label {
    font-size: 10px;
  }
  .expertise-hint,
  .expertise-card > .micro-label,
  .process-scope,
  .belief-columns .micro-label {
    font-size: 11px;
    line-height: 1.6;
  }
  .closing-cta > .micro-label,
  .next-page > .micro-label,
  .next-project > .micro-label {
    font-size: 11px;
  }
  .footer-row p,
  .footer-row > div > span,
  .footer-fine,
  .footer-fine a {
    font-size: 11px;
  }
  .contact-hero-inner > .micro-label,
  .contact-hero-bottom a,
  .contact-hero-bottom > span {
    font-size: 11px;
    line-height: 1.7;
  }
  .service-choice span {
    font-size: 12px;
  }
  .form-actions p,
  .concept-disclosure > p {
    font-size: 12px;
  }
  .form-actions .pill {
    font-size: 11px;
  }
  .concept-disclosure .line-link,
  .back-projects {
    font-size: 11px;
  }
  .demo-brand {
    gap: 16px;
  }
  .demo-brand span,
  .demo-bag {
    font-size: 11px;
    line-height: 1.5;
  }
  .demo-categories button,
  .demo-tabs button,
  .sample-prompts button {
    font-size: 12px;
  }
  .demo-instruction > span,
  .demo-device .micro-label {
    font-size: 11px;
  }
  .ops-head .micro-label {
    font-size: 11px;
    max-width: 120px;
  }
  .operations-demo > p:not(.demo-status) {
    font-size: 13px;
  }
  .assistant-heading {
    font-size: 11px;
  }
  .assistant-message > span {
    font-size: 11px;
  }
  .demo-status,
  .assistant-demo .demo-status {
    font-size: 12px;
  }
}

/* Existing connector artwork, given ATHR-specific product context. */
.scene-disciplines {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #dce7d5;
  margin-bottom: 12px;
}
.scene-caption:before {
  height: 210px;
  background: linear-gradient(transparent, #07100bb8);
}
.demo-task:has(input:checked) {
  color: #586151;
}
.commerce-demo .demo-status,
.operations-demo .demo-status {
  color: #4d5849;
}
.operations-demo > p:not(.demo-status) {
  color: #52604a;
}
@media (max-width: 760px) {
  .scene-disciplines {
    font-size: 11px;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
  }
}

/* Keep the pinned story's focal message inside short and landscape windows. */
@media (max-height: 600px) {
  .story-sticky {
    min-height: 0;
  }
  .story-topline {
    top: 96px;
    font-size: 11px;
  }
  .story-copy {
    padding-top: 60px;
  }
  .story-copy h2 {
    font-size: clamp(36px, 7vw, 64px);
    margin: 12px 0;
    height: 2.2em;
  }
  .story-description {
    font-size: 12px;
    line-height: 1.5;
  }
  .story-bottom {
    bottom: 16px;
    font-size: 11px;
  }
  .about-hero-label {
    top: 96px;
    font-size: 9px;
  }
  .about-story-copy {
    bottom: 50px;
  }
  .about-wordmark {
    font-size: clamp(80px, 25svh, 140px);
  }
  .about-chapters {
    margin-top: 12px;
  }
}

/* Phase 4: safe form initialization and factual provider disclosure. */
.inquiry-form > .draft-fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-availability {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.form-availability a,
.privacy-disclosure a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-disclosure {
  padding-top: 30px;
  padding-bottom: 60px;
}
.privacy-disclosure h2 {
  font:
    500 clamp(28px, 4vw, 44px) / 1.15 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
  margin: 22px 0;
}
.privacy-disclosure p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
@media (max-width: 359px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }
  .site-header .site-brand,
  .site-header .logo-crop {
    width: 82px;
  }
  .site-header .logo-crop {
    height: 30px;
  }
  .site-header .logo-crop img {
    width: 100px;
    top: -38px;
    left: -7px;
  }
  .header-controls {
    gap: 4px;
  }
  .header-controls .pill {
    font-size: 11px;
    padding: 10px 8px;
    gap: 5px;
    min-height: 40px;
  }
  .header-controls .motion-control {
    width: 36px;
    height: 40px;
  }
}

/* Phase 5: local caption separation, without changing the scene or materials. */
.scene-caption > div {
  position: relative;
  isolation: isolate;
  max-width: calc(100% - 160px);
}
.scene-caption > div::before {
  content: '';
  position: absolute;
  inset: -16px -20px -14px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(115deg, #07100be6, #07100bd9);
  pointer-events: none;
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    500 12px/1.2 Arial,
    sans-serif;
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 24px;
}
.language-switcher [aria-current] {
  font-weight: 700;
}
.language-switcher > span[aria-hidden] {
  opacity: 0.5;
}
.language-switcher a {
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.language-switcher a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
/* Enlarge the tap area of small text links to ~44px without changing layout or the focus ring. */
.language-switcher a,
.footer-fine a,
.footer-contact > a {
  position: relative;
}
.language-switcher a::after,
.footer-fine a::after,
.footer-contact > a::after {
  content: '';
  position: absolute;
  inset: -13px -6px;
}
/* Ultra-short reflow: leave room for the About wordmark below fixed controls. */
@media (max-height: 300px) and (prefers-reduced-motion: no-preference) {
  .about-story .story-sticky {
    min-height: 350px;
  }
  html[lang] .about-story .about-story-copy {
    bottom: 105px;
  }
  html[lang='ar'] .about-story .about-story-copy {
    bottom: 90px;
  }
  .about-story .about-hero-label {
    top: 220px;
  }
}
@media (max-width: 760px) {
  .scene-caption > div {
    max-width: 100%;
  }
  .scene-caption > div::before {
    inset: -14px -15px -12px;
  }
  .language-switcher {
    position: absolute;
    inset-inline-start: var(--pad);
    top: 65px;
    padding: 3px 9px;
    font-size: 12px;
    background: var(--paper);
    color: var(--ink);
  }
  .has-scrolled .language-switcher {
    top: 60px;
  }
  /* The switcher sits on a second row, so the header must extend below it. */
  .site-header,
  .has-scrolled .site-header {
    padding-bottom: 41px;
  }
  .home-hero {
    padding-top: 130px;
  }
}

/* Refinement: readable containers and glyph-safe chapter masks. */
.privacy-disclosure {
  max-width: none;
  padding-block: 64px 96px;
}
.privacy-layout {
  max-width: 1600px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.privacy-heading h2 {
  max-width: 16ch;
  margin-block: 22px 0;
}
.privacy-content {
  min-width: 0;
  max-width: 760px;
}
.privacy-disclosure .privacy-summary {
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.7;
  margin-block: 0 30px;
  max-width: 100%;
}
.privacy-details {
  border-block: 1px solid var(--line);
}
.privacy-details summary {
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}
.privacy-details summary::-webkit-details-marker {
  display: none;
}
.privacy-details summary span {
  font-size: 22px;
  flex-shrink: 0;
}
.privacy-details[open] summary span {
  rotate: 45deg;
}
.privacy-body {
  padding-block: 0 18px;
}
.privacy-disclosure .privacy-body p {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}
.privacy-body a {
  display: inline-block;
  line-height: 1.7;
}
.draft-disclosure {
  display: block;
  margin-top: 8px;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink);
}
html[lang='ar'] .privacy-disclosure .privacy-summary {
  font-size: 23px;
  line-height: 1.85;
}
html[lang='ar'] .privacy-details summary {
  font-size: 18px;
}
html[lang='ar'] .privacy-disclosure .privacy-body p {
  font-size: 17px;
  line-height: 1.95;
}
html[lang='ar'] .draft-disclosure {
  font-size: 14px;
  line-height: 1.85;
}
.story-copy h2 {
  height: var(--story-title-height, 3.4em);
}
.story-row {
  height: auto;
  line-height: 1.24;
  padding-block: 0.14em;
  margin-block: -0.14em;
}
.story-row-inner {
  line-height: inherit;
  padding-block: 0.04em;
}
.story-row-inner em {
  line-height: inherit;
}
.about-chapters {
  height: var(--about-copy-height, 6em);
}
.about-chapters .story-row {
  height: auto;
  min-height: 0;
  line-height: 1.8;
}
.about-chapters .story-row-inner {
  height: auto;
  line-height: inherit;
}
html[lang='ar'] .story-copy h2 {
  height: var(--story-title-height, 4em);
}
html[lang='ar'] .story-row {
  height: auto;
  line-height: 1.5;
  padding-block: 0.16em;
  margin-block: -0.16em;
}
html[lang='ar'] .about-chapters .story-row {
  line-height: 1.95;
}
@media (max-width: 760px) {
  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .privacy-disclosure {
    padding-block: 50px 65px;
  }
  .privacy-heading h2 {
    max-width: 100%;
  }
  html[lang='ar'] .privacy-disclosure .privacy-summary {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[lang] .story-copy h2,
  html[lang] .about-chapters {
    height: auto;
  }
}

/* Refinement: one composed ending, then a full, legible footer. */
.refined-ending {
  padding: 84px var(--pad) 88px;
  min-height: 0;
  background: #202925;
  color: #f0f0f6;
  overflow: visible;
}
.ending-grid {
  max-width: 1600px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: center;
}
.ending-invitation > .micro-label {
  color: #c4cec5;
  font-size: 12px;
  line-height: 1.7;
}
.ending-title {
  font:
    500 clamp(40px, 4.3vw, 76px) / 1.12 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 27px 0 25px;
}
.ending-title em {
  color: var(--lime);
  letter-spacing: -0.055em;
}
.ending-contact {
  font-size: 12px;
  gap: 48px;
  padding-block: 12px;
  min-height: 46px;
}
.refined-ending .next-page {
  display: flex;
  position: relative;
  isolation: isolate;
  flex-direction: column;
  justify-content: center;
  background: none;
  color: inherit;
  min-height: 230px;
  height: auto;
  padding: 28px 0 28px 36px;
  border-inline-start: 1px solid #74836b6b;
  overflow: visible;
  gap: 0;
}
html[dir='rtl'] .refined-ending .next-page {
  padding: 28px 36px 28px 0;
}
.refined-ending .next-page > .micro-label {
  font-size: 11px;
  color: #becbb8;
  letter-spacing: 0.4px;
}
.refined-ending .next-page-title {
  font:
    500 clamp(30px, 3.6vw, 58px) / 1.2 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 26px 0 12px;
  gap: 20px;
  align-items: center;
  overflow: visible;
}
.refined-ending .next-page-title > span {
  font:
    400 44px/1 Arial,
    sans-serif;
  color: var(--lime);
  flex-shrink: 0;
}
.refined-ending .next-caption {
  font-size: 14px;
  line-height: 1.8;
  color: #cbd5c6;
  max-width: 36ch;
  z-index: 1;
}
.ending-route-line {
  height: 2px;
  position: absolute;
  bottom: 0;
  inset-inline: 36px 0;
  background: #c6df9755;
  transform-origin: 0 50%;
  transition: background 0.25s;
}
.next-page:hover .ending-route-line,
.next-page:focus-visible .ending-route-line {
  background: var(--lime);
}
.refined-footer {
  padding: 64px var(--pad) 25px;
  background: #f0f0f6;
}
.refined-footer .footer-row {
  max-width: 1600px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
}
.refined-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 12px;
}
.refined-footer .site-brand {
  width: 150px;
}
.refined-footer .logo-crop {
  width: 150px;
  height: 54px;
}
.refined-footer .logo-crop img {
  width: 181px;
  top: -68px;
  left: -13px;
}
.refined-footer .footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 30ch;
  margin: 0;
}
.refined-footer .footer-brand > span {
  font-size: 11px;
  line-height: 1.7;
  color: #666c68;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-navigation > .micro-label,
.footer-contact > .micro-label {
  font-size: 11px;
  color: #666c68;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}
.footer-navigation > a {
  font-size: 15px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 230px;
}
.footer-navigation > a > span {
  font-size: 20px;
  color: #697361;
}
.refined-footer .footer-contact {
  gap: 16px;
  align-items: flex-start;
}
.footer-contact > a {
  font-size: clamp(16px, 1.45vw, 23px);
  white-space: nowrap;
  line-height: 1.7;
  letter-spacing: -0.02em;
}
.footer-time {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.7;
}
.footer-time > span {
  max-width: 17ch;
  color: #666c68;
  font-size: 11px;
}
.footer-time time {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.refined-footer .footer-fine {
  max-width: 1600px;
  margin: 44px auto 0;
  padding-top: 24px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.8;
  color: #666c68;
}
html[lang='ar'] .ending-title {
  font-family: Tajawal, Arial, sans-serif;
  font-size: clamp(42px, 4.4vw, 78px);
  line-height: 1.48;
  letter-spacing: 0;
}
html[lang='ar'] .ending-title em {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
}
html[lang='ar'] .refined-ending .next-page-title {
  font-family: Tajawal, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
html[lang='ar'] .refined-ending .next-caption {
  font-size: 17px;
  line-height: 1.9;
}
html[lang='ar'] .ending-contact {
  font-size: 15px;
}
html[lang='ar'] .refined-footer .footer-brand p {
  font-size: 16px;
  line-height: 1.9;
}
html[lang='ar'] .footer-navigation > a {
  font-size: 18px;
}
html[lang='ar'] .refined-footer .footer-brand > span[lang='en'] {
  font-family: Arial, sans-serif;
  font-size: 11px;
}
html[lang='ar'] .refined-footer .footer-contact > a {
  font-family: Arial, sans-serif;
}
html[lang='ar'] .footer-time > span {
  font-size: 13px;
}
html[lang='ar'] .refined-footer .footer-fine {
  font-size: 12px;
}
@media (max-width: 760px) {
  .refined-ending {
    padding-block: 58px 60px;
  }
  .ending-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .ending-title {
    font-size: clamp(36px, 8.2vw, 56px);
    line-height: 1.2;
  }
  html[lang='ar'] .ending-title {
    font-size: clamp(36px, 9vw, 55px);
    line-height: 1.5;
  }
  .refined-ending .next-page,
  html[dir='rtl'] .refined-ending .next-page {
    padding: 28px 0 18px;
    border-inline-start: 0;
    border-top: 1px solid #74836b6b;
    min-height: 0;
  }
  .refined-ending .next-page-title {
    font-size: 36px;
    margin-block: 16px 6px;
  }
  html[lang='ar'] .refined-ending .next-page-title {
    font-size: 36px;
  }
  .ending-route-line {
    inset-inline: 0;
  }
  .refined-footer {
    padding-block: 45px 24px;
  }
  .refined-footer .footer-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px 20px;
  }
  .refined-footer .footer-brand {
    grid-column: 1/-1;
    gap: 16px;
  }
  .refined-footer .footer-brand p {
    font-size: 14px;
  }
  .footer-navigation > a {
    font-size: 13px;
  }
  html[lang='ar'] .footer-navigation > a {
    font-size: 16px;
  }
  .footer-contact > a {
    font-size: 14px;
    white-space: normal;
  }
  .footer-time {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .refined-footer .footer-fine {
    margin-top: 30px;
    gap: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Refinement motion: complete by default; progress is an optional enhancement. */
[data-build] :is(.phone-small-logo, .system-sidebar b) {
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: -0.05em;
}
[data-build] .app-chart {
  height: 48px;
  margin-bottom: 10px;
}
html[lang='ar'] [data-build] .phone-front h3 {
  font-size: 23px;
  line-height: 1.3;
  margin-block: 18px 12px;
}
html[lang='ar'] [data-build] .phone-back p {
  font-size: 26px;
  line-height: 1.3;
}
@view-transition {
  navigation: auto;
}
.site-header {
  view-transition-name: athr-header;
}
::view-transition-group(athr-header) {
  animation: none;
}
::view-transition-old(root) {
  animation: athr-depart 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
::view-transition-new(root) {
  animation: athr-arrive 480ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  mix-blend-mode: normal;
}
@keyframes athr-depart {
  to {
    opacity: 0.35;
    transform: translateY(-12px);
  }
}
@keyframes athr-arrive {
  from {
    clip-path: inset(18% 0 82% 0 round 12px);
    transform: translateY(16px);
  }
  to {
    clip-path: inset(0 0 0 0 round 0);
    transform: none;
  }
}
html:active-view-transition .split-reveal .word-inner {
  transform: none !important;
}
[data-build] {
  --shell: 1;
  --structure: 1;
  --detail: 1;
  --connection: 1;
  --depth: 1;
  --pointer-x: 0;
  --pointer-y: 0;
  perspective: 1100px;
}
[data-build] .browser-model {
  height: 62%;
  top: 18%;
  transform: perspective(1100px) translate3d(0, calc((1 - var(--shell)) * 60px), 0)
    rotateX(calc((1 - var(--shell)) * 24deg + var(--pointer-y) * -3deg))
    rotateY(calc(var(--pointer-x) * 5deg)) rotateZ(calc(-9deg + var(--depth) * 5deg));
  border-radius: calc(6px + (1 - var(--shell)) * 20px);
  box-shadow: 18px 28px 48px #26214338;
}
[data-build] .browser-content {
  clip-path: inset(0 calc((1 - var(--structure)) * 100%) 0 0);
  transform-origin: top;
}
[data-build] .browser-top {
  border-bottom-color: color-mix(in srgb, #a7a79e calc(var(--shell) * 100%), transparent);
}
[data-build] .web-orbit {
  transform: scale(calc(0.45 + var(--detail) * 0.55));
}
[data-build] .web-orbit i {
  border-width: calc(6px + var(--connection) * 16px);
  transform: rotateX(calc(72deg - var(--depth) * 14deg)) rotateY(calc(20deg + var(--pointer-x) * 8deg))
    rotateZ(30deg);
}
[data-build] .web-orbit i:nth-child(2) {
  transform: rotateX(25deg) rotateY(calc(90deg - var(--detail) * 30deg)) rotateZ(-20deg);
}
[data-build] .web-orbit i:nth-child(3) {
  transform: rotateX(calc(-85deg + var(--connection) * 43deg)) rotateY(-30deg);
}
[data-build] .browser-footer {
  clip-path: inset(0 calc((1 - var(--connection)) * 100%) 0 0);
}
[data-build] .phone-back {
  transform: translate3d(calc((1 - var(--shell)) * -90px), calc((1 - var(--shell)) * 45px), -30px)
    rotate(calc(-20deg + var(--depth) * 7deg)) rotateY(calc(var(--pointer-x) * -4deg));
}
[data-build] .phone-front {
  transform: translate3d(calc((1 - var(--structure)) * 95px), calc((1 - var(--structure)) * -55px), 25px)
    rotate(calc(20deg - var(--depth) * 12deg)) rotateY(calc(var(--pointer-x) * 5deg));
}
[data-build] .app-chart i {
  transform-origin: bottom;
  transform: scaleY(calc(0.08 + var(--detail) * 0.92));
}
[data-build] .app-tile {
  clip-path: inset(calc((1 - var(--connection)) * 100%) 0 0 0);
}
[data-build] .system-model {
  transform: perspective(1100px) rotateX(calc((1 - var(--shell)) * 24deg + 5deg + var(--pointer-y) * -2deg))
    rotateY(calc((1 - var(--depth)) * 16deg + var(--pointer-x) * 4deg)) rotateZ(-3deg);
  box-shadow: 20px 30px 55px #3d42363a;
}
[data-build] .system-tiles > div:first-child {
  transform: translate3d(calc((1 - var(--structure)) * -75px), calc((1 - var(--structure)) * -45px), 0);
}
[data-build] .system-tiles > div:last-child {
  transform: translate3d(calc((1 - var(--structure)) * 80px), calc((1 - var(--structure)) * 45px), 0);
}
[data-build] .system-graph i {
  transform-origin: 0 50%;
  transform: scaleX(var(--connection));
  background: #759842;
  height: 2px;
}
[data-build] .system-graph span {
  border-color: color-mix(in srgb, #748b51 calc(var(--connection) * 100%), #bac4ad);
}
[data-build] .system-lines span {
  transform-origin: 0 50%;
  transform: scaleX(var(--detail));
}
[data-build] .system-lines span:nth-child(2) {
  transform: scaleX(var(--connection));
}
[data-build] .ai-ring,
[data-build] .ai-core {
  animation: none !important;
}
.detail-art .intelligence {
  scale: 1;
}
[data-build] .ai-ring {
  width: 52%;
  height: 52%;
  max-width: 400px;
  max-height: 400px;
  border-color: #b5d97f66;
  mask-image: conic-gradient(#000 calc(var(--structure) * 1turn), transparent 0);
}
[data-build] .r1 {
  transform: rotateY(calc(80deg - var(--depth) * 25deg)) rotateX(calc(30deg - var(--detail) * 15deg));
}
[data-build] .r2 {
  width: 68%;
  height: 68%;
  max-width: 520px;
  max-height: 520px;
  transform: rotateY(calc(-80deg + var(--depth) * 30deg)) rotateX(-20deg);
  mask-image: conic-gradient(#000 calc(var(--connection) * 1turn), transparent 0);
}
[data-build] .r3 {
  width: 40%;
  height: 40%;
  max-width: 300px;
  max-height: 300px;
  transform: rotateX(calc(82deg - var(--detail) * 17deg)) rotateZ(30deg);
}
[data-build] .ai-core {
  font-size: clamp(80px, 9vw, 150px);
  transform: scale(calc(0.4 + var(--shell) * 0.6)) rotate(calc((1 - var(--shell)) * 90deg));
  text-shadow: 0 0 45px #b8ed4238;
}
.ai-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #bfe980;
  stroke-width: 1.2;
  opacity: 0.45;
  pointer-events: none;
}
.ai-connections path,
.ai-connections circle {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--connection));
}
[data-build] .ai-node {
  font-size: 11px;
  line-height: 1.6;
  padding: 12px 18px;
  gap: 20px;
  transform: translate3d(0, calc((1 - var(--detail)) * 35px), calc(var(--depth) * 15px));
  background: #354630e8;
  border-color: #badb7566;
}
[data-build] .node-one {
  left: 12%;
  top: 21%;
}
[data-build] .node-two {
  right: 9%;
  top: 44%;
}
[data-build] .node-three {
  left: 23%;
  bottom: 17%;
}
.detail-art [data-build] .browser-model {
  height: 70%;
  top: 13%;
}
.detail-art [data-build] .web-orbit i {
  border-width: calc(12px + var(--connection) * 24px);
}
.detail-art [data-build] .ai-node {
  font-size: clamp(13px, 1.2vw, 19px);
  padding: 16px 25px;
}
.detail-art [data-build] .ai-core {
  font-size: clamp(100px, 12vw, 190px);
}
.detail-art [data-build] .visual-label,
.detail-art [data-build] .visual-caption {
  display: none;
}
.process-graphic {
  height: 400px;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  isolation: isolate;
}
.process-system {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;
  fill: none;
  stroke: #8d9a81;
  stroke-width: 1.2;
}
.process-boundary {
  stroke-dasharray: 3 12;
  opacity: 0.5;
  transition: stroke 0.45s;
}
.process-link {
  transition: opacity 0.3s;
  stroke-width: 1.4;
}
.process-node {
  fill: #c6e58b;
  stroke: #7f9b52;
  stroke-width: 1.5;
}
.process-graphic > span {
  position: absolute;
  direction: ltr;
  unicode-bidi: isolate;
  font:
    600 88px/1 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.08em;
  transform: none;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.process-axis {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: #f0f0f6;
  z-index: -1;
}
.process-graphic[data-process-state='1'] .process-boundary {
  stroke: #a5b284;
  stroke-dasharray: 2 14;
}
.process-graphic[data-process-state='2'] .process-node {
  fill: #d5e0be;
}
.process-graphic[data-process-state='3'] .process-link {
  stroke: #739f3b;
  stroke-width: 2;
}
.process-graphic[data-process-state='4'] .process-boundary {
  stroke: #769b42;
  stroke-dasharray: none;
  stroke-width: 2;
}
.word-marquee {
  display: block;
  overflow: hidden;
  direction: ltr;
  padding: 28px 0 32px;
  line-height: 1.5;
  contain: paint;
}
.word-marquee > .marquee-seed {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: normal;
  margin-inline: auto;
  text-align: center;
  padding-inline: 24px;
  font-size: clamp(24px, 2.8vw, 42px);
  animation: none;
}
.word-marquee[data-marquee-ready='true'] > .marquee-seed {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  direction: ltr;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  direction: ltr;
}
.marquee-piece {
  display: block;
  flex-shrink: 0;
  padding-inline: 18px;
  white-space: nowrap;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.5;
}
html[lang='ar'] .marquee-piece {
  direction: rtl;
  font-size: clamp(27px, 2.8vw, 44px);
  line-height: 1.7;
}
@media (max-width: 760px) {
  ::view-transition-new(root) {
    animation-duration: 380ms;
  }
  .approach-grid {
    gap: 20px;
  }
  .approach-grid .process-list summary {
    padding-block: 18px;
  }
  .process-graphic {
    height: 190px;
    max-width: 350px;
  }
  .process-graphic > span {
    font-size: 54px;
  }
  .detail-art [data-build] .browser-model {
    height: 66%;
    top: 17%;
  }
  .detail-art [data-build] .web-orbit i {
    border-width: calc(7px + var(--connection) * 12px);
  }
  .detail-art [data-build] .ai-node {
    font-size: 11px;
    padding: 10px 15px;
    gap: 12px;
  }
  [data-build] .node-one {
    left: 8%;
    top: 20%;
  }
  [data-build] .node-two {
    right: 7%;
    top: 46%;
  }
  [data-build] .node-three {
    left: 17%;
    bottom: 14%;
  }
  .word-marquee {
    padding-block: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  ::view-transition-group(*) {
    animation: none !important;
  }
  [data-build] {
    --shell: 1 !important;
    --structure: 1 !important;
    --detail: 1 !important;
    --connection: 1 !important;
    --depth: 1 !important;
    --pointer-x: 0 !important;
    --pointer-y: 0 !important;
  }
  .word-marquee .marquee-track {
    display: none;
  }
  .word-marquee[data-marquee-ready='true'] > .marquee-seed {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    padding-inline: 24px;
  }
  .process-link,
  .process-boundary {
    transition: none;
  }
}

/* The ATHR trace on the home page (experience.js). Difference blending keeps one line legible on paper and on dark. */
.page-trace,
.page-trace-marks {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
/* The paths live in <defs>; each <use> copy sets the colour for its ground (see the clip paths in experience.js). */
.page-trace defs path,
.page-trace use {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.page-trace .on-light {
  stroke: var(--ink);
  opacity: 0.42;
}
.page-trace .on-dark {
  stroke: #e9eee6;
  opacity: 0.5;
}
.page-trace-marks circle {
  fill: var(--lime);
}
.trace-start {
  stroke: var(--ink);
  stroke-width: 1.5;
}
.page-trace-marks .trace-tip {
  stroke: #d4ff5a55;
  stroke-width: 9;
}
.trace-end {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.trace-complete .trace-end {
  transform: scale(1);
}
.trace-complete :is(.trace-tip, .trace-glow) {
  opacity: 0;
}
/* The comet: a lime stretch behind the tip, fading toward its tail through a gradient set by the script. */
/* A wide faint stroke under a narrow bright one: a glow without a filter to repaint every frame. */
:is(.trace-glow, .trace-glow-halo) {
  fill: none;
  stroke-linecap: round;
  transition: opacity 0.4s;
}
.trace-glow {
  stroke-width: 3;
}
.trace-glow-halo {
  stroke-width: 10;
  opacity: 0.3;
}
.trace-complete .trace-glow-halo {
  opacity: 0;
}
/* Landing: two rings of light spread from the full stop when the line arrives. */
.page-trace-marks .trace-ripple {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.trace-complete .trace-ripple {
  animation: trace-ripple 1.8s var(--ease) 0.15s both;
}
.trace-complete .trace-ripple:last-child {
  animation-delay: 0.5s;
}
@keyframes trace-ripple {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(7);
  }
}
/* The line passes behind the pinned tunnel and comes out below it. */
.tunnel-story {
  z-index: 2;
}
@media (max-width: 760px) {
  .page-trace defs path,
  .page-trace use {
    stroke-width: 1.2;
  }
}
@media print {
  .page-trace,
  .page-trace-marks {
    display: none;
  }
}

/* The visitor's own trace on the contact page. */
.visitor-trace {
  margin: 40px 0 0;
  padding: 20px 22px 16px;
  border-radius: 18px;
  background: #171e19;
  color: #e9eee6;
  max-width: 520px;
}
.visitor-trace figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}
.visitor-trace .micro-label {
  color: var(--lime);
  font-size: 11px;
}
.visitor-trace svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 6px;
}
.visitor-trace path {
  fill: none;
  stroke: #e9eee6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: trace-draw 2.4s var(--ease) 0.3s forwards;
}
.visitor-trace circle {
  fill: #e9eee6;
}
.visitor-trace circle.is-lime {
  fill: var(--lime);
}
.visitor-trace .trace-art {
  display: block;
  width: 100%;
  margin: 12px 0 10px;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 40%, #222b24, #121813 75%);
}
.visitor-trace .trace-art[hidden] {
  display: none;
}
.trace-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.visitor-trace p {
  margin: 0;
  font-size: 12px;
  color: #aab4a8;
}
.trace-save {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lime);
  border-radius: 22px;
  background: transparent;
  color: var(--lime);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.6px;
  cursor: pointer;
}
.trace-save:hover,
.trace-save:focus-visible {
  background: var(--lime);
  color: #171e19;
}
.trace-save[hidden] {
  display: none;
}
@keyframes trace-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .visitor-trace path {
    stroke-dashoffset: 0;
  }
}

/* ---- The trace language, site-wide (experience.js) ---- */

/* The thread between pages: drawn from where a link was pressed to the new page's heading. */
.page-thread,
.form-knot {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 98;
  pointer-events: none;
  overflow: visible;
}
:is(.page-thread, .form-knot) path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px #9fcf2a);
}
:is(.page-thread, .form-knot) circle {
  fill: var(--lime);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px var(--lime));
}

/* Emphasised words: a lime marker stroke that draws itself in reading direction. */
.ink-marker {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 0% 0.3em;
  background-position: 0 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.9s var(--ease) 0.35s;
}
html[dir='rtl'] .ink-marker {
  background-position: 100% 88%;
}
.ink-marker.inked {
  background-size: 100% 0.3em;
}

/* The site remembers: concepts opened earlier in this tab, and visited pages in the menu and footer. */
.visited-mark {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 20px;
  background: #171e19e6;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.6px;
}
.visited-mark::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
:is(#site-navigation nav > a, .footer-navigation a).is-visited::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-start: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1.5px #171e19;
  vertical-align: middle;
}

/* Sound of the line: an opt-in toggle with a small equaliser that moves only while sound is on. */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.8px;
  cursor: pointer;
}
.sound-toggle[hidden] {
  display: none;
}
.sound-toggle[aria-pressed='true'] {
  border-color: var(--ink);
}
.sound-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.sound-icon i {
  width: 2px;
  height: 4px;
  background: currentColor;
}
.sound-toggle[aria-pressed='true'] .sound-icon i {
  background: #7aa51c;
  animation: sound-bar 0.9s ease-in-out infinite alternate;
}
.sound-toggle[aria-pressed='true'] .sound-icon i:nth-child(2) {
  animation-delay: -0.3s;
}
.sound-toggle[aria-pressed='true'] .sound-icon i:nth-child(3) {
  animation-delay: -0.6s;
}
@keyframes sound-bar {
  to {
    height: 12px;
  }
}

/* 404: the tangled thread. */
.knot {
  height: clamp(180px, 26vw, 280px);
  margin: 10px 0 6px;
  cursor: grab;
  touch-action: none;
}
.knot:active {
  cursor: grabbing;
}
.knot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.knot path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s;
}
.knot circle {
  fill: var(--lime);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.knot.untangled path {
  stroke: #7aa51c;
}
.knot.untangled circle {
  transform: scale(1);
}
.knot-hint {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
}
.not-found .line-link.is-found {
  color: var(--ink);
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 100% 0.35em;
}
.not-found .sound-toggle {
  margin-top: 26px;
}

/* About: the minds layer sits above the particles and below the copy. */
.minds {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Projects: the thread the archive cards hang on, behind the cards. */
.archive-projects {
  position: relative;
}
.archive-projects > .project-card {
  position: relative;
  z-index: 1;
}
.project-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.project-threads path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  opacity: 0.35;
}

/* First visit: the home page opens with "a." written in one stroke, then the page shows through. */
.athr-intro body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cstyle%3Epath%7Bfill:none;stroke:%23202124;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:220;stroke-dashoffset:220;animation:d .8s cubic-bezier(.2,.7,.2,1) .15s forwards%7Dcircle%7Bfill:%23d4ff5a;transform-origin:84px 74px;transform:scale(0);animation:p .35s ease-out .95s forwards%7D@keyframes d%7Bto%7Bstroke-dashoffset:0%7D%7D@keyframes p%7B70%25%7Btransform:scale(1.5)%7Dto%7Btransform:scale(1)%7D%7D%3C/style%3E%3Cpath d='M64 40C58 28 39 27 30 41s-3 32 12 33 21-11 22-25V36v30c0 7 3 10 8 10'/%3E%3Ccircle cx='84' cy='74' r='6'/%3E%3C/svg%3E")
    center / 120px no-repeat;
  animation: intro-out 0.55s var(--ease) 1.35s forwards;
}
@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Night in Amman: the page turns dark after sunset in Jordan (decided in <head>). Light components stay light
   islands by restoring the day palette inside them. */
html.amman-night {
  --paper: #111612;
  --ink: #e7ece4;
  --muted: #9ba59a;
  --line: #2d362f;
  color-scheme: dark;
}
.amman-night :is(.refined-footer, .process-axis) {
  background: var(--paper);
}
.amman-night .refined-footer .logo-crop img {
  filter: url(#logo-ink) invert(1);
}
.amman-night
  :is(
    #site-navigation nav,
    .concept-badge,
    .project-hover,
    .next-page:not(.next-page-integrated),
    .demo-container,
    .expertise-card,
    .pill:not(.dark),
    .detail-art-caption
  ) {
  --paper: #f0f0f6;
  --ink: #202124;
  --muted: #62656c;
  --line: #d0d1d7;
  color: var(--ink);
}
.amman-night .page-trace-marks .trace-start {
  stroke: #111612;
}
.amman-night .knot.untangled path,
.amman-night .sound-toggle[aria-pressed='true'] .sound-icon i {
  stroke: var(--lime);
  background: var(--lime);
}
.amman-night .project-threads path {
  opacity: 0.5;
}
.amman-night.athr-intro body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cstyle%3Epath%7Bfill:none;stroke:%23e7ece4;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:220;stroke-dashoffset:220;animation:d .8s cubic-bezier(.2,.7,.2,1) .15s forwards%7Dcircle%7Bfill:%23d4ff5a;transform-origin:84px 74px;transform:scale(0);animation:p .35s ease-out .95s forwards%7D@keyframes d%7Bto%7Bstroke-dashoffset:0%7D%7D@keyframes p%7B70%25%7Btransform:scale(1.5)%7Dto%7Btransform:scale(1)%7D%7D%3C/style%3E%3Cpath d='M64 40C58 28 39 27 30 41s-3 32 12 33 21-11 22-25V36v30c0 7 3 10 8 10'/%3E%3Ccircle cx='84' cy='74' r='6'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .ink-marker {
    background-size: 100% 0.3em;
  }
  .athr-intro body::after {
    display: none;
  }
}
/* At night the text is light, so the marker becomes a thin underline that does not sit behind the letters. */
.amman-night .ink-marker {
  background-position-y: 100%;
}
.amman-night .ink-marker.inked {
  background-size: 100% 0.08em;
}
/* The lasso around the contact button uses the text colour, so it reads on paper by day and on dark at night. */
.form-knot path {
  stroke: var(--ink);
  stroke-width: 1.8;
  filter: none;
}

/* Day / night button: beside Pause on wide screens, on the language row at the inline end on phones. */
.theme-control {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e0e1e9;
  color: #202124;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.theme-control:hover {
  background: var(--lime);
}
.theme-control svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-control .sun-icon,
.amman-night .theme-control .moon-icon {
  display: none;
}
.amman-night .theme-control .sun-icon {
  display: block;
}
.header-is-dark .theme-control {
  background: #ffffffea;
  color: #202124;
}
.header-is-dark .theme-control:hover {
  background: var(--lime);
}
@media (max-width: 760px) {
  .theme-control {
    position: absolute;
    inset-inline-end: var(--pad);
    top: 63px;
    width: 34px;
    height: 34px;
  }
  .has-scrolled .theme-control {
    top: 58px;
  }
  .theme-control svg {
    width: 16px;
    height: 16px;
  }
}
/* Switching by hand eases the colours instead of flipping them. */
.theme-changing,
.theme-changing body,
.theme-changing body * {
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease),
    border-color 0.6s var(--ease) !important;
}

/* Scene stills (scripts/posters.mjs): the opening frame of each 3D scene, shown until the live scene renders the
   same frame, and kept on devices that never load the renderer. Loaded only near the viewport (data-poster). */
.scene-fallback[data-poster] {
  background-size: cover;
  background-position: center;
}
.scene-fallback[data-poster]::after {
  content: none;
}
.scene-fallback[data-poster][data-scene='modules'] {
  background-image: url(/assets/scenes/modules-desktop.jpg);
}
.scene-fallback[data-poster][data-scene='tunnel'] {
  background-image: url(/assets/scenes/tunnel-desktop.jpg);
}
.scene-fallback[data-poster][data-scene='particles'] {
  background-image: url(/assets/scenes/particles-desktop.jpg);
}
.scene-fallback[data-poster][data-scene='connections'] {
  background-image: url(/assets/scenes/connections-desktop.jpg);
}
@media (max-width: 760px) {
  .scene-fallback[data-poster][data-scene='modules'] {
    background-image: url(/assets/scenes/modules-phone.jpg);
  }
  .scene-fallback[data-poster][data-scene='tunnel'] {
    background-image: url(/assets/scenes/tunnel-phone.jpg);
  }
  .scene-fallback[data-poster][data-scene='particles'] {
    background-image: url(/assets/scenes/particles-phone.jpg);
  }
  .scene-fallback[data-poster][data-scene='connections'] {
    background-image: url(/assets/scenes/connections-phone.jpg);
  }
}

/* Night contrast: these quiet labels use fixed greys tuned for paper; on the night ground they take the muted
   text colour instead (WCAG AA). */
.amman-night
  :is(
    .inquiry-form label,
    .inquiry-form legend,
    .refined-footer .footer-brand > span,
    .footer-contact > .micro-label,
    .footer-navigation > .micro-label,
    .footer-time > span,
    .refined-footer .footer-fine
  ) {
  color: var(--muted);
}

/* Keyboard focus on the trace controls: a clear ring in the element's own colour, on paper and on dark. */
:is(.theme-control, .sound-toggle, .trace-save, .story-skip, .knot, .expertise-track):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.knot:focus-visible {
  border-radius: 12px;
}
