
:root {
  --paper: #f7f5f0;
  --paper-soft: #fbfaf7;
  --ink: #101c2c;
  --text: #36414c;
  --blue: #1558d6;
  --blue-dark: #0d42a9;
  --blue-soft: #e9effb;
  --teal: #187e86;
  --line: #dbe1e5;
  --night: #0b1627;
  --night-soft: #132238;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { text-wrap: pretty; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  border-radius: .5rem; background: var(--ink); color: white; padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative; z-index: 20;
  width: min(100% - 3rem, 1460px); min-height: 92px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(190px, 270px) 1fr auto;
  align-items: center; gap: 2.5rem; border-bottom: 1px solid rgba(16,28,44,.12);
}
.brand { display: block; width: min(100%, 238px); line-height: 0; overflow: hidden; border-radius: .15rem; }
.brand img { width: 100%; height: auto; }
nav { display: flex; justify-content: flex-end; gap: clamp(1.25rem,2.5vw,2.7rem); font-size: .95rem; font-weight: 550; }
nav a { position: relative; padding: .65rem 0; }
nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .35rem;
  height: 2px; background: var(--blue); transition: right 180ms ease;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue); border-radius: .45rem; background: var(--blue); color: white;
  padding: .85rem 1.7rem; font-size: .98rem; font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover, .button:focus-visible { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.button-small { min-height: 46px; padding-inline: 1.25rem; }
.button-outline { background: transparent; color: var(--blue); }
.button-outline:hover, .button-outline:focus-visible { background: var(--blue-soft); color: var(--blue-dark); }

.hero {
  width: min(100% - 3rem, 1460px); min-height: 690px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr);
  align-items: center; gap: clamp(3rem,5vw,6rem); padding: 4.6rem 0 4rem;
}
.hero-copy { position: relative; z-index: 5; }
.eyebrow {
  margin: 0 0 1.7rem; color: var(--teal); font-size: .78rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
}
h1 { max-width: 720px; margin: 0; font-size: clamp(3.2rem,5vw,5.25rem); line-height: .99; letter-spacing: -.055em; font-weight: 720; }
h1 span { color: var(--blue); }
.hero-text { max-width: 630px; margin: 2rem 0 0; color: var(--text); font-size: clamp(1.05rem,1.3vw,1.24rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.solution-map { position: relative; min-height: 570px; }
.solution-map::before {
  content: ""; position: absolute; inset: 2rem -8rem 1rem 12%;
  background: radial-gradient(circle at 32% 30%,rgba(36,87,214,.12),transparent 32%), radial-gradient(circle at 70% 62%,rgba(63,135,131,.12),transparent 34%);
  filter: blur(10px); pointer-events: none;
}
.map-card {
  position: absolute; width: 47%; min-height: 230px; padding: 1.55rem;
  border: 1px solid rgba(16,28,44,.11); border-radius: 1rem;
  background: rgba(255,255,255,.78); box-shadow: 0 20px 50px rgba(31,53,79,.08);
  backdrop-filter: blur(12px); transition: transform 220ms ease, box-shadow 220ms ease;
}
.map-card:hover { transform: translateY(-5px); box-shadow: 0 26px 58px rgba(31,53,79,.13); }
.map-card-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-weight: 680; font-size: 1.05rem; }
.map-card-heading b { color: var(--blue); font-family: "Courier New", monospace; font-size: .73rem; font-weight: 600; }
.map-card p { max-width: 17rem; margin: 1.2rem 0 0; color: #52606a; font-size: .84rem; line-height: 1.5; }
.map-consulting { left: 5%; top: 0; background: linear-gradient(145deg,rgba(238,243,253,.92),rgba(255,255,255,.86)); }
.map-automation { right: -5%; top: 15%; background: linear-gradient(145deg,rgba(231,242,241,.94),rgba(255,255,255,.84)); }
.map-integration { left: -7%; bottom: 3%; background: linear-gradient(145deg,rgba(239,247,245,.92),rgba(255,255,255,.86)); }
.map-data { right: 7%; bottom: -3%; background: linear-gradient(145deg,rgba(236,242,252,.94),rgba(255,255,255,.87)); }
.map-line { position: absolute; z-index: 2; border: solid rgba(24,126,134,.62); pointer-events: none; }
.map-line-a { left: 45%; top: 29%; width: 34%; height: 31%; border-width: 0 0 1px 1px; border-radius: 0 0 0 1.7rem; }
.map-line-b { left: 28%; top: 53%; width: 43%; height: 18%; border-width: 1px 1px 0 0; border-radius: 0 1.7rem 0 0; }
.map-dot { position: absolute; z-index: 3; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(24,126,134,.11); }
.map-dot-a { left: calc(45% - 5px); top: calc(60% - 5px); }
.map-dot-b { left: calc(71% - 5px); top: calc(53% - 5px); background: var(--blue); }

.strategy-mark { position: relative; width: 74px; height: 74px; margin-top: 1.45rem; border: 1px solid var(--blue); border-radius: 50%; }
.strategy-mark::before, .strategy-mark::after, .strategy-mark i { content: ""; position: absolute; background: var(--blue); transform-origin: center; }
.strategy-mark::before { width: 36px; height: 2px; left: 18px; top: 36px; transform: rotate(-38deg); }
.strategy-mark::after { width: 13px; height: 13px; right: 17px; top: 21px; clip-path: polygon(0 0,100% 0,100% 100%); }
.automation-mark { position: relative; height: 70px; margin-top: 1.55rem; }
.automation-mark::before { content: ""; position: absolute; left: 12px; top: 31px; width: 112px; height: 1px; background: var(--teal); }
.automation-mark i { position: absolute; top: 21px; width: 20px; height: 20px; border: 2px solid var(--teal); border-radius: 5px; background: white; }
.automation-mark i:nth-child(1) { left: 2px; } .automation-mark i:nth-child(2) { left: 56px; border-radius: 50%; } .automation-mark i:nth-child(3) { left: 110px; }
.integration-mark { position: relative; height: 76px; margin-top: 1.3rem; }
.integration-mark i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 9px rgba(24,126,134,.09); }
.integration-mark i:nth-child(1) { left: 16px; top: 33px; } .integration-mark i:nth-child(2) { left: 70px; top: 4px; } .integration-mark i:nth-child(3) { left: 122px; top: 43px; }
.integration-mark::before, .integration-mark::after { content: ""; position: absolute; left: 30px; width: 52px; height: 1px; background: rgba(24,126,134,.6); transform-origin: left; }
.integration-mark::before { top: 39px; transform: rotate(-28deg); } .integration-mark::after { left: 83px; top: 16px; transform: rotate(34deg); }
.chart-mark { height: 82px; display: flex; align-items: flex-end; gap: 11px; margin-top: 1.15rem; border-bottom: 1px solid rgba(21,88,214,.35); }
.chart-mark i { width: 15px; border: 1px solid var(--blue); background: rgba(21,88,214,.08); }
.chart-mark i:nth-child(1) { height: 26px; } .chart-mark i:nth-child(2) { height: 41px; } .chart-mark i:nth-child(3) { height: 58px; } .chart-mark i:nth-child(4) { height: 72px; }

.benefit-strip { width: 100%; min-height: 118px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; border-block: 1px solid var(--line); background: rgba(255,255,255,.38); }
.benefit-strip p { min-height: 54px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: clamp(.95rem,1.25vw,1.18rem); font-weight: 670; }
.benefit-strip p + p { border-left: 1px solid var(--line); }
.benefit-strip span { color: var(--teal); font-family: "Courier New", monospace; font-size: .72rem; }
.section-shell { width: min(100% - 3rem,1320px); margin-inline: auto; }
.solutions { padding-block: clamp(5rem,9vw,8rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; }
.section-heading h2, .approach h2 { max-width: 780px; margin: 0; font-size: clamp(2.4rem,4vw,4.15rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 .35rem; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.service-grid { margin-top: 4.5rem; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 370px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.2); transition: background 200ms ease, transform 200ms ease; }
.service-card:hover { background: white; transform: translateY(-4px); }
.service-topline { display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-family: "Courier New", monospace; font-size: .78rem; }
.service-topline i { font-family: Arial, Helvetica, sans-serif; font-size: 1.25rem; font-style: normal; }
.service-card h3 { margin: 4rem 0 1.2rem; font-size: 1.55rem; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.65; }
.service-card small { margin-top: auto; padding-top: 2rem; color: var(--teal); font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.systems-focus { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,7vw,7rem); align-items: start; margin-top: 4.5rem; padding: 3.5rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.46); }
.systems-focus h3 { max-width: 560px; margin: 0; font-size: clamp(1.9rem,3vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.systems-focus > div:last-child > p { margin: 0; color: var(--text); font-size: 1.03rem; line-height: 1.75; }
.system-tags { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.system-tags span { border: 1px solid rgba(21,88,214,.22); border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); padding: .55rem .9rem; font-size: .82rem; font-weight: 680; }
.systems-focus small { display: block; margin-top: 1.35rem; color: #74808b; font-size: .7rem; line-height: 1.5; }

.approach { background: var(--night); color: white; padding-block: clamp(5rem,8vw,7rem); }
.approach-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem,8vw,8rem); }
.eyebrow-light { color: #79c4c0; }
.approach-intro > p:last-child { max-width: 560px; margin: 1.8rem 0 0; color: #b8c3cf; font-size: 1.03rem; line-height: 1.75; }
.steps { border-top: 1px solid rgba(255,255,255,.16); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.step > span { padding-top: .3rem; color: #79c4c0; font-family: "Courier New", monospace; font-size: .75rem; }
.step h3 { margin: 0 0 .65rem; font-size: 1.45rem; }
.step p { max-width: 570px; margin: 0; color: #b8c3cf; line-height: 1.65; }
.home-contact-cta { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; margin-top: 1rem; padding-top: 4rem; border-top: 1px solid rgba(255,255,255,.16); }
.home-contact-cta h2 { max-width: 780px; font-size: clamp(2rem,3.4vw,3.5rem); }
.home-contact-cta > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.home-contact-cta > div:last-child p { margin: 0; color: #b8c3cf; line-height: 1.7; }
.contact-card { grid-column: 1 / -1; margin-top: 1rem; transform: translateY(4rem); border-radius: 1rem; background: var(--paper-soft); color: var(--ink); padding: clamp(2rem,4vw,4rem); box-shadow: 0 22px 50px rgba(0,0,0,.22); }
.contact-card h2 { max-width: 760px; font-size: clamp(2rem,3.5vw,3.6rem); }
.contact-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.contact-heading > p { margin: 0 0 .35rem; color: var(--text); line-height: 1.7; }
.forms-embed { margin-top: 2.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.forms-embed iframe { display: block; width: 100%; min-height: 1250px; border: 0; background: white; }
.forms-fallback { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1.25rem; }
.forms-fallback p { margin: 0; color: #66717c; font-size: .84rem; line-height: 1.55; }
.forms-fallback .button { flex: 0 0 auto; min-height: 46px; }
footer { background: var(--night-soft); color: #b8c3cf; padding: 3rem 0 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; font-size: .84rem; }

.contact-page { min-height: 100vh; background: linear-gradient(180deg,var(--paper) 0%,#eef3f7 100%); }
.contact-site-header { background: transparent; }
.back-link, .text-link { color: var(--blue); font-size: .9rem; font-weight: 650; }
.back-link:hover, .text-link:hover { color: var(--blue-dark); }
.contact-page-shell { width: min(100% - 3rem,1320px); margin: 0 auto; padding: clamp(4rem,7vw,7rem) 0 7rem; }
.contact-page-intro { max-width: 900px; margin-bottom: 3.5rem; }
.contact-page-intro > .text-link { display: none; margin-bottom: 2rem; }
.contact-page-intro h1 { max-width: 900px; font-size: clamp(3rem,5.7vw,5.6rem); }
.contact-page-intro > p:not(.eyebrow) { max-width: 700px; margin: 1.7rem 0 0; color: var(--text); font-size: 1.1rem; line-height: 1.75; }
.contact-notes { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; margin-top: 2.3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-notes p { margin: 0; color: var(--text); font-size: .88rem; font-weight: 620; }
.contact-notes span { margin-right: .5rem; color: var(--teal); font-family: "Courier New", monospace; font-size: .7rem; }
.standalone-contact-card { margin: 0; transform: none; }
.compact-contact-heading h2 { font-size: clamp(2rem,3vw,3.1rem); }
.contact-page-footer { padding-top: 2.5rem; }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy, .map-card { animation: rise-in 620ms both cubic-bezier(.22,1,.36,1); }
.map-automation { animation-delay: 80ms; } .map-integration { animation-delay: 150ms; } .map-data { animation-delay: 220ms; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 220px 1fr auto; gap: 1.5rem; }
  nav { gap: 1.25rem; }
  .hero { grid-template-columns: 1fr .85fr; }
  .solution-map { min-height: 530px; }
  .map-card { width: 58%; min-height: 210px; }
  .map-consulting { left: 0; } .map-automation { right: -15%; } .map-integration { left: -10%; } .map-data { right: 0; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 760px; }
  .solution-map { width: min(100%,720px); margin-inline: auto; }
  .benefit-strip { grid-template-columns: 1fr; padding-block: .8rem; }
  .benefit-strip p { justify-content: flex-start; padding-inline: 1.5rem; }
  .benefit-strip p + p { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading, .approach-inner, .contact-heading, .home-contact-cta, .systems-focus { grid-template-columns: 1fr; }
  .section-heading { gap: 2rem; } .approach-inner { gap: 4rem; }
}
@media (max-width: 620px) {
  .site-header, .hero, .section-shell { width: min(100% - 2rem,1320px); }
  .site-header { min-height: 76px; grid-template-columns: 1fr; }
  .brand { width: 205px; }
  .site-header > .button { display: none; }
  .hero { min-height: auto; gap: 2rem; padding: 3.25rem 0 2rem; }
  h1 { font-size: clamp(2.7rem,14vw,4rem); }
  .hero-actions { flex-direction: column; } .hero-actions .button { width: 100%; }
  .solution-map { display: grid; grid-template-columns: 1fr; gap: .9rem; min-height: auto; }
  .map-card { position: relative; inset: auto; width: 100%; min-height: 0; padding: 1.25rem; }
  .map-line, .map-dot, .strategy-mark, .automation-mark, .integration-mark, .chart-mark { display: none; }
  .map-card p { margin-top: .65rem; }
  .service-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .service-card { min-height: 300px; }
  .systems-focus { padding: 2rem 1.4rem; }
  .back-link { display: none; }
  .contact-page-intro > .text-link { display: inline-block; }
  .contact-page-shell { width: min(100% - 2rem,1320px); padding-top: 3rem; }
  .contact-notes { flex-direction: column; }
  .forms-embed iframe { min-height: 1450px; }
  .forms-fallback { align-items: stretch; flex-direction: column; }
  .forms-fallback .button { width: 100%; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.form-only-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #f3f2f1;
}

.form-back-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(16,28,44,.14);
  border-radius: .5rem;
  background: rgba(255,255,255,.94);
  color: var(--blue);
  padding: .65rem 1rem;
  box-shadow: 0 8px 24px rgba(16,28,44,.12);
  font-size: .86rem;
  font-weight: 680;
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.form-back-button:hover,
.form-back-button:focus-visible {
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16,28,44,.17);
}

.form-only-page iframe {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  border: 0;
  background: #f3f2f1;
}

@media (max-width: 620px) {
  .form-back-button {
    top: .65rem;
    right: .65rem;
    min-height: 38px;
    padding: .5rem .75rem;
    font-size: .78rem;
  }
}
