/* ==========================================================================
   Abdul Web Solutions — theme stylesheet
   --------------------------------------------------------------------------
   01 Tokens & base        07 Marquee & bands      13 Testimonials
   02 Typography           08 Stats                14 CTA & footer
   03 Buttons & links      09 Horizontal work      15 Page hero & inner pages
   04 Loader, cursor       10 Clipper panel        16 Work grid & project page
   05 Header & menu        11 Accordion            17 Contact form
   06 Hero                 12 Process list         18 Browser mock-ups
                                                   19 Languages & RTL
                                                   20 Motion preferences
   ========================================================================== */

/* 01 — Tokens & base ====================================================== */

:root {
  --dir: 1; /* -1 in right-to-left languages, flips sideways nudges */

  /* brand colours, sampled from the logo */
  --lime: #b2fb0a;
  --lime-deep: #7fdc00;
  --lime-glow: rgba(178, 251, 10, 0.45);
  --bg: #060806;
  --bg-2: #0c100b;
  --bg-3: #131810;
  --text: #eef2e8;
  --muted: #8f978a;
  --line: rgba(238, 242, 232, 0.12);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(84px, 12vw, 190px);
  --radius: clamp(14px, 1.6vw, 24px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--bg);
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

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

a:hover {
  color: var(--lime);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.wrap {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 980px;
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section--tight-top {
  padding-top: clamp(40px, 5vw, 80px);
}

.section--flush-top {
  padding-top: 0;
}

.section--tight-bottom {
  padding-bottom: clamp(30px, 4vw, 60px);
}

.muted {
  color: var(--muted);
}

.sticky-col {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--bg);
  font-weight: 600;
  translate: 0 -200%;
}

[dir="rtl"] .skip-link {
  left: auto;
  right: 12px;
}

.skip-link:focus {
  translate: 0 0;
  color: var(--bg);
}

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

/* 02 — Typography ========================================================= */

h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

/* "( Label )" */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow.text-center {
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 var(--lime-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(178, 251, 10, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(178, 251, 10, 0);
  }
}

.heading {
  margin-bottom: clamp(28px, 4vw, 56px);
}

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

.heading--lg .heading__title {
  font-size: clamp(1.55rem, 3.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.14;
}

.heading--xl .heading__title {
  font-size: clamp(2.5rem, 6.2vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.heading--xxl .heading__title {
  font-size: min(clamp(2.6rem, 11.5vw, 12rem), calc(86vw / (var(--len, 7) * 0.9)));
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.heading--center {
  text-align: center;
}

.heading--center .eyebrow {
  justify-content: center;
}

/* serif italic accent inside display headings */
.heading__title em,
.hero__title em,
.clipper__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -0.01em;
  color: var(--lime);
  text-transform: none;
}

.heading-xs {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  line-height: 1.6;
}

.heading-sm {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 22px;
}

.serif-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 0.9em;
}

.serif-lead--sm {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.3;
}

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.chip--lime {
  border-color: var(--lime);
  color: var(--lime);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tags li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* Split-text reveals (spans are injected by custom.js) */
.js [data-split]:not(.split) {
  visibility: hidden;
}

.split .w {
  display: inline-block;
  max-width: 100%;
}

.split[data-split="words"] .w {
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}

.split[data-split="chars"] .w {
  white-space: nowrap;
}

.split[data-split="chars"] .c {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(7deg);
  transform-origin: 0 100%;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 32ms);
}

.split.is-in .w,
.split.is-in .c {
  opacity: 1;
  transform: none;
}

/* Things that animate in once the loader lifts */
.js .reveal-load {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 1s var(--ease) 0.5s, translate 1s var(--ease) 0.5s;
}

.js .is-loaded .reveal-load {
  opacity: 1;
  translate: 0 0;
}

/* 03 — Buttons & links ==================================================== */

.aw-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.5s var(--ease);
}

.aw-btn i {
  font-size: 0.85em;
  transition: rotate 0.45s var(--ease);
}

.aw-btn:hover i.fa-arrow-right {
  rotate: -45deg;
}

.aw-btn--lime {
  background: var(--lime);
  color: var(--bg);
}

.aw-btn--lime:hover {
  color: var(--bg);
  box-shadow: 0 0 34px var(--lime-glow);
}

.aw-btn--ghost {
  border-color: var(--line);
  color: var(--text);
}

.aw-btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.aw-btn--sm {
  padding: 12px 22px;
  font-size: 0.9rem;
}

/* rolling label: the copy below is a text-shadow, so no duplicate markup */
.aw-btn__label,
.site-nav__link {
  display: inline-block;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4em;
  vertical-align: top;
}

.aw-btn__label > span,
.site-nav__link > span {
  display: block;
  text-shadow: 0 1.4em 0 currentColor;
  transition: transform 0.5s var(--ease);
}

.aw-btn:hover .aw-btn__label > span,
.site-nav__link:hover > span {
  transform: translateY(-1.4em);
}

.aw-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s;
}

.aw-link:hover {
  background-size: 100% 1px;
}

.aw-link--arrow i {
  margin-inline-start: 8px;
  font-size: 0.8em;
  transition: rotate 0.4s var(--ease);
}

.aw-link--arrow:hover i {
  rotate: -45deg;
}

.round-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.5s var(--ease);
}

.round-btn:hover {
  background: var(--lime);
  color: var(--bg);
  box-shadow: 0 0 40px var(--lime-glow);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}

.socials--filled a {
  background: var(--bg-3);
}

.socials--filled a:hover,
.socials--vertical a:hover {
  background: var(--lime);
  color: var(--bg);
}

.socials--vertical {
  flex-direction: column;
}

.to-top {
  position: fixed;
  inset-inline-end: clamp(16px, 2.4vw, 36px);
  bottom: clamp(16px, 2.4vw, 36px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--lime);
  opacity: 0;
  visibility: hidden;
  translate: 0 20px;
  transition: opacity 0.4s, visibility 0.4s, translate 0.4s var(--ease), transform 0.5s var(--ease), background 0.3s, color 0.3s;
}

.to-top:hover {
  background: var(--lime);
  color: var(--bg);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

/* 04 — Loader & cursor ==================================================== */

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #030403;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-io);
}

.js .is-loaded .loader {
  clip-path: inset(0 0 100% 0);
}

.js .is-leaving .loader {
  clip-path: inset(0 0 0 0);
  transition-duration: 0.6s;
}

.loader__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  transition: opacity 0.4s, translate 0.6s var(--ease);
}

.is-loaded .loader__inner {
  opacity: 0;
  translate: 0 -30px;
}

.is-leaving .loader__inner {
  opacity: 1;
  translate: 0 0;
}

.loader__mark {
  width: 180px;
  height: auto;
  animation: glow 1.6s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 6px rgba(178, 251, 10, 0.2));
  }
  to {
    filter: drop-shadow(0 0 26px rgba(178, 251, 10, 0.65));
  }
}

