:root {
  --ink: #0b1f3a;
  --ink-soft: #1b2f4a;
  --blue: #1454d4;
  --blue-deep: #0c3da8;
  --blue-pale: #eaf1ff;
  --paper: #f7f9fd;
  --line: #dce4f0;
  --white: #fff;
  --sans: 'Manrope', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}

* {
  box-sizing: border-box;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 var(--sans);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.container {
  width: min(1160px, calc(100% - 56px));
  margin: auto;
}

.skip-link {
  position: absolute;
  top: -70px;
  left: 18px;
  z-index: 150;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.skip-link:focus {
  top: 18px;
  outline: 3px solid #7db6ff;
}

/* Sticky Header with Glassmorphism */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.05);
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(220, 228, 240, 0.5);
}

.header-content {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 34px;
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .header-content {
  min-height: 70px;
}

.brand {
  width: 212px;
  transition: transform 0.25s ease;
}
.brand:hover {
  transform: scale(1.02);
}

/* Navigation items */
.site-nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
  color: #34445d;
  font-size: 12px;
  font-weight: 700;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

/* Header & General CTA Buttons */
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.header-cta {
  color: #fff;
  background: var(--ink);
}
.header-cta:hover, .header-cta:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 84, 212, 0.2);
}
.header-cta svg, .button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.header-cta:hover svg, .button:hover svg {
  transform: translateX(3px);
}
.header-cta:focus-visible, .button:focus-visible {
  outline: 3px solid #77b5ff;
  outline-offset: 3px;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-toggle:hover {
  background: rgba(11, 31, 58, 0.05);
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero-grid {
  min-height: 548px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 40px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.eyebrow, .section-tag {
  margin: 0 0 18px;
  color: var(--blue);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.11em;
}
.hero h1 {
  max-width: 690px;
  margin: 0 0 25px;
  font: 800 clamp(43px, 5.3vw, 71px)/1.09 var(--sans);
  letter-spacing: -0.065em;
}
.hero h1 span, h2 span {
  color: var(--blue);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 0 32px;
  color: #52637b;
  font-size: 16px;
}
.primary-button {
  color: #fff;
  background: var(--blue);
}
.primary-button:hover, .primary-button:focus-visible {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 84, 212, 0.25);
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 405px);
  height: 405px;
  padding: 13px 0 0 13px;
  background: var(--blue);
}
.hero-photo:before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -28px;
  right: -28px;
  width: 126px;
  height: 126px;
  border: 1px solid #a8c6f5;
}
.hero-photo:after {
  content: 'PROCESS · TECHNOLOGY · AI';
  position: absolute;
  z-index: 2;
  right: -50px;
  bottom: 17px;
  padding: 6px 10px;
  color: #fff;
  background: var(--ink);
  font: 500 8px var(--mono);
  letter-spacing: 0.1em;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.03);
}

