:root {
  --forest: #8d0014;
  --forest-dark: #21000a;
  --leaf: #ff7a18;
  --mint: #fff7ec;
  --teal: #ff3d8b;
  --red: #e20b22;
  --amber: #ffe066;
  --ink: #331018;
  --muted: #5c2b35;
  --line: #ffd0d8;
  --soft: #fff7ec;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(154, 0, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #fff8e9, #ffe8ef 45%, #fff9df);
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--forest);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 90px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(100deg, #7b0012, #e20b22, #ff6b1a);
  border-bottom: 0;
  box-shadow: 0 18px 40px rgba(154, 0, 23, 0.24);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1220px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(33, 0, 10, 0.52);
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: top center;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
}

.brand-text small {
  color: #fff7e9;
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  align-self: stretch;
}

.site-nav a,
.nav-dropdown-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 8px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.site-nav a:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle,
body[data-page="contact"] .site-nav a[href="contact.php"],
body[data-page="quote"] .site-nav a[href="quote.php"],
body[data-page="home"] .site-nav a[href="index.php"] {
  color: var(--red);
  background: rgba(255, 255, 255, 0.92);
}

body[data-page="about"] .site-nav a[href="about-us.php"] {
  color: var(--red);
  background: rgba(255, 255, 255, 0.92);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-toggle svg {
  transition: transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg,
.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 70;
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

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

.nav-menu-group {
  display: grid;
  gap: 8px;
}

.nav-menu-category {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-dropdown-menu a {
  min-height: 0;
  display: grid;
  gap: 2px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(226, 11, 34, 0.12);
  color: var(--ink);
  background: var(--soft);
}

.nav-dropdown-menu a:hover {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(154, 0, 23, 0.12);
}

.nav-dropdown-menu strong {
  font-size: 14px;
  line-height: 1.25;
}

.nav-dropdown-menu a span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg,
.nav-cta svg,
.site-nav svg,
.nav-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-cta {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(53, 0, 10, 0.18);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--leaf));
  box-shadow: 0 18px 38px rgba(226, 11, 34, 0.32);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-cta:active,
.button:active {
  transform: translateY(0);
}

.button.secondary {
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--red));
  box-shadow: 0 12px 28px rgba(141, 0, 20, 0.22);
}

.button.outline {
  color: var(--red);
  background: var(--white);
  border-color: var(--line);
}

.button.ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
}

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

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 78svh;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(33, 0, 10, 0.94), rgba(125, 0, 18, 0.72) 41%, rgba(255, 107, 26, 0.08) 72%), var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-layout {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  align-items: center;
  gap: 40px;
  padding: 72px 0 58px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #fff0c7;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

.eyebrow.light {
  color: #fff7e9;
}

/* Connected enterprise ecosystem */
#solutions.section.dark {
  overflow: hidden;
  padding: 34px 0;
  color: #fff;
  background: #02251f;
}

.ecosystem {
  width: min(1440px, calc(100% - 40px));
}

#solutions .section-head.light {
  width: 100%;
  max-width: 760px;
  margin: 0 0 18px;
  margin-left: max(0px, calc((100% - 1160px) / 2));
}
#solutions .section-head.light .eyebrow {
  margin-bottom: 16px;
  color: var(--leaf);
  font-size: 12px;
  letter-spacing: 0.12em;
}
#solutions .section-head.light h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  /* font-size: clamp(38px, 4vw, 58px); */
  font-size: clamp(27px, 7.5vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
#solutions .section-head.light > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.orbit {
  position: relative;
  width: 100%;
  height: 520px;
  margin-inline: auto;
  background: radial-gradient(circle at 50% 53%, rgba(154, 226, 87, 0.1), transparent 19%);
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 490px;
  height: 330px;
  border: 1px solid rgba(122, 207, 174, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(18deg);
}
.orbit::after { transform: translate(-50%, -50%) rotate(72deg); }
.orbit .core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: flex;
  width: 225px;
  height: 225px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), var(--forest) 62%, var(--forest-dark));
  box-shadow: 0 20px 65px rgba(226, 11, 34, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-align: center;
  transform: translate(-50%, -50%);
}
.orbit .core::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 490px;
  height: 330px;
  border: 1px solid rgba(122, 207, 174, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}
