@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Portfolio directory and category landing pages */

.works-hub-page .works-hero-copy,
.work-category-page .works-hero-copy {
  width: min(920px, 72vw);
}

.works-hub-page .works-hero-copy h1,
.work-category-page .works-hero-copy h1 {
  max-width: 10em;
}

.works-hub-page .works-hero-domain,
.work-category-page .works-hero-domain {
  max-width: 360px;
  text-align: right;
}

.work-category-bar {
  position: relative;
  z-index: 4;
  width: var(--shell);
  margin: -42px auto 0;
}

.work-category-nav {
  display: grid;
  grid-template-columns: 0.58fr repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(10, 18, 17, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(4, 17, 15, 0.16);
}

.work-category-nav a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 2.2vw, 30px);
  color: rgba(10, 18, 17, 0.58);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 180ms var(--ease-ui), color 180ms var(--ease-ui);
}

.work-category-nav a + a {
  border-left: 1px solid rgba(10, 18, 17, 0.1);
}

.work-category-nav a span:last-child {
  color: rgba(10, 18, 17, 0.34);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.work-category-nav a:hover,
.work-category-nav a.is-active,
.work-category-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.work-category-nav a:hover span:last-child,
.work-category-nav a.is-active span:last-child,
.work-category-nav a[aria-current="page"] span:last-child {
  color: rgba(255, 253, 247, 0.58);
}

.portfolio-index {
  padding-top: clamp(120px, 13vw, 188px);
  padding-bottom: clamp(112px, 12vw, 176px);
}

.portfolio-index-heading {
  display: grid;
  margin-bottom: clamp(58px, 8vw, 112px);
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 8vw, 130px);
}

.portfolio-index-heading .eyebrow {
  margin-top: 12px;
}

.portfolio-index-heading > div > p {
  max-width: 650px;
  margin-top: 30px;
  color: rgba(10, 18, 17, 0.6);
  font-size: 14px;
  line-height: 1.65;
}

.portfolio-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.portfolio-category-card {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-rows: auto minmax(230px, 1fr);
  overflow: hidden;
  border-radius: clamp(20px, 2.2vw, 32px);
  isolation: isolate;
  transition: transform 260ms var(--ease-out);
}

.portfolio-category-card:first-child {
  min-height: 580px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: 1fr;
}

.portfolio-category-card:hover {
  transform: translateY(-4px);
}

.category-card-sites {
  background: var(--blue);
  color: var(--white);
}

.category-card-presentations {
  background: #102e55;
  color: var(--white);
}

.category-card-automation {
  background: var(--green);
  color: var(--ink);
}

.portfolio-category-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 4vw, 58px);
}

.portfolio-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: currentColor;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.62;
}

.portfolio-category-copy h2 {
  max-width: 8.5em;
  margin-top: auto;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.portfolio-category-card:not(:first-child) .portfolio-category-copy h2 {
  font-size: clamp(40px, 4.8vw, 68px);
}

.portfolio-category-copy > p:not(.portfolio-category-meta) {
  max-width: 560px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.62;
  opacity: 0.68;
}

.portfolio-category-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
}

.portfolio-category-visual {
  position: relative;
  min-width: 0;
  min-height: 270px;
  overflow: hidden;
}

.category-card-sites .portfolio-category-visual,
.category-card-presentations .portfolio-category-visual {
  background: rgba(4, 17, 15, 0.18);
}

.category-preview {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 28px 68px rgba(0, 20, 40, 0.26);
}

.category-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.category-card-sites .category-preview:first-child {
  top: 10%;
  right: 12%;
  width: 68%;
  aspect-ratio: 8 / 5;
}

.category-card-sites .category-preview:last-child {
  right: -4%;
  bottom: 7%;
  width: 52%;
  aspect-ratio: 8 / 5;
}

.category-card-presentations .category-preview:first-child {
  top: 12%;
  left: 6%;
  width: 82%;
  aspect-ratio: 16 / 9;
  transform: rotate(-1.2deg);
}

.category-card-presentations .category-preview:last-child {
  right: -8%;
  bottom: 8%;
  width: 72%;
  aspect-ratio: 16 / 9;
  transform: rotate(1deg);
}

.automation-flow {
  position: absolute;
  inset: 12% 8% 10%;
  display: grid;
  align-content: center;
  gap: 10px;
}

.automation-flow span {
  display: grid;
  min-height: 70px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid rgba(10, 18, 17, 0.18);
  border-radius: 13px;
  background: rgba(255, 253, 247, 0.36);
  font-size: 12px;
}

.automation-flow i {
  color: rgba(10, 18, 17, 0.42);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.automation-flow b {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.52;
}

.portfolio-index-note {
  display: grid;
  margin-top: clamp(68px, 8vw, 116px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.portfolio-index-note h2 {
  max-width: 880px;
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.portfolio-index-note p {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(10, 18, 17, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.work-category-page .works-list,
.work-category-page .presentation-work,
.work-category-page .closed-work {
  padding-top: clamp(126px, 13vw, 196px);
}

.work-category-page .works-bridge {
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .works-hub-page .works-hero-copy,
  .work-category-page .works-hero-copy {
    width: 100%;
  }

  .works-hub-page .works-hero-copy h1,
  .work-category-page .works-hero-copy h1 {
    font-size: clamp(48px, 13.8vw, 68px);
  }

  .work-category-bar {
    width: calc(100% - 32px);
    margin-top: -30px;
  }

  .work-category-nav {
    display: flex;
    overflow-x: auto;
    border-radius: 14px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .work-category-nav::-webkit-scrollbar {
    display: none;
  }

  .work-category-nav a {
    min-width: max-content;
    min-height: 60px;
    flex: 1 0 auto;
    padding: 12px 18px;
    scroll-snap-align: start;
  }

  .portfolio-index-heading {
    display: block;
  }

  .portfolio-index-heading .eyebrow {
    margin: 0 0 30px;
  }

  .portfolio-directory {
    grid-template-columns: 1fr;
  }

  .portfolio-category-card,
  .portfolio-category-card:first-child {
    min-height: 620px;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(260px, 1fr);
  }

  .portfolio-category-card:not(:first-child) .portfolio-category-copy h2,
  .portfolio-category-copy h2 {
    margin-top: 76px;
    font-size: clamp(44px, 13vw, 62px);
  }

  .portfolio-index-note {
    display: block;
  }

  .portfolio-index-note .button {
    margin-top: 34px;
  }
}

@media (max-width: 560px) {
  .portfolio-index {
    padding-top: 104px;
    padding-bottom: 106px;
  }

  .portfolio-category-card,
  .portfolio-category-card:first-child {
    min-height: 570px;
    border-radius: 20px;
  }

  .portfolio-category-copy {
    padding: 24px 20px 28px;
  }

  .portfolio-category-copy > p:not(.portfolio-category-meta) {
    font-size: 12px;
  }

  .portfolio-category-visual {
    min-height: 250px;
  }

  .category-card-sites .category-preview:first-child {
    right: 8%;
    width: 82%;
  }

  .category-card-sites .category-preview:last-child {
    width: 66%;
  }

  .automation-flow {
    inset: 8% 5%;
  }

  .automation-flow span {
    min-height: 62px;
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
    padding: 0 14px;
  }
}

@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  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;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  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;
}

@font-face {
  font-family: "Local UI";
  src: local("Helvetica Neue"), local("Arial");
  size-adjust: 98%;
}

:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --paper-deep: #e7e2d5;
  --ink: #0a1211;
  --ink-soft: #26302d;
  --blue: #0854d8;
  --blue-bright: #1262f1;
  --green: #77ee73;
  --green-acid: #a1ff88;
  --coral: #ff5b3d;
  --white: #fffdf7;
  --line: rgba(10, 18, 17, 0.2);
  --line-light: rgba(255, 253, 247, 0.22);
  --shadow: 0 28px 80px rgba(2, 12, 10, 0.18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-frame: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --shell: min(1440px, calc(100vw - 40px));
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

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

html {
  overflow-x: clip;
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", "Local UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.nowrap {
  white-space: nowrap;
}

p,
h1,
h2,
h3,
dl,
dd,
figure,
ol,
ul {
  margin: 0;
}

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

::selection {
  background: var(--green-acid);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: transform 180ms var(--ease-ui);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: var(--header-h);
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px max(20px, calc((100vw - 1440px) / 2 + 20px));
  color: var(--white);
  transition:
    background-color 300ms var(--ease-ui),
    box-shadow 300ms var(--ease-ui);
}

.site-header.is-scrolled {
  background: rgba(6, 15, 14, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wordmark {
  width: fit-content;
  color: inherit;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
}

a.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 0;
  opacity: 0.9;
  transition:
    opacity 200ms var(--ease-ui),
    transform 200ms var(--ease-ui);
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 300ms var(--ease-out);
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  min-width: 94px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px !important;
  border-radius: 8px;
  background: var(--coral);
  color: var(--ink);
  text-align: center;
}

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

.nav-contact:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
}

.menu-toggle i {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease-ui);
}

.menu-toggle i::after {
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 220ms var(--ease-ui), top 220ms var(--ease-ui);
}

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

.menu-toggle[aria-expanded="true"] i::after {
  top: 0;
  transform: rotate(90deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100dvh);
  overflow: hidden;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  will-change: auto;
}

.hero-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 34, 111, 0.23) 0%, rgba(2, 14, 15, 0.03) 55%, rgba(2, 14, 15, 0.2) 100%),
    radial-gradient(circle at 31% 44%, rgba(0, 25, 100, 0.12), rgba(0, 0, 0, 0) 48%);
}

.hero::after,
.final-cta::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
  opacity: 0.14;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(670px, calc(100vw - 40px));
  margin-top: 2vh;
  margin-right: min(34vw, 500px);
}

.hero-kicker {
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.hero h1 {
  max-width: 12.5em;
  font-size: clamp(38px, 4.3vw, 68px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-note {
  max-width: 430px;
  margin-top: 28px;
  color: rgba(255, 253, 247, 0.8);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.55;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 19px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 200ms var(--ease-ui),
    box-shadow 300ms var(--ease-out),
    background-color 200ms var(--ease-ui);
}

.button span {
  transition: transform 250ms var(--ease-out);
}

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

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

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

.button-coral {
  background: var(--coral);
  box-shadow: 0 14px 35px rgba(107, 18, 2, 0.26);
  color: var(--ink);
}

.button-coral:hover {
  box-shadow: 0 18px 42px rgba(107, 18, 2, 0.34);
}

.button-ink {
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(10, 18, 17, 0.2);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 500;
  transition: gap 280ms var(--ease-out), opacity 200ms var(--ease-ui);
}

.text-link:hover {
  gap: 18px;
  opacity: 0.72;
}

.text-link-light {
  color: var(--white);
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1440px) / 2 + 20px));
  bottom: 22px;
  left: max(20px, calc((100vw - 1440px) / 2 + 20px));
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.7);
  font-size: 11px;
  letter-spacing: 0.015em;
}

.section {
  position: relative;
  padding: clamp(110px, 12vw, 190px) 0;
}

.section-shell,
.site-footer {
  width: var(--shell);
  margin: 0 auto;
}

.section-paper {
  background: var(--paper);
}

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-green {
  background: var(--green);
  color: var(--ink);
}

.eyebrow {
  margin-bottom: clamp(34px, 5vw, 74px);
  color: rgba(10, 18, 17, 0.58);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 253, 247, 0.58);
}

.display-title {
  max-width: 1060px;
  font-size: clamp(42px, 6.2vw, 94px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.display-title-light,
.section-title-light {
  color: var(--white);
}

.section-title {
  max-width: 880px;
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(64px, 9vw, 132px);
  gap: 30px;
}

.section-heading > .eyebrow {
  margin-bottom: 0;
}

.principle {
  overflow: clip;
}

.principle::after {
  position: absolute;
  right: -13vw;
  bottom: -24vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  content: "";
  background: var(--green);
  opacity: 0.72;
}

.principle-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(60px, 9vw, 150px);
}

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

.principle-list li {
  display: grid;
  min-height: 74px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.principle-list span {
  color: rgba(10, 18, 17, 0.46);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.service-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.7fr);
  gap: clamp(56px, 7vw, 110px);
}

.service-index {
  position: sticky;
  top: max(100px, 14vh);
  align-self: start;
}

.service-index .eyebrow {
  margin-bottom: 32px;
}

.service-index .section-title {
  font-size: clamp(38px, 4.3vw, 66px);
}

.service-nav {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid var(--line-light);
}

.service-nav-item {
  display: grid;
  min-height: 76px;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  padding: 0 2px;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: rgba(255, 253, 247, 0.56);
  cursor: pointer;
  text-align: left;
  transition:
    color 300ms var(--ease-ui),
    padding 300ms var(--ease-out);
}

.service-nav-item span,
.service-nav-item small {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.service-nav-item strong {
  font-size: 13px;
  font-weight: 500;
}

.service-nav-item.is-active,
.service-nav-item:hover {
  padding-left: 10px;
  color: var(--white);
}

.service-nav-item.is-active span {
  color: var(--coral);
}

.service-all-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.48);
  color: rgba(255, 253, 247, 0.82);
  font-size: 12px;
  transition:
    gap 280ms var(--ease-out),
    color 200ms var(--ease-ui);
}

.service-all-link:hover {
  gap: 18px;
  color: var(--white);
}

.service-scenes {
  display: grid;
  gap: 24px;
}

.service-scene {
  display: grid;
  min-height: min(78vh, 800px);
  align-content: space-between;
  padding: clamp(26px, 4vw, 56px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111d1b;
}

.service-scene:nth-child(2) {
  background: #0c47bc;
}

.service-scene:nth-child(3) {
  background: #234f34;
}

.service-copy {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 640px;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;
}

.service-number {
  padding-top: 9px;
  color: var(--coral);
  font-size: 11px;
}

.service-copy h3 {
  max-width: 13em;
  font-size: clamp(30px, 3.5vw, 55px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.service-copy p,
.service-copy .text-link {
  grid-column: 2;
}

.service-copy p {
  max-width: 530px;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.service-copy .text-link {
  margin-top: 18px;
}

.scene-visual {
  position: relative;
  width: min(100%, 760px);
  min-height: 330px;
  margin-top: clamp(48px, 8vw, 110px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  transform-origin: center bottom;
}

.visual-login {
  background: #f3f0e7;
  color: var(--ink);
}

.visual-bar {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.12);
  background: #e5e1d8;
}

.visual-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.visual-bar span:nth-child(2) {
  background: #e9b95f;
}

.visual-bar span:nth-child(3) {
  background: #80c992;
}

.visual-bar b {
  margin-left: 14px;
  color: rgba(10, 18, 17, 0.6);
  font-size: 10px;
  font-weight: 500;
}

.login-state {
  width: min(360px, calc(100% - 40px));
  margin: 42px auto 32px;
}

.visual-label {
  color: var(--coral);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-state > strong {
  display: block;
  margin: 5px 0 20px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.login-field {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(10, 18, 17, 0.15);
  border-radius: 8px;
}

.login-field span {
  color: rgba(10, 18, 17, 0.48);
  font-size: 9px;
}

.login-field b {
  font-size: 12px;
  font-weight: 500;
}

.visual-action {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  text-align: center;
}

.visual-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(10, 18, 17, 0.12);
}

.visual-status span {
  padding: 12px;
  border-right: 1px solid rgba(10, 18, 17, 0.12);
  color: rgba(10, 18, 17, 0.5);
  font-size: 9px;
  text-align: center;
}

.visual-status span:last-child {
  border: 0;
}

.visual-flow {
  display: grid;
  padding: clamp(22px, 4vw, 48px);
  background: #061d53;
  color: var(--white);
  gap: 20px;
}

.flow-head {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.55);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-head b {
  color: var(--green-acid);
  font-weight: 500;
}

.flow-card {
  display: grid;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  gap: 7px;
}

.flow-card small {
  color: rgba(255, 253, 247, 0.5);
  font-size: 9px;
}

.flow-card strong {
  font-size: 17px;
  font-weight: 500;
}

.flow-card span {
  color: rgba(255, 253, 247, 0.68);
  font-size: 11px;
}

.flow-line {
  position: relative;
  width: 2px;
  height: 40px;
  margin: -10px 0 -10px 38px;
  background: rgba(255, 255, 255, 0.18);
}

.flow-line i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 91, 61, 0.18);
}

.flow-card .status-good {
  color: var(--green-acid);
}

.visual-sheet {
  background: #eff0e7;
  color: var(--ink);
}

.sheet-toolbar {
  display: grid;
  min-height: 54px;
  grid-template-columns: 90px 45px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(10, 18, 17, 0.13);
  background: #dde0d7;
  font-size: 10px;
}

.sheet-toolbar > * {
  padding: 0 14px;
}

.sheet-toolbar strong {
  border-right: 1px solid rgba(10, 18, 17, 0.13);
  border-left: 1px solid rgba(10, 18, 17, 0.13);
  font-weight: 600;
}

.sheet-toolbar b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 42px 1.15fr repeat(3, 1fr);
  align-content: stretch;
  min-height: 276px;
}

.sheet-grid > * {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-right: 1px solid rgba(10, 18, 17, 0.1);
  border-bottom: 1px solid rgba(10, 18, 17, 0.1);
  overflow: hidden;
  font-size: 10px;
  font-weight: 400;
}

.sheet-grid b,
.sheet-grid strong {
  background: rgba(10, 18, 17, 0.035);
  color: rgba(10, 18, 17, 0.62);
  font-weight: 500;
}

.sheet-grid .sheet-total {
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
}

.service-shell {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.38fr);
  align-items: start;
}

.service-index {
  position: relative;
  top: auto;
}

.service-nav-item {
  min-height: 82px;
}

.service-nav-item:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.service-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 91, 61, 0.13), transparent 30%),
    #111d1b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.service-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.service-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.92) brightness(0.72);
  transform: scale(1.025);
}

