/*
Theme Name: GrowIT
Theme URI: https://growit.dev
Author: GrowIT
Author URI: https://growit.dev
Description: Client-focused product engineering and growth systems theme for GrowIT.
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: growit
*/

:root {
  --ink: #101114;
  --ink-soft: #252932;
  --muted: #616874;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --surface-soft: #eef1eb;
  --line: rgba(16, 17, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --green: #27c46a;
  --green-dark: #0f7b40;
  --blue: #1663d9;
  --amber: #e9a927;
  --red: #d84f42;
  --radius: 8px;
  --container: min(calc(100vw - 48px), 1180px);
  --font-display: Inter, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 17, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 17, 20, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 88px 88px;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: var(--container);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 194px;
  height: 47px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-menu,
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  color: var(--ink-soft);
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible {
  background: var(--surface);
  outline: none;
}

.nav-menu > .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
}

.nav-menu .sub-menu {
  width: min(680px, calc(100vw - 40px));
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 90;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.16);
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-menu .sub-menu a {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--muted);
  background: transparent;
  line-height: 1.25;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
}

.menu-toggle span:not(.screen-reader-text),
.menu-toggle span:not(.screen-reader-text)::before,
.menu-toggle span:not(.screen-reader-text)::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-toggle span:not(.screen-reader-text)::before {
  transform: translateY(-6px);
}

.menu-toggle span:not(.screen-reader-text)::after {
  transform: translateY(4px);
}

.button,
.wp-element-button,
.project-form button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(16, 17, 20, 0.18);
  border-radius: 6px;
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(16, 17, 20, 0.14);
  font: 750 0.96rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.project-form button:hover,
.project-form button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--green {
  color: var(--ink);
  background: var(--green);
  border-color: rgba(39, 196, 106, 0.72);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  box-shadow: none;
}

.button--light {
  color: var(--ink);
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.75);
}

.button__icon {
  width: 16px;
  height: 16px;
  position: relative;
}

.button__icon::before {
  position: absolute;
  inset: 0;
  content: "→";
  font-weight: 900;
}

.main {
  flex: 1;
}

.section,
.page-hero,
.home-hero,
.trust-ribbon {
  width: var(--container);
  margin: 0 auto;
}

.home-hero {
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  padding: clamp(68px, 8vw, 104px) 0 clamp(48px, 7vw, 84px);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  display: inline-block;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 5.8vw, 5.25rem);
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  font-size: clamp(2.1rem, 3.8vw, 3.65rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.58;
}

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

.section > .section-actions {
  margin-top: 24px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.proof-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.proof-strip li::before {
  width: 7px;
  height: 7px;
  background: var(--green);
  content: "";
}

.hero-visual {
  min-height: 460px;
  display: grid;
  align-content: center;
}

.system-map {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: var(--surface);
  background:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    var(--ink);
  background-size: 44px 44px;
  border: 1px solid rgba(16, 17, 20, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.2);
}

.system-map__head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.system-map__head strong {
  font-size: 1rem;
  font-weight: 850;
}

.system-map__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
}

.system-map__status::before {
  width: 8px;
  height: 8px;
  background: var(--green);
  content: "";
}