.orbit .core svg { width: 43px; height: 43px; color: var(--amber); }
.orbit .core b { font-size: 21px; }
.orbit .core small { color: rgba(255, 255, 255, 0.76); font-size: 14px; }
.orbit > span {
  position: absolute;
  z-index: 3;
  min-width: 0;
  padding: 12px 17px;
  border: 1px solid rgba(122, 207, 174, 0.28);
  border-radius: 999px;
  background: #082f29;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translate(-50%, -50%);
}
.orbit > span:nth-of-type(1) { left: 50%; top: 8%; }
.orbit > span:nth-of-type(2) { left: 79%; top: 20%; }
.orbit > span:nth-of-type(3) { left: 91%; top: 50%; }
.orbit > span:nth-of-type(4) { left: 79%; top: 80%; }
.orbit > span:nth-of-type(5) { left: 50%; top: 92%; }
.orbit > span:nth-of-type(6) { left: 21%; top: 80%; }
.orbit > span:nth-of-type(7) { left: 9%; top: 50%; }
.orbit > span:nth-of-type(8) { left: 21%; top: 20%; }

@media (max-width: 900px) {
  .orbit { height: 500px; }
  .orbit > span:nth-of-type(2) { left: 76%; }
  .orbit > span:nth-of-type(3) { left: 88%; }
  .orbit > span:nth-of-type(4) { left: 76%; }
  .orbit > span:nth-of-type(6) { left: 24%; }
  .orbit > span:nth-of-type(7) { left: 12%; }
  .orbit > span:nth-of-type(8) { left: 24%; }
}

@media (max-width: 560px) {
  #solutions.section.dark { padding: 20px 0; }
  .ecosystem { width: calc(100% - 20px); }
  #solutions .section-head.light { margin-left: 0; margin-bottom: 10px; text-align: center; }
  #solutions .section-head.light h2 { font-size: 34px; }
  #solutions .section-head.light > p:last-child { font-size: 14px; }
  .orbit { height: 430px; }
  .orbit::before, .orbit::after { width: 310px; height: 215px; }
  .orbit .core::before { width: 310px; height: 215px; }
  .orbit > span { padding: 8px 10px; font-size: 11px; }
  .orbit .core { width: 155px; height: 155px; }
  .orbit .core svg { width: 32px; height: 32px; }
  .orbit .core b { font-size: 15px; }
  .orbit .core small { display: none; }
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

main,
section,
.container,
.hero-copy,
.section-head,
.intel-grid > *,
.ai-grid > *,
.field-grid > *,
.security-grid > * {
  min-width: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-lead.dark {
  color: var(--muted);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  align-self: end;
  display: grid;
  gap: 10px;
  justify-self: end;
  width: min(100%, 360px);
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: rgba(66, 0, 10, 0.72);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.signal-strip {
  background: linear-gradient(100deg, #42000a, #b00019, #ff6b1a);
  color: var(--white);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.strip-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.strip-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.strip-grid span {
  color: var(--amber);
  font-weight: 800;
}

.strip-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

.section {
  padding: 92px 0;
}

.band-light {
  background: var(--soft);
}

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

.about-cloud-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.about-cloud-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
  max-width: 1160px;
  margin-bottom: 58px;
  text-align: left;
}

.about-cloud-heading h2 {
  margin: 0;
  color: var(--ink);
  /* font-size: clamp(36px, 4.2vw, 54px); */
  font-size: clamp(27px, 7.5vw, 34px); 
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.about-cloud-intro {
  padding: 4px 0 5px 28px;
  border-left: 2px solid var(--red);
}

.about-cloud-intro p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-cloud-intro a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

.about-cloud-intro a svg {
  width: 17px;
  height: 17px;
}

.about-cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-cloud-grid article {
  min-height: 290px;
  padding: 34px 34px 38px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background-color .2s ease, transform .2s ease;
}

.about-cloud-grid article:first-child {
  border-left: 1px solid var(--line);
}

.about-cloud-grid article:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.about-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.about-card-top span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.about-card-top svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.about-cloud-grid h3 {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}

.about-cloud-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.centered p {
  color: var(--muted);
  font-size: 17px;
}

.centered {
  max-width: 780px;
  text-align: center;
}

.value-chain,
.module-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-chain article,
.module-preview article,
.contact-aside article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(142, 0, 25, 0.08);
}

.value-chain article {
  min-height: 250px;
  padding: 24px;
}

.value-chain svg,
.contact-aside svg {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--forest);
}

.value-chain p,
.module-preview p,
.contact-aside p {
  color: var(--muted);
}

/* Value chain and clarity sections */
.value-section {
  background: linear-gradient(135deg, var(--soft), #fff 58%, #fff4e7);
}

.value-section .section-head,
#platform .section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.value-section .section-head .eyebrow,
#platform .section-head .eyebrow {
  color: var(--red);
}

.value-section .section-head h2,
#platform .section-head h2 {
  margin-bottom: 16px;
  /* font-size: clamp(36px, 4vw, 54px); */
  font-size: clamp(27px, 7.5vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.value-section .section-head > p:last-child,
#platform .section-head > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.value-section .value-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.value-section .value-chain article {
  display: flex;
  min-height: 210px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-top: 4px solid var(--red);
}

.value-section .value-chain article > svg {
  width: 36px;
  height: 36px;
  margin-bottom: 26px;
  color: var(--red);
}

.value-section .value-chain article b {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 17px;
}

.value-section .value-chain article small {
  color: var(--muted);
  font-size: 13px;
}

.value-section .value-chain > svg {
  width: 22px;
  height: 22px;
  color: var(--leaf);
}

#platform {
  background: var(--white);
}

.card-grid.four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.four article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, #fff, var(--soft));
  box-shadow: 0 14px 34px rgba(142, 0, 25, 0.08);
}

.card-grid.four article > svg {
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  color: var(--red);
}

.card-grid.four h3 {
  margin-bottom: 10px;
}

.card-grid.four p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
  }

  .value-section .value-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-section .value-chain > svg {
    display: none;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .value-section .value-chain,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .value-section .value-chain article,
  .card-grid.four article {
    min-height: 0;
  }
}