.service-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 15, 14, 0.68) 0%, rgba(5, 15, 14, 0.74) 48%, rgba(5, 15, 14, 0.93) 100%),
    linear-gradient(90deg, rgba(5, 15, 14, 0.7) 0%, rgba(5, 15, 14, 0.18) 82%);
}

.service-panel {
  position: relative;
  z-index: 2;
  min-height: clamp(500px, 48vw, 650px);
  padding: clamp(28px, 4vw, 58px);
  color: var(--white);
}

.js .service-panel:not(.is-active),
.service-panel[hidden] {
  display: none;
}

.service-panel.is-active {
  display: flex;
  flex-direction: column;
  animation: service-panel-in 340ms var(--ease-out) both;
}

.service-panel-head,
.service-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-panel-head {
  color: rgba(255, 253, 247, 0.48);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-panel-head > span {
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.service-panel-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: clamp(86px, 10vw, 148px);
}

.service-panel-body h3 {
  max-width: 9.6em;
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.service-panel-body > p {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.service-path {
  display: grid;
  margin-top: clamp(58px, 8vw, 96px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-path li {
  position: relative;
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.service-path li::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 253, 247, 0.18);
  content: "";
}

.service-path li:first-child::before {
  background: var(--coral);
}

.service-path span {
  color: rgba(255, 253, 247, 0.4);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.service-path strong {
  font-size: 12px;
  font-weight: 500;
}

.service-panel-foot {
  margin-top: auto;
  padding-top: 42px;
}

.service-panel-foot > span {
  color: rgba(255, 253, 247, 0.42);
  font-size: 10px;
}

@keyframes service-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.cases {
  overflow: clip;
}

.case-stack {
  display: grid;
  gap: clamp(26px, 3vw, 44px);
}

.case-card {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.45fr);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(0, 22, 77, 0.15);
  scroll-margin-top: 18px;
}

.case-card-paper {
  background: var(--paper);
  color: var(--ink);
}

.case-card-ink {
  background: var(--ink);
  color: var(--white);
}

.case-card-green {
  background: var(--green);
  color: var(--ink);
}

.case-card-coral {
  background: var(--coral);
  color: var(--ink);
}

.case-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(32px, 4vw, 58px);
}

.case-meta {
  margin-bottom: clamp(42px, 4.5vw, 68px);
  color: currentColor;
  font-family: "Cabinet Grotesk", "Onest", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.56;
  text-transform: uppercase;
}

.case-copy h3 {
  max-width: 100%;
  margin-top: 0;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.case-copy > p:not(.case-meta) {
  max-width: 470px;
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.68;
}

.case-copy > .text-link {
  margin-top: auto;
  padding-top: 32px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.work-tags li {
  padding: 7px 9px;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.01em;
  opacity: 0.55;
}

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

.case-stats div {
  padding: 18px 12px 0 0;
}

.case-stats dt {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.case-stats dd {
  margin-top: 5px;
  color: rgba(10, 18, 17, 0.58);
  font-size: 10px;
  line-height: 1.4;
}

.case-media {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: clamp(14px, 1.5vw, 24px);
  overflow: hidden;
  background: #d8d9d5;
  place-items: center;
}

.case-media picture {
  display: block;
  width: 100%;
  height: auto;
}

.case-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(10, 18, 17, 0.14);
  object-fit: contain;
  object-position: top center;
  filter: saturate(0.96) contrast(1.01);
  transform: none;
  transition: filter 500ms var(--ease-out);
  will-change: auto;
}

.case-media-align-left img {
  object-position: top center;
}

.case-card:hover .case-media img {
  filter: saturate(1) contrast(1);
}

.case-card-ink .case-media {
  background: #1a2321;
}

.case-card-green .case-media {
  background: #a1f59d;
}

.case-card-coral .case-media {
  background: #ff826b;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: clamp(70px, 10vw, 160px);
}

.process-intro {
  position: sticky;
  top: max(100px, 14vh);
}

.process-title {
  max-width: 760px;
}

.process-list {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  padding: 14px 0;
}

.process-list::before {
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 27px;
  width: 1px;
  background: linear-gradient(var(--coral), rgba(10, 18, 17, 0.12) 82%);
  content: "";
}

.process-list li,
.process-list li + li {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 3vw, 34px);
  padding: 0;
  border: 0;
}

.process-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(10, 18, 17, 0.14);
  border-radius: 50%;
  background: var(--paper);
  color: rgba(10, 18, 17, 0.55);
  font-size: 10px;
  place-items: center;
  transition:
    color 260ms var(--ease-ui),
    border-color 260ms var(--ease-ui),
    background-color 260ms var(--ease-ui);
}

.process-list li:first-child .process-marker {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.process-list li:hover .process-marker {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.process-list h3 {
  max-width: 15em;
  margin-top: 2px;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.process-list p {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(10, 18, 17, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.process-list.is-motion-ready li {
  opacity: 0;
  transform: translateY(8px);
}

.process-list.is-motion-ready.is-in-view li {
  animation: process-step-in 520ms var(--ease-out) forwards;
}

.process-list.is-motion-ready.is-in-view li:nth-child(2) {
  animation-delay: 70ms;
}

.process-list.is-motion-ready.is-in-view li:nth-child(3) {
  animation-delay: 140ms;
}

.process-list.is-motion-ready.is-in-view li:nth-child(4) {
  animation-delay: 210ms;
}

@keyframes process-step-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prices {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.prices-heading {
  display: grid;
  margin-bottom: clamp(50px, 6vw, 84px);
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1.52fr);
  align-items: start;
  gap: clamp(36px, 7vw, 112px);
}

.prices-heading .eyebrow {
  margin-top: 11px;
}

.prices-heading .section-title {
  max-width: 960px;
}

.prices-intro {
  display: grid;
  gap: 20px;
}

.prices-note {
  max-width: 580px;
  color: rgba(10, 18, 17, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

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

.price-item {
  display: grid;
  grid-template-columns:
    minmax(165px, 1.05fr)
    minmax(105px, 0.58fr)
    minmax(280px, 1.75fr)
    minmax(145px, 0.85fr);
  align-items: start;
  gap: clamp(18px, 2.5vw, 42px);
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
  transition: padding 300ms var(--ease-out), background-color 300ms var(--ease-ui);
}

.price-item:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(119, 238, 115, 0.1);
}

.price-item h3 {
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.price-from,
.price-range strong {
  font-family: "Cabinet Grotesk", "Onest", sans-serif;
  font-variant-numeric: tabular-nums;
}

.price-from {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.price-scope {
  display: grid;
  max-width: 540px;
  gap: 9px;
}

.price-scope p {
  font-size: 14px;
  line-height: 1.5;
}

.price-scope small {
  color: rgba(10, 18, 17, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

.price-range {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: right;
}

.price-range span {
  color: rgba(10, 18, 17, 0.5);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-range strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.price-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 36px;
}

.price-terms {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: rgba(10, 18, 17, 0.62);
  font-size: 11px;
  line-height: 1.55;
}

.price-terms li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-terms li::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.prices .button-ink {
  flex: 0 0 auto;
  box-shadow: none;
  white-space: nowrap;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(60px, 10vw, 160px);
}

.about-portrait {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: start;
  overflow: hidden;
  border-radius: 20px;
  background: var(--blue);
  box-shadow: 0 22px 56px rgba(8, 55, 45, 0.18);
}

.about-portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(8, 84, 216, 0.18), transparent 55%);
  mix-blend-mode: multiply;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.04);
}

.about-copy .eyebrow {
  margin-bottom: 34px;
}

.about-copy .display-title {
  max-width: 760px;
}

.about-lead {
  max-width: 580px;
  margin-top: 32px;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.about-rules {
  max-width: 680px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.about-rules li {
  display: grid;
  min-height: 66px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.about-rules span {
  color: rgba(10, 18, 17, 0.45);
  font-size: 9px;
}

.about-copy > .text-link {
  margin-top: 32px;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: max(680px, 94dvh);
  overflow: hidden;
  padding: clamp(100px, 13vw, 180px) 20px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  isolation: isolate;
}

.final-media,
.final-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: none;
}

.final-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 19, 54, 0.7), rgba(0, 19, 54, 0.2) 60%, rgba(0, 0, 0, 0.05)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent 68%);
}

.final-copy {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin-right: min(22vw, 320px);
}

.final-copy .eyebrow {
  margin-bottom: 34px;
}

.final-copy .display-title {
  max-width: 900px;
}

.final-note {
  max-width: 600px;
  margin-top: 30px;
  color: rgba(255, 253, 247, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.text-button {
  min-height: 44px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.72);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
}

.copy-status {
  min-height: 22px;
  margin-top: 16px;
  color: var(--green-acid);
  font-size: 11px;
}

.site-footer {
  display: flex;
  min-height: 250px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding: 60px 0 46px;
  background: var(--ink);
  color: var(--white);
}

.wordmark-footer {
  display: block;
  margin-bottom: 18px;
  font-size: 48px;
}

.site-footer p {
  color: rgba(255, 253, 247, 0.48);
  font-size: 10px;
}

.site-footer nav {
  display: flex;
  gap: 30px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 11px;
}

.site-footer a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  transition: color 200ms var(--ease-ui);
}

.site-footer a:hover {
  color: var(--white);
}

.works-hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100dvh);
  overflow: hidden;
  padding: 120px max(20px, calc((100vw - 1440px) / 2 + 20px)) 60px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.works-hero-media,
.works-hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.works-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: none;
  will-change: auto;
}

.works-hero-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 13, 14, 0.66) 0%, rgba(2, 13, 14, 0.34) 44%, rgba(2, 13, 14, 0.06) 78%),
    linear-gradient(0deg, rgba(2, 13, 14, 0.38), transparent 62%);
}

.works-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
  opacity: 0.14;
}

.works-hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 66vw);
}

.works-hero-copy h1 {
  max-width: 11em;
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.works-hero-copy > p:not(.hero-kicker) {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.works-hero-domain {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1440px) / 2 + 20px));
  bottom: 22px;
  color: rgba(255, 253, 247, 0.55);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.project-reel {
  display: grid;
  height: auto;
  padding: 10px;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
  background: var(--ink);
}

.project-reel-item {
  position: relative;
  min-width: 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: #12201e;
  color: var(--white);
  isolation: isolate;
}

.project-reel-item::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 12, 11, 0.78));
  content: "";
  pointer-events: none;
}

.project-reel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  filter: saturate(0.66) contrast(1.04) brightness(0.78);
  transform: none;
  transition: filter 650ms var(--ease-out);
}

.project-reel-item-align-left img {
  object-position: top center;
}

.project-reel-item:is(:hover, :focus-visible) img {
  filter: saturate(0.96) contrast(1) brightness(0.94);
}

