: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(255, 255, 255, 0.94);
  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(180px, 22vw, 280px);
  height: auto;
  mix-blend-mode: multiply;
}

.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: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ffffff 0%, #eff8fc 48%, #d7edf5 100%);
  color: var(--ink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.26) 100%);
  z-index: 1;
}

.hero::after {
  right: 0;
  top: 0;
  bottom: 0;
  width: min(32vw, 420px);
  background:
    linear-gradient(180deg, rgba(27, 183, 212, 0.14), rgba(7, 26, 58, 0.04));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 10vh, 118px) 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy-panel {
  max-width: 820px;
}

.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: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.65;
  color: #44516a;
}

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

.hero-actions .secondary {
  color: var(--navy);
  border-color: var(--line);
}

.hero-showcase {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(7, 26, 58, 0.12);
  box-shadow: var(--shadow);
  background: var(--white);
}

.image-rail {
  display: flex;
  width: max-content;
  animation: imageRail 28s linear infinite;
}

.hero-showcase:hover .image-rail {
  animation-play-state: paused;
}

.image-rail figure {
  width: clamp(260px, 28vw, 390px);
  margin: 0;
  position: relative;
  flex: 0 0 auto;
  border-right: 1px solid rgba(255, 255, 255, 0.36);
}

.image-rail img {
  width: 100%;
  height: clamp(370px, 52vh, 560px);
  object-fit: cover;
}

.image-rail figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(7, 26, 58, 0.82);
  color: var(--white);
  font-weight: 900;
}

@keyframes imageRail {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-rail {
    animation: none;
  }
}

.stats-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

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

.stat span {
  color: #526078;
  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: 22px;
  letter-spacing: 0;
}

.page-title {
  min-height: 380px;
  display: grid;
  align-items: center;
}

.page-title h1 {
  max-width: 900px;
}

.page-title p {
  max-width: 720px;
}

.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;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.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;
}

.builder-email-note {
  margin: 14px 0 0;
  color: #526078;
  line-height: 1.6;
  font-size: 0.95rem;
}

.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;
}

.builder-hero {
  padding: clamp(82px, 12vw, 150px) 0 clamp(50px, 8vw, 86px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 26, 58, 0.86), rgba(18, 47, 97, 0.58)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=85") center / cover;
}

.builder-hero h1 {
  max-width: 900px;
}

.builder-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.7;
}

.builder-steps {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

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

.builder-steps article {
  background: var(--white);
  padding: 24px;
}

.builder-steps strong,
.status-pill {
  color: var(--cyan);
  font-weight: 950;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.builder-steps h2 {
  font-size: 1.35rem;
  margin: 10px 0 8px;
}

.builder-steps p {
  margin: 0;
  color: #526078;
  line-height: 1.6;
}

.domain-note {
  padding: 34px 0 0;
}

.domain-note .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.domain-note h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.domain-note p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: #526078;
  line-height: 1.65;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 26px;
  align-items: start;
}

.builder-form,
.builder-output,
.form-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.builder-form {
  padding: clamp(20px, 3vw, 30px);
}

.form-section {
  padding: clamp(18px, 3vw, 26px);
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.form-section h2,
.builder-output h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  margin-bottom: 20px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.checkbox-grid legend {
  padding: 0 8px;
  font-weight: 900;
}

.checkbox-grid label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #526078;
  font-weight: 800;
}

.builder-output {
  position: sticky;
  top: 104px;
  padding: clamp(20px, 3vw, 30px);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(27, 183, 212, 0.12);
}

.builder-output pre {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #071a3a;
  color: #d9f8ff;
  border-radius: 8px;
  padding: 18px;
  line-height: 1.5;
}

.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,
  .builder-layout,
  .hero-inner,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .services,
  .work-grid,
  .showcase-grid,
  .image-service-grid,
  .builder-steps .wrap,
  .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;
  }

  .domain-note .wrap {
    grid-template-columns: 1fr;
  }

  .builder-output {
    position: static;
  }

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

  .hero-showcase {
    order: 3;
  }

  .stats-strip {
    order: 2;
  }

  .image-rail img {
    height: 330px;
  }

  .checkbox-grid {
    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%;
  }
}