/* Intelligence, field, integration and implementation sections */
.decision-section .section-head,
.integration .section-head,
.implementation-timeline .section-head { max-width: 800px; margin-bottom: 44px; }
.decision-section .eyebrow, .intelligence .eyebrow, .ai .eyebrow, .field .eyebrow, .desktop-admin .eyebrow,
.integration .eyebrow, .implementation-timeline .eyebrow { color: var(--red); }
.decision-section .section-head h2, .intelligence h2, .ai h2, .field h2, .desktop-admin h2,
.integration h2, .security h2, .implementation-timeline h2 { margin-bottom: 18px; font-size: clamp(27px, 7.5vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.lead-sm, .decision-section .section-head > p:last-child, .integration .section-head > p:last-child { color: var(--muted); font-size: 18px; }

.decision-compare { display: grid; gap: 14px; }
.decision-compare article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fffaf8; }
.decision-compare small { display: block; margin-bottom: 14px; color: var(--muted); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.decision-compare article > div { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.decision-compare span { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 13px; font-weight: 700; text-align: center; }
.decision-compare svg { width: 18px; color: var(--forest); }
.decision-compare .active-path { border: 0; background: linear-gradient(100deg, var(--forest-dark), var(--forest), var(--red)); color: var(--white); }
.decision-compare .active-path small { color: #fff0c7; }
.decision-compare .active-path span { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.09); }
.decision-compare .active-path svg { color: var(--amber); }

.intelligence { background: var(--soft); }
.intel-grid, .ai-grid, .field-grid, .security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(50px, 8vw, 110px); }
.steps { margin-top: 34px; border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); }
.alert-panel { padding: 28px; border-radius: 18px; background: linear-gradient(145deg, var(--forest-dark), var(--forest)); box-shadow: var(--shadow); color: white; }
.alert-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 34px; }
.alert-head span { display: flex; align-items: center; gap: 8px; color: var(--amber); }
.alert-head svg { width: 18px; }
.alert-head small { color: rgba(255,255,255,.65); }
.alert-panel h3 { font-size: 24px; }
.variance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.variance article { display: grid; gap: 8px; padding: 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; }
.variance b { color: #ffc1cb; font-size: 12px; }
.recommend { display: flex; gap: 13px; margin-top: 12px; padding: 17px; border-radius: 9px; background: rgba(255,122,24,.18); }
.recommend svg { flex: 0 0 auto; color: var(--amber); }
.recommend p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }

