/* Cloudwise — Swiss editorial precision, technical warmth, no generic SaaS chrome. */
/* Critique: the signature is a usable architecture map, not decoration; real people carry the proof. */

:root {
  color-scheme: light;
  --paper: #f1efe7;
  --paper-bright: #fffdf7;
  --ink: #111d25;
  --ink-soft: #293841;
  --muted: #5c686b;
  --faint: #7d8583;
  --blue: #2149d8;
  --blue-bright: #315cf0;
  --lime: #d7f75b;
  --olive: #5c7600;
  --mint: #009f7a;
  --violet: #8754e8;
  --amber: #d99900;
  --coral: #ef6a64;
  --white: #fffdf7;
  --dark-muted: #b5bfbe;
  --line: #c8cbc2;
  --line-dark: #35434a;
  --header-bg: rgba(241, 239, 231, 0.92);
  --shadow: rgba(17, 29, 37, 0.14);
  --error: #a82d23;
  --success: #27651f;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Courier New', monospace;
  --font-sketch: 'Shantell Sans', cursive;
  --shell: 1360px;
  --gutter: 32px;
  --section-space: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

html:has(.film-story) {
  scroll-padding-top: 80px;
}

html.film-snap-active {
  scroll-padding-top: 80px;
  scroll-snap-type: y mandatory;
}

html.film-snap-active .film-scene,
html.film-snap-active .references {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body {
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow-y: hidden;
}

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

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

img {
  height: auto;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  list-style: none;
}

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

.site-footer :focus-visible,
.statement :focus-visible,
.references :focus-visible,
.blueprint :focus-visible,
.contact-direct :focus-visible,
.mobile-panel :focus-visible {
  outline-color: var(--lime);
}

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

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

.shell {
  margin-inline: auto;
  max-width: var(--shell);
  width: calc(100% - (var(--gutter) * 2));
}

.narrow-shell {
  margin-inline: auto;
  max-width: 1080px;
  width: calc(100% - (var(--gutter) * 2));
}

.section {
  padding-block: var(--section-space);
}

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

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

.section-label {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 12px;
  line-height: 1.4;
}

.section-label::before {
  background: currentColor;
  content: '';
  height: 1px;
  width: 28px;
}

.section--ink .section-label,
.statement .section-label,
.references .section-label {
  color: var(--dark-muted);
}

.section-heading {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.03;
}

.section-intro {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 54ch;
}

.section--ink .section-intro {
  color: var(--dark-muted);
}

.section-head {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(160px, 3fr) minmax(0, 9fr);
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-head__content {
  display: grid;
  gap: 24px;
}

.section-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 14px;
  width: fit-content;
}

.text-link svg {
  height: 18px;
  transition: transform 220ms var(--ease);
  width: 18px;
}

.text-link:hover svg {
  transform: translateX(5px);
}

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

.button {
  align-items: center;
  background: var(--blue);
  border: 1px solid var(--blue);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 20px;
  justify-content: center;
  line-height: 1.2;
  min-height: 52px;
  padding: 15px 22px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
  width: fit-content;
}

.button svg {
  height: 17px;
  width: 17px;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  clip-path: none;
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.button--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.button--lime:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.button--small {
  min-height: 42px;
  padding: 11px 17px;
}

.button[disabled] {
  background: var(--line);
  border-color: var(--line);
  color: var(--muted);
  cursor: wait;
  opacity: 1;
  transform: none;
}

.icon-arrow {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

/* Navigation */
.site-header {
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-shell {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 11px;
}

.brand-mark {
  color: var(--blue);
  height: 30px;
  width: 34px;
}

.brand-logo {
  display: block;
  height: 29px;
  width: auto;
}

.site-header:has(.nav-mobile[open]) .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-name span {
  color: var(--blue);
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 36px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  padding-block: 10px;
  position: relative;
}

.desktop-nav a::after {
  background: var(--blue);
  bottom: 3px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
  width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current='page'] {
  color: var(--ink);
}

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

.nav-mobile {
  display: none;
  position: relative;
}

.nav-mobile summary {
  align-items: center;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 12px;
  list-style: none;
  min-height: 44px;
  padding: 9px 13px;
}

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

.menu-glyph {
  display: grid;
  gap: 5px;
  width: 20px;
}

.menu-glyph::before,
.menu-glyph::after {
  background: currentColor;
  content: '';
  height: 1px;
  transition: transform 200ms var(--ease);
  width: 20px;
}

.nav-mobile[open] .menu-glyph::before {
  transform: translateY(3px) rotate(45deg);
}

.nav-mobile[open] .menu-glyph::after {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-panel {
  background: var(--ink);
  color: var(--white);
  display: grid;
  height: 100dvh;
  inset: 0;
  padding: 110px var(--gutter) 40px;
  position: fixed;
  z-index: 1;
}

.site-header:has(.nav-mobile[open]) {
  backdrop-filter: none;
}

.site-header:has(.nav-mobile[open]) > .nav-shell > .brand {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.site-header:has(.nav-mobile[open]) > .nav-shell > .brand .brand-mark {
  color: var(--lime);
}

.mobile-panel nav {
  align-content: center;
  display: grid;
}

.mobile-panel nav a {
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 600;
  letter-spacing: -0.05em;
  padding-block: 15px;
}

.mobile-panel nav a[aria-current='page'] {
  color: var(--lime);
}

.mobile-contact {
  align-self: end;
  color: var(--dark-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px 24px;
}

/* Home hero */
.home-hero {
  padding-block: clamp(40px, 5vw, 72px) 0;
  position: relative;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
}

.hero-copy {
  min-width: 0;
  padding-block: 12px;
}

.hero-kicker {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-kicker::before {
  background: var(--blue);
  content: '';
  height: 8px;
  width: 8px;
}

.hero-title {
  font-size: clamp(64px, 7.3vw, 110px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.hero-title span {
  color: var(--blue);
  display: block;
}

.hero-intro {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  margin-top: 30px;
  max-width: 43ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 12px;
  margin-top: 30px;
}

.hero-note::before {
  background: var(--line);
  content: '';
  height: 1px;
  width: 28px;
}

.hero-rail {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 68px);
}

.hero-rail__item {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 16px;
  min-height: 66px;
  padding: 16px 24px;
}

.hero-rail__item:first-child {
  padding-left: 0;
}

.hero-rail__item + .hero-rail__item {
  border-left: 1px solid var(--line);
}

.hero-rail__item span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

/* Interactive architecture map */
.blueprint {
  background: var(--ink);
  color: var(--white);
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.blueprint::before,
.blueprint::after {
  border-color: var(--lime);
  border-style: solid;
  content: '';
  height: 18px;
  pointer-events: none;
  position: absolute;
  width: 18px;
  z-index: 3;
}

.blueprint::before {
  border-width: 1px 0 0 1px;
  left: 10px;
  top: 10px;
}

.blueprint::after {
  border-width: 0 1px 1px 0;
  bottom: 10px;
  right: 10px;
}

.blueprint-top {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  color: var(--dark-muted);
  display: flex;
  font-family: var(--font-code);
  font-size: 11px;
  justify-content: space-between;
  min-height: 48px;
  padding-inline: 22px;
}

.blueprint-art {
  aspect-ratio: 1.18;
  padding: 10px 16px 0;
  transition: transform 240ms var(--ease);
  width: 100%;
}

.blueprint-art svg {
  height: 100%;
  overflow: visible;
  width: 100%;
}

.svg-grid {
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 0.65;
}

.svg-line {
  fill: none;
  stroke: var(--dark-muted);
  stroke-width: 1.25;
}

.svg-line--blue {
  stroke: var(--blue-bright);
}

.svg-line--lime {
  stroke: var(--lime);
}

.svg-dash {
  stroke-dasharray: 4 7;
}

.svg-node {
  fill: var(--ink);
  stroke: var(--dark-muted);
  stroke-width: 1.2;
}

.svg-node--blue {
  fill: var(--blue);
  stroke: var(--blue-bright);
}

.svg-node--lime {
  fill: var(--lime);
  stroke: var(--lime);
}

.svg-text {
  fill: var(--white);
  font-family: var(--font-code);
  font-size: 12px;
}

.svg-text--muted {
  fill: var(--dark-muted);
  font-size: 10px;
}

.svg-text--dark {
  fill: var(--ink);
  font-size: 10px;
}

.map-layer {
  opacity: 0.42;
  transform-origin: center;
  transition: opacity 260ms ease, transform 350ms var(--ease);
}

.blueprint[data-mode='platform'] .map-layer--platform,
.blueprint[data-mode='automation'] .map-layer--automation,
.blueprint[data-mode='people'] .map-layer--people {
  opacity: 1;
  transform: translateY(-3px);
}

.map-flow {
  animation: map-flow 14s linear infinite;
}

@keyframes map-flow {
  to {
    stroke-dashoffset: -110;
  }
}

.blueprint-bottom {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 100px;
}

.blueprint-caption {
  align-content: center;
  display: grid;
  gap: 3px;
  padding: 18px 22px;
}

.blueprint-caption strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.blueprint-caption span {
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 32ch;
}

.blueprint-switch {
  display: flex;
}

.blueprint-switch button {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line-dark);
  color: var(--dark-muted);
  font-family: var(--font-code);
  font-size: 12px;
  min-width: 52px;
  padding: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.blueprint-switch button:hover,
.blueprint-switch button[aria-pressed='true'] {
  background: var(--lime);
  color: var(--ink);
}

/* Statement */
.statement {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--section-space);
}

.statement-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(160px, 3fr) minmax(0, 9fr);
}

.statement-copy {
  display: grid;
  gap: 36px;
}

.statement-title {
  font-size: clamp(40px, 5.7vw, 78px);
  line-height: 1.04;
  max-width: 18ch;
}

.statement-title span {
  color: var(--lime);
}

.statement-aside {
  color: var(--dark-muted);
  display: grid;
  font-size: 17px;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  line-height: 1.7;
  max-width: 820px;
}

/* Service index */
.service-list {
  border-top: 1px solid var(--ink);
}

.service-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: 56px minmax(220px, 4fr) minmax(260px, 5fr) 32px;
  min-height: 132px;
  padding: 26px 20px 26px 0;
  position: relative;
  transition: background-color 220ms ease, color 220ms ease;
}

.service-row::before {
  background: var(--blue);
  content: '';
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 280ms var(--ease);
  z-index: 0;
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row:hover {
  color: var(--white);
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.service-row h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
}

.service-row p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 48ch;
  transition: color 180ms ease;
}

.service-row svg {
  height: 26px;
  transition: transform 260ms var(--ease);
  width: 26px;
}

.service-row:hover .service-number,
.service-row:hover p {
  color: var(--white);
}

.service-row:hover svg {
  transform: translateX(5px);
}

/* Method */
.method-grid {
  align-items: start;
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.method-sticky {
  display: grid;
  gap: 26px;
  position: sticky;
  top: 124px;
}

.method-title {
  font-size: clamp(42px, 5vw, 68px);
  max-width: 10ch;
}

.method-code {
  background: var(--ink);
  color: var(--dark-muted);
  font-family: var(--font-code);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 420px;
  padding: 24px;
  white-space: pre-wrap;
}

.method-code strong {
  color: var(--lime);
  font-weight: 400;
}

.method-steps {
  border-top: 1px solid var(--ink);
}

.method-step {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding-block: 32px;
}

.method-step__number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding-top: 5px;
}

.method-step h3 {
  font-size: 27px;
  margin-bottom: 12px;
}

.method-step p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* References */
.references {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-block: var(--section-space);
}

.references .section-topline {
  margin-bottom: 56px;
}

.quote-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.quote-count {
  color: var(--dark-muted);
  font-family: var(--font-code);
  font-size: 12px;
  margin-right: 12px;
  min-width: 58px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--white);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition: background-color 180ms ease, color 180ms ease;
  width: 46px;
}

.icon-button:hover {
  background: var(--lime);
  color: var(--ink);
}

.icon-button:active {
  background: var(--blue-bright);
  color: var(--white);
}

.icon-button svg {
  height: 18px;
  width: 18px;
}

.quote-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.quote-track::-webkit-scrollbar {
  display: none;
}

.quote-slide {
  display: grid;
  flex: 0 0 100%;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 152px minmax(0, 1fr);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.quote-person {
  align-content: start;
  display: grid;
  gap: 18px;
}

.quote-person img {
  aspect-ratio: 1;
  filter: grayscale(1);
  object-fit: cover;
  width: 128px;
}

.quote-person figcaption {
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.55;
}

.quote-person strong {
  color: var(--white);
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.quote-body {
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 28px;
  padding-top: 28px;
}

.quote-body blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.32;
  max-width: 31ch;
}

.quote-context {
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 66ch;
}

/* Home about */
.home-about-grid {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.about-image {
  background: transparent;
  margin-inline: auto;
  max-width: 540px;
  min-width: 0;
  padding: 28px;
  position: relative;
  width: 100%;
}

.portrait-circle {
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
}

.portrait-circle::before,
.portrait-circle::after {
  border-radius: 50%;
  content: '';
  pointer-events: none;
  position: absolute;
}

.portrait-circle::before {
  border: 1px solid var(--line);
  inset: -20px;
}

.portrait-circle::after {
  border: 1px solid var(--blue);
  border-left-color: transparent;
  inset: -32px;
  transform: rotate(-28deg);
}

.about-image img {
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: none;
  mix-blend-mode: normal;
  object-fit: cover;
  width: 100%;
}

.about-image figcaption {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  left: 0;
  line-height: 1.5;
  padding: 14px 18px;
  position: absolute;
}

.about-copy {
  display: grid;
  gap: 26px;
}

.about-copy h2 {
  font-size: clamp(40px, 5vw, 66px);
  max-width: 12ch;
}

.about-lead {
  font-size: 19px;
  line-height: 1.65;
  max-width: 50ch;
}

.about-copy > p:not(.about-lead) {
  color: var(--muted);
  max-width: 56ch;
}

.about-values {
  border-top: 1px solid var(--line);
  display: grid;
  margin-block: 8px;
}

.about-values li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 14px;
  gap: 16px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding-block: 12px;
}

.about-values li::before {
  color: var(--blue);
  content: '/';
  font-family: var(--font-display);
  font-weight: 700;
}

/* Calls to action */
.big-cta {
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 144px);
  position: relative;
}

.big-cta::after {
  border: 1px solid var(--blue-bright);
  content: '';
  height: clamp(220px, 35vw, 520px);
  position: absolute;
  right: clamp(-180px, -8vw, -60px);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: clamp(220px, 35vw, 520px);
}

.big-cta__inner {
  display: grid;
  gap: 38px;
  position: relative;
  z-index: 1;
}

.big-cta .section-label {
  color: var(--white);
}

.big-cta h2 {
  font-size: clamp(52px, 8vw, 116px);
  letter-spacing: -0.07em;
  line-height: 0.98;
  max-width: 12ch;
}

.big-cta__bottom {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 40px;
  justify-content: space-between;
}

.big-cta__bottom p {
  font-size: 16px;
  max-width: 42ch;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--dark-muted);
  padding-block: 72px 28px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(240px, 5fr) repeat(3, minmax(140px, 2fr));
  padding-bottom: 64px;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 24px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 36ch;
}

.footer-column h2 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  padding-block: 5px;
  width: fit-content;
}

.footer-column a:hover {
  color: var(--lime);
}

.footer-brand .brand-logo {
  height: 32px;
}

.footer-bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 16px 32px;
  justify-content: space-between;
  padding-top: 26px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

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

/* Inner page heroes */
.page-hero {
  padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 88px);
}

.page-hero-grid {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
}

.page-hero-copy {
  display: grid;
  gap: 28px;
}

.page-title {
  font-size: clamp(58px, 8.5vw, 118px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.95;
  max-width: 11ch;
}

.page-title span {
  color: var(--blue);
}

.page-lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 52ch;
}

.page-hero-aside {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.page-hero-aside p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.page-index {
  display: grid;
}

.page-index a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding-block: 9px;
}

.page-index a:hover {
  color: var(--blue);
}

/* Portfolio */
.chapter-nav-wrap {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: sticky;
  top: 80px;
  z-index: 60;
}

.chapter-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.chapter-nav::-webkit-scrollbar {
  display: none;
}

.chapter-nav a {
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
  font-size: 12px;
  padding: 16px 18px;
  transition: background-color 180ms ease, color 180ms ease;
}

.chapter-nav a:first-child {
  border-left: 1px solid var(--line);
}

.chapter-nav a:hover,
.chapter-nav a[aria-current='location'] {
  background: var(--blue);
  color: var(--white);
}

.chapters {
  padding-bottom: var(--section-space);
}

.chapter {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding-block: clamp(72px, 8vw, 112px);
  scroll-margin-top: 144px;
}

.chapter-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding-top: 12px;
}

.chapter-header {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 8fr) minmax(150px, 3fr);
}

.chapter-heading {
  font-size: clamp(38px, 5vw, 66px);
  max-width: 14ch;
}

.chapter-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-top: 24px;
  max-width: 64ch;
}

.chapter-intro strong {
  color: var(--ink);
  font-weight: 600;
}

.chapter-icon {
  color: var(--blue);
  justify-self: end;
  max-width: 180px;
  width: 100%;
}

.chapter-icon .accent {
  color: var(--blue);
  fill: var(--blue);
  stroke: var(--blue);
}

.chapter-icon .lime {
  color: var(--ink);
  fill: var(--lime);
  stroke: var(--ink);
}

.chapter-icon .line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.chapter-icon .soft {
  fill: none;
  opacity: 0.38;
  stroke: currentColor;
  stroke-width: 1;
}

.chapter-details {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
}

.detail-block {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.detail-block--solution {
  border-color: var(--blue);
}

.detail-block h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.detail-block ul {
  display: grid;
  gap: 11px;
}

.detail-block li {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  gap: 12px;
  grid-template-columns: 16px minmax(0, 1fr);
  line-height: 1.6;
}

.detail-block li::before {
  background: var(--line);
  content: '';
  height: 1px;
  margin-top: 11px;
  width: 16px;
}

.detail-block--solution li::before {
  background: var(--blue);
}

.detail-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tag {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 10px;
}

.training-notes {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.training-notes div {
  border-left: 2px solid var(--blue);
  padding-left: 16px;
}

.training-notes strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.training-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* About page */
.about-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
}

.about-hero-photo {
  position: relative;
}

.about-hero-photo::before {
  border: 1px solid var(--blue);
  border-bottom-color: transparent;
  border-radius: 50%;
  content: '';
  inset: -20px;
  position: absolute;
  transform: rotate(24deg);
  z-index: -1;
}

.about-hero-photo img {
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: none;
  object-fit: cover;
  width: 100%;
}

.about-hero-photo figcaption {
  align-items: center;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  bottom: 20px;
  display: flex;
  font-size: 12px;
  gap: 18px;
  left: -20px;
  padding: 12px 16px;
  position: absolute;
}

.about-hero-photo figcaption strong {
  color: var(--blue);
  font-family: var(--font-display);
}

.bio-grid {
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}

.bio-aside {
  display: grid;
  gap: 24px;
}

.bio-aside h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  max-width: 10ch;
}

.bio-copy {
  columns: 2;
  column-gap: 40px;
}

.bio-copy p {
  break-inside: avoid;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bio-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.principles {
  border-top: 1px solid var(--ink);
}

.principle {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 64px minmax(220px, 4fr) minmax(260px, 5fr);
  padding-block: 34px;
}

.principle-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding-top: 5px;
}

.principle h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.principle p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.about-manifesto {
  background: var(--blue);
  color: var(--white);
  padding-block: var(--section-space);
}

.about-manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.08;
  max-width: 18ch;
}

