:root {
  --ink: #102326;
  --muted: #58686b;
  --line: #dce7e6;
  --paper: #f7fbfa;
  --white: #ffffff;
  --navy: #071b33;
  --blue-deep: #123f78;
  --blue: #68a7ff;
  --blue-ink: #0b2b55;
  --gold: #d89b45;
  --shadow: 0 22px 70px rgba(16, 35, 38, 0.16);
}

* {
  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);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-solid,
.site-header.is-scrolled,
.mobile-nav.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(16, 35, 38, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand {
  position: relative;
  width: 142px;
  height: 54px;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.brand-logo-dark,
.site-header.is-solid .brand-logo-light,
.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
}

.site-header.is-solid .brand-logo-dark,
.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
}

.nav {
  gap: clamp(18px, 3vw, 36px);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-item {
  position: relative;
  padding: 26px 0;
}

.nav a,
.nav-item > a {
  opacity: 0.88;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 250px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(14px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  padding: 11px 12px;
  color: var(--ink);
  border-radius: 4px;
}

.nav-dropdown a:hover {
  color: var(--blue-ink);
  background: rgba(104, 167, 255, 0.14);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 76px;
  left: 0;
  right: 0;
  display: none;
  padding: 10px 24px 24px;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 138px 0 clamp(72px, 9vh, 118px);
  overflow: hidden;
  color: var(--white);
}

.page-hero {
  padding: 154px clamp(20px, 7vw, 96px) 78px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(104, 167, 255, 0.22), rgba(104, 167, 255, 0) 46%),
    var(--navy);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.9), rgba(9, 39, 76, 0.58) 44%, rgba(104, 167, 255, 0.1)),
    linear-gradient(180deg, rgba(7, 27, 51, 0.16), rgba(7, 27, 51, 0.78));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 4px;
  font-weight: 850;
}

.button.primary {
  color: var(--blue-ink);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(104, 167, 255, 0.74);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro {
  padding-bottom: clamp(34px, 5vw, 62px);
}

.services {
  padding-top: clamp(34px, 5vw, 62px);
}

.home-intro {
  padding-top: clamp(42px, 5vw, 66px);
  padding-bottom: clamp(28px, 4vw, 46px);
  align-items: center;
}

.services-preview {
  padding-top: clamp(28px, 4vw, 44px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-copy p,
.proof-text p {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.service-item {
  min-height: 238px;
  padding: 28px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

a.service-item:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(16, 35, 38, 0.12);
}

.service-item span {
  color: var(--blue-ink);
  font-weight: 950;
}

.service-item h3 {
  margin: 22px 0 12px;
  font-size: 1.24rem;
}

.service-item p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(20px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(104, 167, 255, 0.18), rgba(104, 167, 255, 0) 42%),
    var(--navy);
}

.proof-band h2 {
  color: var(--white);
}

.proof-text p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.metrics {
  justify-content: space-between;
  gap: 18px;
}

.metrics div {
  min-width: 0;
  flex: 1;
  padding: 26px 20px;
  border: 1px solid rgba(104, 167, 255, 0.34);
  background: rgba(104, 167, 255, 0.09);
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

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

.contact {
  align-items: center;
}

.content-page {
  display: grid;
  gap: clamp(34px, 5vw, 70px);
}

.content-lead {
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.split,
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: clamp(32px, 6vw, 84px);
}

.split p,
.service-detail p,
.large-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.stat-list,
.detail-list {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.stat-list div {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.stat-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-list strong {
  color: var(--blue-ink);
  font-size: 2.4rem;
  line-height: 1;
}

.stat-list span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list h3 {
  margin: 0;
}

.detail-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 750;
}

.expertise-section {
  padding-top: 0;
}

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

.expertise-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
}

.expertise-grid h3 {
  margin-bottom: 12px;
}

.expertise-grid p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.compact-section {
  padding-top: 0;
}

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

.process-list div {
  padding: 24px;
  border: 1px solid rgba(104, 167, 255, 0.3);
  background: rgba(104, 167, 255, 0.08);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-ink);
  font-weight: 950;
}

.process-list h3 {
  margin-bottom: 8px;
}

.empty-state {
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.empty-state p {
  color: var(--muted);
}

.local-seo-section {
  padding-top: 0;
}

.local-seo-section .section-heading p,
.seo-copy p {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.08rem;
}

.city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(104, 167, 255, 0.36);
  color: var(--blue-ink);
  background: rgba(104, 167, 255, 0.09);
  font-weight: 850;
}

.seo-copy {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.blog-list {
  display: grid;
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.blog-card a {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.blog-card picture,
.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.blog-card img {
  object-fit: cover;
}

.blog-card div {
  padding: 32px 32px 32px 0;
}

.blog-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.blog-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.blog-card span {
  color: var(--blue-ink);
  font-weight: 950;
}

.article {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 142px 0 clamp(72px, 10vw, 120px);
}

.article-header {
  margin-bottom: 34px;
}

.article-header h1 {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.article-header p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.article-cover {
  display: block;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-cover img {
  width: 100%;
  height: auto;
}

.article-body {
  display: grid;
  gap: 20px;
  color: var(--ink);
}

.article-body h2 {
  margin: 22px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.1rem;
}

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-ink);
  font-weight: 900;
}

.section-action {
  margin-top: 28px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 7vw, 72px) clamp(20px, 7vw, 96px);
  color: var(--white);
  background: var(--navy);
}

.cta-band h2 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel a {
  width: fit-content;
  color: var(--blue-ink);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b1b1d;
}

.footer img {
  width: 126px;
  height: auto;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    min-height: 760px;
    padding: 120px 0 82px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 27, 51, 0.64), rgba(7, 27, 51, 0.9));
  }

  .hero-content {
    margin: 0 auto;
  }

  .intro,
  .contact,
  .proof-band,
  .split,
  .service-detail,
  .expertise-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .expertise-grid article {
    min-height: 0;
  }

  .intro {
    padding-bottom: 42px;
  }

  .services {
    padding-top: 42px;
  }

  .home-intro {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .services-preview {
    padding-top: 34px;
  }

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

  .metrics {
    align-items: stretch;
  }

  .page-hero {
    padding: 132px 24px 62px;
  }

  .cta-band {
    display: grid;
  }

  .blog-card a {
    grid-template-columns: 1fr;
  }

  .blog-card div {
    padding: 0 24px 28px;
  }

  .blog-card picture,
  .blog-card img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding-inline: 18px;
  }

  .brand {
    width: 118px;
    height: 50px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: 690px;
    padding: 108px 0 68px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 32px);
  }

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

  .service-item {
    min-height: 0;
  }

  .contact-panel {
    padding: 24px;
  }

  .footer {
    display: grid;
  }

  .page-hero {
    padding: 112px 18px 52px;
  }

  .article {
    width: calc(100% - 32px);
    padding-top: 112px;
  }
}