.loader__bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  background: var(--lime);
  transform-origin: 0 50%;
  animation: load 1.3s var(--ease-io) infinite;
}

@keyframes load {
  0% {
    transform: scaleX(0);
  }
  60% {
    transform: scaleX(1);
    transform-origin: 0 50%;
  }
  61% {
    transform-origin: 100% 50%;
  }
  100% {
    transform: scaleX(0);
    transform-origin: 100% 50%;
  }
}

.loader__text {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 990;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor.is-active {
  opacity: 1;
}

.cursor__label {
  position: absolute;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  background: var(--lime);
  translate: -50% -50%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  overflow: hidden;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.3s, color 0.2s;
}

.cursor.is-link .cursor__label {
  width: 46px;
  height: 46px;
  background: rgba(178, 251, 10, 0.08);
}

.cursor.has-label .cursor__label {
  width: 104px;
  height: 104px;
  background: var(--lime);
  color: var(--bg);
}

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

/* 05 — Header & overlay menu ============================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: translate 0.6s var(--ease), background 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(6, 8, 6, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-hidden {
  translate: 0 -110%;
}

.menu-open .site-header {
  translate: 0 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.5s var(--ease);
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  width: auto;
  height: 46px;
  filter: drop-shadow(0 0 10px rgba(178, 251, 10, 0.35));
}

.brand__text {
  display: grid;
  line-height: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.brand__text strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__text em {
  white-space: nowrap;
  margin-top: 5px;
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.site-nav {
  display: none;
  gap: clamp(22px, 2.6vw, 44px);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav__link.is-active {
  color: var(--lime);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease);
}

.menu-toggle__text {
  display: grid;
  height: 1.4em;
  line-height: 1.4em;
  overflow: hidden;
}

.menu-toggle__text span {
  transition: transform 0.5s var(--ease);
}

.menu-open .menu-toggle__text span {
  transform: translateY(-100%);
}

.menu-toggle__icon {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}

.menu-toggle:hover .menu-toggle__icon {
  border-color: var(--lime);
}

.menu-toggle__icon i {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}

.menu-toggle__icon i:first-child {
  transform: translateY(-4px);
}

.menu-toggle__icon i:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle__icon i:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle__icon i:last-child {
  transform: rotate(-45deg);
}

@media (min-width: 1200px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .site-header .aw-btn {
    display: none;
  }

  .brand__mark {
    height: 38px;
  }

  .brand__text strong {
    font-size: 0.98rem;
  }

  .menu-toggle__text {
    display: none;
  }

  .site-header__actions {
    gap: 10px;
  }

  .lang-switch summary {
    padding: 8px 11px;
  }

  .lang-switch summary i {
    display: none;
  }
}

@media (max-width: 399.98px) {
  .brand {
    gap: 8px;
  }

  .brand__mark {
    height: 32px;
  }

  .brand__text strong {
    font-size: 0.86rem;
  }

  .brand__text em {
    font-size: 0.46rem;
  }

  .menu-toggle__icon {
    width: 44px;
    height: 44px;
  }

  .menu-toggle__icon i {
    left: 13px;
    right: 13px;
  }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  transition: visibility 0s 0.8s;
}

.menu-open .menu {
  visibility: visible;
  transition-delay: 0s;
}

.menu__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-2) radial-gradient(60% 60% at 85% 10%, rgba(178, 251, 10, 0.14), transparent 70%);
  clip-path: circle(0% at calc(100% - 60px) 42px);
  transition: clip-path 0.8s var(--ease-io);
}

.menu-open .menu__bg {
  clip-path: circle(150% at calc(100% - 60px) 42px);
}

.menu__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 40px;
  height: 100%;
  padding: calc(var(--header-h) + 20px) var(--gutter) clamp(28px, 5vh, 64px);
  overflow-y: auto;
}

.menu__nav {
  display: grid;
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: clamp(4px, 1vh, 12px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, min(7.4vh, 9vw), 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 60px;
  transition: opacity 0.4s, translate 0.4s, color 0.3s;
}

.menu-open .menu__link {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.8s var(--ease) calc(0.25s + var(--i) * 60ms), translate 0.8s var(--ease) calc(0.25s + var(--i) * 60ms), color 0.3s;
}

.menu__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.menu__label {
  transition: translate 0.5s var(--ease);
}

.menu__link:hover .menu__label {
  translate: calc(18px * var(--dir)) 0;
}

.menu__link.is-active .menu__label {
  color: var(--lime);
}

.menu__aside {
  display: grid;
  justify-items: start;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.4s;
}

.menu-open .menu__aside {
  opacity: 1;
  transition: opacity 0.9s 0.55s;
}

.menu__logo {
  width: clamp(160px, 18vw, 250px);
  height: auto;
  margin: 0 0 18px -14px;
}

.menu__contact {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.menu__aside .socials {
  margin-top: 20px;
  margin-inline-start: -12px;
}

@media (max-width: 767.98px) {
  .menu__inner {
    grid-template-columns: 1fr;
    align-content: space-between;
  }

  .menu__logo {
    display: none;
  }
}

/* 06 — Hero =============================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 clamp(36px, 6vh, 72px);
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 85%);
}

.hero__glow {
  position: absolute;
  top: -22%;
  right: -12%;
  width: min(70vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(178, 251, 10, 0.2), transparent);
  filter: blur(20px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(-8%, 10%) scale(1.12);
  }
}

.hero__ghost,
.page-hero__ghost {
  position: absolute;
  inset-inline-end: -1vw;
  bottom: 9vh;
  font-family: var(--font-display);
  font-size: 21vw;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 232, 0.07);
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
}

.hero__title {
  font-size: clamp(2.1rem, 6.5vw, 7.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero__title mark {
  padding: 0;
  background: none;
  color: var(--lime);
  text-shadow: 0 0 42px var(--lime-glow);
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(30px, 5vh, 60px);
  padding-top: clamp(24px, 3.4vh, 40px);
  border-top: 1px solid var(--line);
}

.hero__lede {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__socials {
  position: absolute;
  top: 50%;
  inset-inline-end: calc(var(--gutter) - 12px);
  translate: 0 -50%;
  display: none;
}

.hero__badge,
.page-hero__badge,
.project-hero__badge {
  position: absolute;
  inset-inline-end: var(--gutter);
  display: none;
}

.hero__badge {
  bottom: clamp(36px, 6vh, 72px);
}

.scroll-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: var(--text);
  transition: transform 0.5s var(--ease);
}

.scroll-badge svg {
  direction: ltr; /* text on a circular path breaks in right-to-left mode */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.scroll-badge text {
  fill: currentColor;
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.scroll-badge i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  transition: scale 0.4s var(--ease);
}

.scroll-badge:hover i {
  scale: 1.12;
}

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

@media (min-width: 992px) {
  .hero__socials {
    display: flex;
  }

  .hero__badge,
  .page-hero__badge,
  .project-hero__badge {
    display: block;
  }

  .hero__foot {
    padding-inline-end: 190px;
  }
}

@media (max-width: 767.98px) {
  .hero__foot {
    grid-template-columns: 1fr;
  }

  .hero__ghost {
    display: none;
  }
}

/* 07 — Marquee & crossing bands =========================================== */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.marquee__track {
  display: inline-flex;
  will-change: transform;
}

.marquee__track > span {
  flex: none;
  padding-right: 0.35em;
}

.marquee i {
  font-style: normal;
  color: var(--lime);
  margin-inline: 0.2em;
}

.marquee--band {
  padding: clamp(12px, 1.6vw, 22px) 0;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.marquee--band i {
  color: inherit;
}

.marquee--band.marquee--dark {
  background: var(--bg-2);
  color: var(--text);
  border-block: 1px solid var(--line);
}

.marquee--band.marquee--dark i {
  color: var(--lime);
}

.marquee--stroke {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9.5vw, 9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--bg);
  -webkit-text-stroke: 2px rgba(238, 242, 232, 0.3);
  paint-order: stroke fill;
}

.marquee--stroke i {
  -webkit-text-stroke: 0;
}

.bands {
  position: relative;
  padding-block: clamp(50px, 8vw, 120px);
  overflow: clip;
}

.bands .marquee--band {
  width: 106vw;
  margin-left: -3vw;
}

.marquee--tilt-a {
  rotate: -2.4deg;
  position: relative;
  z-index: 2;
}

.marquee--tilt-b {
  rotate: 2deg;
  margin-top: clamp(-14px, -1vw, -6px);
}

.bands--flat {
  padding-block: 0 clamp(20px, 3vw, 40px);
}

/* 08 — Stats ============================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

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

.stats__item {
  padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px) 0 0;
}

.stats__item + .stats__item {
  padding-left: clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.stats__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.stats__value--text {
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
}

.stats__label {
  display: block;
  max-width: 24ch;
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stats__item:nth-child(n + 3) {
    margin-top: 28px;
    border-top: 1px solid var(--line);
  }

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

  .stats--three .stats__item {
    padding-left: 0;
    border-left: 0;
  }

  .stats--three .stats__item + .stats__item {
    margin-top: 24px;
    border-top: 1px solid var(--line);
  }
}

/* 09 — Horizontal work scroller =========================================== */

.hscroll {
  position: relative;
}

.hscroll__sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 40px);
  padding-block: var(--section);
}

