:root {
  --ink: #11171a;
  --ink-soft: #263238;
  --petrol: #0d5167;
  --petrol-deep: #083847;
  --orange: #f47a43;
  --orange-soft: #ffd8c4;
  --blue-soft: #dcecf1;
  --paper: #f4f2ed;
  --paper-deep: #e9e7e1;
  --white: #ffffff;
  --muted: #626d70;
  --line: #d7dcda;
  --success: #147a55;
  --error: #a6362b;
  --shadow: 0 28px 80px rgba(17, 23, 26, 0.14);
  --radius: 22px;
  --shell: 1220px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

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

strong {
  font-weight: 700;
}

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

.section {
  padding: 128px 0;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 242, 237, 0.92);
  border-color: rgba(17, 23, 26, 0.1);
  box-shadow: 0 10px 40px rgba(17, 23, 26, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 23, 26, 0.1);
  border-radius: 9px;
}

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

.brand-name {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-small {
  justify-self: end;
  min-height: 42px;
  padding: 10px 17px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-small:hover {
  background: var(--petrol);
  border-color: var(--petrol);
}

.button-primary {
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
  box-shadow: 8px 8px 0 var(--orange-soft);
}

.button-primary:hover {
  box-shadow: 4px 4px 0 var(--orange);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(17, 23, 26, 0.35);
  font-size: 14px;
  font-weight: 750;
  transition: border-color 160ms ease, color 160ms ease;
}

.text-link:hover {
  color: var(--petrol);
  border-color: var(--petrol);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--petrol);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 3px;
  background: var(--orange);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero {
  min-height: 850px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(13, 81, 103, 0.13), transparent 30%),
    linear-gradient(135deg, #f8f7f3 0%, var(--paper) 64%, #edece6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(13, 81, 103, 0.16);
  border-radius: 50%;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 76px;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 760;
}

.hero h1 em {
  display: block;
  margin-top: 12px;
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.68em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.hero-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}

.hero-specialties li {
  padding: 8px 11px;
  color: var(--petrol);
  background: rgba(13, 81, 103, 0.07);
  border: 1px solid rgba(13, 81, 103, 0.18);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-metrics {
  max-width: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
}

.trust-metrics div {
  padding: 20px 18px 0 0;
}

.trust-metrics div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.trust-metrics dt {
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.trust-metrics dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.hero-visual {
  min-width: 0;
  position: relative;
  padding: 30px 0 70px;
}

.architecture-board {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--white);
  background: #0a171b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  transform: rotate(0.7deg);
}

.architecture-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.architecture-head,
.architecture-core,
.architecture-grid,
.architecture-foot {
  position: relative;
  z-index: 1;
}

.architecture-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.architecture-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #89dfb4;
}

.architecture-live i {
  width: 7px;
  height: 7px;
  background: #4bc88a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(75, 200, 138, 0.12);
}

.architecture-core {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 34px 28px;
}

.architecture-mark {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 8px 8px 0 var(--orange);
  font-size: 35px;
  font-weight: 900;
}

.architecture-core small {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.architecture-core strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.architecture-card {
  min-height: 130px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.architecture-card:nth-child(2n) {
  border-right: 0;
}

.architecture-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.architecture-card > span {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.architecture-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 18px;
}

.architecture-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  line-height: 1.5;
}

.architecture-card:nth-child(2) strong,
.architecture-card:nth-child(3) strong {
  color: #8ed9eb;
}

.architecture-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.42);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.architecture-foot i {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-note {
  position: absolute;
  right: -20px;
  bottom: 4px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(310px, 75%);
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(17, 23, 26, 0.12);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-note strong {
  color: var(--ink);
  font-size: 13px;
}

.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  background: #2fb77a;
  border: 2px solid #c8f3df;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(47, 183, 122, 0.13);
}

.cube-accent {
  position: absolute;
  top: 0;
  right: -42px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 32px);
  gap: 5px;
  transform: rotate(5deg);
}

.cube-accent span {
  height: 32px;
  background: var(--petrol);
}

.cube-accent span:nth-child(2),
.cube-accent span:nth-child(6) {
  background: var(--orange);
}

.cube-accent span:nth-child(3),
.cube-accent span:nth-child(4) {
  background: #8f999c;
}

.brand-grid {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 7px;
  pointer-events: none;
}

.brand-grid span {
  height: 22px;
  background: var(--petrol);
  opacity: 0.65;
}

.brand-grid span:nth-child(2),
.brand-grid span:nth-child(5) {
  background: var(--orange);
}

.brand-grid span:nth-child(3) {
  background: #949d9f;
}

.brand-grid-top {
  top: 128px;
  left: -26px;
}

.client-band {
  padding: 36px 0 38px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-band .shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 54px;
}

.client-band p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  color: #6e7779;
}

.client-list span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading h2,
.method h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 760;
}

