/* ==========================================================================
   Stride Haven Engineering Solutions — stylesheet
   Monochrome black/white/gray design system for all UI chrome (nav, cards,
   buttons, borders, section backgrounds). Photography and logos keep their
   natural, full color — only the interface itself is black & white.
   Sharp edges (no border-radius), bordered components, technical/blueprint
   typographic system.
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --near-black: #141414;
  --white: #FFFFFF;
  --gray-50: #F7F7F7;
  --gray-100: #EFEFEF;
  --gray-300: #D2D2D2;
  --gray-500: #8A8A8A;
  --gray-700: #4A4A4A;
  --gray-900: #1C1C1C;
  --shadow: none;
  --radius: 0px;
  --maxw: 1180px;
  --rule: 1px solid var(--black);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  text-transform: none;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--black);
  padding: 6px 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--black);
  flex-shrink: 0;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--gray-300);
}
.section--tight { padding: 56px 0; border-top: 1px solid var(--gray-300); }
.section--dark {
  background: var(--black);
  color: var(--white);
  border-top: none;
}
.section--dark p { color: #C8C8C8; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--white); border-color: var(--white); }
.section--dark .eyebrow::before { background: var(--white); }
.section--gray { background: var(--gray-50); }
.section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,6,6,0.86);
}
.section--photo .container { position: relative; z-index: 1; }
.section--photo .section-head .eyebrow { border-color: var(--white); color: var(--white); }
.section--photo .section-head .eyebrow::before { background: var(--white); }
/* Cards keep their own white background even inside a dark/photo section */
.section--dark .card h3 { color: var(--black); }
.section--dark .card p { color: var(--gray-700); }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover { background: var(--white); color: var(--black); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--white); color: var(--black); }

/* ============ Top utility bar ============ */
.topbar {
  background: var(--black);
  color: var(--gray-300);
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--gray-300); text-decoration: underline; }
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: 6px; }

/* ============ Header / nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ============ Scroll-reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--white); color: var(--black); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  border-bottom-color: var(--black);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--black);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6,6,6,0.94) 0%, rgba(8,8,8,0.80) 32%, rgba(10,10,10,0.48) 62%, rgba(10,10,10,0.22) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 44px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 150px 0 130px;
  max-width: 760px;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  padding: 126px 0 102px;
}
.hero-copy { max-width: 820px; }
.hero-copy h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.hero-inner p.lead,
.hero-copy .lead {
  font-size: 1.1rem;
  color: #C8C8C8;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; padding-top: 64px; }
}

.page-hero {
  background: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6,6,6,0.92) 0%, rgba(8,8,8,0.72) 38%, rgba(10,10,10,0.36) 68%, rgba(10,10,10,0.16) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 44px);
}
.page-hero .container { position: relative; width: 100%; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--white);
  display: inline-block;
  padding-bottom: 4px;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: #C8C8C8; max-width: 640px; margin: 0; }

/* ============ Cards & grids ============ */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  padding: 30px 26px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  background: var(--black);
  color: var(--white);
}
.card:hover h3 { color: var(--white); }
.card:hover p { color: var(--gray-300); }
.card:hover .icon-badge { background: var(--white); color: var(--black); border-color: var(--white); }
.card .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}
.icon-badge .icon { width: 22px; height: 22px; }
.contact-item .icon-badge .icon { width: 18px; height: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.card--dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.card--dark p { color: var(--gray-300); }
.card--dark .icon-badge { background: var(--white); color: var(--black); }
.card--dark:hover { background: var(--white); color: var(--black); }
.card--dark:hover p { color: var(--gray-700); }

/* ---- Product photo cards ---- */
.card--product { padding: 0; overflow: hidden; }
.card--product:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.16);
}
.card--product:hover .card-body h3 { color: var(--black); }
.card--product .product-photo-wrap {
  position: relative;
  width: 100%;
  height: 168px;
  background: var(--gray-100);
  overflow: hidden;
  border-bottom: 1px solid var(--gray-300);
}
.card--product .product-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card--product .product-photo-wrap--contain img {
  object-fit: contain;
  padding: 10px;
}
.card--product .product-photo-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
}
.card--product .card-body { padding: 22px 24px 26px; }
.card--product .card-body h3 { margin-bottom: 8px; }
.card--product:hover .card-body p { color: var(--gray-700); }

