:root {
  --navy: #243044;
  --deep: #3b4d66;
  --blue: #3c7dd9;
  --teal: #2f9b8f;
  --coral: #c96f53;
  --ink: #202938;
  --muted: #697487;
  --line: #e2dfd7;
  --soft: #f8f6f0;
  --paper: #fffdf8;
  --sand: #eee7da;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(68, 73, 82, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(226, 223, 215, 0.32) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(226, 223, 215, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min-content;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.15;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 720;
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--coral);
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: 72px clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(248, 246, 240, 0.94), rgba(255, 253, 248, 0.86)),
    var(--paper);
}

.hero-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  margin-bottom: 42px;
}

.hero-statement .eyebrow,
.hero-statement h1 {
  grid-column: 1;
}

.hero-statement .lead,
.hero-statement .hero-actions {
  grid-column: 2;
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: 34px;
  width: min(36vw, 420px);
  height: 1px;
  content: "";
  background: var(--coral);
  opacity: 0.55;
  transform-origin: right;
  animation: lineDraw 900ms ease both;
}

.hero-copy,
.section-heading,
.page-hero > *,
.service-card,
.feature-grid article,
.service-detail,
.contact-copy,
.contact-card,
.capability-list,
.value-list {
  animation: riseIn 680ms ease both;
}

.hero h1,
.page-hero h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero .lead,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 820;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

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

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(36, 48, 68, 0.16);
}

.button-primary:hover {
  background: var(--coral);
}

.button-secondary {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.system-visual {
  position: relative;
  min-height: 600px;
  animation: riseIn 760ms ease 120ms both;
}

.editorial-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 18px;
  align-items: stretch;
}

.visual-photo,
.inline-photo,
.media-stack img,
.service-card img,
.feature-grid img,
.service-detail img {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  filter: saturate(0.72) contrast(1.02);
  transition: transform 360ms ease, filter 360ms ease, box-shadow 360ms ease;
}

.hero-photo {
  position: relative;
  inset: auto;
  grid-row: 1 / span 3;
  width: 100%;
  height: 600px;
  box-shadow: 18px 18px 0 var(--sand);
  animation: imageReveal 900ms ease both;
}

.visual-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.main-panel {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 250px;
  padding: 28px;
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
  animation: settleIn 700ms ease both;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-panel strong {
  display: block;
  max-width: 320px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}

.progress-lines {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.progress-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
  transform-origin: left;
  animation: barGrow 900ms ease both;
}

.progress-lines span::after {
  position: absolute;
  inset: 0;
  display: block;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-120%);
  animation: softSweep 3.8s ease-in-out infinite;
}

.progress-lines span:nth-child(1) {
  width: 84%;
}

.progress-lines span:nth-child(2) {
  width: 66%;
  background: rgba(0, 169, 143, 0.42);
}

.progress-lines span:nth-child(3) {
  width: 74%;
  background: rgba(240, 106, 77, 0.36);
}

.floating-panel {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px;
  animation: settleIn 700ms ease both;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.floating-panel:hover {
  border-color: rgba(201, 111, 83, 0.48);
  box-shadow: 8px 8px 0 var(--sand);
  transform: translate(-3px, -3px);
}

.floating-panel b {
  color: var(--navy);
  font-size: 1.05rem;
}

.floating-panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-web {
  top: auto;
  left: auto;
}

.panel-mobile {
  right: auto;
  bottom: auto;
}

.panel-cloud {
  left: auto;
  bottom: auto;
}

.section {
  padding: 82px clamp(20px, 5vw, 72px);
}

.band {
  background: rgba(238, 231, 218, 0.55);
  border-block: 1px solid var(--line);
}

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

.service-editorial .section-heading,
.capability-editorial .section-heading,
.focus-editorial .section-heading {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.service-editorial .section-heading .eyebrow,
.capability-editorial .section-heading .eyebrow,
.focus-editorial .section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2,
.split h2,
.contact-copy h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.card-grid,
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-card,
.feature-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: none;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 80px minmax(0, 0.66fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  min-height: 0;
  padding: 28px 0;
  border-width: 0 0 1px;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.service-card:hover,
.feature-grid article:hover,
.service-detail:hover {
  border-color: rgba(201, 111, 83, 0.58);
  box-shadow: none;
  transform: translateX(6px);
}

.service-card:hover img,
.feature-grid article:hover img,
.service-detail:hover img,
.media-stack:hover img,
.rich-copy:hover .inline-photo,
.contact-copy:hover .inline-photo {
  filter: saturate(0.88) contrast(1.06);
  transform: scale(1.015);
}

.service-card img,
.feature-grid img {
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}

.service-card h3,
.service-card p,
.service-card .card-accent {
  margin-left: 0;
  margin-right: 0;
}

.card-accent {
  display: block;
  width: 1px;
  height: 100%;
  min-height: 120px;
  margin-bottom: 0;
  border-radius: 0;
}

.service-card h3,
.service-card p {
  grid-column: 3;
}

.card-accent.blue {
  background: var(--navy);
}

.card-accent.green {
  background: var(--teal);
}

.card-accent.coral {
  background: var(--coral);
}

.service-card h3,
.feature-grid h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p,
.feature-grid p,
.split p,
.rich-copy p,
.contact-copy p {
  color: var(--muted);
}

.split,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.step-list {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.media-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(220px, 0.46fr);
  gap: 16px;
  align-items: stretch;
}

.media-stack img,
.inline-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
  box-shadow: 0 14px 34px rgba(16, 36, 63, 0.09);
}

.process-editorial .split {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
}

.process-copy {
  display: grid;
  align-content: space-between;
  min-height: 520px;
}

.inline-photo {
  margin-bottom: 22px;
}

.step-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

.step-row:hover {
  background: var(--white);
  border-color: rgba(201, 111, 83, 0.46);
  transform: translateX(5px);
}

.step-row span,
.service-detail > span {
  color: var(--coral);
  font-weight: 900;
}

.capability-list,
.value-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-list span,
.value-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--navy);
  background: var(--paper);
  border: 0;
  border-radius: 0;
  font-weight: 750;
  transition: background 190ms ease, color 190ms ease, transform 190ms ease;
}

