/* Xagencia website. Brand from the company profile: black ground, crimson #DE0043,
   Montserrat in heavy italic capitals, the two-chevron X. Structure, motion and pointer
   behaviour follow x-wise.ai: one continuous night ground behind every section, glass
   cards with a cursor spotlight, magnetic buttons, scroll reveals. */

:root {
  --void: #050002;
  --ink: #0d0307;
  --wine: #3a0014;
  --crimson: #de0043;
  --hot: #ff2d64;
  --rose: #ff8fae;
  --paper: #f8f4f5;
  --white: #ffffff;
  --muted: #d3c3c8;
  --tint: #f3dfe4;
  --line: rgba(255, 45, 100, 0.3);
  --rule: rgba(255, 255, 255, 0.13);
  --panel: rgba(24, 5, 11, 0.7);
  --danger: #ffb3c1;
  --focus: #ffffff;

  --grad: linear-gradient(90deg, #ff86a5 0%, #ff2d64 45%, #de0043 100%);
  --grad-btn: linear-gradient(100deg, #ff2d64 0%, #de0043 55%, #a30033 100%);

  --gutter: 20px;
  --max: 1240px;
  --header-h: 68px;
  --band: clamp(64px, 8vw, 124px);
  --r: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}
@media (min-width: 48em) {
  :root {
    --gutter: 40px;
    --header-h: 84px;
  }
}
@media (min-width: 75em) {
  :root {
    --gutter: 64px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-behavior: smooth;
  background: var(--void);
}
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main {
  position: relative;
  z-index: 1;
}
main:focus {
  outline: none;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd,
fieldset {
  margin: 0;
  padding: 0;
}
fieldset {
  border: 0;
  min-width: 0;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- The night ground behind everything ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.backdrop__aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 34% at 14% 20%, rgba(222, 0, 67, 0.34), transparent 70%),
    radial-gradient(34% 36% at 86% 14%, rgba(122, 0, 40, 0.5), transparent 70%),
    radial-gradient(40% 36% at 74% 84%, rgba(255, 45, 100, 0.16), transparent 70%),
    radial-gradient(36% 34% at 20% 90%, rgba(90, 0, 30, 0.62), transparent 72%);
  animation: drift 26s ease-in-out infinite alternate;
}
/* The outlined arrows that run through the profile's pages. */
.backdrop__arrows {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none' stroke='%23de0043' stroke-width='1.2'%3E%3Cpath d='M20 30l44 44-44 44V88l14-14-14-14z'/%3E%3Cpath d='M200 130l-44 44 44 44v-30l-14-14 14-14z'/%3E%3Cpath d='M118 8l36 36-36 36'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent 75%);
}
.backdrop__x {
  position: absolute;
  right: -10vmax;
  top: 6vh;
  width: 62vmax;
  aspect-ratio: 716 / 942;
  background: url("../assets/brand/x-mark-white.svg") center / contain no-repeat;
  opacity: 0.03;
  animation: hover 22s ease-in-out infinite alternate;
}
.backdrop__glow {
  position: absolute;
  left: -260px;
  top: -260px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(222, 0, 67, 0.3), rgba(255, 45, 100, 0.07) 55%, transparent);
  will-change: transform;
}
@keyframes drift {
  to {
    transform: translate3d(5%, -4%, 0) scale(1.1);
  }
}
@keyframes hover {
  to {
    transform: translate3d(-3%, 5%, 0) rotate(-5deg);
  }
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(255, 45, 100, 0.9);
  transform: scaleX(0);
  transform-origin: left;
}

.band {
  position: relative;
  padding-block: var(--band);
}
.band--flush {
  padding-bottom: calc(var(--band) * 0.5);
}

/* ---------- Scroll reveal ---------- */

.will-reveal:not(.in) {
  opacity: 0;
}
.will-reveal.in {
  animation: rise 0.85s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
}

/* ---------- Type ---------- */

.display,
.h2 {
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
}
.display {
  font-size: clamp(1.875rem, 1.2rem + 3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 1.15rem + 2.9vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.h3 {
  font-size: clamp(1.25rem, 1.08rem + 0.8vw, 1.875rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.grad {
  background: var(--grad);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s ease-in-out infinite alternate;
  /* Italic capitals lean out of their box; this keeps the last letter from being clipped. */
  padding-inline-end: 0.08em;
}
@keyframes sheen {
  to {
    background-position: 100% 0;
  }
}
/* The crimson X that opens the profile's chapter titles. */
.xw {
  color: var(--crimson);
  font-style: italic;
  font-weight: 800;
  text-shadow: 0 0 34px rgba(222, 0, 67, 0.75);
}
/* A word on a crimson block, as on the profile's "Where we operate" page. */
.hl {
  position: relative;
  display: inline-block;
  padding: 0 0.16em;
  isolation: isolate;
}
.hl::before {
  content: "";
  position: absolute;
  inset: 0.1em 0 0.06em;
  z-index: -1;
  background: var(--crimson);
  transform: skewX(-10deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.35s;
}
.in .hl::before {
  transform: skewX(-10deg) scaleX(1);
}
.band__note {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 28px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--grad-btn);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 143, 174, 0.35), 0 10px 40px -8px rgba(222, 0, 67, 0.85);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75), 0 14px 56px -6px rgba(255, 45, 100, 0.8);
}
.btn--primary:hover::after {
  left: 120%;
}
.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--hot);
  background: rgba(222, 0, 67, 0.16);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.actions--center {
  justify-content: center;
}
.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
}
/* The blur sits on its own layer: on the header itself it would trap the fixed mobile menu. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 0, 2, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  flex: none;
  transition: filter 0.25s;
}
.brand:hover {
  filter: drop-shadow(0 0 14px rgba(222, 0, 67, 0.95));
}
.brand img {
  display: block;
  width: auto;
  height: 38px;
}
@media (min-width: 48em) {
  .brand img {
    height: 46px;
  }
}
.nav {
  display: none;
  margin-left: auto;
}
.nav__list {
  display: flex;
  gap: 2px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--tint);
  font-size: 0.9688rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--white);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}
.header__cta {
  display: none;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--grad-btn);
  color: var(--white);
  font-size: 0.9688rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.header__cta:hover {
  box-shadow: 0 0 28px rgba(255, 45, 100, 0.95);
}
.menu-btn {
  margin-left: auto;
  min-width: 76px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--paper);
  font-size: 0.9688rem;
  font-weight: 600;
  cursor: pointer;
}
@media (min-width: 66em) {
  .nav {
    display: block;
  }
  .header__cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}
.mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  background: var(--void);
}
.mobile__inner {
  padding-block: 16px 48px;
}
.mobile__list > li {
  border-bottom: 1px solid var(--rule);
}
.mobile__link {
  display: flex;
  align-items: center;
  min-height: 64px;
  color: var(--paper);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.mobile__link--cta {
  color: var(--hot);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 8px;
  padding-block: clamp(36px, 5vw, 64px) 8px;
}
.hero__title {
  font-size: clamp(2.3rem, 0.6rem + 5.4vw, 5.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__line {
  display: block;
  animation: lineIn 1s var(--ease) backwards;
}
.hero__line:nth-child(2) {
  animation-delay: 0.12s;
}
.hero__line:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateY(0.6em) skewY(4deg);
    filter: blur(10px);
  }
}
.hero__do {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin-top: clamp(20px, 3vw, 34px);
  font-size: clamp(1.3125rem, 0.86rem + 2.05vw, 2.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  animation: lineIn 1s var(--ease) 0.4s backwards;
}
.hero__word {
  position: relative;
  display: block;
  flex: 1;
  height: 1.2em;
  white-space: nowrap;
  perspective: 700px;
}
.hero__letters {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  filter: drop-shadow(0 0 22px rgba(222, 0, 67, 0.7));
}
.hero__letters span {
  display: inline-block;
  white-space: pre;
  transform-origin: 50% 80%;
}
.hero__letters--in span {
  animation: letterIn 0.75s var(--ease) backwards;
}
.hero__letters--out span {
  animation: letterOut 0.42s ease-in forwards;
}
@keyframes letterIn {
  from {
    opacity: 0;
    transform: translateY(0.55em) rotateX(-85deg) scale(0.9);
    filter: blur(12px);
  }
}
@keyframes letterOut {
  to {
    opacity: 0;
    transform: translateY(-0.5em) rotateX(70deg);
    filter: blur(10px);
  }
}
.hero__note {
  margin-top: 12px;
  max-width: 44ch;
  min-height: 3.1em;
  color: var(--muted);
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.25rem);
  line-height: 1.5;
}
.hero__note.is-new {
  animation: noteIn 0.6s var(--ease) backwards;
}
@keyframes noteIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}
.hero .actions {
  margin-top: 22px;
  animation: lineIn 1s var(--ease) 0.55s backwards;
}
.hero__spot {
  height: min(72vw, 320px);
}
@media (min-width: 68.75em) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    min-height: min(680px, calc(100svh - var(--header-h) - 96px));
  }
  .hero__spot {
    height: min(580px, 44vw);
  }
}
.wordbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.wordbar__btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 5, 11, 0.6);
  color: var(--tint);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.wordbar__btn:hover {
  transform: translateY(-2px);
}
.wordbar__btn.is-on {
  border-color: var(--hot);
  color: var(--white);
  box-shadow: 0 0 22px rgba(255, 45, 100, 0.5), inset 0 0 18px rgba(222, 0, 67, 0.55);
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--rule);
  background: rgba(5, 0, 2, 0.5);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker__track span {
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--void);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
  paint-order: stroke fill;
}
.ticker__track i,
.bigline i {
  display: inline-block;
  flex: none;
  width: 0.62em;
  height: 0.82em;
  background: url("../assets/brand/x-mark.svg") center / contain no-repeat;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.25rem);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */

.about {
  display: grid;
  gap: 40px;
  align-items: center;
}
.prose {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  max-width: 56ch;
  color: var(--muted);
}
.prose .lead {
  color: var(--paper);
  font-size: clamp(1.125rem, 1.04rem + 0.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.facts > div {
  padding: 16px 0 0;
  border-top: 2px solid var(--crimson);
}
.facts dt {
  color: var(--muted);
  font-size: 0.9375rem;
}
.facts dd {
  margin-top: 2px;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
.about__art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: 100%;
  justify-self: center;
  border-radius: 4px;
  /* The cut corners echo the logo's chevrons. */
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
}
.about__art > img:first-child {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.5s var(--ease);
}
.about__mark {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 34%;
  height: auto;
  margin: -28% 0 0 -17%;
  filter: drop-shadow(0 0 40px rgba(222, 0, 67, 0.95));
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.5s var(--ease);
  animation: floaty 7s ease-in-out infinite alternate;
}
@keyframes floaty {
  to {
    transform: translateY(-12px);
  }
}
@media (min-width: 62.5em) {
  .about {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
  }
}

/* ---------- Glass surfaces with a cursor spotlight ---------- */

.tile,
.plate,
.ind-card,
.brief,
.svc__stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 45, 100, 0.16), transparent 62%),
    var(--panel);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tile,
.plate,
.ind-card,
.why__item {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.3s, background-color 0.3s, color 0.3s;
}
.tile:hover,
.plate:hover,
.ind-card:hover {
  border-color: rgba(255, 143, 174, 0.75);
  box-shadow: 0 18px 60px -22px rgba(222, 0, 67, 0.95);
}
.tiles {
  display: grid;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (min-width: 40em) {
  .tiles--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 62.5em) {
  .tiles--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tile {
  padding: 28px;
}
.tile__icon,
.ind-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--hot);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 45, 100, 0.8));
}
.tile__title {
  margin-top: 18px;
  color: var(--hot);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}