/* ============ Split / about layout ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-panel {
  background: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  border: 1px solid var(--black);
  padding: 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 40px);
}
.split-panel--photo::before {
  background:
    linear-gradient(0deg, rgba(6,6,6,0.88) 0%, rgba(6,6,6,0.42) 55%, rgba(6,6,6,0.12) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 40px);
}
.split-panel > * { position: relative; }
.split-panel .big-quote {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.split-panel .big-quote span { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* ============ Photo band ============ */
.photo-band {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--black);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,6,6,0.85) 0%, rgba(6,6,6,0.10) 55%, transparent 100%);
}
.photo-band-caption {
  position: relative;
  padding: 32px;
  color: var(--white);
}
.photo-band-caption .eyebrow { margin-bottom: 8px; border-color: var(--white); color: var(--white); }
.photo-band-caption .eyebrow::before { background: var(--white); }
.photo-band-caption p { color: var(--gray-300); max-width: 520px; margin: 0; }


/* ============ Technology partners wall ============ */
.partner-group { margin-bottom: 52px; }
.partner-group:last-of-type { margin-bottom: 0; }
.partner-group .eyebrow { margin-bottom: 20px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}
.partner-grid--single { grid-template-columns: repeat(auto-fill, minmax(158px, 220px)); }
.partner-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.partner-chip::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--gray-300);
  border-left: 1.5px solid var(--gray-300);
  transition: border-color 0.18s ease;
}
.partner-chip::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid var(--gray-300);
  border-right: 1.5px solid var(--gray-300);
  transition: border-color 0.18s ease;
}
.partner-chip:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(10, 10, 10, 0.12);
  border-color: var(--black);
}
.partner-chip:hover::before,
.partner-chip:hover::after { border-color: var(--black); }
.partner-chip--logo img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.18s ease;
}
.partner-chip--logo:hover img {
  transform: scale(1.05);
}
.partner-chip--logo img.logo-invert { filter: invert(1); }
.partner-chip--logo:hover img.logo-invert { filter: invert(1); transform: scale(1.05); }
.partner-chip--text {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--gray-500);
  transition: color 0.18s ease;
}
.partner-chip--text:hover { color: var(--black); }
.partner-note {
  font-size: 0.84rem;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ============ Clients marquee ============ */
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: clients-scroll 45s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 220px;
  height: 130px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.client-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 10, 10, 0.14);
  border-color: var(--black);
}
.client-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.client-item img.logo-invert { filter: invert(1); }
.client-item img[src*="slb.svg"] { transform: scale(0.65); }
.card-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.card-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: clients-scroll 40s linear infinite;
}
.card-marquee:hover .card-marquee-track { animation-play-state: paused; }
.card-marquee-track .card--product {
  flex: 0 0 auto;
  width: 300px;
}
.client-item--text {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 10px; color: var(--white); }
.cta-banner p { color: var(--gray-300); max-width: 560px; margin: 0 auto 26px; }

/* ============ Product / service detail rows ============ */
.numbered-row {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-300);
}
.numbered-row:first-of-type { padding-top: 0; }
.numbered-row .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  min-width: 54px;
  font-variant-numeric: tabular-nums;
}
.numbered-row h3 { margin-bottom: 6px; }
.numbered-row p { margin-bottom: 0; }

.product-group h3 {
  color: var(--black);
  border-bottom: 2px solid var(--black);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 20px;
}
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--gray-300); }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.faq-item p { margin-bottom: 0; }

