:root {
  --ink: #17212d;
  --muted: #687586;
  --soft: #f5f9fc;
  --paper: #ffffff;
  --line: #dce7ef;
  --brand: #0098d7;
  --brand-strong: #006f9e;
  --sun: #f4b23f;
  --leaf: #2f9e66;
  --deep: #111923;
  --mist: #eaf7fc;
  --lavender: #eef0ff;
  --shadow: 0 22px 60px rgba(26, 44, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(0, 152, 215, 0.12), transparent 26rem),
    radial-gradient(circle at 8% 26%, rgba(244, 178, 63, 0.12), transparent 22rem),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fb 42%, #fff 100%);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px 9px 16px;
  border: 1px solid rgba(214, 229, 239, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 54px rgba(24, 43, 61, 0.14);
}

.brand-lockup {
  display: grid;
  align-items: center;
  width: 184px;
  height: 42px;
}

.brand-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand-strong);
  background: linear-gradient(135deg, var(--mist), #f7fbff);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 144px max(24px, calc((100vw - 1180px) / 2)) 48px;
  color: #fff;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.93) 0%, rgba(10, 16, 24, 0.74) 44%, rgba(10, 16, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 16, 24, 0.84) 0%, transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #8bdcff;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.6vw, 6.55rem);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #3457e8);
  color: #fff;
  box-shadow: 0 16px 44px rgba(0, 152, 215, 0.34);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-icon,
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 820px;
  margin-top: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-proof span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
}

.intro-section,
.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 252, 0.96)),
    radial-gradient(circle at 92% 10%, rgba(0, 152, 215, 0.09), transparent 22rem);
}

.section-header {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-header p:last-child {
  max-width: 720px;
  font-size: 1.03rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 56px;
  align-items: center;
}

.mission-panel {
  max-width: 760px;
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.mission-panel strong {
  display: block;
  margin-bottom: 8px;
}

.mission-panel p {
  margin-bottom: 0;
}

.image-feature {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.image-feature img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  filter: saturate(1.04);
}

.image-feature figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 252, 0.9), transparent 48%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(29, 45, 62, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 152, 215, 0.5);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  color: var(--brand);
}

.work-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(0, 152, 215, 0.18), transparent 26rem),
    linear-gradient(180deg, #101822 0%, #111923 100%);
  color: #fff;
}

.work-section p {
  color: #bdc7d3;
}

.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: end;
}

.active-work {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 152, 215, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.active-work span,
.work-card span {
  display: block;
  margin-bottom: 8px;
  color: #8bdcff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.active-work strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.active-work p {
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.work-card {
  position: relative;
  grid-column: span 2;
  min-height: 310px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  text-align: left;
  background: #111c27;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.work-card:nth-child(1),
.work-card:nth-child(3) {
  grid-column: span 3;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  transition: transform 260ms ease;
  transform-origin: center;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 12, 17, 0.88), rgba(8, 12, 17, 0.08) 68%),
    linear-gradient(135deg, rgba(0, 152, 215, 0.18), transparent 42%);
}

.work-card span,
.work-card strong {
  position: relative;
  z-index: 1;
}

.work-card strong {
  display: block;
  margin-top: 220px;
  font-size: 1.45rem;
}

.work-card:hover,
.work-card.is-active {
  transform: translateY(-5px);
  border-color: rgba(139, 220, 255, 0.72);
}

.work-card:hover img,
.work-card.is-active img {
  transform: scale(1.05);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(29, 45, 62, 0.06);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: #eaf7fc;
  color: var(--brand-strong);
  font-weight: 800;
}

.client-section {
  background: #fff;
}

.segment-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.segment-strip span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  box-shadow: 0 8px 24px rgba(29, 45, 62, 0.05);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.contact-section {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 122px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  overflow: hidden;
}

.contact-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.92), rgba(9, 15, 22, 0.62), rgba(9, 15, 22, 0.28)),
    radial-gradient(circle at 22% 30%, rgba(0, 152, 215, 0.28), transparent 26rem);
}

.contact-panel {
  width: min(780px, 100%);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: #fff;
}

.contact-details a {
  width: fit-content;
  color: #8bdcff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  background: var(--deep);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav {
    padding-bottom: 2px;
  }

  .hero-proof,
  .service-grid,
  .process-list,
  .segment-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .work-heading {
    grid-template-columns: 1fr;
  }

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

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(3) {
    grid-column: span 1;
  }
}

@media (max-width: 660px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 8px;
  }

  .brand-lockup {
    width: 158px;
  }

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

  .hero {
    min-height: 92vh;
    padding-top: 154px;
  }

  .hero-inner,
  .hero-proof {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.6vw, 3.55rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .hero-proof,
  .service-grid,
  .work-grid,
  .process-list,
  .segment-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-proof span {
    min-height: 54px;
    padding: 10px;
    font-size: 0.86rem;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .service-card .icon,
  .process-list span {
    margin-bottom: 24px;
  }

  .active-work {
    display: none;
  }

  .work-card {
    min-height: 260px;
  }

  .work-card strong {
    margin-top: 174px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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