.ai { background: var(--white); }
.ai-chat { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); box-shadow: var(--shadow); }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 20px; }
.chat-top svg { color: var(--red); }.chat-top span { margin-left: auto; padding: 6px 11px; border-radius: 999px; background: white; font-size: 12px; }
.bubble { border-radius: 14px; }.bubble.user { width: 100%; margin: 18px 0 18px auto; padding: 16px; background: var(--forest); color: white; }
.bubble.bot { width: 88%; padding: 18px; background: white; border: 1px solid var(--line); }
.bubble.bot > b { display: block; margin-bottom: 10px; }.bubble.bot p { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.bubble.bot em { color: var(--red); font-style: normal; text-align: right; }
.clean-list { display: grid; gap: 18px; padding: 0; list-style: none; font-size: 18px; }
.clean-list li { display: flex; gap: 12px; }.clean-list svg { flex: 0 0 auto; color: var(--red); }

section.field, .desktop-admin { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid rgba(226, 11, 34, .08); }
section.field { display: block; background: linear-gradient(125deg, #fff 0%, #fff9f0 58%, #ffe9ee 100%); }
section.field::before, .desktop-admin::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; border-radius: 50%; filter: blur(4px); pointer-events: none; }
section.field::before { right: -170px; top: -150px; background: radial-gradient(circle, rgba(255, 122, 24, .18), rgba(255, 122, 24, 0) 70%); }
.field-grid, .desktop-admin-grid { gap: clamp(48px, 7vw, 96px); }
.operations-copy { max-width: 510px; }
.operations-copy .lead-sm { max-width: 48ch; }
.operations-copy .eyebrow { display: flex; align-items: center; gap: 10px; }.operations-copy .eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--red), var(--leaf)); box-shadow: 0 3px 10px rgba(226,11,34,.2); }
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }.feature-pills span { padding: 10px 15px; border: 1px solid rgba(226, 11, 34, .18); border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 8px 22px rgba(154,0,23,.07); color: var(--ink); font-size: 13px; font-weight: 700; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }.feature-pills span:hover { border-color: rgba(226,11,34,.42); box-shadow: 0 10px 26px rgba(154,0,23,.12); transform: translateY(-2px); }
.phone-carousel { width: min(100%, 395px); margin: auto; }
.phone { width: 100%; min-height: 520px; overflow: hidden; padding: 20px; border: 10px solid var(--forest-dark); border-radius: 42px; background: white; box-shadow: 0 30px 70px rgba(154,0,23,.22), 0 0 0 7px rgba(255,255,255,.75); touch-action: pan-y; }
.phone-track { display: flex; transition: transform 420ms cubic-bezier(.22,.8,.35,1); }
.phone-screen { min-width: 100%; padding: 0 1px; }
.phone-image-screen { display: grid; height: 460px; place-items: center; overflow: hidden; border-radius: 24px; background: var(--soft); }
.phone-image-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }.phone-controls > button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid rgba(226,11,34,.2); border-radius: 50%; background: white; box-shadow: 0 8px 20px rgba(154,0,23,.1); color: var(--red); cursor: pointer; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }.phone-controls > button:hover { background: var(--red); color: white; transform: translateY(-2px); }.phone-controls svg { width: 18px; }.phone-dots { display: flex; gap: 8px; }.phone-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d7bfc4; cursor: pointer; transition: width 180ms ease, background 180ms ease; }.phone-dots button.is-active { width: 28px; background: linear-gradient(90deg, var(--red), var(--leaf)); }

