:root {
  --canvas: #f7f6f3;
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.52);
  --blue: #2b60ad;
  --line: rgba(17, 17, 17, 0.12);
  --display: "Roboto", system-ui, sans-serif;
  --sans: "Roboto", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.45;
  overflow-x: clip;
  font-weight: 400;
  letter-spacing: -0.01em;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
  touch-action: manipulation;
}

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

.wrap {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.chrome {
  position: fixed;
  inset: 28px var(--pad) auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  pointer-events: none;
}

.chrome > * {
  pointer-events: auto;
}

.logo {
  justify-self: start;
  display: block;
  height: 46px;
}

.logo img {
  height: 46px;
  width: auto;
}

.logo-blue {
  mix-blend-mode: lighten;
}

.logo-white,
body.menu-open .logo-blue,
body.over-dark .logo-blue,
body.stage-dark .logo-blue {
  display: none;
}

body.menu-open .logo-white,
body.over-dark .logo-white,
body.stage-dark .logo-white {
  display: block;
  mix-blend-mode: screen;
}

.langs {
  justify-self: center;
  display: flex;
  gap: 12px;
  align-items: center;
  height: 46px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(520px, 46vw);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.lang-btn.is-active {
  color: var(--ink);
}

body.menu-open .lang-btn,
body.over-dark .lang-btn,
body.stage-dark .lang-btn {
  color: rgba(255, 255, 255, 0.45);
}

body.menu-open .lang-btn.is-active,
body.over-dark .lang-btn.is-active,
body.stage-dark .lang-btn.is-active {
  color: #fff;
}

.burger {
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.burger-lines {
  width: 22px;
  height: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-lines span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, background 0.3s ease;
}

body.menu-open .burger-lines span,
body.over-dark .burger-lines span,
body.stage-dark .burger-lines span {
  background: #fff;
}

body.menu-open .burger-lines span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .burger-lines span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: #0c0c0c;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh var(--pad) 8vh;
}

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

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  gap: 20px;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-list a span {
  font-size: 0.28em;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.menu-list a b {
  font-weight: 500;
}

.menu-langs {
  display: none;
  gap: 20px;
  margin-top: 48px;
}

.tag {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}

.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 38ch;
  margin: 0;
  font-weight: 400;
}

.stat {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.2) 0%, rgba(12, 12, 12, 0.72) 100%);
}

.hero-copy {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 0 0 80px;
}

.hero .tag,
.hero .lede,
.hero .stat {
  color: rgba(255, 255, 255, 0.82);
}.band {
  padding: 120px 0;
}

.matrix-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0 28px;
  border-bottom: 0;
}

.matrix-tab {
  border: 1px solid var(--line);
  background: transparent;
  padding: 18px 14px 16px;
  margin: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.matrix-tab.is-active {
  color: var(--ink);
  border-color: var(--ink);
  background: #fff;
}

.mat-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
}

.mat-icon svg {
  width: 100%;
  height: 100%;
}

.matrix-card {
  display: grid;
  gap: 0;
}

