:root {
  --blue: #0f62fe;
  --blue-dark: #0353e9;
  --blue-deep: #001d6c;
  --ink: #161616;
  --ink-soft: #262626;
  --paper: #ffffff;
  --cloud: #f4f4f4;
  --line: #d6d6d6;
  --muted: #525252;
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

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

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

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

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

h1,
h2,
h3,
p {
  margin-top: 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;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--blue);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  min-height: 4.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  width: 25px;
  height: 25px;
  transition: filter 240ms ease;
}

.brand-mark span {
  position: absolute;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: skewX(-30deg);
  transform-origin: right center;
  will-change: transform;
  animation: precision-line 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.brand-mark span:nth-child(1) { top: 4px; width: 24px; opacity: 0.42; animation-delay: -0.36s; }
.brand-mark span:nth-child(2) { top: 11px; width: 19px; opacity: 0.7; animation-delay: -0.18s; }
.brand-mark span:nth-child(3) { top: 18px; width: 14px; animation-delay: 0s; }
.brand-mark span:nth-child(4) { display: none; }

.brand-name {
  font-size: calc(1.18rem + 2px);
}

.desktop-nav {
  display: flex;
  align-items: stretch;
}

.desktop-nav > a,
.nav-services-trigger {
  display: grid;
  place-items: center;
  min-width: 7.2rem;
  padding: 0 1rem;
  border-left: 1px solid var(--line);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav > a:hover,
.nav-services-trigger:hover,
.nav-services-trigger[aria-expanded="true"] {
  background: var(--cloud);
  color: var(--ink);
}

.nav-services {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-services-trigger {
  display: flex;
  gap: 0.55rem;
}

.nav-services-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--blue);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-services-trigger[aria-expanded="true"] .nav-services-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-services-menu {
  position: absolute;
  z-index: 120;
  top: 100%;
  left: 0;
  width: 350px;
  visibility: hidden;
  opacity: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-services.is-open .nav-services-menu,
.nav-services:hover .nav-services-menu,
.nav-services:focus-within .nav-services-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-services:hover .nav-services-chevron,
.nav-services:focus-within .nav-services-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-services-menu a {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 160ms ease;
}

.nav-services-menu a:last-child {
  border-bottom: 0;
}

.nav-services-menu a:hover {
  background: var(--cloud);
}

.nav-services-menu strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-services-menu small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}

.nav-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 12rem;
  padding: 0 1.5rem;
  background: var(--blue);
  color: var(--paper);
  font-weight: 600;
  transition: background 160ms ease;
}

.nav-contact:hover {
  background: var(--blue-deep);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.9fr);
  max-width: var(--max);
  min-height: clamp(520px, 66svh, 600px);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 4vw, 4.25rem) var(--pad) 1rem;
  background-image: linear-gradient(135deg, rgba(15, 98, 254, 0.025), transparent 42%);
}

.eyebrow,
.section-kicker,
.section-index,
.panel-index,
.feature-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--blue);
}

.eyebrow span {
  padding: 0 0.55rem;
  color: var(--line);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 4.55vw, 4.85rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.05rem;
  font-weight: 600;
}

.button-primary {
  min-width: 15rem;
  background: var(--blue);
  color: var(--paper);
  transition: background 160ms ease, transform 160ms ease;
}

.button-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

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

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: auto calc(var(--pad) * -1) 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-signals li {
  display: flex;
  align-items: center;
  min-height: 3.35rem;
  padding: 0.55rem 1rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-signals li:last-child {
  border-right: 0;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 29, 108, 0) 45%, rgba(0, 29, 108, 0.72) 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.85) contrast(1.08);
  transform: none;
}

.hero-grid,
.contact-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-grid {
  animation: grid-drift 18s linear infinite;
}

.motion-ribbon {
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-right: 1px solid #393939;
  border-left: 1px solid #393939;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon-move 28s linear infinite;
  will-change: transform;
}

.ribbon-set {
  display: flex;
  flex: none;
  align-items: center;
}