/* Capability strip */
.capability-strip {
  color: #dfeaff;
  background: var(--ink);
}
.capability-strip .container {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.capability-strip p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.capability-strip span {
  width: 4px;
  height: 4px;
  background: #5a86ee;
  border-radius: 50%;
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.5s; }

/* Sections */
.section {
  padding: 104px 0;
}
.intro {
  background: var(--paper);
}
.split-heading {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 72px;
}
.split-heading h2, .title-row h2, .why h2, .contact h2 {
  margin: 0 0 20px;
  font: 700 clamp(32px, 3.5vw, 48px)/1.17 var(--sans);
  letter-spacing: -0.055em;
}
.split-heading > div > p {
  max-width: 670px;
  margin: 0;
  color: #53637a;
  font-size: 16px;
}

/* Services section */
.services {
  background: #fff;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  margin-bottom: 42px;
}
.title-row h2 {
  margin: 0;
}
.title-row > p {
  max-width: 300px;
  margin: 0 0 5px;
  color: #5a6a81;
  font-size: 13px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 455px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(20, 84, 212, 0.08);
}
.card-head {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.card-head svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.service-card:hover .card-head svg {
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 {
  margin: 0 0 14px;
  font: 700 18px/1.35 var(--sans);
  letter-spacing: -0.045em;
}
.service-card > p {
  min-height: 84px;
  margin: 0 0 18px;
  color: #5a6a81;
  font-size: 12px;
  line-height: 1.65;
}
.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-card li {
  position: relative;
  margin: 5px 0;
  padding-left: 12px;
  color: #53637a;
  font-size: 11px;
  line-height: 1.45;
}
.service-card li:before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.dark-card {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.dark-card:hover {
  background: var(--ink-soft);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.4);
}
.dark-card > p, .dark-card li {
  color: #b9c9e5;
}
.dark-card .card-head svg {
  stroke: #80a6ff;
}
.dark-card li:before {
  background: #80a6ff;
}

/* Why us section */
.why {
  color: #fff;
  background: var(--ink);
}
.why .section-tag {
  color: #8ab1ff;
}
.why-grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 9%;
}
.why h2 {
  max-width: 420px;
}
.why-content > p {
  max-width: 615px;
  margin: 0 0 38px;
  color: #ccd8eb;
  font-size: 16px;
}
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-list > div {
  padding-top: 17px;
  border-top: 1px solid rgba(201, 216, 239, 0.45);
  transition: border-color 0.3s ease;
}
.value-list > div:hover {
  border-top-color: var(--blue);
}
.value-list h3 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: 15px;
}
.value-list p {
  margin: 0;
  color: #b9c8df;
  font-size: 12px;
  line-height: 1.65;
}

/* Approach section */
.approach {
  background: #fff;
}
.title-row.compact {
  margin-bottom: 48px;
}
.approach-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.approach-list li {
  position: relative;
  min-height: 200px;
  padding: 28px 23px 24px 0;
  border-right: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.approach-list li:hover {
  background: var(--paper);
}
.approach-list li:not(:first-child) {
  padding-left: 23px;
}
.approach-list li:last-child {
  border: 0;
}
.approach-icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
  transition: transform 0.3s ease, stroke 0.3s ease;
}
.approach-list li:hover .approach-icon {
  transform: scale(1.1) translateY(-2px);
  stroke: var(--blue-deep);
}
.approach-list h3 {
  margin: 0 0 8px;
  font: 700 19px var(--sans);
  letter-spacing: -0.04em;
}
.approach-list p {
  margin: 0;
  color: #5b6a81;
  font-size: 12px;
  line-height: 1.65;
}

/* Industries section */
.industries {
  background: var(--paper);
}
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industry-list span {
  padding: 10px 14px;
  border: 1px solid #ccd8ea;
  background: #fff;
  border-radius: 4px;
  color: #3d506d;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: default;
}
.industry-list span:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(20, 84, 212, 0.05);
}

