@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica-cyrillic.5141cfde7ad6.woff2") format("woff2");
  font-style: oblique 0deg 12deg;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica-latin.01d00672f4b6.woff2") format("woff2");
  font-style: oblique 0deg 12deg;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f2f2ec;
  --bg-soft: #e8e9e0;
  --surface: #fbfbf6;
  --surface-strong: #dfe1d5;
  --ink: #151713;
  --ink-soft: #55594f;
  --ink-faint: #7b8074;
  --accent: #d6f24b;
  --accent-strong: #c2de36;
  --line: rgba(21, 23, 19, 0.14);
  --line-strong: rgba(21, 23, 19, 0.28);
  --shadow: 0 24px 80px rgba(55, 62, 38, 0.14);
  --radius-small: 10px;
  --radius: 18px;
  --radius-large: 30px;
  --container: 1360px;
  --header-height: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131511;
    --bg-soft: #1b1e18;
    --surface: #20231d;
    --surface-strong: #292d24;
    --ink: #f0f2e9;
    --ink-soft: #b8bdb0;
    --ink-faint: #858b7f;
    --line: rgba(240, 242, 233, 0.13);
    --line-strong: rgba(240, 242, 233, 0.26);
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geologica", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: -18vmax;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(
      ellipse 34% 30% at 20% 22%,
      rgba(214, 242, 75, 0.14),
      transparent 72%
    ),
    radial-gradient(
      ellipse 32% 28% at 78% 68%,
      rgba(105, 117, 88, 0.1),
      transparent 74%
    );
  transform: translate3d(-1.5%, -1%, 0) rotate(-1deg) scale(1.02);
  transform-origin: center;
}

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

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: ambient-background-drift 28s ease-in-out infinite alternate;
  }
}

@keyframes ambient-background-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) rotate(-1deg) scale(1.02);
  }

  50% {
    transform: translate3d(1%, -0.4%, 0) rotate(0.4deg) scale(1.035);
  }

  100% {
    transform: translate3d(1.8%, 1.2%, 0) rotate(1deg) scale(1.02);
  }
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  letter-spacing: normal;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #151713;
  transform: translateY(-180%);
  transition: transform 300ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 18px 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 500ms var(--ease),
    background-color 500ms var(--ease),
    color 500ms var(--ease);
}

.button span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  transition: transform 500ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover span {
  transform: translate(3px, -2px);
}

.button:active {
  transform: scale(0.98);
}

.button-dark {
  background: var(--ink);
  color: var(--bg);
}

.button-dark span {
  background: var(--accent);
  color: #151713;
}

.button-dark:hover {
  background: var(--accent);
  color: #151713;
}

.button-dark:hover span {
  background: #151713;
  color: var(--accent);
}