.ribbon-set span {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 0 1.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ribbon-set span::after {
  width: 7px;
  height: 7px;
  background: var(--blue);
  content: "";
}

.visual-label {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visual-label strong {
  font-weight: 600;
}

.statement {
  display: grid;
  grid-template-columns: 1fr 3fr;
  max-width: var(--max);
  min-height: 360px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-left: 1px solid #393939;
  border-right: 1px solid #393939;
}

.section-index {
  padding: 2rem var(--pad);
  border-right: 1px solid #393939;
  color: #a8a8a8;
}

.statement-copy {
  align-self: end;
  padding: 2.2rem var(--pad) 3rem;
}

.statement h2 {
  max-width: 900px;
  margin-bottom: 1.6rem;
  font-size: clamp(2.8rem, 4.8vw, 4.85rem);
  font-weight: 350;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.statement p {
  max-width: 840px;
  margin-bottom: 0;
  color: #c6c6c6;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 6.5vw, 6.25rem) var(--pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.75rem, 4.5vw, 4rem);
}

.section-kicker {
  margin-bottom: 1.7rem;
  color: var(--blue);
}

.section-heading h2,
.principles h2 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4.2vw, 4.45rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading > p {
  max-width: 440px;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.practice-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
  min-height: 240px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  isolation: isolate;
  transition: color 260ms ease, background 260ms ease;
}

.practice-item::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.25), transparent 32%);
  content: "";
  opacity: 0;
  transition: opacity 240ms ease;
}

.practice-item:hover::after,
.practice-item:focus-visible::after,
.practice-item.is-pointer-active::after {
  opacity: 1;
}

.practice-item::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--practice-color, var(--blue));
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice-consulting { --practice-color: #0f62fe; }
.practice-events { --practice-color: #3b6d35; }
.practice-advertising { --practice-color: #e84318; }
.practice-technology { --practice-color: #6929c4; }

.practice-featured {
  box-shadow: inset 5px 0 0 var(--practice-color);
}

.practice-featured .practice-arrow {
  background: var(--practice-color);
  color: var(--paper);
}

.practice-item:hover,
.practice-item:focus-visible {
  color: var(--paper);
}

.practice-item:hover::before,
.practice-item:focus-visible::before {
  transform: scaleY(1);
}

.practice-copy {
  display: grid;
  grid-template-columns: minmax(170px, 0.36fr) minmax(300px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 1rem 1.6rem;
  padding: 1.4rem clamp(1.5rem, 3vw, 2.75rem);
}

.practice-label {
  grid-row: 1 / -1;
  padding-top: 0.65rem;
  color: var(--practice-color, var(--blue));
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 260ms ease;
}

.practice-item:hover .practice-label,
.practice-item:focus-visible .practice-label {
  color: var(--paper);
}

.practice-copy h3 {
  align-self: end;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  font-weight: 390;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.practice-copy p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 260ms ease;
}

.practice-item:hover .practice-copy p,
.practice-item:focus-visible .practice-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.practice-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.practice-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.22));
  content: "";
}

.practice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}

.practice-arrow {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.practice-item:hover .practice-arrow,
.practice-item:focus-visible .practice-arrow {
  background: var(--ink);
  color: var(--paper);
  transform: translate(4px, -4px);
}

.service-card {
  position: relative;
  min-height: 550px;
  padding: 1.5rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  margin-bottom: 2rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.service-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 3.8rem;
}

.service-icon span {
  position: absolute;
  width: 35px;
  height: 35px;
  border: 2px solid var(--blue);
}

.service-icon span:nth-child(1) { top: 0; left: 0; }
.service-icon span:nth-child(2) { top: 19px; left: 19px; }
.service-icon span:nth-child(3) { right: 0; bottom: 0; background: var(--blue); }

.service-icon-steps span {
  width: 52px;
  height: 18px;
  border: 0;
  background: var(--blue);
}

.service-icon-steps span:nth-child(1) { top: 0; left: 0; }
.service-icon-steps span:nth-child(2) { top: 25px; left: 12px; opacity: 0.72; }
.service-icon-steps span:nth-child(3) { right: 0; bottom: 1px; opacity: 0.42; }

.service-icon-signal span {
  bottom: 0;
  width: 16px;
  border: 0;
  background: var(--blue);
}

.service-icon-signal span:nth-child(1) { top: auto; left: 0; height: 28px; opacity: 0.4; }
.service-icon-signal span:nth-child(2) { top: auto; left: 29px; height: 50px; opacity: 0.7; }
.service-icon-signal span:nth-child(3) { right: 0; height: 76px; }

.service-icon-code span {
  top: 29px;
  width: 34px;
  height: 18px;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}

.service-icon-code span:nth-child(1) { left: 0; }
.service-icon-code span:nth-child(2) { right: 0; left: auto; transform: rotate(225deg); }
.service-icon-code span:nth-child(3) { top: 0; left: 36px; width: 2px; height: 76px; border: 0; background: var(--blue); transform: rotate(14deg); }

.service-card h3 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.service-card > p {
  min-height: 96px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-card:hover > p {
  color: #c6c6c6;
}

.service-card ul {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  padding: 0.42rem 0;
  font-size: 0.85rem;
}

.service-card li::before {
  margin-right: 0.6rem;
  color: var(--blue);
  content: "+";
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  min-height: 650px;
  margin: 0 auto;
  background: var(--cloud);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.approach-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.approach-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.78));
  content: "";
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-traction {
  min-width: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(120, 169, 255, 0.2), transparent 27%),
    linear-gradient(145deg, #061738 0%, #0b2f72 58%, #0f62fe 140%);
}

.approach-traction::after {
  z-index: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 15, 45, 0.8));
}