.section-heading-split,
.work-heading,
.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 80px;
}

.section-heading-split > p,
.work-heading > p,
.team-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.value-card {
  min-height: 350px;
  position: relative;
  padding: 44px 40px;
}

.value-card + .value-card {
  border-left: 1px solid var(--ink);
}

.value-card:nth-child(2) {
  background: var(--blue-soft);
}

.value-card:nth-child(3) {
  background: var(--orange-soft);
}

.card-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(17, 23, 26, 0.44);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  color: var(--white);
  background: var(--petrol);
  font-size: 21px;
}

.value-card:nth-child(3) .value-icon {
  background: var(--orange);
}

.value-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.value-card p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.work {
  color: var(--white);
  background: var(--petrol-deep);
}

.work-heading h2 {
  color: var(--white);
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.67);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px 24px;
}

.project-card-wide {
  grid-column: 1 / -1;
}

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

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.29fr);
  align-items: start;
  gap: 18px;
}

.project-mobile {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.project-mobile-top {
  width: 36px;
  height: 4px;
  display: block;
  margin: 2px auto 8px;
  background: #c7ccca;
  border-radius: 99px;
}

.project-mobile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 17px;
}

.project-mobile-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 9px 5px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8e8e3;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 56, 71, 0.06);
  transition: background 220ms ease;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 220ms ease;
}

.project-image > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-image:hover img {
  filter: saturate(1.04) contrast(1.01);
}

.project-image:hover::before {
  background: transparent;
}

.project-image:hover > span {
  opacity: 1;
  transform: translateY(0);
}

.project-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(220px, 0.3fr);
  gap: 32px;
  padding-top: 22px;
}

.project-type {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: 30px;
}

.project-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.expertise {
  background: #f8f7f3;
}

.dual-expertise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.expertise-panel {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid var(--line);
}

.design-panel {
  background: var(--blue-soft);
}

