:root {
  --deep-blue: #0b3b8f;
  --bright-blue: #1683e5;
  --teal: #00c6a7;
  --charcoal: #17233a;
  --ink: #24324a;
  --muted: #65738a;
  --line: #e5e7eb;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(23, 35, 58, 0.11);
  --radius: 8px;
  --page-gutter: clamp(20px, 3vw, 72px);
  --content-container: 1180px;
  --wide-container: 1680px;
  --hero-container: 1680px;
  --hero-visual-height: clamp(560px, 32vw, 640px);
  --container: clamp(var(--content-container), calc(1180px + ((100vw - 1440px) * 1.1)), var(--wide-container));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

picture {
  display: contents;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 198, 167, 0.45);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.08;
  font-weight: 760;
}

h1 {
  max-width: 830px;
  font-size: clamp(2.45rem, 5vw, 5.3rem);
  letter-spacing: 0;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

p {
  color: var(--muted);
}

ul {
  padding-left: 1.1rem;
  margin: 0;
}

li {
  margin-bottom: 0.4rem;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.section-pad {
  padding: 78px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #40506a;
  font-size: 0.9rem;
  font-weight: 680;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--deep-blue);
  background: rgba(22, 131, 229, 0.09);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--charcoal);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lead {
  max-width: 680px;
  color: #4d5d73;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.72;
  margin-bottom: 0.85rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--deep-blue);
  box-shadow: 0 14px 28px rgba(11, 59, 143, 0.22);
}

.btn-primary:hover {
  background: #082f72;
}

.btn-secondary {
  color: var(--deep-blue);
  background: var(--white);
  border-color: rgba(11, 59, 143, 0.2);
}

.work-teaser .section-heading {
  max-width: 820px;
}

.work-teaser .btn {
  margin-top: 4px;
}

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

.dark-band {
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(0, 198, 167, 0.12), transparent 42%),
    var(--charcoal);
}

.dark-band h2,
.dark-band h3,
.dark-band .process-step span,
.inverse h2 {
  color: var(--white);
}

.dark-band p,
.dark-band li,
.large-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.philosophy p {
  font-size: 1.02rem;
}

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

.principle-list p {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(23, 35, 58, 0.05);
}

.strong-line {
  color: var(--charcoal);
  font-weight: 760;
}

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

.section-heading h2,
.split-section h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 2.7vw, 2.8rem);
  line-height: 1.12;
}

.section-heading p {
  max-width: 820px;
}

main > section {
  scroll-margin-top: 96px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.capability-card,
.detail-card,
.principle-card,
.work-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 35, 58, 0.06);
}

.capability-card {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 24px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  margin-bottom: 20px;
  border: 1px solid rgba(11, 59, 143, 0.14);
  border-radius: 15px;
  background: linear-gradient(135deg, #ffffff, rgba(22, 131, 229, 0.055));
  color: var(--bright-blue);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 22px rgba(23, 35, 58, 0.055);
}

.capability-icon-visual,
.detail-icon-visual {
  position: relative;
  width: 100%;
  height: 112px;
  margin-bottom: 22px;
  border: 1px solid rgba(11, 59, 143, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 35, 58, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 35, 58, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(22, 131, 229, 0.045), rgba(0, 198, 167, 0.035)),
    #f8fbff;
  background-size: 26px 26px, 26px 26px, auto, auto;
}

.capability-icon-visual span,
.detail-icon-visual span {
  position: absolute;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(23, 35, 58, 0.09);
}

.capability-icon-visual span:nth-child(1),
.detail-icon-visual span:nth-child(1) {
  left: 20px;
  top: 22px;
  width: 42%;
  height: 18px;
}

.capability-icon-visual span:nth-child(2),
.detail-icon-visual span:nth-child(2) {
  left: 20px;
  bottom: 24px;
  width: 64%;
  height: 20px;
}

.capability-icon-visual span:nth-child(3),
.detail-icon-visual span:nth-child(3) {
  right: 22px;
  top: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bright-blue), var(--teal));
  animation: subtle-pulse 3s ease-in-out infinite;
}

.visual-connected span:nth-child(1) {
  width: 34%;
}

.visual-connected span:nth-child(2) {
  width: 52%;
}

.visual-connected span:nth-child(3) {
  border-radius: 50%;
  background: var(--teal);
}

.visual-automation-small span:nth-child(1) {
  width: 50px;
  height: 50px;
  border: 7px solid var(--deep-blue);
  background: transparent;
  border-radius: 50%;
}

.visual-automation-small span:nth-child(2) {
  left: auto;
  right: 22px;
  width: 46%;
  background: var(--teal);
}

.visual-integrated span:nth-child(1) {
  width: 26%;
}

.visual-integrated span:nth-child(2) {
  width: 38%;
}

.visual-integrated span:nth-child(3) {
  width: 66px;
  height: 50px;
  background: linear-gradient(135deg, var(--deep-blue), var(--bright-blue));
}

.capability-card p,
.detail-card p,
.principle-card p,
.work-card p,
.case-study p {
  margin-bottom: 1rem;
}

.capability-card ul {
  color: var(--muted);
  font-size: 0.92rem;
}

