:root {
  --navy: #071a3a;
  --ink: #0d1630;
  --blue: #122f61;
  --cyan: #1bb7d4;
  --aqua: #5ee7f2;
  --paper: #f7fbff;
  --mist: #e9f3f8;
  --line: rgba(7, 26, 58, 0.14);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(7, 26, 58, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--cyan);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(190px, 24vw, 300px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.button,
.nav-cta,
button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(7, 26, 58, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7, 26, 58, 0.82), rgba(18, 47, 97, 0.52) 52%, rgba(27, 183, 212, 0.26)),
    url("assets/brand-preview.jpg") center / cover;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 58, 0.72));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) 0 54px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-actions .secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.2);
}

.stat {
  padding: 20px;
  background: rgba(7, 26, 58, 0.58);
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.stat span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.feature-strip,
.process-section {
  background: linear-gradient(135deg, #ffffff, #eef8fb);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.page-title h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: 0;
}

.section-heading p,
.page-title p {
  line-height: 1.7;
  font-size: 1.08rem;
  color: #526078;
}

.dark .section-heading p,
.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-strip .manifesto-item {
  border-top-color: var(--line);
}

.feature-strip .manifesto-item strong {
  color: var(--cyan);
}

.feature-strip p,
.process-section p {
  color: #526078;
}

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

.service {
  min-height: 360px;
  padding: 30px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-number,
.step-number {
  color: var(--cyan);
  font-weight: 950;
  font-size: 0.9rem;
}

.service h3,
.work-card h3,
.step h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  margin: 12px 0 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.pill {
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 48px;
  align-items: center;
}

.brand-panel {
  min-height: 520px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(233, 243, 248, 0.94)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.brand-panel img {
  width: min(420px, 80%);
  background: var(--white);
  padding: 22px;
  border-radius: 6px;
}

.manifesto-list {
  display: grid;
  gap: 22px;
}

.manifesto-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.manifesto-item strong {
  color: var(--aqua);
}

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

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

.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.showcase-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(7, 26, 58, 0.14);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.work-card .content {
  padding: 24px;
}

.showcase-card .content span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-card p,
.service p,
.step p,
.contact-card p,
.policy p,
.policy li {
  line-height: 1.68;
  color: #526078;
}

.image-services {
  padding-top: 0;
}

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

.image-service-grid article {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 26, 58, 0.08), rgba(7, 26, 58, 0.86)),
    var(--image) center / cover;
}

.image-service-grid h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0 0 12px;
}

.image-service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

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

.step {
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
}

.cta-band {
  background:
    linear-gradient(100deg, rgba(7, 26, 58, 0.78), rgba(27, 183, 212, 0.5)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: var(--white);
  padding: clamp(58px, 8vw, 92px) 0;
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 0;
}

.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: 54px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  gap: 30px;
}

.footer-logo {
  width: 240px;
  background: var(--white);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.footer-grid a {
  display: block;
  color: #526078;
  text-decoration: none;
  margin: 8px 0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
}

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #6f7890;
  font-size: 0.9rem;
}

.page-title {
  padding: clamp(64px, 11vw, 132px) 0 clamp(38px, 7vw, 80px);
  background: linear-gradient(135deg, var(--paper), var(--mist));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.45fr);
  gap: 34px;
  align-items: start;
}

.contact-form,
.contact-card,
.policy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  min-height: 48px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  color: var(--blue);
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-card a {
  font-weight: 900;
  color: var(--blue);
  text-decoration-thickness: 2px;
}

.policy {
  max-width: 900px;
}

.policy h2 {
  margin-top: 32px;
  font-size: 1.6rem;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 680px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.55;
  color: #526078;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.small-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.small-button.light {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    padding: 24px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .section-heading,
  .split,
  .contact-layout,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .services,
  .work-grid,
  .showcase-grid,
  .image-service-grid,
  .process,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .service,
  .step {
    min-height: auto;
  }

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

  .brand-panel {
    min-height: 360px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 172px;
  }

  .hero-inner,
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .button {
    width: 100%;
  }
}