.portfolio-tile {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.portfolio-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #FFE001;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 65% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-icon .icon { width: 30px; height: 30px; color: var(--black); }
.portfolio-tile h3 { margin-bottom: 8px; }
.portfolio-items { font-size: 0.92rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 0; }

.doc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.doc-list li {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.doc-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(10, 10, 10, 0.12);
  border-color: var(--black);
}
.doc-list li .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--black); }
@media (max-width: 960px) {
  .doc-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .portfolio-tile { flex-direction: column; gap: 14px; }
  .doc-list { grid-template-columns: 1fr; }
}

/* ============ Parameter chip list ============ */
.parameter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.parameter-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.parameter-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(10, 10, 10, 0.12);
  border-color: var(--black);
}
.chip-marquee-group { margin-bottom: 40px; }
.chip-marquee-group:last-child { margin-bottom: 0; }
.chip-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.chip-marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: clients-scroll 28s linear infinite;
}
.chip-marquee:hover .chip-marquee-track { animation-play-state: paused; }
.chip-marquee-track .parameter-chip { flex: 0 0 auto; white-space: nowrap; }

/* ============ Contact page ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}
.contact-info-card {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 40px 34px;
}
.contact-info-card h2 { color: var(--white); font-size: 1.15rem; }
.form-card h2 { font-size: 1.15rem; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item .icon-badge {
  width: 38px;
  height: 38px;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-item .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item a, .contact-item span.value { color: #E4E4E4; font-weight: 600; }
.contact-item a:hover { color: var(--white); text-decoration: underline; }

.form-card {
  background: var(--white);
  border: 1px solid var(--black);
  border-left: none;
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--black);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-50);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 2px var(--black);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: -12px; margin-bottom: 16px; }
.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 10px;
}
.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--black);
  color: var(--black);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.form-success.is-error {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.field-error input, .field-error textarea,
input.field-error, textarea.field-error {
  border-color: var(--black) !important;
  border-width: 2px !important;
  background: var(--gray-100) !important;
}
.file-drop {
  border: 1.5px dashed var(--black);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--gray-700);
  background: var(--gray-50);
}

.map-embed {
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}
.map-note {
  margin-top: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.map-note strong { color: var(--white); }
.map-note a { color: var(--white); text-decoration: underline; }

/* ============ Footer ============ */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand > img { width: 100%; height: auto; margin-top: -10px; margin-bottom: 5px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray-300); text-align: justify; }
.footer-col h3 {
  color: var(--white);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 8px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--gray-300); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-certifications {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.footer-certifications img {
  height: 44px;
  width: auto;
}
.footer-bottom a:hover { color: var(--white); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-dark { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    gap: 16px;
  }
  .topbar-contacts { display: none; }
  .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner, .hero-split { padding: 80px 0 64px; }
  .page-hero { padding: 64px 0; min-height: 320px; }
  .photo-band { min-height: 300px; }
  .footer-certifications img { height: 36px; }
  .form-card { border-left: 1px solid var(--black); }
  .contact-info-card { border-bottom: none; }
}

/* ============ Workflow (field to cloud) ============ */
.workflow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.workflow-step {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.workflow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.16);
  border-color: var(--black);
}
.wf-photo {
  width: 100%;
  height: 130px;
  background: var(--gray-100);
  overflow: hidden;
}
.wf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-body { padding: 22px 20px 26px; }
.workflow-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.workflow-step p { font-size: 0.86rem; color: var(--gray-700); margin-bottom: 0; }
.workflow-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .workflow-row { grid-template-columns: repeat(3, 1fr); }
  .workflow-row--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .workflow-row { grid-template-columns: 1fr; }
  .wf-photo { height: 220px; }
}