.capability-list span:hover,
.value-list span:hover {
  color: var(--paper);
  background: var(--navy);
  transform: translateY(-2px);
}

.page-hero {
  position: relative;
  padding: 88px clamp(20px, 5vw, 72px) 76px;
  background:
    linear-gradient(120deg, rgba(238, 231, 218, 0.76), rgba(255, 253, 248, 0.92)),
    var(--soft);
}

.contact-hero {
  background:
    linear-gradient(120deg, rgba(238, 231, 218, 0.82), rgba(255, 253, 248, 0.94)),
    var(--paper);
}

.rich-copy p {
  font-size: 1.05rem;
}

.feature-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(18px, 4vw, 46px);
  min-height: 0;
  padding: 28px 0;
  border-width: 0 0 1px;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.feature-grid h3,
.feature-grid p {
  margin-left: 0;
  margin-right: 0;
  grid-column: 2;
}

.profile-editorial .two-column {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
}

.profile-editorial .inline-photo,
.contact-editorial .inline-photo {
  min-height: 360px;
  height: auto;
  aspect-ratio: 16 / 8;
}

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

.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.service-detail img {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.contact-editorial {
  grid-template-columns: minmax(0, 0.64fr) minmax(280px, 0.36fr);
  align-items: stretch;
}

.service-detail h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.service-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--navy);
  background-size: 54px 54px;
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
}

.cta-section p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .button {
  margin-top: 20px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 30px;
  font-style: normal;
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.contact-card:hover {
  border-color: rgba(201, 111, 83, 0.5);
  box-shadow: 10px 10px 0 var(--sand);
  transform: translate(-3px, -3px);
}

.contact-card strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.contact-card span {
  color: var(--muted);
}

.contact-card a {
  margin-top: 12px;
  color: var(--blue);
  font-weight: 820;
  overflow-wrap: anywhere;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes settleIn {
  0% {
    opacity: 0;
    transform: translate(10px, 10px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes imageReveal {
  from {
    opacity: 0;
    clip-path: inset(0 18% 0 0);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes lineDraw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0.2);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes softSweep {
  0% {
    transform: translateX(-120%);
  }
  42%,
  100% {
    transform: translateX(120%);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #243044;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer address {
  display: grid;
  gap: 6px;
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: #f1c2b1;
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .split,
  .two-column,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

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

  .card-grid,
  .feature-grid,
  .service-list,
  .capability-list,
  .value-list,
  .hero-statement,
  .editorial-visual,
  .media-stack,
  .service-editorial .section-heading,
  .capability-editorial .section-heading,
  .focus-editorial .section-heading {
    grid-template-columns: 1fr;
  }

  .service-card,
  .feature-grid article {
    grid-template-columns: 1fr;
  }

  .service-card h3,
  .service-card p,
  .feature-grid h3,
  .feature-grid p {
    grid-column: auto;
  }

  .card-accent {
    width: 46px;
    height: 6px;
    min-height: 0;
  }

  .process-copy {
    min-height: auto;
  }

  .media-stack img,
  .inline-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .cta-section {
    display: grid;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 0.82rem;
  }

  .nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.18rem, 12vw, 3.2rem);
  }

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

  .system-visual {
    display: grid;
    gap: 14px;
  }

  .main-panel {
    min-height: 280px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .step-row {
    grid-template-columns: 1fr;
  }
}

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