.desktop-admin { background: linear-gradient(125deg, #fff0f3 0%, #fff 48%, #fff8e9 100%); }
.desktop-admin::before { left: -170px; bottom: -170px; background: radial-gradient(circle, rgba(226,11,34,.14), rgba(226,11,34,0) 70%); }
.desktop-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.desktop-admin-grid > * { min-width: 0; }
.desktop-admin-copy { grid-column: 2; }
.desktop-carousel { grid-column: 1; grid-row: 1; width: 100%; margin: auto; }
.desktop-monitor { position: relative; overflow: hidden; padding: 13px; border: 8px solid var(--forest-dark); border-radius: 20px; background: var(--forest-dark); box-shadow: 0 30px 70px rgba(154,0,23,.2), 0 0 0 7px rgba(255,255,255,.72); touch-action: pan-y; }
.desktop-camera { position: absolute; top: 5px; left: 50%; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #71817b; transform: translateX(-50%); }
.desktop-track { display: flex; overflow: visible; transition: transform 420ms cubic-bezier(.22,.8,.35,1); }
.desktop-screen { min-width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--soft); }
.desktop-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.desktop-stand { display: grid; justify-items: center; height: 55px; }.desktop-stand::before { content: ""; width: 20%; height: 42px; background: linear-gradient(90deg, #bcc6c1, #eef2f0 50%, #aab6b0); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }.desktop-stand span { width: 42%; height: 8px; border-radius: 50% 50% 4px 4px; background: #aeb9b4; box-shadow: 0 5px 12px rgba(16,48,38,.15); }

.integration { background: var(--soft); }.flow { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 42px); padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: white; }.flow span, .flow strong { padding: 18px 24px; border: 1px solid var(--line); border-radius: 9px; white-space: nowrap; }.flow strong { background: linear-gradient(100deg, var(--forest), var(--red)); color: white; }.flow svg { color: var(--leaf); }
.security { background: linear-gradient(120deg, var(--forest-dark), var(--forest)); color: white; }.security .eyebrow { color: var(--leaf); }.security-grid > div:first-child > p:last-child { color: rgba(255,255,255,.7); font-size: 18px; }.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.security-list span { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }.security-list svg { color: var(--amber); }
.implementation-timeline { background: white; }.timeline-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }.timeline-grid::before { content:""; position:absolute; left: 2%; right: 2%; top: 21px; height: 2px; background: var(--red); }.timeline-grid article { position: relative; }.timeline-grid span { position: relative; z-index: 1; display: grid; width: 44px; height: 44px; margin-bottom: 40px; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 700; }.timeline-grid p { color: var(--muted); }

@media (max-width: 850px) {
  .intel-grid, .ai-grid, .field-grid, .desktop-admin-grid, .security-grid { grid-template-columns: 1fr; }
  .field-grid, .desktop-admin-grid { gap: 38px; }.desktop-admin-copy, .desktop-carousel { grid-column: 1; }.desktop-carousel { grid-row: 1; max-width: 720px; }.desktop-admin-copy { grid-row: 2; }
  .decision-compare article > div { grid-template-columns: 1fr; }.decision-compare article > div svg { margin: auto; transform: rotate(90deg); }
  .flow { flex-wrap: wrap; padding: 28px; }.timeline-grid { grid-template-columns: repeat(2, 1fr); }.timeline-grid::before { display: none; }.timeline-grid span { margin-bottom: 18px; }
}
@media (max-width: 540px) {
  .variance, .security-list, .timeline-grid { grid-template-columns: 1fr; }
  .steps article { grid-template-columns: 1fr; }.bubble.user, .bubble.bot { width: 100%; }.bubble.bot p { display: grid; }.flow { align-items: stretch; flex-direction: column; text-align: center; }.flow svg { margin: auto; transform: rotate(90deg); }
  .decision-section .section-head h2, .intelligence h2, .ai h2, .field h2,
  .integration h2, .security h2, .implementation-timeline h2 { font-size: 34px; }
  .flow span, .flow strong { width: 100%; white-space: normal; }
  .phone-carousel { width: min(100%, 360px); }.phone { min-height: 490px; padding: 15px; border-width: 8px; border-radius: 34px; }.phone-controls { margin-top: 14px; }.phone-image-screen { height: 444px; }
  .desktop-admin h2 { font-size: 34px; }.desktop-monitor { padding: 7px; border-width: 5px; border-radius: 12px; }.desktop-stand { height: 38px; }.desktop-stand::before { height: 28px; }.desktop-stand span { height: 6px; }.desktop-carousel .phone-controls { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) { .phone-track, .desktop-track { transition: none; } }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 54px;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
}

.check-list span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: #4c1720;
  font-weight: 700;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--leaf);
}

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

.module-preview article {
  min-height: 210px;
  padding: 24px;
}

.case-study-section {
  background: linear-gradient(180deg, #fff8ef 0%, #fff0f2 100%);
}

.case-study-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 36px 56px;
  align-items: start;
  padding: 48px;
  border: 1px solid rgba(255, 208, 216, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(142, 0, 25, 0.1);
}

.case-study-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #870015, #e20b22, #ff7a18);
}

.case-study-copy,
.case-study-results,
.case-study-journey,
.case-study-link {
  position: relative;
  z-index: 1;
}

.case-study-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.case-study-label span,
.case-study-label em {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
}

.case-study-label span {
  color: var(--white);
  background: var(--red);
}

.case-study-label em {
  color: var(--red);
  background: #fff0ee;
}

.case-study-copy h2 {
  max-width: 720px;
  color: var(--ink);
  font-size: 44px;
}

.case-study-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.case-study-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.case-study-meta span {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fffaf3;
  font-size: 14px;
}

.case-study-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 800;
}

.case-study-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.case-study-results article {
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffaf3, #fff0ee);
}

.case-study-results strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
}

.case-study-results span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.case-study-journey {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.case-study-journey article {
  padding: 24px;
  background: var(--white);
}

.case-study-journey span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-study-journey p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.case-study-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
}

.case-study-link svg {
  width: 18px;
  height: 18px;
}

.control-loop-section {
  background: var(--white);
}