.hscroll.is-pinned .hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-block: calc(var(--header-h) + 6px) 24px;
  overflow: hidden;
}

.hscroll__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.hscroll__head .heading {
  margin: 0;
}

.hscroll__head .heading__title {
  font-size: min(clamp(2.6rem, min(8vw, 13vh), 8rem), calc(80vw / (var(--len, 7) * 0.9)));
}

.hscroll__head .eyebrow {
  margin-bottom: 10px;
}

.hscroll__meta {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hscroll__progress {
  display: none;
  width: clamp(120px, 16vw, 260px);
  height: 2px;
  background: var(--line);
}

.hscroll__progress i {
  display: block;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.hscroll.is-pinned .hscroll__progress {
  display: block;
}

.hscroll__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 56px);
  padding: 20px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hscroll__track::-webkit-scrollbar {
  display: none;
}

.hscroll.is-pinned .hscroll__track {
  width: max-content;
  overflow: visible;
  will-change: transform;
}

.work-card {
  flex: 0 0 clamp(280px, min(38vw, 66vh), 700px);
  scroll-snap-align: center;
  color: var(--text);
}

.work-card:hover {
  color: var(--text);
}

.work-card__visual,
.work-tile__visual,
.screen {
  padding: 9%;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--tile, var(--lime)) 16%, var(--bg-2));
  border: 1px solid var(--line);
  transition: rotate 0.7s var(--ease), background 0.5s, border-color 0.5s;
}

