:root {
  --ink: #0a162c;
  --ink-soft: #24334b;
  --night: #0b111b;
  --night-2: #111a27;
  --blue: #1267ce;
  --blue-deep: #08255e;
  --gold: #d5ad43;
  --green: #10ad68;
  --paper: #f6f7f8;
  --paper-warm: #f7f5ef;
  --line: rgba(10, 22, 44, 0.13);
  --muted: #667085;
  --white: #ffffff;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 9vw, 9rem);
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(7, 22, 47, 0.12);
  --transition: 220ms ease;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3.3rem, 7.3vw, 7.4rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

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

.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: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 0.4rem;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(8, 14, 24, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 5.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
}

.brand::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.28rem;
  background: var(--blue);
  border-radius: 50%;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding-block: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
  transition: color var(--transition);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.42rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--white);
}

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

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.65rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.3rem;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(0.31rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-0.31rem) rotate(-45deg);
}

/* Buttons and small type */
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.button {
  min-height: 3.65rem;
  padding: 0.9rem 1.65rem;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 103, 206, 0.22);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  background: #0b58b4;
  border-color: #0b58b4;
  box-shadow: 0 15px 38px rgba(18, 103, 206, 0.3);
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1.25rem;
  font-size: 0.72rem;
}

.button-dark {
  background: var(--night);
  border-color: var(--night);
  box-shadow: none;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.text-link {
  padding-block: 0.75rem;
  color: var(--blue-deep);
  border-bottom: 1px solid currentColor;
  transition: color var(--transition), gap var(--transition);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
  gap: 0.95rem;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

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

.eyebrow-gold {
  color: #a78325;
}

.eyebrow-green {
  color: #078a50;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  margin-bottom: 1.25rem;
}

.section-heading > p:last-child {
  max-width: 40rem;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(58rem, 100svh);
  display: grid;
  align-items: end;
  color: var(--white);
  background-color: var(--night);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.home-hero {
  background-image: url("https://static.wixstatic.com/media/81a5fa_6bfc77b481a24b3f89bf8f4b7ea28eeb~mv2.jpg/v1/fill/w_980%2Ch_429%2Cal_c%2Cq_85%2Cusm_0.66_1.00_0.01%2Cenc_auto/ai-generated-IMAGE.jpg");
}

.services-hero {
  min-height: min(54rem, 100svh);
  background-image: url("https://static.wixstatic.com/media/81a5fa_4fe1172b2ba04dc5989fa9c0e7cc5f7f~mv2.jpg/v1/fill/w_980%2Ch_1307%2Cal_c%2Cq_85%2Cusm_0.66_1.00_0.01%2Cenc_auto/ai-generated-IMAGE.jpg");
  background-position: center 42%;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 17, 0.94) 0%, rgba(5, 10, 17, 0.7) 48%, rgba(5, 10, 17, 0.15) 78%),
    linear-gradient(0deg, rgba(5, 10, 17, 0.78) 0%, transparent 45%);
}

.hero-content {
  padding-top: 10rem;
  padding-bottom: clamp(5rem, 10vh, 8rem);
}

.hero-content h1 {
  max-width: 69rem;
  margin-bottom: 1.8rem;
}

.services-hero .hero-content h1 {
  max-width: 58rem;
}

.hero-copy {
  max-width: 43rem;
  margin-bottom: 2.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 3rem;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.scroll-cue span {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg) translate(-0.1rem, -0.1rem);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  50% { transform: rotate(45deg) translate(0.12rem, 0.12rem); }
}

/* Process */
.process-section {
  background: var(--paper);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: stretch;
}

.feature-image {
  overflow: hidden;
  min-height: 36rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.tall-image img {
  object-position: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  position: relative;
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.process-card:hover {
  border-color: rgba(18, 103, 206, 0.3);
  box-shadow: 0 18px 45px rgba(7, 22, 47, 0.09);
  transform: translateY(-5px);
}

.process-card img {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 2.25rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.process-card h3 {
  margin-bottom: 0.8rem;
}

.process-card p {
  max-width: 20rem;
  font-size: 0.94rem;
}

.step-number,
.service-index {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(10, 22, 44, 0.22);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* Industries */
.industries-section {
  background: var(--white);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.industry-card {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--white);
  transition: background-color var(--transition), color var(--transition);
}

.industry-card:last-child {
  grid-column: span 2;
}

.industry-card img {
  width: 5.6rem;
  height: 5.6rem;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform var(--transition);
}

.industry-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.industry-card:hover {
  background: #f4f7fc;
}

.industry-card:hover img {
  transform: scale(1.06);
}

/* Excellence split */
.excellence-intro {
  color: var(--white);
  background: var(--night);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.78fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.split-copy h2 {
  max-width: 44rem;
  margin-bottom: 1.6rem;
}

.split-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.split-image {
  height: clamp(34rem, 54vw, 47rem);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

/* Benefits */
.why-section {
  background: var(--paper-warm);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.benefit-card {
  min-height: 21rem;
  padding: clamp(1.8rem, 3vw, 2.75rem);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(124, 95, 20, 0.14);
  border-radius: var(--radius);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: 0 20px 55px rgba(79, 55, 4, 0.09);
  transform: translateY(-5px);
}

.benefit-card img {
  width: 5.25rem;
  height: 5.25rem;
  margin-bottom: 2.7rem;
  object-fit: cover;
  border-radius: 1rem;
}

.benefit-card h3 {
  margin-bottom: 0.8rem;
}

.benefit-card p {
  font-size: 0.94rem;
}

/* Capabilities */
.capabilities-section {
  background: #eef8f3;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.capability-card {
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 3vw, 2.7rem);
  background: var(--white);
  border: 1px solid rgba(7, 138, 80, 0.17);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(2, 65, 37, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.capability-card:hover {
  box-shadow: 0 25px 65px rgba(2, 65, 37, 0.11);
  transform: translateY(-5px);
}

.capability-card img {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 1rem;
}

.capability-card h3 {
  margin-bottom: 0.85rem;
}

.capability-card p {
  font-size: 0.94rem;
}

/* Contact */
.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 8rem;
}

.contact-copy h2 {
  margin-bottom: 1.3rem;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 31rem;
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 1.4rem;
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details dd,
.contact-details a {
  font-weight: 600;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.75rem, 4vw, 3.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form label > span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(10, 22, 44, 0.2);
  border-radius: 0.75rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input {
  min-height: 3.45rem;
  padding: 0.75rem 1rem;
}

.contact-form textarea {
  min-height: 10rem;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 103, 206, 0.11);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.4rem;
  cursor: pointer;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #087747;
}

.form-status.is-error {
  color: #b42318;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Ready and final banner */
.ready-section {
  color: var(--white);
  background: var(--blue-deep);
}

.ready-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.ready-inner h2 {
  max-width: 50rem;
  margin-bottom: 1.2rem;
}

.ready-inner p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.68);
}

.brand-banner {
  position: relative;
  min-height: 42rem;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--night) url("https://static.wixstatic.com/media/81a5fa_e27120baa9d1446aab17174164129b1a~mv2.jpg/v1/fill/w_980%2Ch_551%2Cal_c%2Cq_85%2Cusm_0.66_1.00_0.01%2Cenc_auto/ai-generated-IMAGE.jpg") center / cover no-repeat;
  isolation: isolate;
}

.brand-banner-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 13, 24, 0.94) 0%, rgba(6, 13, 24, 0.42) 60%, rgba(6, 13, 24, 0.12) 100%);
}

.brand-banner-content {
  padding-block: 5rem;
}

.brand-banner h2 {
  max-width: 58rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.brand-banner-content > p:last-child {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

/* Services page */
.service-detail {
  padding-block: var(--section);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 0.95fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.service-detail-grid-reverse .service-detail-copy {
  order: 2;
}

.service-detail-copy {
  position: relative;
  padding-top: 3rem;
}

.service-detail-copy .service-index {
  top: 0;
  right: auto;
  left: 0;
  color: rgba(10, 22, 44, 0.3);
}

.service-detail-copy h2 {
  max-width: 39rem;
  margin-bottom: 1.45rem;
}

.service-detail-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.service-detail-image {
  height: clamp(32rem, 56vw, 48rem);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.service-detail-image-wide {
  height: clamp(22rem, 35vw, 32rem);
}

.service-detail-light {
  background: var(--paper);
}

.service-detail-dark {
  color: var(--white);
  background: var(--night);
}

.service-detail-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.service-detail-dark .service-index {
  color: rgba(255, 255, 255, 0.3);
}

.service-detail-accent {
  color: var(--white);
  background: var(--blue-deep);
}

.service-detail-accent p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.service-detail-accent .service-index {
  color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  color: var(--white);
  background: #060b13;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-block: 5rem 4rem;
}

.footer-brand {
  margin-bottom: 1.2rem;
}

.footer-grid p {
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer-grid nav a,
.footer-contact a {
  transition: color var(--transition);
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

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

/* Reveal animation */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
}

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

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    z-index: 1;
    inset: 5.75rem 0 0;
    width: auto;
    min-height: auto;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 2rem var(--gutter) 5rem;
    background: rgba(8, 14, 24, 0.99);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 320ms ease, visibility 0s linear 320ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .primary-nav a {
    width: 100%;
    padding-block: 1rem;
    font-size: clamp(1.5rem, 5vw, 2.6rem);
    letter-spacing: -0.02em;
    text-transform: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-nav a::after {
    display: none;
  }

  .process-layout,
  .split-panel,
  .contact-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    max-height: 42rem;
  }

  .split-copy {
    max-width: 47rem;
  }

  .split-image {
    height: min(47rem, 92vw);
  }

  .contact-copy {
    position: static;
  }

  .service-detail-grid-reverse .service-detail-copy {
    order: initial;
  }

  .service-detail-image {
    height: min(48rem, 105vw);
  }

  .service-detail-image-wide {
    height: min(32rem, 60vw);
  }

  .ready-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 850px) {
  :root {
    --section: clamp(4.5rem, 12vw, 6.5rem);
  }

  .hero {
    min-height: 50rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 10, 17, 0.93) 0%, rgba(5, 10, 17, 0.58) 72%, rgba(5, 10, 17, 0.3) 100%),
      linear-gradient(0deg, rgba(5, 10, 17, 0.85) 0%, transparent 55%);
  }

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

  .industry-card:last-child {
    grid-column: auto;
  }

  .benefit-card,
  .capability-card {
    min-height: 19rem;
  }

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

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

@media (max-width: 620px) {
  :root {
    --gutter: 1rem;
    --radius: 1rem;
  }

  body {
    font-size: 0.96rem;
  }

  .header-inner {
    min-height: 4.8rem;
  }

  .primary-nav {
    inset-block-start: 4.8rem;
    min-height: calc(100svh - 4.8rem);
  }

  .brand {
    font-size: 1.12rem;
  }

  .hero {
    min-height: 47rem;
  }

  .home-hero {
    background-position: 58% center;
  }

  .services-hero {
    background-position: 60% center;
  }

  .hero-content {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .scroll-cue {
    display: none;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-grid,
  .industry-grid,
  .benefit-grid,
  .capability-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 29rem;
  }

  .process-card,
  .benefit-card,
  .capability-card {
    min-height: auto;
  }

  .industry-card:last-child,
  .footer-grid > :first-child {
    grid-column: auto;
  }

  .industry-card {
    min-height: 12rem;
  }

  .industry-card img {
    width: 4.8rem;
    height: 4.8rem;
  }

  .split-image {
    height: 31rem;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .brand-banner {
    min-height: 34rem;
  }

  .service-detail-image,
  .service-detail-image-wide {
    height: 30rem;
  }

  .footer-grid {
    padding-block: 4rem 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
  }
}

.footer-simple {
  min-height: 9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

@media (max-width: 620px) {
  .footer-simple {
    min-height: 10rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