/* Contact CTA Panel */
.contact {
  padding: 88px 0;
  background: var(--paper);
}
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 73px 65px;
  color: #fff;
  background: linear-gradient(120deg, #0b1f3a, #164ebc);
  border-radius: 6px;
}
.contact-panel:after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -135px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.05), 0 0 0 105px rgba(255, 255, 255, 0.04);
}
.contact .section-tag {
  position: relative;
  z-index: 1;
  color: #a8c9ff;
}
.contact h2 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 14px;
}
.contact p:not(.section-tag) {
  position: relative;
  z-index: 1;
  max-width: 590px;
  margin: 0 0 27px;
  color: #d8e5ff;
}
.light-button {
  position: relative;
  z-index: 1;
  color: var(--blue-deep);
  background: #fff;
}
.light-button:hover, .light-button:focus-visible {
  background: #e8f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Footer styles */
.site-footer {
  padding: 48px 0 32px;
  color: #bdc9dd;
  background: #07162b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 35px;
  align-items: center;
}
.footer-brand {
  width: 172px;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}
.footer-brand:hover {
  opacity: 0.85;
}
.footer-content p {
  margin: 0;
  font-size: 12px;
}
.footer-content small {
  grid-column: 1/-1;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7f94b4;
  font: 10px var(--mono);
  letter-spacing: 0.05em;
}

/* Inner pages and special components */
.inner-hero {
  padding: 100px 0 90px;
  background: linear-gradient(115deg, #f8fbff, #e7f0ff);
  border-bottom: 1px solid var(--line);
}
.inner-hero .container {
  max-width: 900px;
  margin-left: max(28px, calc((100% - 1160px) / 2));
}
.inner-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font: 800 clamp(40px, 5vw, 64px)/1.12 var(--sans);
  letter-spacing: -0.06em;
}
.inner-hero h1 span {
  color: var(--blue);
}
.inner-hero p:not(.section-tag) {
  max-width: 650px;
  margin: 0;
  color: #52637b;
  font-size: 16px;
}

.page-section {
  padding: 96px 0;
  background: #fff;
}

.detail-list article {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.detail-list article:last-child {
  border-bottom: 1px solid var(--line);
}
.detail-list h2, .industry-page-grid h2, .contact-grid h2 {
  margin: 0 0 9px;
  font: 700 25px/1.25 var(--sans);
  letter-spacing: -0.045em;
}
.detail-list p, .industry-page-grid p, .contact-grid p {
  margin: 0;
  color: #596a82;
  font-size: 14px;
}
.detail-list ul {
  columns: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-list li {
  position: relative;
  margin: 3px 0;
  padding-left: 12px;
  color: #40536f;
  font-size: 12px;
}
.detail-list li:before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.compact-contact {
  padding: 65px 0;
}
.compact-contact .contact-panel {
  padding: 54px 65px;
}
.compact-contact .contact-panel h2 {
  margin-bottom: 23px;
}

.light-values {
  color: var(--ink);
}
.light-values > div {
  border-top-color: var(--line);
}
.light-values h3 {
  color: var(--ink);
}
.light-values p {
  color: #596a82;
}

.industry-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.industry-page-grid article {
  min-height: 180px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
.industry-page-grid article:hover {
  background: var(--paper);
}
.industry-card-head {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.industry-card-head svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease, stroke 0.3s ease;
}
.industry-page-grid article:hover .industry-card-head svg {
  transform: scale(1.08) rotate(-3deg);
  stroke: var(--blue-deep);
}
.industry-page-grid h2 {
  margin: 0 0 9px;
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
}
.contact-grid > div > p:not(.section-tag) {
  margin-bottom: 25px;
}
.contact-email {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.25s ease;
}
.contact-email:hover {
  color: var(--blue-deep);
}

.home-contact {
  background: #fff;
  border-top: 1px solid var(--line);
}

/* Contact Form styles */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.contact-form div {
  display: grid;
  gap: 6px;
}
.contact-form label {
  color: #3d506e;
  font-size: 12px;
  font-weight: 800;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b9c9dd;
  border-radius: 6px;
  color: var(--ink);
  background: #fbfdff;
  font: 14px var(--sans);
  transition: all 0.25s ease;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 84, 212, 0.15);
  background: var(--white);
}
.form-wide {
  grid-column: 1 / -1;
}

/* Responsive Media Queries */
@media (max-width: 970px) {
  .hero-grid {
    grid-template-columns: 1fr 0.75fr;
  }
  .hero-brand img {
    width: 570px;
    left: -150px;
  }
  .header-content {
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    min-height: 395px;
  }
  .card-head {
    margin-bottom: 34px;
  }
  .service-card > p {
    min-height: auto;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .why h2 {
    max-width: 620px;
  }
  .split-heading {
    grid-template-columns: 200px 1fr;
    gap: 45px;
  }
  .hero-photo {
    width: 330px;
    height: 360px;
  }
  .detail-list article {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-list article ul {
    grid-column: 1;
  }
  .contact-grid {
    gap: 45px;
  }
  .inner-hero .container {
    width: min(1160px, calc(100% - 56px));
    margin: auto;
  }
}

/* Hamburger menu layout trigger for screens <= 860px */
@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    order: 3;
    margin-left: 20px;
  }
  
  .header-cta {
    margin-left: auto;
  }
  
  .site-nav {
    position: fixed;
    top: 83px;
    left: 0;
    width: 100%;
    height: calc(100vh - 83px);
    background: rgba(11, 31, 58, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }
  
  .site-header.is-scrolled .site-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .site-nav a {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .site-nav a::after {
    background: #fff;
  }
  
  .site-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }
  
  .site-nav.is-open a:nth-child(1) { transition-delay: 0.1s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.18s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.26s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.34s; }
  
  .hero-grid {
    min-height: 500px;
  }
  .hero-photo {
    width: 310px;
    height: 340px;
  }
  .service-card {
    min-height: 380px;
  }
  .contact-panel {
    padding: 62px 48px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-content {
    min-height: 70px;
    padding: 10px 0;
  }
  .site-header.is-scrolled .header-content {
    min-height: 60px;
  }
  .brand {
    width: 150px;
  }
  .header-cta {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 11px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 6px;
    margin-left: 10px;
  }
  .site-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .site-header.is-scrolled .site-nav {
    top: 60px;
    height: calc(100vh - 60px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy {
    padding: 60px 0 16px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-photo {
    justify-self: start;
    width: calc(100% - 13px);
    height: 310px;
    margin: 20px 0 40px;
  }
  .hero-photo:after {
    right: -13px;
  }
  .capability-strip .container {
    min-height: 0;
    padding: 17px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
  }
  .capability-strip p {
    font-size: 10px;
  }
  .capability-strip span {
    display: none;
  }
  .section {
    padding: 68px 0;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .title-row {
    display: block;
    margin-bottom: 29px;
  }
  .title-row > p {
    margin-top: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
    padding: 24px;
  }
  .card-head {
    margin-bottom: 25px;
  }
  .why-content > p {
    font-size: 15px;
  }
  .value-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .approach-list {
    grid-template-columns: 1fr;
  }
  .approach-list li, .approach-list li:not(:first-child) {
    min-height: 0;
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .approach-icon {
    margin-bottom: 12px;
  }
  .approach-list h3 {
    margin: 0 0 6px;
  }
  .approach-list li:last-child {
    border-bottom: 0;
  }
  .contact {
    padding: 55px 0;
  }
  .contact-panel {
    padding: 47px 26px;
  }
  .contact-panel:after {
    width: 280px;
    height: 280px;
    right: -140px;
    bottom: -100px;
  }
  .footer-content {
    display: block;
  }
  .footer-content p {
    margin: 13px 0;
  }
  .footer-content small {
    display: block;
  }
  .page-section {
    padding: 68px 0;
  }
  .inner-hero {
    padding: 65px 0;
  }
  .inner-hero h1 {
    font-size: 36px;
  }
  .detail-list article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .detail-list article ul {
    grid-column: auto;
    columns: 1;
  }
  .industry-page-grid {
    grid-template-columns: 1fr;
  }
  .industry-page-grid article {
    min-height: 0;
  }
  .industry-page-grid h2 {
    margin-top: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-wide {
    grid-column: auto;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .hero-photo img {
    object-position: center 42%;
  }
  .hero-photo:before {
    top: -17px;
    right: -17px;
    width: 83px;
    height: 83px;
  }
  .split-heading h2, .title-row h2, .why h2, .contact h2 {
    font-size: 30px;
  }
  .industry-list {
    gap: 8px;
  }
  .industry-list span {
    padding: 8px 10px;
    font-size: 11px;
  }
  .contact-panel {
    text-align: left;
  }
  .contact-panel .button {
    width: 100%;
  }
  .footer-brand {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .reveal, .reveal-stagger > *, .service-card, .button, .button svg, .contact-form input, .contact-form select, .contact-form textarea {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