/* ---- Stat bar (light, for About) ---- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 34px 0;
}
.stat-bar .stat {
  text-align: center;
  padding: 28px 18px;
  background: var(--white);
  border: 1px solid var(--black);
  margin: -1px 0 0 -1px;
}
.stat-bar .stat-num { font-size: 2rem; font-weight: 800; color: var(--black); }
.stat-bar .stat-num span { color: var(--black); }
.stat-bar .stat-label { font-size: 0.8rem; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }
.section--dark .stat-bar .stat {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.25);
}
.section--dark .stat-bar .stat-num,
.section--dark .stat-bar .stat-num span { color: var(--white); }
.section--dark .stat-bar .stat-label { color: var(--gray-300); }

/* ---- Solution category cards (Solutions Overview) ---- */
.solution-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--black);
  padding: 32px 28px;
  position: relative;
  margin: -1px 0 0 -1px;
  transition: background 0.15s ease, color 0.15s ease;
}
.solution-card:hover { background: var(--black); color: var(--white); }
.solution-card:hover h3 { color: var(--white); }
.solution-card:hover p { color: var(--gray-300); }
.solution-card:hover ul li { color: var(--gray-300); }
.solution-card:hover .sc-link { color: var(--white); border-color: var(--white); }
.solution-card .sc-index { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.solution-card h3 { margin-bottom: 10px; }
.solution-card ul { margin-top: 14px; }
.solution-card ul li {
  font-size: 0.86rem;
  color: var(--gray-700);
  padding: 5px 0 5px 18px;
  position: relative;
}
.solution-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 7px; height: 7px;
  background: currentColor;
}
.solution-card .sc-link { display: inline-block; margin-top: 16px; font-weight: 800; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--black); border-bottom: 2px solid var(--black); }

/* ---- Sub-nav dropdown (Solutions) ---- */
.has-dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--black);
  padding: 10px;
  min-width: 240px;
  z-index: 50;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--gray-700);
  border-bottom: none !important;
}
.dropdown-panel a:hover { background: var(--gray-50); color: var(--black); }
@media (max-width: 720px) {
  .dropdown-panel { position: static; display: block; border: none; padding: 0 0 0 14px; transform: none; min-width: 0; }
}

/* ---- Breadcrumb list ---- */
.crumb-list { font-size: 0.82rem; color: var(--gray-300); margin-top: 6px; }
.crumb-list a { color: var(--gray-300); }
.crumb-list a:hover { color: var(--white); }
.crumb-list .sep { margin: 0 6px; opacity: 0.5; }

/* ==========================================================================
   Stride Haven — guided enquiry assistant
   Matches the site's monochrome, sharp-edged system (see style.css).
   ========================================================================== */

/* Lift the back-to-top button above the chat launcher */
.back-to-top { bottom: 92px; }