.tile__text {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ---------- Services ---------- */

.svc {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}
.svc__tabs {
  display: flex;
  gap: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.svc__tabs::-webkit-scrollbar {
  display: none;
}
.svc__tab {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 5, 11, 0.6);
  color: var(--tint);
  font-size: 0.9688rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, box-shadow 0.25s;
}
.svc__num {
  color: var(--hot);
  font-style: italic;
  font-weight: 800;
}
.svc__tab.is-on {
  border-color: var(--hot);
  background: rgba(222, 0, 67, 0.22);
  color: var(--white);
  box-shadow: 0 0 24px rgba(222, 0, 67, 0.5);
}
/* The line that fills while a service is on show. */
.svc__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}
.svc__tab.is-run::after {
  animation: fill var(--dur, 5.2s) linear forwards;
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.svc__stage {
  overflow: hidden;
}
.svc__panel {
  display: grid;
  gap: 8px;
}
.svc__visual {
  position: relative;
  height: clamp(280px, 62vw, 480px);
  overflow: hidden;
  background: radial-gradient(60% 60% at 50% 55%, rgba(222, 0, 67, 0.38), transparent 72%);
}
.svc__panel.is-on .svc__visual {
  animation: visualIn 0.8s var(--ease) backwards;
}
@keyframes visualIn {
  from {
    opacity: 0;
    transform: scale(1.06);
    filter: blur(10px);
  }
}
.svc__visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.svc__swap {
  animation: swap 7s ease-in-out infinite;
}
@keyframes swap {
  0%,
  38% {
    opacity: 0;
  }
  50%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.fl,
.bot,
.fan {
  position: absolute;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6));
}
.fl {
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.5s var(--ease);
  animation: floaty 6s ease-in-out infinite alternate;
}
.fl--1 {
  left: 3%;
  top: 6%;
  width: 54%;
}
.fl--2 {
  right: 1%;
  bottom: 5%;
  width: 58%;
  animation-duration: 8s;
}
.fl--3 {
  right: 9%;
  top: 7%;
  width: 24%;
  animation-duration: 5s;
}
.fl--4 {
  left: 7%;
  bottom: 5%;
  width: 29%;
  animation-duration: 7s;
}
.fl--phone {
  left: 0;
  right: 0;
  top: 4%;
  height: 92%;
  width: auto;
  margin-inline: auto;
  animation-duration: 7s;
}
.fl--hands {
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  margin-inline: auto;
  filter: none;
  mix-blend-mode: screen;
}
.fan {
  left: 50%;
  top: 23%;
  width: auto;
  height: 54%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s var(--ease);
}
.fan--1 {
  transform: translateX(-118%) rotate(-8deg);
}
.fan--2 {
  z-index: 1;
  top: 13%;
  height: 74%;
  transform: translateX(-50%);
}
.fan--3 {
  transform: translateX(18%) rotate(8deg);
}
.svc__visual--fan:hover .fan--1 {
  transform: translateX(-126%) rotate(-12deg);
}
.svc__visual--fan:hover .fan--2 {
  transform: translateX(-50%) scale(1.04);
}
.svc__visual--fan:hover .fan--3 {
  transform: translateX(26%) rotate(12deg);
}
.svc__visual--robots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3%;
  padding: 0 4% 6%;
}
.svc__visual--robots::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 45, 100, 0.55), transparent);
  filter: blur(8px);
}
.bot {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  animation: floaty 5s ease-in-out infinite alternate;
}
.bot--1 {
  height: 66%;
}
.bot--2 {
  height: 86%;
  animation-delay: -1.2s;
}
.bot--3 {
  height: 74%;
  animation-delay: -2.4s;
}
.bot--4 {
  height: 82%;
  animation-delay: -3.6s;
}
.svc__body {
  padding: clamp(22px, 3.4vw, 44px);
}
.svc__over {
  margin-bottom: 8px;
  color: var(--hot);
  font-size: 0.9375rem;
  font-weight: 600;
}
.caps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.caps li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.4;
}
.caps li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 9px;
  background: var(--crimson);
  box-shadow: 0 0 12px rgba(255, 45, 100, 0.9);
  transform: skewX(-18deg);
}
.svc__panel.is-on .caps li {
  animation: noteIn 0.6s var(--ease) backwards;
  animation-delay: calc(0.12s + var(--k, 0) * 70ms);
}
@media (min-width: 52em) {
  .svc__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }
  .svc__visual {
    height: clamp(380px, 38vw, 500px);
  }
}
@media (min-width: 66em) {
  .svc {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
  }
  .svc__tabs {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .svc__tab {
    flex: 1;
    gap: 16px;
    min-height: 64px;
    padding: 0 18px 0 20px;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    background: transparent;
    font-size: 1.0625rem;
    text-align: left;
    white-space: normal;
  }
  .svc__tab:hover {
    color: var(--white);
    background: rgba(222, 0, 67, 0.1);
  }
  .svc__tab.is-on {
    border-color: var(--rule);
    background: linear-gradient(90deg, rgba(222, 0, 67, 0.34), rgba(222, 0, 67, 0));
    box-shadow: inset 3px 0 0 var(--hot);
  }
  .svc__num {
    min-width: 2.4em;
    font-size: 1.375rem;
  }
}

/* ---------- Approach ---------- */

.steps {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 48px;
  --p: 0;
}
/* The rail and its crimson fill, driven by the scroll position. */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--rule);
}
.steps::after {
  background: var(--grad);
  box-shadow: 0 0 16px rgba(255, 45, 100, 0.9);
  transform: scaleY(var(--p));
  transform-origin: top;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 0 34px 68px;
}
.step:last-child {
  padding-bottom: 0;
}
.step__n {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--muted);
  font-style: italic;
  font-weight: 800;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.step__title {
  color: var(--muted);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.7;
  text-transform: uppercase;
  transition: color 0.4s;
}
.step p {
  color: var(--muted);
  font-size: 1rem;
}
.step.is-on .step__n {
  border-color: transparent;
  background: var(--grad-btn);
  color: var(--white);
  box-shadow: 0 0 26px rgba(255, 45, 100, 0.9);
  transform: scale(1.1);
}
.step.is-on .step__title {
  color: var(--white);
}
@media (min-width: 56.25em) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }
  .steps::before,
  .steps::after {
    left: 22px;
    right: calc((100% - 96px) / 5 - 22px);
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .steps::after {
    transform: scaleX(var(--p));
    transform-origin: left;
  }
  .step {
    padding: 66px 0 0;
  }
}

