/*
Theme Name: OEC Process
Theme URI: https://oecprocess.com
Author: Southbound Studio
Description: Local editable WordPress theme matching the OEC Process static prototype.
Version: 0.1.0
Text Domain: oec-process
*/

:root {
  --ink: #062553;
  --ink-2: #123b72;
  --blue: #005cae;
  --blue-2: #0a78d1;
  --navy: #001f42;
  --navy-2: #003a70;
  --line: #d4e0ed;
  --muted: #536a86;
  --soft: #f4f8fc;
  --white: #ffffff;
  --green: #84c341;
  --shadow: 0 22px 50px rgba(5, 33, 70, 0.12);
  --content-max: 1180px;
  --content-pad: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.admin-bar .site-header {
  top: 32px;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: 0 var(--content-pad);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(6, 37, 83, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(100%, var(--content-max));
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 0;
}

.brand {
  width: 135px;
}

.brand img {
  width: 135px;
  height: auto;
}

.site-nav {
  font-size: 13px;
  font-weight: 700;
}

.site-nav-list,
.site-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.site-nav-item {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-item::marker,
.site-submenu li::marker {
  content: "";
}

.site-nav a {
  display: block;
  padding: 22px 0;
}

.site-nav-item.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav-item.has-submenu > a::after {
  content: "⌄";
  font-size: 11px;
  line-height: 1;
}

.site-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 178px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 32px rgba(5, 33, 70, 0.12);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav-item:hover > .site-submenu,
.site-nav-item:focus-within > .site-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-submenu a {
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 4px;
  white-space: nowrap;
}

.site-submenu a:hover,
.site-submenu a:focus {
  color: var(--blue);
  background: #eef6fc;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #003b78);
}

.button.primary {
  box-shadow: none;
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue);
}

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

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d9e3ef;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6fc 48%, #e4f1fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 575' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120c150 70 255-35 430 25 195 67 265-72 470-20 190 48 310 100 540-5v455H0Z' fill='%230078bd' fill-opacity='.10'/%3E%3Cpath d='M0 218c175 74 285-42 460 18 160 55 255 12 390-40 180-70 310 80 590 7v372H0Z' fill='%23005cae' fill-opacity='.08'/%3E%3Cpath d='M0 330c150-54 260 44 410-8 175-61 285-78 455 0 205 94 350-52 575 20v233H0Z' fill='%2300285d' fill-opacity='.055'/%3E%3Cpath d='M0 430c190 72 310-35 510 20 205 56 280 92 455 20 155-64 310-18 475 38v67H0Z' fill='%2300244d' fill-opacity='.05'/%3E%3C/svg%3E");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.32;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
  width: min(100%, var(--content-max));
  min-height: 540px;
  margin: 0 auto;
}

.hero-copy {
  align-self: center;
  padding: 58px var(--content-pad) 54px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 2.75vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-text {
  max-width: 500px;
  margin: 16px 0 24px;
  color: #294560;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}

.stat-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-stats dt {
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-media {
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 16px 18px 12px;
  background: transparent;
}

.hero-media img {
  width: min(720px, 100%);
  height: min(510px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(6, 37, 83, 0.18));
}

.trust-band {
  padding: 22px var(--content-pad) 30px;
  color: var(--white);
  background: linear-gradient(135deg, #001b39 0%, #003f78 100%);
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 2.95fr;
  gap: 24px;
  align-items: center;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.trust-band p {
  max-width: 330px;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-items article {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
}

.trust-items svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 66px var(--content-pad);
}

.section-heading {
  max-width: 940px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.project-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.solution-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  min-height: 130px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: 0 10px 30px rgba(7, 47, 90, 0.04);
}

.solution-card h3 {
  align-self: end;
  margin: 4px 0 8px;
  font-size: 20px;
  line-height: 1.12;
}

.solution-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.icon {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
}

.drop {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 7C18 17 13 24 13 31a11 11 0 0 0 22 0C35 24 30 17 24 7Z'/%3E%3Cpath d='M20 32a5 5 0 0 0 7 4'/%3E%3C/svg%3E");
}

.vessels {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='13' width='10' height='24' rx='3'/%3E%3Crect x='28' y='13' width='10' height='24' rx='3'/%3E%3Cpath d='M15 13V9M33 13V9M20 24h8'/%3E%3C/svg%3E");
}

.groundwater {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 9v18'/%3E%3Cpath d='M18 19h12'/%3E%3Cpath d='M8 31c4-3 8 3 12 0s8 3 12 0 5-1 8 1'/%3E%3Cpath d='M8 38c4-3 8 3 12 0s8 3 12 0 5-1 8 1'/%3E%3C/svg%3E");
}

.waves {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18c4-4 8 4 12 0s8 4 12 0 6-2 10 1'/%3E%3Cpath d='M7 27c4-4 8 4 12 0s8 4 12 0 6-2 10 1'/%3E%3Cpath d='M7 36c4-4 8 4 12 0s8 4 12 0 6-2 10 1'/%3E%3C/svg%3E");
}

.dewater {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 37h34'/%3E%3Cpath d='M12 37V25l7-5 7 5v12'/%3E%3Cpath d='M27 37V19l8-5 5 3v20'/%3E%3Cpath d='M16 28h6M31 24h5'/%3E%3C/svg%3E");
}

.drinking {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10h16l-2 28H18Z'/%3E%3Cpath d='M18 17h12'/%3E%3Cpath d='M24 23c-3 4-5 7-5 10a5 5 0 0 0 10 0c0-3-2-6-5-10Z'/%3E%3C/svg%3E");
}

.tank {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='24' cy='14' rx='14' ry='6'/%3E%3Cpath d='M10 14v19c0 3 6 6 14 6s14-3 14-6V14'/%3E%3Cpath d='M10 24c0 3 6 6 14 6s14-3 14-6'/%3E%3C/svg%3E");
}

.vapor {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23005cae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 28 24 11l15 17'/%3E%3Cpath d='M14 25v14h20V25'/%3E%3Cpath d='M20 38c2-3 1-6-1-9M27 38c2-3 1-6-1-9M34 38c2-3 1-6-1-9'/%3E%3C/svg%3E");
}

.sparge {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='%23005cae' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ccircle cx='15' cy='16' r='2'/%3E%3Ccircle cx='25' cy='13' r='1.8'/%3E%3Ccircle cx='34' cy='19' r='2'/%3E%3Ccircle cx='19' cy='27' r='2'/%3E%3Ccircle cx='30' cy='29' r='1.8'/%3E%3Ccircle cx='24' cy='37' r='2'/%3E%3Ccircle cx='36' cy='36' r='1.8'/%3E%3C/svg%3E");
}

.deploy {
  padding-top: 42px;
  padding-bottom: 72px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}

.deploy-grid article {
  padding: 0 36px;
  border-left: 1px solid var(--line);
}

.deploy-grid article:first-child {
  border-left: 0;
}

.deploy-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 14px;
}

.deploy-grid article:nth-child(2) img,
.deploy-grid article:nth-child(3) img {
  height: 150px;
}

.deploy-grid h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 19px;
  text-align: center;
}

.deploy-grid ul,
.mission ul {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.deploy-grid li,
.mission li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.deploy-grid li::before,
.mission li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
}

.deploy-grid li::after,
.mission li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.deploy-grid a,
.project-heading a,
.project-grid a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.mission {
  padding: 62px var(--content-pad) 56px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #001a38 0%, #00437c 100%);
}

.mission-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.52fr);
  gap: 36px;
  align-items: center;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.mission h2 {
  max-width: 330px;
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.mission p {
  max-width: 360px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
}

.mission li {
  color: #fff;
}

.mission li::before {
  background: var(--green);
}

.mission-inner img {
  justify-self: end;
  width: min(850px, 100%);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.16));
}

.process {
  padding-top: 60px;
  padding-bottom: 58px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.process-steps li {
  position: relative;
  padding-top: 42px;
  text-align: center;
  counter-increment: step;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  transform: translateX(-50%);
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 26px);
  width: calc(100% - 22px);
  border-top: 2px dotted #9aa9bc;
}

.process-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.process-steps span {
  display: block;
  max-width: 210px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.projects {
  padding-top: 56px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.project-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(7, 47, 90, 0.06);
}

.project-grid img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.project-grid article > div {
  padding: 14px 16px 18px;
}

.project-grid h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.15;
}

.project-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.project-grid .tags {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.tags span,
.tags::first-letter {
  display: inline-block;
}

.tags span,
.tags {
  word-spacing: 8px;
}

.projects-managed {
  background: #fbfdff;
}

.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, var(--content-max));
  margin: 0 auto 24px;
}

.project-filter-bar button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #bdd2e7;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.project-filter-bar button.is-active,
.project-filter-bar button:hover,
.project-filter-bar button:focus {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.managed-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.managed-project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: 0 14px 34px rgba(7, 47, 90, 0.06);
}

.managed-project-card[hidden] {
  display: none;
}

.managed-project-card img {
  width: 100%;
  height: 172px;
  min-height: 0;
  object-fit: cover;
  background: #f2f7fc;
}

.managed-project-card > div {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.managed-project-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.12;
}

.managed-project-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.managed-project-card .project-industry {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.managed-project-card .project-location {
  color: var(--ink-2);
  font-weight: 800;
}

.managed-project-card dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.managed-project-card dl div {
  display: grid;
  gap: 2px;
}

.managed-project-card dt {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.managed-project-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.project-card-link {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.conversation {
  padding: 48px var(--content-pad);
  color: #fff;
  background: linear-gradient(135deg, #004b8d 0%, #006fc7 100%);
}

.conversation-inner {
  display: grid;
  grid-template-columns: 78px minmax(300px, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.conversation h2 {
  max-width: 540px;
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08;
}

.conversation p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.bubble {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: 32px var(--content-pad) 42px;
  color: #fff;
  background: linear-gradient(135deg, #00172f 0%, #003360 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 38px;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.footer-brand img {
  width: 156px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 13px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.button,
.header-cta,
.project-filter-bar button,
.site-nav a,
.deploy-grid a,
.project-grid a,
.interior-card-grid a,
.project-card-link {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus,
.header-cta:hover,
.header-cta:focus,
.project-card-link:hover,
.project-card-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 92, 174, 0.16);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue);
}

.trust-items article,
.solution-card,
.deploy-grid article,
.project-grid article,
.managed-project-card,
.interior-card-grid article,
.process-steps li,
.contact-form {
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.trust-items article:hover,
.solution-card:hover,
.process-steps li:hover,
.contact-form:focus-within {
  border-color: rgba(0, 92, 174, 0.34);
  box-shadow: 0 20px 44px rgba(7, 47, 90, 0.11);
  transform: translateY(-3px);
}

.deploy-grid article:hover,
.project-grid article:hover,
.managed-project-card:hover,
.interior-card-grid article:hover {
  border-color: rgba(0, 92, 174, 0.34);
  box-shadow: 0 16px 34px rgba(7, 47, 90, 0.1);
  transform: translateY(-2px);
}

.hero-media img,
.deploy-grid img,
.project-grid img,
.managed-project-card img,
.interior-card-grid img,
.detail-inner img {
  transition: transform 420ms ease, filter 420ms ease;
}

.hero-media:hover img,
.deploy-grid article:hover img,
.project-grid article:hover img,
.managed-project-card:hover img,
.interior-card-grid article:hover img,
.detail-inner:hover img {
  transform: scale(1.025);
}

.animate-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--motion-delay, 0ms);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .animate-in {
  transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }
}

.page-content-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.page-content-inner a {
  color: var(--blue);
  font-weight: 800;
}

.page-content-inner img {
  height: auto;
}

.interior-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: #001b39;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.interior-hero::before,
.interior-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.interior-hero::before {
  z-index: -2;
  background-image: var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.interior-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 27, 57, 0.94) 0%, rgba(0, 42, 86, 0.82) 40%, rgba(0, 59, 112, 0.42) 72%, rgba(0, 59, 112, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 20, 42, 0.25) 0%, rgba(0, 20, 42, 0.42) 100%);
}

.interior-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  min-height: 440px;
  margin: 0 auto;
  padding: 76px var(--content-pad) 72px;
}

.interior-hero-inner > div {
  max-width: 720px;
}

.interior-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.interior-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.interior-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.58;
}

.interior-hero .hero-actions {
  margin-top: 26px;
}

.interior-hero .button.primary {
  color: var(--blue);
  background: #fff;
}

.interior-hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.intro-panel {
  padding-bottom: 36px;
}

.interior-cards {
  padding-top: 24px;
  background: #fbfdff;
}

.interior-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.interior-card-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: 0 14px 34px rgba(7, 47, 90, 0.06);
}

.interior-cards.has-text-only-cards .interior-card-grid article > div {
  padding: 22px;
}

.interior-card-grid img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  padding: 18px;
  background: #f2f7fc;
}