.traction-graphic {
  position: absolute;
  z-index: 1;
  inset: 3% 3% 12%;
  width: 94%;
  height: 85%;
}

.traction-grid path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1;
}

.traction-path {
  fill: none;
  stroke: url(#traction-blue);
  stroke-dasharray: 0.25 0.035;
  stroke-linecap: square;
  stroke-linejoin: miter;
  animation: traction-flow 7s linear infinite;
}

.traction-path-one {
  stroke-width: 5;
}

.traction-path-two {
  stroke-width: 3.5;
  opacity: 0.72;
  animation-delay: -1.2s;
}

.traction-path-three {
  stroke-width: 2.5;
  opacity: 0.46;
  animation-delay: -2.4s;
}

.traction-points circle {
  fill: #ffffff;
  transform-box: fill-box;
  transform-origin: center;
  animation: traction-point 3.6s ease-in-out infinite;
}

.traction-points circle:nth-child(2) { animation-delay: -1.2s; }
.traction-points circle:nth-child(3) { animation-delay: -2.4s; }

.traction-labels {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 5.4rem;
  left: 2rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-caption {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  color: var(--paper);
  font-size: 1.1rem;
}

.approach-content {
  padding: clamp(3rem, 5vw, 5rem) var(--pad);
}

.approach h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 4.4vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.approach-intro {
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.process-mark {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 0.72rem;
  background: var(--blue);
}

.process-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.process-list p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.capabilities {
  background: var(--ink);
  color: var(--paper);
  border-color: #393939;
}

.section-heading-light > p {
  color: #c6c6c6;
}

.capability-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 460px;
  margin-bottom: 1rem;
  border: 1px solid #525252;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  background: var(--blue);
}

.feature-tag {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.78);
}

.feature-copy h3 {
  margin: 3.5rem 0 1.2rem;
  font-size: clamp(2.5rem, 4.1vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.97;
}

.feature-copy > p {
  max-width: 600px;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.58;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.feature-links span {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.feature-image {
  min-height: 460px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.event-panel,
.technology-panel {
  min-height: 410px;
  border: 1px solid #525252;
}

.event-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--paper);
  color: var(--ink);
}

.panel-index {
  margin-bottom: auto;
  color: var(--blue);
}

.event-panel h3,
.technology-copy h3 {
  margin: 3rem 0 1.2rem;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.event-panel > p:not(.panel-index) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.event-panel .inline-link {
  margin-top: 1rem;
}

.technology-panel {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}

.technology-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 29, 108, 0.12), rgba(0, 29, 108, 0.9));
  content: "";
}

.technology-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.technology-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.75rem, 3vw, 2.75rem);
}