.work-card__visual .mock,
.work-tile__visual .mock {
  transition: scale 0.8s var(--ease), rotate 0.8s var(--ease);
}

.work-card:nth-child(odd) .work-card__visual {
  rotate: -1.4deg;
}

.work-card:nth-child(even) .work-card__visual {
  rotate: 1.4deg;
}

.work-card:hover .work-card__visual {
  rotate: 0deg;
  background: color-mix(in srgb, var(--tile, var(--lime)) 30%, var(--bg-2));
}

.work-card:hover .mock,
.work-tile__link:hover .mock {
  scale: 1.05;
}

.work-card__caption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.work-card__count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lime);
}

.work-card__title {
  margin-right: auto;
  font-size: clamp(1.1rem, 1.9vw, 1.8rem);
  transition: color 0.3s;
}

.work-card:hover .work-card__title {
  color: var(--lime);
}

.work-card--all {
  flex-basis: clamp(240px, 28vw, 440px);
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 240px;
  margin-bottom: 62px;
  border: 1px dashed rgba(178, 251, 10, 0.5);
  border-radius: var(--radius);
  transition: background 0.4s, color 0.4s;
}

.work-card__all {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.work-card__all i {
  font-size: 0.7em;
  margin-left: 6px;
  transition: rotate 0.4s var(--ease);
}

.work-card--all:hover {
  background: var(--lime);
  color: var(--bg);
}

.work-card--all:hover i {
  rotate: -45deg;
}

@media (max-width: 767.98px) {
  .hscroll__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .work-card {
    flex-basis: 82vw;
  }
}

/* 10 — Clipper panel (grows to full bleed as you scroll) ================== */

.clipper {
  --p: 0;
  height: 210vh;
}

.clipper__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.clipper__panel {
  display: grid;
  place-items: center;
  height: 100%;
  padding: calc(var(--header-h) + 10px) var(--gutter) 40px;
  background: var(--lime);
  color: var(--bg);
  clip-path: inset(calc((1 - var(--p)) * 17vh) calc((1 - var(--p)) * 18vw) round calc((1 - var(--p)) * 44px));
}

.clipper__content {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
  width: min(100%, 1300px);
  scale: calc(0.72 + var(--p) * 0.28);
}

.clipper__content--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.clipper .eyebrow {
  color: inherit;
}

.clipper__copy > p:last-child {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 500;
}

.clipper__title {
  font-size: clamp(1.7rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.clipper__title em {
  color: inherit;
}

.clipper__logo {
  width: clamp(200px, 26vw, 400px);
  height: auto;
}

.clipper--dark .clipper__panel {
  background: #020302 radial-gradient(50% 60% at 50% 45%, rgba(178, 251, 10, 0.16), transparent 70%);
  color: var(--text);
  border: 1px solid var(--line);
}

.clipper--dark .clipper__title em {
  color: var(--lime);
}

.terminal {
  border-radius: 14px;
  background: #070a06;
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.terminal__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3125;
}

.terminal__bar i:first-child {
  background: var(--lime);
}

.terminal__bar span {
  margin-left: 10px;
}

.terminal__body {
  margin: 0;
  min-height: 11.5em;
  padding: 20px 20px 24px;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  line-height: 1.85;
  color: #cfe8a8;
  white-space: pre-wrap;
  overflow: hidden;
}

.terminal__body code {
  font: inherit;
  color: inherit;
}

.terminal__body code::after {
  content: "▋";
  margin-left: 2px;
  color: var(--lime);
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .clipper {
    height: 170vh;
  }

  .clipper__panel {
    clip-path: inset(calc((1 - var(--p)) * 12vh) calc((1 - var(--p)) * 6vw) round calc((1 - var(--p)) * 30px));
  }

  .clipper__content {
    grid-template-columns: 1fr;
    scale: calc(0.86 + var(--p) * 0.14);
  }
}

/* 11 — Accordion ========================================================== */

.acc {
  border-bottom: 1px solid var(--line);
}

.acc__item {
  border-top: 1px solid var(--line);
  transition: background 0.4s;
}

.acc__item.is-open {
  background: var(--bg-2);
}

.acc__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  text-align: start;
}

.acc__title {
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.3s, translate 0.5s var(--ease);
}

.acc__caret {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s, color 0.35s, border-color 0.35s, rotate 0.5s var(--ease);
}

.acc__head:hover .acc__title {
  color: var(--lime);
}

.acc__head:hover .acc__caret {
  border-color: var(--lime);
}

.acc__item.is-open .acc__caret {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__panel-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.6s;
}

.acc__item.is-open .acc__panel-inner {
  visibility: visible;
  transition-delay: 0s;
}

/* large, numbered: services */
.acc--xl .acc__head {
  grid-template-columns: clamp(40px, 6vw, 110px) minmax(0, 1fr) auto auto;
  padding: clamp(20px, 2.6vw, 38px) var(--gutter);
}

.acc__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
}

.acc--xl .acc__title {
  font-size: clamp(1.25rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.acc--xl .acc__head:hover .acc__title {
  translate: calc(14px * var(--dir)) 0;
}

.acc__sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.acc--xl .acc__head:hover .acc__caret {
  rotate: -45deg;
}

.acc--xl .acc__item.is-open .acc__caret {
  rotate: 90deg;
}

.acc__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  padding-block: 4px clamp(30px, 4vw, 56px);
  padding-inline: calc(var(--gutter) + clamp(40px, 6vw, 110px) + 20px) var(--gutter);
}

.acc__text {
  max-width: 760px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--muted);
}

/* compact: FAQ */
.acc--faq .acc__item.is-open {
  background: none;
}

.acc--faq .acc__title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: 0;
}

.acc--faq .acc__caret {
  width: 44px;
  height: 44px;
  font-size: 0.85rem;
}