.button-outline {
  margin-top: 42px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.button-outline span {
  background: var(--surface-strong);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.text-link::after {
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 500ms var(--ease);
}

.text-link:hover::after {
  width: 32px;
}

.site-header {
  position: relative;
  z-index: 30;
  padding: 20px 24px 0;
}

.nav-shell {
  display: grid;
  width: min(100%, var(--container));
  min-height: var(--header-height);
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  margin: 0 auto;
  padding: 10px 12px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(251, 251, 246, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 45px rgba(50, 56, 37, 0.1);
  color: #151713;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  width: 138px;
  align-items: center;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.desktop-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: #151713;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 450ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #151713;
  color: #f5f6ee;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background 400ms var(--ease),
    color 400ms var(--ease),
    transform 400ms var(--ease);
}

.nav-contact:hover {
  background: var(--accent);
  color: #151713;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  padding: 126px 28px 36px;
  background: rgba(242, 242, 236, 0.96);
  color: #151713;
  backdrop-filter: blur(30px);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu nav a {
  padding-block: 6px;
  font-size: clamp(2rem, 10vw, 3.8rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.1;
}

.mobile-contact {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(21, 23, 19, 0.2);
}

.messages {
  position: fixed;
  top: 112px;
  right: 24px;
  z-index: 50;
  width: min(420px, calc(100% - 48px));
}

.message {
  padding: 16px 20px;
  border-radius: var(--radius-small);
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--bg);
}

.message-error {
  background: #8e3028;
  color: #fff;
}

.hero {
  padding: clamp(56px, 7vw, 100px) 0 clamp(96px, 11vw, 160px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  gap: clamp(56px, 8vw, 128px);
}

.hero-copy {
  padding-left: clamp(0px, 3vw, 44px);
}

.hero-eyebrow {
  animation: reveal-up 850ms var(--ease) both;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 34px;
  font-size: clamp(3.5rem, 4.8vw, 5rem);
  font-weight: 700;
  letter-spacing: normal;
}

.hero h1 em {
  position: relative;
  font-style: italic;
  font-weight: 500;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 0.11em;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 900ms 700ms var(--ease) forwards;
}

.hero h1,
.hero-text,
.hero-actions {
  animation: reveal-up 950ms var(--ease) both;
}

.hero h1 {
  animation-delay: 80ms;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  animation-delay: 170ms;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  animation-delay: 250ms;
}

.hero-showcase {
  min-width: 0;
  animation: reveal-up 1100ms 120ms var(--ease) both;
}

.hero-project {
  display: block;
  padding: 8px;
  border-radius: calc(var(--radius-large) + 8px);
  background: rgba(21, 23, 19, 0.08);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  transition: transform 700ms var(--ease);
}

.hero-project:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-project > img,
.hero-project-art {
  width: 100%;
  aspect-ratio: 1.05;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.hero-project-art {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 30% 22%, #ebff85 0, transparent 24%),
    radial-gradient(circle at 70% 80%, #748650 0, transparent 30%),
    #242920;
}

.project-mark {
  z-index: 1;
  color: #f2f2ec;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: normal;
}

.project-wave {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 2px solid rgba(235, 255, 133, 0.55);
  border-radius: 42% 58% 62% 38%;
  transform: rotate(27deg);
}

.hero-project-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 18px 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-project-caption > span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.hero-facts div {
  display: grid;
  gap: 4px;
  padding: 8px 18px;
  background: var(--bg);
}

.hero-facts strong {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: normal;
}

.hero-facts span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  line-height: 1.3;
}

.statement,
.services-preview,
.work-preview,
.process,
.journal-preview,
.related-section {
  padding-block: clamp(96px, 12vw, 170px);
}

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

.statement-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 130px);
}

.statement-copy h2 {
  max-width: 1050px;
  margin-bottom: 34px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-weight: 600;
}

.statement-copy p {
  max-width: 660px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.services-preview {
  background: var(--ink);
  color: var(--bg);
}

.services-preview .eyebrow {
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
}

.service-list {
  border-top: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
}

.service-row {
  display: grid;
  grid-template-columns: 56px minmax(260px, 0.9fr) minmax(280px, 1.1fr) 44px;
  align-items: center;
  gap: 24px;
  min-height: 118px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
  transition:
    background 450ms var(--ease),
    color 450ms var(--ease),
    padding 450ms var(--ease);
}

.service-row:hover {
  padding-inline: 18px;
  background: var(--accent);
  color: #151713;
}

.service-index {
  opacity: 0.5;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.service-title {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.2;
}

.service-description {
  max-width: 580px;
  opacity: 0.66;
  font-size: 0.91rem;
}

.service-arrow {
  justify-self: end;
  font-size: 1.4rem;
  transition: transform 500ms var(--ease);
}

.service-row:hover .service-arrow {
  transform: translate(4px, -4px);
}

.services-preview .button-outline {
  color: var(--bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 36%, transparent);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(42px, 6vw, 92px) clamp(24px, 4vw, 62px);
}

.work-grid .item-card:nth-child(4n + 2) {
  margin-top: 100px;
}

.work-grid .item-card:nth-child(4n + 3) {
  margin-top: -10px;
}

.work-grid .item-card:nth-child(4n) {
  margin-top: 70px;
}

.item-card {
  min-width: 0;
}

.item-media {
  display: block;
  overflow: hidden;
  padding: 7px;
  border-radius: calc(var(--radius-large) + 7px);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.item-media img,
.item-placeholder {
  width: 100%;
  aspect-ratio: 1.28;
  border-radius: var(--radius-large);
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.case-preview {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 960 / 555;
  border-radius: var(--radius-large);
  background: #030506;
  box-shadow: inset 0 0 0 1px rgba(125, 178, 216, 0.14);
}

.case-preview-frame {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  opacity: 0;
  object-fit: cover;
  transform: scale(1.045);
  transition: none !important;
}

.case-preview-frame-1 {
  opacity: 1;
}

.case-preview.is-playing .case-preview-frame {
  animation: case-preview-scene 16s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.case-preview.is-playing .case-preview-frame-2 {
  animation-delay: 4s;
}

.case-preview.is-playing .case-preview-frame-3 {
  animation-delay: 8s;
}

.case-preview.is-playing .case-preview-frame-4 {
  animation-delay: 12s;
}

.case-preview-scan {
  position: absolute;
  inset: -18% auto -18% -35%;
  z-index: 2;
  width: 34%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(48, 150, 232, 0.06) 28%,
    rgba(88, 184, 255, 0.42) 50%,
    rgba(48, 150, 232, 0.06) 72%,
    transparent
  );
  filter: blur(4px);
  mix-blend-mode: screen;
  transform: translateX(-120%) skewX(-14deg);
}

.case-preview.is-playing .case-preview-scan {
  animation: case-preview-scan 4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.case-preview-progress {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.18);
  transform: scaleX(0.18);
  transform-origin: right;
}

.case-preview-progress::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #3096e8;
  transform: scaleX(0);
  transform-origin: left;
}

.case-preview.is-playing .case-preview-progress::after {
  animation: case-preview-progress 4s linear infinite;
}

.case-preview-link {
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-large);
}

.item-card:hover .item-media img,
.item-card:hover .item-placeholder {
  transform: scale(1.025);
}

.item-card:hover .item-media .case-preview-frame {
  transform: scale(1.045);
}

.item-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 242, 75, 0.75), transparent 25%),
    linear-gradient(142deg, #31382a, #889373);
  color: #f4f4ee;
}

.item-placeholder span {
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: normal;
}

.item-card-body {
  padding: 24px 8px 0;
}

.item-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.item-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  font-weight: 600;
}

.item-card p {
  max-width: 58ch;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.item-card .text-link {
  font-size: 0.82rem;
}

.process {
  background: var(--bg-soft);
}

.process-intro {
  display: grid;
  max-width: 900px;
  grid-template-columns: 180px 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.process-intro h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.process-step {
  min-height: 360px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--bg-soft);
}

.process-step > span {
  display: inline-block;
  margin-bottom: 100px;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step h3 {
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.journal-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(50px, 7vw, 100px) clamp(24px, 4vw, 64px);
}

.journal-grid .item-card:nth-child(even) {
  margin-top: 80px;
}

.contact-section {
  padding-block: clamp(96px, 12vw, 170px);
  background: var(--accent);
  color: #151713;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1fr);
  gap: clamp(60px, 10vw, 160px);
}

.contact-copy {
  align-self: start;
}

.contact-copy .eyebrow {
  color: rgba(21, 23, 19, 0.62);
}

.contact-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(2.8rem, 5.7vw, 6rem);
  font-weight: 650;
}

.contact-copy > p {
  max-width: 570px;
  font-size: 1.05rem;
}

.direct-contact {
  display: grid;
  gap: 6px;
  margin-top: 44px;
  font-weight: 700;
}

.lead-form {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-large);
  background: rgba(251, 251, 246, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 28px 80px rgba(87, 103, 30, 0.16);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row label {
  font-size: 0.75rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(21, 23, 19, 0.3);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #151713;
  transition: border-color 300ms var(--ease);
}

.form-row input {
  min-height: 50px;
}

.form-row textarea {
  min-height: 100px;
  padding-top: 12px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #151713;
  box-shadow: 0 2px 0 #151713;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 26px;
  font-size: 0.75rem;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  accent-color: #151713;
}

.form-submit {
  width: 100%;
}

.form-error {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  background: #f4d4cf;
  color: #6d211c;
  font-size: 0.84rem;
}

.page-hero {
  padding: clamp(110px, 14vw, 200px) 0 clamp(86px, 10vw, 140px);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  column-gap: clamp(40px, 8vw, 130px);
}

.page-hero .eyebrow {
  grid-row: span 2;
}

.page-hero h1 {
  max-width: 1050px;
  margin-bottom: 32px;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  font-weight: 650;
  letter-spacing: normal;
}

.page-hero .container > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.services-catalog {
  padding-bottom: clamp(100px, 12vw, 180px);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.catalog-item {
  display: grid;
  min-height: 260px;
  grid-template-columns: 48px 1fr 34px;
  gap: 16px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    background 550ms var(--ease),
    color 550ms var(--ease),
    transform 550ms var(--ease);
}

.catalog-item:nth-child(3n + 1) {
  grid-column: span 2;
  min-height: 300px;
}

.catalog-item:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-5px);
}

.catalog-number {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.catalog-item h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3.2vw, 3.5rem);
  font-weight: 600;
}

.catalog-item p {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.catalog-item:hover p {
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

.catalog-arrow {
  justify-self: end;
  font-size: 1.4rem;
  transition: transform 500ms var(--ease);
}

.catalog-item:hover .catalog-arrow {
  transform: translate(4px, -4px);
}

.compact-manifesto {
  padding-block: clamp(90px, 11vw, 150px);
  background: var(--bg-soft);
}

.compact-manifesto-grid {
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 0.45fr;
  align-items: start;
  gap: clamp(36px, 6vw, 100px);
}

.compact-manifesto h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  font-weight: 600;
}

.compact-manifesto-grid > p:last-child {
  color: var(--ink-soft);
}

.archive-hero {
  padding-bottom: 90px;
}

.archive-filters {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.archive-filters a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  transition:
    background 350ms var(--ease),
    color 350ms var(--ease);
}

.archive-filters a:hover {
  background: var(--ink);
  color: var(--bg);
}

.archive-filters span {
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

.archive-content {
  padding: 70px 0 clamp(110px, 13vw, 180px);
}

.archive-grid .item-card:nth-child(4n + 2),
.archive-grid .item-card:nth-child(4n) {
  transform: translateY(70px);
}

.empty-state {
  grid-column: 1 / -1;
  max-width: 700px;
  padding: 60px;
  border-radius: var(--radius-large);
  background: var(--surface);
}

.empty-state h2 {
  font-size: 2.4rem;
}

.detail-hero {
  padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.7fr);
  align-items: center;
  gap: clamp(54px, 9vw, 140px);
}

.detail-title h1 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  font-weight: 650;
  letter-spacing: normal;
}

.detail-title > p {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-cover {
  margin: 0;
  padding: 8px;
  border-radius: calc(var(--radius-large) + 8px);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.detail-cover img {
  width: 100%;
  max-height: 680px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  justify-content: center;
  gap: clamp(50px, 8vw, 120px);
  padding-bottom: clamp(110px, 13vw, 180px);
}

.article-aside {
  position: sticky;
  top: 32px;
  align-self: start;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.article-aside span {
  display: block;
  margin-bottom: 28px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-aside p {
  margin-bottom: 5px;
}

.rich-content {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--ink);
  font-weight: 650;
}

.rich-content h2 {
  margin: 3.2em 0 0.75em;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.rich-content h3 {
  margin: 2.4em 0 0.7em;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.rich-content h4 {
  margin: 2em 0 0.6em;
  font-size: 1.25rem;
}

.rich-content p,
.rich-content ul,
.rich-content ol {
  margin-bottom: 1.4em;
}

.rich-content a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--accent-strong);
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.18em;
}

.rich-content blockquote {
  margin: 2.5em 0;
  padding: 30px 0 30px 34px;
  border-left: 5px solid var(--accent);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 500;
}

.rich-content img {
  width: auto;
  height: auto;
  margin: 2.5em auto;
  border-radius: var(--radius);
}

.rich-content figure {
  margin: 2.5em 0;
}

.rich-content figure + h2 {
  margin-top: 1.25em;
}

.rich-content figure img {
  margin: 0;
}

.rich-content figcaption {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.rich-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
  margin: 2.5em 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rich-content th,
.rich-content td {
  min-width: 140px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.site-footer {
  padding: 92px 0 32px;
  background: #151713;
  color: #f0f2e9;
}

.footer-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(240, 242, 233, 0.18);
}

.footer-brand {
  width: clamp(180px, 23vw, 320px);
  filter: invert(1);
}

.footer-lead p {
  max-width: 520px;
  justify-self: end;
  margin: 0;
  color: rgba(240, 242, 233, 0.62);
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-block: 76px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin-bottom: 18px;
  color: rgba(240, 242, 233, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: rgba(240, 242, 233, 0.84);
  font-size: 0.9rem;
  transition: color 300ms var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(240, 242, 233, 0.18);
  color: rgba(240, 242, 233, 0.45);
  font-size: 0.7rem;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  width: min(430px, calc(100% - 44px));
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f8f8f2;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  color: #151713;
  font-size: 0.78rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  grid-column: 1 / -1;
  margin: 0;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-banner button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #151713;
  color: #f8f8f2;
  cursor: pointer;
}

.lead-dialog-trigger {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 22px;
  padding: 0 22px 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #151713;
  box-shadow:
    0 18px 60px rgba(21, 23, 19, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #f8f8f2;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    bottom 350ms var(--ease),
    background 350ms var(--ease),
    color 350ms var(--ease),
    transform 350ms var(--ease);
}

.lead-dialog-trigger span:last-child {
  font-size: 1.05rem;
  transition: transform 350ms var(--ease);
}

.lead-dialog-trigger:hover {
  background: var(--accent);
  color: #151713;
  transform: translateY(-4px);
}

.lead-dialog-trigger:hover span:last-child {
  transform: translate(3px, -3px);
}

body:has(.cookie-banner:not([hidden])) .lead-dialog-trigger {
  bottom: 152px;
}

.lead-dialog {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #151713;
}

.lead-dialog::backdrop {
  background: rgba(12, 14, 11, 0.72);
  backdrop-filter: blur(12px);
}

.lead-dialog[open] {
  animation: lead-dialog-in 500ms var(--ease) both;
}

.lead-dialog-shell {
  display: grid;
  max-height: calc(100dvh - 40px);
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  overflow: auto;
  border-radius: 30px;
  background: var(--accent);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.lead-dialog-intro {
  display: flex;
  min-height: 660px;
  flex-direction: column;
  padding: clamp(34px, 4vw, 54px);
}

.lead-dialog-intro .eyebrow {
  color: rgba(21, 23, 19, 0.55);
}

.lead-dialog-intro h2 {
  max-width: 480px;
  margin: 22px 0 24px;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 650;
  line-height: 0.95;
}

.lead-dialog-intro > p {
  max-width: 36ch;
  margin: 0;
  color: rgba(21, 23, 19, 0.72);
}

.lead-dialog-direct {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 60px;
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-dialog-direct span {
  margin-bottom: 8px;
  color: rgba(21, 23, 19, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lead-dialog-form-panel {
  position: relative;
  padding: 22px;
  background: #f6f6f0;
}

.lead-dialog-form {
  min-height: 100%;
  padding: clamp(38px, 5vw, 62px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lead-dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 23, 19, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    background 300ms var(--ease),
    transform 300ms var(--ease);
}

.lead-dialog-close:hover {
  background: var(--accent);
  transform: rotate(6deg);
}

.lead-dialog-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.lead-dialog-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lead-dialog-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.lead-dialog-is-open {
  overflow: hidden;
}

@keyframes lead-dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

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

.not-found {
  min-height: 74dvh;
  padding: clamp(110px, 15vw, 200px) 0;
}

.not-found .container {
  max-width: 920px;
}

.not-found-code {
  display: block;
  color: var(--accent-strong);
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 0.75;
}

.not-found h1 {
  margin: 60px 0 24px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.not-found p {
  max-width: 600px;
  color: var(--ink-soft);
}

.not-found div > div {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 850ms var(--ease),
    transform 850ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline-in {
  to {
    transform: scaleX(1);
  }
}

@keyframes case-preview-scene {
  0% {
    opacity: 1;
    transform: scale(1.045);
  }

  21% {
    opacity: 1;
    transform: scale(1.01);
  }

  25%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes case-preview-scan {
  0%,
  8% {
    opacity: 0;
    transform: translateX(-120%) skewX(-14deg);
  }

  20% {
    opacity: 0.72;
  }

  44% {
    opacity: 0;
    transform: translateX(500%) skewX(-14deg);
  }

  100% {
    opacity: 0;
    transform: translateX(500%) skewX(-14deg);
  }
}

@keyframes case-preview-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a:nth-child(3),
  .desktop-nav a:nth-child(4) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 4.8rem);
  }

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

  .contact-grid {
    grid-template-columns: 0.8fr 1fr;
    gap: 50px;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr 0.68fr;
    gap: 50px;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    padding: 14px 14px 0;
  }

  .nav-shell {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    padding: 8px 10px 8px 18px;
  }

  .brand {
    width: 122px;
  }

  .desktop-nav,
  .nav-contact {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #151713;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #f2f2ec;
    transition: transform 500ms var(--ease);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(-4px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(4px);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .site-header.menu-open .nav-shell {
    position: fixed;
    top: 14px;
    right: 14px;
    left: 14px;
    width: auto;
    z-index: 1;
  }

  .hero {
    padding: 72px 0 100px;
  }

  .hero-grid,
  .statement-grid,
  .page-hero .container,
  .contact-grid,
  .detail-hero-grid,
  .article-layout,
  .compact-manifesto-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(3.25rem, 13vw, 5.7rem);
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-showcase {
    width: min(100%, 620px);
    margin-left: auto;
  }

  .hero-project {
    transform: rotate(0.7deg);
  }

  .statement-grid {
    gap: 24px;
  }

  .statement-copy p {
    margin-left: 0;
  }

  .service-row {
    grid-template-columns: 38px 1fr 36px;
    min-height: 104px;
    gap: 12px;
  }

  .service-description {
    display: none;
  }

  .work-grid,
  .journal-grid,
  .archive-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .work-grid .item-card:nth-child(n),
  .journal-grid .item-card:nth-child(n),
  .archive-grid .item-card:nth-child(n) {
    margin-top: 0;
    transform: none;
  }

  .process-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    gap: 54px;
  }

  .page-hero .eyebrow {
    grid-row: auto;
  }

  .catalog-item:nth-child(n) {
    grid-column: auto;
  }

  .article-aside {
    position: static;
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
  }

  .article-aside span {
    margin: 0 auto 0 0;
  }

  .rich-content {
    font-size: 1rem;
  }

  .footer-lead {
    grid-template-columns: 1fr;
  }

  .footer-lead p {
    justify-self: start;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    line-height: 0.98;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    grid-template-columns: 90px 1fr;
    align-items: center;
  }

  .statement-copy h2,
  .section-heading h2,
  .process-intro h2 {
    font-size: 2.5rem;
  }

  .service-row {
    grid-template-columns: 28px 1fr 28px;
  }

  .service-index {
    font-size: 0.64rem;
  }

  .process-track,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 280px;
  }

  .process-step > span {
    margin-bottom: 70px;
  }

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

  .lead-form {
    padding: 24px 18px;
  }

  .page-hero h1,
  .detail-title h1 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .catalog-item {
    grid-template-columns: 30px 1fr 24px;
    padding: 28px 20px;
  }

  .detail-cover {
    transform: none;
  }

  .article-aside {
    flex-wrap: wrap;
  }

  .article-aside span {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-lead {
    padding-bottom: 54px;
  }

  .not-found div > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .case-preview-frame,
  .case-preview-scan,
  .case-preview-progress::after {
    animation: none !important;
  }

  .case-preview-frame {
    opacity: 0;
    transform: none;
  }

  .case-preview-frame-1 {
    opacity: 1;
  }

  .case-preview-scan,
  .case-preview-progress {
    display: none;
  }
}

/* Portfolio system */

.portfolio-hero h1,
.clients-hero h1,
.team-hero h1 {
  font-size: clamp(4.5rem, 12vw, 11rem);
}

.portfolio-filter-section {
  padding: 36px 0 70px;
  border-bottom: 1px solid var(--line);
}

.portfolio-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.portfolio-filters label {
  display: grid;
  gap: 8px;
}

.portfolio-filters label > span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-filters select,
.client-search input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.portfolio-reset {
  grid-column: 1 / -1;
  justify-self: start;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.portfolio-results,
.client-directory,
.team-directory {
  padding: 90px 0 140px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px 26px;
}

.project-card {
  min-width: 0;
}

.project-card:not(.home-project-card):nth-child(5n + 1),
.project-card:not(.home-project-card):last-child:nth-child(5n + 2),
.project-card:not(.home-project-card):last-child:nth-child(5n + 4) {
  grid-column: span 2;
}

.project-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-large);
  background: var(--surface-strong);
}

.project-card:not(.home-project-card):nth-child(5n + 1) .project-card-media,
.project-card:not(.home-project-card):last-child:nth-child(5n + 2)
  .project-card-media,
.project-card:not(.home-project-card):last-child:nth-child(5n + 4)
  .project-card-media {
  aspect-ratio: 16 / 8;
}

.project-card-media img,
.project-card-media > .case-preview,
.project-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.project-card:hover .project-card-media > img,
.project-card:hover .project-card-media > .case-preview {
  transform: scale(1.015);
}

.project-card-placeholder {
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 800;
}

.project-card-body {
  padding-top: 22px;
}

.project-card-meta,
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-card-meta {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card-meta-main {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.project-card-discipline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.project-card-discipline::before {
  opacity: 0.5;
  content: "·";
}

.project-card h2 {
  max-width: 920px;
  margin: 16px 0;
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
}

.project-card p {
  max-width: 680px;
  color: var(--ink-soft);
}

.portfolio-project-card .project-card-body > p {
  margin-top: 16px;
}

.project-card-footer > span {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.client-search {
  display: flex;
  max-width: 560px;
  gap: 10px;
  margin-top: 42px;
}

.client-search button {
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  cursor: pointer;
}

.client-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-directory-card > a {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 500ms var(--ease),
    background 500ms var(--ease);
}

.client-directory-card > a:hover {
  background: var(--accent);
  color: #151713;
  transform: translateY(-4px);
}

.client-logo {
  display: grid;
  min-height: 160px;
  flex: 1;
  place-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.client-logo img {
  max-width: 72%;
  max-height: 90px;
}

.client-logo span {
  font-size: 1.6rem;
  font-weight: 800;
}

.client-directory-card h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.client-directory-card p,
.client-directory-card > a > span {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.client-detail-hero {
  padding: 110px 0 70px;
}

.client-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 8vw;
  align-items: center;
}

.client-detail-hero h1,
.team-member-hero h1 {
  font-size: clamp(4rem, 10vw, 10rem);
}

.client-detail-hero-grid > div:first-child > p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.client-detail-logo {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 40px;
  border-radius: var(--radius-large);
  background: var(--surface-strong);
  text-align: center;
}

.client-detail-logo img {
  max-width: 75%;
  max-height: 150px;
}

.client-detail-logo span {
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 800;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.client-stats > div {
  display: grid;
  gap: 8px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.client-stats strong {
  font-size: 2.2rem;
}

.client-stats span {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.client-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 34px;
}

.client-project-filters a {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 0.85rem;
}

.client-project-filters a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

.client-project-filters span {
  opacity: 0.55;
}

.team-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card-photo,
.team-member-photo {
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius-large);
  background: var(--surface-strong);
}

.team-card-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
}

.team-card-photo img,
.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-photo span,
.team-member-photo span {
  color: var(--ink-faint);
  font-size: 8rem;
  font-weight: 800;
}

.team-card h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.team-card p,
.team-card > a > span {
  margin: 0;
  color: var(--ink-faint);
}

.team-member-hero {
  padding: 110px 0 70px;
}

.team-member-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 8vw;
  align-items: center;
}

.team-member-photo {
  aspect-ratio: 4 / 5;
}

.team-member-role {
  font-size: 1.5rem;
  font-weight: 700;
}

.team-member-bio {
  max-width: 760px;
  color: var(--ink-soft);
}

.team-member-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}

.team-member-roles span {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface-strong);
}

.home-clients {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.home-client-grid a {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 22px;
  background: var(--bg);
  text-align: center;
  transition: background 400ms var(--ease);
}

.home-client-grid a:hover {
  background: var(--accent);
  color: #151713;
}

.home-client-grid img {
  max-width: 80%;
  max-height: 70px;
}

.home-client-grid span {
  font-weight: 800;
}

@media (max-width: 1100px) {
  .portfolio-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .client-detail-hero-grid,
  .team-member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portfolio-filters,
  .project-grid,
  .client-directory-grid,
  .team-directory-grid,
  .client-detail-hero-grid,
  .team-member-grid {
    grid-template-columns: 1fr;
  }

  .project-card:not(.home-project-card):nth-child(5n + 1),
  .project-card:not(.home-project-card):last-child:nth-child(5n + 2),
  .project-card:not(.home-project-card):last-child:nth-child(5n + 4) {
    grid-column: auto;
  }

  .project-card:not(.home-project-card):nth-child(5n + 1)
    .project-card-media,
  .project-card:not(.home-project-card):last-child:nth-child(5n + 2)
    .project-card-media,
  .project-card:not(.home-project-card):last-child:nth-child(5n + 4)
    .project-card-media,
  .project-card-media {
    aspect-ratio: 4 / 3;
  }

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

  .client-detail-logo {
    min-height: 280px;
  }

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

@media (prefers-reduced-transparency: reduce) {
  .nav-shell,
  .mobile-menu {
    background: #f2f2ec;
    backdrop-filter: none;
  }
}

/* Living portfolio previews */

.home-work-preview {
  position: relative;
  overflow: clip;
  border-top: 1px solid rgba(242, 242, 236, 0.12);
  background: #10120f;
  color: #f2f2ec;
}

.home-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 48px;
}

.home-work-heading .section-heading {
  margin-bottom: 0;
}

.home-work-heading .eyebrow {
  color: rgba(242, 242, 236, 0.56);
}

.home-work-intro {
  max-width: 520px;
  margin: 0 0 10px auto;
  color: rgba(242, 242, 236, 0.62);
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
}

.home-work-toolbar {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(44px, 6vw, 78px) 0 34px;
  padding: 10px;
  border: 1px solid rgba(242, 242, 236, 0.13);
  border-radius: 18px;
  background: rgba(16, 18, 15, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.home-work-filters {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  scrollbar-width: none;
}

.home-work-filters::-webkit-scrollbar {
  display: none;
}

.home-work-filter {
  flex: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(242, 242, 236, 0.68);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    background 350ms var(--ease),
    color 350ms var(--ease);
}

.home-work-filter span {
  margin-left: 5px;
  opacity: 0.48;
  font-size: 0.7rem;
}

.home-work-filter:hover,
.home-work-filter:focus-visible {
  color: #f2f2ec;
}

.home-work-filter.is-active {
  background: var(--accent);
  color: #151713;
}

.home-work-count {
  flex: none;
  margin: 0 12px;
  color: rgba(242, 242, 236, 0.52);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.home-project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(66px, 8vw, 118px) 26px;
}

.home-project-card,
.home-project-card:nth-child(4n + 1) {
  grid-column: span 6;
}

.home-project-card:nth-child(7n + 1) {
  grid-column: span 8;
}

.home-project-card:nth-child(7n + 2) {
  grid-column: span 4;
}

.home-project-card:nth-child(7n + 5) {
  grid-column: span 12;
}

.home-project-card[hidden] {
  display: none;
}

.home-project-card:nth-child(7n + 2) .project-card-media {
  aspect-ratio: 4 / 5;
}

.home-project-card:nth-child(7n + 5) .project-card-media {
  aspect-ratio: 16 / 7;
}

.home-project-card .project-card-body {
  color: #f2f2ec;
}

.home-project-card .project-card-meta,
.home-project-card .project-card-footer > span {
  color: rgba(242, 242, 236, 0.5);
}

.home-project-card p {
  color: rgba(242, 242, 236, 0.62);
}

.home-project-card h2 {
  font-size: clamp(1.6rem, 2.7vw, 3.15rem);
}

.project-card-media {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --preview-x-shift: 0px;
  --preview-y-shift: 0px;
  --preview-scroll-shift: 0px;
  position: relative;
  isolation: isolate;
}

.project-preview-stage {
  position: absolute;
  inset: -2%;
  display: block;
  overflow: hidden;
  transform:
    translate3d(
      var(--preview-x-shift),
      calc(var(--preview-y-shift) + var(--preview-scroll-shift)),
      0
    )
    scale(1.045);
  transition: transform 850ms var(--ease);
  will-change: transform;
}

.project-preview-stage > img,
.project-preview-stage > .case-preview,
.project-preview-stage > .project-card-placeholder,
.project-preview-video {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.project-preview-video {
  display: block;
  background: #20231d;
}

.project-preview-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.22),
      transparent 30%
    ),
    linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.1), transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 500ms var(--ease);
}

.project-preview-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.82);
  color: #f2f2ec;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 400ms var(--ease),
    transform 500ms var(--ease);
  backdrop-filter: blur(12px);
}

.project-card-media:is(:hover, :focus-visible, .is-preview-active) .project-preview-stage {
  transform:
    translate3d(
      var(--preview-x-shift),
      calc(var(--preview-y-shift) + var(--preview-scroll-shift)),
      0
    )
    scale(1.085);
}

.project-card-media:is(:hover, :focus-visible, .is-preview-active) .project-preview-sheen,
.project-card-media:is(:hover, :focus-visible, .is-preview-active) .project-preview-label {
  opacity: 1;
}

.project-card-media:is(:hover, :focus-visible, .is-preview-active) .project-preview-label {
  transform: translateY(0);
}

.home-work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(90px, 11vw, 150px);
  padding-top: 28px;
  border-top: 1px solid rgba(242, 242, 236, 0.15);
}

.home-work-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(242, 242, 236, 0.58);
}

.home-work-footer .button-outline {
  color: #f2f2ec;
  box-shadow: inset 0 0 0 1px rgba(242, 242, 236, 0.28);
}

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

  .home-work-intro {
    margin-left: 0;
  }

  .home-project-card,
  .home-project-card:nth-child(4n + 1),
  .home-project-card:nth-child(7n + 1),
  .home-project-card:nth-child(7n + 2),
  .home-project-card:nth-child(7n + 5) {
    grid-column: span 6;
  }

  .home-project-card:nth-child(7n + 2) .project-card-media,
  .home-project-card:nth-child(7n + 5) .project-card-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .home-work-toolbar {
    top: calc(var(--header-height) + 6px);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .home-work-count {
    margin: 4px 12px 2px;
  }

  .home-project-card,
  .home-project-card:nth-child(4n + 1),
  .home-project-card:nth-child(7n + 1),
  .home-project-card:nth-child(7n + 2),
  .home-project-card:nth-child(7n + 5) {
    grid-column: auto;
  }

  .home-project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 70px;
  }

  .home-work-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-preview-label {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-preview-stage {
    transform: none !important;
  }

  .project-preview-sheen {
    display: none;
  }
}

/* Selling service pages */

.service-page {
  --service-accent: var(--accent);
  --service-accent-rgb: 214, 242, 75;
}

.service-theme-blue {
  --service-accent: #65c9ff;
  --service-accent-rgb: 101, 201, 255;
}

.service-theme-orange {
  --service-accent: #ffad5c;
  --service-accent-rgb: 255, 173, 92;
}

.service-theme-pink {
  --service-accent: #ff83bc;
  --service-accent-rgb: 255, 131, 188;
}

.service-theme-violet {
  --service-accent: #b69cff;
  --service-accent-rgb: 182, 156, 255;
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(122px, 14vw, 190px) 0 0;
  background:
    radial-gradient(
      circle at 78% 28%,
      rgba(var(--service-accent-rgb), 0.16),
      transparent 32%
    ),
    #10120f;
  color: #f2f2ec;
}

.service-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(242, 242, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 236, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.service-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(50px, 7vw, 90px);
  color: rgba(242, 242, 236, 0.45);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-breadcrumbs a {
  color: rgba(242, 242, 236, 0.72);
}

.service-breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.68fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  padding-bottom: clamp(76px, 10vw, 130px);
}

.service-hero-copy .eyebrow {
  color: rgba(242, 242, 236, 0.55);
}

.service-hero-copy {
  min-width: 0;
}

.service-hero h1 {
  max-width: 940px;
  margin-bottom: 34px;
  font-size: clamp(3.5rem, 7vw, 7.3rem);
  font-weight: 650;
  letter-spacing: normal;
  line-height: 0.98;
}

.service-hero h1 em {
  display: block;
  color: var(--service-accent);
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
  letter-spacing: normal;
}

.service-hero-lead {
  max-width: 700px;
  color: rgba(242, 242, 236, 0.68);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.service-hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.service-primary-button {
  background: var(--service-accent);
  color: #151713;
}

.service-hero-actions .text-link {
  color: #f2f2ec;
}

.service-hero-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(242, 242, 236, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(var(--service-accent-rgb), 0.18),
      transparent 54%
    );
}

.service-orbit {
  position: absolute;
  border: 1px solid rgba(242, 242, 236, 0.15);
  border-radius: 50%;
}

.service-orbit::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--service-accent);
  box-shadow: 0 0 22px rgba(var(--service-accent-rgb), 0.9);
  content: "";
}

.service-orbit-one {
  inset: 8%;
  animation: service-orbit-spin 16s linear infinite;
}

.service-orbit-two {
  inset: 20%;
  animation: service-orbit-spin 12s linear infinite reverse;
}

.service-orbit-three {
  inset: 33%;
  animation: service-orbit-spin 9s linear infinite;
}

.service-visual-core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--service-accent);
  color: #151713;
  text-align: center;
  box-shadow: 0 0 70px rgba(var(--service-accent-rgb), 0.24);
}

.service-visual-core span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-visual-core strong {
  display: none;
}

.service-visual-note {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(242, 242, 236, 0.14);
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.72);
  color: rgba(242, 242, 236, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.service-visual-note-top {
  top: 8%;
  left: 14%;
}

.service-visual-note-right {
  top: 44%;
  right: -3%;
}

.service-visual-note-bottom {
  bottom: 10%;
  left: 18%;
}

.service-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 242, 236, 0.14);
}

.service-proof-grid div {
  display: grid;
  gap: 6px;
  padding: 28px clamp(16px, 3vw, 36px);
  border-right: 1px solid rgba(242, 242, 236, 0.14);
}

.service-proof-grid div:first-child {
  padding-left: 0;
}

.service-proof-grid div:last-child {
  border-right: 0;
}

.service-proof-grid strong {
  font-size: 0.9rem;
}

.service-proof-grid span {
  color: rgba(242, 242, 236, 0.48);
  font-size: 0.75rem;
}

.service-trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.service-trust-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 30px;
}

.service-trust-row > p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-trust-row > div {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 14px;
  scrollbar-width: none;
}

.service-trust-row > div::-webkit-scrollbar {
  display: none;
}

.service-trust a {
  display: grid;
  min-width: 140px;
  min-height: 62px;
  flex: none;
  place-items: center;
  padding: 12px 18px;
  border-left: 1px solid var(--line);
}

.service-trust img {
  max-width: 110px;
  max-height: 42px;
}

.service-trust span {
  font-size: 0.82rem;
  font-weight: 800;
}

.service-situations,
.service-deliverables,
.service-process,
.service-more {
  padding-block: clamp(92px, 12vw, 170px);
}

.service-section-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  margin-bottom: clamp(58px, 8vw, 100px);
}

.service-section-intro h2 {
  max-width: 1050px;
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  font-weight: 600;
}

.service-section-intro > p:last-child {
  grid-column: 2;
  max-width: 650px;
  margin-top: -58px;
  margin-left: auto;
  color: var(--ink-soft);
}

.service-situation-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.service-situation-list li {
  display: grid;
  grid-template-columns: minmax(58px, 0.16fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: clamp(28px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--line);
}

.service-situation-list span,
.service-deliverable > span,
.service-process-grid article > span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.service-situation-list p {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 3.1rem);
  font-weight: 550;
  letter-spacing: normal;
  line-height: 1.2;
}

.service-deliverables {
  background: var(--bg-soft);
}

.service-deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-deliverable {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.service-deliverable:nth-child(2),
.service-deliverable:nth-child(3) {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(var(--service-accent-rgb), 0.32),
      transparent 36%
    ),
    var(--surface);
}

.service-deliverable h3 {
  max-width: 680px;
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.15;
}

.service-cases {
  padding-block: clamp(100px, 12vw, 170px);
  background: #10120f;
  color: #f2f2ec;
}

.service-cases-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.service-cases-heading .eyebrow {
  color: rgba(242, 242, 236, 0.48);
}

.service-cases-heading h2 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  font-weight: 600;
}

.service-cases-heading > p {
  max-width: 520px;
  margin: 0;
  color: rgba(242, 242, 236, 0.58);
}

.service-project-grid {
  margin-bottom: clamp(76px, 9vw, 120px);
}

.service-cases-button {
  background: var(--service-accent, var(--accent));
  color: #151713;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.service-process-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.service-process-grid article:first-child {
  padding-left: 0;
}

.service-process-grid article:last-child {
  border-right: 0;
}

.service-process-grid h3 {
  margin-top: auto;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.service-process-grid p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

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

.service-more-grid a {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-more-grid a > span:first-child {
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.service-more-grid strong {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
}

.service-more-grid a > span:last-child {
  justify-self: end;
  font-size: 1.2rem;
  transition: transform 400ms var(--ease);
}

.service-more-grid a:hover > span:last-child {
  transform: translate(4px, -4px);
}

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

@media (max-width: 1000px) {
  .service-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.55fr);
    gap: 36px;
  }

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

  .service-process-grid article:nth-child(2) {
    border-right: 0;
  }

  .service-process-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .lead-dialog-shell {
    grid-template-columns: 1fr;
  }

  .lead-dialog-intro {
    min-height: auto;
    padding-bottom: 38px;
  }

  .lead-dialog-intro h2 {
    max-width: 600px;
    font-size: clamp(2.6rem, 9vw, 4.4rem);
  }

  .lead-dialog-direct {
    padding-top: 34px;
  }

  .service-hero-grid,
  .service-cases-heading {
    grid-template-columns: 1fr;
  }

  .service-hero-visual {
    width: min(82vw, 500px);
    margin: 10px auto 0;
    justify-self: center;
  }

  .service-section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-section-intro > p:last-child {
    grid-column: auto;
    margin: 0;
  }

  .service-proof-grid {
    grid-template-columns: 1fr;
  }

  .service-proof-grid div,
  .service-proof-grid div:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(242, 242, 236, 0.12);
  }

  .service-proof-grid div:last-child {
    border-bottom: 0;
  }

  .service-trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .lead-dialog-trigger {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  body:has(.cookie-banner:not([hidden])) .lead-dialog-trigger {
    bottom: 150px;
  }

  .lead-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .lead-dialog-shell {
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .lead-dialog-intro {
    padding: 30px 24px 28px;
  }

  .lead-dialog-intro h2 {
    margin: 16px 0;
    font-size: 2.65rem;
  }

  .lead-dialog-intro > p {
    font-size: 0.9rem;
  }

  .lead-dialog-direct {
    display: none;
  }

  .lead-dialog-form-panel {
    padding: 0;
  }

  .lead-dialog-form {
    padding: 52px 20px 24px;
  }

  .lead-dialog-close {
    top: 12px;
    right: 12px;
  }

  .service-hero {
    padding-top: 112px;
  }

  .service-breadcrumbs {
    margin-bottom: 42px;
  }

  .service-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 1.03;
  }

  .service-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .service-hero-visual {
    width: 88vw;
    max-width: 390px;
  }

  .service-visual-note-right {
    right: 0;
  }

  .service-deliverable-grid,
  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-deliverable {
    min-height: 260px;
  }

  .service-process-grid article,
  .service-process-grid article:first-child {
    min-height: 280px;
    padding: 26px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-process-grid article:first-child {
    border-top: 0;
  }

  .service-situation-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .service-cases-heading {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-dialog[open] {
    animation: none;
  }

  .service-orbit {
    animation: none !important;
  }
}
