:root {
  --bg: #070708;
  --bg-soft: #0a0a0c;
  --surface: #0e0e12;
  --surface-2: #121116;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f0eee7;
  --muted: #99959e;
  --muted-dark: #6d6972;
  --accent: #9447e4;
  --accent-bright: #ad5cff;
  --accent-soft: rgba(148, 71, 228, 0.13);
  --glass: rgba(17, 12, 22, 0.56);
  --glass-strong: rgba(22, 15, 29, 0.76);
  --glass-line: rgba(224, 204, 239, 0.15);
  --shell: 1340px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Geologica", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.preloader-active {
  height: 100svh;
  overflow: hidden;
}

.site-preloader {
  --preloader-progress: 0%;
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  background: transparent;
  color: var(--text);
  isolation: isolate;
  animation: preloader-failsafe 0s linear 6s forwards;
}

.site-preloader::before,
.site-preloader::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  content: "";
}

.site-preloader::before {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-preloader::after {
  opacity: 0.055;
  background-image: radial-gradient(rgba(255, 255, 255, 0.82) 0.55px, transparent 0.7px);
  background-size: 4px 4px;
}

.preloader-panel {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  overflow: visible;
  background-color: #070609;
  background-image:
    radial-gradient(circle at 50% 48%, rgba(120, 58, 164, 0.16), transparent 44%),
    linear-gradient(90deg, rgba(4, 4, 6, 0.72), rgba(13, 9, 17, 0.46), rgba(4, 4, 6, 0.72)),
    url("assets/textures/concrete-purple-graffiti.jpg");
  background-size: 100% 100%, 100% 100%, auto 100vh;
  background-blend-mode: normal, normal, normal;
  opacity: 1;
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.preloader-panel::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(173, 92, 255, 0.28),
    rgba(226, 183, 255, 0.96) 18%,
    rgba(173, 92, 255, 0.98) 50%,
    rgba(226, 183, 255, 0.96) 82%,
    rgba(173, 92, 255, 0.28)
  );
  box-shadow:
    0 0 12px rgba(173, 92, 255, 0.86),
    0 0 34px rgba(148, 71, 228, 0.48);
  opacity: 0;
  content: "";
  transition: opacity 60ms linear;
}

.preloader-panel-left {
  left: 0;
  background-position: center, center, left center;
  transform-origin: left center;
}

.preloader-panel-left::after {
  right: 0;
}

.preloader-panel-right {
  right: 0;
  background-position: center, center, right center;
  transform-origin: right center;
}

.preloader-panel-right::after {
  left: 0;
}

.preloader-content {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
}

.preloader-content-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  overflow: hidden;
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.preloader-content-half-left {
  left: 0;
}

.preloader-content-half-right {
  right: 0;
}

.preloader-content-copy {
  position: absolute;
  top: 50%;
  width: min(calc(100vw - 100px), 1080px);
  transform: translate(-50%, -50%);
}

.preloader-content-half-left .preloader-content-copy {
  left: 50vw;
}

.preloader-content-half-right .preloader-content-copy {
  left: 0;
}

.preloader-word {
  position: relative;
  display: block;
  margin: 0;
  color: #f0eee7;
  font-family: var(--display);
  font-size: clamp(48px, 8.6vw, 124px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.36);
  white-space: nowrap;
}

.preloader-dots {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.075em;
  margin-left: 0.11em;
  padding-bottom: 0.1em;
  vertical-align: bottom;
}

.preloader-dots i {
  display: block;
  width: 0.105em;
  height: 0.105em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.14em rgba(173, 92, 255, 0.56);
  animation: preloader-dot-pulse 780ms ease-in-out infinite alternate;
}

.preloader-dots i:nth-child(2) {
  animation-delay: 150ms;
}

.preloader-dots i:nth-child(3) {
  animation-delay: 300ms;
}

