/*
 * Norren editorial experience layer
 *
 * Keeps the original semantic page and brand system, then adds the spatial
 * rhythm, stacked chapters and large-scale movement of the reference site.
 */

:root {
  --norren-paper: #f2efe8;
  --norren-surface: #fbfaf6;
  --norren-ink: #0f2233;
  --norren-cedar: #c46a3a;
  --norren-cedar-ink: #06191b;
  --norren-cedar-dark: #9b4e2b;
  --editorial-gutter: clamp(20px, 2.2vw, 34px);
  --editorial-rule: rgba(15, 34, 51, 0.2);
  --chapter-rule: rgba(255, 255, 255, 0.42);
}

html {
  scroll-padding-top: 88px;
}

body {
  background: var(--norren-paper);
}

main {
  position: relative;
  z-index: 1;
}

.paper-grain {
  z-index: 500;
  opacity: 0.035;
}

.button {
  min-height: 48px;
  border-radius: 999px;
}

/* Header: compact floating controls over an editorial canvas. */
.site-header {
  position: fixed;
  z-index: 600;
  top: 0;
  right: 0;
  left: 0;
  height: 86px;
  border: 0;
  background: transparent;
}

.site-header .container {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
}

.header-inner {
  height: 86px;
}

.brand {
  gap: 10px;
}

.brand-mark--small {
  width: 40px;
  height: 40px;
  border-color: rgba(15, 34, 51, 0.2);
}

.brand-mark img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.brand-name strong {
  color: var(--norren-ink);
  font-family: var(--font-serif-jp);
  font-size: 1rem;
}

.brand-name small {
  color: rgba(15, 34, 51, 0.62);
}

.primary-nav {
  position: relative;
  gap: 0;
  isolation: isolate;
}