.acc--faq .acc__item.is-open .acc__caret {
  rotate: 45deg;
}

.acc--faq .acc__panel-inner p {
  max-width: 62ch;
  padding-bottom: 28px;
}

@media (max-width: 767.98px) {
  .acc--xl .acc__head {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .acc__sub {
    display: none;
  }

  .acc__caret {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .acc__content {
    flex-direction: column;
    align-items: flex-start;
    padding-inline-start: var(--gutter);
  }

  .round-btn {
    width: 96px;
    height: 96px;
  }
}

.services__head {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(40px, 6vw, 90px);
  text-align: center;
}

.services__head .heading {
  margin-bottom: 26px;
}

.services__head > p {
  max-width: 56ch;
}

/* 12 — Process list ======================================================= */

.process__head {
  margin-bottom: clamp(36px, 5vw, 80px);
}

.process__head .heading {
  margin: 0;
}

.steps {
  border-bottom: 1px solid var(--line);
}

.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(40px, 6vw, 110px) minmax(0, 0.8fr) minmax(0, 1.4fr) 110px;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 2.8vw, 40px) var(--gutter);
  border-top: 1px solid var(--line);
  isolation: isolate;
  transition: color 0.4s;
}

.steps__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease);
}

.steps__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
  transition: color 0.4s;
}