.interior-card-grid article > div {
  padding: 18px 18px 20px;
}

.interior-card-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.15;
}

.managed-content-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.interior-card-grid p {
  white-space: pre-line;
}

.interior-card-grid p,
.detail-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.interior-card-grid a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.contact-form-section {
  padding: 64px var(--content-pad);
  background: #fff;
}

.contact-form-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: start;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.contact-form-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.contact-form-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: 0 18px 42px rgba(7, 47, 90, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form .form-message.is-success {
  color: #174a21;
  background: #e7f7ea;
  border: 1px solid #a8d8af;
}

.contact-form .form-message.is-error {
  color: #7c1d1d;
  background: #fff0f0;
  border: 1px solid #efb0b0;
}

.contact-form .is-wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d8e8;
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 92, 174, 0.18);
  border-color: var(--blue);
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.detail-section {
  padding: 64px var(--content-pad);
}

.detail-section:nth-of-type(even) {
  background: #fbfdff;
}

.detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 44px;
  align-items: center;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.detail-section.is-reversed .detail-copy {
  order: 2;
}

.detail-copy h2 {
  white-space: pre-line;
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
}

.detail-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
}

.detail-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--blue);
  font-weight: 900;
}

.detail-inner img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  padding: 22px;
  background: #f2f7fc;
  border: 1px solid var(--line);
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
  }

  .menu-button {
    display: inline-grid;
    gap: 4px;
    width: 40px;
    height: 40px;
    place-content: center;
    margin-left: auto;
    color: var(--ink);
    background: transparent;
    border: 0;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .site-submenu a {
    padding: 8px 12px;
    color: var(--muted);
    white-space: normal;
  }

  .header-cta {
    grid-column: 3;
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6fc 48%, #e4f1fa 100%);
  }

  .hero-copy {
    padding: 46px var(--content-pad) 34px;
  }

  .hero-media {
    min-height: 400px;
    background: transparent;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    overflow-x: auto;
  }

  .solution-grid,
  .project-grid,
  .managed-project-grid,
  .interior-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-inner,
  .conversation-inner,
  .contact-form-inner,
  .managed-project-card,
  .detail-inner {
    grid-template-columns: 1fr;
  }

  .interior-hero-inner {
    min-height: 390px;
    padding: 64px var(--content-pad) 60px;
  }

  .mission-inner img {
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
    grid-template-columns: auto auto;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .header-cta {
    display: none;
  }

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

  .hero h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .hero-text {
    font-size: 16px;
  }

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

  .hero-media {
    min-height: 368px;
  }

  .trust-items,
  .solution-grid,
  .deploy-grid,
  .project-grid,
  .managed-project-grid,
  .interior-card-grid,
  .contact-form,
  .process-steps,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-form-section,
  .detail-section {
    padding: 38px 20px;
  }

  .interior-hero-inner {
    min-height: 360px;
    padding: 54px 20px 50px;
  }

  .interior-hero h1 {
    font-size: 32px;
  }

  .interior-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .managed-project-card img {
    height: 210px;
  }

  .detail-section.is-reversed .detail-copy {
    order: initial;
  }

  .section {
    padding: 38px 20px;
  }

  .solution-card {
    grid-template-columns: 62px 1fr;
    padding: 18px;
  }

  .solution-card p {
    grid-column: 1 / -1;
    padding-left: 80px;
  }

  .icon {
    width: 54px;
    height: 54px;
    background-size: 38px 38px;
  }

  .deploy-grid article {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .deploy-grid article:first-child {
    border-top: 0;
  }

  .process-steps li:not(:last-child)::after {
    display: none;
  }

  .project-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .conversation {
    padding-top: 30px;
    padding-bottom: 34px;
  }
}