.system-node {
  width: min(47%, 205px);
  position: absolute;
  z-index: 2;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.system-node strong {
  display: block;
  margin-bottom: 7px;
  color: var(--surface);
  font-size: 0.9rem;
}

.system-node span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.system-node--one {
  left: 22px;
  top: 112px;
}

.system-node--two {
  right: 22px;
  top: 160px;
}

.system-node--three {
  left: 46px;
  bottom: 70px;
}

.system-node--four {
  right: 28px;
  bottom: 24px;
}

.system-core {
  width: 130px;
  height: 130px;
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: 0 0 0 20px rgba(39, 196, 106, 0.08);
}

.system-line {
  position: absolute;
  z-index: 0;
  height: 1px;
  background: rgba(39, 196, 106, 0.42);
  transform-origin: left center;
}

.system-line--a {
  width: 210px;
  left: 150px;
  top: 210px;
  transform: rotate(18deg);
}

.system-line--b {
  width: 190px;
  left: 166px;
  top: 318px;
  transform: rotate(-22deg);
}

.trust-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.trust-ribbon div {
  min-height: 96px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.trust-ribbon div:last-child {
  border-right: 0;
}

.trust-ribbon strong,
.trust-ribbon span {
  display: block;
}

.trust-ribbon strong {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.trust-ribbon span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--tight {
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(28px, 6vw, 72px);
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-kicker p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
}

.card-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.card,
.capability-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-card {
  position: relative;
}

.card:nth-child(3n),
.capability-card:nth-child(3n) {
  border-right: 0;
}

.card p,
.capability-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.card__meta {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  color: var(--green-dark);
  background: rgba(39, 196, 106, 0.1);
  border: 1px solid rgba(39, 196, 106, 0.24);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.capability-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.capability-link::after {
  content: "→";
}

.capability-link::before {
  position: absolute;
  inset: 0;
  content: "";
}

.capability-card:hover {
  background: var(--surface);
}

.technology-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(30px, 6vw, 72px);
  padding: clamp(30px, 5vw, 56px);
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.18);
}

.technology-panel h2,
.technology-panel h3 {
  color: var(--surface);
}

.technology-panel__intro p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.technology-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.technology-group {
  min-height: 152px;
  padding: 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.technology-group h3 {
  margin-bottom: 13px;
  font-size: 1rem;
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technology-list li {
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--green);
  font-size: 0.78rem;
  font-weight: 700;
}

.technology-group:nth-child(2) .technology-list li {
  border-left-color: var(--blue);
}

.technology-group:nth-child(3) .technology-list li {
  border-left-color: var(--amber);
}

.technology-group:nth-child(4) .technology-list li {
  border-left-color: var(--red);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-card {
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.industry-card::after {
  width: 72px;
  height: 5px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--green);
  content: "";
}

.industry-card:nth-child(3n + 2)::after {
  background: var(--blue);
}

.industry-card:nth-child(3n)::after {
  background: var(--amber);
}

.industry-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.industry-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.industry-card a::after {
  content: "→";
}

.industry-card a::before {
  position: absolute;
  inset: 0;
  content: "";
}

.industry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 17, 20, 0.28);
  box-shadow: 0 18px 45px rgba(16, 17, 20, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.step {
  min-height: 230px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step__num {
  display: block;
  margin-bottom: 30px;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 850;
}

.step p {
  color: var(--muted);
  line-height: 1.55;
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(30px, 5vw, 54px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.company-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-panel,
.industry-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(30px, 5vw, 54px);
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.18);
}

.cta-panel h2,
.industry-cta h2 {
  color: var(--surface);
}

.cta-panel p,
.industry-cta p {
  max-width: 740px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.58;
}

.page-hero {
  padding: clamp(60px, 8vw, 96px) 0 clamp(34px, 5vw, 56px);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  line-height: 1;
}

.page-hero p {
  max-width: 800px;
}

.page-content {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: clamp(64px, 8vw, 104px);
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.64;
}

.page-content h2 {
  margin: clamp(42px, 6vw, 66px) 0 17px;
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
}

.page-content h3 {
  margin: 28px 0 10px;
}

.page-content .card-grid,
.page-content .steps,
.page-content .industry-grid,
.page-content .company-panel,
.page-content .technology-panel {
  margin: 28px 0;
}

.industry-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.industry-intro__summary {
  padding: 26px;
  background: var(--surface);
  border-left: 5px solid var(--green);
}

.industry-intro__summary strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

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

.priority,
.reason {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.priority p,
.reason p {
  margin: 10px 0 0;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.deliverable-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
}

.deliverable-list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--green);
  content: "";
}

.service-content {
  display: grid;
  gap: clamp(48px, 7vw, 82px);
}

.service-lead {
  max-width: 920px;
}

.service-lead p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.58;
}

.service-section h2 {
  margin-top: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.68);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card p {
  margin: 12px 0 0;
}

.service-card--accent {
  border-top: 5px solid var(--green);
}

.service-card--accent:nth-child(2) {
  border-top-color: var(--blue);
}

.service-card--accent:nth-child(3) {
  border-top-color: var(--amber);
}

.service-list {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.service-list li:nth-child(2n) {
  border-right: 0;
}

.service-list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--green);
  content: "";
}

.service-list--muted {
  background: var(--surface-soft);
}

.service-list--muted li::before {
  background: var(--amber);
}

.service-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-related a {
  padding: 11px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.service-related a:hover,
.service-related a:focus-visible {
  border-color: var(--green-dark);
  outline: none;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(30px, 5vw, 54px);
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
}

.service-cta h2 {
  margin-top: 10px;
  color: var(--surface);
}

.service-cta p:not(.eyebrow) {
  max-width: 740px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.project-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(16, 17, 20, 0.07);
}

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

.project-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.project-form textarea {
  min-height: 160px;
  resize: vertical;
}

.project-form__full {
  grid-column: 1 / -1;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.form-status {
  padding: 12px 14px;
  color: var(--green-dark);
  background: rgba(39, 196, 106, 0.11);
  border: 1px solid rgba(39, 196, 106, 0.28);
  border-radius: 6px;
  font-weight: 750;
}

.form-status--error {
  color: #a6382d;
  background: rgba(242, 184, 75, 0.14);
  border-color: rgba(166, 56, 45, 0.22);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(38px, 6vw, 66px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo {
  width: 194px;
  padding: 7px;
  background: var(--paper);
  border-radius: 6px;
}

.footer-brand p {
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}

.footer-company {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.83rem;
}

.footer-links {
  max-width: 420px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1060px) {
  .home-hero,
  .section-kicker,
  .technology-panel,
  .company-panel,
  .industry-intro,
  .cta-panel,
  .industry-cta,
  .service-cta {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

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

  .card:nth-child(3n),
  .capability-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .card:nth-child(2n),
  .capability-card:nth-child(2n) {
    border-right: 0;
  }

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

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

  .trust-ribbon div:nth-child(2) {
    border-right: 0;
  }

  .trust-ribbon div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(calc(100vw - 28px), 720px);
  }

  .site-header__inner {
    min-height: 70px;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 70px 0 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 16px 14px 30px;
    background: rgba(246, 247, 242, 0.99);
    border-top: 1px solid var(--line);
  }

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

  .nav-menu {
    width: min(100%, 600px);
    display: grid;
    gap: 7px;
  }

  .nav-menu a {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .nav-menu .sub-menu {
    width: 100%;
    position: static;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    margin-top: 6px;
    box-shadow: none;
  }

  .nav-menu .sub-menu a {
    min-height: 44px;
    font-size: 0.84rem;
  }

  .home-hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.85rem, 11vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3.25rem);
  }

  .card-grid,
  .capability-grid,
  .industry-grid,
  .steps,
  .priority-grid,
  .reason-grid,
  .service-grid,
  .project-form__grid {
    grid-template-columns: 1fr;
  }

  .card,
  .card:nth-child(2n),
  .card:nth-child(3n),
  .capability-card,
  .capability-card:nth-child(2n),
  .capability-card:nth-child(3n),
  .step {
    border-right: 0;
  }

  .hero-visual {
    min-height: auto;
  }

  .system-map {
    min-height: 520px;
  }

  .system-node {
    width: calc(100% - 44px);
    left: 22px !important;
    right: auto !important;
  }

  .system-node--one {
    top: 98px;
  }

  .system-node--two {
    top: 205px;
  }

  .system-node--three {
    bottom: 112px;
  }

  .system-node--four {
    bottom: 18px;
  }

  .system-core,
  .system-line {
    display: none;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(calc(100vw - 24px), 500px);
  }

  .brand img {
    width: 156px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button,
  .wp-element-button,
  .project-form button {
    width: 100%;
  }

  .technology-groups,
  .deliverable-list,
  .service-list ul,
  .nav-menu .sub-menu,
  .trust-ribbon {
    grid-template-columns: 1fr;
  }

  .service-list li,
  .service-list li:nth-child(2n) {
    border-right: 0;
  }

  .trust-ribbon div,
  .trust-ribbon div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-ribbon div:last-child {
    border-bottom: 0;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