/* ---------- Industries ---------- */

.inds {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
@media (min-width: 40em) {
  .inds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 75em) {
  .inds {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ind-card {
  padding: 24px;
}
.ind-card__title {
  margin-top: 16px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
}
.ind-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ind-card__list li {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--tint);
  font-size: 0.9063rem;
  line-height: 1.35;
  transition: border-color 0.3s, background-color 0.3s;
}
.ind-card:hover .ind-card__list li {
  border-color: var(--line);
  background: rgba(222, 0, 67, 0.16);
}

/* ---------- Work ---------- */

.chapters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.chapter {
  position: relative;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--void);
  paint-order: stroke fill;
  font-size: clamp(2rem, 1rem + 4.4vw, 4.75rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.5);
  transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}
.chapter .xw {
  color: var(--void);
  text-shadow: none;
  -webkit-text-stroke: 3px rgba(255, 45, 100, 0.8);
  transition: color 0.35s, text-shadow 0.35s;
}
.chapter sup {
  margin-left: 0.5em;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: top;
  -webkit-text-stroke: 0;
}
.chapter:hover {
  -webkit-text-stroke-color: var(--white);
}
.chapter.is-on {
  color: var(--white);
  -webkit-text-stroke-color: transparent;
}
.chapter.is-on .xw {
  color: var(--crimson);
  text-shadow: 0 0 34px rgba(222, 0, 67, 0.85);
  -webkit-text-stroke-color: transparent;
}
@media (min-width: 62.5em) {
  .chapters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px clamp(28px, 4vw, 60px);
  }
  .chapter {
    font-size: clamp(2rem, 0.2rem + 3.1vw, 3.5rem);
  }
}
.gallery {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
}
.gallery__col {
  display: grid;
  flex: 1;
  gap: 14px;
  min-width: 0;
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--ink);
  cursor: zoom-in;
  animation: rise 0.7s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}