.sh-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  background: var(--black, #0A0A0A);
  color: var(--white, #fff);
  border: 1px solid var(--black, #0A0A0A);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sh-chat-launcher:hover { background: var(--white, #fff); color: var(--black, #0A0A0A); }
.sh-chat-launcher:focus-visible { outline: 2px solid var(--black, #0A0A0A); outline-offset: 3px; }
.sh-chat-launcher svg { width: 22px; height: 22px; flex: none; }
.sh-chat-launcher .sh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2BB673; box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.25);
}
.sh-chat-launcher[aria-expanded="true"] { transform: translateY(8px); opacity: 0; pointer-events: none; }

.sh-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1002;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  background: var(--white, #fff);
  border: 1px solid var(--black, #0A0A0A);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 24px 60px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sh-chat.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.sh-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: var(--black, #0A0A0A);
  color: var(--white, #fff);
}
.sh-chat-avatar {
  width: 38px; height: 38px; flex: none;
  background: var(--white, #fff);
  display: flex; align-items: center; justify-content: center;
}
.sh-chat-avatar img { width: 28px; height: 28px; object-fit: contain; }
.sh-chat-title { flex: 1; min-width: 0; line-height: 1.25; }
.sh-chat-title strong { display: block; font-size: 0.95rem; }
.sh-chat-title span { font-size: 0.75rem; color: #C9C9C6; }
.sh-chat-head a,
.sh-chat-head button {
  width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--white, #fff);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.sh-chat-head a:hover,
.sh-chat-head button:hover { background: var(--white, #fff); color: var(--black, #0A0A0A); }
.sh-chat-head svg { width: 17px; height: 17px; }

.sh-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  background: var(--gray-50, #F7F7F7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.sh-msg {
  max-width: 86%;
  padding: 10px 13px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-line;
  animation: sh-in 0.2s ease both;
}
.sh-msg--bot { align-self: flex-start; background: var(--white, #fff); border: 1px solid var(--gray-300, #D2D2D2); }
.sh-msg--user { align-self: flex-end; background: var(--black, #0A0A0A); color: var(--white, #fff); }
.sh-msg a { color: inherit; text-decoration: underline; }
.sh-msg--summary { font-size: 0.82rem; border-color: var(--black, #0A0A0A); }
.sh-typing { display: inline-flex; gap: 4px; }
.sh-typing i { width: 6px; height: 6px; background: var(--gray-500, #8A8A8A); border-radius: 50%; animation: sh-blink 1s infinite; }
.sh-typing i:nth-child(2) { animation-delay: 0.15s; }
.sh-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sh-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sh-blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

.sh-chat-actions {
  padding: 10px 16px 14px;
  background: var(--gray-50, #F7F7F7);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 46%;
  overflow-y: auto;
}
.sh-chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  background: var(--white, #fff);
  color: var(--black, #0A0A0A);
  border: 1px solid var(--black, #0A0A0A);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.sh-chip:hover { background: var(--black, #0A0A0A); color: var(--white, #fff); }
.sh-chip:focus-visible { outline: 2px solid var(--black, #0A0A0A); outline-offset: 2px; }
.sh-chip--primary { background: var(--black, #0A0A0A); color: var(--white, #fff); }
.sh-chip--primary:hover { background: var(--white, #fff); color: var(--black, #0A0A0A); }
.sh-chip--wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.sh-chip--wa:hover { background: #fff; color: #128C3E; border-color: #128C3E; }
.sh-chip--ghost { border-color: var(--gray-300, #D2D2D2); color: var(--gray-700, #4A4A4A); }

.sh-chat-form {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--black, #0A0A0A);
  background: var(--white, #fff);
}
.sh-chat-form[hidden] { display: none; }
.sh-chat-form input,
.sh-chat-form textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.92rem;
  background: transparent;
  resize: none;
}
.sh-chat-form input:focus,
.sh-chat-form textarea:focus { outline: none; background: var(--gray-50, #F7F7F7); }
.sh-chat-form button {
  flex: none;
  width: 54px;
  border: 0;
  border-left: 1px solid var(--black, #0A0A0A);
  background: var(--black, #0A0A0A);
  color: var(--white, #fff);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.sh-chat-form button:hover { background: var(--white, #fff); color: var(--black, #0A0A0A); }
.sh-chat-form button svg { width: 20px; height: 20px; }
.sh-chat-error { color: #B42318; font-size: 0.78rem; padding: 0 16px 8px; background: var(--white, #fff); }
.sh-chat-error:empty { display: none; }
.sh-chat-foot {
  font-size: 0.7rem;
  color: var(--gray-500, #8A8A8A);
  text-align: center;
  padding: 6px 12px 8px;
  border-top: 1px solid var(--gray-100, #EFEFEF);
  background: var(--white, #fff);
}

@media (max-width: 560px) {
  .sh-chat-launcher { right: 16px; bottom: 16px; height: 52px; padding: 0 16px 0 14px; }
  .sh-chat-launcher .sh-label { display: none; }
  .sh-chat-launcher { width: 52px; padding: 0; justify-content: center; }
  .sh-chat-launcher .sh-dot { position: absolute; top: 9px; right: 9px; }
  .back-to-top { bottom: 80px; right: 19px; }
  .sh-chat {
    right: 0; bottom: 0;
    width: 100vw; max-width: 100vw;
    height: 100%; max-height: 100%;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-chat, .sh-chat-launcher, .sh-msg { transition: none; animation: none; }
}