.connection-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(11, 59, 143, 0.12);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: rgba(245, 248, 252, 0.72);
  font-weight: 720;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.process-step {
  position: relative;
  padding-top: 62px;
}

.process-step span {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #1e2d49;
  color: var(--teal);
  font-weight: 820;
  font-size: 1.12rem;
}

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

.work-card {
  overflow: hidden;
}

.work-content {
  padding: 22px;
}

.work-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.work-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(11, 59, 143, 0.12);
  border-radius: 999px;
  color: var(--deep-blue);
  background: rgba(22, 131, 229, 0.06);
  font-size: 0.78rem;
  font-weight: 760;
}

.project-visual {
  min-height: 185px;
  position: relative;
  overflow: hidden;
  background: #eff5fb;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(11, 59, 143, 0.14);
  border-radius: var(--radius);
}

.project-visual span {
  position: absolute;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(23, 35, 58, 0.1);
}

.visual-workshop span:nth-child(1) {
  left: 38px;
  top: 42px;
  width: 44%;
  height: 34px;
}

.visual-workshop span:nth-child(2) {
  left: 38px;
  top: 94px;
  width: 62%;
  height: 28px;
}

.visual-workshop span:nth-child(3) {
  right: 38px;
  bottom: 38px;
  width: 34%;
  height: 54px;
  background: linear-gradient(135deg, var(--bright-blue), var(--teal));
}

.visual-solar {
  background: linear-gradient(135deg, #eff8ff, #f4fbf4);
}

.visual-solar span:nth-child(1) {
  left: 36px;
  bottom: 36px;
  width: 70%;
  height: 26px;
  transform: skewX(-18deg);
}

.visual-solar span:nth-child(2) {
  left: 68px;
  top: 52px;
  width: 34%;
  height: 34%;
  background: linear-gradient(135deg, #ffda75, #fff0bc);
  border-radius: 50%;
}

.visual-solar span:nth-child(3) {
  right: 42px;
  bottom: 76px;
  width: 34%;
  height: 54px;
  background: var(--deep-blue);
}

.visual-automation {
  background: linear-gradient(135deg, #f3f7fb, #eefbf8);
}

.visual-automation span:nth-child(1) {
  left: 42px;
  top: 48px;
  width: 88px;
  height: 88px;
  border: 8px solid var(--deep-blue);
  background: transparent;
  border-radius: 50%;
}

.visual-automation span:nth-child(2) {
  right: 48px;
  top: 46px;
  width: 38%;
  height: 28px;
  background: var(--teal);
}

.visual-automation span:nth-child(3) {
  right: 48px;
  bottom: 48px;
  width: 46%;
  height: 58px;
}

.text-link {
  color: var(--deep-blue);
  font-weight: 780;
}

.text-link:hover {
  text-decoration: underline;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

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

.principle-card {
  padding: 22px;
}

.principle-grid .principle-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.about-snapshot {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(11, 59, 143, 0.05), transparent 46%),
    var(--white);
}

.about-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 35, 58, 0.06);
}

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

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

.cta-box {
  padding: 48px 52px;
  border-radius: 16px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 198, 167, 0.2), transparent 44%),
    var(--deep-blue);
}

.cta-box h2,
.cta-box p,
.cta-box .eyebrow {
  color: var(--white);
}

.cta-box p {
  max-width: 760px;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(11, 59, 143, 0.08), rgba(0, 198, 167, 0.06)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.65rem);
}

.capability-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-card {
  padding: 34px;
}

.check-list {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
}

.large-copy p {
  font-size: 1.08rem;
}

.case-study-stack {
  display: grid;
  gap: 34px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 35, 58, 0.06);
}

.case-study .project-visual {
  min-height: 100%;
}

.case-content {
  padding: 34px;
}

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

.case-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.case-grid h3 {
  font-size: 0.93rem;
}

.case-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(11, 59, 143, 0.14);
  border-radius: 999px;
  color: var(--deep-blue);
  background: rgba(22, 131, 229, 0.07);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer {
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #10192a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 0.7fr 0.8fr;
  gap: 46px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-capabilities {
  color: var(--white);
  font-weight: 760;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-contact p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

/* Reveal is progressive enhancement: content remains visible if JavaScript fails. */
.reveal {
  opacity: 1;
  transform: none;
}

html.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

html.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes subtle-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

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

  html.reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 2200px) {
  :root {
    --page-gutter: 96px;
    --container: 1760px;
    --hero-container: 1840px;
  }
}

@media (max-width: 1060px) {
  .four-col,
  .work-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line::before {
    display: none;
  }

  .split-section,
  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study .project-visual {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
  }

  .container {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  }

  .section-pad {
    padding: 70px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 184px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: var(--radius);
    justify-content: center;
  }

  .four-col,
  .work-grid,
  .process-line,
  .principle-grid,
  .capability-detail-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 34px 24px;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .principle-grid .principle-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.22rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .brand img {
    width: 168px;
  }

  .capability-card,
  .detail-card,
  .contact-panel,
  .case-content {
    padding: 24px;
  }

  .project-visual {
    min-height: 190px;
  }
}
