:root {
  --ink: #17202a;
  --muted: #5d6a78;
  --soft: #eef3f4;
  --paper: #ffffff;
  --line: #dbe4e8;
  --deep: #10232b;
  --deep-2: #18313a;
  --teal: #1e7a86;
  --teal-2: #dff0f2;
  --copper: #b96b3c;
  --copper-2: #f6ece5;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(16, 35, 43, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 228, 232, .85);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 0;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.brand span {
  font-size: .78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #31414e;
  font-size: .93rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal);
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--deep);
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--teal);
  text-align: center;
  white-space: normal;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .52);
}

.button.light {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}

.button.outline {
  background: transparent;
  color: var(--deep);
  border-color: #b9c8ce;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: stretch;
  background: var(--deep);
  color: #fff;
}

.hero-media {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 35, 43, .96) 0%, rgba(16, 35, 43, .82) 46%, rgba(16, 35, 43, .25) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #83d4dd;
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .1em;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-lead {
  max-width: 710px;
  color: #dae7eb;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  margin: 26px 0 0;
  overflow-wrap: anywhere;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
  max-width: 880px;
}

.proof-item {
  border-left: 3px solid var(--copper);
  padding: 10px 0 10px 14px;
}

.proof-item strong {
  display: block;
  font-size: 1.2rem;
}

.proof-item span {
  display: block;
  color: #c4d2d7;
  font-size: .88rem;
}

.section {
  padding: 92px 24px;
}

.section.compact {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section.soft {
  background: #f6f8f8;
}

.section.deep {
  background: var(--deep);
  color: #fff;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--deep);
}

.deep .section-head h2 {
  color: #fff;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.deep .section-head p {
  color: #c5d4da;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card.featured {
  background: var(--deep-2);
  color: #fff;
  border-color: var(--deep-2);
}

.service-card h3 {
  font-size: 1.22rem;
}

.service-card p,
.service-card li {
  color: var(--muted);
}

.service-card.featured p,
.service-card.featured li {
  color: #d7e3e7;
}

.service-card ul {
  margin: auto 0 0;
  padding-left: 18px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-2);
  color: var(--teal);
  font-weight: 900;
}

.service-card.featured .mark {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.image-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.text-stack {
  display: grid;
  gap: 20px;
}

.text-stack h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--deep);
}

.text-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.credentials {
  display: grid;
  gap: 14px;
}

.credential {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.credential strong {
  display: block;
  color: var(--deep);
}

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

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

.audience {
  border-top: 4px solid var(--copper);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(16, 35, 43, .08);
}

.audience h3 {
  margin-bottom: 10px;
}

.audience p {
  color: var(--muted);
  margin: 0;
}

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

.step {
  counter-increment: step;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.step::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--copper-2);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.timeline summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-weight: 900;
  color: var(--deep);
}

.timeline summary::-webkit-details-marker {
  display: none;
}

.timeline summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.3rem;
}

.timeline details[open] summary::after {
  content: "-";
}

.timeline .detail {
  padding: 0 22px 22px;
  color: var(--muted);
}

.timeline .detail p {
  margin-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}

.gallery-main,
.gallery-side {
  display: grid;
  gap: 18px;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--soft);
}

.gallery-main img {
  height: 560px;
}

.gallery-side img {
  height: 271px;
}

.contact-band {
  background: var(--deep);
  color: #fff;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.contact-box h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-box p {
  max-width: 720px;
  color: #cad9de;
  margin: 14px 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 36px 24px;
  background: #0b171d;
  color: #aebec5;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: .92rem;
}

.footer-inner strong {
  color: #fff;
}

.page-hero {
  background: var(--deep);
  color: #fff;
  padding: 92px 24px;
}

.page-hero .wrap {
  max-width: 900px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-hero p {
  color: #cbdce1;
  font-size: 1.18rem;
  margin: 24px 0 0;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: flex-start;
  }

  .nav,
  .nav-links {
    flex-direction: column;
  }

  .nav-links {
    align-items: flex-start;
    gap: 12px;
  }

  .hero,
  .hero-media {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-proof,
  .service-grid,
  .audience-grid,
  .process,
  .split,
  .split.reverse,
  .gallery,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .image-panel img,
  .gallery-main img,
  .gallery-side img {
    height: auto;
    max-height: 520px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section,
  .page-hero {
    padding: 64px 18px;
  }

  .nav,
  .hero-inner,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    width: 100%;
    max-width: 390px;
    margin-left: 0;
  }

  .hero-inner > * {
    max-width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .eyebrow {
    font-size: .72rem;
    overflow-wrap: anywhere;
  }

  .button,
  .nav-cta {
    width: 100%;
    display: flex;
    padding-left: 14px;
    padding-right: 14px;
  }
}
