:root {
  color-scheme: light;
  --ink: #12242c;
  --muted: #5d6b70;
  --line: #d8e0e3;
  --surface: #ffffff;
  --surface-strong: #f4f8f9;
  --white: #ffffff;
  --accent: #0d4b60;
  --accent-dark: #073443;
  --accent-light: #e8f3f6;
  --brick: #123f50;
  --shadow: 0 18px 46px rgba(13, 75, 96, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  width: 52px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(13, 75, 96, 0.26);
  border-radius: 8px;
  background: var(--accent-light);
}

.brand-mark span {
  min-width: 0;
  border-radius: 2px;
  background: var(--accent);
}

.brand-mark span:nth-child(1) {
  grid-column: span 2;
}

.brand-mark span:nth-child(2) {
  grid-column: span 2;
  background: var(--brick);
}

.brand-mark span:nth-child(3) {
  grid-column: span 1;
  background: var(--brick);
}

.brand-mark span:nth-child(4) {
  grid-column: span 3;
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

nav {
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  padding: 84px 0 88px;
}

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(13, 75, 96, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.intro-band {
  background: var(--accent-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  color: var(--accent-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
}

.services,
.experience,
.clients,
.contact-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.services {
  padding: 72px 0 38px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.service-card p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 54px;
  padding: 46px 0 68px;
  border-top: 1px solid var(--line);
}

.experience .section-heading {
  margin-bottom: 0;
}

.experience-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.clients {
  padding: 12px 0 76px;
}

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

.logo-wall div {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent-dark);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 56px;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 620px;
}

.email-card {
  display: grid;
  gap: 8px;
  width: fit-content;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--white);
  background: var(--accent);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(13, 75, 96, 0.22);
}

.email-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.contact-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero,
  .experience,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

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

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

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    align-items: flex-start;
    width: min(100% - 28px, 1120px);
  }

  nav {
    gap: 14px;
    padding-top: 12px;
  }

  .brand-text small {
    display: none;
  }

  .hero,
  .services,
  .experience,
  .clients,
  .contact-section,
  footer,
  .intro-band p {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

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

  .button {
    width: 100%;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }
}
