:root {
  --ink: #142033;
  --muted: #5b6473;
  --line: #dbe4ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #1769aa;
  --teal: #087f8c;
  --green: #2f7d4b;
  --amber: #c17d14;
  --shadow: 0 18px 45px rgba(20, 32, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-size: 0.82rem;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 56px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(5, 14, 28, 0.66);
}

.hero-content {
  width: min(780px, 100%);
  color: #fff;
}

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

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #a6efe8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

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

.button-primary:hover {
  background: #0f578f;
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-grid p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.services-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

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

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.article-card,
.detail-card,
.contact-panel,
.proof-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(20, 32, 51, 0.03);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.detail-card p,
.article-card p,
.contact-panel p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
}

.check-list {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.article-list.stacked {
  grid-template-columns: 1fr;
}

.article-card {
  display: block;
  padding: 26px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.proof-card {
  display: block;
  padding: 26px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.proof-card:hover,
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.proof-card span,
.case-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-card h3,
.case-card h2 {
  margin-top: 12px;
}

.proof-card p,
.case-card p {
  color: var(--muted);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card span,
.article-card time,
.number {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin-top: 12px;
}

.cta-band {
  width: min(var(--max), calc(100% - 40px));
  margin: clamp(18px, 5vw, 42px) auto clamp(56px, 8vw, 92px);
  justify-content: space-between;
  padding: clamp(28px, 5vw, 44px);
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 780px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.page-hero {
  min-height: 36vh;
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 56px);
  color: #fff;
  background: linear-gradient(rgba(5, 14, 28, 0.69), rgba(5, 14, 28, 0.72)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.page-hero h1,
.page-hero p {
  max-width: 860px;
}

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

.page-hero > p:last-child {
  margin-top: 20px;
  font-size: 1.17rem;
}

.services-hero {
  background-image: linear-gradient(rgba(5, 14, 28, 0.69), rgba(5, 14, 28, 0.72)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80");
}

.blog-hero {
  background-image: linear-gradient(rgba(5, 14, 28, 0.69), rgba(5, 14, 28, 0.72)),
    url("https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1800&q=80");
}

.contact-hero {
  background-image: linear-gradient(rgba(5, 14, 28, 0.69), rgba(5, 14, 28, 0.72)),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1800&q=80");
}

.work-hero {
  background-image: linear-gradient(rgba(5, 14, 28, 0.62), rgba(5, 14, 28, 0.7)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80");
}

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

.detail-card {
  padding: clamp(24px, 4vw, 34px);
}

.detail-card h2 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.detail-card ul {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  border-top: 1px solid var(--line);
}

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

.timeline div {
  padding-top: 18px;
  border-top: 4px solid var(--blue);
}

.timeline span {
  font-weight: 900;
}

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

.blog-index-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-cloud span {
  padding: 8px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  font-weight: 700;
}

.article-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 0;
}

.article-page header {
  margin-bottom: 28px;
}

.article-page h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 6vw, 4rem);
}

.article-meta {
  color: var(--muted);
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-body {
  margin-top: 34px;
  font-size: 1.08rem;
}

.article-body p {
  color: var(--muted);
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

blockquote {
  margin: 34px 0 0;
  padding: 24px;
  color: var(--ink);
  background: var(--soft);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-card {
  padding: clamp(24px, 4vw, 34px);
}

.credentials-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.credentials-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

.contact-panel {
  padding: clamp(24px, 4vw, 36px);
}

.contact-panel.muted {
  background: var(--soft);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 58vh;
  }

  .intro-grid,
  .split,
  .blog-index-layout,
  .contact-layout,
  .work-layout,
  .service-detail-grid,
  .card-grid.three,
  .proof-grid,
  .article-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-text {
    max-width: 150px;
  }

  .hero-actions .button,
  .cta-band .button,
  .contact-panel .button {
    width: 100%;
  }

  .section,
  .cta-band,
  .article-page {
    width: min(100% - 28px, var(--max));
  }
}