.project-reel-item span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.project-reel-item strong {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-reel-item small {
  color: rgba(255, 253, 247, 0.66);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.case-stack-works .case-card {
  min-height: 620px;
}

.bridge-layout {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1.4fr);
  gap: clamp(34px, 6vw, 100px);
}

.bridge-layout .eyebrow {
  margin: 12px 0 0;
}

.bridge-actions {
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}

.not-found {
  position: relative;
  display: grid;
  min-height: 100dvh;
  overflow: hidden;
  padding: 28px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  isolation: isolate;
}

.not-found > picture,
.not-found-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.not-found > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found-wash {
  z-index: -1;
  background: rgba(1, 17, 30, 0.62);
}

.not-found-copy {
  width: min(720px, 100%);
}

.not-found-copy > .wordmark {
  display: block;
  margin-bottom: clamp(70px, 14vh, 150px);
}

.not-found-copy > p:first-of-type {
  margin-bottom: 18px;
  color: rgba(255, 253, 247, 0.58);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.not-found-copy h1 {
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.not-found-copy > p:last-of-type {
  max-width: 470px;
  margin-top: 25px;
  color: rgba(255, 253, 247, 0.7);
  font-size: 14px;
}

.not-found-copy > div {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.about-proof {
  display: grid;
  max-width: 680px;
  margin-top: 42px;
  grid-template-columns: minmax(130px, 0.7fr) minmax(160px, 0.9fr) minmax(150px, auto);
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    padding 300ms var(--ease-out),
    background-color 300ms var(--ease-ui);
}

.about-proof:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(255, 253, 247, 0.15);
}

.about-proof > span:not(.about-proof-link) {
  display: grid;
  gap: 3px;
}

.about-proof strong {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.about-proof small {
  color: rgba(10, 18, 17, 0.58);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-proof-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
}

.about-proof-link i {
  font-style: normal;
  transition: transform 250ms var(--ease-out);
}

.about-proof:hover .about-proof-link i {
  transform: translateX(5px);
}

.reviews-hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100dvh);
  overflow: hidden;
  padding: 130px max(20px, calc((100vw - 1440px) / 2 + 20px)) 210px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.reviews-hero-media,
.reviews-hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.reviews-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: none;
  transform: none;
}

.reviews-hero-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 14, 14, 0.98) 0%, rgba(4, 14, 14, 0.86) 39%, rgba(4, 14, 14, 0.3) 70%, rgba(4, 14, 14, 0.12) 100%),
    linear-gradient(0deg, rgba(4, 14, 14, 0.54), transparent 50%);
}

.reviews-hero-copy {
  width: min(760px, 58vw);
}

.reviews-hero-copy .hero-kicker {
  margin-bottom: 28px;
}