.tech-panel {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.panel-kicker {
  margin-bottom: 44px;
  color: var(--petrol);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tech-panel .panel-kicker {
  color: var(--orange);
}

.expertise-panel h3 {
  max-width: 460px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 50px);
}

.expertise-panel > p:not(.panel-kicker) {
  max-width: 500px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.tech-panel > p:not(.panel-kicker) {
  color: rgba(255, 255, 255, 0.66);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 700;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  font-size: 11px;
  border-radius: 50%;
}

.tech-panel .check-list li::before {
  color: var(--ink);
  background: var(--orange);
}

.interface-study {
  position: absolute;
  right: 54px;
  bottom: 0;
  left: 54px;
  height: 205px;
  padding: 25px;
  background: var(--white);
  border: 1px solid rgba(13, 81, 103, 0.16);
  box-shadow: 0 18px 45px rgba(13, 81, 103, 0.12);
}

.interface-study span {
  position: absolute;
  display: block;
}

.interface-nav {
  top: 22px;
  right: 22px;
  left: 22px;
  height: 9px;
  background: linear-gradient(90deg, var(--petrol) 0 15%, #e4e8e7 15% 100%);
}

.interface-title {
  top: 54px;
  left: 22px;
  width: 42%;
  height: 16px;
  background: var(--ink);
}

.interface-copy {
  top: 80px;
  left: 22px;
  width: 32%;
  height: 7px;
  background: #b8c0c0;
}

.interface-card {
  bottom: 22px;
  width: calc((100% - 64px) / 3);
  height: 72px;
  background: var(--paper);
}

.interface-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 36px;
  background: var(--petrol);
}

.interface-card.card-a { left: 22px; }
.interface-card.card-b { left: calc(33.333% + 11px); }
.interface-card.card-c { right: 22px; }
.interface-card.card-b::before { background: var(--orange); }
.interface-card.card-c::before { background: #8e999c; }

.code-study {
  position: absolute;
  right: 54px;
  bottom: 42px;
  left: 54px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 0 14px;
  padding: 20px 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #071013;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.code-study > * {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.code-study > *:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.code-study span {
  color: rgba(255, 255, 255, 0.3);
}

.code-study b {
  color: #68d5a4;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: 38px;
  background: var(--white);
}

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

.service-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  color: var(--white);
  background: var(--petrol);
  font-size: 18px;
}

.service-card:nth-child(2) > span {
  background: var(--orange);
}

.service-card:nth-child(3) > span {
  color: var(--ink);
  background: #aeb6b8;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.stack-matrix {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--ink);
}

.stack-intro {
  padding: 42px;
  background: var(--orange-soft);
  border-right: 1px solid var(--ink);
}

.stack-intro > p {
  margin-bottom: 28px;
  color: var(--petrol);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-intro h3 {
  max-width: 360px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.stack-intro > span {
  display: block;
  max-width: 390px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.stack-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stack-group {
  min-width: 0;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-group:nth-child(2n) {
  border-right: 0;
}

.stack-group:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stack-group > span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 800;
}

.stack-group h4 {
  margin-bottom: 14px;
  font-size: 17px;
}

.stack-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stack-group li {
  padding: 7px 10px;
  color: var(--petrol-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
}

.method {
  background: var(--paper-deep);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 110px;
}

.method-intro {
  position: sticky;
  top: 130px;
}

.method-intro h2 {
  margin-bottom: 28px;
}

.method-intro > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.method-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--ink);
}

.method-steps > li > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.method-steps h3 {
  margin-bottom: 10px;
  font-size: 27px;
}

.method-steps p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.person {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.person-featured {
  min-height: 210px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

.person-featured .initials {
  margin-bottom: 0;
}

.person-featured > div:last-child {
  max-width: 620px;
}

.initials {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  color: var(--white);
  background: var(--petrol);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.person:nth-child(2n) .initials {
  background: var(--orange);
}

.person:nth-child(3n) .initials {
  color: var(--ink);
  background: #b7bfc0;
}

.person h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.person .role {
  margin-bottom: 15px;
  color: var(--petrol);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.team-proof {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 81, 103, 0.96), rgba(8, 56, 71, 0.98)),
    var(--petrol-deep);
}

.contact::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.brand-grid-bottom {
  right: 8%;
  bottom: 14%;
  grid-template-columns: repeat(5, 28px);
}

.brand-grid-bottom span {
  height: 28px;
  background: rgba(255, 255, 255, 0.26);
}

.brand-grid-bottom span:nth-child(2),
.brand-grid-bottom span:nth-child(5) {
  background: var(--orange);
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: start;
  gap: 100px;
}

.contact-copy {
  padding-top: 18px;
}

.contact h2 {
  margin-bottom: 26px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.contact-points {
  display: grid;
  gap: 13px;
  margin-top: 38px;
  font-size: 13px;
  font-weight: 700;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-points span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--orange);
  border-radius: 50%;
  font-size: 10px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 18px 18px 0 rgba(244, 122, 67, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label,
.contact-form legend {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form legend {
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #f6f6f3;
  border: 1px solid #d8dddb;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(13, 81, 103, 0.12);
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.choice-row label {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row span {
  display: grid;
  place-items: center;
  min-height: 43px;
  padding: 8px;
  color: var(--muted);
  background: #f6f6f3;
  border: 1px solid #d8dddb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  transition: all 160ms ease;
}

.choice-row input:checked + span {
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
}

.choice-row input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.form-submit {
  width: 100%;
  box-shadow: none;
}

.form-submit:hover {
  box-shadow: none;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-note {
  margin: -8px 0 0;
  color: #7c8587;
  font-size: 10px;
  text-align: center;
}

.form-status {
  padding: 13px 15px;
  color: var(--success);
  background: #e8f7f0;
  border-left: 3px solid var(--success);
  font-size: 12px;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--error);
  background: #fff0ed;
  border-color: var(--error);
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 90px;
  padding-bottom: 60px;
}

.brand-footer {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-grid > div:first-child > p {
  max-width: 440px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

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

.footer-bottom button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font-size: 11px;
  cursor: pointer;
}

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

.legal-dialog {
  width: min(calc(100% - 32px), 680px);
  max-height: min(84vh, 760px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.legal-dialog::backdrop {
  background: rgba(8, 17, 20, 0.76);
  backdrop-filter: blur(6px);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font-size: 25px;
}

.dialog-head button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialog-content {
  display: grid;
  gap: 32px;
  padding: 30px 28px 38px;
  overflow-y: auto;
}

.dialog-content h3 {
  margin-bottom: 10px;
  color: var(--petrol);
  font-size: 15px;
}

.dialog-content p,
.dialog-content li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.dialog-content p {
  margin-bottom: 0;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clarity and readability pass */

body {
  font-size: 18px;
}

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

.main-nav,
.button,
.text-link {
  font-size: 16px;
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.hero {
  min-height: 780px;
  padding: 138px 0 72px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 64px;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(54px, 5.6vw, 78px);
}

.hero h1 em {
  margin-top: 8px;
  font-size: 0.74em;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: 21px;
  line-height: 1.6;
}

.hero-tech {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--petrol);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-tech strong {
  color: var(--ink);
  font-weight: 850;
}

.trust-metrics {
  margin-top: 48px;
}

.trust-metrics div {
  padding-top: 22px;
}

.trust-metrics dt {
  font-size: 25px;
}

.trust-metrics dd {
  font-size: 16px;
  line-height: 1.45;
}

.hero-visual {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 0;
}

.studio-board {
  width: 100%;
  height: 500px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #0a171b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  transform: rotate(0.7deg);
}

.studio-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.studio-board::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  top: -34px;
  right: -26px;
  background: var(--orange);
  transform: rotate(12deg);
}

.studio-window {
  width: 74%;
  height: 70%;
  position: absolute;
  top: 10%;
  left: 8%;
  z-index: 2;
  overflow: hidden;
  padding: 74px 34px 32px;
  background: #f8f7f3;
  border: 1px solid rgba(17, 23, 26, 0.16);
  border-radius: 7px;
  box-shadow: 20px 24px 60px rgba(0, 0, 0, 0.28);
}

.studio-window-bar {
  height: 35px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.studio-window-bar i {
  width: 8px;
  height: 8px;
  display: block;
  background: #c8cecc;
  border-radius: 50%;
}

.studio-window-bar i:first-child {
  background: var(--orange);
}

.studio-window-title,
.studio-window-copy,
.studio-window-button {
  display: block;
}

.studio-window-title {
  width: 65%;
  height: 29px;
  margin-bottom: 18px;
  background: var(--ink);
}

.studio-window-copy {
  width: 82%;
  height: 10px;
  margin-bottom: 26px;
  background: #b9c0bf;
  box-shadow: 0 18px 0 #d6d9d7;
}

.studio-window-button {
  width: 112px;
  height: 38px;
  margin-top: 40px;
  background: var(--petrol);
  box-shadow: 6px 6px 0 var(--orange-soft);
}

.studio-window-cards {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.studio-window-cards i {
  height: 70px;
  background: var(--blue-soft);
  border-top: 18px solid var(--petrol);
}

.studio-window-cards i:nth-child(2) {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.studio-window-cards i:nth-child(3) {
  background: #e2e4e1;
  border-color: #8f999c;
}

.studio-code {
  width: 52%;
  height: 36%;
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px 26px;
  background: #071013;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  transform: rotate(-2deg);
}

.studio-code i {
  width: 78%;
  height: 7px;
  display: block;
  background: rgba(255, 255, 255, 0.18);
}

.studio-code i:nth-child(2) {
  width: 54%;
  margin-left: 15%;
  background: rgba(142, 217, 235, 0.62);
}

.studio-code i:nth-child(3) {
  width: 68%;
  margin-left: 8%;
}

.studio-code i:nth-child(4) {
  width: 46%;
  margin-left: 22%;
  background: rgba(244, 122, 67, 0.72);
}

.studio-code i:nth-child(5) {
  width: 62%;
}

.studio-seal {
  width: 86px;
  height: 86px;
  position: absolute;
  bottom: 8%;
  left: 5%;
  z-index: 4;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  box-shadow: 9px 9px 0 var(--orange);
  font-size: 46px;
  font-weight: 900;
}

.studio-orbit {
  width: 260px;
  height: 260px;
  position: absolute;
  top: -72px;
  left: -74px;
  border: 1px solid rgba(142, 217, 235, 0.34);
  border-radius: 50%;
}

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

.section-heading-split > p,
.work-heading > p,
.team-heading > p {
  font-size: 18px;
}

.work-heading {
  display: block;
  max-width: 900px;
}

.project-grid {
  gap: 74px 28px;
}

.project-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.27fr);
  gap: 24px;
}

.project-image {
  padding-top: 20px;
  background: #dde1df;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.project-image::before {
  top: 20px;
}

.project-image::after {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 11px;
  z-index: 2;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 11px 0 0 #9aa4a4, 22px 0 0 #c5cac8;
}

.project-image > span {
  font-size: 16px;
}

.project-mobile-caption {
  font-size: 16px;
}

.project-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px 0;
}

.project-copy h3 {
  flex: 1 1 auto;
  font-size: 35px;
}

.project-card-wide .project-copy h3 {
  font-size: 42px;
}

.project-copy .project-type {
  max-width: 58%;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: right;
}

.expertise-heading {
  max-width: 940px;
}

.expertise-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}

.expertise-card {
  min-width: 0;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 42px 36px 36px;
  background: var(--white);
}

.expertise-card + .expertise-card {
  border-left: 1px solid var(--ink);
}

.expertise-card-commerce {
  color: var(--white);
  background: var(--petrol-deep);
}

.expertise-card-tools {
  background: var(--orange-soft);
}

.expertise-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

.expertise-card-head span,
.expertise-card-head p {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expertise-card-head span {
  color: var(--petrol);
}

.expertise-card-commerce .expertise-card-head span {
  color: #ffb08b;
}

.expertise-card h3 {
  margin-bottom: 20px;
  font-size: 36px;
}

.expertise-card > p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.expertise-card-commerce > p {
  color: rgba(255, 255, 255, 0.76);
}

.expertise-list {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.45;
}

.expertise-card-commerce .expertise-list {
  border-color: rgba(255, 255, 255, 0.22);
}

.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.expertise-list li::before {
  content: "—";
  flex: 0 0 auto;
  color: currentColor;
  font-weight: 900;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
}

.expertise-tags span {
  padding: 8px 10px;
  background: rgba(13, 81, 103, 0.08);
  border: 1px solid rgba(13, 81, 103, 0.22);
  font-size: 16px;
  font-weight: 800;
}

.expertise-card-commerce .expertise-tags span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.technical-impact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  margin-top: 32px;
  overflow: hidden;
  color: var(--white);
  background: #0a171b;
  border: 1px solid var(--ink);
}

.technical-impact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.technical-impact-intro,
.technical-impact-list {
  position: relative;
  z-index: 1;
}

.technical-impact-intro {
  padding: 48px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.technical-impact-intro > p {
  margin: 0 0 56px;
  color: #ffb08b;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-impact-intro h3 {
  max-width: 390px;
  margin: 0;
  font-size: 42px;
}

.technical-impact-list {
  margin: 0;
}

.technical-impact-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 34px;
  padding: 28px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.technical-impact-list > div:last-child {
  border-bottom: 0;
}

.technical-impact-list dt {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.technical-impact-list dd {
  margin: 0;
}

.technical-impact-list dd p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.5;
}

.technical-impact-list dd strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  line-height: 1.5;
}

.partnership {
  padding: 0 0 128px;
  background: #f8f7f3;
}

.partnership-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  color: var(--white);
  background: var(--petrol-deep);
  border: 1px solid var(--ink);
}

.partnership-intro {
  padding: 64px 54px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-intro h2 {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: clamp(42px, 4.5vw, 64px);
}

.partnership-intro > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.65;
}

.partnership-items {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.partnership-items article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 38px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.partnership-items article:last-child {
  border-bottom: 0;
}

.partnership-items article > span {
  color: #ffb08b;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.partnership-items h3 {
  margin-bottom: 10px;
  font-size: 29px;
}

.partnership-items p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.back-to-top {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--petrol-deep);
  border: 2px solid var(--white);
  box-shadow: 0 7px 0 rgba(244, 122, 67, 0.9);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  color: var(--ink);
  background: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(13, 81, 103, 0.22);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.method-intro > p:not(.eyebrow) {
  font-size: 18px;
}

.method-steps > li > span {
  font-size: 16px;
}

.method-steps p {
  font-size: 17px;
}

.team-heading {
  display: block;
  max-width: 980px;
}

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

.person {
  min-height: 220px;
  padding: 30px 26px;
}

.person h3 {
  font-size: 23px;
}

.person p.role {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.contact-copy > p:not(.eyebrow) {
  font-size: 20px;
}

.contact-form label,
.contact-form legend {
  font-size: 16px;
  letter-spacing: 0;
}

.contact-form input,
.contact-form textarea {
  font-size: 16px;
}

.choice-row span {
  font-size: 16px;
}

.form-note {
  font-size: 16px;
}

.form-status {
  font-size: 16px;
}

.footer-grid > div:first-child > p {
  font-size: 16px;
}

.footer-grid h2 {
  font-size: 16px;
}

.footer-grid ul {
  font-size: 16px;
}

.footer-bottom,
.footer-bottom button {
  font-size: 16px;
}

.dialog-content h3 {
  font-size: 18px;
}

.dialog-content p,
.dialog-content li {
  font-size: 16px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    top: 79px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 23, 26, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    justify-self: end;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--ink);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 19px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(850px, 94%);
    margin: 0 auto;
  }

  .section-heading-split,
  .work-heading,
  .team-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading-split > p,
  .work-heading > p,
  .team-heading > p {
    max-width: 700px;
  }

  .dual-expertise {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-copy {
    max-width: 760px;
  }
}

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

  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 128px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

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

  .client-band .shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .client-list {
    justify-content: flex-start;
  }

  .value-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .value-card:nth-child(3),
  .service-card:nth-child(3) {
    border-left: 0;
  }

  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .team-grid {
    border-top: 0;
  }

  .project-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .expertise-panel {
    min-height: 700px;
    padding: 40px;
  }

  .interface-study,
  .code-study {
    right: 40px;
    left: 40px;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .method-intro {
    position: static;
  }

  .stack-matrix {
    grid-template-columns: 1fr;
  }

  .stack-intro {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 26px), var(--shell));
  }

  .header-inner {
    height: 70px;
  }

  .main-nav {
    top: 69px;
  }

  .brand-mark {
    width: 44px;
    height: 39px;
  }

  .hero {
    padding: 112px 0 64px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero h1 em {
    font-size: 0.72em;
  }

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

  .trust-metrics {
    grid-template-columns: 1fr;
  }

  .trust-metrics div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-metrics div + div {
    padding-left: 0;
    border-left: 0;
  }

  .trust-metrics dt {
    margin: 0;
  }

  .hero-visual {
    width: 100%;
    padding-bottom: 90px;
  }

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

  .architecture-board {
    transform: none;
  }

  .architecture-head {
    padding: 0 14px;
    font-size: 7px;
  }

  .architecture-live {
    display: none;
  }

  .architecture-core {
    gap: 17px;
    padding: 24px 20px;
  }

  .architecture-mark {
    width: 58px;
    height: 58px;
    font-size: 27px;
  }

  .architecture-core strong {
    font-size: 21px;
  }

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

  .architecture-card,
  .architecture-card:nth-child(2n),
  .architecture-card:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .architecture-card:last-child {
    border-bottom: 0;
  }

  .architecture-card > span {
    margin-bottom: 12px;
  }

  .architecture-foot {
    display: none;
  }

  .hero-note {
    right: 0;
    bottom: 12px;
    width: 92%;
  }

  .cube-accent {
    right: -18px;
    grid-template-columns: repeat(3, 22px);
  }

  .cube-accent span {
    height: 22px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .method h2,
  .contact h2 {
    font-size: 40px;
  }

  .value-grid,
  .project-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:nth-child(3),
  .service-card,
  .service-card:nth-child(3) {
    grid-column: auto;
    border-left: 0;
  }

  .value-card + .value-card,
  .service-card + .service-card {
    border-top: 1px solid var(--ink);
  }

  .value-card {
    min-height: 300px;
    padding: 34px 28px;
  }

  .value-icon {
    margin-bottom: 52px;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-mobile {
    width: min(250px, 78%);
    margin: 0 auto;
  }

  .project-copy h3 {
    font-size: 26px;
  }


  .stack-groups {
    grid-template-columns: 1fr;
  }

  .stack-intro,
  .stack-group {
    padding: 28px 24px;
  }

  .stack-group,
  .stack-group:nth-child(2n),
  .stack-group:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stack-group:last-child {
    border-bottom: 0;
  }

  .expertise-panel {
    min-height: 780px;
    padding: 32px 25px;
  }

  .expertise-panel h3 {
    font-size: 35px;
  }

  .interface-study,
  .code-study {
    right: 25px;
    left: 25px;
  }

  .code-study {
    grid-template-columns: 24px 1fr auto;
    padding: 14px;
    font-size: 9px;
  }

  .service-card {
    min-height: 260px;
    padding: 30px 28px;
  }

  .service-card + .service-card {
    border-top-color: var(--line);
  }

  .service-card > span {
    margin-bottom: 48px;
  }

  .method-steps li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .person {
    min-height: auto;
  }

  .person-featured {
    grid-column: auto;
    display: block;
  }

  .person-featured .initials {
    margin-bottom: 42px;
  }

  .contact {
    padding: 88px 0;
  }

  .contact-form {
    gap: 20px;
    padding: 26px 20px;
    box-shadow: 8px 8px 0 rgba(244, 122, 67, 0.85);
  }

  .form-row,
  .choice-row {
    grid-template-columns: 1fr;
  }

  .choice-row {
    gap: 6px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

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

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

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

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .expertise-cards {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 0;
  }

  .expertise-card + .expertise-card {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .expertise-card-head {
    margin-bottom: 48px;
  }

  .expertise-tags {
    margin-top: 36px;
  }

  .technical-impact {
    grid-template-columns: 1fr;
  }

  .technical-impact-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .technical-impact-intro > p {
    margin-bottom: 30px;
  }

  .partnership-panel {
    grid-template-columns: 1fr;
  }

  .partnership-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 820px) {
  .hero .hero-visual {
    min-height: 450px;
    padding: 0;
  }

  .studio-board {
    height: 430px;
    transform: none;
  }

  .studio-window {
    width: 78%;
    height: 72%;
  }

  .studio-code {
    width: 54%;
  }

  .hero-lead {
    font-size: 19px;
  }

  .project-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-copy .project-type {
    max-width: 100%;
    text-align: left;
  }

  .expertise-card {
    padding: 38px 32px;
  }
}

@media (max-width: 600px) {
  .hero .hero-visual {
    display: none;
  }

  .trust-metrics div {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .trust-metrics dt {
    white-space: nowrap;
  }

  .studio-board {
    height: 330px;
  }

  .studio-window {
    top: 8%;
    left: 6%;
    width: 82%;
    height: 72%;
    padding: 57px 22px 22px;
  }

  .studio-window-title {
    height: 20px;
  }

  .studio-window-copy {
    height: 7px;
  }

  .studio-window-button {
    width: 82px;
    height: 29px;
    margin-top: 34px;
  }

  .studio-window-cards {
    right: 22px;
    bottom: 20px;
    left: 22px;
    gap: 7px;
  }

  .studio-window-cards i {
    height: 45px;
    border-top-width: 12px;
  }

  .studio-code {
    right: 4%;
    bottom: 5%;
    width: 57%;
    height: 38%;
    gap: 9px;
    padding: 18px;
  }

  .studio-code i {
    height: 5px;
  }

  .studio-seal {
    width: 62px;
    height: 62px;
    bottom: 7%;
    left: 4%;
    font-size: 34px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .project-copy h3,
  .project-card-wide .project-copy h3 {
    font-size: 30px;
  }

  .project-copy .project-type {
    font-size: 16px;
  }

  .expertise-card {
    padding: 32px 25px;
  }

  .expertise-card-head {
    margin-bottom: 40px;
  }

  .expertise-card h3 {
    font-size: 33px;
  }

  .expertise-card > p,
  .expertise-list {
    font-size: 17px;
  }

  .technical-impact-intro {
    padding: 34px 25px;
  }

  .technical-impact-intro h3 {
    font-size: 34px;
  }

  .technical-impact-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 25px;
  }

  .technical-impact-list dt {
    font-size: 22px;
  }

  .technical-impact-list dd p,
  .technical-impact-list dd strong {
    font-size: 16px;
  }

  .partnership {
    padding-bottom: 88px;
  }

  .partnership-intro {
    padding: 38px 25px;
  }

  .partnership-intro h2 {
    font-size: 38px;
  }

  .partnership-intro > p:not(.eyebrow) {
    font-size: 17px;
  }

  .partnership-items article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 29px 25px;
  }

  .partnership-items h3 {
    font-size: 25px;
  }

  .partnership-items p {
    font-size: 16px;
  }

  .back-to-top {
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    font-size: 25px;
  }
}