.matrix-stat {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "label bar"
    "label value";
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.matrix-stat-label {
  grid-area: label;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  align-self: center;
}

.meter-track {
  grid-area: bar;
  display: block;
  height: 4px;
  background: rgba(17, 17, 17, 0.08);
  font-weight: 400;
  align-self: center;
}

.meter-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.matrix-stat-value {
  grid-area: value;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.matrix-card[data-material="bamboo"] .matrix-stat-value {
  color: var(--blue);
}

.matrix-extra {
  margin: 20px 0 0;
  color: var(--blue);
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
}

.matrix-note {
  margin: 16px 0 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.matrix-tab {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

#matrix.is-in .matrix-tab {
  opacity: 1;
  transform: none;
}

#matrix.is-in .matrix-tab:nth-child(1) { transition-delay: 0.04s; }
#matrix.is-in .matrix-tab:nth-child(2) { transition-delay: 0.1s; }
#matrix.is-in .matrix-tab:nth-child(3) { transition-delay: 0.16s; }
#matrix.is-in .matrix-tab:nth-child(4) { transition-delay: 0.22s; }

.matrix-stat {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#matrix.is-in .matrix-stat {
  opacity: 1;
  transform: none;
}

#matrix.is-in .matrix-stat:nth-child(1) { transition-delay: 0.18s; }
#matrix.is-in .matrix-stat:nth-child(2) { transition-delay: 0.26s; }
#matrix.is-in .matrix-stat:nth-child(3) { transition-delay: 0.34s; }
#matrix.is-in .matrix-stat:nth-child(4) { transition-delay: 0.42s; }

#matrix.is-in .matrix-extra {
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.matrix-pin {
  --cover-run: 88vh;
  --cover-run: 88svh;
  height: calc(112svh + var(--cover-run));
  position: relative;
  overflow-anchor: none;
}

.matrix-pin-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}

.matrix-body {
  height: 100%;
  overflow: hidden;
  padding: 100px 0 56px;
  box-sizing: border-box;
}

.matrix-bridge {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(96px, 18vh, 160px) 0 clamp(56px, 12vh, 96px);
  background: #2b60ad;
  color: #fff;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
  pointer-events: none;
}

.matrix-bridge.is-in {
  pointer-events: auto;
}

.matrix-bridge .wrap {
  width: min(720px, calc(100% - clamp(36px, 9vw, 72px) * 2));
}

.matrix-bridge .chapter-break-phrase {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: pretty;
}

.pin-block {
  height: 300vh;
  position: relative;
  overflow: visible;
}

.pin-turnkey {
  height: 270vh;
}

.pin-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas);
}

.pin-intro,
.turnkey-head {
  margin-bottom: 28px;
  flex-shrink: 0;
}

.pin-intro .lede {
  margin-top: 12px;
  max-width: 42ch;
}

.pin-phase {
  margin: 20px 0 0;
}

.pin-cta {
  flex-shrink: 0;
  margin-top: 40px;
}

.mega {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 120px);
  letter-spacing: -0.08em;
  margin: 0;
  line-height: 0.85;
  font-weight: 500;
}

.pin-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 48px;
  width: max-content;
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
  will-change: transform;
  touch-action: pan-y;
}

.pin-slide {
  flex: 0 0 min(72vw, 520px);
  width: min(72vw, 520px);
  max-width: min(72vw, 520px);
  min-width: 0;
  box-sizing: border-box;
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.pin-slide.is-active {
  opacity: 1;
}

.pin-slide .idx,
.idx {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin: 0 0 16px;
  font-weight: 600;
}

.pin-slide h3,
.case-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  line-height: 1.05;
}

.pin-slide p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.custom-hero,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

#contact {
  scroll-margin-top: calc(88px + env(safe-area-inset-top));
}

.photo-plain img,
.about-grid img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.certs-bridge {
  position: absolute;
  inset: 0;
  z-index: 24;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(96px, 18vh, 160px) 0 clamp(56px, 12vh, 96px);
  background: var(--canvas);
  transform: translate3d(0, 100%, 0);
  will-change: transform;
  pointer-events: none;
}

.certs-bridge.is-in {
  pointer-events: auto;
}

.certs-cluster,
.about-copy,
.matrix-bridge .chapter-break-phrase {
  --reveal: 0;
  opacity: 1;
  transform: translate3d(0, 18px, 0);
  will-change: transform;
}

.certs-head .display {
  margin: 0 0 40px;
}

.certs-cluster .cert-grid {
  margin-top: 0;
}