.reviews-hero-copy h1 {
  max-width: 9.8em;
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.reviews-hero-copy > p:not(.hero-kicker) {
  max-width: 570px;
  margin-top: 28px;
  color: rgba(255, 253, 247, 0.74);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.55;
}

.reviews-scoreboard {
  position: absolute;
  right: max(20px, calc((100vw - 1440px) / 2 + 20px));
  bottom: 34px;
  left: max(20px, calc((100vw - 1440px) / 2 + 20px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}

.reviews-scoreboard > div {
  display: grid;
  min-height: 112px;
  align-content: end;
  gap: 8px;
  padding: 22px clamp(14px, 2vw, 30px) 6px 0;
}

.reviews-scoreboard > div + div {
  padding-left: clamp(14px, 2vw, 30px);
  border-left: 1px solid var(--line-light);
}

.reviews-scoreboard dt {
  color: rgba(255, 253, 247, 0.54);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-scoreboard dd {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.reviews-scoreboard .scoreboard-status {
  max-width: 8em;
  color: var(--green-acid);
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 0.95;
}

.reviews-intro-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.42fr);
  gap: clamp(46px, 8vw, 130px);
}

.reviews-intro-layout > .eyebrow {
  margin: 12px 0 0;
}

.reviews-intro-note {
  max-width: 660px;
  margin-top: 42px;
  color: rgba(10, 18, 17, 0.65);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.reviews-feed {
  padding-top: clamp(100px, 10vw, 160px);
}

.reviews-feed-heading {
  display: grid;
  margin-bottom: clamp(64px, 8vw, 116px);
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
}

.reviews-feed-heading .eyebrow {
  margin-bottom: 28px;
}

.reviews-feed-note {
  max-width: 370px;
  justify-self: end;
  color: rgba(255, 253, 247, 0.55);
  font-size: 12px;
  line-height: 1.65;
}

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

.review-item {
  display: grid;
  min-height: 290px;
  grid-template-columns: 68px minmax(0, 1fr) minmax(190px, 0.35fr);
  align-items: start;
  gap: clamp(26px, 5vw, 80px);
  padding: clamp(42px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--line-light);
}

.review-number {
  padding-top: 9px;
  color: rgba(255, 253, 247, 0.38);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.review-item blockquote {
  max-width: 850px;
}

.review-item:nth-child(even) blockquote {
  margin-left: clamp(0px, 5vw, 80px);
}

.review-item blockquote p {
  font-size: clamp(30px, 3.15vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: pretty;
}

.review-item footer {
  display: grid;
  align-self: end;
  gap: 5px;
  padding-bottom: 4px;
}

.review-item footer strong {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
}

.review-item footer > span:not(.review-stars),
.review-item footer time {
  color: rgba(255, 253, 247, 0.52);
  font-size: 10px;
  line-height: 1.45;
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-stars i {
  width: 11px;
  height: 11px;
  background: var(--coral);
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.reviews-source-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.42fr);
  gap: clamp(46px, 8vw, 130px);
}

.reviews-source-layout > .eyebrow {
  margin: 12px 0 0;
}

.reviews-source-copy {
  max-width: 670px;
  margin-top: 34px;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.reviews-source-layout .button {
  margin-top: 38px;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 32px, 960px);
  }

  .hero-copy {
    margin-right: 23vw;
  }

  .final-copy {
    width: min(900px, calc(100vw - 48px));
    margin-right: 0;
  }

  .service-shell {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.5fr);
    gap: 42px;
  }

  .case-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-copy {
    min-height: 0;
  }

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

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 8px 16px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
  }

  .wordmark {
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    display: flex;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 76px 34px 34px;
    background: var(--ink);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.32);
    transform: translateX(105%);
    visibility: hidden;
    transition:
      transform 500ms var(--ease-frame),
      visibility 0s linear 500ms;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 20px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-contact {
    width: 100%;
    margin-top: 16px;
    padding: 14px 18px !important;
    border: 0;
    font-size: 14px;
  }

  .hero {
    min-height: max(680px, 100svh);
  }

  .hero-copy {
    width: min(680px, calc(100vw - 32px));
    margin-right: 8vw;
  }

  .hero h1 {
    font-size: clamp(38px, 7.6vw, 60px);
  }

  .principle-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .principle-list {
    max-width: 520px;
  }

  .service-shell {
    display: block;
  }

  .service-index {
    position: relative;
    top: auto;
    margin-bottom: 48px;
  }

  .service-nav {
    display: none;
  }

  .service-scene {
    min-height: 700px;
  }

  .case-card {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-stack-works .case-card {
    min-height: auto;
  }

  .case-copy {
    min-height: 0;
  }

  .case-meta {
    margin-bottom: 42px;
  }

  .case-copy h3 {
    margin-top: 0;
  }

  .case-media {
    min-height: 0;
  }

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

  .process-list li {
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .prices-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .prices-heading .eyebrow {
    margin-top: 0;
  }

  .price-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 22px;
    padding: 26px 0 28px;
  }

  .price-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .price-scope,
  .price-range {
    grid-column: 1 / -1;
  }

  .price-range {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
  }

  .about-portrait {
    width: min(360px, 100%);
  }

  .final-copy {
    width: 100%;
    margin-right: 0;
  }

  .works-hero-copy {
    width: min(760px, calc(100vw - 32px));
  }

  .project-reel {
    height: auto;
    padding: 10px 16px 14px;
    overflow-x: auto;
    grid-template-columns: none !important;
    grid-auto-flow: column dense;
    grid-auto-columns: minmax(270px, 78vw);
    gap: 4px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project-reel::-webkit-scrollbar {
    display: none;
  }

  .project-reel-item {
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 32px);
    --radius-lg: 20px;
  }

  .wordmark {
    font-size: 25px;
  }

  .hero {
    place-items: start center;
  }

  .hero-media img {
    object-position: center bottom;
    transform: none;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(0, 41, 133, 0.32) 0%, rgba(0, 31, 102, 0.05) 52%, rgba(0, 15, 28, 0.28) 100%),
      linear-gradient(90deg, rgba(0, 40, 128, 0.12), transparent);
  }

  .hero-copy {
    width: calc(100vw - 32px);
    margin: 0;
    padding-top: 17vh;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    max-width: 9.2em;
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1.01;
  }

  .hero-note {
    max-width: 290px;
    margin-top: 18px;
    font-size: 12px;
  }

  .hero-actions,
  .final-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    padding: 13px 16px;
  }

  .hero-meta {
    right: 16px;
    bottom: 14px;
    left: 16px;
    font-size: 9px;
  }

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

  .section {
    padding: 92px 0;
  }

  .eyebrow {
    margin-bottom: 28px;
    font-size: 9px;
  }

  .display-title {
    font-size: clamp(39px, 12vw, 58px);
    letter-spacing: -0.065em;
  }

  .section-title,
  .service-index .section-title {
    font-size: 39px;
  }

  .principle::after {
    right: -35vw;
    bottom: -14vw;
    width: 90vw;
    height: 90vw;
    opacity: 0.55;
  }

  .principle-layout {
    gap: 58px;
  }

  .principle-list li {
    font-size: 12px;
  }

  .service-scenes {
    gap: 16px;
  }

  .service-scene {
    min-height: auto;
    padding: 24px 18px 18px;
  }

  .service-copy {
    grid-template-columns: 34px 1fr;
    column-gap: 8px;
  }

  .service-number {
    padding-top: 5px;
    font-size: 9px;
  }

  .service-copy h3 {
    font-size: 31px;
  }

  .service-copy p {
    margin-top: 18px;
    font-size: 12px;
  }

  .scene-visual {
    min-height: 286px;
    margin-top: 54px;
    border-radius: 14px;
  }

  .login-state {
    margin-top: 26px;
  }

  .visual-status {
    display: none;
  }

  .visual-flow {
    padding: 20px;
  }

  .sheet-grid > * {
    padding: 8px 4px;
    font-size: 8px;
  }

  .cases .section-heading {
    margin-bottom: 56px;
  }

  .case-stack {
    gap: 22px;
  }

  .case-card {
    top: auto;
  }

  .case-copy {
    min-height: 0;
    padding: 24px 20px 28px;
  }

  .case-meta {
    margin-bottom: 36px;
  }

  .case-copy h3 {
    max-width: 100%;
    margin-top: 0;
    font-size: clamp(31px, 10vw, 36px);
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .case-copy > p:not(.case-meta) {
    margin-top: 20px;
    font-size: 12px;
  }

  .case-media {
    min-height: 0;
    padding: 10px;
  }

  .case-stats dt {
    font-size: 19px;
  }

  .process-title {
    font-size: 41px;
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .process-list li,
  .process-list li + li {
    min-height: 220px;
    padding: 18px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list h3 {
    margin-top: 42px;
    font-size: 24px;
  }

  .prices {
    padding-top: 56px;
  }

  .prices-heading {
    margin-bottom: 48px;
  }

  .price-item {
    gap: 11px 16px;
    padding: 22px 0 24px;
  }

  .price-item h3 {
    font-size: 17px;
  }

  .price-from,
  .price-range strong {
    font-size: 12px;
  }

  .price-scope p {
    font-size: 13px;
  }

  .price-scope small {
    font-size: 10px;
  }

  .price-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }

  .price-terms {
    display: grid;
    gap: 8px;
    font-size: 10px;
  }

  .about-layout {
    gap: 58px;
  }

  .about-portrait {
    width: min(320px, 100%);
    border-radius: 16px;
  }

  .about-lead {
    font-size: 17px;
  }

  .about-rules li {
    min-height: 62px;
    font-size: 11px;
  }

  .final-cta {
    min-height: 860px;
    padding: 100px 16px 80px;
    place-items: start center;
  }

  .final-media img {
    object-position: center bottom;
    transform: none;
  }

  .final-wash {
    background:
      linear-gradient(180deg, rgba(0, 18, 48, 0.38) 0%, rgba(0, 18, 48, 0.1) 58%, rgba(0, 0, 0, 0.2)),
      linear-gradient(90deg, rgba(0, 18, 48, 0.16), transparent 72%);
  }

  .final-copy {
    width: 100%;
    margin: 0;
  }

  .final-copy .display-title {
    font-size: 42px;
  }

  .final-note {
    max-width: 320px;
    color: rgba(255, 253, 247, 0.82);
    font-size: 13px;
  }

  .site-footer {
    min-height: 280px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 36px;
    padding: 52px 0 34px;
  }

  .wordmark-footer {
    font-size: 44px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 22px;
  }

  .works-hero {
    min-height: max(720px, 100svh);
    padding: 110px 16px 60px;
    align-items: start;
  }

  .works-hero-media img {
    object-position: center bottom;
    transform: none;
  }

  .works-hero-wash {
    background:
      linear-gradient(180deg, rgba(2, 13, 14, 0.58) 0%, rgba(2, 13, 14, 0.28) 54%, rgba(2, 13, 14, 0.1) 80%),
      linear-gradient(90deg, rgba(2, 13, 14, 0.18), transparent 72%);
  }

  .works-hero-copy {
    width: 100%;
  }

  .works-hero-copy h1 {
    max-width: 8.5em;
    font-size: clamp(43px, 13vw, 59px);
    line-height: 0.98;
  }

  .works-hero-copy > p:not(.hero-kicker) {
    max-width: 310px;
    margin-top: 20px;
    color: rgba(255, 253, 247, 0.8);
    font-size: 13px;
  }

  .works-hero-domain {
    right: 16px;
    bottom: 14px;
  }

  .project-reel {
    height: auto;
    grid-auto-columns: minmax(250px, 82vw);
  }

  .project-reel-item span {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .work-tags {
    margin-top: 22px;
  }

  .bridge-layout {
    display: block;
  }

  .bridge-layout .eyebrow {
    margin: 0 0 28px;
  }

  .bridge-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 42px;
  }

  .not-found {
    padding: 16px;
  }

  .not-found > picture img {
    object-position: center bottom;
  }

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

@media (max-height: 420px) and (orientation: landscape) {
  .hero,
  .works-hero {
    min-height: max(500px, 100svh);
  }

  .hero-copy {
    width: min(760px, calc(100vw - 40px));
    margin: 0;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 54px);
  }

  .works-hero {
    padding: 86px 20px 42px;
    align-items: center;
  }

  .works-hero-copy {
    width: min(760px, calc(100vw - 40px));
  }

  .works-hero-copy h1 {
    max-width: 10em;
    font-size: clamp(42px, 7vw, 58px);
  }

  .works-hero-domain {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .final-cta {
    min-height: max(500px, 100svh);
    padding: 78px 20px 64px;
  }

  .final-copy .display-title {
    font-size: clamp(38px, 6vw, 54px);
  }

  .not-found {
    padding: 16px 28px;
  }

  .not-found-copy > .wordmark {
    margin-bottom: 24px;
  }

  .not-found-copy > p:first-of-type {
    margin-bottom: 10px;
  }

  .not-found-copy > p:last-of-type {
    margin-top: 14px;
  }

  .not-found-copy > div {
    margin-top: 16px;
  }
}

@media (max-width: 340px) {
  .about-layout {
    gap: 40px;
  }

  .about-portrait {
    width: min(250px, 100%);
  }
}

@media (max-width: 1080px) {
  .process-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.82fr);
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .service-index {
    margin-bottom: 34px;
  }

  .service-nav {
    display: grid;
    margin-top: 36px;
  }

  .service-nav-item {
    min-height: 68px;
  }

  .service-stage {
    border-radius: 22px;
  }

  .service-panel {
    min-height: 540px;
  }

  .service-panel-body {
    padding-top: 76px;
  }

  .service-panel-body h3 {
    font-size: clamp(44px, 9vw, 66px);
  }

  .process-layout {
    display: block;
  }

  .process-intro {
    position: relative;
    top: auto;
  }

  .process-list {
    margin-top: 66px;
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li + li {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .process-list h3 {
    margin-top: 2px;
  }
}

@media (max-width: 560px) {
  .service-index {
    margin-bottom: 28px;
  }

  .service-nav {
    margin-top: 30px;
  }

  .service-nav-item {
    min-height: 64px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .service-nav-item.is-active,
  .service-nav-item:hover {
    padding-left: 6px;
  }

  .service-nav-item strong {
    font-size: 12px;
  }

  .service-nav-item small {
    font-size: 9px;
  }

  .service-stage {
    border-radius: 18px;
  }

  .service-atmosphere img {
    object-position: center bottom;
    filter: saturate(0.94) brightness(0.68);
    transform: scale(1.02);
  }

  .service-stage::after {
    background:
      linear-gradient(180deg, rgba(5, 15, 14, 0.8) 0%, rgba(5, 15, 14, 0.68) 50%, rgba(5, 15, 14, 0.94) 100%),
      linear-gradient(90deg, rgba(5, 15, 14, 0.58), rgba(5, 15, 14, 0.08));
  }

  .service-panel {
    min-height: 500px;
    padding: 22px 18px;
  }

  .service-panel-head {
    gap: 12px;
  }

  .service-panel-head p {
    text-align: right;
  }

  .service-panel-body {
    padding-top: 64px;
  }

  .service-panel-body h3 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .service-panel-body > p {
    margin-top: 20px;
    font-size: 12px;
  }

  .service-path {
    margin-top: 48px;
    gap: 8px;
  }

  .service-path li {
    gap: 8px;
    padding-top: 12px;
  }

  .service-path strong {
    font-size: 10px;
  }

  .service-panel-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 34px;
  }

  .process-title {
    font-size: 41px;
  }

  .process-list {
    margin-top: 52px;
    gap: 38px;
    padding: 8px 0;
  }

  .process-list::before {
    top: 34px;
    bottom: 34px;
    left: 23px;
  }

  .process-list li,
  .process-list li + li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
  }

  .process-marker {
    width: 46px;
    height: 46px;
  }

  .process-list h3 {
    margin-top: 1px;
    font-size: 23px;
  }

  .process-list p {
    margin-top: 10px;
    font-size: 13px;
  }
}

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

  .hero-media img,
  .works-hero-media img,
  .final-media img,
  .case-media img {
    transform: none !important;
  }

}

html:not(.js) .service-shell {
  display: block;
}

html:not(.js) .service-index {
  position: relative;
  top: auto;
  margin-bottom: 48px;
}

html:not(.js) .service-nav,
html:not(.js) [data-copy-brief] {
  display: none;
}

html:not(.js) .service-stage {
  display: grid;
  gap: 1px;
  overflow: visible;
  background: rgba(255, 253, 247, 0.1);
}

html:not(.js) .service-panel {
  display: flex;
  min-height: auto;
  flex-direction: column;
  background: #111d1b;
}

@media (max-width: 820px) {
  .js .site-nav:not(.is-open) {
    pointer-events: none;
  }

  html:not(.js) .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .site-nav {
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 14px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  html:not(.js) .site-nav a {
    width: auto;
    padding: 5px 0;
    border: 0;
    font-size: 10px;
  }

  html:not(.js) .site-nav .nav-contact {
    width: auto;
    margin-top: 0;
    padding: 5px 0 !important;
    background: transparent;
    border-radius: 0;
  }
}

@media (max-width: 1080px) {
  .reviews-hero-copy {
    width: min(760px, 70vw);
  }

  .review-item {
    grid-template-columns: 54px minmax(0, 1fr) minmax(170px, 0.34fr);
    gap: 30px;
  }

  .review-item:nth-child(even) blockquote {
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .about-proof {
    grid-template-columns: 1fr 1fr;
  }

  .about-proof-link {
    grid-column: 1 / -1;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .reviews-hero {
    min-height: max(920px, 100svh);
    padding: 110px 16px 240px;
    align-items: start;
  }

  .reviews-hero-media img {
    object-position: center bottom;
    transform: none;
  }

  .reviews-hero-wash {
    background:
      linear-gradient(180deg, rgba(4, 14, 14, 0.94) 0%, rgba(4, 14, 14, 0.78) 48%, rgba(4, 14, 14, 0.28) 78%, rgba(4, 14, 14, 0.58) 100%),
      linear-gradient(90deg, rgba(4, 14, 14, 0.3), transparent 75%);
  }

  .reviews-hero-copy {
    width: 100%;
  }

  .reviews-hero-copy h1 {
    max-width: 9em;
    font-size: clamp(44px, 12.6vw, 64px);
    line-height: 0.98;
  }

  .reviews-hero-copy > p:not(.hero-kicker) {
    max-width: 350px;
    margin-top: 22px;
    font-size: 13px;
  }

  .reviews-scoreboard {
    right: 16px;
    bottom: 18px;
    left: 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-scoreboard > div {
    min-height: 92px;
    padding: 18px 14px 12px 0;
  }

  .reviews-scoreboard > div + div {
    padding-left: 16px;
  }

  .reviews-scoreboard > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .reviews-scoreboard > div:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .reviews-scoreboard dd {
    font-size: 30px;
  }

  .reviews-scoreboard .scoreboard-status {
    font-size: 22px;
  }

  .reviews-intro-layout,
  .reviews-source-layout {
    display: block;
  }

  .reviews-intro-layout > .eyebrow,
  .reviews-source-layout > .eyebrow {
    margin: 0 0 32px;
  }

  .reviews-feed-heading {
    display: block;
  }

  .reviews-feed-note {
    max-width: 420px;
    margin-top: 28px;
    justify-self: auto;
  }

  .review-item {
    min-height: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 22px 16px;
    padding: 44px 0;
  }

  .review-number {
    padding-top: 5px;
  }

  .review-item blockquote {
    grid-column: 2;
  }

  .review-item blockquote p {
    font-size: clamp(29px, 7vw, 40px);
    line-height: 1.12;
  }

  .review-item footer {
    grid-column: 2;
    align-self: start;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .about-proof {
    margin-top: 34px;
    gap: 18px 14px;
  }

  .about-proof strong {
    font-size: 20px;
  }

  .reviews-hero {
    min-height: max(900px, 100svh);
  }

  .reviews-hero-copy .hero-kicker {
    margin-bottom: 22px;
  }

  .reviews-hero-copy h1 {
    font-size: clamp(42px, 12.4vw, 54px);
  }

  .reviews-intro-note {
    margin-top: 30px;
    font-size: 16px;
  }

  .review-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 38px 0;
  }

  .review-item blockquote p {
    font-size: clamp(27px, 7.7vw, 34px);
  }

  .reviews-source-copy {
    margin-top: 28px;
    font-size: 15px;
  }
}

@media (max-height: 420px) and (orientation: landscape) {
  .reviews-hero {
    min-height: 640px;
    padding: 86px 20px 164px;
    align-items: center;
  }

  .reviews-hero-copy {
    width: min(700px, 72vw);
  }

  .reviews-hero-copy .hero-kicker {
    margin-bottom: 16px;
  }

  .reviews-hero-copy h1 {
    max-width: 11em;
    font-size: clamp(40px, 6vw, 58px);
  }

  .reviews-hero-copy > p:not(.hero-kicker) {
    margin-top: 16px;
  }

  .reviews-hero-copy .hero-actions {
    margin-top: 20px;
  }

  .reviews-scoreboard {
    bottom: 14px;
  }

  .reviews-scoreboard > div {
    min-height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-hero-media img {
    transform: none !important;
  }
}

/* Services, privacy and consent */

.analytics-consent {
  position: fixed;
  z-index: 90;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  width: min(570px, calc(100vw - 32px));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 12px;
  background: #071110;
  box-shadow: 0 18px 54px rgba(2, 10, 9, 0.28);
  color: var(--white);
  opacity: 0;
  transition: opacity 180ms var(--ease-ui);
}

.analytics-consent.is-visible {
  opacity: 1;
}

.analytics-consent-copy {
  display: grid;
  gap: 5px;
}

.analytics-consent-copy strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.analytics-consent-copy p {
  max-width: 340px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 10px;
  line-height: 1.45;
}

.analytics-consent-actions {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px 12px;
}

.analytics-consent-actions button {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition:
    transform 180ms var(--ease-ui),
    background-color 180ms var(--ease-ui);
}

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

.analytics-allow {
  background: var(--coral);
  color: var(--ink);
}

.analytics-decline {
  background: rgba(255, 253, 247, 0.1);
  color: var(--white);
}

.analytics-consent-actions a {
  grid-column: 1 / -1;
  width: fit-content;
  color: rgba(255, 253, 247, 0.55);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100dvh);
  overflow: hidden;
  padding: 120px max(20px, calc((100vw - 1440px) / 2 + 20px)) 66px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.services-hero-media,
.services-hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: none;
  transform: none;
  will-change: auto;
}

.services-hero-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 14, 15, 0.88) 0%, rgba(3, 14, 15, 0.56) 48%, rgba(3, 14, 15, 0.08) 82%),
    linear-gradient(0deg, rgba(3, 14, 15, 0.44), transparent 62%);
}

.services-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
  opacity: 0.14;
}

.services-hero-copy {
  position: relative;
  z-index: 2;
  width: min(940px, 70vw);
}

.services-hero-copy h1 {
  max-width: 10em;
  font-size: clamp(54px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.078em;
  text-wrap: balance;
}

.services-hero-copy > p:not(.hero-kicker) {
  max-width: 540px;
  margin-top: 30px;
  color: rgba(255, 253, 247, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.services-hero-meta {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1440px) / 2 + 20px));
  bottom: 22px;
  left: max(20px, calc((100vw - 1440px) / 2 + 20px));
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.56);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.catalog-heading {
  display: grid;
  margin-bottom: clamp(72px, 9vw, 130px);
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(40px, 8vw, 130px);
}

.catalog-heading > .eyebrow {
  margin: 13px 0 0;
}

.catalog-note {
  max-width: 600px;
  margin-top: 34px;
  color: rgba(10, 18, 17, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

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

.service-offer {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-columns: 70px minmax(0, 1.7fr) minmax(210px, 0.58fr);
  align-items: start;
  gap: clamp(24px, 4vw, 70px);
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--line);
  transition:
    padding 360ms var(--ease-out),
    background-color 260ms var(--ease-ui);
}

.service-offer:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(119, 238, 115, 0.1);
}

.service-offer-number {
  padding-top: 7px;
  color: rgba(10, 18, 17, 0.42);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.service-offer-featured::before {
  position: absolute;
  top: 48px;
  left: 42px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.service-offer-copy {
  max-width: 760px;
}

.service-offer-kicker {
  margin-bottom: 28px;
  color: rgba(10, 18, 17, 0.52);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.service-offer-copy h3 {
  font-size: clamp(38px, 4.5vw, 70px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.067em;
}

.service-offer-copy > p:last-child {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(10, 18, 17, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

.service-offer-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
  padding-top: 38px;
  text-align: right;
}

.service-offer-meta strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-offer-meta span {
  max-width: 220px;
  color: rgba(10, 18, 17, 0.5);
  font-size: 10px;
  line-height: 1.5;
}

.catalog-action {
  display: flex;
  max-width: 1000px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 52px 0 0 auto;
}

.catalog-action p {
  max-width: 620px;
  color: rgba(10, 18, 17, 0.64);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-action .button {
  flex: 0 0 auto;
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 150px);
}

.scope-intro {
  position: sticky;
  top: max(110px, 15vh);
  align-self: start;
}

.scope-intro .eyebrow {
  margin-bottom: 34px;
}

.scope-intro .section-title {
  max-width: 650px;
}

.scope-note {
  max-width: 520px;
  margin-top: 32px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.scope-columns {
  display: grid;
  gap: 16px;
}

.scope-column {
  padding: clamp(28px, 4vw, 54px);
  border-radius: 20px;
  background: var(--green);
  color: var(--ink);
}

.scope-column-muted {
  border: 1px solid var(--line-light);
  background: rgba(255, 253, 247, 0.04);
  color: var(--white);
}

.scope-column > span {
  display: block;
  margin-bottom: 48px;
  color: rgba(10, 18, 17, 0.52);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scope-column-muted > span {
  color: rgba(255, 253, 247, 0.48);
}

.scope-column li {
  display: grid;
  min-height: 66px;
  grid-template-columns: 22px 1fr;
  align-items: center;
  border-top: 1px solid rgba(10, 18, 17, 0.18);
  font-size: 13px;
}

.scope-column-muted li {
  border-color: var(--line-light);
}

.scope-column li::before {
  color: var(--coral);
  content: "→";
}

.scope-column-muted li::before {
  color: rgba(255, 253, 247, 0.45);
}

.service-route-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(50px, 8vw, 130px);
}

.service-route-layout > .eyebrow {
  margin: 13px 0 0;
}

.service-route-list {
  display: grid;
  margin-top: clamp(62px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.service-route-list li {
  display: grid;
  min-height: 110px;
  grid-template-columns: 54px minmax(220px, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.service-route-list span {
  color: rgba(10, 18, 17, 0.44);
  font-size: 10px;
}

.service-route-list strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-route-list p {
  color: rgba(10, 18, 17, 0.62);
  font-size: 13px;
}

.site-header-solid {
  background: rgba(6, 15, 14, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.privacy-page {
  background: var(--paper);
}

.privacy-main {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(140px, 16vw, 230px) 0 clamp(100px, 12vw, 180px);
}

.privacy-heading {
  display: grid;
  max-width: 1040px;
}

.privacy-heading > .text-link {
  margin-bottom: clamp(70px, 10vw, 130px);
}

.privacy-heading .eyebrow {
  margin-bottom: 30px;
}

.privacy-heading h1 {
  max-width: 9em;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.privacy-heading > p:last-of-type {
  max-width: 620px;
  margin-top: 38px;
  color: rgba(10, 18, 17, 0.64);
  font-size: 17px;
  line-height: 1.6;
}

.privacy-heading time {
  margin-top: 24px;
  color: rgba(10, 18, 17, 0.46);
  font-size: 10px;
  text-transform: uppercase;
}

.privacy-content {
  max-width: 1020px;
  margin: clamp(100px, 14vw, 190px) 0 0 auto;
  border-top: 1px solid var(--line);
}

.privacy-content section {
  display: grid;
  min-height: 230px;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0 50px;
  border-bottom: 1px solid var(--line);
}

.privacy-content section > span {
  padding-top: 7px;
  color: rgba(10, 18, 17, 0.42);
  font-size: 10px;
}

.privacy-content section > div {
  max-width: 760px;
}

.privacy-content h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.privacy-content p {
  max-width: 720px;
  color: rgba(10, 18, 17, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-content p + p {
  margin-top: 18px;
}

.privacy-content p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-content .button {
  width: fit-content;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .services-hero-copy {
    width: min(860px, 76vw);
  }

  .service-offer {
    grid-template-columns: 48px minmax(0, 1fr) minmax(180px, 0.5fr);
    gap: 28px;
  }

  .scope-layout {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .services-hero {
    min-height: max(820px, 100svh);
    padding: 110px 16px 70px;
    align-items: start;
  }

  .services-hero-media img {
    object-position: center bottom;
    transform: none;
  }

  .services-hero-wash {
    background:
      linear-gradient(180deg, rgba(3, 14, 15, 0.96) 0%, rgba(3, 14, 15, 0.72) 50%, rgba(3, 14, 15, 0.2) 82%, rgba(3, 14, 15, 0.48) 100%),
      linear-gradient(90deg, rgba(3, 14, 15, 0.34), transparent 72%);
  }

  .services-hero-copy {
    width: 100%;
  }

  .services-hero-copy h1 {
    max-width: 9em;
    font-size: clamp(45px, 12vw, 68px);
    line-height: 0.96;
  }

  .services-hero-copy > p:not(.hero-kicker) {
    max-width: 400px;
    margin-top: 24px;
    font-size: 13px;
  }

  .catalog-heading,
  .scope-layout,
  .service-route-layout {
    display: block;
  }

  .catalog-heading > .eyebrow,
  .service-route-layout > .eyebrow {
    margin: 0 0 32px;
  }

  .service-offer {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 20px;
    padding: 36px 0 40px;
  }

  .service-offer:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .service-offer-copy {
    grid-column: 2;
  }

  .service-offer-featured::before {
    top: 40px;
    left: 25px;
  }

  .service-offer-meta {
    grid-column: 2;
    justify-items: start;
    padding-top: 30px;
    text-align: left;
  }

  .service-offer-meta span {
    max-width: 360px;
  }

  .catalog-action {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 44px;
  }

  .scope-intro {
    position: relative;
    top: auto;
  }

  .scope-columns {
    margin-top: 62px;
  }

  .service-route-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 20px;
    padding: 26px 0;
  }

  .service-route-list p {
    grid-column: 2;
  }

  .privacy-content {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .analytics-consent {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .analytics-consent-actions {
    grid-template-columns: 1fr 1fr;
  }

  .analytics-consent-actions button {
    padding-right: 10px;
    padding-left: 10px;
  }

  .services-hero {
    min-height: max(850px, 100svh);
  }

  .services-hero-copy .hero-kicker {
    margin-bottom: 22px;
  }

  .services-hero-copy h1 {
    font-size: clamp(43px, 12.2vw, 56px);
  }

  .services-hero-meta {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .services-hero-meta span:last-child {
    display: none;
  }

  .catalog-note {
    margin-top: 28px;
    font-size: 14px;
  }

  .service-offer {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0 12px;
  }

  .service-offer-featured::before {
    left: 17px;
  }

  .service-offer-kicker {
    margin-bottom: 21px;
    font-size: 8px;
  }

  .service-offer-copy h3 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .service-offer-copy > p:last-child {
    margin-top: 19px;
    font-size: 13px;
  }

  .scope-column {
    padding: 26px 20px;
    border-radius: 16px;
  }

  .scope-column > span {
    margin-bottom: 34px;
  }

  .scope-column li {
    min-height: 58px;
    font-size: 12px;
  }

  .service-route-list {
    margin-top: 54px;
  }

  .privacy-main {
    --shell: calc(100% - 32px);
    padding-top: 120px;
  }

  .privacy-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-heading > .text-link {
    margin-bottom: 64px;
  }

  .privacy-heading h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.7vw, 58px);
  }

  .privacy-heading > p:last-of-type {
    max-width: 100%;
    margin-top: 30px;
    font-size: 15px;
  }

  .privacy-content {
    margin-top: 90px;
  }

  .privacy-content section {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding: 34px 0 40px;
  }

  .privacy-content h2 {
    margin-bottom: 22px;
    font-size: 31px;
  }

  .privacy-content p {
    font-size: 13px;
  }

  .site-footer {
    min-height: 280px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 36px;
    padding: 52px 0 34px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px 22px;
  }
}

@media (max-height: 420px) and (orientation: landscape) {
  .services-hero {
    min-height: 640px;
    padding: 86px 20px 70px;
    align-items: center;
  }

  .services-hero-copy {
    width: min(760px, 76vw);
  }

  .services-hero-copy h1 {
    font-size: clamp(42px, 6.2vw, 62px);
  }

  .services-hero-copy > p:not(.hero-kicker) {
    margin-top: 18px;
  }

  .services-hero-copy .hero-actions {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-media img,
  .analytics-consent {
    transform: none !important;
  }
}

/* Quiet expansion of the offer: practical tools, not a backend showcase. */
.beyond {
  overflow: clip;
  padding-top: clamp(96px, 10vw, 152px);
  padding-bottom: clamp(108px, 11vw, 170px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.beyond-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(64px, 10vw, 160px);
}

.beyond-intro {
  max-width: 620px;
}

.beyond-intro .eyebrow {
  margin-bottom: clamp(30px, 4vw, 52px);
}

.beyond-note {
  max-width: 560px;
  margin: 30px 0 34px;
  color: rgba(10, 18, 17, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

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

.beyond-list li {
  display: grid;
  min-height: 174px;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 38px);
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  transition: padding 320ms var(--ease-out), background-color 240ms var(--ease-ui);
}

.beyond-list li:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(255, 253, 247, 0.26);
}

.beyond-list li > span {
  padding-top: 5px;
  color: rgba(10, 18, 17, 0.42);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.beyond-list p {
  margin-bottom: 20px;
  color: rgba(10, 18, 17, 0.5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.beyond-list h3 {
  max-width: 760px;
  font-size: clamp(26px, 3.15vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.closed-work {
  scroll-margin-top: var(--header-h);
  padding-top: clamp(106px, 11vw, 172px);
  padding-bottom: clamp(112px, 12vw, 184px);
}

.presentation-work {
  overflow: clip;
  scroll-margin-top: var(--header-h);
  padding-top: clamp(106px, 11vw, 172px);
  padding-bottom: clamp(116px, 12vw, 188px);
}

.presentation-heading {
  display: grid;
  margin-bottom: clamp(72px, 9vw, 132px);
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 8vw, 130px);
}

.presentation-heading > .eyebrow {
  margin: 13px 0 0;
}

.presentation-note {
  max-width: 720px;
  margin-top: 34px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.presentation-list {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.presentation-case {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: clamp(20px, 2.2vw, 34px);
}

.presentation-case-tgi {
  background: #102e55;
}

.presentation-case-portfolio {
  background: #111;
}

.presentation-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(30px, 4.2vw, 66px);
}

.presentation-copy header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 253, 247, 0.52);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.presentation-copy header p {
  max-width: 210px;
  text-align: right;
}

.presentation-copy h3 {
  max-width: 620px;
  margin-top: auto;
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.066em;
  text-wrap: balance;
}

.presentation-copy > p {
  max-width: 600px;
  margin-top: 28px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.presentation-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 30px;
  color: rgba(255, 253, 247, 0.52);
  font-size: 9px;
  letter-spacing: 0.035em;
}

.presentation-copy li + li::before {
  margin: 0 11px;
  content: "/";
  opacity: 0.55;
}

.presentation-gallery {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
}

.presentation-gallery::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 18, 17, 0.44), transparent 15%);
  content: "";
}

.presentation-slide {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 14px;
  background: #0a1211;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transition: transform 650ms var(--ease-out);
}

.presentation-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.presentation-slide-primary {
  z-index: 1;
  top: 9%;
  left: 6%;
  width: 80%;
  aspect-ratio: 16 / 9;
  transform: rotate(-1.35deg);
}

.presentation-slide-secondary {
  z-index: 2;
  right: -5%;
  bottom: 7%;
  width: 70%;
  aspect-ratio: 16 / 9;
  transform: rotate(1.2deg);
}

.presentation-case:hover .presentation-slide-primary {
  transform: translate3d(-8px, -7px, 0) rotate(-1.35deg);
}

.presentation-case:hover .presentation-slide-secondary {
  transform: translate3d(8px, 7px, 0) rotate(1.2deg);
}

.service-offer-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.34);
  font-size: 11px;
  font-weight: 600;
  transition: gap 260ms var(--ease-out), opacity 180ms var(--ease-ui);
}

.service-offer-link:hover {
  gap: 15px;
  opacity: 0.65;
}

.closed-work-heading {
  display: grid;
  margin-bottom: clamp(72px, 9vw, 132px);
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 8vw, 130px);
}

.closed-work-heading > .eyebrow {
  margin: 13px 0 0;
}

.closed-work-note {
  max-width: 660px;
  margin-top: 34px;
  color: rgba(10, 18, 17, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

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

.closed-work-item {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(320px, 1.3fr) minmax(320px, 0.78fr);
  grid-template-areas:
    "head copy facts"
    ". private facts";
  gap: 28px clamp(34px, 5vw, 76px);
  padding: 48px 0 52px;
  border-bottom: 1px solid var(--line);
}

.closed-work-item header {
  grid-area: head;
}

.closed-work-item header > span {
  display: block;
  margin-bottom: 28px;
  color: rgba(10, 18, 17, 0.42);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.closed-work-item header p {
  max-width: 130px;
  color: rgba(10, 18, 17, 0.52);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.closed-work-copy {
  grid-area: copy;
}

.closed-work-copy h3 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.067em;
  text-wrap: balance;
}

.closed-work-copy > p {
  max-width: 700px;
  margin-top: 26px;
  color: rgba(10, 18, 17, 0.64);
  font-size: 14px;
  line-height: 1.65;
}

.closed-work-facts {
  display: grid;
  grid-area: facts;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--line);
}

.closed-work-facts div {
  min-width: 0;
  padding: 22px 12px 24px 0;
  border-bottom: 1px solid var(--line);
}

.closed-work-facts div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.closed-work-facts dt {
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.closed-work-facts dd {
  max-width: 105px;
  margin-top: 12px;
  color: rgba(10, 18, 17, 0.5);
  font-size: 9px;
  line-height: 1.45;
}

.closed-work-private {
  grid-area: private;
  color: rgba(10, 18, 17, 0.44);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.closed-work-more {
  display: grid;
  max-width: 1100px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  margin: 54px 0 0 auto;
  color: rgba(10, 18, 17, 0.58);
  font-size: 12px;
}

.closed-work-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  color: var(--ink);
}

.closed-work-more li + li::before {
  margin: 0 14px;
  color: rgba(10, 18, 17, 0.28);
  content: "/";
}

@media (max-width: 1120px) {
  .presentation-case {
    display: block;
    min-height: 0;
  }

  .presentation-copy {
    min-height: 460px;
  }

  .presentation-gallery {
    min-height: 560px;
  }
}

@media (max-width: 980px) {
  .beyond-layout {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
    gap: 56px;
  }

  .closed-work-item {
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-areas:
      "head copy"
      ". facts"
      ". private";
  }

  .closed-work-facts {
    max-width: 560px;
    margin-top: 8px;
  }
}

@media (max-width: 820px) {
  .beyond-layout,
  .closed-work-heading,
  .presentation-heading {
    display: block;
  }

  .beyond-intro {
    margin-bottom: 62px;
  }

  .closed-work-heading > .eyebrow {
    margin: 0 0 32px;
  }

  .presentation-heading > .eyebrow {
    margin: 0 0 32px;
  }

  .presentation-case {
    display: block;
    min-height: 0;
  }

  .presentation-copy {
    min-height: 460px;
  }

  .presentation-gallery {
    min-height: 560px;
  }

  .closed-work-item {
    gap: 26px 24px;
  }
}

@media (max-width: 560px) {
  .beyond {
    padding-top: 86px;
    padding-bottom: 94px;
  }

  .beyond-note {
    margin-top: 24px;
    font-size: 13px;
  }

  .beyond-list li {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 28px 0 32px;
  }

  .beyond-list li:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .beyond-list p {
    margin-bottom: 16px;
    font-size: 8px;
  }

  .beyond-list h3 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .closed-work {
    padding-top: 88px;
    padding-bottom: 98px;
  }

  .presentation-work {
    padding-top: 88px;
    padding-bottom: 100px;
  }

  .presentation-note {
    margin-top: 26px;
    font-size: 13px;
  }

  .presentation-list {
    gap: 28px;
  }

  .presentation-case {
    border-radius: 20px;
  }

  .presentation-copy {
    min-height: 0;
    padding: 26px 20px 32px;
  }

  .presentation-copy header {
    margin-bottom: 72px;
    font-size: 8px;
  }

  .presentation-copy header p {
    max-width: 170px;
  }

  .presentation-copy h3 {
    margin-top: 0;
    font-size: clamp(34px, 11vw, 46px);
  }

  .presentation-copy > p {
    margin-top: 22px;
    font-size: 12px;
  }

  .presentation-copy ul {
    margin-top: 26px;
    line-height: 1.6;
  }

  .presentation-gallery {
    min-height: 390px;
    border-top: 1px solid rgba(255, 253, 247, 0.12);
  }

  .presentation-gallery::after {
    background: linear-gradient(180deg, rgba(10, 18, 17, 0.34), transparent 18%);
  }

  .presentation-slide {
    border-radius: 9px;
  }

  .presentation-slide-primary {
    top: 10%;
    left: 5%;
    width: 88%;
  }

  .presentation-slide-secondary {
    right: -12%;
    bottom: 8%;
    width: 84%;
  }

  .presentation-case:hover .presentation-slide-primary {
    transform: rotate(-1.35deg);
  }

  .presentation-case:hover .presentation-slide-secondary {
    transform: rotate(1.2deg);
  }

  .closed-work-note {
    margin-top: 26px;
    font-size: 13px;
  }

  .closed-work-item {
    display: block;
    padding: 38px 0 42px;
  }

  .closed-work-item header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
  }

  .closed-work-item header > span {
    margin: 0;
  }

  .closed-work-item header p {
    max-width: 220px;
    text-align: right;
  }

  .closed-work-copy h3 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .closed-work-copy > p {
    margin-top: 22px;
    font-size: 13px;
  }

  .closed-work-facts {
    margin-top: 32px;
  }

  .closed-work-facts div {
    padding: 18px 8px 20px 0;
  }

  .closed-work-facts div + div {
    padding-left: 8px;
  }

  .closed-work-facts dt {
    font-size: 27px;
  }

  .closed-work-facts dd {
    font-size: 8px;
  }

  .closed-work-private {
    margin-top: 22px;
  }

  .closed-work-more {
    display: block;
    margin-top: 42px;
  }

  .closed-work-more ul {
    margin-top: 22px;
    line-height: 1.6;
  }
}

/* Portfolio selector v2: persistent category menu and interactive case stages. */

.work-category-bar {
  position: sticky;
  z-index: 8;
  top: calc(var(--header-h) + 10px);
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 2.58fr);
  overflow: hidden;
  border: 1px solid rgba(10, 18, 17, 0.16);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(4, 17, 15, 0.2);
}

.work-category-label {
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  gap: 15px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--white);
}

.work-category-label > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 91, 61, 0.12);
}

.work-category-label > span {
  display: grid;
  gap: 4px;
}

.work-category-label strong {
  font-size: 11px;
  font-weight: 600;
}

.work-category-label small {
  color: rgba(255, 253, 247, 0.5);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-category-nav {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.portfolio-index {
  overflow: clip;
  background: var(--ink);
  color: var(--white);
}

.portfolio-index-heading > div > p {
  color: rgba(255, 253, 247, 0.58);
}

.portfolio-index .eyebrow {
  color: rgba(255, 253, 247, 0.54);
}

.portfolio-explorer {
  display: grid;
  min-height: 720px;
  scroll-margin-top: calc(var(--header-h) + 104px);
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1.52fr);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.15);
  border-radius: clamp(22px, 2.4vw, 36px);
  background: #0e1b19;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.26);
}

.portfolio-explorer-menu {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 253, 247, 0.14);
  background: #07110f;
}

.portfolio-explorer-menu button,
.automation-case-menu button {
  appearance: none;
  border: 0;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.portfolio-explorer-menu button {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 11px 14px;
  padding: 30px clamp(22px, 2.8vw, 42px);
  border-bottom: 1px solid rgba(255, 253, 247, 0.12);
  background: transparent;
  color: rgba(255, 253, 247, 0.54);
  transition: background-color 260ms var(--ease-ui), color 260ms var(--ease-ui);
}

.portfolio-explorer-menu button:last-child {
  border-bottom: 0;
}

.portfolio-explorer-menu button > span {
  grid-row: 1 / span 2;
  padding-top: 5px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  opacity: 0.54;
}

.portfolio-explorer-menu button strong {
  color: currentColor;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.portfolio-explorer-menu button small {
  grid-column: 2;
  font-size: 8px;
  letter-spacing: 0.02em;
  opacity: 0.58;
}

.portfolio-explorer-menu button em {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 10px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.portfolio-explorer-menu button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--coral);
  transition: transform 360ms var(--ease-out);
}

.portfolio-explorer-menu button:hover,
.portfolio-explorer-menu button.is-active {
  background: var(--white);
  color: var(--ink);
}

.portfolio-explorer-menu button.is-active::after {
  transform: scaleX(1);
}

.portfolio-explorer-stage {
  position: relative;
  min-width: 0;
  min-height: 720px;
}

.portfolio-explorer-panel {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-rows: auto minmax(330px, 1fr);
  overflow: hidden;
}

.portfolio-panel-sites {
  background: var(--blue);
}

.portfolio-panel-presentations {
  background: #102e55;
}

.portfolio-panel-automation {
  background: var(--green);
  color: var(--ink);
}

.portfolio-panel-copy {
  position: relative;
  z-index: 3;
  padding: clamp(30px, 4vw, 58px);
}

.portfolio-panel-copy > p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: currentColor;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.58;
}

.portfolio-panel-copy h3 {
  margin-top: clamp(58px, 7vw, 100px);
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.078em;
}

.portfolio-panel-copy > div {
  display: flex;
  margin-top: 34px;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.portfolio-panel-copy > div p {
  max-width: 510px;
  color: currentColor;
  font-size: 12px;
  line-height: 1.65;
  opacity: 0.68;
}

.portfolio-panel-copy a,
.automation-panel-heading a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  transition: gap 260ms var(--ease-out), opacity 180ms var(--ease-ui);
}

.portfolio-panel-copy a:hover,
.automation-panel-heading a:hover {
  gap: 18px;
  opacity: 0.7;
}

.portfolio-panel-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.portfolio-panel-visual > span:last-child {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 24px;
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.52;
}

.portfolio-sites-visual figure,
.portfolio-presentations-visual figure {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 18, 48, 0.34);
  transition: transform 600ms var(--ease-out);
}

.portfolio-sites-visual figure:first-child {
  top: 5%;
  left: 7%;
  width: 68%;
  aspect-ratio: 8 / 5;
  transform: rotate(-1deg);
}

.portfolio-sites-visual figure:nth-child(2) {
  right: -3%;
  bottom: -5%;
  width: 56%;
  aspect-ratio: 8 / 5;
  transform: rotate(1.4deg);
}

.portfolio-presentations-visual figure:first-child {
  top: 5%;
  left: 5%;
  width: 70%;
  aspect-ratio: 16 / 9;
  transform: rotate(-1.2deg);
}

.portfolio-presentations-visual figure:nth-child(2) {
  right: -4%;
  bottom: -4%;
  width: 62%;
  aspect-ratio: 16 / 9;
  transform: rotate(1.4deg);
}

.portfolio-sites-visual img,
.portfolio-presentations-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portfolio-explorer-panel:hover .portfolio-sites-visual figure:first-child,
.portfolio-explorer-panel:hover .portfolio-presentations-visual figure:first-child {
  transform: translate3d(-7px, -5px, 0) rotate(-1.2deg);
}

.portfolio-explorer-panel:hover .portfolio-sites-visual figure:nth-child(2),
.portfolio-explorer-panel:hover .portfolio-presentations-visual figure:nth-child(2) {
  transform: translate3d(8px, 6px, 0) rotate(1.4deg);
}

.portfolio-automation-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(240px, 1.18fr);
  align-items: center;
  gap: 4%;
  padding: 2% 7% 6%;
}

.portfolio-data-stack {
  display: grid;
  gap: 8px;
}

.portfolio-data-stack span {
  min-height: 52px;
  padding: 17px 20px;
  border: 1px solid rgba(10, 18, 17, 0.17);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.28);
  font-size: 10px;
}

.portfolio-data-stack span:nth-child(2) {
  margin-right: -12%;
  margin-left: 12%;
}

.portfolio-data-core {
  position: relative;
  display: grid;
  min-height: 270px;
  place-content: center;
  border: 1px solid rgba(10, 18, 17, 0.2);
  border-radius: 50%;
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px rgba(31, 92, 36, 0.18);
}

.portfolio-data-core > i {
  width: 8px;
  height: 8px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--coral);
}

.portfolio-data-core strong {
  font-size: clamp(42px, 4.3vw, 66px);
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.portfolio-data-core small {
  margin-top: 22px;
  font-size: 8px;
  opacity: 0.46;
}

.portfolio-index-note {
  color: var(--white);
  border-top-color: rgba(255, 253, 247, 0.18);
}

.portfolio-index-note p {
  color: rgba(255, 253, 247, 0.56);
}

.portfolio-index-note .button-ink {
  background: var(--white);
  color: var(--ink);
}

.automation-lab {
  overflow: clip;
  padding-top: clamp(126px, 13vw, 196px);
  padding-bottom: clamp(120px, 13vw, 190px);
  background: var(--ink);
  color: var(--white);
}

.automation-lab-heading {
  display: grid;
  margin-bottom: clamp(66px, 8vw, 118px);
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 8vw, 130px);
}

.automation-lab-heading > .eyebrow {
  margin-top: 13px;
}

.automation-lab-heading > div > p {
  max-width: 670px;
  margin-top: 30px;
  color: rgba(255, 253, 247, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.automation-showcase {
  display: grid;
  min-height: 850px;
  scroll-margin-top: calc(var(--header-h) + 104px);
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: clamp(22px, 2.4vw, 36px);
  background: #0e1b19;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.28);
}

.automation-case-menu {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 253, 247, 0.14);
  background: #07110f;
}

.automation-case-menu button {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: end;
  gap: 12px;
  padding: clamp(28px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 253, 247, 0.14);
  background: transparent;
  color: rgba(255, 253, 247, 0.56);
  transition: background-color 260ms var(--ease-ui), color 260ms var(--ease-ui);
}

.automation-case-menu button:last-child {
  border-bottom: 0;
}

.automation-case-menu button > span {
  position: absolute;
  top: 30px;
  left: clamp(28px, 3vw, 48px);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.automation-case-menu button strong {
  max-width: 240px;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.automation-case-menu button small {
  font-size: 9px;
  line-height: 1.5;
  opacity: 0.58;
}

.automation-case-menu button > i {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font-style: normal;
  opacity: 0;
  transition: opacity 220ms var(--ease-ui), transform 260ms var(--ease-out);
}

.automation-case-menu button:hover,
.automation-case-menu button.is-active {
  background: var(--green);
  color: var(--ink);
}

.automation-case-menu button.is-active > i {
  transform: translate(3px, -3px);
  opacity: 1;
}

.automation-stage {
  position: relative;
  min-width: 0;
}

.automation-panel {
  min-height: 850px;
  padding: clamp(28px, 4vw, 60px);
}

.automation-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.automation-panel-heading p {
  margin-bottom: 24px;
  color: rgba(255, 253, 247, 0.48);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.automation-panel-heading h3 {
  max-width: 780px;
  font-size: clamp(42px, 5.1vw, 78px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.074em;
  text-wrap: balance;
}

.automation-map {
  display: grid;
  min-height: 430px;
  margin-top: clamp(40px, 5vw, 68px);
  overflow: hidden;
  border-radius: clamp(16px, 1.8vw, 26px);
}

.automation-map-journal {
  grid-template-columns: minmax(180px, 0.72fr) minmax(100px, 0.28fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 2%;
  padding: 4.5%;
  background: var(--paper-deep);
  color: var(--ink);
}

.sheet-pile {
  position: relative;
  min-height: 300px;
}

.sheet-card {
  position: absolute;
  display: grid;
  width: 76%;
  height: 180px;
  grid-template-rows: 38px 1fr;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 17, 0.18);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(26, 35, 32, 0.13);
}

.sheet-card b {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.12);
  font-size: 8px;
  font-weight: 600;
}

.sheet-card i {
  background-image:
    linear-gradient(rgba(10, 18, 17, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 18, 17, 0.08) 1px, transparent 1px);
  background-size: 100% 22px, 38px 100%;
}

.sheet-card-1 { z-index: 4; top: 62px; left: 2%; transform: rotate(-2deg); }
.sheet-card-2 { z-index: 3; top: 44px; left: 9%; transform: rotate(1.4deg); }
.sheet-card-3 { z-index: 2; top: 26px; left: 16%; transform: rotate(-0.8deg); }
.sheet-card-4 { z-index: 1; top: 8px; left: 23%; transform: rotate(1.8deg); }

.sheet-pile > strong {
  position: absolute;
  bottom: 0;
  left: 2%;
  font-size: 10px;
  font-weight: 600;
}

.automation-route {
  position: relative;
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: space-around;
}

.automation-route::before {
  position: absolute;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: rgba(10, 18, 17, 0.28);
}

.automation-route i {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px var(--paper-deep);
}

.automation-route span {
  position: absolute;
  top: calc(50% + 22px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(10, 18, 17, 0.48);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.journal-window {
  overflow: hidden;
  border: 1px solid rgba(10, 18, 17, 0.16);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 28px 68px rgba(26, 35, 32, 0.18);
}

.journal-window > header {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.11);
}

.journal-window > header span {
  margin-right: auto;
  font-size: 9px;
  font-weight: 600;
}

.journal-window > header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.journal-window > header i:last-child {
  background: var(--green);
}

.journal-toolbar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.1);
}

.journal-toolbar span {
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  font-size: 7px;
}

.journal-toolbar span + span {
  background: var(--paper-deep);
  color: var(--ink);
}

.journal-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
}

.journal-fields span {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(10, 18, 17, 0.1);
  border-radius: 6px;
}

.journal-fields i {
  color: rgba(10, 18, 17, 0.42);
  font-size: 6px;
  font-style: normal;
}

.journal-fields b {
  font-size: 8px;
  font-weight: 500;
}

.journal-table {
  padding: 0 16px;
}

.journal-table span {
  display: block;
  height: 22px;
  border-top: 1px solid rgba(10, 18, 17, 0.1);
  background: linear-gradient(90deg, rgba(10, 18, 17, 0.06) 34%, transparent 34% 38%, rgba(10, 18, 17, 0.035) 38% 72%, transparent 72%);
}

.journal-window > footer {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-top: 1px solid rgba(10, 18, 17, 0.1);
  font-size: 7px;
}

.journal-window > footer strong {
  color: #27812d;
  font-weight: 600;
}

.automation-map-cabinet {
  grid-template-columns: minmax(130px, 0.34fr) minmax(340px, 1.2fr) minmax(160px, 0.42fr);
  gap: 12px;
  padding: 18px;
  background: var(--blue);
  color: var(--ink);
}

.cabinet-sidebar,
.cabinet-dashboard,
.cabinet-access {
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 13px;
}

.cabinet-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 14px;
  background: rgba(4, 20, 42, 0.54);
  color: var(--white);
}

.cabinet-sidebar > strong {
  margin-bottom: 28px;
  font-size: 9px;
  font-weight: 600;
}

.cabinet-sidebar > span {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 8px;
  opacity: 0.64;
}

.cabinet-sidebar > span.is-current {
  background: var(--green);
  color: var(--ink);
  opacity: 1;
}

.cabinet-sidebar i {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.cabinet-sidebar small {
  margin-top: auto;
  font-size: 7px;
  opacity: 0.46;
}

.cabinet-dashboard {
  padding: 22px;
  background: var(--white);
}

.cabinet-dashboard > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cabinet-dashboard > header div {
  display: grid;
  gap: 5px;
}

.cabinet-dashboard > header span {
  color: rgba(10, 18, 17, 0.44);
  font-size: 7px;
}

.cabinet-dashboard > header b {
  font-size: 12px;
  font-weight: 600;
}

.cabinet-dashboard > header > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 8px;
  font-style: normal;
}

.cabinet-metrics {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cabinet-metrics > span {
  position: relative;
  display: grid;
  min-height: 105px;
  align-content: space-between;
  padding: 13px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--paper-deep);
}

.cabinet-metrics small {
  font-size: 7px;
  opacity: 0.48;
}

.cabinet-metrics strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.cabinet-metrics i {
  position: absolute;
  right: -16px;
  bottom: -26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.58;
}

.cabinet-stream {
  margin-top: 22px;
  border-top: 1px solid rgba(10, 18, 17, 0.12);
}

.cabinet-stream p {
  display: grid;
  min-height: 46px;
  grid-template-columns: 0.5fr 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(10, 18, 17, 0.1);
  font-size: 7px;
}

.cabinet-stream b {
  font-weight: 500;
}

.cabinet-stream i {
  font-style: normal;
  opacity: 0.42;
}

.cabinet-access {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 12px;
  background: rgba(4, 20, 42, 0.54);
  color: var(--white);
}

.cabinet-access > span {
  display: grid;
  gap: 7px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 9px;
}

.cabinet-access i,
.cabinet-access small {
  font-size: 7px;
  font-style: normal;
  opacity: 0.48;
}

.cabinet-access b {
  font-size: 10px;
  font-weight: 500;
}

.automation-panel-summary {
  display: grid;
  margin-top: 28px;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  align-items: end;
  gap: clamp(30px, 5vw, 72px);
}

.automation-panel-summary > p {
  max-width: 510px;
  color: rgba(255, 253, 247, 0.6);
  font-size: 11px;
  line-height: 1.65;
}

.automation-panel-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 247, 0.16);
}

.automation-panel-summary dl > div {
  padding: 16px 10px 0 0;
}

.automation-panel-summary dl > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 253, 247, 0.16);
}

.automation-panel-summary dt {
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.automation-panel-summary dd {
  margin-top: 8px;
  color: rgba(255, 253, 247, 0.44);
  font-size: 8px;
}

.automation-related {
  display: grid;
  margin-top: 48px;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1.62fr);
  gap: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 253, 247, 0.16);
  color: rgba(255, 253, 247, 0.5);
  font-size: 10px;
}

.automation-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.automation-related li {
  padding: 11px 14px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  color: var(--white);
}

.js [data-tab-panel][hidden] {
  display: none;
}

.js [data-tab-panel].is-active {
  animation: mw-panel-enter 420ms var(--ease-out) both;
}

@keyframes mw-panel-enter {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 980px) {
  .work-category-bar {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .portfolio-explorer,
  .automation-showcase {
    grid-template-columns: minmax(210px, 0.46fr) minmax(0, 1.54fr);
  }

  .portfolio-explorer-menu button {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    padding: 24px 18px;
  }

  .portfolio-explorer-menu button strong {
    font-size: 21px;
  }

  .automation-map-journal {
    grid-template-columns: minmax(130px, 0.55fr) 70px minmax(280px, 1.25fr);
  }

  .automation-map-cabinet {
    grid-template-columns: 120px minmax(300px, 1fr);
  }

  .cabinet-access {
    display: none;
  }
}

@media (max-width: 820px) {
  .work-category-bar {
    top: calc(var(--header-h) + 6px);
    width: calc(100% - 16px);
    grid-template-columns: 76px minmax(0, 1fr);
    border-radius: 14px;
  }

  .work-category-label {
    min-height: 60px;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
  }

  .work-category-label > i {
    width: 6px;
    height: 6px;
    box-shadow: none;
  }

  .work-category-label strong {
    font-size: 9px;
  }

  .work-category-label small {
    display: none;
  }

  .portfolio-index-heading,
  .automation-lab-heading {
    display: block;
  }

  .portfolio-index-heading > .eyebrow,
  .automation-lab-heading > .eyebrow {
    margin: 0 0 28px;
  }

  .portfolio-explorer,
  .automation-showcase {
    display: block;
    min-height: 0;
  }

  .portfolio-explorer-menu,
  .automation-case-menu {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 247, 0.14);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .portfolio-explorer-menu::-webkit-scrollbar,
  .automation-case-menu::-webkit-scrollbar {
    display: none;
  }

  .portfolio-explorer-menu button {
    min-width: 190px;
    min-height: 116px;
    flex: 1 0 auto;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    padding: 20px 18px;
    border-right: 1px solid rgba(255, 253, 247, 0.12);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .portfolio-explorer-menu button strong {
    font-size: 20px;
  }

  .portfolio-explorer-stage,
  .portfolio-explorer-panel {
    min-height: 680px;
  }

  .portfolio-panel-copy > div {
    display: block;
  }

  .portfolio-panel-copy a {
    margin-top: 20px;
  }

  .automation-case-menu button {
    min-width: 260px;
    min-height: 150px;
    flex: 1 0 auto;
    padding: 24px;
    border-right: 1px solid rgba(255, 253, 247, 0.14);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .automation-case-menu button > span {
    top: 24px;
    left: 24px;
  }

  .automation-case-menu button strong {
    font-size: 28px;
  }

  .automation-panel {
    min-height: 0;
    padding: 32px 24px 38px;
  }

  .automation-panel-heading {
    display: block;
  }

  .automation-panel-heading a {
    margin-top: 24px;
  }

  .automation-map-journal {
    grid-template-columns: minmax(130px, 0.55fr) 64px minmax(270px, 1.25fr);
    overflow-x: auto;
  }

  .automation-map-cabinet {
    grid-template-columns: 110px minmax(330px, 1fr);
    overflow-x: auto;
  }

  .automation-panel-summary {
    display: block;
  }

  .automation-panel-summary dl {
    margin-top: 28px;
  }

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

@media (max-width: 560px) {
  .portfolio-index,
  .automation-lab {
    padding-top: 104px;
  }

  .portfolio-index-heading,
  .automation-lab-heading {
    margin-bottom: 54px;
  }

  .portfolio-explorer {
    border-radius: 20px;
  }

  .portfolio-explorer-stage,
  .portfolio-explorer-panel {
    min-height: 620px;
  }

  .portfolio-explorer-panel {
    grid-template-rows: auto minmax(260px, 1fr);
  }

  .portfolio-panel-copy {
    padding: 26px 20px 20px;
  }

  .portfolio-panel-copy h3 {
    margin-top: 54px;
    font-size: clamp(52px, 17vw, 68px);
  }

  .portfolio-panel-copy > p {
    font-size: 7px;
  }

  .portfolio-panel-copy > div p {
    font-size: 11px;
  }

  .portfolio-panel-visual {
    min-height: 285px;
  }

  .portfolio-sites-visual figure:first-child,
  .portfolio-presentations-visual figure:first-child {
    width: 82%;
  }

  .portfolio-sites-visual figure:nth-child(2),
  .portfolio-presentations-visual figure:nth-child(2) {
    width: 68%;
  }

  .portfolio-automation-visual {
    grid-template-columns: 0.8fr 1.2fr;
    padding: 2% 5% 7%;
  }

  .portfolio-data-stack span {
    min-height: 44px;
    padding: 13px 12px;
    font-size: 8px;
  }

  .portfolio-data-core {
    min-height: 205px;
  }

  .portfolio-data-core strong {
    font-size: 42px;
  }

  .automation-showcase {
    border-radius: 20px;
  }

  .automation-panel {
    padding: 28px 16px 32px;
  }

  .automation-panel-heading h3 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .automation-map {
    margin-top: 36px;
    border-radius: 14px;
  }

  .automation-map-journal {
    display: block;
    padding: 20px 14px;
    overflow: hidden;
  }

  .sheet-pile {
    min-height: 270px;
  }

  .sheet-card {
    width: 66%;
    height: 148px;
  }

  .automation-route {
    min-height: 92px;
    transform: rotate(90deg);
  }

  .automation-route span {
    display: none;
  }

  .journal-window {
    margin-top: 4px;
  }

  .journal-fields {
    grid-template-columns: 1fr;
  }

  .automation-map-cabinet {
    display: block;
    padding: 12px;
    overflow: hidden;
  }

  .cabinet-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
  }

  .cabinet-sidebar > strong,
  .cabinet-sidebar > small {
    grid-column: 1 / -1;
    margin: 0 0 8px;
  }

  .cabinet-dashboard {
    padding: 16px 12px;
  }

  .cabinet-metrics > span {
    min-height: 92px;
    padding: 10px;
  }

  .cabinet-stream p {
    grid-template-columns: 0.7fr 1fr;
  }

  .cabinet-stream i {
    display: none;
  }

  .automation-panel-summary dl {
    gap: 0;
  }

  .automation-panel-summary dl > div {
    padding-right: 6px;
  }

  .automation-panel-summary dl > div + div {
    padding-left: 8px;
  }

  .automation-panel-summary dd {
    font-size: 7px;
  }

  .automation-related ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .automation-related li {
    padding: 10px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-tab-panel].is-active {
    animation: none;
  }
}

/* Portfolio navigation v3: a clear command menu with state-driven motion. */

.work-category-bar {
  width: var(--shell);
  margin: -42px auto 0;
  grid-template-columns: minmax(210px, 0.54fr) minmax(0, 2.46fr);
  gap: 0;
  padding: 8px;
  overflow: visible;
  border: 1px solid rgba(149, 255, 174, 0.2);
  border-radius: 22px;
  background: #06110f;
  box-shadow:
    0 26px 70px rgba(0, 7, 6, 0.36),
    inset 0 1px 0 rgba(255, 253, 247, 0.06);
  color: var(--white);
  isolation: isolate;
}

.work-category-bar::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 50%, rgba(133, 255, 155, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 48%);
}

.work-category-label {
  position: relative;
  min-height: 72px;
  gap: 13px;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 253, 247, 0.1);
  background: transparent;
}

.work-category-label > i {
  width: 7px;
  height: 7px;
  background: var(--coral);
  box-shadow:
    0 0 0 5px rgba(255, 91, 61, 0.1),
    0 0 20px rgba(255, 91, 61, 0.48);
  animation: mw-category-pulse 2.8s ease-in-out infinite;
}

.work-category-label > span {
  gap: 3px;
}

.work-category-label small {
  color: rgba(255, 253, 247, 0.42);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.work-category-label strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.work-category-label > b {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: 50%;
  color: rgba(255, 253, 247, 0.42);
  font-size: 8px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.work-category-nav {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.work-category-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--category-indicator-width, 0px);
  border: 1px solid rgba(151, 255, 173, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(151, 255, 173, 0.13), rgba(12, 33, 29, 0.3) 62%),
    rgba(255, 253, 247, 0.025);
  box-shadow:
    inset 0 0 24px rgba(121, 255, 153, 0.055),
    0 0 24px rgba(121, 255, 153, 0.07);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--category-indicator-x, 0px), 0, 0);
  will-change: transform, width;
}

.work-category-nav.is-ready .work-category-indicator {
  opacity: 1;
  transition:
    transform 340ms var(--ease-out),
    width 340ms var(--ease-out),
    opacity 160ms var(--ease-ui);
}

.work-category-nav a,
.work-category-nav a + a {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 5px 12px;
  padding: 13px 17px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: rgba(255, 253, 247, 0.54);
  transition:
    color 190ms var(--ease-ui),
    background-color 190ms var(--ease-ui),
    transform 190ms var(--ease-out);
}

.work-category-nav a > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.work-category-nav a strong {
  overflow: hidden;
  color: currentColor;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-category-nav a small {
  overflow: hidden;
  color: rgba(255, 253, 247, 0.34);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-category-nav a > b {
  grid-column: 2;
  grid-row: 1;
  color: rgba(255, 253, 247, 0.34);
  font-size: 8px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.work-category-nav a > i {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  opacity: 0;
  transform: translate3d(-5px, 5px, 0);
  transition:
    opacity 180ms var(--ease-ui),
    transform 260ms var(--ease-out);
}

.work-category-nav a:hover,
.work-category-nav a.is-active,
.work-category-nav a[aria-current="page"] {
  background: rgba(255, 253, 247, 0.035);
  color: var(--white);
}

.work-category-nav a:hover small,
.work-category-nav a.is-active small,
.work-category-nav a[aria-current="page"] small {
  color: rgba(151, 255, 173, 0.64);
}

.work-category-nav a:hover > b,
.work-category-nav a.is-active > b,
.work-category-nav a[aria-current="page"] > b {
  color: rgba(255, 253, 247, 0.58);
}

.work-category-nav a:hover > i,
.work-category-nav a:focus-visible > i,
.work-category-nav a.is-active > i,
.work-category-nav a[aria-current="page"] > i {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.work-category-nav a:active {
  transform: scale(0.985);
}

.work-category-nav a:focus-visible {
  outline-offset: -3px;
}

.portfolio-explorer {
  display: block;
  min-height: 0;
  border-color: rgba(151, 255, 173, 0.18);
  background: #07110f;
}

.portfolio-explorer-menu {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 6px;
  padding: 8px;
  overflow: visible;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.11);
  background: #06110f;
}

.portfolio-tab-indicator {
  position: absolute;
  z-index: 0;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: var(--tab-indicator-width, 0px);
  border: 1px solid rgba(151, 255, 173, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 28%, rgba(151, 255, 173, 0.13), transparent 42%),
    rgba(255, 253, 247, 0.035);
  box-shadow: inset 0 0 28px rgba(115, 255, 145, 0.045);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--tab-indicator-x, 0px), 0, 0);
  will-change: transform, width;
}

.portfolio-explorer-menu.is-ready .portfolio-tab-indicator {
  opacity: 1;
  transition:
    transform 340ms var(--ease-out),
    width 340ms var(--ease-out),
    opacity 160ms var(--ease-ui);
}

.portfolio-explorer-menu button,
.portfolio-explorer-menu button:last-child {
  z-index: 1;
  min-height: 116px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 10px 12px;
  padding: 22px 24px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: rgba(255, 253, 247, 0.48);
  transition:
    color 190ms var(--ease-ui),
    background-color 190ms var(--ease-ui),
    transform 190ms var(--ease-out);
}

.portfolio-explorer-menu button::after {
  display: none;
}

.portfolio-explorer-menu button > span {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 3px;
  color: rgba(151, 255, 173, 0.48);
}

.portfolio-explorer-menu button strong {
  font-size: clamp(20px, 2vw, 29px);
  transition: transform 260ms var(--ease-out);
}

.portfolio-explorer-menu button small {
  grid-column: 2;
  color: rgba(255, 253, 247, 0.34);
}

.portfolio-explorer-menu button em {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: rgba(255, 253, 247, 0.38);
}

.portfolio-explorer-menu button:hover,
.portfolio-explorer-menu button.is-active {
  background: rgba(255, 253, 247, 0.03);
  color: var(--white);
}

.portfolio-explorer-menu button:hover strong,
.portfolio-explorer-menu button.is-active strong {
  transform: translate3d(4px, 0, 0);
}

.portfolio-explorer-menu button.is-active small {
  color: rgba(151, 255, 173, 0.66);
}

.portfolio-explorer-menu button:active {
  transform: scale(0.99);
}

.portfolio-explorer-menu button:focus-visible {
  outline-offset: -3px;
}

.portfolio-explorer-stage,
.portfolio-explorer-panel {
  min-height: 720px;
}

.js .portfolio-explorer [data-tab-panel].is-active {
  animation: mw-portfolio-panel-enter 380ms var(--ease-out) both;
}

.work-sites-page .works-hero-media img,
.work-presentations-page .works-hero-media img {
  object-position: center center;
}

.work-sites-page .works-hero-wash {
  background:
    linear-gradient(90deg, rgba(2, 13, 14, 0.84) 0%, rgba(2, 13, 14, 0.56) 40%, rgba(2, 13, 14, 0.08) 76%),
    linear-gradient(0deg, rgba(2, 13, 14, 0.34), transparent 64%);
}

.work-presentations-page .works-hero-wash {
  background:
    linear-gradient(90deg, rgba(2, 13, 14, 0.86) 0%, rgba(2, 13, 14, 0.58) 42%, rgba(2, 13, 14, 0.1) 78%),
    linear-gradient(0deg, rgba(2, 13, 14, 0.4), transparent 62%);
}

@keyframes mw-category-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 91, 61, 0.09), 0 0 14px rgba(255, 91, 61, 0.32); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(255, 91, 61, 0.04), 0 0 24px rgba(255, 91, 61, 0.52); }
}

@keyframes mw-portfolio-panel-enter {
  from { opacity: 0.22; transform: translate3d(14px, 0, 0); clip-path: inset(0 0 0 3.5%); }
  to { opacity: 1; transform: translate3d(0, 0, 0); clip-path: inset(0); }
}

@media (max-width: 980px) {
  .work-category-bar {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .work-category-label {
    padding: 10px 14px;
  }

  .work-category-label > b {
    display: none;
  }

  .work-category-nav a,
  .work-category-nav a + a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .work-category-nav a strong {
    font-size: 11px;
  }
}

@media (max-width: 820px) {
  .work-category-bar {
    top: calc(var(--header-h) + 6px);
    width: calc(100% - 16px);
    grid-template-columns: 1fr;
    padding: 5px;
    border-radius: 18px;
  }

  .work-category-label {
    min-height: 36px;
    justify-content: flex-start;
    padding: 5px 10px 7px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 247, 0.09);
  }

  .work-category-label > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .work-category-label small {
    display: block;
    order: 2;
  }

  .work-category-label > b {
    display: grid;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
  }

  .work-category-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    border-radius: 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .work-category-nav::-webkit-scrollbar {
    display: none;
  }

  .work-category-nav a,
  .work-category-nav a + a {
    min-width: 158px;
    min-height: 60px;
    flex: 0 0 auto;
    padding: 8px 12px;
    scroll-snap-align: start;
  }

  .work-category-nav a strong {
    font-size: 11px;
  }

  .portfolio-explorer {
    scroll-margin-top: calc(var(--header-h) + 142px);
  }

  .portfolio-explorer-menu {
    display: flex;
    gap: 5px;
    padding: 6px;
    overflow-x: auto;
    border-right: 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .portfolio-explorer-menu button,
  .portfolio-explorer-menu button:last-child {
    min-width: 208px;
    min-height: 106px;
    flex: 0 0 auto;
    padding: 19px 18px;
    border: 0;
    scroll-snap-align: start;
  }

  .portfolio-tab-indicator {
    top: 6px;
    bottom: 6px;
  }

  .portfolio-explorer-stage,
  .portfolio-explorer-panel {
    min-height: 680px;
  }

  .work-sites-page .works-hero-wash,
  .work-presentations-page .works-hero-wash {
    background:
      linear-gradient(180deg, rgba(2, 13, 14, 0.76) 0%, rgba(2, 13, 14, 0.52) 48%, rgba(2, 13, 14, 0.16) 80%),
      linear-gradient(90deg, rgba(2, 13, 14, 0.58), rgba(2, 13, 14, 0.08));
  }
}

@media (max-width: 560px) {
  .work-category-nav a,
  .work-category-nav a + a {
    min-width: 148px;
  }

  .portfolio-explorer-menu button,
  .portfolio-explorer-menu button:last-child {
    min-width: 188px;
    min-height: 102px;
  }

  .portfolio-explorer-menu button strong {
    font-size: 20px;
  }

  .portfolio-explorer-stage,
  .portfolio-explorer-panel {
    min-height: 620px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-category-label > i,
  .js .portfolio-explorer [data-tab-panel].is-active {
    animation: none;
  }

  .work-category-nav.is-ready .work-category-indicator,
  .portfolio-explorer-menu.is-ready .portfolio-tab-indicator {
    transition: opacity 0.01ms linear;
  }
}

/* Portfolio direction rail v4: one navigation, one editorial overview. */

.work-category-zone {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  padding: 22px 0 24px;
  scroll-margin-top: var(--header-h);
  border-top: 1px solid rgba(255, 253, 247, 0.07);
  border-bottom: 1px solid rgba(151, 255, 173, 0.08);
  background: #06110f;
}

.work-category-zone .work-category-bar {
  position: relative;
  top: auto;
  margin: 0 auto;
  box-shadow:
    0 18px 56px rgba(0, 7, 6, 0.28),
    inset 0 1px 0 rgba(255, 253, 247, 0.06);
}

.portfolio-overview {
  margin-top: -1px;
  padding-top: clamp(92px, 10vw, 148px);
  background: #06110f;
}

.portfolio-overview .portfolio-index-heading {
  margin-bottom: clamp(54px, 7vw, 92px);
}

.portfolio-evidence {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  overflow: hidden;
  border: 1px solid rgba(151, 255, 173, 0.18);
  border-radius: clamp(24px, 2.6vw, 38px);
  background: #0b1916;
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.25);
}

.portfolio-evidence-lead {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(34px, 4.5vw, 66px);
  border-right: 1px solid rgba(255, 253, 247, 0.11);
  background:
    radial-gradient(circle at 16% 18%, rgba(151, 255, 173, 0.11), transparent 31%),
    #081411;
}

.portfolio-evidence-lead > p:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 253, 247, 0.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portfolio-evidence-lead > p:first-child b {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.portfolio-evidence-lead h3 {
  max-width: 7.1em;
  margin-top: auto;
  font-size: clamp(52px, 5.7vw, 86px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.074em;
  text-wrap: balance;
}

.portfolio-evidence-lead > p:last-child {
  max-width: 440px;
  margin-top: clamp(30px, 4vw, 50px);
  color: rgba(255, 253, 247, 0.58);
  font-size: 12px;
  line-height: 1.65;
}

.portfolio-evidence-stage {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(26, 67, 255, 0.34), transparent 38%),
    radial-gradient(circle at 18% 84%, rgba(151, 255, 173, 0.12), transparent 34%),
    #0d1c19;
  isolation: isolate;
}

.portfolio-evidence-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 253, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(130deg, transparent 4%, #000 34%, #000 78%, transparent 100%);
}

.portfolio-evidence-stage figure {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 34px 84px rgba(0, 5, 20, 0.38);
  transition: transform 520ms var(--ease-out);
}

.portfolio-evidence-stage figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portfolio-evidence-stage figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 7px;
  background: rgba(4, 14, 13, 0.84);
  color: rgba(255, 253, 247, 0.74);
  font-size: 7px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.portfolio-evidence-site {
  z-index: 1;
  top: 7%;
  left: 6%;
  width: 72%;
  aspect-ratio: 8 / 5;
  transform: rotate(-0.7deg);
}

.portfolio-evidence-slide {
  z-index: 3;
  right: -3%;
  bottom: 6%;
  width: 52%;
  aspect-ratio: 16 / 9;
  transform: rotate(1deg);
}

.portfolio-evidence-system {
  position: absolute;
  z-index: 4;
  bottom: 8%;
  left: 8%;
  display: grid;
  width: 36%;
  min-width: 250px;
  gap: 17px;
  padding: 24px;
  border: 1px solid rgba(10, 18, 17, 0.18);
  border-radius: 16px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(13, 57, 28, 0.26);
  transform: rotate(-0.6deg);
}

.portfolio-evidence-system p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  opacity: 0.58;
}

.portfolio-evidence-system strong {
  max-width: 12em;
  font-size: clamp(20px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.portfolio-evidence-system small {
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.48;
}

.portfolio-evidence-route {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 23%;
  width: 70%;
  height: 1px;
  background: var(--coral);
  box-shadow: 0 0 18px rgba(255, 91, 61, 0.56);
  transform: rotate(-16deg);
  transform-origin: right center;
}

.portfolio-evidence:hover .portfolio-evidence-site {
  transform: translate3d(-5px, -4px, 0) rotate(-0.9deg);
}

.portfolio-evidence:hover .portfolio-evidence-slide {
  transform: translate3d(6px, 4px, 0) rotate(1.2deg);
}

.works-page .site-footer {
  width: 100%;
  margin: 0;
  padding-right: max(16px, calc((100vw - 1440px) / 2 + 20px));
  padding-left: max(16px, calc((100vw - 1440px) / 2 + 20px));
}

@media (max-width: 820px) {
  .work-category-zone {
    padding: 10px 0 12px;
  }

  .work-category-zone .work-category-bar {
    top: auto;
    width: calc(100% - 16px);
  }

  .portfolio-overview {
    padding-top: 82px;
  }

  .portfolio-evidence {
    display: block;
    min-height: 0;
    border-radius: 22px;
  }

  .portfolio-evidence-lead {
    min-height: 430px;
    padding: 30px 24px 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 247, 0.11);
  }

  .portfolio-evidence-lead h3 {
    max-width: 8em;
    font-size: clamp(48px, 12vw, 70px);
  }

  .portfolio-evidence-stage {
    min-height: 590px;
  }
}

@media (max-width: 560px) {
  .portfolio-overview .portfolio-index-heading {
    margin-bottom: 48px;
  }

  .portfolio-evidence {
    border-radius: 20px;
  }

  .portfolio-evidence-lead {
    min-height: 410px;
    padding: 26px 20px 30px;
  }

  .portfolio-evidence-lead h3 {
    font-size: clamp(44px, 13.2vw, 58px);
  }

  .portfolio-evidence-lead > p:last-child {
    font-size: 11px;
  }

  .portfolio-evidence-stage {
    min-height: 540px;
  }

  .portfolio-evidence-site {
    top: 6%;
    left: 5%;
    width: 88%;
  }

  .portfolio-evidence-slide {
    right: -7%;
    bottom: 7%;
    width: 72%;
  }

  .portfolio-evidence-system {
    bottom: 7%;
    left: 5%;
    width: 58%;
    min-width: 0;
    gap: 12px;
    padding: 17px;
  }

  .portfolio-evidence-system p {
    display: grid;
    gap: 3px;
  }

  .portfolio-evidence-system strong {
    font-size: 19px;
  }

  .portfolio-evidence-route {
    right: 2%;
    bottom: 24%;
    width: 86%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-evidence-stage figure {
    transition: none;
  }

  .portfolio-evidence:hover .portfolio-evidence-site,
  .portfolio-evidence:hover .portfolio-evidence-slide {
    transform: none;
  }
}