.technology-copy .panel-index {
  color: #78a9ff;
}

.technology-copy .inline-link:hover {
  color: #a6c8ff;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.principles-title {
  padding: clamp(4rem, 6vw, 6rem) var(--pad);
  border-right: 1px solid var(--line);
}

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

.principle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 215px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease;
}

.principle:nth-child(even) {
  border-right: 0;
}

.principle:nth-child(n+3) {
  border-bottom: 0;
}

.principle:hover {
  background: var(--blue);
  color: var(--paper);
}

.principle i {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  font-style: normal;
}

.principle:hover i {
  border-color: var(--paper);
}

.principle h3 {
  max-width: 260px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
}

.contact-grid {
  opacity: 0.18;
  background-size: 72px 72px;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 480px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 4.75rem) var(--pad);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.contact .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 1100px;
  margin-bottom: 2.5rem;
  font-size: clamp(3.1rem, 6vw, 6rem);
  font-weight: 350;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: clamp(1.25rem, 2.5vw, 2.2rem);
  transition: padding 180ms ease, background 180ms ease;
}

.contact-email:hover {
  padding-right: 1.2rem;
  padding-left: 1.2rem;
  background: var(--paper);
  color: var(--blue);
}

.contact-details-link {
  display: inline-block;
  margin-top: 1.6rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 650;
}

