:root {
  --bg-deep: #083542;
  --bg-deeper: #062a35;
  --bg-soft: #dcebef;
  --bg-ivory: #f6f4ef;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --text-main: #08232d;
  --text-muted: #5f7680;
  --text-light: #e6f4f8;
  --line: rgba(8, 53, 66, 0.12);
  --accent: #0ea7c6;
  --accent-strong: #087c9a;
  --shadow: 0 18px 45px rgba(5, 33, 41, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(14, 167, 198, 0.14), transparent 32%),
    linear-gradient(180deg, #eff6f7 0%, #f8fbfb 100%);
}

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

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

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 18px auto 24px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 35, 44, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(3, 24, 30, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand span {
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(235, 247, 250, 0.88);
  font-size: 0.95rem;
}

.site-nav a,
.nav-cta,
.button,
.service-card,
.metric-card,
.project-card,
.process-card,
.note-card,
.capability-item,
.section-link {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    opacity 220ms ease;
}

.site-nav a:hover,
.section-link:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 33, 41, 0.16);
}

.hero-section {
  display: block;
  min-height: 760px;
  padding: 38px 42px 28px;
  margin-top: 18px;
  border-radius: 42px;
  overflow: hidden;
  color: var(--text-light);
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 34, 42, 0.92) 0%, rgba(4, 45, 56, 0.8) 42%, rgba(4, 36, 44, 0.38) 68%, rgba(4, 31, 38, 0.52) 100%),
    radial-gradient(circle at right top, rgba(14, 167, 198, 0.15), transparent 34%);
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -6% -110px 22%;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy,
.floating-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a7dbe6;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(230, 244, 248, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #22c5da 100%);
}

.button-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 150px;
}

.metric-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.metric-card:hover,
.service-card:hover,
.project-card:hover,
.process-card:hover,
.note-card:hover,
.capability-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.metric-card strong,
.service-card h3,
.capability-item h3,
.project-copy h3,
.process-card h3,
.note-card h3 {
  display: block;
  font-family: "Manrope", sans-serif;
}

.metric-card span,
.service-card p,
.capability-item p,
.project-copy p,
.process-card p,
.note-card p,
.about-copy p,
.section-heading p {
  line-height: 1.7;
}

.floating-panel {
  position: absolute;
  right: 42px;
  bottom: 28px;
  width: min(440px, calc(100% - 84px));
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(4, 25, 31, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.section {
  margin-top: 22px;
  border-radius: 38px;
  padding: 36px;
}

.section-light {
  background: var(--bg-ivory);
}

.section-accent {
  background: linear-gradient(180deg, #d9e8ed 0%, #cce0e6 100%);
}

.section-deep {
  background:
    radial-gradient(circle at left top, rgba(14, 167, 198, 0.16), transparent 30%),
    linear-gradient(180deg, #093644 0%, #072a35 100%);
  color: var(--text-light);
}

.section-heading {
  display: block;
  margin-bottom: 26px;
}

.section-heading.narrow {
  display: block;
  max-width: 740px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-label {
  display: block;
  margin: 0 0 12px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section-link:hover {
  background: white;
}

.section-heading .section-link {
  display: none;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.process-card,
.note-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--card-strong);
  border: 1px solid var(--line);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: rgba(14, 167, 198, 0.11);
  color: var(--accent-strong);
  font-weight: 800;
}

.capability-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-item {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(8, 53, 66, 0.08);
}

.capability-visual {
  position: relative;
  min-height: 300px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 44, 54, 0.94), rgba(8, 53, 66, 1));
}

.capability-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 27, 33, 0.08), rgba(4, 27, 33, 0.18)),
    radial-gradient(circle at center, rgba(14, 167, 198, 0.08), transparent 42%);
}

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

.project-card {
  overflow: hidden;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
  min-height: 240px;
}

.project-image {
  min-height: 240px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.project-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.process-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fa 100%);
}

.process-card strong {
  color: var(--accent-strong);
  font-size: 1.5rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.about-copy p {
  max-width: 720px;
  color: rgba(230, 244, 248, 0.86);
}

.about-notes {
  display: grid;
  gap: 16px;
}

.about-notes .note-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.about-notes .note-card p {
  color: rgba(230, 244, 248, 0.8);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 12px 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  font-family: "Manrope", sans-serif;
}

.footer-brand p,
.copyright {
  margin: 4px 0 0;
  color: var(--text-muted);
}

body[data-scrolled="true"] .site-header {
  background: rgba(5, 35, 44, 0.84);
}

.banner-background {
  position: absolute;
  inset: 0;
}

.banner-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-dark-banner {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
}

.section-dark-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 42, 53, 0.62), rgba(6, 42, 53, 0.8)),
    radial-gradient(circle at center, rgba(14, 167, 198, 0.12), transparent 40%);
  z-index: 1;
}

.section-dark-banner .eyebrow,
.section-dark-banner h2 {
  position: relative;
  z-index: 2;
  color: white;
}

.section-dark-banner .eyebrow {
  margin-bottom: 14px;
}

.section-dark-banner h2 {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

@media (max-width: 1080px) {
  .site-header,
  .capability-layout,
  .about-layout,
  .section-heading,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .service-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    margin-top: 10px;
  }

  .site-header,
  .hero-section,
  .section,
  .section-dark-banner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .brand span {
    font-size: 0.8rem;
  }

  .hero-section,
  .service-grid,
  .process-grid,
  .project-grid,
  .capability-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 126px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 1.8rem;
  }

  .section-dark-banner h2 {
    font-size: 1.8rem;
  }

  .site-footer {
    padding-bottom: 20px;
  }

  .floating-panel {
    left: 18px;
    right: 18px;
    width: auto;
  }
}