.about-manifesto p {
  font-size: 14px;
  margin-top: 32px;
}

/* Contact */
.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(48px, 8vw, 104px);
  grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
}

.contact-form {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field label span {
  color: var(--blue);
}

.field input,
.field select,
.field textarea {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 15px;
  min-height: 52px;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.field textarea {
  min-height: 168px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--line);
  outline: none;
}

.form-footer {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 26px;
}

.form-privacy,
.form-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.form-privacy {
  margin-top: 18px;
  max-width: 72ch;
}

.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin-top: 18px;
  max-width: 54ch;
}

.form-status[data-state='success'] {
  color: var(--success);
}

.form-status[data-state='error'] {
  color: var(--error);
}

.contact-direct {
  background: var(--ink);
  color: var(--white);
  padding: 32px;
  position: sticky;
  top: 124px;
}

.contact-direct h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-direct > p:not(.direct-note) {
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.7;
}

.direct-list {
  border-top: 1px solid var(--line-dark);
  margin-top: 28px;
}

.direct-list a,
.direct-list address {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  font-size: 14px;
  font-style: normal;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.5;
  padding-block: 18px;
}

.direct-list a:hover {
  color: var(--lime);
}

.direct-list svg {
  flex-shrink: 0;
  height: 17px;
  width: 17px;
}