.contact-details-link:hover {
  border-bottom-color: #fff;
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 160px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.site-footer p,
.footer-company {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-company {
  line-height: 1.65;
}

.footer-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-company a {
  display: inline-block;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
}

.footer-company a:hover {
  border-bottom-color: currentColor;
  color: var(--blue);
}

.footer-meta {
  text-align: right;
}

.footer-meta > a {
  display: inline-block;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  margin-bottom: 1.1rem;
}

.footer-legal-links a,
.cookie-settings {
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.4;
}

.footer-legal-links a:hover,
.cookie-settings:hover {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.footer-legal-links [aria-current="page"] {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  animation: cookie-arrive 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cookie-banner-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.cookie-banner-label {
  color: #78a9ff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cookie-banner p {
  max-width: 720px;
  margin: 0;
  color: #c6c6c6;
  font-size: 0.85rem;
  line-height: 1.55;
}

.cookie-banner p a {
  color: var(--paper);
  border-bottom: 1px solid currentColor;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-button {
  min-height: 2.9rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #6f6f6f;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
}

.cookie-button-primary {
  background: var(--blue);
  border-color: var(--blue);
}

.cookie-button:hover {
  border-color: var(--paper);
}

.cookie-button-primary:hover {
  background: var(--blue-deep);
}

.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: 2px;
  background: var(--blue);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  will-change: transform;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

@keyframes ribbon-move {
  to { transform: translate3d(-33.333333%, 0, 0); }
}

@keyframes grid-drift {
  to { background-position: 64px 64px; }
}

@keyframes brand-arrive {
  0% { clip-path: inset(0 100% 0 0); transform: translateX(-8px) skewX(-30deg); }
  100% { clip-path: inset(0); transform: translateX(0) skewX(-30deg); }
}

@keyframes brand-surge {
  0%, 100% { transform: translateX(0) scaleX(1) skewX(-30deg); }
  38% { transform: translateX(4px) scaleX(1.1) skewX(-30deg); }
  72% { transform: translateX(-1px) scaleX(0.98) skewX(-30deg); }
}

@keyframes precision-line {
  0%, 100% { transform: skewX(-30deg) scaleX(0.72); }
  44%, 62% { transform: skewX(-30deg) scaleX(1); }
}

@keyframes traction-flow {
  to { stroke-dashoffset: -1; }
}

@keyframes traction-point {
  0%, 100% { opacity: 0.45; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes cookie-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  filter: drop-shadow(0 4px 7px rgba(15, 98, 254, 0.2));
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .desktop-nav > a,
  .nav-services-trigger {
    min-width: 6rem;
  }

  .nav-contact {
    min-width: 10rem;
  }

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

  .hero h1 {
    font-size: clamp(3.15rem, 4.8vw, 4.5rem);
  }

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

  .practice-copy {
    grid-template-columns: minmax(140px, 0.3fr) minmax(260px, 1fr);
  }

  .service-card {
    min-height: 500px;
  }
}

@media (max-width: 960px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 4.5rem;
    padding-right: 0;
  }

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

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 4.5rem;
    padding: 0 1.35rem;
    background: var(--blue);
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--paper);
    transition: transform 180ms ease;
  }

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

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

  .mobile-menu {
    position: fixed;
    inset: 4.5rem 0 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--ink);
    color: var(--paper);
  }

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

  .mobile-menu a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
    padding: 0.8rem var(--pad);
    border-bottom: 1px solid #393939;
    font-size: 1.15rem;
  }

  .mobile-menu a:last-child {
    margin-top: auto;
    background: var(--blue);
  }

  .mobile-menu span {
    color: #78a9ff;
    font-family: var(--mono);
    font-size: 0.72rem;
  }

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

  .hero-copy {
    min-height: 500px;
  }

  .hero-visual {
    min-height: 400px;
  }

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

  .section-index {
    border-right: 0;
    border-bottom: 1px solid #393939;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    max-width: 680px;
  }

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

  .approach-image {
    min-height: 480px;
  }

  .capability-feature {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    min-height: 420px;
  }

  .feature-image {
    min-height: 380px;
  }

  .capability-split {
    grid-template-columns: 1fr;
  }

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

  .principles-title {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero-copy {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .eyebrow {
    margin-bottom: 1.7rem;
  }

  .eyebrow span {
    padding: 0 0.2rem;
  }

  .hero h1 {
    margin-bottom: 1.1rem;
    font-size: clamp(2.7rem, 12.5vw, 3.5rem);
  }

  .hero-lede {
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .button-primary {
    width: 100%;
  }

  .hero-signals {
    display: none;
  }

  .hero-visual {
    min-height: 270px;
  }

  .statement {
    min-height: 460px;
  }

  .statement-copy {
    padding-top: 3.25rem;
  }

  .statement h2 {
    font-size: clamp(2.7rem, 12.5vw, 3.6rem);
  }

  .section-pad {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .section-heading h2,
  .principles h2,
  .approach h2 {
    font-size: clamp(2.55rem, 11.5vw, 3.45rem);
  }

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

  .practice-item {
    grid-template-columns: 1fr;
  }

  .practice-copy {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    min-height: 235px;
  }

  .practice-label {
    grid-row: auto;
  }

  .practice-image {
    min-height: 210px;
  }

  .service-card {
    min-height: 490px;
  }

  .service-card:hover {
    transform: none;
  }

  .approach-image {
    min-height: 340px;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
  }

  .feature-copy {
    min-height: 380px;
  }

  .feature-copy h3 {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
  }

  .feature-image {
    min-height: 220px;
  }

  .event-panel,
  .technology-panel {
    min-height: 340px;
  }

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

  .principle {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .principle:last-child {
    border-bottom: 0 !important;
  }

  .contact,
  .contact-content {
    min-height: 420px;
  }

  .contact h2 {
    font-size: clamp(2.9rem, 13vw, 3.85rem);
  }

  .contact-email {
    font-size: 1.05rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 180px;
  }

  .footer-meta {
    grid-column: auto;
  }

  .cookie-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .cookie-banner-copy {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .ribbon-track {
    animation-duration: 40s !important;
    animation-iteration-count: infinite !important;
  }

  .brand-mark span {
    animation: precision-line 3.6s ease-in-out infinite !important;
  }

  .brand-mark span:nth-child(1) { animation-delay: -0.4s !important; }
  .brand-mark span:nth-child(2) { animation-delay: -0.2s !important; }
  .brand-mark span:nth-child(3) { animation-delay: 0s !important; }

  .traction-path {
    animation-duration: 12s !important;
    animation-iteration-count: infinite !important;
  }

  .traction-points circle {
    animation-duration: 5s !important;
    animation-iteration-count: infinite !important;
  }
}