.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(5, 0, 2, 0.92));
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.shot:hover,
.shot:focus-visible {
  border-color: var(--hot);
  box-shadow: 0 18px 50px -18px rgba(222, 0, 67, 0.95);
  transform: translateY(-4px);
}
.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.05);
}
.shot:hover .shot__cap,
.shot:focus-visible .shot__cap {
  opacity: 1;
  transform: none;
}

/* ---------- Why ---------- */

.why {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
.why__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--r);
  background: linear-gradient(135deg, #ff2d64 0%, var(--crimson) 45%, #a30033 100%);
  color: var(--white);
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 50px -24px rgba(222, 0, 67, 0.95);
}
.why__item::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -18%;
  width: 46%;
  aspect-ratio: 716 / 942;
  max-width: 220px;
  background: url("../assets/brand/x-mark-white.svg") center / contain no-repeat;
  opacity: 0.14;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}
.why__item:hover {
  background: var(--white);
  background-image: none;
  color: var(--crimson);
}
.why__item:hover::after {
  opacity: 0;
  transform: rotate(14deg) scale(1.2);
}
@media (min-width: 46em) {
  .why {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "a a b b"
      "c c b b"
      "d d d e";
  }
  .why__item--a {
    grid-area: a;
  }
  .why__item--b {
    grid-area: b;
  }
  .why__item--c {
    grid-area: c;
  }
  .why__item--d {
    grid-area: d;
  }
  .why__item--e {
    grid-area: e;
    font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem);
  }
  .why__item {
    min-height: 150px;
  }
}