.control-loop {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: start;
  gap: 72px;
}

.control-loop-copy {
  max-width: 560px;
}

.control-loop-copy h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.1;
}

.control-loop-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.loop-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--red);
  font-weight: 800;
}

.loop-link svg {
  width: 18px;
  height: 18px;
}

.loop-list {
  display: grid;
}

.loop-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 116px;
  padding: 22px 6px;
  border-top: 1px solid var(--line);
}

.loop-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.loop-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff0ee;
  font-size: 12px;
  font-weight: 800;
}

.loop-list h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
}

.loop-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.module-preview span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--red);
  background: #fff0ee;
  font-weight: 800;
  font-size: 13px;
}

.cta-band {
  background: linear-gradient(135deg, #870015, #e20b22 54%, #ff7a18);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 760px;
}

.cta-inner p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

/* About page */
.about-page-hero {
  padding: clamp(90px, 10vw, 150px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 40%, rgba(255, 122, 24, .18), transparent 28%),
    linear-gradient(125deg, var(--forest-dark), var(--forest) 62%, #b20b22);
}

.about-page-hero-grid,
.about-purpose-grid,
.about-foundation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}

.about-page-hero .eyebrow,
.about-foundation .eyebrow {
  color: var(--amber);
}

.about-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.04em;
}

.about-page-lead {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.3);
}

.about-page-lead p {
  margin-bottom: 28px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
}

.about-purpose {
  background: var(--white);
}

.about-purpose-grid {
  align-items: start;
}

.about-purpose h2,
.about-foundation h2 {
  /* font-size: clamp(34px, 4vw, 52px); */
  font-size: clamp(27px, 7.5vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.about-purpose-copy {
  padding-top: 28px;
  border-top: 2px solid var(--red);
}

.about-purpose-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-purpose-copy p:last-child {
  margin-bottom: 0;
}

.about-principles {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.about-principles-heading {
  margin-inline: auto;
  margin-bottom: 48px;
}

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

.about-principles-grid article {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.about-principles-grid article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.about-principles-grid svg {
  display: block;
  width: 32px;
  height: 32px;
  margin: 42px 0 24px;
  color: var(--red);
}

.about-principles-grid h3 {
  font-size: 19px;
  font-weight: 650;
}

.about-principles-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-foundation {
  color: var(--white);
  background: linear-gradient(120deg, var(--forest-dark), var(--forest));
}

.about-foundation p:last-child {
  color: rgba(255,255,255,.7);
  font-size: 17px;
}

.about-foundation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-foundation-list span {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
}

.about-foundation-list svg {
  flex: 0 0 auto;
  color: var(--amber);
}

@media (max-width: 900px) {
  .about-page-hero-grid,
  .about-purpose-grid,
  .about-foundation-grid {
    grid-template-columns: 1fr;
  }

  .about-page-lead {
    max-width: 720px;
  }

  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .about-page-hero {
    padding: 72px 0;
  }

  .about-page-hero h1 {
    font-size: 36px;
  }

  .about-page-lead {
    padding-left: 20px;
  }

  .about-page-lead p,
  .about-purpose-copy p {
    font-size: 16px;
  }

  .about-principles-grid,
  .about-foundation-list {
    grid-template-columns: 1fr;
  }

  .about-principles-grid article {
    min-height: 0;
    padding: 26px;
  }

  .about-principles-grid svg {
    margin: 28px 0 20px;
  }
}

/* Homepage typography */
body[data-page="home"] h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

body[data-page="home"] h2,
body[data-page="home"] #solutions h2 {
  margin-bottom: 16px;
  /* font-size: clamp(30px, 3.2vw, 44px); */
  font-size: clamp(27px, 7.5vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body[data-page="home"] h3 {
  margin-bottom: 9px;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

body[data-page="home"] .hero-lead {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.65;
}

body[data-page="home"] .section-head > p:last-child,
body[data-page="home"] .lead-sm {
  font-size: 16px;
  line-height: 1.7;
}

body[data-page="home"] .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

body[data-page="home"] article p {
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.quote-form-heading {
  margin-bottom: 28px;
}

.quote-form-heading h2 {
  margin-bottom: 10px;
}

.lead-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffaf3;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(226, 11, 34, 0.16);
  border-color: var(--leaf);
}

.form-button {
  margin-top: 18px;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--forest);
  font-weight: 800;
}

.contact-aside {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(226, 11, 34, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 122, 24, 0.18), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fff8f0 48%, #fff0f3 100%);
  box-shadow: 0 26px 60px rgba(124, 0, 22, 0.13);
}

.contact-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--red), var(--leaf));
}

.contact-aside-intro {
  display: grid;
  gap: 7px;
  padding: 8px 4px 10px;
}

.contact-aside-intro span,
.contact-card-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-aside-intro strong {
  max-width: 28ch;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
}

.contact-aside article {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  border-color: rgba(226, 11, 34, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(124, 0, 22, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-aside article:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 11, 34, 0.28);
  box-shadow: 0 18px 38px rgba(124, 0, 22, 0.12);
}

.contact-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--red) 58%, var(--leaf));
  box-shadow: 0 12px 24px rgba(180, 0, 28, 0.22);
}