.primary-nav > :is(a, button) {
  --nav-resting-margin-left: 0px;
  --nav-hover-margin-left: 0px;
  --nav-hover-margin-right: 0px;
  position: relative;
  z-index: 2;
  margin-right: var(--nav-hover-margin-right);
  margin-left: calc(var(--nav-resting-margin-left) + var(--nav-hover-margin-left));
  transition:
    margin 300ms cubic-bezier(0.19, 1, 0.22, 1),
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.primary-nav > a:not(.button) {
  min-height: 42px;
  padding: 12px clamp(15px, 1.5vw, 23px);
  border: 1px solid rgba(15, 34, 51, 0.08);
  border-radius: 999px;
  color: var(--norren-ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 5px 18px rgba(15, 34, 51, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.primary-nav > a:not(.button) + a:not(.button) {
  --nav-resting-margin-left: -5px;
}

.primary-nav.is-nav-motion-ready > .nav-motion-item,
.primary-nav.is-nav-motion-ready > .nav-motion-item + .nav-motion-item {
  --nav-resting-margin-left: 0px;
}

.primary-nav.is-nav-motion-ready > .nav-motion-item {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.primary-nav.is-nav-motion-ready > .nav-motion-item::before {
  position: absolute;
  inset: -20px;
  content: "";
  pointer-events: none;
}

.nav-motion-shape {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: none;
  width: 0;
  height: 0;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 9px rgba(15, 34, 51, 0.045));
}

.nav-motion-shape__body {
  fill: rgba(251, 250, 246, 0.96);
  transition: fill 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-motion-shape__glow {
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 220ms ease;
}

.primary-nav.has-nav-motion-glow .nav-motion-shape__glow {
  opacity: 1;
}

.primary-nav > a:not(.button)::after {
  display: none;
}

.primary-nav > .button--header {
  --nav-resting-margin-left: 10px;
  min-height: 42px;
  padding-inline: 20px;
  color: var(--norren-surface);
  background: var(--norren-ink);
  box-shadow: none;
}

.button--header:hover {
  color: var(--norren-cedar-ink);
  background: var(--norren-cedar);
  transform: none;
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .primary-nav.is-nav-motion-ready > .nav-motion-item:hover {
    --nav-hover-margin-left: 20px;
    --nav-hover-margin-right: 20px;
    z-index: 3;
    transition:
      margin 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
      color 240ms ease,
      background-color 240ms ease,
      border-color 240ms ease,
      box-shadow 240ms ease;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item:hover::before {
    pointer-events: auto;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-first:hover {
    --nav-hover-margin-left: 0px;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-first:hover::before {
    left: 0;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-last:hover {
    --nav-hover-margin-right: 0px;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-last:hover::before {
    right: 0;
  }
}

@media (min-width: 1101px) {
  .primary-nav.is-nav-motion-ready .nav-motion-shape {
    display: block;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item:focus-visible {
    --nav-hover-margin-left: 20px;
    --nav-hover-margin-right: 20px;
    transition:
      margin 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
      color 240ms ease,
      background-color 240ms ease,
      border-color 240ms ease,
      box-shadow 240ms ease;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-first:focus-visible {
    --nav-hover-margin-left: 0px;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item.is-nav-motion-last:focus-visible {
    --nav-hover-margin-right: 0px;
  }
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(15, 34, 51, 0.12);
  background: rgba(242, 239, 232, 0.88);
  box-shadow: 0 10px 30px rgba(15, 34, 51, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled.is-over-dark:not(.is-menu-open) {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  background: rgba(15, 34, 51, 0.86);
  box-shadow: 0 10px 30px rgba(6, 18, 27, 0.2);
}

.site-header.is-over-dark:not(.is-menu-open) .brand-name strong,
.site-header.is-over-dark:not(.is-menu-open) .brand-name small {
  color: var(--norren-surface);
}

.site-header.is-over-dark:not(.is-menu-open) .brand-mark {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header.is-over-dark:not(.is-menu-open) .primary-nav > a:not(.button) {
  color: var(--norren-ink);
}

.site-header.is-over-dark:not(.is-menu-open) .button--header {
  color: var(--norren-ink);
  background: var(--norren-surface);
}

/* Hero: the Wix replica's editor-to-gallery handoff, carrying Norren's own copy and network. */
.hero {
  --hero-progress: 0;
  --hero-copy-progress: 0;
  --hero-intro-height: max(500px, calc(62.2svh - 15px));
  --hero-editor-scale: 1;
  --hero-editor-x: 0px;
  --hero-editor-y: 0px;
  --hero-panel-shift: 0px;
  --hero-collage-opacity: 0;
  --hero-collage-scale: 1.32;
  --hero-scene-wash: 1;
  --hero-mobile-collage-scale: 1.51;
  --hero-mobile-row-1-x: 0px;
  --hero-mobile-row-2-x: 0px;
  --hero-mobile-row-3-x: 0px;
  position: relative;
  height: calc(100svh + 98.58vw);
  min-height: 0;
  overflow: clip;
  padding: 0;
  color: var(--norren-ink);
  background: #fff;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(15, 34, 51, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 34, 51, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 32% 2%, #d8e2ec 2.48766%, #fff 55.6229%);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero-stage::before,
.hero-stage::after {
  display: none;
}

.hero-network-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: calc(0.48 - (var(--hero-progress) * 0.36));
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-collage-wall {
  position: absolute;
  z-index: 1;
  top: -17svh;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8vw;
  opacity: var(--hero-collage-opacity);
  pointer-events: none;
  transform: scale(var(--hero-collage-scale));
  transform-origin: 50% 48%;
  will-change: opacity, transform;
}

.hero-collage-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.4vw;
}

.hero-collage-column--1 {
  transform: translateY(0);
}

.hero-collage-column--2 {
  transform: translateY(0);
}

.hero-collage-column--3 {
  transform: translateY(0);
}

.hero-collage-card {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.785;
  background: #edf1f5;
  object-fit: cover;
}

picture.hero-collage-card {
  position: relative;
  overflow: hidden;
}

.hero-collage-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-showcase-video {
  height: auto;
  pointer-events: none;
}

.hero-collage-card--editor-target {
  aspect-ratio: 1.7773;
  background: transparent;
}

.hero-scene-wash {
  position: absolute;
  z-index: 2;
  top: var(--hero-intro-height);
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(163.51% 65.84% at 100% 6.89%, #d8e2ec 0%, #fff 100%);
  opacity: var(--hero-scene-wash);
  pointer-events: none;
  will-change: opacity;
}

.hero-grid {
  position: relative;
  z-index: 5;
  display: block;
  height: var(--hero-intro-height);
  min-height: 0;
  padding-top: clamp(102px, 12svh, 138px);
  pointer-events: none;
}

.hero-copy {
  width: min(100%, 1120px);
  margin-inline: auto;
  text-align: center;
  opacity: calc(1 - var(--hero-copy-progress));
  pointer-events: auto;
  transform: translate3d(0, calc(var(--hero-copy-progress) * -46px), 0);
  will-change: transform, opacity;
}

.hero-copy[inert],
.hero-copy[inert] * {
  pointer-events: none;
}

.hero-title {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(3.65rem, 6.15vw, 6.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-title > span,
.hero-title em {
  display: block;
}

.hero-title > span::after {
  content: "";
}

.hero-title em {
  color: var(--norren-cedar);
}

.hero-lead {
  max-width: 880px;
  margin: 22px auto 0;
  color: rgba(15, 34, 51, 0.76);
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  line-height: 1.9;
}

.hero-actions,
.hero-assurances {
  justify-content: center;
}

.hero-actions {
  margin-top: 24px;
}

.hero-assurances {
  margin-top: 22px;
  color: rgba(15, 34, 51, 0.7);
}

.hero-media-stage {
  position: relative;
  z-index: 3;
  min-height: 650px;
  overflow: visible;
  pointer-events: none;
}

.hero-editor-frame {
  position: relative;
  overflow: hidden;
  overflow: clip;
  width: 75.9076vw;
  margin: 0 auto;
  aspect-ratio: 1.7773;
  background: #eaf1f8;
  transform: translate3d(var(--hero-editor-x), var(--hero-editor-y), 0) scale(var(--hero-editor-scale));
  transform-origin: top left;
  will-change: transform;
}

.hero-editor-frame picture,
.hero-editor-frame picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-editor-frame picture img {
  object-fit: cover;
}

.hero-editor-panel {
  position: absolute;
  top: 4.494%;
  right: 0.05%;
  width: 14.36%;
  height: 95.636%;
  object-fit: fill;
  object-position: top right;
  transform: translateX(var(--hero-panel-shift));
  will-change: transform;
}

.hero-mobile-collage {
  display: none;
}

.hero.is-measuring-handoff .hero-editor-frame {
  transform: none;
}

.hero.is-measuring-handoff .hero-collage-wall {
  transform: scale(1.32);
}

.hero .button--primary {
  color: var(--norren-surface);
  background: var(--norren-ink);
  box-shadow: none;
}

.hero .button--primary:hover {
  color: var(--norren-cedar-ink);
  background: var(--norren-cedar);
}

.hero .button--primary .button-arrow {
  border-left-color: rgba(255, 255, 255, 0.22);
}

.hero .button--secondary {
  border-color: rgba(15, 34, 51, 0.3);
  color: var(--norren-ink);
  background: rgba(251, 250, 246, 0.72);
}

/* Service facts: full FeatureCard anatomy on the brand's cedar field. */
.proof-rail {
  position: relative;
  z-index: 4;
  overflow: visible;
  padding: clamp(36px, 4.5vw, 64px) var(--editorial-gutter);
  color: var(--norren-cedar-ink);
  border: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.17), transparent 30%),
    linear-gradient(115deg, #cc7446 0%, var(--norren-cedar) 54%, #b75d34 100%);
}

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

.proof-grid {
  width: min(100%, 1320px);
  max-width: 1320px;
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
}

.proof-grid > .proof-card,
.proof-grid > .proof-card:last-child {
  --proof-card-delay: 0ms;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: clamp(24px, 2.25vw, 32px);
  border: 1px solid rgba(15, 34, 51, 0.18);
  border-radius: 20px;
  isolation: isolate;
  color: var(--norren-ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 12px 30px rgba(79, 35, 17, 0.12);
  text-align: center;
  transform: translateZ(0);
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out);
}

.proof-card__icon {
  display: grid;
  width: clamp(80px, 7vw, 96px);
  height: clamp(80px, 7vw, 96px);
  flex: 0 0 auto;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(15, 34, 51, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.62), transparent 46%),
    rgba(196, 106, 58, 0.14);
  transition:
    transform 300ms var(--ease-out),
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out);
}

.proof-card__icon--support {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.62), transparent 46%),
    rgba(32, 78, 102, 0.12);
}

.proof-number {
  min-width: 0;
  color: var(--norren-ink);
  font-family: var(--font-serif-jp);
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.proof-card__title {
  display: grid;
  min-height: 3em;
  max-width: 20ch;
  margin: 0;
  place-items: center;
  color: var(--norren-ink);
  font-family: var(--font-sans-jp);
  font-size: clamp(0.96rem, 1.18vw, 1.08rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.proof-grid > .proof-card > .proof-card__description {
  max-width: 26ch;
  margin: 8px 0 0;
  color: rgba(15, 34, 51, 0.68);
  font-family: var(--font-sans-jp);
  font-size: 0.82rem;
  line-height: 1.75;
  text-wrap: balance;
}

.reveal-ready .proof-card {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 500ms var(--ease-out) var(--proof-card-delay),
    translate 500ms var(--ease-out) var(--proof-card-delay),
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out);
}

.reveal-ready .proof-card.is-visible {
  opacity: 1;
  translate: 0 0;
}

.proof-card:nth-child(2) {
  --proof-card-delay: 200ms;
}

.proof-card:nth-child(3) {
  --proof-card-delay: 400ms;
}

.proof-card:nth-child(4) {
  --proof-card-delay: 600ms;
}

@media (min-width: 681px) and (hover: hover) and (pointer: fine) {
  .proof-grid .proof-card.is-visible:hover,
  html:not(.reveal-ready) .proof-grid .proof-card:hover {
    z-index: 2;
    border-color: rgba(15, 34, 51, 0.34);
    background-color: var(--norren-surface);
    box-shadow:
      0 24px 50px rgba(72, 30, 13, 0.23),
      inset 0 1px rgba(255, 255, 255, 0.72);
    transform: translateY(-8px);
  }

  .proof-grid .proof-card.is-visible:hover .proof-card__icon,
  html:not(.reveal-ready) .proof-grid .proof-card:hover .proof-card__icon {
    border-color: rgba(15, 34, 51, 0.28);
    background-color: rgba(196, 106, 58, 0.2);
    transform: scale(1.06);
  }
}

/* Full-bleed opening story. */
.section--problem {
  min-height: 100svh;
  padding: 0;
  color: var(--norren-surface);
  background: var(--norren-ink);
}

.section--problem::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 18, 27, 0.2), rgba(6, 18, 27, 0.28) 38%, rgba(6, 18, 27, 0.92)),
    linear-gradient(90deg, rgba(6, 18, 27, 0.4), transparent 70%);
}

.problem-media {
  position: absolute;
  inset: 0;
  height: 100%;
}

.problem-video {
  transform: scale(calc(1.03 + (var(--section-progress, 0) * 0.03)));
}

.problem-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  min-height: 100svh;
  align-content: end;
  padding: 126px 0 42px;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px clamp(36px, 8vw, 120px);
}

.problem-grid > .section-heading,
.problem-grid > .problem-copy {
  width: auto;
  max-width: none;
  margin: 0;
}

.problem-grid > .section-heading {
  grid-column: 1;
}

.problem-grid > .problem-copy {
  grid-column: 2;
}

.problem-grid > .section-heading h2 {
  max-width: 780px;
  color: var(--norren-surface);
  font-size: clamp(2.2rem, 4.4vw, 5.2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section--problem .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.problem-copy .large-copy {
  color: var(--norren-surface);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.75;
}

.problem-copy .problem-highlight {
  margin-inline: 0.04em;
  padding-inline: 0.08em;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(
    to top,
    var(--norren-cedar-dark) 0 46%,
    transparent 46% 100%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.problem-copy > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.trigger-list {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
}

.trigger-list article {
  min-height: 188px;
  padding: 22px 28px 4px 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.trigger-list article + article {
  padding-left: 28px;
}

.trigger-list article:last-child {
  border-right: 0;
}

.trigger-list h3 {
  color: var(--norren-surface);
}

.trigger-list p,
.trigger-list article > span {
  color: rgba(255, 255, 255, 0.66);
}

/* The four real Norren services become scroll-stacked full-screen chapters. */
.section--services {
  overflow: visible;
  padding: 0;
  background: var(--norren-paper);
}

.section--services::before {
  display: none;
}

.section--services > .container {
  width: 100%;
  max-width: none;
}

.section--services .section-intro {
  min-height: 84svh;
  align-items: center;
  padding: 120px var(--editorial-gutter);
  border-bottom: 1px solid var(--editorial-rule);
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(50px, 11vw, 180px);
}

.section--services .section-intro h2 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section--services .section-intro > p {
  max-width: 420px;
  color: rgba(15, 34, 51, 0.72);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
}

.service-grid {
  display: block;
  margin: 0;
}

.service-card,
.service-card--wide,
.service-card--accent {
  --chapter-progress: 0;
  position: relative;
  top: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: max(100svh, 48rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--norren-surface);
  background: var(--norren-ink);
  box-shadow: none;
  isolation: isolate;
  transform: none;
  transition: none;
}

.service-card:not(:last-child) {
  margin-bottom: 0;
}

.service-card + .service-card {
  margin-top: 0;
}

.service-card:nth-child(1) { z-index: 1; }
.service-card:nth-child(2) { z-index: 2; }
.service-card:nth-child(3) { z-index: 3; }
.service-card:nth-child(4) { z-index: 4; }

.service-card.reveal,
.service-card.reveal.is-visible,
.service-card:hover {
  opacity: 1;
  border: 0;
  box-shadow: none;
  transform: none;
}

.service-card-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(calc(1.07 - (var(--chapter-progress) * 0.035))) translate3d(0, calc((0.5 - var(--chapter-progress)) * 18px), 0);
  filter: saturate(0.82) contrast(1.03);
}

.section--services.is-motion-near .service-card-media {
  will-change: transform;
}

.service-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 27, 0.38), rgba(6, 18, 27, 0.18) 37%, rgba(6, 18, 27, 0.84) 100%),
    linear-gradient(90deg, rgba(6, 18, 27, 0.3), transparent 70%);
  content: "";
}

.service-card::after,
.service-card--wide::after,
.service-card--accent::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  display: block;
  width: auto;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--chapter-rule);
  box-shadow: none;
  content: "";
  transform: none;
}

.service-card-top {
  position: absolute;
  z-index: 2;
  top: calc(50% - 54px);
  right: var(--editorial-gutter);
  left: var(--editorial-gutter);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(80px, 20vw, 310px);
}

.service-number {
  color: var(--norren-surface);
  font-family: var(--font-sans-jp);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-tag,
.service-card--dark .service-tag {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--norren-cedar-ink);
  background: var(--norren-cedar);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.service-card:nth-child(2) .service-tag {
  background: #d8dfc6;
}

.service-card:nth-child(3) .service-tag {
  background: #d8e4e7;
}

.service-card:nth-child(4) .service-tag {
  background: #ead2bf;
}

.service-card-copy,
.service-card--wide > .service-card-copy {
  position: absolute;
  z-index: 2;
  top: calc(50% + 34px);
  left: 25.6%;
  width: min(66vw, 820px);
  max-width: none;
  margin: 0;
}

/* Outranks the original nth-child rule retained for the pre-photo markup. */
.service-card.service-card--wide > .service-card-copy {
  position: absolute;
  z-index: 2;
  top: calc(50% + 34px);
  left: 25.6%;
  width: min(66vw, 820px);
  max-width: none;
  margin: 0;
}

.service-card h3,
.service-card--wide h3,
.service-card--accent h3 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-sans-jp);
  font-size: clamp(2rem, 4.1vw, 4.5rem);
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.service-card p,
.service-card--wide p {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  line-height: 1.9;
}

.service-detail-link {
  color: var(--norren-surface);
  text-decoration-color: rgba(255, 255, 255, 0.52);
}

.service-card ul {
  position: absolute;
  z-index: 2;
  right: var(--editorial-gutter);
  bottom: 28px;
  left: 25.6%;
  gap: 7px;
}

.service-card li {
  padding: 7px 12px;
  border-color: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--norren-surface);
  background: rgba(15, 34, 51, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-line {
  display: none;
}

/* Statement and three-step sequence. */
.section--process {
  z-index: 5;
  overflow: hidden;
  padding: clamp(120px, 14vw, 210px) 0;
  color: var(--norren-surface);
  background: var(--norren-ink);
}

.section--process::before {
  top: -18vw;
  right: -15vw;
  width: 48vw;
  height: 48vw;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 7vw rgba(255, 255, 255, 0.015),
    0 0 0 14vw rgba(255, 255, 255, 0.01);
}

.process-intro {
  max-width: none;
}

.process-intro h2 {
  max-width: 1040px;
  font-size: clamp(3rem, 6.5vw, 7.4rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.process-intro > p:last-child {
  max-width: 580px;
  margin-top: 42px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  margin-top: clamp(90px, 12vw, 170px);
}

.process-list::before {
  background: rgba(255, 255, 255, 0.24);
}

.process-list li {
  min-height: 236px;
  padding: 42px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  grid-template-columns: 0.55fr 1.55fr 0.72fr;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.process-marker {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--norren-surface);
  background: transparent;
}

.process-label,
.process-output,
.process-content > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.process-content h3 {
  color: var(--norren-surface);
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  font-weight: 500;
}

/* Price, fit and FAQ retain the factual content but adopt the open grid. */
.section--scope {
  padding: clamp(110px, 13vw, 190px) 0;
  background:
    linear-gradient(rgba(15, 34, 51, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 34, 51, 0.028) 1px, transparent 1px),
    var(--norren-paper);
  background-size: 72px 72px;
}

.scope-grid {
  align-items: start;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(64px, 12vw, 180px);
}

.scope-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.scope-card {
  border: 1px solid var(--norren-ink);
  border-radius: 0;
  background: rgba(251, 250, 246, 0.76);
  box-shadow: none;
}

.scope-card::before {
  background: var(--norren-cedar);
}

.section--fit {
  padding: clamp(100px, 12vw, 170px) 0;
  color: var(--norren-cedar-ink);
  background: var(--norren-cedar);
}

.fit-grid,
.fit-copy {
  max-width: none;
}

.fit-copy {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(50px, 10vw, 150px);
}

.fit-copy > .section-heading,
.fit-list {
  min-width: 0;
}

.section--fit .section-kicker {
  color: var(--norren-cedar-ink);
}

.fit-copy .section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.fit-list {
  border-top: 1px solid rgba(15, 34, 51, 0.42);
}

.fit-list li {
  min-height: 108px;
  border-bottom-color: rgba(15, 34, 51, 0.42);
}

.fit-list li > span {
  border-color: rgba(15, 34, 51, 0.42);
  color: var(--norren-cedar-ink);
  background: transparent;
}

.fit-list p {
  color: var(--norren-cedar-ink);
}

.fit-list strong {
  color: var(--norren-cedar-ink);
}

.section--faq {
  padding: clamp(110px, 13vw, 190px) 0;
  background: var(--norren-surface);
}

.faq-grid {
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(54px, 10vw, 150px);
}

.faq-grid .section-heading {
  position: sticky;
  top: 122px;
  align-self: start;
}

.faq-grid .section-heading h2 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

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

.faq-list details {
  border-bottom-color: rgba(15, 34, 51, 0.34);
}

.faq-list summary {
  min-height: 106px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

/* Consultation finish. */
.contact {
  padding: clamp(110px, 13vw, 180px) 0;
  color: var(--norren-surface);
  background:
    radial-gradient(circle at 88% 15%, rgba(196, 106, 58, 0.22), transparent 27%),
    var(--norren-ink);
}

.contact::before {
  opacity: 0.15;
}

.contact-grid {
  align-items: start;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(60px, 10vw, 150px);
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.contact-form {
  border: 0;
  border-radius: 18px;
  color: var(--norren-ink);
  background: var(--norren-surface);
  box-shadow: none;
}

/* Footer: a compact editorial close. */
.site-footer {
  position: relative;
  z-index: 6;
  overflow: hidden;
  padding: 0;
  color: var(--norren-cedar-ink);
  background: var(--norren-cedar);
}

.footer-grid {
  display: grid;
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 74px 0 80px;
  border-bottom: 1px solid rgba(15, 34, 51, 0.45);
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
  gap: clamp(36px, 6vw, 90px);
}

.brand--footer .brand-name strong,
.brand--footer .brand-name small,
.footer-grid > div > p {
  color: var(--norren-cedar-ink);
}

.footer-grid > div:first-child > p {
  max-width: 270px;
  margin-top: 26px;
}

.footer-grid nav {
  display: flex;
  min-width: 190px;
  align-items: flex-start;
  flex-direction: column;
  justify-self: end;
  gap: 4px;
  color: var(--norren-cedar-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.footer-grid nav a {
  color: var(--norren-cedar-ink);
}

.footer-grid nav a {
  position: relative;
  padding-block: 4px;
}

.footer-grid nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

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

.footer-bottom {
  width: calc(100% - (var(--editorial-gutter) * 2));
  max-width: none;
  padding: 24px 0 30px;
  border: 0;
  color: var(--norren-cedar-ink);
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: clamp(3rem, 7.8vw, 5.6rem);
  }

  .service-card-copy,
  .service-card--wide > .service-card-copy,
  .service-card.service-card--wide > .service-card-copy,
  .service-card ul {
    left: 29%;
  }

  .service-card h3,
  .service-card--wide h3,
  .service-card--accent h3 {
    font-size: clamp(2rem, 4.4vw, 3.8rem);
  }

}

@media (max-width: 1000px) {
  .hero {
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #eaf1f8;
  }

  .hero-stage {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background:
      linear-gradient(rgba(15, 34, 51, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 34, 51, 0.018) 1px, transparent 1px),
      linear-gradient(194deg, #d8e2ec 0%, #fff 56.8531%);
    background-size: 72px 72px, 72px 72px, auto;
  }

  .hero-collage-wall,
  .hero-scene-wash {
    display: none;
  }

  .hero-network-canvas {
    z-index: 0;
    opacity: 0.3;
  }

  .hero-grid {
    position: relative;
    z-index: 5;
    height: auto;
    min-height: 0;
    padding-top: clamp(106px, 13svh, 136px);
    padding-bottom: clamp(60px, 8vw, 88px);
  }

  .hero-copy {
    width: min(100%, 820px);
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero-title {
    font-size: clamp(2.7rem, 8.85vw, 5.6rem);
  }

  .hero-lead {
    max-width: 640px;
  }

  .hero-media-stage {
    height: 168.424vw;
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    background: #eaf1f8;
  }

  .hero-editor-frame {
    display: none;
  }

  .hero-mobile-collage {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(var(--hero-mobile-collage-scale));
    transform-origin: left top;
    will-change: transform;
  }

  .hero-mobile-row {
    position: absolute;
    left: 0;
    display: flex;
    width: max-content;
    align-items: stretch;
    gap: 5.414vw;
    will-change: transform;
  }

  .hero-mobile-row--top {
    top: 8.333vw;
    height: 46.899vw;
    transform: translate3d(var(--hero-mobile-row-1-x), 0, 0);
  }

  .hero-mobile-row--middle {
    top: 60.787vw;
    height: 46.875vw;
    transform: translate3d(calc(var(--hero-mobile-row-2-x) - 268.362vw), 0, 0);
  }

  .hero-mobile-row--bottom {
    top: 113.216vw;
    height: 46.875vw;
    transform: translate3d(var(--hero-mobile-row-3-x), 0, 0);
  }

  .hero-mobile-card {
    display: block;
    width: 84.04vw;
    height: 100%;
    flex: 0 0 auto;
    background: #fff;
    box-shadow: 0 2px 9px rgba(31, 45, 60, 0.09);
    object-fit: cover;
    user-select: none;
  }

  .hero-mobile-card--editor {
    width: 83.2vw;
  }

  picture.hero-mobile-card {
    position: relative;
    overflow: hidden;
  }

  .hero-mobile-card__image {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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

  .proof-grid > .proof-card,
  .proof-grid > .proof-card:last-child {
    min-height: 260px;
    align-items: center;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(15, 34, 51, 0.18);
  }
}

@media (max-width: 1100px) {
  .site-header,
  .header-inner {
    height: 72px;
  }

  .site-header.is-menu-open {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
    border-color: rgba(15, 34, 51, 0.2);
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100dvh;
    max-height: none;
    padding: 112px var(--editorial-gutter) 40px;
    background:
      radial-gradient(circle at 85% 86%, rgba(196, 106, 58, 0.22), transparent 28%),
      var(--norren-paper);
    visibility: hidden;
    transition:
      opacity 220ms ease,
      transform 280ms var(--ease-out),
      visibility 0s linear 280ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-nav > a:not(.button),
  .primary-nav > a:not(.button) + a:not(.button) {
    min-height: 0;
    margin: 0;
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    color: var(--norren-ink);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-serif-jp);
    font-size: clamp(1.8rem, 7vw, 3.8rem);
  }

  .primary-nav > .button--header {
    width: 100%;
    margin: auto 0 0;
  }

  .site-header.is-menu-open .brand-name strong,
  .site-header.is-menu-open .brand-name small {
    color: var(--norren-ink);
  }

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

  .problem-grid > .section-heading,
  .problem-grid > .problem-copy {
    grid-column: 1;
  }

  .problem-grid > .section-heading h2 {
    max-width: 760px;
    font-size: clamp(2.5rem, 7vw, 4.8rem);
  }

  .problem-copy {
    max-width: 720px;
  }

  .trigger-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section--services .section-intro {
    min-height: 72svh;
    padding-block: 96px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section--services .section-intro h2 {
    font-size: clamp(2.7rem, 8vw, 5.2rem);
  }

  .service-card-copy,
  .service-card--wide > .service-card-copy,
  .service-card.service-card--wide > .service-card-copy,
  .service-card ul {
    left: 24%;
  }

  .service-card-copy,
  .service-card--wide > .service-card-copy,
  .service-card.service-card--wide > .service-card-copy {
    width: min(70vw, 700px);
  }

  .process-list li {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .process-output {
    grid-column: 2;
  }

  .scope-grid,
  .fit-copy,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .fit-copy,
  .faq-grid,
  .contact-grid {
    gap: 64px;
  }

  .faq-grid .section-heading,
  .contact-copy {
    position: relative;
    top: auto;
  }

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

@media (max-width: 750px) {
  .hero {
    margin-bottom: -0.5px;
  }

  .hero-grid {
    padding-top: 106px;
    padding-bottom: 58px;
  }

  .hero-copy {
    display: grid;
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }

  .hero-title {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(2.5rem, 12vw, 4.4rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
  }

  .hero-lead {
    max-width: 34em;
    margin-inline: auto;
    margin-top: 25px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.9;
  }

  .hero-actions,
  .hero-assurances {
    justify-content: center;
  }

  .hero-actions {
    width: min(100%, 22.5rem);
    margin-inline: auto;
  }

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

  .hero-assurances {
    display: grid;
    width: fit-content;
    max-width: min(100%, 28rem);
    margin-inline: auto;
    margin-top: 22px;
    justify-items: start;
    gap: 7px;
  }

  .hero-assurances li {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    text-align: left;
  }

}

@media (max-width: 680px) {
  .brand-name small {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .hero-network-canvas {
    opacity: 0.26;
  }

  .hero-grid {
    height: auto;
    min-height: 0;
    padding-top: 112px;
  }

  .hero-copy {
    display: grid;
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }

  .hero-title {
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: 1.3;
    letter-spacing: -0.04em;
  }

  .hero-title > span,
  .hero-title em {
    display: block;
  }

  .hero-title em {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
    white-space: normal;
  }

  .hero-title > span::after {
    content: "";
  }

  .hero-lead {
    max-width: 34em;
    margin-inline: auto;
    margin-top: 25px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.9;
  }

  .hero-actions,
  .hero-assurances {
    justify-content: center;
  }

  .hero-actions {
    width: min(100%, 22.5rem);
    margin-inline: auto;
  }

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

  .hero-assurances {
    display: grid;
    width: fit-content;
    max-width: min(100%, 28rem);
    margin-inline: auto;
    justify-items: start;
    gap: 7px;
    margin-top: 22px;
  }

  .hero-assurances li {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    text-align: left;
  }

  .proof-rail {
    overflow: hidden;
    padding: 32px 0;
  }

  .proof-grid {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 2px 20px 14px;
    grid-template-columns: none;
    grid-template-rows: minmax(260px, auto);
    grid-auto-columns: clamp(260px, 82vw, 360px);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(15, 34, 51, 0.42) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .proof-grid::-webkit-scrollbar {
    height: 6px;
  }

  .proof-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(15, 34, 51, 0.42);
  }

  .proof-grid:focus-visible {
    outline: 2px solid var(--norren-ink);
    outline-offset: -4px;
    box-shadow: none;
  }

  .proof-grid > .proof-card,
  .proof-grid > .proof-card:last-child {
    min-width: 0;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(15, 34, 51, 0.18);
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .proof-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }

  .proof-number {
    min-width: 0;
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .proof-card__title {
    min-height: 3em;
    font-size: 0.98rem;
  }

  .proof-grid > .proof-card > .proof-card__description {
    font-size: 0.8rem;
  }

  .section--problem {
    min-height: 1100px;
  }

  .problem-grid {
    min-height: 1100px;
    padding: 112px 0 30px;
  }

  .problem-grid > .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.35rem);
  }

  .problem-copy .large-copy {
    font-size: 1rem;
  }

  .problem-copy > p:last-child {
    font-size: 0.82rem;
  }

  .trigger-list {
    grid-template-columns: 1fr;
  }

  .trigger-list article,
  .trigger-list article + article {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .trigger-list article:last-child {
    border-bottom: 0;
  }

  .section--services .section-intro {
    min-height: 74svh;
    padding: 86px var(--editorial-gutter);
  }

  .section--services .section-intro h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .service-card,
  .service-card--wide,
  .service-card--accent {
    --mobile-chapter-line: clamp(350px, 45svh, 430px);
    display: flex;
    min-height: max(100svh, 48rem);
    flex-direction: column;
    padding-inline: var(--editorial-gutter);
  }

  .service-card-media {
    object-position: center;
  }

  .service-card:nth-child(1) .service-card-media { object-position: 52% center; }
  .service-card:nth-child(2) .service-card-media { object-position: 56% center; }
  .service-card:nth-child(3) .service-card-media { object-position: 46% center; }
  .service-card:nth-child(4) .service-card-media { object-position: 52% center; }

  .service-card::before {
    background: linear-gradient(180deg, rgba(6, 18, 27, 0.28), rgba(6, 18, 27, 0.3) 36%, rgba(6, 18, 27, 0.93));
  }

  .service-card::after,
  .service-card--wide::after,
  .service-card--accent::after {
    top: var(--mobile-chapter-line);
  }

  .service-card-top {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    margin-top: calc(var(--mobile-chapter-line) - 47px);
    gap: 0;
    justify-content: space-between;
  }

  .service-card-copy,
  .service-card--wide > .service-card-copy,
  .service-card.service-card--wide > .service-card-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 47px;
  }

  .service-card h3,
  .service-card--wide h3,
  .service-card--accent h3 {
    font-size: clamp(1.7rem, 7.7vw, 2.55rem);
    line-height: 1.35;
  }

  .service-card p,
  .service-card--wide p {
    margin-top: 16px;
    font-size: 0.78rem;
    line-height: 1.75;
  }

  .service-card ul {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: auto;
    padding-bottom: 18px;
  }

  .process-intro h2 {
    font-size: clamp(2.55rem, 11vw, 4.15rem);
  }

  .process-list li {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 50px 1fr;
    gap: 20px;
  }

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

  .process-output {
    grid-column: 2;
  }

  .scope-copy h2,
  .fit-copy .section-heading h2,
  .faq-grid .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
  }

  .scope-card,
  .contact-form {
    padding: 26px 20px;
  }

  .fit-copy,
  .faq-grid,
  .contact-grid {
    gap: 48px;
  }

  .fit-list li {
    padding-block: 21px;
  }

  .faq-list summary {
    min-height: 88px;
  }

  .footer-grid {
    padding: 80px 0 64px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-grid nav {
    min-width: 0;
    justify-self: start;
  }

  .footer-bottom {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 679px) {
  .service-card,
  .service-card--wide,
  .service-card--accent {
    position: relative;
    height: auto;
    min-height: max(100svh, 48rem);
    margin-bottom: 0;
  }

  .service-card:not(:last-child) {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav.is-nav-motion-ready > .nav-motion-item {
    --nav-hover-margin-left: 0px !important;
    --nav-hover-margin-right: 0px !important;
    transition:
      color 240ms ease,
      background-color 240ms ease,
      border-color 240ms ease,
      box-shadow 240ms ease;
  }

  .nav-motion-shape__glow {
    display: none;
  }

  .hero-network-canvas {
    opacity: 0.3;
  }

  .hero-editor-frame,
  .hero-editor-panel,
  .hero-collage-wall,
  .hero-mobile-collage,
  .hero-mobile-row,
  .hero-copy,
  .problem-video,
  .service-card-media {
    transform: none !important;
  }

  .hero-copy {
    opacity: 1;
  }

  .reveal-ready .proof-card,
  .proof-grid .proof-card:hover {
    opacity: 1;
    translate: none;
    transform: none !important;
  }

  .proof-card__icon,
  .proof-card:hover .proof-card__icon {
    transform: none !important;
  }

  .service-card,
  .service-card--wide,
  .service-card--accent {
    position: relative;
    height: auto;
    min-height: max(100svh, 48rem);
    margin-bottom: 0;
  }

  .service-card:not(:last-child) {
    margin-bottom: 0;
  }
}

@media (min-width: 1001px) and (prefers-reduced-motion: reduce) {
  .hero {
    height: auto;
    min-height: max(900px, 100svh);
  }

  .hero-stage {
    position: relative;
    height: auto;
    min-height: max(900px, 100svh);
  }

  .hero-grid {
    height: auto;
    padding-bottom: 72px;
  }

  .hero-media-stage {
    overflow: hidden;
    padding-bottom: 72px;
  }

  .hero-collage-wall {
    display: none;
  }

  .hero-scene-wash {
    display: none;
  }
}

@media (forced-colors: active) {
  .primary-nav .nav-motion-shape {
    display: none;
  }

  .primary-nav.is-nav-motion-ready > .nav-motion-item {
    border: 1px solid ButtonText;
    background: Canvas;
    forced-color-adjust: auto;
  }
}
