:root {
  color-scheme: light;
  --ink: #18212b;
  --ink-2: #33414f;
  --muted: #65717f;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d8dedf;
  --deep: #0a2740;
  --teal: #00847f;
  --teal-dark: #00625f;
  --coral: #d9624b;
  --gold: #c59a44;
  --blue: #315f8c;
  --shadow: 0 22px 60px rgba(7, 24, 33, 0.13);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.site-header--solid {
  background: rgba(10, 39, 64, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: 0.65rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 0.25rem 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem 5vw 5rem;
  background: var(--deep);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9rem;
  background: rgba(251, 250, 246, 0.08);
  clip-path: polygon(0 58%, 100% 22%, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(4.7rem, 12vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

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

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--teal);
  color: #fff;
}

.btn.primary:hover {
  background: var(--teal-dark);
}

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

.btn.secondary:hover {
  border-color: #fff;
}

.hero-proof {
  position: absolute;
  z-index: 2;
  left: 5vw;
  right: 5vw;
  bottom: 1.15rem;
}

.hero-proof div {
  width: min(100%, 17rem);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 0.9rem;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.band {
  background: #edf3f2;
}

.section-shell {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 6rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--ink-2);
  line-height: 1.72;
}

.intro p:last-child {
  margin: 2.15rem 0 0;
  font-size: 1.12rem;
}

.section-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 2.5rem;
}

.section-heading.narrow {
  max-width: 760px;
}

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

.service-card,
.engagement-grid article,
.experience-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(7, 24, 33, 0.04);
}

.service-card {
  min-height: 15rem;
  padding: 1.4rem;
}

.service-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 2.3rem;
}

.service-card p,
.engagement-grid p,
.method-step p,
.experience-panel p {
  margin-bottom: 0;
}

.service-card.accent {
  background: var(--deep);
  color: #fff;
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.method-step {
  padding: 1.3rem 0;
  border-top: 3px solid var(--teal);
}

.method-step:nth-child(2) {
  border-color: var(--coral);
}

.method-step:nth-child(3) {
  border-color: var(--blue);
}

.method-step span {
  font-size: 1.2rem;
  font-weight: 800;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: stretch;
}

.experience-panel {
  padding: 1.5rem;
}

.domain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.domain-list span {
  display: flex;
  align-items: center;
  min-height: 4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4ec;
  padding: 0 1rem;
  color: var(--ink);
  font-weight: 800;
}

.domain-list span:nth-child(3n) {
  background: #eef5f5;
}

.domain-list span:nth-child(4n) {
  background: #f8efe9;
}

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

.engagement-grid article {
  padding: 1.4rem;
}

.page-hero {
  padding-top: 6.3rem;
  background: var(--deep);
  color: #fff;
}

.page-hero .section-shell {
  padding-bottom: 4.6rem;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.page-hero p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blog-preview-card {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.blog-preview-card img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  background: var(--deep);
}

.blog-preview-card div {
  padding: 1.2rem 1.2rem 1.2rem 0;
}

.blog-preview-card h3 {
  font-size: 1.25rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--teal);
  font-weight: 800;
}

.text-link:hover {
  color: var(--teal-dark);
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-post + .blog-post {
  margin-top: 1.4rem;
}

.blog-post img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: contain;
  display: block;
  background: var(--deep);
}

.blog-post-copy {
  display: grid;
  align-content: start;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.blog-meta {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-post-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.blog-post-copy p:last-child {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
}

.contact-form span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd3d5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.78rem 0.85rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 132, 127, 0.2);
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  background: var(--deep);
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.site-footer a:last-child {
  color: #fff;
  font-weight: 800;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--deep);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 0.5rem;
  }

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

  .site-nav a {
    padding: 0.95rem;
  }

  .hero {
    min-height: 94vh;
    padding-top: 6rem;
    padding-bottom: 12rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .split,
  .experience-layout,
  .blog-post,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .method-steps,
  .engagement-grid,
  .blog-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .blog-preview-card div {
    padding: 1.2rem;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    top: 64px;
  }

  .hero {
    min-height: auto;
    padding: 6.2rem 5vw 13rem;
  }

  .hero-proof {
    bottom: 1rem;
  }

  .hero-proof div {
    width: 100%;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .section-shell {
    width: min(100% - 2rem, 1120px);
    padding: 4.2rem 0;
  }

  .service-grid,
  .method-steps,
  .engagement-grid,
  .blog-preview-grid,
  .domain-list {
    grid-template-columns: 1fr;
  }

  .blog-post img {
    min-height: 15rem;
  }

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