.preloader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  color: rgba(240, 238, 231, 0.5);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preloader-meta strong {
  min-width: 74px;
  color: rgba(240, 238, 231, 0.88);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.preloader-tapes {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.preloader-tape-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  overflow: hidden;
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.preloader-tape-half-left {
  left: 0;
}

.preloader-tape-half-right {
  right: 0;
}

.preloader-tape {
  --stripe-period: 58.6px;
  position: absolute;
  top: var(--tape-y);
  left: var(--tape-x, 50%);
  width: 154vw;
  height: clamp(46px, 4.2vw, 62px);
  opacity: var(--tape-opacity, 0.94);
  background: #18101d;
  border-block: 1px solid rgba(226, 196, 242, 0.62);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -2px rgba(0, 0, 0, 0.46),
    0 12px 24px rgba(0, 0, 0, 0.44);
  filter: saturate(0.88) contrast(1.08);
  transform: translate(-50%, -50%) rotate(var(--tape-rotate));
  clip-path: polygon(
    0 24%, 8% 12%, 18% 19%, 29% 7%, 41% 17%, 54% 9%, 67% 21%, 80% 10%, 91% 18%, 100% 8%,
    100% 78%, 91% 91%, 80% 82%, 67% 94%, 54% 84%, 41% 93%, 29% 81%, 18% 92%, 8% 84%, 0 94%
  );
  will-change: transform;
  isolation: isolate;
}

.preloader-tape::before,
.preloader-tape::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.preloader-tape::before {
  z-index: 0;
  inset: -120% -90px;
  background: repeating-linear-gradient(125deg, #9b4fd0 0 24px, #18101d 24px 48px);
  transform: translate3d(calc(var(--stripe-period) * -1), 0, 0);
  animation: preloader-tape-flow 820ms linear infinite;
  will-change: transform;
}

.preloader-tape::after {
  z-index: 1;
  inset: -55% 0;
  background: linear-gradient(
      105deg,
      transparent 42%,
      rgba(244, 224, 255, 0.2) 50%,
      transparent 58%
    ),
    linear-gradient(180deg, rgba(244, 224, 255, 0.4), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(181, 96, 238, 0.1), rgba(255, 255, 255, 0.03) 45%, rgba(97, 35, 131, 0.22));
  background-position: -35% 50%, 0 0, 0 0;
  background-repeat: no-repeat;
  background-size: 28% 180%, 100% 100%, 100% 100%;
  animation: preloader-tape-shine 1480ms ease-in-out infinite;
}

.preloader-tape-half-right .preloader-tape {
  left: calc(var(--tape-x, 50%) - 50vw);
}

.preloader-tape-1 { --tape-y: -1%; --tape-x: 46vw; --tape-rotate: -7deg; --tape-opacity: 0.88; }
.preloader-tape-2 { --tape-y: 9%; --tape-x: 54vw; --tape-rotate: 8deg; --tape-opacity: 0.96; }
.preloader-tape-3 { --tape-y: 27%; --tape-x: 49vw; --tape-rotate: -4.5deg; --tape-opacity: 1; }
.preloader-tape-4 { --tape-y: 73%; --tape-x: 51vw; --tape-rotate: 4.5deg; --tape-opacity: 1; }
.preloader-tape-5 { --tape-y: 90%; --tape-x: 47vw; --tape-rotate: -8deg; --tape-opacity: 0.96; }
.preloader-tape-6 { --tape-y: 101%; --tape-x: 54vw; --tape-rotate: 7deg; --tape-opacity: 0.88; }

.preloader-tape:nth-child(even) {
  --stripe-period: 61.04px;
  background: #17101c;
}

.preloader-tape:nth-child(even)::before {
  background: repeating-linear-gradient(55deg, #17101c 0 25px, #9650c5 25px 50px);
  animation-direction: reverse;
  animation-duration: 940ms;
}

.preloader-tape:nth-child(even)::after {
  animation-delay: -620ms;
  animation-direction: reverse;
}

.preloader-slit {
  display: none;
}

.site-preloader.is-leaving {
  animation: none;
  pointer-events: none;
}

.site-preloader.is-leaving .preloader-content-half-left {
  transform: translateX(-102%);
}

.site-preloader.is-leaving .preloader-content-half-right {
  transform: translateX(102%);
}

.site-preloader.is-leaving .preloader-panel::after {
  opacity: 1;
}

.site-preloader.is-leaving .preloader-tape-half-left {
  transform: translateX(-102%);
}

.site-preloader.is-leaving .preloader-tape-half-right {
  transform: translateX(102%);
}

.site-preloader.is-leaving .preloader-panel-left {
  transform: translateX(-102%);
}

.site-preloader.is-leaving .preloader-panel-right {
  transform: translateX(102%);
}

@keyframes preloader-failsafe {
  to { visibility: hidden; }
}

@keyframes preloader-dot-pulse {
  0% {
    opacity: 0.24;
    transform: translateY(0.035em) scale(0.72);
  }
  100% {
    opacity: 1;
    transform: translateY(-0.025em) scale(1);
  }
}

@keyframes preloader-tape-flow {
  from {
    transform: translate3d(calc(var(--stripe-period) * -1), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes preloader-tape-shine {
  0%, 10% {
    opacity: 0;
    background-position: -35% 50%, 0 0, 0 0;
  }
  26% {
    opacity: 0.8;
  }
  74% {
    opacity: 0.8;
  }
  90%, 100% {
    opacity: 0;
    background-position: 135% 50%, 0 0, 0 0;
  }
}

@media (max-width: 760px) {
  .preloader-content-copy {
    width: calc(100vw - 40px);
  }

  .preloader-word {
    font-size: clamp(38px, 11.5vw, 62px);
    letter-spacing: -0.08em;
  }

  .preloader-meta {
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .preloader-meta strong {
    min-width: 62px;
    font-size: 12px;
  }

  .preloader-tape {
    width: 220vw;
    height: 42px;
  }

}

main {
  position: relative;
  isolation: isolate;
  background-color: #0b0910;
  background-image:
    linear-gradient(90deg, rgba(4, 4, 6, 0.24), transparent 18%, transparent 82%, rgba(4, 4, 6, 0.24)),
    linear-gradient(180deg, rgba(8, 6, 11, 0.05), rgba(10, 7, 13, 0.12));
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

main::before,
main::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/textures/concrete-purple-graffiti.jpg");
  background-position: center 0;
  background-size: auto 1200px;
  background-repeat: repeat-y;
  content: "";
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 180px, black 1020px, transparent 1200px);
  -webkit-mask-position: center 0;
  -webkit-mask-size: 100% 1200px;
  -webkit-mask-repeat: repeat-y;
  mask-image: linear-gradient(180deg, transparent 0, black 180px, black 1020px, transparent 1200px);
  mask-position: center 0;
  mask-size: 100% 1200px;
  mask-repeat: repeat-y;
}

main::after {
  z-index: -1;
  background-position: center 600px;
  opacity: 0.82;
  -webkit-mask-position: center 600px;
  mask-position: center 600px;
}

::selection {
  background: var(--accent);
  color: white;
}

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled,
  html.custom-cursor-enabled body,
  html.custom-cursor-enabled body * {
    cursor: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.shell {
  width: min(calc(100% - 100px), var(--shell));
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 0.55px, transparent 0.7px);
  background-size: 4px 4px;
}

.cursor-aura,
.cursor-orbit {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -200px), var(--cursor-y, -200px), 0)
    translate(-50%, -50%);
  backface-visibility: hidden;
  contain: layout style paint;
  will-change: transform, opacity;
}

.cursor-aura {
  z-index: 950;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(178, 94, 239, 0.1),
    rgba(126, 58, 180, 0.035) 38%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transition:
    width 320ms ease,
    height 320ms ease,
    opacity 220ms ease;
}

.cursor-orbit {
  z-index: 960;
  width: 28px;
  height: 28px;
  contain: layout style;
  border: 1px solid rgba(220, 185, 246, 0.42);
  border-radius: 50%;
  box-shadow:
    inset 0 0 10px rgba(171, 84, 234, 0.08),
    0 0 18px rgba(148, 71, 228, 0.12);
  transition:
    width 180ms ease,
    height 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

body.cursor-active .cursor-aura,
body.cursor-active .cursor-orbit {
  opacity: 1;
}

body.cursor-over-interactive .cursor-aura {
  width: 430px;
  height: 430px;
  opacity: 0.9;
}

body.cursor-over-interactive .cursor-orbit {
  width: 42px;
  height: 42px;
  border-color: rgba(210, 155, 255, 0.7);
  background: rgba(155, 71, 214, 0.055);
}

body.cursor-pressed .cursor-orbit {
  width: 22px;
  height: 22px;
  background: rgba(175, 90, 238, 0.16);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  background: transparent;
  pointer-events: none;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

body.preloader-active .site-header {
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  transition: none;
}

body.preloader-revealing .site-header {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 780ms cubic-bezier(0.76, 0, 0.24, 1),
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.scrolled {
  border-color: var(--glass-line);
  background: rgba(13, 9, 18, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 40px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}

.header-inner {
  --header-link-gap: 26px;
  position: relative;
  display: flex;
  height: 44px;
  width: min(calc(100% - 100px), var(--shell));
  margin-inline: auto;
  align-items: center;
  gap: 0;
  overflow: visible;
  border: 0;
  padding: 3px 6px 3px 10px;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.header-inner::before {
  position: absolute;
  inset: 0 calc((100vw - 100%) / -2);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(108deg, transparent 15%, rgba(255, 255, 255, 0.045) 38%, transparent 58%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.header-inner::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 180px at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(192, 118, 247, 0.14),
    rgba(149, 69, 205, 0.045) 44%,
    transparent 72%
  );
  content: "";
  opacity: 0;
  transition: opacity 200ms ease;
}

.site-header.scrolled .header-inner::before,
.site-header.scrolled .header-inner:hover::after {
  opacity: 1;
}

.header-inner > * {
  position: relative;
  z-index: 1;
}

.site-header.scrolled .header-inner {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(191, 123, 241, 0.36);
  border-radius: 50%;
  background: #030304;
  box-shadow:
    inset 0 0 12px rgba(163, 76, 224, 0.13),
    0 0 22px rgba(148, 71, 228, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--header-link-gap);
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--header-link-gap);
  margin-left: calc(var(--header-link-gap) * 2);
}

.desktop-nav a {
  position: relative;
  color: #aaa6ae;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 124, 245, 0.88), transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.desktop-nav a.is-active {
  color: #f4f0f6;
}

.nav-page {
  color: #aaa6ae;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(207, 165, 239, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(104, 46, 145, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-page:hover,
.nav-page.active {
  border-color: rgba(207, 165, 239, 0.48);
  background: rgba(135, 59, 188, 0.18);
  color: #fff;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(203, 151, 244, 0.38);
  padding: 14px 26px;
  background:
    linear-gradient(135deg, rgba(174, 83, 235, 0.46), rgba(105, 49, 150, 0.26)),
    rgba(24, 16, 31, 0.62);
  color: white;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 110px at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.19), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%);
  content: "";
  opacity: 0.45;
  transition: opacity 180ms ease;
}

.button::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -55%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
  opacity: 0;
  transform: skewX(-18deg);
}

.button:hover {
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px), 0);
  border-color: rgba(219, 177, 250, 0.68);
  background:
    linear-gradient(135deg, rgba(185, 93, 246, 0.58), rgba(112, 52, 159, 0.34)),
    rgba(24, 16, 31, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(42, 15, 61, 0.3);
}

.button:hover::after {
  animation: button-sweep 720ms ease;
}

.button:active {
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0) scale(0.98);
}

@keyframes button-sweep {
  0% {
    left: -55%;
    opacity: 0;
  }

  24% {
    opacity: 0.72;
  }

  100% {
    left: 125%;
    opacity: 0;
  }
}

.button:hover::before {
  opacity: 1;
}

.ui-icon {
  --ui-icon-size: 1.15em;
  display: inline-block;
  flex: 0 0 var(--ui-icon-size);
  width: var(--ui-icon-size);
  height: var(--ui-icon-size);
  background: currentColor;
  vertical-align: -0.14em;
  -webkit-mask: var(--ui-icon-art) center / contain no-repeat;
  mask: var(--ui-icon-art) center / contain no-repeat;
  transform: rotate(-2deg);
}

.ui-icon-arrow-ne {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5M10 5h9v9' stroke-width='2.7'/%3E%3Cpath d='m5.2 16.3-1.5 2.1M8.1 19.2 6.7 21' stroke-width='1.25'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon-arrow-se {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 5 14 14M19 10v9h-9' stroke-width='2.7'/%3E%3Cpath d='m7.4 5.7-2-1.6M5 8.7 3.2 7.4' stroke-width='1.25'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon-arrow-e {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6' stroke-width='2.5'/%3E%3Cpath d='m4 9-2-1M4 15l-2 1' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon-arrow-w {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12H4M10 6l-6 6 6 6' stroke-width='2.5'/%3E%3Cpath d='m20 9 2-1M20 15l2 1' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon-arrow-n {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V4M6 10l6-6 6 6' stroke-width='2.5'/%3E%3Cpath d='m9 20-1 2M15 20l1 2' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon-close {
  --ui-icon-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round'%3E%3Cpath d='M5 5.5 19 19M19 5 5 19' stroke-width='2.5'/%3E%3Cpath d='m4 3-1-1M21 21l1 1' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

.button .ui-icon {
  --ui-icon-size: 22px;
  color: #e7c7fb;
  filter: drop-shadow(0 0 7px rgba(184, 91, 240, 0.3));
  transition: transform 220ms ease, filter 220ms ease;
}

.button:hover .ui-icon {
  filter: drop-shadow(0 0 9px rgba(205, 137, 247, 0.5));
  transform: translate(2px, -2px) rotate(-2deg);
}

.button .ui-icon-arrow-se {
  transform: rotate(2deg);
}

.button:hover .ui-icon-arrow-se {
  transform: translate(2px, 2px) rotate(2deg);
}

.footer-socials a,
.footer-bottom > a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.footer-socials .ui-icon,
.footer-bottom .ui-icon {
  --ui-icon-size: 14px;
  color: #8e668f;
}

.button-small {
  min-height: 40px;
  margin-left: 0;
  padding: 10px 17px;
  font-size: 16px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.site-header .button-small {
  min-height: 30px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.button-ghost {
  border-color: rgba(226, 207, 239, 0.18);
  background: rgba(13, 10, 17, 0.48);
}

.button-ghost:hover {
  border-color: rgba(199, 143, 241, 0.46);
  background: rgba(118, 54, 165, 0.2);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(720px, 100svh);
  align-items: center;
  isolation: isolate;
  overflow: visible;
}

.hero-image,
.hero-shade,
.scope-image,
.studio-image,
.contact-image {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: url("assets/rook/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
  -webkit-mask-image:
    linear-gradient(180deg, black 0%, black 73%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, black 0%, black 73%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 5, 0.99) 0%, rgba(3, 3, 5, 0.9) 30%, rgba(3, 3, 5, 0.26) 66%, rgba(3, 3, 5, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12) 67%, rgba(7, 7, 8, 0.72) 100%);
}

.hero::before,
.section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image:
    linear-gradient(90deg, black, transparent 72%),
    linear-gradient(180deg, transparent, black 110px, black calc(100% - 110px), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, black, transparent 72%),
    linear-gradient(180deg, transparent, black 110px, black calc(100% - 110px), transparent);
  mask-composite: intersect;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

.hero-copy {
  max-width: 980px;
}

.eyebrow,
.section-tag {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #918d97;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow span,
.section-tag span {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 55% 45% 48% 52%;
  background: var(--accent-bright);
  box-shadow: 0 0 11px rgba(173, 92, 255, 0.68);
  transform: rotate(-8deg);
}

.eyebrow span::after,
.section-tag span::after {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 2px;
  height: 6px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(180deg, var(--accent-bright), rgba(173, 92, 255, 0.16));
  content: "";
  transform: rotate(7deg);
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 940px;
  font-size: clamp(44px, 5vw, 72px);
  text-wrap: initial;
}

.title-line,
.copy-line {
  display: block;
}

.hero h1 .title-line,
.approach-heading h2 .title-line,
.approach-heading .copy-line {
  white-space: nowrap;
}

em {
  color: var(--accent-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 735px;
  margin: 28px 0 0;
  color: #c6c2c8;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  max-width: 620px;
  margin: 15px 0 0;
  color: #85818a;
  font-size: 14px;
}

.hero-trust {
  --glow-x: 50%;
  --glow-y: 50%;
  position: absolute;
  isolation: isolate;
  z-index: 4;
  right: 0;
  bottom: -17px;
  left: 0;
  overflow: hidden;
  border-block: 1px solid rgba(220, 198, 236, 0.14);
  background: rgba(17, 11, 23, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(174, 88, 237, 0.08),
    0 14px 38px rgba(0, 0, 0, 0.22);
  transform: rotate(-0.28deg) scale(1.006);
  transform-origin: center;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

.hero-trust::before,
.hero-trust::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-trust::before {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1),
      transparent 28%,
      rgba(166, 82, 225, 0.035) 72%,
      rgba(255, 255, 255, 0.04)
    ),
    linear-gradient(
      108deg,
      transparent 18%,
      rgba(255, 255, 255, 0.055) 36%,
      transparent 54%
    );
}

.hero-trust::after {
  background: radial-gradient(
    circle 170px at var(--glow-x) var(--glow-y),
    rgba(196, 126, 255, 0.22),
    rgba(151, 71, 207, 0.075) 42%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-trust-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hero-trust-marquee 42s linear infinite;
}

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

.hero-trust span {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding-left: 22px;
  color: rgba(245, 240, 248, 0.78);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-trust span::after {
  width: 24px;
  height: 42px;
  margin-left: 22px;
  background: repeating-linear-gradient(
    135deg,
    rgba(195, 121, 248, 0.46) 0 6px,
    transparent 6px 13px
  );
  content: "";
  opacity: 0.72;
}

@media (hover: hover) and (pointer: fine) {
  .hero-trust:hover::after {
    opacity: 1;
  }
}

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

.card-index,
.scope-card-head > span,
.process-number,
.studio-principles article > span,
.fit-card > span {
  color: #76528d;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.section {
  position: relative;
  margin-top: -1px;
  padding: 132px 0;
  scroll-margin-top: 64px;
  overflow: hidden;
}

.wall-section {
  isolation: isolate;
}

.wall-section > .shell {
  position: relative;
  z-index: 1;
}

.wall-section > .wall-background {
  display: none;
}

.wall-section > .wall-background::before,
.wall-section > .wall-background::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 160px;
  pointer-events: none;
  content: "";
}

.wall-section > .wall-background::before {
  top: 0;
  background: linear-gradient(180deg, #070708, transparent);
}

.wall-section > .wall-background::after {
  bottom: 0;
  background: linear-gradient(0deg, #070708, transparent);
}

.wall-research { --wall-image: url("assets/textures/wall-research.jpg"); }
.wall-process { --wall-image: url("assets/textures/wall-process.jpg"); }
.wall-system { --wall-image: url("assets/textures/wall-system.jpg"); }
.wall-experiment { --wall-image: url("assets/textures/wall-experiment.jpg"); }
.wall-prototype { --wall-image: url("assets/textures/wall-prototype.jpg"); }
.wall-portfolio { --wall-image: url("assets/textures/wall-portfolio.jpg"); }

.hero::after,
.portfolio-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 230px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 8, 14, 0.76));
  content: "";
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading h2 {
  font-size: clamp(40px, 4.7vw, 68px);
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.approach {
  z-index: 1;
  padding-bottom: 56px;
  background: transparent;
}

.approach > .shell {
  position: relative;
  z-index: 1;
}

.approach-heading {
  max-width: 1180px;
}

.approach-heading h2 {
  max-width: 1120px;
}

.approach-heading > p:last-child {
  max-width: 1120px;
}

.logic-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logic-card {
  position: relative;
  min-height: 330px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 28px 34px;
  background: rgba(255, 255, 255, 0.008);
  transition: background 0.25s ease, transform 0.25s ease;
}

.logic-card::after {
  position: absolute;
  top: 44px;
  right: -4px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-top: 1px solid #70438d;
  border-right: 1px solid #70438d;
  content: "";
  transform: rotate(45deg);
}

.logic-card:last-child::after {
  display: none;
}

.logic-card:hover {
  z-index: 2;
  background: rgba(148, 71, 228, 0.055);
  transform: translateY(-4px);
}

.logic-card h3,
.scope-card h3,
.process-row h3,
.studio-principles h3,
.fit-card h3 {
  margin: 74px 0 16px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.logic-card p,
.scope-card > p,
.studio-principles p,
.fit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.approach-result {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(148, 71, 228, 0.3);
  border-top: 0;
  padding: 28px 32px;
  background: linear-gradient(90deg, rgba(148, 71, 228, 0.08), transparent 60%);
}

.approach-result > span {
  position: relative;
  width: max-content;
  color: var(--accent-bright);
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(173, 92, 255, 0.22);
  text-transform: none;
  transform: none;
}

.approach-result p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.8vw, 23px);
  line-height: 1.35;
}

.scope {
  isolation: isolate;
  padding-top: 56px;
  padding-bottom: 56px;
  background: transparent;
}

.scope-image {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.74) 0%, rgba(8, 9, 11, 0.58) 35%, rgba(8, 9, 11, 0.22) 68%, rgba(8, 8, 11, 0.66) 100%),
    linear-gradient(180deg, rgba(10, 8, 13, 0.34), transparent 30%, transparent 70%, rgba(10, 8, 13, 0.34)),
    url("assets/rook/poster.jpg") 72% center / cover no-repeat;
  filter: grayscale(0.5);
  opacity: 0.45;
  -webkit-mask-image:
    linear-gradient(180deg, transparent, black 17%, black 83%, transparent),
    linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent, black 17%, black 83%, transparent),
    linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-composite: intersect;
}

.scope-image::after,
.studio-image::after,
.contact-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 8, 13, 0.34), transparent 25%, transparent 75%, rgba(10, 8, 13, 0.34)),
    linear-gradient(90deg, rgba(9, 7, 12, 0.56), transparent 24%, transparent 76%, rgba(9, 7, 12, 0.56));
  content: "";
}

.scope-layout {
  position: relative;
  z-index: 1;
}

.scope-heading {
  max-width: 1060px;
}

.scope-heading > p:last-child {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .scope-heading > p:last-child {
    white-space: normal;
  }
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 64px;
}

.scope-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 30px;
  background: rgba(9, 9, 12, 0.8);
  backdrop-filter: blur(14px);
}

.scope-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.scope-card h3 {
  margin: 0;
  font-size: 24px;
}

.scope-card > p {
  min-height: 84px;
  margin-top: 28px;
}

.scope-card ul {
  margin: 22px 0 36px;
  padding: 0;
  color: #a9a5ad;
  font-size: 16px;
  list-style: none;
}

.scope-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 15px;
}

.scope-card li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 12px;
  background:
    radial-gradient(circle at 50% 27%, var(--accent-bright) 0 3px, transparent 3.4px),
    linear-gradient(180deg, rgba(173, 92, 255, 0.9), rgba(173, 92, 255, 0.08)) 50% 6px / 2px 6px no-repeat;
  content: "";
  filter: drop-shadow(0 0 5px rgba(173, 92, 255, 0.34));
  transform: rotate(-5deg);
}

.scope-card li:nth-child(even)::before {
  transform: translateX(1px) rotate(7deg) scaleY(0.88);
}

.scope-outcome {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: #d0ccd2;
  font-size: 16px;
}

.scope-outcome small,
.process-row small,
.process-output small,
.case-meta small {
  display: block;
  margin-bottom: 7px;
  color: #725381;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process {
  padding-top: 56px;
  padding-bottom: 56px;
  background: transparent;
}

.process-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  column-gap: 72px;
  align-items: start;
}

.process-heading .section-tag {
  grid-column: 1 / -1;
}

.process-heading > p:last-child {
  margin: 0;
}

.process-list {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
}

.process-row {
  display: grid;
  grid-template-columns: 52px 1fr 1.2fr 0.7fr;
  gap: 28px;
  align-items: start;
  min-height: 148px;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  transition: background 0.25s ease;
}

.process-row:hover {
  background: linear-gradient(90deg, transparent, rgba(148, 71, 228, 0.04), transparent);
}

.process-number {
  padding-top: 7px;
}

.process-row h3 {
  margin: 0;
  font-size: 20px;
}

.process-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.process-output {
  color: #c5c1c9;
  font-size: 16px;
}

.case {
  background: transparent;
}

.case::before {
  -webkit-mask-image:
    linear-gradient(90deg, transparent, black 30%, transparent),
    linear-gradient(180deg, transparent, black 110px, black calc(100% - 110px), transparent);
  mask-image:
    linear-gradient(90deg, transparent, black 30%, transparent),
    linear-gradient(180deg, transparent, black 110px, black calc(100% - 110px), transparent);
}

.case-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 72px;
  align-items: end;
}

.case-summary > p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
}

.case-meta {
  display: grid;
  border-top: 1px solid var(--line);
}

.case-meta > span {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  color: #c2bec6;
  font-size: 15px;
}

.case-hero {
  position: relative;
  z-index: 1;
  height: min(720px, 52vw);
  margin: 70px 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.case-hero img,
.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transition: filter 0.35s ease, transform 0.7s ease;
}

.case-hero:hover img,
.case-gallery figure:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.018);
}

.case-hero::after,
.case-gallery figure::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(2, 2, 3, 0.88));
  content: "";
}

.case-hero figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
}

.case-hero figcaption > span,
.case-gallery figcaption {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-hero figcaption p {
  max-width: 420px;
  margin: 0;
  color: #c7c3ca;
  font-size: 16px;
  text-align: right;
}

.case-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-gallery figure {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.case-gallery figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.case-gallery figcaption span {
  color: #805496;
}

.case-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.55fr 1.15fr 0.8fr;
  gap: 54px;
  align-items: start;
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
  padding-top: 34px;
}

.case-proof h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.case-proof > p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.studio {
  min-height: 860px;
  padding-top: 56px;
  isolation: isolate;
  background: transparent;
}

.studio-image {
  z-index: -2;
  left: 38%;
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.7) 0%, rgba(8, 8, 10, 0.6) 18%, rgba(8, 8, 10, 0.12) 70%, rgba(8, 7, 11, 0.6) 100%),
    linear-gradient(180deg, rgba(10, 8, 13, 0.3) 0%, transparent 22%, transparent 72%, rgba(10, 8, 13, 0.3) 100%),
    url("assets/rook/cafe.jpg") center / cover no-repeat;
  filter: grayscale(0.5);
  opacity: 0.48;
  -webkit-mask-image:
    linear-gradient(180deg, transparent, black 18%, black 82%, transparent),
    linear-gradient(90deg, transparent, black 13%, black 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent, black 18%, black 82%, transparent),
    linear-gradient(90deg, transparent, black 13%, black 88%, transparent);
  mask-composite: intersect;
}