.direct-note {
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 28px;
  padding: 18px;
}

/* Legal */
.legal-hero {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 104px);
}

.legal-hero h1 {
  font-size: clamp(54px, 8vw, 106px);
  letter-spacing: -0.07em;
  margin-top: 24px;
}

.legal-layout {
  display: grid;
  gap: clamp(40px, 8vw, 100px);
  grid-template-columns: minmax(160px, 3fr) minmax(0, 8fr);
  padding-block: 72px var(--section-space);
}

.legal-aside {
  align-self: start;
  border-top: 1px solid var(--ink);
  display: grid;
  font-size: 13px;
  gap: 10px;
  padding-top: 18px;
  position: sticky;
  top: 120px;
}

.legal-aside p {
  color: var(--muted);
}

.legal-aside a {
  color: var(--blue);
  width: fit-content;
}

.prose {
  max-width: 74ch;
}

.prose > p,
.prose > ul {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.prose h2 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 44px 0 14px;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.prose li {
  list-style: square;
  padding-left: 4px;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-box {
  background: var(--paper-bright);
  border-left: 3px solid var(--blue);
  margin-block: 24px;
  padding: 24px;
}

.legal-box p {
  font-size: 15px;
  line-height: 1.8;
}

.legal-box p + p {
  margin-top: 14px;
}

/* Cinematic homepage: four connected scenes, driven by real scroll position. */
.film-story {
  background: var(--paper);
  position: relative;
}

.film-defs {
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.film-stage {
  display: none;
  opacity: 0;
}

.film-story.is-enhanced .film-stage {
  display: block;
  height: calc(100svh - 80px);
  overflow: clip;
  pointer-events: none;
  position: sticky;
  top: 80px;
  z-index: 1;
}

.film-scenes {
  position: relative;
  z-index: 2;
}

.film-story.is-enhanced .film-scenes {
  margin-top: calc(-100svh + 80px);
}

.film-story:not(.is-enhanced) .film-scene {
  min-height: 0;
}

.film-story:not(.is-enhanced) .film-scene--hero {
  min-height: calc(100svh - 80px);
}

.film-scene {
  align-items: center;
  display: flex;
  min-height: calc(100svh - 80px);
  padding-block: 56px;
  position: relative;
}

.film-scene--services {
  min-height: calc(100svh - 80px);
}

.film-scene__layout {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.film-scene__copy {
  grid-column: 1 / 7;
  min-width: 0;
  position: relative;
}

.film-scene--right .film-scene__copy {
  grid-column: 7 / 13;
}

.film-scene--services .film-scene__copy {
  grid-column: 6 / 13;
}

.film-copy-panel {
  background: transparent;
  padding: 32px;
}

.film-scene--services .film-copy-panel {
  background: transparent;
  padding-block: 20px;
}

.film-scene--hero .film-scene__copy {
  grid-column: 1 / 13;
}

.film-hero-title {
  font-size: clamp(56px, 7.2vw, 108px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
  max-width: none;
}

.film-hero-title span {
  color: var(--blue);
  display: block;
}

.film-hero-bottom {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  margin-top: 34px;
}

.film-hero-bottom .hero-intro,
.film-hero-bottom .hero-actions {
  margin-top: 0;
}

.film-hero-bottom .hero-actions {
  justify-content: flex-end;
}

.film-title {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.06;
  margin-top: 24px;
  max-width: 16ch;
}

.film-title--small {
  max-width: 14ch;
}

.film-prose {
  color: var(--muted);
  display: grid;
  font-size: 17px;
  gap: 16px;
  line-height: 1.7;
  margin-top: 28px;
  max-width: 52ch;
}

.film-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 52ch;
}

.film-frame {
  background: transparent;
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.film-frame__art {
  height: 100%;
  overflow: visible;
  width: 100%;
}

.film-layer {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  will-change: opacity, transform;
}

.film-layer:first-of-type {
  opacity: 1;
}

[data-network] {
  transform-box: fill-box;
  transform-origin: 350px 560px;
  will-change: transform;
}

.flow-line,
.flow-node,
.flow-dot,
.flow-pulse {
  --flow-color: var(--ink);
}

.flow-line {
  fill: none;
  stroke: var(--flow-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.flow-node {
  fill: var(--paper-bright);
  stroke: var(--flow-color);
  stroke-width: 2.2;
}

.flow-dot {
  fill: var(--flow-color);
  stroke: none;
}

.flow-mint { --flow-color: var(--mint); }
.flow-blue { --flow-color: var(--blue-bright); }
.flow-violet { --flow-color: var(--violet); }
.flow-amber { --flow-color: var(--amber); }
.flow-coral { --flow-color: var(--coral); }

.flow-label {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
}

.flow-label--brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.flow-note {
  fill: var(--blue);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
}

.flow-pulse {
  fill: var(--amber);
  stroke: var(--paper-bright);
  stroke-width: 3;
}

.film-stage .flow-line { opacity: 0.76; }
.film-stage .flow-node { opacity: 0.86; }
.film-stage .flow-label { opacity: 0.74; }
.film-stage .flow-note { opacity: 0.8; }

[data-flow-part] {
  transform-box: fill-box;
  transform-origin: center;
}

.film-scene--services .film-mobile-still svg {
  transform: scale(0.8);
  transform-origin: center;
}

.film-stage__meta {
  bottom: 24px;
  color: var(--muted);
  display: flex;
  font-family: var(--font-code);
  font-size: 11px;
  gap: 20px;
  position: absolute;
  right: 32px;
  z-index: 3;
}

.film-stage__meta span:first-child {
  color: var(--blue);
}

.film-progress {
  background: var(--line);
  height: 144px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  z-index: 3;
}

.film-progress span {
  background: var(--blue);
  display: block;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  width: 100%;
}

.f-mobile-bg { fill: transparent; }

.sketch-line,
.sketch-ghost {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.sketch-ghost {
  opacity: 0.24;
  stroke-width: 1.2;
}

.sketch-thin { stroke-width: 1.4; }
.sketch-blue { stroke: var(--blue-bright); }
.sketch-lime { stroke: var(--olive); }

.sketch-title,
.sketch-text,
.sketch-note {
  fill: var(--ink);
  font-family: var(--font-sketch);
  font-weight: 400;
}

.sketch-title { font-size: 42px; }
.sketch-text { font-size: 27px; }
.sketch-small { font-size: 22px; }
.sketch-note { fill: var(--blue); font-size: 29px; }
.sketch-text.sketch-blue { fill: var(--blue-bright); }

.film-stage .sketch-line { opacity: 0.32; }
.film-stage .sketch-ghost { opacity: 0.16; }
.film-stage .sketch-line.sketch-blue { opacity: 0.58; }
.film-stage .sketch-line.sketch-lime { opacity: 0.62; }
.film-stage .sketch-title,
.film-stage .sketch-text { opacity: 0.56; }
.film-stage .sketch-note { opacity: 0.72; }
.film-stage .sketch-journey { opacity: 0.42; stroke-width: 2.4; }

[data-sketch-item] {
  transform-box: fill-box;
  transform-origin: center;
}

.film-service-list {
  border-top: 1px solid var(--ink);
  margin-top: 24px;
}

.film-service-grid {
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 22px;
}

.film-service-grid .film-service {
  align-items: flex-start;
  display: flex;
  flex: 1 1 260px;
  gap: 16px;
  min-height: 120px;
  padding-block: 18px;
}

.film-service-grid .film-service > div {
  flex: 1 1 auto;
  min-width: 0;
}

.film-service-grid .film-service > svg {
  flex: 0 0 20px;
  margin-top: 3px;
}

.film-service {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  padding-block: 13px;
}

.film-service > span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.film-service h3 {
  font-size: 21px;
  transition: color 180ms ease, transform 220ms var(--ease);
}

.film-service p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 4px;
  max-width: 58ch;
}

.film-service svg {
  height: 20px;
  transition: transform 220ms var(--ease);
  width: 20px;
}

.film-service:hover h3 {
  color: var(--blue);
  transform: translateX(5px);
}

.film-service:hover svg {
  transform: translateX(4px);
}

.film-steps {
  border-top: 1px solid var(--ink);
  margin-top: 28px;
}

.film-step {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding-block: 17px;
}

.film-step > span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding-top: 4px;
}

.film-step h3 {
  font-size: 22px;
}

.film-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 5px;
  max-width: 52ch;
}

.film-mobile-still {
  display: none;
}

/* Responsive */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  }

  .hero-title {
    font-size: clamp(60px, 7vw, 80px);
  }

  .blueprint-switch button {
    min-width: 44px;
    padding-inline: 9px;
  }

  .blueprint-caption {
    padding-inline: 16px;
  }

  .service-row {
    grid-template-columns: 48px minmax(200px, 4fr) minmax(220px, 5fr) 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(220px, 4fr) repeat(3, minmax(120px, 2fr));
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 24px;
    --section-space: 88px;
  }

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

  .nav-mobile {
    display: block;
  }

  .nav-mobile[open] {
    position: static;
  }

  .nav-mobile[open] summary {
    background: var(--ink);
    border-color: var(--line-dark);
    color: var(--white);
    position: relative;
    z-index: 2;
  }

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

  .hero-title {
    font-size: clamp(64px, 12vw, 104px);
    max-width: 9ch;
  }

  .hero-intro {
    max-width: 50ch;
  }

  .blueprint {
    margin-top: 20px;
    max-width: 680px;
    width: 100%;
  }

  .blueprint-art {
    aspect-ratio: 1.35;
  }

  .section-head,
  .statement-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    gap: 24px;
  }

  .statement-grid {
    gap: 32px;
  }

  .service-row {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
  }

  .service-row p {
    grid-column: 2 / 3;
    max-width: 58ch;
  }

  .service-row svg {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .method-grid,
  .home-about-grid,
  .contact-layout,
  .bio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-sticky,
  .contact-direct,
  .legal-aside {
    position: static;
  }

  .method-title,
  .about-copy h2,
  .bio-aside h2 {
    max-width: 14ch;
  }

  .method-code {
    max-width: none;
  }

  .home-about-grid {
    gap: 64px;
  }

  .about-image {
    max-width: 580px;
  }

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

  .page-hero-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-aside {
    max-width: 560px;
  }

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

  .about-hero-photo {
    margin-left: 20px;
    max-width: 580px;
  }

  .bio-copy {
    columns: 2;
  }

  .contact-direct {
    max-width: 580px;
  }

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

  .legal-aside {
    max-width: 400px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --section-space: 72px;
  }

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

  html:has(.film-story) {
    scroll-padding-top: 70px;
  }

  body {
    padding-top: 70px;
  }

  .nav-shell {
    height: 70px;
  }

  .brand-mark {
    height: 27px;
    width: 30px;
  }

  .brand-name {
    font-size: 20px;
  }

  .home-hero {
    padding-top: 34px;
  }

  .hero-kicker {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(54px, 16.5vw, 80px);
    max-width: none;
  }

  .hero-intro {
    font-size: 17px;
    margin-top: 24px;
  }

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

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

  .hero-note {
    align-items: start;
  }

  .hero-note::before {
    flex-shrink: 0;
    margin-top: 10px;
  }

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

  .hero-rail__item {
    min-height: 50px;
    padding: 12px 0;
  }

  .hero-rail__item + .hero-rail__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .blueprint-art {
    aspect-ratio: 1.05;
    padding-inline: 4px;
  }

  .blueprint-top {
    padding-inline: 16px;
  }

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

  .blueprint-switch {
    border-top: 1px solid var(--line-dark);
  }

  .blueprint-switch button {
    flex: 1;
    min-height: 44px;
  }

  .blueprint-switch button:first-child {
    border-left: 0;
  }

  .section-heading {
    font-size: clamp(38px, 11vw, 54px);
  }

  .statement-title {
    font-size: clamp(38px, 11vw, 54px);
  }

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

  .section-topline {
    align-items: start;
    gap: 20px;
  }

  .section-topline > .text-link {
    text-align: right;
  }

  .service-row {
    gap: 12px 16px;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    min-height: 0;
    padding-block: 26px;
    padding-right: 4px;
  }

  .service-row h3 {
    font-size: 27px;
  }

  .service-row p {
    font-size: 14px;
  }

  .method-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

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

  .quote-person {
    align-items: center;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .quote-person img {
    width: 64px;
  }

  .quote-body blockquote {
    font-size: 25px;
  }

  .quote-count {
    display: none;
  }

  .about-image figcaption {
    font-size: 12px;
  }

  .big-cta h2 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .big-cta__bottom {
    align-items: start;
    flex-direction: column;
  }

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

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

  .footer-grid .footer-column:last-child {
    grid-column: 1 / -1;
  }

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

  .page-title {
    font-size: clamp(52px, 15vw, 78px);
  }

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

  .chapter-nav-wrap {
    top: 70px;
  }

  .chapter {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    scroll-margin-top: 128px;
  }

  .chapter-number {
    padding-top: 0;
  }

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

  .chapter-icon {
    justify-self: start;
    max-width: 120px;
    order: -1;
  }

  .chapter-details,
  .training-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-photo {
    margin-left: 12px;
  }

  .about-hero-photo figcaption {
    left: -12px;
  }

  .bio-copy {
    columns: 1;
  }

  .principle {
    gap: 14px 20px;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .principle p {
    grid-column: 2;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .contact-direct {
    padding: 24px;
  }

  .direct-list a,
  .direct-list address {
    align-items: start;
    font-size: 13px;
  }

  .form-footer .button {
    width: 100%;
  }

  .legal-layout {
    padding-top: 52px;
  }
}

@media (min-width: 961px) {
  .film-story:not(.is-enhanced) .film-mobile-still {
    background: transparent;
    display: block;
  }

  .film-scene--right .film-mobile-still {
    grid-column: 1 / 7;
    grid-row: 1;
  }

  .film-scene--services .film-mobile-still {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .film-scene--method .film-mobile-still {
    grid-column: 8 / 13;
    grid-row: 1;
  }
}

@media (max-width: 960px) {
  .film-story.is-enhanced .film-stage {
    display: none;
  }

  .film-story.is-enhanced .film-scenes {
    margin-top: 0;
  }

  .film-scene,
  .film-scene--services {
    min-height: 0;
    padding-block: 72px;
  }

  .film-scene--hero {
    padding-top: 42px;
  }

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

  .film-scene__copy,
  .film-scene--right .film-scene__copy,
  .film-scene--services .film-scene__copy {
    grid-column: 1;
  }

  .film-copy-panel,
  .film-scene--services .film-copy-panel {
    box-shadow: none;
    padding: 0;
  }

  .film-scene--services .film-copy-panel {
    background: transparent;
  }

  .film-hero-title {
    font-size: clamp(56px, 10vw, 82px);
    max-width: none;
  }

  .film-hero-bottom {
    align-items: start;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 28px;
  }

  .film-hero-bottom .hero-actions {
    justify-content: flex-start;
  }

  .film-title {
    font-size: clamp(40px, 8vw, 60px);
    max-width: 17ch;
  }

  .film-mobile-still {
    background: transparent;
    display: block;
    margin-top: 42px;
    max-width: 600px;
    width: 100%;
  }

  .film-mobile-still svg {
    height: auto;
    width: 100%;
  }

  .film-service p {
    font-size: 13px;
  }

  .film-service-grid .film-service {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    height: 25px;
  }

  .film-scene,
  .film-scene--services {
    padding-block: 64px;
  }

  .film-scene--hero {
    padding-top: 34px;
  }

  .film-hero-title {
    font-size: clamp(50px, 14vw, 70px);
    max-width: none;
  }

  .film-title {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .film-prose {
    font-size: 16px;
  }

  .film-service {
    gap: 12px;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    padding-block: 16px;
  }

  .film-service h3 {
    font-size: 21px;
  }

  .film-service-grid {
    display: block;
  }

  .film-service-grid .film-service {
    display: flex;
    width: 100%;
  }

  .film-mobile-still {
    margin-top: 32px;
  }

  .about-image {
    padding: 24px;
  }

  .portrait-circle::after {
    inset: -26px;
  }
}

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

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

}