.cert-card {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.cert-mark {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 12px;
  border: 1px solid var(--blue);
  padding: 4px 8px;
}

.cert-card h3 {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.cert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-scene {
  position: relative;
  color: #fff;
}

.process-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.process-scene .chapter-grain {
  z-index: 1;
  opacity: 0.22;
}

.process-light {
  color: var(--ink);
}

.process-light .process-bg {
  opacity: 0.07;
}

.process-light::after {
  display: none;
}

.process-light .process-head .tag,
.process-light .process-head .display,
.process-light .proc-node h3,
.process-light .proc-node p {
  color: inherit;
}

.process-light .proc-node p {
  color: var(--muted);
}

.process-light .process-line::before {
  background: var(--line);
}

.process-light .proc-node span {
  border-color: var(--ink);
  background: var(--canvas);
  color: var(--ink);
}

.process-light .proc-node.is-active span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.proc-node .mat-icon {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
}

.turnkey-line {
  grid-template-columns: repeat(3, 1fr);
}

.footer-brand {
  max-width: none;
}

.mat-icon {
  width: 48px;
  height: 48px;
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-head .tag,
.process-head .display {
  color: #fff;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
  margin-top: 36px;
  position: relative;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.proc-node {
  opacity: 0.35;
  transition: opacity 0.35s ease;
  padding-top: 8px;
}

.proc-node.is-active {
  opacity: 1;
}

.proc-node span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: #0c0c0c;
  position: relative;
  z-index: 1;
}

.proc-node.is-active span {
  background: var(--blue);
  border-color: var(--blue);
}

.proc-node h3 {
  font-weight: 400;
  font-size: 16px;
  margin: 12px 0 6px;
}

.proc-node p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.flow-icon {
  width: 64px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 12px;
}

.flow-icon svg {
  width: 100%;
  height: 100%;
}

.fulfill-path {
  flex: 0 0 min(40vw, 360px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}

.fulfill-path i {
  flex: 1;
  height: 1px;
  background: var(--blue);
  min-width: 24px;
}

.about-bridge {
  position: absolute;
  inset: 0;
  z-index: 24;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
  pointer-events: none;
}

.about-bridge.is-in {
  pointer-events: auto;
}

.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-bridge .chapter-grain {
  z-index: 1;
}

.about-bridge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.18), rgba(12, 12, 12, 0.78));
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 80px;
}

.about-copy .lede {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.8);
}

.custom-hero {
  grid-template-columns: min(720px, 100%);
}

.chapter {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.chapter-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

.chapter-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background: url("../assets/images/grain.svg") repeat;
  mix-blend-mode: overlay;
}

.chapter::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.15) 0%, rgba(12, 12, 12, 0.72) 100%);
}

.chapter-copy {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 0 0 80px;
}

.chapter .tag,
.chapter .lede,
.chapter .stat {
  color: rgba(255, 255, 255, 0.78);
}

.chapter-num {
  font-weight: 300;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  margin: 8px 0 8px;
}

.cases-section {
  padding-bottom: 0;
}

.cases-pin.band {
  --cover-run: 88vh;
  --cover-run: 88svh;
  height: calc(128svh + var(--cover-run));
  padding: 0;
  position: relative;
  overflow-anchor: none;
}

.cases-pin-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  isolation: isolate;
  box-sizing: border-box;
  padding: 128px 0 56px;
}

.cases-pin-sticky .cases-head,
.cases-pin-sticky .case-select {
  flex-shrink: 0;
}

.cases-pin-sticky .case-stage {
  flex: 1;
  min-height: 0;
}

.cases-pin-sticky .case-photo img {
  min-height: 0;
}

.case-select {
  background: var(--canvas);
}

.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  border: 0;
}

.case-tab {
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 18px 14px 16px;
  margin: 0;
  cursor: pointer;
  min-height: 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.25;
}

.case-tab.is-active {
  color: var(--ink);
  border-color: var(--ink);
  background: #fff;
}

.case-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 78vh;
  background: #fff;
}