.studio-layout {
  position: relative;
  z-index: 1;
}

.studio-heading {
  max-width: 930px;
}

.studio-heading h2 .title-line {
  display: block;
  white-space: nowrap;
}

.studio-heading > p:last-child {
  max-width: 650px;
}

.studio-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  gap: 18px;
  margin-top: 80px;
  background: transparent;
}

.studio-principles article {
  --studio-glow-x: 84%;
  --studio-glow-y: 18%;
  min-height: 360px;
  padding: 38px 42px;
  border-radius: 36px 14px 36px 14px;
  background:
    radial-gradient(circle at var(--studio-glow-x) var(--studio-glow-y), rgba(164, 78, 218, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 46%),
    rgba(16, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  backdrop-filter: blur(20px) saturate(1.08);
}

.studio-principles article:nth-child(2) {
  --studio-glow-x: 18%;
  --studio-glow-y: 82%;
  border-radius: 16px 42px 16px 42px;
}

.studio-principles article:nth-child(3) {
  --studio-glow-x: 78%;
  --studio-glow-y: 74%;
  border-radius: 34px 34px 12px 34px;
}

.studio-principles article:nth-child(4) {
  --studio-glow-x: 20%;
  --studio-glow-y: 18%;
  border-radius: 42px 14px 42px 14px;
}

.studio-principles article::after {
  position: absolute;
  z-index: 0;
  top: 42px;
  right: 42px;
  color: rgba(204, 144, 243, 0.055);
  content: attr(data-index);
  font-family: var(--display);
  font-size: clamp(112px, 13vw, 190px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.74;
  pointer-events: none;
}

.studio-principles article > * {
  position: relative;
  z-index: 4;
}

.studio-principles article > span {
  display: none;
}

.studio-principles h3 {
  max-width: 460px;
  margin: 118px 0 18px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
}

.studio-principles p {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.52;
}

.fit {
  background: transparent;
}

.fit-layout {
  position: relative;
  z-index: 1;
}

.fit-heading {
  max-width: 1050px;
}

.fit-heading h2 .title-line {
  display: block;
  white-space: nowrap;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 65px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fit-card {
  min-height: 260px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 30px;
}

.fit-card h3 {
  max-width: 500px;
  margin: 50px 0 14px;
  font-size: 20px;
}

.fit-card p {
  max-width: 540px;
}

.fit-note {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(148, 71, 228, 0.3);
  border-top: 0;
  padding: 28px 32px;
  background: linear-gradient(90deg, rgba(148, 71, 228, 0.08), transparent 60%);
}

.fit-note > span {
  color: var(--accent-bright);
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(173, 92, 255, 0.22);
  text-transform: none;
}

.fit-note p {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(16px, 1.8vw, 23px);
  line-height: 1.35;
}

.faq {
  background: transparent;
  overflow: clip;
}

.faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  z-index: 1;
  top: 54px;
  align-self: start;
  height: fit-content;
  padding-top: 26px;
}

.faq-heading .section-tag {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 0;
  margin: 0;
}

.faq-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
}

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

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

.faq summary {
  position: relative;
  padding: 26px 58px 26px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  list-style: none;
}

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

.faq summary i,
.faq summary i::after {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 15px;
  height: 1px;
  background: var(--accent-bright);
  content: "";
  transition: transform 0.25s ease;
}

.faq summary i::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.faq details[open] summary i {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 440ms cubic-bezier(0.22, 0.72, 0.22, 1),
    opacity 280ms ease;
}

.faq details[open] .faq-answer {
  height: auto;
  opacity: 1;
}

.faq-answer > p {
  max-width: 700px;
  margin: -2px 0 0;
  padding: 0 65px 28px 0;
  color: var(--muted);
  font-size: 16px;
}

.contact {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  border-top: 0;
  isolation: isolate;
  scroll-margin-top: 64px;
}

.contact-image {
  z-index: -3;
  top: 0;
  right: -1px;
  bottom: -80px;
  left: -1px;
  background:
    linear-gradient(90deg, rgba(8, 6, 10, 0.76), rgba(7, 6, 9, 0.48) 50%, rgba(6, 5, 8, 0.46)),
    linear-gradient(180deg, transparent 0%, rgba(10, 8, 13, 0.12) 30%, transparent 48%, transparent 76%, rgba(10, 8, 13, 0.58) 100%),
    url("assets/rook/music.jpg") center top / cover no-repeat;
  filter: grayscale(0.75) contrast(1.06);
  opacity: 0.58;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 4%, black 14%, black 82%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 22%, black 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 4%, black 14%, black 82%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-composite: intersect;
}

.contact::after {
  position: absolute;
  z-index: -2;
  inset: -140px 0 -100px;
  background: linear-gradient(180deg, transparent 0%, transparent 18%, rgba(10, 8, 13, 0.1) 38%, transparent 52%, rgba(10, 8, 13, 0.26) 72%, rgba(10, 8, 13, 0.72) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 18%, black 38%, black 100%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 18%, black 38%, black 100%);
  content: "";
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 76px;
  align-items: start;
  padding: 128px 0 316px;
}

.contact-copy h2 {
  max-width: 810px;
  font-size: clamp(42px, 5vw, 72px);
}

.contact-copy h2 .title-line {
  display: block;
  white-space: nowrap;
}

.contact-copy > p:not(.section-tag) {
  max-width: 650px;
  margin: 30px 0 0;
  color: #b3afb7;
  font-size: 18px;
}

.contact-promise {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  max-width: 650px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.contact-promise > span {
  color: #7b568d;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-promise p {
  margin: 0;
  color: #aaa6ae;
  font-size: 16px;
}

.project-form {
  display: grid;
  width: calc(100% + 160px);
  max-width: none;
  gap: 0;
  border: 1px solid var(--line-strong);
  padding: 32px;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(16px);
}

.project-form label {
  display: grid;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.project-form label:first-child {
  padding-top: 0;
}

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

.project-form .form-trap + label {
  padding-top: 0;
}

.project-form label > span {
  color: #7c7882;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-form input,
.project-form textarea {
  width: 100%;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: #55515a;
}

.form-submit {
  width: 100%;
  margin-top: 26px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note {
  margin: 13px 0 0;
  color: #66616b;
  font-size: 14px;
  text-align: center;
}

.form-note.success {
  color: #b790cc;
}

.form-note.error {
  color: #ed8a9d;
}

.site-footer {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 28px;
  left: 0;
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(130px, 0.62fr));
  gap: 42px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: #77737b;
  font-size: 14px;
}

.footer-brand p {
  max-width: 470px;
  margin: 16px 0 0;
  color: #68646d;
  font-size: 14px;
  line-height: 1.55;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer nav a,
.footer-socials a {
  transition: color 0.2s ease;
}

.site-footer nav a:hover,
.footer-socials a:hover {
  color: white;
}

.footer-title {
  margin-bottom: 4px;
  color: #5e5963;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #514d55;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer-location {
  justify-self: center;
}

.site-sticker {
  position: absolute;
  z-index: 0;
  width: clamp(210px, 15vw, 248px);
  height: auto;
  max-height: 248px;
  cursor: default;
  pointer-events: none;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.08) saturate(0.68) contrast(0.94) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.38));
  opacity: 0.4;
  transform: rotate(var(--sticker-rotate, 0deg));
  transform-origin: center;
  user-select: none;
}

.sticker-approach-a {
  --sticker-rotate: -24deg;
  top: 3%;
  left: 1%;
}

.sticker-approach-b {
  --sticker-rotate: 18deg;
  top: 15%;
  right: 2%;
}

.sticker-approach-c {
  --sticker-rotate: -31deg;
  top: 35%;
  left: 43%;
}

.sticker-approach-d {
  --sticker-rotate: 26deg;
  top: 55%;
  right: 14%;
}

.sticker-approach-e {
  --sticker-rotate: 33deg;
  bottom: 8%;
  left: 4%;
}

.sticker-approach-f {
  --sticker-rotate: -18deg;
  right: 2%;
  bottom: 2%;
}

.sticker-scope-a {
  --sticker-rotate: -20deg;
  top: 4%;
  left: 3%;
}

.sticker-scope-b {
  --sticker-rotate: 28deg;
  top: 21%;
  left: 36%;
}

.sticker-scope-c {
  --sticker-rotate: 17deg;
  top: 38%;
  left: 2%;
}

.sticker-scope-d {
  --sticker-rotate: -34deg;
  top: 56%;
  left: 38%;
}

.sticker-scope-e {
  --sticker-rotate: -16deg;
  top: 75%;
  left: 5%;
}

.sticker-scope-f {
  --sticker-rotate: 22deg;
  bottom: 2%;
  left: 42%;
}

.sticker-process-a {
  --sticker-rotate: 21deg;
  top: 5%;
  left: 9%;
}

.sticker-process-b {
  --sticker-rotate: -29deg;
  top: 17%;
  right: 5%;
}

.sticker-process-c {
  --sticker-rotate: 16deg;
  top: 35%;
  left: 43%;
}

.sticker-process-d {
  --sticker-rotate: -24deg;
  top: 57%;
  left: 4%;
}

.sticker-process-e {
  --sticker-rotate: 32deg;
  right: 22%;
  bottom: 16%;
}

.sticker-process-f {
  --sticker-rotate: -18deg;
  right: 3%;
  bottom: 2%;
}

.sticker-studio-a {
  --sticker-rotate: -27deg;
  top: 5%;
  left: 1%;
}

.sticker-studio-b {
  --sticker-rotate: 18deg;
  top: 44%;
  left: 2%;
}

.sticker-studio-c {
  --sticker-rotate: -16deg;
  bottom: 3%;
  left: 9%;
}

.studio .site-sticker,
.scope .site-sticker,
.contact .site-sticker {
  opacity: 0.26;
}

.sticker-fit-a {
  --sticker-rotate: 24deg;
  top: 4%;
  right: 3%;
}

.sticker-fit-b {
  --sticker-rotate: -18deg;
  top: 23%;
  left: 2%;
}

.sticker-fit-c {
  --sticker-rotate: 31deg;
  top: 44%;
  left: 44%;
}

.sticker-fit-d {
  --sticker-rotate: -25deg;
  right: 2%;
  bottom: 18%;
}

.sticker-fit-e {
  --sticker-rotate: 17deg;
  bottom: 3%;
  left: 8%;
}

.sticker-faq-a {
  --sticker-rotate: -22deg;
  top: 3%;
  left: 1%;
}

.sticker-faq-b {
  --sticker-rotate: 29deg;
  top: 25%;
  right: 1%;
}

.sticker-faq-c {
  --sticker-rotate: -16deg;
  top: 54%;
  left: 43%;
}

.sticker-faq-d {
  --sticker-rotate: 34deg;
  right: 7%;
  bottom: 2%;
}

.sticker-contact-a {
  --sticker-rotate: 20deg;
  top: 6%;
  right: 2%;
}

.sticker-contact-b {
  --sticker-rotate: -28deg;
  top: 43%;
  right: 3%;
}

.sticker-contact-c {
  --sticker-rotate: 16deg;
  right: 4%;
  bottom: 9%;
}

.logic-grid,
.studio-principles,
.fit-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.logic-card,
.scope-card,
.studio-principles article,
.fit-card,
.project-form,
.approach-result,
.fit-note {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(15, 11, 19, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 16px 40px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.22);
  backdrop-filter: blur(16px) saturate(1.22);
}

.logic-card::before,
.scope-card::before,
.studio-principles article::before,
.fit-card::before,
.process-row::before,
.case-hero::before,
.case-gallery figure::before,
.faq details::before,
.project-form::before,
.approach-result::before,
.fit-note::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 210px at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(190, 113, 245, 0.12),
    rgba(148, 71, 228, 0.035) 44%,
    transparent 72%
  );
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.logic-card:hover::before,
.scope-card:hover::before,
.studio-principles article:hover::before,
.fit-card:hover::before,
.process-row:hover::before,
.case-hero:hover::before,
.case-gallery figure:hover::before,
.faq details:hover::before,
.project-form:hover::before,
.approach-result:hover::before,
.fit-note:hover::before {
  opacity: 1;
}

.logic-card,
.scope-card,
.studio-principles article,
.fit-card {
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.logic-card:hover,
.scope-card:hover,
.studio-principles article:hover,
.fit-card:hover {
  border-color: rgba(204, 155, 240, 0.25);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(22, 14, 28, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 52px rgba(0, 0, 0, 0.18);
  transform:
    perspective(900px)
    translateY(-5px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
}

.approach-result,
.fit-note {
  margin-top: 14px;
}

.project-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 46%),
    rgba(10, 8, 13, 0.7);
}

.faq details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 220ms ease, padding 220ms ease;
}

.faq details:hover,
.faq details[open] {
  background: transparent;
}

.faq details::before {
  background: radial-gradient(
    ellipse 330px 120px at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(190, 113, 245, 0.13),
    rgba(148, 71, 228, 0.045) 42%,
    transparent 82%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  filter: blur(3px);
  transition: opacity 320ms ease;
}

.faq details[open]::before {
  opacity: 0.58;
}

.process-row > *,
.faq summary,
.project-form label {
  transition:
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.process-row:hover > * {
  transform: translateX(5px);
}

.faq details:hover summary {
  color: #fff;
  transform: translateX(5px);
}

.project-form label:focus-within {
  border-color: rgba(190, 121, 241, 0.52);
  transform: translateX(4px);
}

.portfolio-hero {
  position: relative;
  display: flex;
  min-height: 800px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.portfolio-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 6, 0.97), rgba(4, 4, 6, 0.66) 48%, rgba(4, 4, 6, 0.18)),
    linear-gradient(180deg, rgba(7, 7, 8, 0.12), transparent 48%, rgba(7, 7, 8, 0.92)),
    url("assets/rook/making.jpg") 54% center / cover no-repeat;
  filter: saturate(0.66) contrast(1.05);
  -webkit-mask-image:
    linear-gradient(180deg, black 0%, black 74%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, black 0%, black 74%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 42px;
}

.portfolio-hero-content > div {
  max-width: 980px;
}

.portfolio-hero h1,
.portfolio-contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.portfolio-hero h1 {
  max-width: 1040px;
  font-size: clamp(58px, 7.5vw, 108px);
}

.portfolio-hero h1 .title-line {
  display: block;
  white-space: nowrap;
}

.portfolio-hero-content > div > p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: #c4c0c8;
  font-size: 18px;
}

.portfolio-skills {
  position: relative;
  z-index: 6;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: -18px;
}

.portfolio-cases {
  min-height: 1860px;
  padding: 150px 0 360px;
  background: transparent;
}

.portfolio-cases-inner {
  position: relative;
  z-index: 2;
}

.portfolio-cases-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 64px;
  align-items: end;
}

.portfolio-cases-heading h2 {
  max-width: 960px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.portfolio-cases-heading > p {
  margin: 0 0 8px;
  color: #aaa5ae;
  font-size: 17px;
}

.portfolio-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 76px;
}

.portfolio-case-card {
  --card-rotation: 0deg;
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(224, 204, 239, 0.16);
  border-radius: 30px 13px 30px 13px;
  padding: 24px;
  background:
    radial-gradient(circle 220px at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(180, 88, 238, 0.2), transparent 72%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 44%),
    rgba(15, 10, 19, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 44px rgba(0, 0, 0, 0.14);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.portfolio-case-card:nth-child(4n + 2) { border-radius: 14px 36px 14px 36px; }
.portfolio-case-card:nth-child(4n + 3) { border-radius: 38px 38px 14px 14px; }
.portfolio-case-card:nth-child(4n) { border-radius: 14px 14px 38px 38px; }

.portfolio-case-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 42%, rgba(173, 91, 230, 0.05) 42% 58%, transparent 58%),
    radial-gradient(circle at 78% 22%, rgba(151, 69, 208, 0.13), transparent 42%);
  content: "";
}

.portfolio-case-card::after {
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: 4px;
  color: rgba(190, 128, 229, 0.08);
  content: attr(data-number);
  font-family: var(--display);
  font-size: clamp(70px, 7vw, 112px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.portfolio-case-card small,
.portfolio-case-card span {
  display: block;
}

.portfolio-case-card small {
  color: #a675c2;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-case-card span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.portfolio-case-card:hover,
.portfolio-case-card:focus-visible {
  z-index: 2;
  border-color: rgba(208, 146, 247, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 58px rgba(0, 0, 0, 0.22), 0 0 34px rgba(151, 68, 211, 0.12);
  outline: 0;
  transform: translateY(-5px) rotate(var(--card-rotation));
}

.portfolio-case-card.is-entering {
  animation: portfolio-card-enter 420ms both;
  animation-delay: calc(var(--card-index) * 24ms);
}

@keyframes portfolio-card-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.portfolio-pagination {
  display: grid;
  grid-template-columns: 1fr auto 58px 58px;
  gap: 12px;
  align-items: center;
  margin-top: 46px;
}

.portfolio-pagination-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-pagination-progress span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a31bf, #bd70f1);
  transition: width 360ms ease;
}

.portfolio-pagination p {
  min-width: 86px;
  margin: 0 12px 0 22px;
  color: #65616a;
  font-family: var(--display);
  font-size: 14px;
}

.portfolio-pagination strong {
  color: var(--accent-bright);
  font-size: 24px;
}

.portfolio-pagination button,
.case-modal-close {
  width: 58px;
  height: 58px;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: rgba(15, 10, 19, 0.78);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.portfolio-pagination button:hover:not(:disabled),
.case-modal-close:hover {
  border-color: rgba(206, 143, 246, 0.46);
  background: rgba(91, 40, 126, 0.34);
  transform: translateY(-2px);
}

.portfolio-pagination button:disabled {
  cursor: default;
  opacity: 0.34;
}

.portfolio-cases-footer {
  bottom: 28px;
}

.case-modal {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.case-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 5, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.case-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100svh - 64px);
  overflow: auto;
  border: 1px solid rgba(221, 192, 239, 0.18);
  border-radius: 44px 16px 44px 16px;
  padding: 58px;
  background:
    radial-gradient(circle at 76% 18%, rgba(157, 70, 216, 0.16), transparent 38%),
    url("assets/textures/concrete-purple-graffiti.jpg") center / cover,
    rgba(11, 8, 14, 0.98);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.58);
  transform: translateY(24px) scale(0.98);
  transition: transform 340ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.case-modal.is-open .case-modal-dialog {
  transform: none;
}

.case-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.case-modal-dialog h2 {
  max-width: 900px;
  margin: 28px 0 40px;
  padding-right: 70px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.case-modal-placeholder {
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 30px 12px 30px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 44%),
    rgba(12, 8, 16, 0.72);
}

.case-modal-placeholder span {
  color: rgba(182, 111, 225, 0.12);
  font-family: var(--display);
  font-size: clamp(130px, 22vw, 300px);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.case-modal-copy {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
  margin-top: 38px;
}

.case-modal-copy > p {
  margin: 0;
  color: #bcb7c1;
  font-size: 18px;
}

.case-modal-copy dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.case-modal-copy dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.case-modal-copy dt {
  color: #a66dc5;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-modal-copy dd {
  margin: 0;
  color: #aaa5ae;
}

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

.sticker-portfolio-hero {
  --sticker-rotate: -7deg;
  top: 84px;
  left: 28px;
}

.sticker-portfolio-hero-b {
  --sticker-rotate: 7deg;
  top: 18%;
  right: 30px;
}

.sticker-portfolio-hero-c {
  --sticker-rotate: -5deg;
  left: calc(50% - 118px);
  bottom: 70px;
}

.sticker-portfolio-index {
  --sticker-rotate: -6deg;
  top: 66px;
  right: 30px;
  left: auto;
}

.sticker-portfolio-index-b {
  --sticker-rotate: -7deg;
  top: 23%;
  left: 26px;
}

.sticker-portfolio-index-c {
  --sticker-rotate: 6deg;
  top: 43%;
  left: calc(50% - 118px);
}

.sticker-portfolio-index-d {
  --sticker-rotate: -5deg;
  top: 64%;
  left: 32px;
}

.sticker-portfolio-index-e {
  --sticker-rotate: 8deg;
  top: 82%;
  right: 34px;
}

.sticker-portfolio-case-a {
  --sticker-rotate: -8deg;
  top: 20px;
  left: -54px;
  width: 190px;
}

.sticker-portfolio-case-b {
  --sticker-rotate: -5deg;
  bottom: 40px;
  left: -170px;
  width: 256px;
}

.sticker-portfolio-contact {
  --sticker-rotate: 6deg;
  top: 24px;
  right: -74px;
  width: 280px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1180px) {
  .shell {
    width: min(calc(100% - 64px), var(--shell));
  }

  .header-inner {
    width: min(calc(100% - 64px), var(--shell));
  }

  .site-sticker {
    width: 190px;
    max-height: 190px;
    opacity: 0.3;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .nav-page {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 30px;
    height: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 10, 0.86);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: var(--text);
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: 44px;
    right: 32px;
    left: 32px;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border: 1px solid var(--glass-line);
    background: var(--glass-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .mobile-nav.open {
    max-height: calc(100vh - 44px);
    opacity: 1;
  }

  .mobile-nav a {
    border-top: 1px solid var(--line);
    padding: 15px 32px;
    font-family: var(--display);
    font-size: 14px;
    text-transform: uppercase;
  }

  .mobile-nav a.is-active {
    background: linear-gradient(90deg, rgba(148, 71, 228, 0.13), transparent 72%);
    box-shadow: inset 3px 0 0 rgba(182, 104, 238, 0.76);
    color: #fff;
  }

  .section {
    padding-block: 110px;
  }

  .logic-grid,
  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .logic-card:last-child {
    grid-column: span 2;
    min-height: 250px;
  }

  .logic-card:nth-child(2)::after,
  .logic-card:last-child::after {
    display: none;
  }

  .scope-card:last-child {
    grid-column: span 2;
    min-height: 430px;
  }

  .process-heading,
  .case-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-heading > p:last-child {
    max-width: 700px;
  }

  .process-row {
    grid-template-columns: 44px 0.85fr 1.15fr 0.75fr;
  }

  .case-summary {
    max-width: 720px;
  }

  .faq-layout {
    gap: 54px;
  }

  .contact-layout {
    gap: 50px;
  }

  .project-form {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .studio-heading h2 .title-line {
    white-space: normal;
  }

  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  main {
    background-attachment: scroll;
  }

  .site-header {
    padding-top: 0;
  }

  .header-inner {
    height: 44px;
    width: calc(100% - 36px);
    padding-block: 4px;
  }

  .site-header .header-actions {
    display: none;
  }

  .mobile-nav {
    top: 44px;
    right: 18px;
    left: 18px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .site-sticker {
    display: none;
  }

  .hero {
    min-height: max(820px, 100svh);
    align-items: flex-end;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 2, 3, 0.25), rgba(2, 2, 3, 0.78) 45%, #050506 91%),
      linear-gradient(90deg, rgba(2, 2, 3, 0.72), transparent);
  }

  .hero-content {
    padding: 88px 0 84px;
  }

  .hero h1 {
    font-size: clamp(33px, 9.5vw, 43px);
  }

  .hero h1 .title-line,
  .approach-heading h2 .title-line,
  .approach-heading .copy-line {
    white-space: normal;
  }

  .eyebrow,
  .section-tag {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    font-size: 14px;
  }

  .hero-trust span {
    min-height: 38px;
    padding-left: 18px;
    font-size: 14px;
  }

  .hero-trust span::after {
    width: 20px;
    height: 38px;
    margin-left: 18px;
    background-size: auto;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 9.8vw, 44px);
  }

  .section-heading > p:last-child {
    margin-top: 22px;
    font-size: 17px;
  }

  .logic-grid,
  .scope-list,
  .studio-principles,
  .fit-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .logic-grid {
    margin-top: 44px;
  }

  .logic-card,
  .logic-card:last-child {
    grid-column: auto;
    min-height: 260px;
  }

  .logic-card::after {
    display: none;
  }

  .logic-card h3 {
    margin-top: 48px;
  }

  .approach-result,
  .fit-note {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }

  .scope-list {
    margin-top: 44px;
  }

  .scope-card,
  .scope-card:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

  .scope-card > p {
    min-height: 0;
  }

  .scope-outcome {
    margin-top: 18px;
  }

  .process-list {
    margin-top: 44px;
  }

  .process-row {
    grid-template-columns: 35px 1fr;
    gap: 16px 12px;
    padding: 24px 0;
  }

  .process-row > p,
  .process-output {
    grid-column: 2;
  }

  .case-hero {
    height: 560px;
    margin-top: 48px;
  }

  .case-hero img {
    object-position: 52% center;
  }

  .case-hero figcaption {
    display: block;
    padding: 20px;
  }

  .case-hero figcaption p {
    margin-top: 10px;
    text-align: left;
  }

  .case-gallery figure {
    aspect-ratio: 16 / 11;
  }

  .case-proof {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
  }

  .studio {
    min-height: auto;
  }

  .studio-image {
    left: 0;
    background:
      linear-gradient(180deg, #08080a 0%, rgba(8, 8, 10, 0.82) 35%, #08080a 100%),
      url("assets/rook/cafe.jpg") 58% center / cover no-repeat;
    opacity: 0.28;
  }

  .studio-principles {
    margin-top: 50px;
  }

  .studio-principles article {
    min-height: 230px;
  }

  .studio-principles h3 {
    margin-top: 48px;
  }

  .fit-grid {
    margin-top: 44px;
  }

  .fit-card {
    min-height: 230px;
    padding: 24px;
  }

  .fit-card h3 {
    margin-top: 40px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .faq-heading {
    position: static;
    padding-top: 0;
  }

  .faq-heading .section-tag {
    position: static;
    margin: 0 0 22px;
  }

  .faq summary {
    padding-right: 44px;
    font-size: 16px;
    line-height: 1.4;
  }

  .faq-answer > p {
    padding-right: 20px;
    font-size: 16px;
  }

  .contact {
    min-height: 1260px;
  }

  .contact-image {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 0.93), rgba(3, 3, 4, 0.7) 55%, #070708 92%),
      url("assets/rook/music.jpg") 50% top / cover no-repeat;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 82px 0 620px;
  }

  .contact-copy h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .contact-copy h2 .title-line {
    white-space: normal;
  }

  .contact-promise {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-form {
    padding: 24px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    bottom: 24px;
  }

  .site-footer nav,
  .footer-socials {
    max-width: 320px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    row-gap: 8px;
    margin-top: 2px;
  }

  .footer-location {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-bottom > span:first-child,
  .footer-bottom > a {
    grid-row: 2;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-content {
    padding-top: 78px;
  }
}

/* Approved content structure: services and client-facing collaboration path */
.services-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  min-height: 560px;
}

.service-card-featured {
  grid-column: 1 / -1;
  min-height: 480px;
}

.service-card-featured ul {
  columns: 2;
  column-gap: 56px;
}

.service-card-featured li {
  break-inside: avoid;
}

.services-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.process-path {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 380px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 64px;
  padding: 24px 8px 36px;
}

.process-path-line {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((100vw - 100%) / -2 - 96px);
  bottom: 0;
  left: calc((100vw - 100%) / -2 - 96px);
  height: 300px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.09),
      transparent 34%,
      rgba(166, 82, 225, 0.035) 72%,
      rgba(255, 255, 255, 0.035)
    ),
    repeating-linear-gradient(
      135deg,
      rgba(195, 121, 248, 0.22) 0 12px,
      rgba(255, 255, 255, 0.018) 12px 25px
    ),
    rgba(17, 11, 23, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(174, 88, 237, 0.08),
    0 12px 34px rgba(0, 0, 0, 0.24);
  filter: drop-shadow(0 0 9px rgba(160, 77, 217, 0.12));
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

.process-point {
  --point-y: 32px;
  position: relative;
  align-self: start;
  min-width: 0;
  padding: 54px 10px 0;
  outline: 0;
  transform: translateY(var(--point-y));
}

.process-point:nth-of-type(2) { --point-y: -8px; }
.process-point:nth-of-type(3) { --point-y: -14px; }
.process-point:nth-of-type(4) { --point-y: 31px; }
.process-point:nth-of-type(5) { --point-y: 92px; }
.process-point:nth-of-type(6) { --point-y: 108px; }
.process-point:nth-of-type(7) { --point-y: 90px; }

.process-symbol {
  position: absolute;
  z-index: 2;
  top: -19px;
  left: 0;
  display: block;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid rgba(211, 156, 250, 0.62);
  border-radius: 19px 15px 18px 13px;
  background:
    radial-gradient(circle at 50% 46%, rgba(174, 73, 238, 0.34), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), transparent 46%),
    rgba(15, 9, 21, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(169, 83, 224, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(169, 78, 229, 0.2);
  transform: rotate(var(--symbol-rotate, -3deg));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.process-symbol img {
  position: absolute;
  inset: 6px;
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  object-position: center;
  opacity: 0.98;
  filter: saturate(0.76) brightness(1.3) contrast(1.14) drop-shadow(0 0 7px rgba(190, 104, 244, 0.44));
  transition: opacity 220ms ease, filter 220ms ease, transform 240ms ease;
}

.process-point:nth-of-type(2) .process-symbol { --symbol-rotate: 4deg; }
.process-point:nth-of-type(3) .process-symbol { --symbol-rotate: -5deg; }
.process-point:nth-of-type(4) .process-symbol { --symbol-rotate: 5deg; }
.process-point:nth-of-type(5) .process-symbol { --symbol-rotate: -4deg; }
.process-point:nth-of-type(6) .process-symbol { --symbol-rotate: 6deg; }
.process-point:nth-of-type(7) .process-symbol { --symbol-rotate: -5deg; }

.process-point .process-number {
  display: block;
  margin-bottom: 10px;
  padding: 0;
}

.process-point h3 {
  min-height: 58px;
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.process-point > p {
  position: absolute;
  top: 126px;
  left: 8px;
  width: min(260px, 20vw);
  margin: 0;
  border: 1px solid var(--glass-line);
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 44%),
    rgba(14, 10, 18, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  color: #bcb7c0;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transform-origin: top left;
  transition: opacity 220ms ease, transform 260ms ease;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.process-point:nth-of-type(n + 7) > p {
  right: 8px;
  left: auto;
  transform-origin: top right;
}

.process-point > p small {
  display: block;
  margin-bottom: 7px;
  color: #9d67bc;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-point:hover,
.process-point:focus-visible {
  z-index: 5;
}

.process-point:hover .process-symbol,
.process-point:focus-visible .process-symbol {
  border-color: rgba(207, 145, 249, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(168, 78, 229, 0.24);
  transform: rotate(0deg) translateY(-3px) scale(1.08);
}

.process-point:hover .process-symbol img,
.process-point:focus-visible .process-symbol img {
  opacity: 1;
  filter: saturate(0.86) brightness(1.42) contrast(1.18) drop-shadow(0 0 9px rgba(198, 118, 249, 0.58));
  transform: scale(1.04);
}

.process-point:hover > p,
.process-point:focus-visible > p {
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.process-point:focus-visible h3 {
  color: #fff;
}

.studio-principles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
}

.studio-principles article {
  min-height: 360px;
}

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

  .service-card:last-child {
    grid-column: auto;
    min-height: 560px;
  }

  .process-path {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
  }

  .process-path-line {
    display: none;
  }

  .process-point,
  .process-point:nth-of-type(n) {
    min-height: 230px;
    border: 1px solid var(--glass-line);
    padding: 114px 22px 22px;
    background: rgba(15, 11, 19, 0.58);
    transform: none;
  }

  .process-symbol {
    top: 24px;
    left: 22px;
  }

  .process-point h3 {
    min-height: 0;
    font-size: 17px;
  }

  .process-point > p,
  .process-point:nth-of-type(n) > p {
    position: static;
    width: auto;
    margin-top: 22px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .studio-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-list,
  .studio-principles {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child,
  .service-card-featured {
    grid-column: auto;
    min-height: auto;
  }

  .service-card-featured ul {
    columns: auto;
  }

  .services-cta .button {
    width: 100%;
  }

  .process-path {
    grid-template-columns: 1fr;
  }

  .process-point,
  .process-point:nth-of-type(n) {
    min-height: 0;
  }

  .studio-principles article {
    min-height: 230px;
  }
}

@media (max-width: 1180px) {
  .portfolio-hero {
    min-height: 660px;
  }

  .portfolio-cases {
    min-height: 2100px;
  }

  .portfolio-cases-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .portfolio-cases-heading > p {
    max-width: 700px;
  }

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

@media (max-width: 760px) {
  .portfolio-hero {
    min-height: 700px;
    align-items: flex-end;
  }

  .portfolio-hero-image {
    background-position: 58% center;
  }

  .portfolio-hero-content {
    padding: 120px 0 100px;
  }

  .portfolio-hero h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .portfolio-hero h1 .title-line {
    white-space: normal;
  }

  .portfolio-hero-content > div > p:last-child {
    font-size: 17px;
  }

  .portfolio-skills {
    margin-top: -16px;
  }

  .portfolio-cases {
    min-height: 0;
    padding: 96px 0 420px;
  }

  .portfolio-cases-heading h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .portfolio-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 46px;
  }

  .portfolio-case-card {
    padding: 18px;
  }

  .portfolio-case-card span {
    right: 18px;
    bottom: 16px;
    left: 18px;
    font-size: 14px;
  }

  .portfolio-pagination {
    grid-template-columns: 1fr 46px 46px;
    gap: 8px;
  }

  .portfolio-pagination-progress {
    grid-column: 1 / -1;
  }

  .portfolio-pagination p {
    margin: 0;
  }

  .portfolio-pagination button,
  .case-modal-close {
    width: 46px;
    height: 46px;
  }

  .case-modal {
    padding: 12px;
  }

  .case-modal-dialog {
    max-height: calc(100svh - 24px);
    border-radius: 28px 12px 28px 12px;
    padding: 32px 20px;
  }

  .case-modal-close {
    top: 14px;
    right: 14px;
  }

  .case-modal-dialog h2 {
    margin-top: 24px;
    padding-right: 40px;
  }

  .case-modal-placeholder {
    min-height: 220px;
  }

  .case-modal-copy {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .case-modal-copy dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  .logic-card:hover,
  .scope-card:hover,
  .studio-principles article:hover,
  .fit-card:hover {
    transform: none;
  }

}

@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;
  }

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

  .hero-trust-track {
    animation: none;
  }

  .cursor-aura,
  .cursor-orbit {
    display: none;
  }
}

/* 2026-08-22 — Portfolio editorial catalog.
   The layout borrows the reference's asymmetric product rhythm while keeping
   mutate.studio's concrete wall, violet glass and authored typography. */
.portfolio-page .portfolio-hero {
  min-height: 900px;
}

.portfolio-page .portfolio-hero-content {
  display: flex;
  min-height: 900px;
  flex-direction: column;
  justify-content: center;
  padding-top: 154px;
  padding-bottom: 92px;
}

.portfolio-hero-index {
  position: absolute;
  top: 118px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(224, 204, 239, 0.13);
  padding-bottom: 14px;
  color: rgba(230, 224, 234, 0.55);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 8.3fr) minmax(280px, 3.7fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: end;
}

.portfolio-page .portfolio-hero-content > div {
  max-width: none;
}

.portfolio-page .portfolio-hero h1 {
  max-width: 970px;
  font-size: clamp(58px, 6.6vw, 98px);
}

.portfolio-page .portfolio-hero h1 .title-line {
  white-space: normal;
}

.portfolio-hero-summary {
  border-left: 1px solid rgba(224, 204, 239, 0.16);
  padding-left: 28px;
}

.portfolio-hero-summary > p {
  margin: 0 0 42px;
  color: #c0bbc4;
  font-size: 17px;
  line-height: 1.64;
}

.portfolio-hero-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.portfolio-hero-summary dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  border-top: 1px solid rgba(224, 204, 239, 0.12);
  padding: 13px 0;
}

.portfolio-hero-summary dt,
.portfolio-hero-summary dd {
  margin: 0;
}

.portfolio-hero-summary dt {
  color: rgba(218, 211, 223, 0.47);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-hero-summary dd {
  color: #ece8ee;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.portfolio-page .portfolio-skills {
  margin-top: -30px;
}

.portfolio-page .portfolio-cases {
  min-height: 0;
  padding: 138px 0 380px;
}

.portfolio-page .portfolio-cases-heading {
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  align-items: end;
}

.portfolio-page .portfolio-cases-heading h2 {
  max-width: 930px;
  font-size: clamp(48px, 5.4vw, 78px);
}

.portfolio-page .portfolio-cases-heading h2 em {
  display: block;
  color: var(--accent-bright);
  font-style: normal;
}

.portfolio-page .portfolio-cases-heading > p {
  max-width: 39ch;
  justify-self: end;
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.65;
}

.portfolio-editorial-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 92px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.portfolio-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(224, 204, 239, 0.14);
  border-bottom: 1px solid rgba(224, 204, 239, 0.14);
  margin-top: 58px;
  padding: 16px 0;
}

.portfolio-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-filter button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(224, 204, 239, 0.15);
  border-radius: 999px;
  padding: 0 17px;
  background:
    linear-gradient(135deg, rgba(91, 51, 119, 0.13), rgba(11, 8, 14, 0.2)),
    rgba(17, 12, 21, 0.18);
  color: rgba(238, 232, 241, 0.7);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  transition:
    border-color 260ms var(--premium-ease),
    background-color 260ms var(--premium-ease),
    color 260ms var(--premium-ease),
    transform 260ms var(--premium-ease);
}

.portfolio-filter button span {
  color: rgba(190, 128, 231, 0.66);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
}

.portfolio-filter button:hover,
.portfolio-filter button:focus-visible,
.portfolio-filter button.is-active {
  border-color: rgba(201, 139, 242, 0.44);
  background:
    linear-gradient(135deg, rgba(139, 70, 186, 0.24), rgba(19, 13, 24, 0.28)),
    rgba(20, 14, 25, 0.24);
  color: #f4eef7;
  outline: none;
}

.portfolio-filter button:hover,
.portfolio-filter button:focus-visible {
  transform: translateY(-1px);
}

.portfolio-filter-count {
  flex: 0 0 auto;
  color: rgba(219, 213, 222, 0.52);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-editorial-grid .portfolio-project {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(224, 204, 239, 0.16);
  border-radius: 28px;
  padding: 0;
  background: rgba(13, 9, 17, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 58px rgba(0, 0, 0, 0.14);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  -webkit-backdrop-filter: blur(15px) saturate(1.08);
  backdrop-filter: blur(15px) saturate(1.08);
  transition:
    border-color 320ms var(--premium-ease),
    box-shadow 320ms var(--premium-ease),
    transform 320ms var(--premium-ease);
}

.portfolio-editorial-grid .portfolio-project:nth-child(n) {
  border-radius: 28px;
}

.portfolio-editorial-grid .portfolio-project::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(4, 3, 6, 0.04) 34%, rgba(5, 3, 7, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 4, 8, 0.24), transparent 52%);
  content: "";
  pointer-events: none;
}

.portfolio-editorial-grid .portfolio-project::after {
  display: none;
  content: none;
}

.portfolio-project.project-featured {
  grid-column: span 8;
  grid-row: span 6;
}

.portfolio-project.project-stack {
  grid-column: span 4;
  grid-row: span 3;
}

.portfolio-project.project-wide {
  grid-column: span 7;
  grid-row: span 4;
}

.portfolio-project.project-standard {
  grid-column: span 5;
  grid-row: span 4;
}

.portfolio-project.project-third {
  grid-column: span 4;
  grid-row: span 4;
}

.portfolio-project-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #0d0b0f;
}

.portfolio-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) saturate(0.78) contrast(1.04) brightness(0.82);
  transform: scale(1.012);
  transition:
    filter 520ms var(--premium-ease),
    transform 700ms var(--premium-ease);
}

.portfolio-project-media.is-contained {
  display: grid;
  place-items: center;
  padding: clamp(12px, 1.15vw, 20px);
  background:
    radial-gradient(circle at 68% 34%, rgba(142, 72, 188, 0.14), transparent 42%),
    rgba(9, 7, 12, 0.82);
}

.portfolio-project-media.is-contained img {
  border: 1px solid rgba(224, 204, 239, 0.09);
  border-radius: 14px;
  object-fit: contain;
  filter: grayscale(0.22) saturate(0.68) contrast(1.01) brightness(0.78);
  transform: none;
}

.portfolio-project-media.is-light img {
  filter: grayscale(0.26) saturate(0.58) contrast(0.97) brightness(0.82);
}

.portfolio-project-index {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 24px;
  display: block;
  color: rgba(244, 234, 249, 0.74);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.portfolio-project-meta {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: grid;
  gap: 7px;
  transform: translateY(2px);
  transition: transform 320ms var(--premium-ease);
}

.portfolio-project-meta small,
.portfolio-project-meta strong,
.portfolio-project-meta > span {
  position: static;
  display: block;
}

.portfolio-project-meta small {
  color: #bb7de3;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-project-meta strong {
  max-width: 95%;
  font-family: var(--display);
  font-size: clamp(20px, 2.05vw, 31px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-featured .portfolio-project-meta strong {
  font-size: clamp(32px, 4vw, 58px);
}

.portfolio-project-meta > span {
  max-width: 48ch;
  color: rgba(235, 230, 238, 0.66);
  font-size: 13px;
  line-height: 1.48;
}

.portfolio-editorial-grid .portfolio-project:hover,
.portfolio-editorial-grid .portfolio-project:focus-visible {
  z-index: 2;
  border-color: rgba(209, 152, 246, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 72px rgba(0, 0, 0, 0.26),
    0 0 40px rgba(151, 68, 211, 0.09);
  outline: none;
  transform: translateY(-3px);
}

.portfolio-editorial-grid .portfolio-project:hover .portfolio-project-media img,
.portfolio-editorial-grid .portfolio-project:focus-visible .portfolio-project-media img {
  filter: grayscale(0.04) saturate(0.96) contrast(1.05) brightness(0.9);
  transform: scale(1.04);
}

.portfolio-editorial-grid .portfolio-project:hover .portfolio-project-media.is-contained img,
.portfolio-editorial-grid .portfolio-project:focus-visible .portfolio-project-media.is-contained img {
  filter: grayscale(0.06) saturate(0.86) contrast(1.02) brightness(0.86);
  transform: translateY(-2px);
}

.portfolio-editorial-grid .portfolio-project:hover .portfolio-project-meta,
.portfolio-editorial-grid .portfolio-project:focus-visible .portfolio-project-meta {
  transform: none;
}

.portfolio-catalog-note {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 42px;
  align-items: center;
  border-top: 1px solid rgba(224, 204, 239, 0.14);
  margin-top: 54px;
  padding-top: 22px;
}

.portfolio-catalog-note > span {
  color: #9d6cbc;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-catalog-note p {
  margin: 0;
  color: rgba(219, 213, 222, 0.56);
  font-size: 14px;
}

.portfolio-catalog-note a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #eee9f0;
  font-family: var(--display);
  font-size: 12px;
  transition: color 220ms ease;
}

.portfolio-catalog-note a:hover {
  color: var(--accent-bright);
}

.portfolio-page .portfolio-cases-footer {
  bottom: 28px;
}

.portfolio-page .case-modal {
  padding: 22px;
}

.portfolio-page .case-modal-backdrop {
  background: rgba(3, 3, 5, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(0.86);
  backdrop-filter: blur(20px) saturate(0.86);
}

.portfolio-page .case-modal-dialog {
  width: min(1440px, 100%);
  max-height: calc(100svh - 44px);
  border-radius: 30px;
  padding: clamp(34px, 4vw, 62px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent 44%),
    linear-gradient(180deg, rgba(13, 9, 17, 0.82), rgba(8, 6, 10, 0.94)),
    url("assets/textures/concrete-purple-graffiti.jpg") center / cover;
  -webkit-backdrop-filter: blur(22px) saturate(0.9);
  backdrop-filter: blur(22px) saturate(0.9);
}

.portfolio-page .case-modal-close {
  z-index: 4;
  top: 28px;
  right: 28px;
}

.case-modal-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 40px;
  align-items: end;
  border-bottom: 1px solid rgba(224, 204, 239, 0.14);
  margin-bottom: 34px;
  padding: 0 88px 30px 0;
}

.case-modal-header .section-tag {
  grid-column: 1;
  margin: 0;
}

.case-modal-number {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: 8%;
  color: rgba(182, 111, 225, 0.075);
  font-family: var(--display);
  font-size: clamp(100px, 14vw, 210px);
  font-weight: 800;
  letter-spacing: -0.11em;
  line-height: 0.8;
  pointer-events: none;
}

.portfolio-page .case-modal-dialog h2 {
  grid-column: 1;
  max-width: 900px;
  margin: 0;
  padding: 0;
  font-size: clamp(42px, 5.4vw, 76px);
}

.case-modal-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  min-width: 210px;
  justify-content: center;
}

.case-modal-editorial {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(300px, 4.5fr);
  gap: clamp(32px, 4vw, 62px);
  align-items: start;
}

.case-modal-cover {
  margin: 0;
}

.case-modal-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(224, 204, 239, 0.12);
  border-radius: 22px;
  object-fit: cover;
  filter: grayscale(0.12) saturate(0.84) contrast(1.03);
}

.case-modal-cover figcaption,
.case-modal-gallery-item figcaption {
  margin-top: 10px;
  color: rgba(218, 211, 223, 0.45);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-page .case-modal-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin: 0;
  padding-top: 4px;
}

.case-modal-label {
  display: block;
  border-bottom: 1px solid rgba(224, 204, 239, 0.14);
  margin-bottom: 18px;
  padding-bottom: 10px;
  color: #a56ec5;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-page .case-modal-copy > div > p {
  margin: 0;
  color: #bbb5bf;
  font-size: 17px;
  line-height: 1.68;
}

.portfolio-page .case-modal-copy dl {
  gap: 0;
}

.portfolio-page .case-modal-copy dl > div {
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 14px 0;
}

.portfolio-page .case-modal-copy dd {
  color: #c4bec8;
}

.case-modal-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(64px, 7vw, 98px);
}

.case-modal-gallery-item {
  grid-column: span 8;
  margin: 0;
}

.case-modal-gallery-item:nth-child(2) {
  grid-column: span 4;
}

.case-modal-gallery-item:nth-child(3) {
  grid-column: 4 / span 9;
  margin-top: 42px;
}

.case-modal-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(224, 204, 239, 0.11);
  border-radius: 22px;
  background: rgba(8, 6, 10, 0.6);
  object-fit: cover;
  filter: grayscale(0.1) saturate(0.82) contrast(1.02);
}

.case-modal-gallery-item:nth-child(2) img {
  aspect-ratio: 4 / 5;
}

.case-modal-gallery-item:nth-child(3) img {
  aspect-ratio: 16 / 8.5;
}

.case-modal-gallery-item.is-detail img {
  object-fit: cover;
}

.case-modal-gallery-item.is-detail:nth-child(2) img {
  transform: none;
}

.case-modal-gallery-item.is-contain img {
  background: rgba(5, 4, 7, 0.72);
  object-fit: contain;
}

.case-modal.is-presentation .case-modal-cover img {
  object-fit: contain;
}

.case-modal.is-interface .case-modal-cover img {
  object-fit: contain;
}

@media (max-width: 1180px) {
  .portfolio-page .portfolio-hero,
  .portfolio-page .portfolio-hero-content {
    min-height: 820px;
  }

  .portfolio-hero-layout {
    grid-template-columns: minmax(0, 7.6fr) minmax(260px, 4.4fr);
    gap: 42px;
  }

  .portfolio-editorial-grid {
    grid-auto-rows: 76px;
    gap: 16px;
  }

  .portfolio-project-meta {
    right: 22px;
    bottom: 21px;
    left: 22px;
  }

  .portfolio-project-meta > span {
    display: none;
  }

  .case-modal-editorial {
    grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .portfolio-page .portfolio-hero,
  .portfolio-page .portfolio-hero-content {
    min-height: 780px;
  }

  .portfolio-hero-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .portfolio-hero-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    border-top: 1px solid rgba(224, 204, 239, 0.16);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .portfolio-hero-summary > p {
    margin: 0;
  }

  .portfolio-page .portfolio-cases-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-page .portfolio-cases-heading > p {
    max-width: 54ch;
    justify-self: start;
  }

  .portfolio-filter {
    align-items: flex-start;
  }

  .portfolio-filter-options {
    flex-wrap: nowrap;
    max-width: calc(100vw - 180px);
    padding-bottom: 3px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .portfolio-filter-options::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filter button {
    flex: 0 0 auto;
  }

  .portfolio-editorial-grid {
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-editorial-grid .portfolio-project {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .portfolio-project.project-featured {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .portfolio-catalog-note {
    grid-template-columns: 1fr auto;
  }

  .portfolio-catalog-note p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .case-modal-header {
    grid-template-columns: 1fr;
    padding-right: 70px;
  }

  .case-modal-link {
    grid-column: 1;
    grid-row: auto;
    width: fit-content;
  }

  .case-modal-editorial {
    grid-template-columns: 1fr;
  }

  .portfolio-page .case-modal-copy {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 34px;
  }

  .case-modal-gallery-item,
  .case-modal-gallery-item:nth-child(2),
  .case-modal-gallery-item:nth-child(3) {
    grid-column: span 6;
    margin-top: 0;
  }

  .case-modal-gallery-item:nth-child(3) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 760px) {
  .portfolio-page .portfolio-hero,
  .portfolio-page .portfolio-hero-content {
    min-height: 690px;
  }

  .portfolio-page .portfolio-hero-content {
    justify-content: flex-end;
    padding-top: 128px;
    padding-bottom: 54px;
  }

  .portfolio-hero-index {
    top: 104px;
    font-size: 9px;
  }

  .portfolio-hero-index span:last-child {
    display: none;
  }

  .portfolio-page .portfolio-hero h1 {
    font-size: clamp(38px, 11.2vw, 54px);
    line-height: 1.03;
  }

  .portfolio-page .portfolio-hero h1 .title-line {
    white-space: normal;
  }

  .portfolio-hero-layout {
    gap: 34px;
  }

  .portfolio-hero-summary {
    display: block;
  }

  .portfolio-hero-summary > p {
    max-width: 37ch;
    font-size: 15px;
  }

  .portfolio-hero-summary dl {
    display: none;
  }

  .portfolio-page .portfolio-skills {
    margin-top: -14px;
  }

  .portfolio-page .portfolio-cases {
    padding-top: 84px;
    padding-bottom: 620px;
  }

  .portfolio-page .portfolio-cases-heading h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .portfolio-page .portfolio-cases-heading > p {
    margin-top: 18px;
    font-size: 15px;
  }

  .portfolio-filter {
    display: block;
    margin-top: 36px;
    padding: 13px 0 14px;
  }

  .portfolio-filter-options {
    width: calc(100vw - 36px);
    max-width: none;
  }

  .portfolio-filter button {
    min-height: 40px;
    padding: 0 15px;
  }

  .portfolio-filter-count {
    display: block;
    margin-top: 12px;
  }

  .portfolio-editorial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .portfolio-editorial-grid .portfolio-project,
  .portfolio-project.project-featured {
    grid-column: auto;
    aspect-ratio: 16 / 11;
    border-radius: 22px;
  }

  .portfolio-editorial-grid .portfolio-project:nth-child(n) {
    border-radius: 22px;
  }

  .portfolio-project-meta {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .portfolio-project-meta strong,
  .project-featured .portfolio-project-meta strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .portfolio-project-meta > span {
    display: block;
    max-width: 31ch;
    font-size: 12px;
  }

  .portfolio-project-index {
    top: 17px;
    right: 18px;
  }

  .portfolio-catalog-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .portfolio-catalog-note p,
  .portfolio-catalog-note a {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-page .case-modal {
    display: block;
    padding: 0;
  }

  .portfolio-page .case-modal-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding: 86px 20px 54px;
  }

  .portfolio-page .case-modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .case-modal-header {
    display: block;
    margin-bottom: 24px;
    padding: 0 0 22px;
  }

  .case-modal-header .section-tag {
    max-width: calc(100% - 70px);
    margin-bottom: 18px;
  }

  .case-modal-number {
    top: 12px;
    right: 6px;
  }

  .portfolio-page .case-modal-dialog h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .case-modal-link {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }

  .case-modal-editorial {
    gap: 30px;
  }

  .case-modal-cover img {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }

  .portfolio-page .case-modal-copy {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-page .case-modal-copy > div > p {
    font-size: 16px;
  }

  .case-modal-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 56px;
  }

  .case-modal-gallery-item,
  .case-modal-gallery-item:nth-child(2),
  .case-modal-gallery-item:nth-child(3) {
    grid-column: auto;
    margin: 0;
  }

  .case-modal-gallery-item img,
  .case-modal-gallery-item:nth-child(2) img,
  .case-modal-gallery-item:nth-child(3) img {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }
}

@media (hover: none), (pointer: coarse) {
  .portfolio-editorial-grid .portfolio-project:hover,
  .portfolio-editorial-grid .portfolio-project:focus-visible {
    transform: none;
  }

  .portfolio-editorial-grid .portfolio-project:hover .portfolio-project-media img,
  .portfolio-editorial-grid .portfolio-project:focus-visible .portfolio-project-media img {
    transform: scale(1.012);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-editorial-grid .portfolio-project,
  .portfolio-project-media img,
  .portfolio-project-meta,
  .portfolio-page .case-modal,
  .portfolio-page .case-modal-dialog {
    transition: none;
  }
}

/* Final adaptive polish: preserve the desktop art direction while giving
   tablet and mobile layouts their own deliberate rhythm. */
@media (max-width: 900px) {
  .hero-image {
    right: 0;
    left: 0;
  }

  .contact {
    min-height: 1480px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 104px 0 470px;
  }

  .contact-copy,
  .project-form {
    width: 100%;
    max-width: none;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 62ch;
  }

  .footer-column,
  .site-footer nav,
  .footer-socials {
    min-width: 0;
    max-width: none;
  }

  .footer-bottom {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .approach-heading h2,
  .process-heading h2,
  .studio-heading h2,
  .fit-heading h2 {
    font-size: clamp(30px, 8.45vw, 36px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .approach-heading h2 .title-line,
  .process-heading h2 .title-line,
  .studio-heading h2 .title-line,
  .fit-heading h2 .title-line {
    text-wrap: balance;
  }

  .section-heading > p:last-child,
  .process-heading > p:last-child,
  .studio-heading > p:last-child {
    text-wrap: pretty;
  }

  .contact {
    min-height: 0;
  }

  .contact-layout {
    gap: 42px;
    padding: 82px 0 650px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-brand,
  .footer-column {
    grid-column: auto;
  }
}

/* Mobile editorial system: compact chapters instead of long card stacks. */
.mobile-carousel-controls {
  display: none;
}

@media (max-width: 900px) {
  .approach,
  .scope,
  .process,
  .studio,
  .fit,
  .faq {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-heading {
    max-width: 760px;
  }

  .section-heading > p:last-child,
  .process-heading > p:last-child,
  .studio-heading > p:last-child {
    max-width: 62ch;
    margin-top: 24px;
  }

  .logic-grid[data-mobile-carousel],
  .process-path[data-mobile-carousel],
  .studio-principles[data-mobile-carousel],
  .fit-grid[data-mobile-carousel] {
    --carousel-gutter: 32px;
    --carousel-card-width: min(68vw, 540px);
    position: relative;
    z-index: 3;
    display: flex;
    width: 100vw;
    max-width: none;
    min-height: 0;
    gap: 16px;
    margin-top: 48px;
    margin-right: 0;
    margin-left: calc(var(--carousel-gutter) * -1);
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    padding: 4px max(var(--carousel-gutter), calc(100vw - var(--carousel-gutter) - var(--carousel-card-width))) 14px var(--carousel-gutter);
    background: transparent;
    scroll-behavior: smooth;
    scroll-padding-left: var(--carousel-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .logic-grid[data-mobile-carousel]::-webkit-scrollbar,
  .process-path[data-mobile-carousel]::-webkit-scrollbar,
  .studio-principles[data-mobile-carousel]::-webkit-scrollbar,
  .fit-grid[data-mobile-carousel]::-webkit-scrollbar {
    display: none;
  }

  [data-mobile-carousel] > [data-mobile-slide] {
    position: relative;
    flex: 0 0 var(--carousel-card-width);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .logic-grid[data-mobile-carousel] .logic-card,
  .fit-grid[data-mobile-carousel] .fit-card,
  .studio-principles[data-mobile-carousel] article,
  .process-path[data-mobile-carousel] .process-point:nth-of-type(n) {
    overflow: hidden;
    border: 1px solid rgba(224, 204, 239, 0.14);
    background:
      radial-gradient(circle at 82% 16%, rgba(164, 78, 218, 0.09), transparent 38%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 48%),
      rgba(14, 9, 18, 0.3);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 18px 44px rgba(0, 0, 0, 0.1);
    transform: none;
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
  }

  .logic-grid[data-mobile-carousel] .logic-card,
  .fit-grid[data-mobile-carousel] .fit-card {
    min-height: 350px;
    border-radius: 34px 14px 34px 14px;
    padding: 28px;
  }

  .logic-grid[data-mobile-carousel] .logic-card:nth-child(even),
  .fit-grid[data-mobile-carousel] .fit-card:nth-child(even) {
    border-radius: 16px 38px 16px 38px;
  }

  .logic-grid[data-mobile-carousel] .logic-card::after {
    display: none;
  }

  .logic-grid[data-mobile-carousel] .logic-card h3,
  .fit-grid[data-mobile-carousel] .fit-card h3 {
    max-width: 18ch;
    margin-top: 104px;
    font-size: clamp(22px, 3.3vw, 28px);
    line-height: 1.08;
  }

  .logic-grid[data-mobile-carousel] .logic-card p,
  .fit-grid[data-mobile-carousel] .fit-card p {
    max-width: 38ch;
    font-size: 16px;
    line-height: 1.56;
  }

  .studio-principles[data-mobile-carousel] {
    width: 100vw;
  }

  .studio-principles[data-mobile-carousel] article {
    min-height: 370px;
    border-radius: 36px 14px 36px 14px;
    padding: 30px;
  }

  .studio-principles[data-mobile-carousel] article:nth-child(even) {
    border-radius: 16px 40px 16px 40px;
  }

  .studio-principles[data-mobile-carousel] article::after {
    top: 44px;
    right: 30px;
    font-size: clamp(118px, 20vw, 164px);
  }

  .studio-principles[data-mobile-carousel] h3 {
    max-width: 16ch;
    margin: 126px 0 18px;
    font-size: clamp(24px, 4.2vw, 32px);
  }

  .studio-principles[data-mobile-carousel] p {
    max-width: 38ch;
    font-size: 16px;
    line-height: 1.55;
  }

  .process-path[data-mobile-carousel] {
    align-items: stretch;
  }

  .process-path[data-mobile-carousel] .process-path-line {
    display: none;
  }

  .process-path[data-mobile-carousel] .process-point:nth-of-type(n) {
    align-self: stretch;
    min-height: 380px;
    border-radius: 34px 14px 34px 14px;
    padding: 126px 28px 28px;
  }

  .process-path[data-mobile-carousel] .process-point:nth-of-type(even) {
    border-radius: 16px 40px 16px 40px;
  }

  .process-path[data-mobile-carousel] .process-symbol {
    top: 28px;
    left: 28px;
    width: 72px;
    height: 72px;
    border-radius: 22px 14px 22px 14px;
    transform: rotate(var(--symbol-rotate, -3deg));
  }

  .process-path[data-mobile-carousel] .process-number {
    position: absolute;
    top: 42px;
    right: 28px;
    margin: 0;
    color: rgba(201, 136, 243, 0.72);
    font-family: var(--display);
    font-size: 16px;
  }

  .process-path[data-mobile-carousel] .process-point h3 {
    min-height: 0;
    margin: 0;
    font-size: clamp(22px, 3.4vw, 29px);
    line-height: 1.1;
  }

  .process-path[data-mobile-carousel] .process-point > p,
  .process-path[data-mobile-carousel] .process-point:nth-of-type(n) > p {
    position: static;
    width: auto;
    margin: 28px 0 0;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #bdb8c1;
    font-size: 16px;
    line-height: 1.55;
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .process-path[data-mobile-carousel] .process-point > p small {
    margin-bottom: 10px;
    color: #ad75cc;
    font-size: 12px;
  }

  .process-path[data-mobile-carousel] .process-point:hover .process-symbol,
  .process-path[data-mobile-carousel] .process-point:focus-visible .process-symbol,
  .process-path[data-mobile-carousel] .process-point:hover .process-symbol img,
  .process-path[data-mobile-carousel] .process-point:focus-visible .process-symbol img {
    transform: rotate(var(--symbol-rotate, -3deg));
  }

  .mobile-carousel-controls {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(90px, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    width: 100%;
    margin-top: 14px;
  }

  .mobile-carousel-progress {
    position: relative;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(224, 204, 239, 0.12);
  }

  .mobile-carousel-progress span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(90deg, #793e9d, var(--accent-bright));
    box-shadow: 0 0 15px rgba(174, 81, 238, 0.24);
    transition: width 260ms var(--premium-ease);
  }

  .mobile-carousel-status {
    margin: 0;
    color: #7f7785;
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .mobile-carousel-status strong {
    color: var(--accent-bright);
    font-size: 18px;
  }

  .mobile-carousel-arrows {
    display: flex;
    gap: 8px;
  }

  .mobile-carousel-arrows button {
    display: inline-grid;
    width: 46px;
    min-width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(216, 180, 240, 0.18);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
      rgba(15, 10, 20, 0.34);
    color: #eee8f2;
    cursor: pointer;
    font-size: 20px;
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
  }

  .mobile-carousel-arrows button:disabled {
    color: #5f5864;
    cursor: default;
    opacity: 0.55;
  }

  .approach-result,
  .fit-note {
    margin-top: 34px;
    border: 1px solid rgba(224, 204, 239, 0.12);
    border-radius: 18px 34px 34px 34px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
      rgba(14, 9, 18, 0.28);
    -webkit-backdrop-filter: blur(13px) saturate(1.06);
    backdrop-filter: blur(13px) saturate(1.06);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
  }

  .header-inner {
    display: grid;
    width: calc(100% - 36px);
    height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 0;
  }

  .header-inner .brand {
    min-width: 0;
    justify-self: start;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    margin: 0 0 0 auto;
    justify-self: end;
    border: 1px solid rgba(216, 180, 240, 0.18);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
      rgba(11, 8, 15, 0.92);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 8px 24px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(20px) saturate(0.86);
    backdrop-filter: blur(20px) saturate(0.86);
  }

  .mobile-nav {
    top: 58px;
    right: 0;
    left: 0;
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(224, 204, 239, 0.1);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%),
      rgba(9, 7, 12, 0.985);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(30px) saturate(0.72);
    backdrop-filter: blur(30px) saturate(0.72);
  }

  .mobile-nav.open {
    max-height: calc(100vh - 58px);
    max-height: calc(100dvh - 58px);
  }

  .mobile-nav a {
    min-height: 68px;
    padding: 20px max(24px, calc((100vw - var(--shell)) / 2));
    border-top-color: rgba(224, 204, 239, 0.09);
    background: rgba(5, 4, 7, 0.3);
    color: rgba(245, 241, 247, 0.92);
  }

  .mobile-nav a:first-child {
    border-top: 0;
  }

  body.menu-open .site-header {
    border-color: transparent;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
      rgba(9, 7, 12, 0.985);
    box-shadow: none;
    -webkit-backdrop-filter: blur(30px) saturate(0.72);
    backdrop-filter: blur(30px) saturate(0.72);
  }

  body.menu-open .header-inner::before,
  body.menu-open .header-inner::after {
    opacity: 0;
  }

  .approach,
  .scope,
  .process,
  .studio,
  .fit,
  .faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .eyebrow,
  .section-tag {
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .section-heading h2,
  .contact h2 {
    max-width: 100%;
    font-size: clamp(32px, 9.6vw, 44px);
    letter-spacing: -0.055em;
    line-height: 1.01;
  }

  .section-heading h2 .title-line,
  .studio-heading h2 .title-line,
  .fit-heading h2 .title-line {
    display: block;
    white-space: normal;
  }

  .approach-heading .copy-line {
    display: inline;
    white-space: normal;
  }

  .approach-heading .copy-line:first-child::after {
    content: " ";
  }

  .section-heading > p:last-child,
  .process-heading > p:last-child,
  .studio-heading > p:last-child {
    max-width: 36ch;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.58;
  }

  .studio-heading br {
    display: none;
  }

  .logic-grid[data-mobile-carousel],
  .process-path[data-mobile-carousel],
  .studio-principles[data-mobile-carousel],
  .fit-grid[data-mobile-carousel] {
    --carousel-gutter: 18px;
    --carousel-card-width: min(calc(100vw - 54px), 430px);
    gap: 12px;
    margin-top: 36px;
    padding-bottom: 10px;
  }

  [data-mobile-carousel] > [data-mobile-slide] {
    flex-basis: var(--carousel-card-width);
  }

  .logic-grid[data-mobile-carousel] .logic-card,
  .fit-grid[data-mobile-carousel] .fit-card {
    min-height: 360px;
    padding: 24px;
  }

  .logic-grid[data-mobile-carousel] .logic-card h3,
  .fit-grid[data-mobile-carousel] .fit-card h3 {
    margin-top: 98px;
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .studio-principles[data-mobile-carousel] article {
    min-height: 360px;
    padding: 26px;
  }

  .studio-principles[data-mobile-carousel] h3 {
    margin-top: 122px;
    font-size: clamp(23px, 6.7vw, 29px);
  }

  .process-path[data-mobile-carousel] .process-point:nth-of-type(n) {
    min-height: 370px;
    padding: 122px 24px 24px;
  }

  .process-path[data-mobile-carousel] .process-symbol {
    top: 24px;
    left: 24px;
    width: 70px;
    height: 70px;
  }

  .process-path[data-mobile-carousel] .process-number {
    top: 36px;
    right: 24px;
  }

  .process-path[data-mobile-carousel] .process-point h3 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  .mobile-carousel-controls {
    grid-template-columns: minmax(64px, 1fr) auto auto;
    gap: 11px;
  }

  .mobile-carousel-arrows button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .approach-result,
  .fit-note {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    border-radius: 24px 12px 24px 12px;
    padding: 24px;
  }

  .approach-result p,
  .fit-note p {
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (hover: none), (pointer: coarse) {
  [data-mobile-carousel] > [data-mobile-slide]:hover,
  [data-mobile-carousel] > [data-mobile-slide]:focus-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logic-grid[data-mobile-carousel],
  .process-path[data-mobile-carousel],
  .studio-principles[data-mobile-carousel],
  .fit-grid[data-mobile-carousel] {
    scroll-behavior: auto;
  }

  .mobile-carousel-progress span {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .logic-card,
  .fit-card,
  .studio-principles article,
  .services-list .service-card,
  .project-form,
  .approach-result,
  .fit-note,
  .portfolio-case-card,
  .case-modal-dialog {
    background-color: #100c14;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Services carousel */
.services-slider {
  position: relative;
  z-index: 2;
  width: calc(50% + 50vw);
  max-width: none;
  margin-top: 64px;
}

.scope-heading h2 .title-line {
  display: block;
}

.services-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  outline: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.services-viewport::-webkit-scrollbar {
  display: none;
}

.services-viewport:focus-visible {
  outline: 1px solid rgba(190, 121, 241, 0.5);
  outline-offset: 8px;
}

.services-list,
.services-list.services-list {
  display: flex;
  width: max-content;
  grid-template-columns: none;
  gap: 18px;
  margin-top: 0;
  padding: 8px 0 18px;
}

.services-list .service-card,
.services-list .service-card:last-child,
.services-list .service-card-featured {
  --service-glow-x: 86%;
  --service-glow-y: 14%;
  --service-radius: 36px 14px 36px 14px;
  position: relative;
  flex: 0 0 clamp(660px, 68vw, 920px);
  min-height: 570px;
  grid-column: auto;
  padding: 42px 46px 38px;
  scroll-snap-align: start;
  clip-path: none;
  overflow: hidden;
  border-radius: var(--service-radius);
  border-color: rgba(196, 151, 226, 0.18);
  background:
    radial-gradient(circle at var(--service-glow-x) var(--service-glow-y), rgba(164, 78, 218, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), transparent 46%),
    rgba(16, 11, 20, 0.76);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  backdrop-filter: blur(20px) saturate(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(205, 164, 235, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.18);
  transition:
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.services-list .service-card:nth-child(1) {
  --service-radius: 36px 14px 36px 14px;
}

.services-list .service-card:nth-child(2) {
  --service-glow-x: 18%;
  --service-glow-y: 84%;
  --service-radius: 16px 42px 16px 42px;
}

.services-list .service-card:nth-child(3) {
  --service-glow-x: 78%;
  --service-glow-y: 74%;
  --service-radius: 34px 34px 12px 34px;
}

.services-list .service-card:nth-child(4) {
  --service-glow-x: 20%;
  --service-glow-y: 18%;
  --service-radius: 42px 14px 42px 14px;
}

.services-list .service-card:nth-child(5) {
  --service-glow-x: 82%;
  --service-glow-y: 30%;
  --service-radius: 14px 36px 36px 36px;
}

.services-list .service-card::after {
  position: absolute;
  z-index: 0;
  top: 42px;
  right: 42px;
  color: rgba(204, 144, 243, 0.055);
  content: attr(data-index);
  font-family: var(--display);
  font-size: clamp(112px, 13vw, 190px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.74;
  pointer-events: none;
}

.services-list .service-card > * {
  position: relative;
  z-index: 1;
}

.services-list .scope-card-head {
  max-width: 680px;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
}

.services-list .scope-card-head > span {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(196, 139, 237, 0.3);
  border-radius: 50%;
  background: rgba(129, 54, 177, 0.11);
  color: #b976dc;
}

.services-list .scope-card-head > .service-icon {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  background: none;
  transform: rotate(-2deg);
}

.services-list .service-icon img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  opacity: 0.78;
  filter: saturate(0.34) brightness(0.78) contrast(0.9) drop-shadow(0 0 5px rgba(139, 83, 168, 0.16));
  transform: scale(1.18);
  transition: transform 260ms cubic-bezier(0.22, 0.72, 0.22, 1), filter 260ms ease, opacity 260ms ease;
}

.services-list .service-card:hover .service-icon img,
.services-list .service-card.is-current .service-icon img {
  opacity: 0.9;
  filter: saturate(0.5) brightness(0.88) contrast(0.94) drop-shadow(0 0 8px rgba(148, 87, 181, 0.22));
  transform: scale(1.24) rotate(2deg);
}

.services-list .scope-card h3 {
  max-width: 650px;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.06;
}

.services-list .scope-card > p {
  min-height: 0;
  max-width: 720px;
  margin-top: 32px;
  font-size: 18px;
}

.services-list .scope-card ul,
.services-list .service-card-featured ul {
  max-width: 760px;
  margin-top: 32px;
  columns: 2;
  column-gap: 54px;
}

.services-list .scope-card li {
  break-inside: avoid;
}

.services-list .scope-outcome {
  max-width: 780px;
  margin-top: auto;
}

.services-list .service-card.is-current {
  border-color: rgba(204, 155, 240, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(217, 173, 249, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.26),
    0 0 42px rgba(147, 63, 203, 0.08);
}

.services-list .service-card:hover {
  transform: translateY(-4px);
}

.services-controls {
  display: grid;
  width: calc(200% - 100vw);
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  margin-top: 14px;
}

.services-progress {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.services-progress::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.08) 22px 23px);
  content: "";
}

.services-progress > span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #713496, #b45cf2);
  box-shadow: 0 0 18px rgba(180, 92, 242, 0.45);
  transform-origin: left;
  transition: width 360ms cubic-bezier(0.22, 0.72, 0.22, 1);
}

.services-status {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 72px;
  font-family: var(--display);
}

.services-status strong {
  color: #c678ed;
  font-size: 20px;
}

.services-status span {
  color: #67616b;
  font-size: 14px;
}

.services-arrows {
  display: flex;
  gap: 8px;
}

.services-arrows button {
  display: flex;
  width: 54px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: rgba(17, 11, 22, 0.72);
  color: #d8d2db;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.services-arrows button > span {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.services-arrows button > span::before,
.services-arrows button > span::after {
  position: absolute;
  top: 50%;
  content: "";
}

.services-arrows button > span::before {
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.services-arrows button > span::after {
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.services-arrows button[data-service-prev] > span {
  transform: scaleX(-1);
}

.services-arrows button:hover:not(:disabled) {
  border-color: rgba(205, 150, 244, 0.42);
  background: rgba(111, 48, 151, 0.22);
  color: white;
  transform: translateY(-2px);
}

.services-arrows button:disabled {
  opacity: 0.28;
}

.services-viewport.is-dragging {
  scroll-behavior: auto;
  user-select: none;
}

.services-cta {
  margin-top: 30px;
}

@media (max-width: 1180px) {
  .services-list,
  .services-list.services-list {
    display: flex;
    grid-template-columns: none;
  }

  .services-list .service-card,
  .services-list .service-card:last-child,
  .services-list .service-card-featured {
    flex-basis: min(82vw, 760px);
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .services-slider {
    margin-top: 44px;
  }

  .services-list .service-card,
  .services-list .service-card:last-child,
  .services-list .service-card-featured {
    flex-basis: calc(100vw - 58px);
    min-height: 610px;
    padding: 32px 26px 30px;
  }

  .services-list .scope-card h3 {
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .services-list .scope-card > p {
    margin-top: 26px;
    font-size: 16px;
  }

  .services-list .scope-card ul,
  .services-list .service-card-featured ul {
    columns: 1;
    margin-top: 24px;
  }

  .services-list .scope-card-head > span {
    width: 58px;
    height: 58px;
  }

  .services-list .service-icon img {
    width: 54px;
    height: 54px;
  }

  .services-controls {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .services-progress {
    grid-column: 1 / -1;
  }

  .services-status {
    grid-row: 2;
  }

  .services-arrows {
    grid-row: 2;
    justify-self: end;
  }
}

/* Author principles: same soft glass language as the services slider. */
.studio-principles {
  width: min(72%, 940px);
  max-width: 940px;
  margin-right: auto;
}

.studio-principles article {
  min-height: 300px;
  padding: 30px 32px;
  background:
    radial-gradient(circle at var(--studio-glow-x) var(--studio-glow-y), rgba(164, 78, 218, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 46%),
    rgba(16, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  backdrop-filter: blur(20px) saturate(1.08);
}

.studio-principles h3 {
  margin: 86px 0 16px;
  font-size: clamp(21px, 2vw, 30px);
}

.studio-principles p {
  font-size: 16px;
  line-height: 1.48;
}

.studio-principles article:hover {
  background:
    radial-gradient(circle at var(--studio-glow-x) var(--studio-glow-y), rgba(176, 92, 228, 0.17), transparent 37%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), transparent 46%),
    rgba(20, 13, 25, 0.76);
}

@media (max-width: 900px) {
  .studio-principles {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .fit-heading h2 .title-line {
    white-space: normal;
  }
}

/* Task cards inherit the asymmetric rounded language of the services slider. */
.fit-card {
  --fit-radius: 36px 14px 36px 14px;
  border-radius: var(--fit-radius);
}

.fit-card:nth-child(2) {
  --fit-radius: 16px 42px 16px 42px;
}

.fit-card:nth-child(3) {
  --fit-radius: 34px 34px 12px 34px;
}

.fit-card:nth-child(4) {
  --fit-radius: 42px 14px 42px 14px;
}

.fit-note {
  border-radius: 14px 36px 36px 36px;
}

@media (max-width: 760px) {
  .fit-card,
  .fit-card:nth-child(2),
  .fit-card:nth-child(3),
  .fit-card:nth-child(4),
  .fit-note {
    border-radius: 26px 12px 26px 12px;
  }
}

/* Full-bleed carousel viewport; its first card still starts on the content grid. */
.services-slider {
  --services-gutter: max(50px, calc((100vw - var(--shell)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.services-list,
.services-list.services-list {
  padding-left: var(--services-gutter);
  padding-right: 0;
}

/* A real flex item is used as the trailing gutter because end padding on a
   max-content flex track is not consistently included in horizontal overflow. */
.services-list::after {
  width: calc(var(--services-gutter) - 18px);
  flex: 0 0 calc(var(--services-gutter) - 18px);
  content: "";
}

.services-controls {
  width: min(calc(100vw - (var(--services-gutter) * 2)), var(--shell));
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1180px) {
  .services-slider {
    --services-gutter: 32px;
  }
}

@media (max-width: 760px) {
  .services-slider {
    --services-gutter: 18px;
  }
}

.project-form {
  border-radius: 16px 42px 16px 42px;
}

@media (max-width: 760px) {
  .project-form {
    border-radius: 26px 12px 26px 12px;
  }
}

.logic-card {
  --logic-radius: 36px 14px 36px 14px;
  border-radius: var(--logic-radius);
}

.logic-card:nth-child(2) {
  --logic-radius: 16px 42px 16px 42px;
}

.logic-card:nth-child(3) {
  --logic-radius: 34px 34px 12px 34px;
}

.logic-card:nth-child(4) {
  --logic-radius: 42px 14px 42px 14px;
}

.services-list .service-card:nth-child(4) h3 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(25px, 2.55vw, 38px);
}

.approach-result {
  border-radius: 14px 36px 36px 36px;
}

@media (max-width: 760px) {
  .logic-card,
  .logic-card:nth-child(2),
  .logic-card:nth-child(3),
  .logic-card:nth-child(4),
  .approach-result {
    border-radius: 26px 12px 26px 12px;
  }

  .services-list .service-card:nth-child(4) h3 {
    white-space: normal;
    font-size: clamp(24px, 7.4vw, 32px);
  }
}

/* Softer liquid-glass surfaces: background layers are ~18% more transparent. */
.site-header.scrolled {
  background-color: rgba(13, 9, 18, 0.52);
}

.nav-page {
  background-color: rgba(104, 46, 145, 0.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.nav-page:hover,
.nav-page.active {
  background-color: rgba(135, 59, 188, 0.12);
}

.button {
  background-color: rgba(24, 16, 31, 0.42);
}

.button:hover {
  background-color: rgba(24, 16, 31, 0.47);
}

.button-ghost {
  background-color: rgba(13, 10, 17, 0.31);
}

.button-ghost:hover {
  background-color: rgba(118, 54, 165, 0.12);
}

.hero-trust,
.process-path-line {
  background-color: rgba(17, 11, 23, 0.33);
}

.logic-card,
.scope-card,
.studio-principles article,
.fit-card,
.approach-result,
.fit-note {
  background-color: rgba(15, 11, 19, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
  backdrop-filter: blur(14px) saturate(1.14);
}

.logic-card:hover,
.scope-card:hover,
.fit-card:hover {
  background-color: rgba(22, 14, 28, 0.42);
}

.services-list .service-card,
.services-list .service-card:last-child,
.services-list .service-card-featured {
  background-color: rgba(16, 11, 20, 0.49);
}

.studio-principles article {
  background-color: rgba(16, 11, 20, 0.46);
}

.studio-principles article:hover {
  background-color: rgba(20, 13, 25, 0.5);
}

.project-form {
  background-color: rgba(10, 8, 13, 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}

.portfolio-case-card {
  background-color: rgba(15, 10, 19, 0.52);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.portfolio-pagination button,
.case-modal-close {
  background-color: rgba(15, 10, 19, 0.52);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
}

.portfolio-pagination button:hover:not(:disabled),
.case-modal-close:hover {
  background-color: rgba(91, 40, 126, 0.22);
}

.case-modal-dialog {
  background-color: rgba(11, 8, 14, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  backdrop-filter: blur(22px) saturate(1.08);
}

.case-modal-placeholder {
  background-color: rgba(12, 8, 16, 0.47);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

.process-symbol {
  background-color: rgba(15, 9, 21, 0.66);
  -webkit-backdrop-filter: blur(12px) saturate(1.14);
  backdrop-filter: blur(12px) saturate(1.14);
}

.process-point > p {
  background-color: rgba(14, 10, 18, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  backdrop-filter: blur(14px) saturate(1.12);
}

.services-arrows button {
  background-color: rgba(17, 11, 22, 0.47);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
}

.services-arrows button:hover:not(:disabled) {
  background-color: rgba(111, 48, 151, 0.14);
}

/* Preserve the breathing room between the services controls and the process. */
.scope {
  padding-bottom: 116px;
}

@media (max-width: 760px) {
  .scope {
    padding-bottom: 82px;
  }
}

/* 2026-08 art-direction refinement: preserve the street system, strengthen hierarchy. */
:root {
  --premium-ease: cubic-bezier(0.22, 0.72, 0.22, 1);
  --section-space: clamp(92px, 7.5vw, 124px);
  --glass-quiet: rgba(13, 9, 17, 0.27);
  --glass-secondary: rgba(15, 10, 19, 0.34);
  --glass-primary: rgba(16, 11, 20, 0.46);
}

body {
  line-height: 1.62;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.wall-section > .shell {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.eyebrow,
.section-tag {
  margin-bottom: 20px;
  letter-spacing: 0.19em;
  line-height: 1.45;
}

.hero h1,
.section-heading h2,
.contact h2,
.portfolio-hero h1,
.portfolio-cases-heading h2 {
  line-height: 0.99;
}

.hero-lead,
.section-heading > p:last-child,
.process-heading > p:last-child,
.studio-heading > p:last-child,
.portfolio-hero-content > div > p:last-child,
.portfolio-cases-heading > p {
  line-height: 1.62;
}

.approach {
  padding-top: var(--section-space);
  padding-bottom: clamp(72px, 5.8vw, 92px);
}

.scope {
  padding-top: clamp(72px, 5.8vw, 92px);
  padding-bottom: clamp(96px, 8vw, 124px);
}

.process,
.studio,
.fit,
.faq {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.logic-grid,
.studio-principles,
.fit-grid {
  margin-top: clamp(52px, 5vw, 68px);
}

/* Quiet information surfaces do not compete with the slider, form or CTA. */
.logic-card,
.fit-card {
  border-color: rgba(224, 204, 239, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 48%),
    var(--glass-quiet);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 14px 36px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(11px) saturate(1.06);
  backdrop-filter: blur(11px) saturate(1.06);
  transition:
    border-color 240ms var(--premium-ease),
    background 240ms var(--premium-ease);
}

.studio-principles article {
  border-color: rgba(224, 204, 239, 0.12);
  background:
    radial-gradient(circle at var(--studio-glow-x) var(--studio-glow-y), rgba(164, 78, 218, 0.085), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 48%),
    var(--glass-secondary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 42px rgba(0, 0, 0, 0.09);
  -webkit-backdrop-filter: blur(13px) saturate(1.07);
  backdrop-filter: blur(13px) saturate(1.07);
  transition:
    border-color 240ms var(--premium-ease),
    background 240ms var(--premium-ease);
}

.logic-card:hover,
.fit-card:hover {
  border-color: rgba(204, 155, 240, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 48%),
    rgba(17, 11, 21, 0.31);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 36px rgba(0, 0, 0, 0.08);
  transform: none;
}

.studio-principles article:hover {
  border-color: rgba(204, 155, 240, 0.19);
  background:
    radial-gradient(circle at var(--studio-glow-x) var(--studio-glow-y), rgba(164, 78, 218, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent 48%),
    rgba(17, 11, 21, 0.37);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 16px 42px rgba(0, 0, 0, 0.09);
  transform: none;
}

.logic-card::before,
.studio-principles article::before,
.fit-card::before,
.approach-result::before,
.fit-note::before {
  display: none;
}

/* Primary interaction surfaces retain the liquid-glass signature. */
.services-list .service-card,
.services-list .service-card:last-child,
.services-list .service-card-featured {
  background:
    radial-gradient(circle at var(--service-glow-x) var(--service-glow-y), rgba(164, 78, 218, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 48%),
    var(--glass-primary);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.services-list .service-card:hover {
  transform: translateY(-2px);
}

.project-form {
  border-color: rgba(224, 204, 239, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
    rgba(10, 8, 13, 0.39);
  -webkit-backdrop-filter: blur(15px) saturate(1.08);
  backdrop-filter: blur(15px) saturate(1.08);
}

.approach-result,
.fit-note {
  border-color: rgba(183, 111, 231, 0.2);
  background:
    linear-gradient(90deg, rgba(148, 71, 228, 0.055), transparent 62%),
    rgba(13, 9, 17, 0.25);
  -webkit-backdrop-filter: blur(11px) saturate(1.05);
  backdrop-filter: blur(11px) saturate(1.05);
}

/* Decorative stickers remain the authored wall layer, not a competing interface. */
.site-sticker {
  opacity: 0.27;
  filter: grayscale(0.22) saturate(0.52) brightness(0.84) contrast(0.96) drop-shadow(0 10px 17px rgba(0, 0, 0, 0.2));
}

/* One characteristic cursor system; ambient light is deliberately restrained. */
.cursor-aura {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(178, 94, 239, 0.075), rgba(126, 58, 180, 0.022) 40%, transparent 72%);
}

body.cursor-over-interactive .cursor-aura {
  width: 370px;
  height: 370px;
  opacity: 0.76;
}

.cursor-orbit {
  box-shadow:
    inset 0 0 8px rgba(171, 84, 234, 0.06),
    0 0 14px rgba(148, 71, 228, 0.09);
}

/* Consistent optical grading keeps Rook in one visual world. */
.hero-image,
.scope-image,
.studio-image,
.contact-image,
.portfolio-hero-image {
  filter: grayscale(0.48) saturate(0.72) contrast(1.06);
}

.hero-image {
  filter: grayscale(0.34) saturate(0.78) contrast(1.05);
}

.contact-image {
  filter: grayscale(0.66) saturate(0.66) contrast(1.07);
}

.portfolio-case-card {
  background:
    radial-gradient(circle 220px at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(180, 88, 238, 0.13), transparent 74%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 46%),
    rgba(15, 10, 19, 0.43);
  -webkit-backdrop-filter: blur(15px) saturate(1.08);
  backdrop-filter: blur(15px) saturate(1.08);
}

.portfolio-case-card:hover,
.portfolio-case-card:focus-visible {
  transform: translateY(-3px) rotate(var(--card-rotation));
}

@media (max-width: 1180px) {
  .section {
    padding-block: clamp(84px, 9vw, 108px);
  }

  .approach,
  .scope,
  .process,
  .studio,
  .fit,
  .faq {
    padding-top: clamp(84px, 9vw, 108px);
    padding-bottom: clamp(84px, 9vw, 108px);
  }

  .studio-principles {
    width: min(82%, 940px);
  }

  .portfolio-cases-heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .studio-principles {
    width: 100%;
  }

  .portfolio-cases-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portfolio-cases-heading > p {
    max-width: 64ch;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  .section,
  .approach,
  .scope,
  .process,
  .studio,
  .fit,
  .faq {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .hero h1,
  .section-heading h2,
  .contact h2,
  .portfolio-hero h1,
  .portfolio-cases-heading h2 {
    line-height: 1.02;
  }

  .logic-grid,
  .studio-principles,
  .fit-grid {
    margin-top: 42px;
  }

  .logic-card,
  .fit-card,
  .studio-principles article {
    -webkit-backdrop-filter: blur(9px) saturate(1.04);
    backdrop-filter: blur(9px) saturate(1.04);
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #bbb6bf;
    --glass-line: rgba(244, 230, 255, 0.28);
  }

  .logic-card,
  .fit-card,
  .studio-principles article,
  .services-list .service-card,
  .project-form {
    border-color: rgba(244, 230, 255, 0.3);
  }
}

/* Motion is a hierarchy cue, not a repeated spectacle. */
.reveal {
  transform: translateY(16px);
  transition:
    opacity 680ms var(--premium-ease),
    transform 760ms var(--premium-ease);
}

.hero .reveal,
.portfolio-hero .reveal {
  transform: translateY(10px);
}

.reveal.visible {
  transform: none;
}

@media (hover: none), (pointer: coarse) {
  .services-list .service-card:hover,
  .portfolio-case-card:hover,
  .portfolio-case-card:focus-visible {
    transform: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 760px) {
  .section-heading.approach-heading h2,
  .section-heading.process-heading h2,
  .section-heading.studio-heading h2,
  .section-heading.fit-heading h2 {
    font-size: clamp(30px, 8.45vw, 36px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* This block intentionally comes last so later art-direction rules never
   re-enable movement for people who asked for less motion. */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero .reveal,
  .portfolio-hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .logic-card,
  .fit-card,
  .studio-principles article,
  .services-list .service-card,
  .portfolio-case-card,
  .project-form {
    transition: none;
  }

  .services-list .service-card:hover,
  .portfolio-case-card:hover,
  .portfolio-case-card:focus-visible {
    transform: none;
  }
}