.contact-aside .contact-card-icon svg {
  width: 24px;
  height: 24px;
  margin: 0;
  color: currentColor;
}

.contact-card-copy {
  min-width: 0;
}

.contact-aside h2 {
  margin: 4px 0 7px;
}

.contact-aside p {
  margin: 0;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  margin-top: 86px;
  color: rgba(255, 255, 255, 0.82);
  background: #150006;
}

.footer-main {
  padding: 72px 0 54px;
  background-image: linear-gradient(90deg, rgba(10, 0, 4, 0.98), rgba(10, 0, 4, 0.9) 52%, rgba(10, 0, 4, 0.68)), url("assets/hero-global.png");
  background-position: center;
  background-size: cover;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr) minmax(180px, 0.68fr) minmax(170px, 0.62fr);
  gap: 42px;
  align-items: start;
}

.footer-contact-card {
  margin-top: -132px;
  padding: 30px;
  border-radius: 12px;
  border-left: 6px solid var(--leaf);
  background: #1b1f22;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

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

.footer-brand .brand-mark {
  background: rgba(226, 11, 34, 0.24);
}

.footer-contact-card p {
  margin-bottom: 22px;
  color: #d9c8cb;
  font-size: 15px;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-contact-list a,
.footer-column a {
  color: #d7c9cc;
}

.footer-contact-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-contact-list address {
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.footer-contact-list svg,
.footer-column h3::before {
  color: var(--leaf);
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
  padding-top: 6px;
}

.footer-social a,
.footer-top,
.footer-chat,
.footer-demo-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: #2b0b13;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--amber);
  background: #42000a;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-column {
  padding-top: 22px;
}

.footer-column h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 24px;
}

.footer-column h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}

.footer-column a {
  display: block;
  margin: 9px 0;
  font-size: 16px;
  font-weight: 700;
}

.footer-contact-list a:hover,
.footer-column a:hover {
  color: var(--white);
}

.footer-bar {
  background: #1b1f22;
}

.footer-bottom {
  position: relative;
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--amber);
}

.legal-page {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--soft);
}

.legal-content {
  max-width: 860px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h1 { margin-bottom: 10px; }
.legal-content h2 { margin: 34px 0 12px; font-size: clamp(22px, 3vw, 28px); }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-updated { margin-bottom: 34px; font-size: 14px; }

.footer-top {
  position: fixed;
  right: 24px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--leaf));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.footer-top svg,
.footer-chat svg,
.footer-demo-float svg {
  width: 24px;
  height: 24px;
}

.footer-chat {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--leaf));
  box-shadow: 0 18px 38px rgba(141, 0, 20, 0.28);
}

.footer-top,
.footer-chat,
.footer-demo-float {
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.footer-top:hover,
.footer-chat:hover,
.footer-demo-float:hover,
.footer-top:focus-visible,
.footer-chat:focus-visible,
.footer-demo-float:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.12) brightness(1.04);
  box-shadow: 0 20px 42px rgba(141, 0, 20, 0.34);
}

.footer-top:active,
.footer-chat:active,
.footer-demo-float:active {
  transform: translateY(0);
}