.steps__title {
  font-size: clamp(1.3rem, 3vw, 2.7rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  transition: translate 0.5s var(--ease);
}

.steps__desc {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  transition: color 0.4s;
}

.steps__info {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .steps__item:hover {
    color: var(--bg);
  }

  .steps__item:hover::before {
    transform: scaleY(1);
  }

  .steps__item:hover .steps__count,
  .steps__item:hover .steps__desc {
    color: var(--bg);
  }

  .steps__item:hover .steps__title {
    translate: calc(14px * var(--dir)) 0;
  }
}

@media (max-width: 991.98px) {
  .steps__item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .steps__desc {
    grid-column: 2 / -1;
  }

  .steps__info {
    grid-row: 1;
    grid-column: 3;
  }
}

/* 13 — Testimonials ======================================================= */

.testimonials .sticky-col > p {
  max-width: 34ch;
  margin-bottom: 28px;
}

.quotes {
  display: grid;
  gap: clamp(20px, 2.6vw, 36px);
}

.quote {
  margin: 0;
  padding: clamp(26px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.quote:nth-child(odd) {
  rotate: -1.3deg;
}

.quote:nth-child(even) {
  rotate: 1.3deg;
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}

.quote__mark {
  font-size: 1.6rem;
  color: var(--lime);
}

.quote:nth-child(even) .quote__mark {
  color: inherit;
}

.quote blockquote {
  margin: 18px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 1.24;
}

.quote figcaption {
  display: grid;
  gap: 2px;
}

.quote figcaption span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.65;
}

@media (max-width: 991.98px) {
  .sticky-col {
    position: static;
    margin-bottom: 20px;
  }
}

/* 14 — CTA & footer ======================================================= */

.cta {
  padding-block: var(--section) clamp(70px, 9vw, 140px);
  overflow: clip;
}

.cta__body {
  display: grid;
  justify-items: center;
  margin-top: clamp(50px, 8vw, 120px);
  text-align: center;
}

.cta__title {
  max-width: 14ch;
  font-size: clamp(2.2rem, 8.2vw, 8.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.cta__title a {
  transition: color 0.4s, text-shadow 0.4s;
}

.cta__title a:hover {
  color: var(--text);
  text-shadow: 0 0 50px var(--lime-glow), 0 0 110px var(--lime-glow);
}

.cta__text {
  margin-top: 28px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 70px);
  padding-block: clamp(50px, 7vw, 110px);
}

.site-footer__logo {
  width: clamp(150px, 15vw, 210px);
  height: auto;
  margin: -18px 0 8px -16px;
}

.site-footer__lead h2 {
  margin-bottom: 30px;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.site-footer__col h3 {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.site-footer__col li {
  margin-bottom: 9px;
  color: var(--muted);
}

.site-footer__col a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.site-footer__col a:hover {
  color: var(--lime);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

/* legal pages (privacy, terms) */
.legal {
  max-width: 820px;
}

.legal__updated {
  margin-bottom: clamp(30px, 4vw, 54px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}

.legal h2 {
  margin: clamp(36px, 4.4vw, 60px) 0 16px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
  list-style: disc;
}

.legal li {
  margin-bottom: 8px;
}

.legal li::marker {
  color: var(--lime);
}

.legal a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 4px;
}

.legal a:hover {
  color: var(--lime);
}

@media (max-width: 991.98px) {
  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 15 — Page hero & inner pages ============================================ */

.page-hero,
.not-found {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  min-height: 78svh;
  padding: calc(var(--header-h) + 70px) 0 clamp(40px, 7vh, 90px);
  overflow: hidden;
}

.not-found {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
}

.page-hero .hero__glow,
.not-found .hero__glow {
  top: -58%;
  width: min(62vw, 860px);
}

.page-hero__ghost {
  top: calc(var(--header-h) + 2vh);
  bottom: auto;
  font-size: 19vw;
}

.page-hero__inner,
.not-found__inner {
  position: relative;
}

.page-hero__title {
  font-size: min(clamp(2.8rem, 11.5vw, 12.5rem), calc(86vw / (var(--len, 7) * 0.9)));
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.page-hero__text {
  max-width: 54ch;
  margin: clamp(22px, 3vw, 40px) 0 0;
  font-size: clamp(1.02rem, 1.3vw, 1.25rem);
  color: var(--muted);
}

.page-hero__badge {
  bottom: clamp(40px, 7vh, 90px);
}

.not-found .hero__actions {
  margin-top: 34px;
}

/* thank-you page */
.thanks {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 clamp(60px, 9vh, 110px);
  overflow: hidden;
}

.thanks .hero__glow {
  top: -40%;
  right: auto;
  left: 50%;
  translate: -50% 0;
}

.thanks__inner {
  position: relative;
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  font-size: 1.8rem;
  box-shadow: 0 0 0 12px rgba(178, 251, 10, 0.1), 0 0 60px var(--lime-glow);
}

.thanks__steps {
  margin: clamp(46px, 7vw, 90px) 0 clamp(36px, 5vw, 60px);
}

.thanks__steps .heading-xs {
  margin-bottom: 20px;
}

.thanks__steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.thanks__steps li {
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.thanks__count {
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
}

.thanks__steps h2 {
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.thanks__steps p {
  margin: 0;
  font-size: 0.98rem;
}

.thanks__fast {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 36px;
  color: var(--muted);
}

.thanks__fast a {
  color: var(--lime);
}

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

/* services page */
.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 4vw, 70px);
  padding-block: clamp(46px, 7vw, 110px);
  border-top: 1px solid var(--line);
}

.service__count {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--bg);
  -webkit-text-stroke: 2px var(--lime);
  paint-order: stroke fill;
}

.service__title {
  margin-bottom: clamp(18px, 2.4vw, 34px);
  font-size: clamp(1.9rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.service__body > .muted {
  max-width: 62ch;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 30px 0 36px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checklist i {
  font-size: 0.8rem;
  color: var(--lime);
}

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

  .service .sticky-col {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin: 0;
  }

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

/* about page */
.story-cols {
  margin-top: clamp(10px, 2vw, 30px);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.value {
  padding: clamp(24px, 2.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color 0.4s, translate 0.5s var(--ease), background 0.4s;
}

.value:hover {
  border-color: var(--lime);
  background: var(--bg-3);
  translate: 0 -8px;
}

.value__count {
  display: block;
  margin-bottom: clamp(40px, 6vw, 90px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
}

.value h3 {
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.value p {
  font-size: 0.98rem;
}

@media (max-width: 1199.98px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* 16 — Work grid & project page =========================================== */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 70px);
}

.filter__btn {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.filter__btn sup {
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 0.65em;
  color: var(--muted);
}

.filter__btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.filter__btn.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}

.filter__btn.is-active sup {
  color: inherit;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 90px) clamp(20px, 3vw, 56px);
  align-items: start;
}

.work-tile {
  grid-column: span 7;
}

.work-tile[data-pos="1"],
.work-tile[data-pos="2"] {
  grid-column: span 5;
}

.work-tile[data-pos="1"] {
  margin-top: 26%;
}

.work-tile.is-hidden {
  display: none;
}

.work-tile.is-entering {
  animation: tile-in 0.7s var(--ease) both;
}

@keyframes tile-in {
  from {
    opacity: 0;
    translate: 0 40px;
  }
}

.work-tile__link {
  display: block;
  color: var(--text);
}

.work-tile__link:hover {
  color: var(--text);
}

.work-tile__link:hover .work-tile__visual {
  background: color-mix(in srgb, var(--tile, var(--lime)) 30%, var(--bg-2));
}

.work-tile__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.work-tile__title {
  font-size: clamp(1.2rem, 2.2vw, 2.1rem);
  transition: color 0.3s;
}

.work-tile__link:hover .work-tile__title {
  color: var(--lime);
}

.work-tile__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-tile__year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.work-grid__empty {
  padding-block: 40px;
}

@media (max-width: 767.98px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-tile,
  .work-tile[data-pos] {
    grid-column: auto;
    margin-top: 0;
  }

  .work-tile__year {
    display: none;
  }
}

/* project header */
.project-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 clamp(36px, 6vh, 70px);
  overflow: hidden;
  isolation: isolate;
}

.project-hero__bg {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--tile) 22%, var(--bg));
}

.project-hero__bg .mock {
  width: min(120vw, 1900px);
  opacity: 0.42;
  rotate: -5deg;
  filter: blur(1.5px) saturate(1.1);
}

.project-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 6, 0.7) 0%, rgba(6, 8, 6, 0.35) 35%, rgba(6, 8, 6, 0.92) 82%, var(--bg) 100%);
}

.project-hero__inner {
  position: relative;
}

.project-hero__title {
  margin-top: 18px;
  font-size: min(clamp(2.5rem, 9.4vw, 10rem), calc(86vw / (var(--len, 7) * 0.9)));
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.project-hero__tagline {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.project-hero__badge {
  top: calc(var(--header-h) + 40px);
}

.info-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(30px, 5vh, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.info-list span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.info-list strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bleed {
  overflow: hidden;
  background: color-mix(in srgb, var(--tile) 20%, var(--bg-2));
}

.bleed__figure {
  position: relative;
  margin: 0;
  padding: clamp(40px, 9vw, 150px) var(--gutter) clamp(58px, 9vw, 150px);
}

.bleed__visual {
  max-width: 1240px;
  margin-inline: auto;
}

.bleed figcaption {
  position: absolute;
  inset-inline-end: var(--gutter);
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.shift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 50px);
  align-items: start;
}

.shift-grid__item:nth-child(even) {
  margin-top: 18%;
}

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

.shift-grid--three .shift-grid__item:nth-child(even) {
  margin-top: 0;
}

.shift-grid--three .shift-grid__item:nth-child(3n + 2) {
  margin-top: 24%;
}

.screen {
  display: block;
}

@media (max-width: 767.98px) {
  .shift-grid,
  .shift-grid--three {
    grid-template-columns: 1fr;
  }

  .shift-grid .shift-grid__item {
    margin-top: 0 !important;
  }
}

.screen-carousel:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.screen-carousel__slide {
  flex: none;
  width: min(74vw, 920px);
  padding-inline: clamp(8px, 1.4vw, 22px);
}

.screen-carousel .screen {
  scale: 0.92;
  opacity: 0.55;
  transition: scale 0.8s var(--ease), opacity 0.8s var(--ease);
}

.screen-carousel .slick-center .screen {
  scale: 1;
  opacity: 1;
}

.screen-carousel .slick-list {
  overflow: visible;
}

.section:has(.screen-carousel) {
  overflow: clip;
}

.next {
  position: relative;
  padding-block: clamp(90px, 14vw, 220px);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.next__link {
  display: grid;
  justify-items: center;
  color: var(--text);
}

.next__link:hover {
  color: var(--text);
}

.next__titles {
  display: grid;
  height: 1.1em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: min(clamp(2.2rem, 9.6vw, 10rem), calc(88vw / (var(--len, 12) * 0.86)));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.next__title {
  transition: transform 0.7s var(--ease);
}

.next__title--hover {
  color: var(--lime);
}

.next__link:hover .next__title {
  transform: translateY(-100%);
}

.next__visual {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(46vw, 620px);
  translate: -50% -50%;
  rotate: -5deg;
  scale: 0.86;
  opacity: 0;
  transition: opacity 0.6s, scale 0.9s var(--ease), rotate 0.9s var(--ease);
}

.next__link:hover .next__visual {
  opacity: 0.32;
  scale: 1;
  rotate: -2deg;
}

/* 17 — Contact ============================================================ */

.contact-list {
  display: grid;
  gap: 24px;
  margin: 26px 0 34px;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list p {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.form {
  position: relative;
}

.form__trap {
  /* visually hidden without pushing it off-screen (an off-screen box widens right-to-left pages) */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field {
  position: relative;
  margin-bottom: 30px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 28px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field select {
  appearance: none;
  padding-right: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b2fb0a' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px bottom 20px;
  cursor: pointer;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
}

.field label {
  position: absolute;
  inset-inline-start: 0;
  top: 28px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.35s var(--ease), color 0.3s;
}

.field label span {
  color: var(--lime);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 1px 0 var(--lime);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label {
  transform: translateY(-26px) scale(0.78);
  color: var(--lime);
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 100px var(--bg) inset;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ff6b6b;
  box-shadow: 0 1px 0 #ff6b6b;
}

.field__error {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #ff8b8b;
}

.currency-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -16px 0 30px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.currency-pick select {
  appearance: none;
  padding: 2px 18px 2px 0;
  border: 0;
  border-bottom: 1px dashed var(--lime);
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none' stroke='%23b2fb0a' stroke-width='1.6'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right center;
  color: var(--lime);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.currency-pick select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.currency-pick select option {
  background: var(--bg-2);
  color: var(--text);
}

.form__note {
  margin-bottom: 28px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
}

.form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

/* SweetAlert2 in brand colours */
.swal2-popup {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  background: var(--bg-2) !important;
  color: var(--text) !important;
  font-family: var(--font-body);
}

.swal2-title {
  font-family: var(--font-display);
  font-size: 1.4rem !important;
}

.swal2-confirm {
  border-radius: 99px !important;
  background: var(--lime) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* 18 — Browser mock-ups (generated project visuals) ======================= */

.mock {
  container-type: inline-size;
  width: 100%;
}

.mock__frame {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.2cqw;
  background: var(--m-bg);
  color: var(--m-ink);
  box-shadow: 0 5cqw 9cqw -4cqw rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
  padding: 1.7cqw 2.4cqw;
  background: color-mix(in srgb, var(--m-ink) 8%, var(--m-bg));
}

.mock__bar i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: color-mix(in srgb, var(--m-ink) 24%, transparent);
}

.mock__url {
  flex: 0 1 44%;
  margin-left: 2cqw;
  padding: 0.6cqw 2cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--m-ink) 8%, transparent);
  color: color-mix(in srgb, var(--m-ink) 60%, transparent);
  font-family: var(--font-mono);
  font-size: 1.6cqw;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
}

.mock__screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  min-height: 0;
  padding: 3cqw 4cqw 4cqw;
}

/* primitives: b = heading bar, p = text line, em = button, i = dot */
.mock b {
  display: block;
  width: var(--w, 100%);
  height: 3.4cqw;
  border-radius: 0.8cqw;
  background: var(--m-ink);
}

.mock p {
  display: block;
  width: var(--w, 100%);
  height: 1.3cqw;
  margin: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--m-ink) 22%, transparent);
}

.m-btn {
  display: block;
  flex: none;
  width: 9cqw;
  height: 3.2cqw;
  border-radius: 99px;
  background: var(--m-a);
}

.m-btn--lg {
  width: 16cqw;
  height: 4.6cqw;
}

.m-btn--block {
  width: 100%;
}

.m-logo {
  display: block;
  flex: none;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 1cqw;
  background: var(--m-a);
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.m-nav .m-logo {
  margin-right: auto;
}

.m-nav span {
  width: 7cqw;
  height: 1.2cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--m-ink) 30%, transparent);
}

.m-img {
  min-height: 0;
  border-radius: 1.6cqw;
  background: linear-gradient(135deg, var(--m-a), var(--m-b));
}

.m-img--alt {
  background: linear-gradient(315deg, var(--m-b), color-mix(in srgb, var(--m-ink) 14%, var(--m-bg)));
}

.m-img--blob {
  border-radius: 42% 58% 55% 45% / 52% 40% 60% 48%;
}

.m-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
}

/* landing */
.m-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4cqw;
  min-height: 0;
}

.m-hero .m-img {
  height: 100%;
}

.m-col {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
}

.m-col .m-btn {
  margin-top: 1cqw;
}

.m-card {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background: color-mix(in srgb, var(--m-ink) 6%, transparent);
}

.m-card i {
  display: block;
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  background: var(--m-b);
}

/* commerce */
.m-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4cqw;
  padding: 3cqw;
  border-radius: 1.6cqw;
  background: linear-gradient(120deg, var(--m-b), var(--m-a));
}

.m-banner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
}

.m-banner .m-btn {
  background: var(--m-ink);
}

.m-grid {
  flex: 1;
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(3, 1fr);
  gap: 2cqw;
  min-height: 0;
}

.m-prod {
  display: flex;
  flex-direction: column;
  gap: 1cqw;
  min-height: 0;
}

.m-prod .m-img {
  flex: 1;
}

.m-prod:nth-child(even) .m-img {
  background: linear-gradient(135deg, color-mix(in srgb, var(--m-ink) 12%, var(--m-bg)), var(--m-b));
}

/* dashboard */
.m-dash {
  flex: 1;
  display: grid;
  grid-template-columns: 14cqw 1fr;
  gap: 3cqw;
  min-height: 0;
}

.m-side {
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  padding: 2cqw;
  border-radius: 1.6cqw;
  background: color-mix(in srgb, var(--m-ink) 6%, transparent);
}

.m-side .m-logo {
  margin-bottom: 1.4cqw;
}

.m-side span {
  height: 1.6cqw;
  border-radius: 99px;
  background: color-mix(in srgb, var(--m-ink) 18%, transparent);
}

.m-side span.is-on {
  background: var(--m-a);
}

.m-main {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  min-width: 0;
  min-height: 0;
}

.m-stat {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background: color-mix(in srgb, var(--m-ink) 6%, transparent);
}

.m-stat b {
  height: 2.6cqw;
}

.m-chart {
  flex: 1;
  min-height: 0;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background: color-mix(in srgb, var(--m-ink) 5%, transparent);
}

.m-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.m-line {
  fill: none;
  stroke: var(--m-a);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.m-area {
  fill: var(--m-a);
  opacity: 0.18;
}

.m-table {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
}

.m-tr {
  display: grid;
  grid-template-columns: 2.4cqw 1fr 1fr 6cqw;
  align-items: center;
  gap: 2cqw;
}

.m-tr i {
  display: block;
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  background: var(--m-b);
}

.m-tr em {
  display: block;
  height: 2cqw;
  border-radius: 99px;
  background: var(--m-a);
  opacity: 0.5;
}

/* booking */
.m-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqw;
  min-height: 0;
}

.m-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2cqw;
}

.m-field {
  display: block;
  height: 4.4cqw;
  border: 1px solid color-mix(in srgb, var(--m-ink) 26%, transparent);
  border-radius: 1cqw;
}

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

/* editorial */
.m-title {
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
}

.m-title b {
  height: 5.4cqw;
}

.m-cols {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 3cqw;
  min-height: 0;
}

.m-text {
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
  padding-top: 1cqw;
}

/* real screenshot in place of a mock-up */
.mock--image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

/* 19 — Language switcher, legal notes & right-to-left ===================== */

.lang-switch {
  position: relative;
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  list-style: none;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.5s var(--ease);
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary:hover,
.lang-switch[open] summary {
  border-color: var(--lime);
  color: var(--lime);
}

.lang-switch__list {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 5;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  animation: drop 0.35s var(--ease);
}

@keyframes drop {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
}

.lang-switch__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s;
}

.lang-switch__list a:hover {
  background: var(--bg-3);
}

.lang-switch__list a.is-active {
  color: var(--lime);
}

.lang-switch__list em {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  color: var(--muted);
}

.legal-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 30px;
  padding: 14px 18px;
  border: 1px dashed var(--lime);
  border-radius: 12px;
  color: var(--lime);
}

/* things that always read left-to-right: code, mock-ups, scrolling bands */
.mock,
.terminal,
.marquee,
.stats__value {
  direction: ltr;
}

[dir="rtl"] {
  --dir: -1;
}

[dir="rtl"] .stats__value {
  text-align: right;
}

[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-paper-plane,
[dir="rtl"] .fa-quote-left {
  scale: -1 1;
}

[dir="rtl"] .field label {
  transform-origin: 100% 0;
}

[dir="rtl"] .field select {
  padding-right: 0;
  padding-left: 30px;
  background-position: left 4px bottom 20px;
}

[dir="rtl"] .currency-pick select {
  padding: 2px 0 2px 18px;
  background-position: left center;
}

[dir="rtl"] .menu__bg {
  clip-path: circle(0% at 60px 42px);
}

[dir="rtl"].menu-open .menu__bg {
  clip-path: circle(150% at 60px 42px);
}

[dir="rtl"] .hscroll__track {
  scroll-snap-type: x mandatory;
}

/* Bootstrap's offsets are left-to-right only */
@media (min-width: 992px) {
  [dir="rtl"] .offset-lg-1 {
    margin-left: 0;
    margin-right: 8.333333%;
  }

  [dir="rtl"] .offset-lg-5 {
    margin-left: 0;
    margin-right: 41.666667%;
  }
}

/* Arabic: Arabic fonts behind the Latin ones, and never letter-space (it breaks joined letters) */
:root[lang="ar"] {
  --font-display: "Unbounded", "Noto Kufi Arabic", sans-serif;
  --font-body: "Instrument Sans", "IBM Plex Sans Arabic", sans-serif;
  --font-serif: "Instrument Serif", "Noto Kufi Arabic", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Sans Arabic", monospace;
}

:root[lang="ar"] body,
:root[lang="ar"] body * {
  letter-spacing: 0 !important;
}

:root[lang="ar"] h1,
:root[lang="ar"] h2,
:root[lang="ar"] h3,
:root[lang="ar"] .serif-lead,
:root[lang="ar"] .quote blockquote {
  line-height: 1.45;
}

:root[lang="ar"] .page-hero__title,
:root[lang="ar"] .heading--xxl .heading__title,
:root[lang="ar"] .project-hero__title {
  line-height: 1.25;
}

/* 20 — Motion preferences ================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .clipper {
    --p: 1;
    height: auto;
  }

  .clipper__sticky {
    position: static;
  }

  .split .w,
  .split .c,
  .js .reveal-load {
    opacity: 1;
    transform: none;
    translate: 0 0;
  }
}