.case-stage.is-swap .case-photo img,
.case-stage.is-swap .case-body {
  animation: caseIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes caseIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.case-photo {
  overflow: hidden;
  height: 100%;
  min-height: 0;
  background: #fff;
}

.case-photo img {
  width: 100%;
  height: 100%;
  min-height: 78vh;
  object-fit: cover;
  object-position: center center;
  transform-origin: center;
}

.case-body {
  padding: 56px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-body .display {
  font-size: clamp(28px, 3.4vw, 44px);
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 28px 0 0;
}

.case-meta dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.case-meta dd {
  margin: 4px 0 0;
  font-size: 16px;
}

.case-kpis {
  display: none;
}

.form {
  position: relative;
  display: grid;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.form label {
  display: grid;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.form input,
.form textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  background: transparent;
  color: var(--ink);
}

.form input:focus,
.form textarea:focus {
  outline: 0;
  border-bottom-color: var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.btn {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 0;
  width: 180px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.chapter-break {
  background: #2b60ad;
  color: #fff;
  padding: 28px 0;
}

.matrix-bridge.chapter-break {
  padding: clamp(96px, 18vh, 160px) 0 clamp(56px, 12vh, 96px);
}

.chapter-break-phrase {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.03em;
  color: #fff;
}

.btn-text {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0;
}

.form-note {
  margin: 0;
  color: var(--blue);
  outline: none;
  scroll-margin-top: 96px;
  scroll-margin-bottom: 48px;
}

.form-note.is-done {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  line-height: 1.45;
}

.footer {
  padding: 48px 0 40px;
  background: #3a3d40;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

body.has-cookie-bar .footer {
  padding-bottom: 120px;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-row p {
  margin: 0 0 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px 28px;
  justify-self: end;
}

.footer-links a {
  color: #fff;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.legal {
  padding: calc(108px + env(safe-area-inset-top)) 0 80px;
  min-height: 70vh;
}

.legal-body {
  max-width: 720px;
}

.legal-body h2 {
  margin: 36px 0 10px;
  font-size: 18px;
}

.legal-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-body .lede {
  margin-bottom: 28px;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px var(--pad);
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: rgba(12, 12, 12, 0.35);
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal[hidden],
.cookie-bar[hidden],
.form-note[hidden],
.matrix-extra[hidden] {
  display: none;
}

.cookie-panel {
  width: min(440px, 100%);
  background: var(--canvas);
  padding: 28px;
}

.cookie-panel h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.pref {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.pref p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal:nth-child(3) {
  animation-delay: 0.16s;
}
.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }
  .chrome {
    grid-template-columns: 1fr auto;
    inset: max(12px, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) auto max(var(--pad), env(safe-area-inset-left));
  }
  .langs {
    display: none;
  }
  .menu-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 32px;
  }
  .menu-langs .lang-btn {
    min-width: 44px;
    min-height: 44px;
    letter-spacing: 0.14em;
    font-size: 13px;
  }
  .menu-drawer {
    padding: max(12vh, env(safe-area-inset-top)) var(--pad) max(8vh, env(safe-area-inset-bottom));
  }
  .menu-list a {
    font-size: clamp(22px, 7.4vw, 36px);
    padding: 14px 0;
    min-height: 48px;
  }
  .hero,
  .custom-hero,
  .contact-grid,
  .case-stage,
  .process-line {
    grid-template-columns: 1fr;
  }
  .band {
    padding: 72px 0;
  }
  .chapter-break {
    padding: 22px 0;
  }
  .matrix-bridge.chapter-break {
    padding: calc(96px + env(safe-area-inset-top)) 0 max(72px, env(safe-area-inset-bottom));
  }
  .chapter-break-phrase {
    font-size: clamp(22px, 6.4vw, 28px);
  }
  .matrix-pin {
    height: calc(118svh + var(--cover-run));
  }
  .matrix-pin-sticky {
    justify-content: flex-start;
    padding: 120px max(var(--pad), env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
    box-sizing: border-box;
  }
  .matrix-body {
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    max-height: 100%;
    flex: 0 1 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .matrix-bridge {
    padding: calc(96px + env(safe-area-inset-top)) 0 max(72px, env(safe-area-inset-bottom));
    align-items: center;
  }
  .matrix-bridge .wrap {
    width: min(1180px, calc(100% - clamp(40px, 10vw, 52px) * 2));
  }
  .matrix-bridge .chapter-break-phrase {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.24;
    letter-spacing: -0.03em;
    max-width: none;
  }
  #matrix .display {
    font-size: clamp(22px, 6.2vw, 32px);
    margin-bottom: 4px;
    line-height: 1.12;
  }
  #matrix .lede {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .cert-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .certs-bridge {
    z-index: 24;
    padding: calc(72px + env(safe-area-inset-top)) 0 max(36px, env(safe-area-inset-bottom));
    align-items: center;
  }
  .certs-cluster {
    width: min(1180px, calc(100% - var(--pad) * 2));
    margin: 0 auto;
  }
  .certs-head {
    margin: 0 0 8px;
  }
  .certs-head .tag {
    margin: 0 0 8px;
  }
  .certs-head .display {
    font-size: clamp(26px, 7.5vw, 36px);
    margin: 0 0 24px;
  }
  .certs-bridge .cert-grid {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin-top: 0;
  }
  .certs-bridge .cert-card {
    position: static;
    margin: 0;
    padding-top: 14px;
    opacity: 1;
    pointer-events: auto;
  }
  .certs-bridge .cert-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .certs-bridge .cert-card p {
    font-size: 13px;
    line-height: 1.4;
    max-width: none;
  }
  .cert-card h3 {
    font-size: 17px;
  }
  .cert-card p {
    font-size: 13px;
  }
  .matrix-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 12px 0 4px;
    position: static;
    top: auto;
    z-index: 8;
    background: var(--canvas);
    padding: 4px 0 6px;
  }
  .matrix-tab {
    min-height: 54px;
    padding: 8px 4px 6px;
    font-size: 9px;
    letter-spacing: 0.04em;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .mat-icon {
    width: 24px;
    height: 24px;
  }
  .matrix-stat {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "bar"
      "value";
    gap: 5px;
    padding: 8px 0;
  }
  .matrix-stat-label {
    font-size: 10px;
  }
  .matrix-stat-value {
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
  }
  .meter-track {
    height: 5px;
  }
  .matrix-note {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }
  .matrix-extra {
    margin-top: 8px;
    font-size: 12px;
  }
  .cases-section {
    padding-top: 0;
  }
  .cases-pin.band {
    height: calc(122svh + var(--cover-run));
    padding: 0;
  }
  .cases-pin-sticky {
    justify-content: flex-start;
    background: #fff;
    padding: 92px 0 max(16px, env(safe-area-inset-bottom));
  }
  .cases-head {
    flex-shrink: 0;
    padding-bottom: 4px;
    text-align: left;
  }
  .cases-head .tag {
    margin-bottom: 6px;
  }
  .cases-section .display {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 8px;
  }
  .case-select {
    position: relative;
    top: auto;
    z-index: 8;
    border-bottom: 0;
    flex-shrink: 0;
    padding: 0 0 8px;
    background: #fff;
  }
  .case-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    overflow: visible;
    margin-top: 0;
  }
  .case-tab {
    flex: none;
    min-height: 56px;
    padding: 10px 6px;
    border: 1px solid var(--line);
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
  }
  .cases-pin-sticky,
  .cases-pin .case-stage {
    touch-action: pan-y;
  }
  .case-stage {
    touch-action: pan-x pan-y;
  }
  .cases-pin .case-stage,
  .cases-pin-sticky .case-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: auto;
  }
  .case-stage.is-swap .case-photo img,
  .case-stage.is-swap .case-body {
    animation: none;
  }
  .case-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-top: 20px;
    justify-items: start;
    text-align: left;
  }
  .case-meta dt {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .case-meta dd {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.35;
  }
  .case-photo {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 2;
  }
  .case-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }
  .case-body {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 16px var(--pad) 0;
    text-align: left;
    background: #fff;
  }
  .case-body .display {
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 10px;
  }
  .case-body .lede {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }
  .case-body .idx {
    margin: 0 0 8px;
  }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
  }
  .hero-copy {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
  .display {
    font-size: clamp(30px, 9vw, 48px);
  }  .turnkey-line {
    grid-template-columns: 1fr;
  }
  .pin-block {
    height: 340vh;
  }
  .pin-turnkey {
    height: 310vh;
  }
  .pin-sticky {
    height: 100vh;
    height: 100svh;
    padding: calc(14vh + env(safe-area-inset-top)) 0 20px;
    justify-content: flex-start;
    gap: 0;
  }
  .pin-intro {
    margin-bottom: 8px;
  }
  .pin-intro .tag {
    margin-bottom: 6px;
  }
  .pin-intro .display {
    font-size: clamp(28px, 7.6vw, 38px);
    line-height: 1.08;
    font-weight: 400;
    margin: 0 0 8px;
  }
  .pin-intro .lede {
    font-size: 15px;
    max-width: none;
    margin: 0;
  }
  .pin-phase {
    margin: 14px 0 0;
  }
  .pin-track {
    flex: 0 0 auto;
    min-height: 0;
    align-items: flex-start;
    gap: 16px;
    padding-left: var(--pad);
    padding-right: 12vw;
    flex-wrap: nowrap;
    flex-direction: row;
    width: max-content;
  }
  .pin-slide {
    flex: 0 0 88vw;
    width: 88vw;
    max-width: 88vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
    opacity: 0.22;
  }
  .pin-cta {
    margin-top: 36px;
  }
  .pin-cta .btn {
    width: auto;
    min-width: 160px;
    padding: 14px 28px;
  }
  .pin-slide.is-active {
    opacity: 1;
  }
  .pin-slide .idx {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .pin-slide h3 {
    font-size: clamp(42px, 12vw, 54px);
    margin-bottom: 14px;
    line-height: 1.06;
  }
  .pin-slide p {
    font-size: 18px;
    line-height: 1.5;
    max-width: none;
    color: rgba(17, 17, 17, 0.72);
  }
  .about-copy {
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }
  body.has-cookie-bar .about-copy {
    padding-bottom: max(140px, calc(96px + env(safe-area-inset-bottom)));
  }
  .form input,
  .form textarea {
    font-size: 16px;
    padding: 12px 0 14px;
  }
  .btn {
    width: 100%;
    min-height: 48px;
  }
  .pin-cta .btn {
    width: auto;
    min-width: 160px;
    padding: 14px 28px;
  }
  .btn-text {
    min-height: 44px;
  }
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px var(--pad) max(14px, env(safe-area-inset-bottom));
  }
  .cookie-actions {
    justify-content: space-between;
  }
  .cookie-actions .btn {
    width: auto;
    flex: 1;
  }
  .footer {
    padding: 32px 0 max(24px, env(safe-area-inset-bottom));
  }
  body.has-cookie-bar .footer {
    padding-bottom: max(96px, calc(72px + env(safe-area-inset-bottom)));
  }
  .footer-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-links {
    justify-self: start;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .footer-links a {
    min-height: 40px;
  }
  .logo img,
  .logo {
    height: 34px;
  }
  .burger {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .certs-bridge .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pin-block {
    height: 310vh;
  }
  .pin-turnkey {
    height: 280vh;
  }
}

@media print {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .matrix-tab,
  .matrix-stat,
  #matrix.is-in .matrix-extra {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .certs-bridge,
  .certs-bridge .cert-grid,
  .certs-bridge .cert-card {
    transform: none !important;
  }
  .certs-bridge .cert-card {
    opacity: 1 !important;
  }
  .cases-pin {
    height: auto !important;
  }
  .cases-pin-sticky {
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
    display: block;
  }
  .case-stage.is-swap .case-photo img,
  .case-stage.is-swap .case-body {
    animation: none;
  }
  .certs-cluster,
  .about-copy,
  .matrix-bridge .chapter-break-phrase {
    opacity: 1 !important;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .certs-bridge,
  .about-bridge,
  .matrix-bridge {
    position: relative;
    inset: auto;
    transform: none !important;
    min-height: 100vh;
  }
}