.footer-demo-float {
  position: fixed;
  right: 24px;
  bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  min-height: 58px;
  gap: 9px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #870015, var(--red), var(--leaf));
  box-shadow: 0 18px 38px rgba(141, 0, 20, 0.28);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .nav-shell {
    height: 68px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 94px);
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .nav-dropdown-toggle {
    justify-content: flex-start;
    color: var(--red);
  }

  .nav-dropdown {
    display: block;
    width: 100%;
    align-self: auto;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
    padding: 10px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    max-height: min(360px, calc(100vh - 260px));
    max-height: min(360px, calc(100dvh - 260px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .footer-demo-float {
    width: 58px;
    min-width: 58px;
    padding: 0;
  }

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

  .hero-layout,
  .two-column,
  .case-study-panel,
  .control-loop,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding: 66px 0 46px;
  }

  .hero-metrics {
    justify-self: start;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .about-cloud-heading h2 {
    font-size: 40px;
  }

  .about-cloud-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .about-cloud-intro {
    max-width: 680px;
  }

  .about-cloud-grid {
    grid-template-columns: 1fr;
  }

  .about-cloud-grid article,
  .about-cloud-grid article:first-child {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .about-cloud-grid article:last-child {
    border-bottom: 0;
  }

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

  .module-preview,
  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    margin-top: 64px;
  }

  .footer-contact-card {
    grid-column: 1 / -1;
    margin-top: -96px;
  }

  .control-loop {
    gap: 34px;
  }

  .control-loop-copy h2 {
    font-size: 44px;
  }

  .case-study-panel {
    padding: 42px;
  }

  .case-study-copy h2 {
    font-size: 40px;
  }

  .case-study-journey {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    height: 64px;
  }

  .site-nav {
    top: 72px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
    padding: 10px;
  }

  .nav-dropdown-menu {
    max-height: min(340px, calc(100vh - 238px));
    max-height: min(340px, calc(100dvh - 238px));
  }

  .nav-dropdown-menu a {
    padding: 9px 10px;
  }

  .hero-copy,
  .operations-copy,
  .about-page-hero-grid > *,
  .contact-layout > * {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  a,
  span {
    overflow-wrap: break-word;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 74svh;
    background-image: linear-gradient(90deg, rgba(33, 0, 10, 0.94), rgba(125, 0, 18, 0.78)), var(--hero-image);
  }

  .hero-metrics {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  body[data-page="home"] h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.12;
  }

  body[data-page="home"] h2,
  body[data-page="home"] #solutions h2 {
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.18;
  }

  body[data-page="home"] h3 {
    font-size: 18px;
  }

  h2 {
    font-size: 27px;
  }

  .control-loop-copy h2 {
    font-size: 36px;
  }

  .about-cloud-heading {
    margin-bottom: 34px;
  }

  .about-cloud-heading h2 {
    font-size: 32px;
  }

  .about-cloud-intro {
    padding-left: 20px;
  }

  .about-cloud-grid article {
    min-height: auto;
    padding: 26px 24px 30px;
  }

  .about-card-top {
    margin-bottom: 28px;
  }

  .about-cloud-grid h3 {
    font-size: 19px;
  }

  .about-cloud-grid p {
    font-size: 15px;
  }

  .case-study-panel {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .case-study-copy h2 {
    font-size: 30px;
  }

  .case-study-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .case-study-meta {
    grid-template-columns: 1fr;
  }

  .case-study-results {
    grid-template-columns: 1fr;
  }

  .case-study-results article {
    min-height: 112px;
  }

  .case-study-journey article {
    padding: 20px;
  }

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

  .section {
    padding: 66px 0;
  }

  .strip-grid,
  .value-chain,
  .module-preview,
  .footer-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    height: 300px;
  }

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

  .site-footer {
    margin-top: 0;
  }

  .footer-main {
    padding: 50px 0 42px;
  }

  .footer-contact-card {
    margin-top: 0;
    padding: 24px;
  }

  .footer-column {
    padding-top: 4px;
  }

  .footer-column h3 {
    font-size: 21px;
  }

  .footer-bottom {
    min-height: 150px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-top {
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .footer-chat {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .footer-demo-float {
    right: 16px;
    bottom: calc(144px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .button,
  .nav-toggle,
  .site-nav a,
  .nav-dropdown-toggle,
  button,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  .hero-actions,
  .button-row {
    width: 100%;
  }

  .loop-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 104px;
    padding: 18px 0;
  }

  .loop-number {
    width: 40px;
    height: 40px;
  }
}

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

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

/* Consistent heading typography across every page */
body h1,
body .about-page-hero h1 {
  max-width: 760px;
  margin-top: 0;
  margin-bottom: 22px;
  font-size: clamp(40px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

body h2,
body #solutions h2,
body .quote-form-heading h2 {
  margin-top: 0;
  margin-bottom: 16px;
  /* font-size: clamp(30px, 3.2vw, 44px); */
  font-size: clamp(27px, 7.5vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body h3 {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (max-width: 680px) {
  body h1,
  body .about-page-hero h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.12;
  }

  body h2,
  body #solutions h2,
  body .quote-form-heading h2 {
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.18;
  }

  body h3 {
    font-size: 18px;
  }
}