/* ---------- Clients ---------- */

.logos {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__row {
  overflow: hidden;
}
.logos__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee var(--dur, 80s) linear infinite;
}
.logos__row:nth-child(even) .logos__track {
  animation-direction: reverse;
}
.logos:hover .logos__track {
  animation-play-state: paused;
}
.logos img {
  display: block;
  flex: none;
  width: clamp(104px, 11vw, 148px);
  height: auto;
  aspect-ratio: 1.1;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.logos img:hover {
  border-color: var(--hot);
  box-shadow: 0 0 30px rgba(222, 0, 67, 0.7);
  transform: translateY(-4px) scale(1.04);
}

/* ---------- Where ---------- */

.where {
  display: grid;
  gap: 32px;
  align-items: center;
}
.places {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}
.plate {
  padding: 24px 26px;
}
.plate__over {
  margin-bottom: 4px;
  color: var(--hot);
  font-size: 0.9375rem;
  font-weight: 700;
}
.plate__text {
  margin-top: 6px;
  color: var(--muted);
}
.where__art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(300px, 46vw, 480px);
}
.where__art img {
  position: relative;
  width: auto;
  height: clamp(230px, 34vw, 370px);
  filter: drop-shadow(0 30px 40px rgba(222, 0, 67, 0.55));
  animation: bob 4.5s ease-in-out infinite alternate;
}
.where__floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 45, 100, 0.75), rgba(222, 0, 67, 0.2) 60%, transparent);
  filter: blur(6px);
  animation: pulse 4.5s ease-in-out infinite alternate;
}
@keyframes bob {
  to {
    transform: translateY(-22px) rotate(3deg);
  }
}
@keyframes pulse {
  to {
    opacity: 0.55;
    transform: scale(0.86);
  }
}
@media (min-width: 56.25em) {
  .where {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
}

/* ---------- The line that travels with the scroll ---------- */

.bigline {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: 12px;
}
.bigline p {
  width: max-content;
  color: var(--void);
  paint-order: stroke fill;
  font-size: clamp(3rem, 1rem + 9vw, 9.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.22);
  transform: translate3d(var(--x, 0), 0, 0);
  will-change: transform;
}
.bigline i {
  margin-inline: 0.18em;
  font-size: inherit;
  opacity: 0.85;
}

/* ---------- Contact ---------- */

.closing {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(222, 0, 67, 0.3) 0%, rgba(58, 0, 20, 0.42) 42%, rgba(5, 0, 2, 0) 78%);
  clip-path: polygon(0 clamp(28px, 6vw, 96px), 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.closing__inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: start;
}
.closing__text {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--tint);
  font-size: 1.1875rem;
}
.reach {
  margin-top: 32px;
}
.reach li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.reach span {
  color: var(--muted);
  font-size: 0.9375rem;
}
.reach a,
.reach p {
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.reach a {
  text-decoration: none;
  background: linear-gradient(var(--hot), var(--hot)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.reach a:hover {
  color: var(--rose);
  background-size: 100% 2px;
}
.brief {
  padding: clamp(20px, 3vw, 38px);
}
.brief .h3 {
  margin-bottom: 24px;
}
@media (min-width: 62.5em) {
  .closing__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
  }
}

/* ---------- Forms ---------- */

.form__grid {
  display: grid;
  gap: 0 20px;
}
@media (min-width: 40em) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  margin-bottom: 22px;
}
.field label,
.chipset legend {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.field__optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 0, 2, 0.6);
  color: var(--paper);
  color-scheme: dark;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--hot);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 45, 100, 0.28);
}
.field textarea {
  resize: vertical;
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
}
.field__error {
  margin-top: 8px;
  color: var(--danger);
  font-size: 0.9375rem;
  font-weight: 600;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.form__privacy {
  flex: 1 1 220px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.form__status {
  margin-top: 16px;
  font-weight: 600;
}
.form__status:empty {
  display: none;
}
.chipset__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 0, 2, 0.5);
  color: var(--tint);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--hot);
}
.chip.is-on {
  border-color: transparent;
  background: var(--grad-btn);
  color: var(--white);
  box-shadow: 0 0 20px rgba(222, 0, 67, 0.8);
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule);
  background: rgba(5, 0, 2, 0.78);
}
.footer__inner {
  display: grid;
  gap: 36px;
  padding-block: 56px 72px;
}
.footer__lockup {
  display: block;
  width: min(100%, 240px);
  height: auto;
}
.footer__line {
  margin-top: 14px;
  color: var(--muted);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.footer__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: var(--hot);
}
.footer__legal {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}
@media (min-width: 56.25em) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer__legal {
    grid-column: 1 / -1;
  }
}

/* ---------- Work viewer ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 64px 16px 24px;
  background: rgba(5, 0, 2, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: fade 0.25s ease-out;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.lightbox__figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(100%, 1240px);
}
.lightbox__figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 170px);
  border-radius: 10px;
  box-shadow: 0 30px 90px -20px rgba(222, 0, 67, 0.75);
}
.lightbox__figure img.is-in {
  animation: visualIn 0.45s var(--ease);
}
.lightbox__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  color: var(--tint);
  font-size: 0.9375rem;
  font-weight: 600;
}
.lightbox__figure figcaption span:last-child {
  color: var(--muted);
  font-weight: 400;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  background: rgba(24, 5, 11, 0.85);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.lightbox__close {
  right: 16px;
  top: 12px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 0.9688rem;
  font-weight: 600;
}
.lightbox__nav {
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.lightbox__nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox__nav--prev {
  left: 16px;
}
.lightbox__nav--next {
  right: 16px;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--hot);
  background: var(--crimson);
  transform: scale(1.06);
}
@media (min-width: 56.25em) {
  .lightbox {
    padding-inline: 96px;
  }
  .lightbox__nav {
    top: 50%;
    bottom: auto;
    margin-top: -26px;
  }
  .lightbox__nav--prev {
    left: 24px;
  }
  .lightbox__nav--next {
    right: 24px;
  }
}

/* ---------- Phones: calmer rhythm ---------- */

@media (max-width: 39.99em) {
  body {
    font-size: 1rem;
  }
  .tile {
    padding: 22px;
  }
  .gallery,
  .gallery__col {
    gap: 10px;
  }
  .about__art {
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  }
  .reach li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Visitors who asked for less motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .ticker__track,
  .logos__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logos {
    padding-inline: var(--gutter);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hl::before {
    transform: skewX(-10deg) scaleX(1);
  }
  .svc__swap {
    opacity: 0;
  }
  .bigline p {
    transform: none;
  }
}
