:root {
  --ink: #0a0d1f;
  --ink-soft: #131626;
  --muted: #525866;
  --gray: #7e868c;
  --tag: #60606c;
  --blue: #e11d2e;
  --blue-hover: #c41828;
  --blue-deep: #a81422;
  --blue-active: #8b101c;
  --sky: rgba(255, 220, 222, 1);
  --section-y: 5rem;
  --section-gap: 2.5rem;
  --white: #ffffff;
  --container: 72rem;
  --content: var(--container);
  --font: "halyard-text-variable", "halyard-display-variable", "Geist", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--white);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(10, 13, 31, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo svg {
  height: 1rem;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--blue);
}

.nav-trigger svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s ease;
}

.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item:hover .nav-trigger,
  .nav-item:focus-within .nav-trigger {
    color: var(--blue);
  }

  .nav-item:hover .nav-trigger svg,
  .nav-item:focus-within .nav-trigger svg {
    transform: rotate(180deg);
  }
}

.dropdown-narrow {
  min-width: 200px;
}

.dropdown-narrow .dropdown-grid {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.375rem;
  box-shadow: 0 8px 32px rgba(10, 13, 31, 0.08);
}

.dropdown-wide {
  min-width: 520px;
}

.dropdown-wide .dropdown-stack,
.dropdown-wide > .dropdown-grid {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.375rem;
  box-shadow: 0 8px 32px rgba(10, 13, 31, 0.08);
}

.dropdown-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.dropdown-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  row-gap: 0.25rem;
}

.dropdown-grid.one-col {
  grid-template-columns: 1fr;
}

.dropdown-grid a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.dropdown-grid a:hover {
  color: var(--blue);
}

.dropdown-grid img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-actions {
  display: none;
}

.mobile-actions {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
}

.btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--ink);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-white {
  background: var(--white);
  color: #000;
}

.btn-white:hover {
  background: #f3f4f6;
}

.btn-ghost-white {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-ghost-white:hover {
  border-color: #e5e7eb;
  color: #e5e7eb;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  margin-left: auto;
}

.menu-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a,
.mobile-menu .mobile-group-title {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1875rem;
  font-weight: 500;
}

.mobile-menu .mobile-group {
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .mobile-group a {
  padding: 0.4rem 0 0.4rem 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.mobile-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #2a0508;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(180, 30, 35, 0.55), transparent 60%),
    radial-gradient(ellipse 50% 45% at 60% 70%, rgba(120, 15, 25, 0.35), transparent 55%),
    linear-gradient(135deg, #1a0406 0%, #2a080c 45%, #3a0c12 100%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(18, 2, 4, 0.92) 0%,
      rgba(28, 4, 8, 0.78) 28%,
      rgba(40, 8, 12, 0.42) 48%,
      rgba(50, 10, 14, 0.12) 68%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 2, 5, 0.35) 0%,
      transparent 28%,
      transparent 72%,
      rgba(12, 1, 3, 0.55) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  width: min(100%, 64%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: var(--section-y) 0;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .hero-content {
    width: 100%;
    max-width: 36rem;
  }

  .hero-mesh {
    opacity: 0.7;
  }

  .hero-gradient {
    background:
      linear-gradient(
        180deg,
        rgba(18, 2, 4, 0.55) 0%,
        rgba(22, 3, 6, 0.72) 38%,
        rgba(18, 2, 4, 0.88) 100%
      ),
      linear-gradient(
        90deg,
        rgba(18, 2, 4, 0.75) 0%,
        rgba(28, 4, 8, 0.35) 55%,
        transparent 100%
      );
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.09;
  color: var(--white);
}

.hero h1 .outline {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px white;
}

.hero p {
  margin: 0;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

/* About */
.about {
  position: relative;
  padding: var(--section-y) 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%, rgba(255, 220, 222, 0.65), transparent 60%),
    radial-gradient(ellipse 40% 45% at 10% 100%, rgba(225, 29, 46, 0.05), transparent 55%),
    #fff;
  color: var(--ink);
  overflow: hidden;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(10, 13, 31, 0.12);
}

.about-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.about h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

.about-highlight {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 450;
  line-height: 1.4;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0.25rem;
}

.about-col {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(10, 13, 31, 0.1);
  overflow: hidden;
}

.about-col:last-child {
  border-bottom: 0;
}

.about-col-bg {
  position: absolute;
  top: 0.15rem;
  right: 0;
  bottom: auto;
  z-index: 0;
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(10, 13, 31, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.about-num,
.about-col h3,
.about-col p {
  position: relative;
  z-index: 1;
}

.about-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.about-col h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.about-col p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 28rem;
}

.about-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 13, 31, 0.12);
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
}

.about-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--blue);
}

@media (min-width: 900px) {
  .about-top {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem 4rem;
    align-items: end;
    padding-bottom: 3.25rem;
  }

  .about-highlight {
    max-width: none;
    padding-bottom: 0.35rem;
  }

  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 0.5rem;
  }

  .about-col {
    padding: 2.75rem 2rem 2.5rem 0;
    border-bottom: 0;
    border-right: 1px solid rgba(10, 13, 31, 0.1);
  }

  .about-col:nth-child(2) {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .about-col:last-child {
    padding-left: 2rem;
    padding-right: 0;
    border-right: 0;
  }

  .about-col-bg {
    top: 0.25rem;
    right: 0.15rem;
    font-size: clamp(5rem, 6.5vw, 8rem);
  }

  .about-col p {
    max-width: none;
  }

  .about-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.25rem;
  }
}

/* About page hero */
.about-page-hero {
  padding: var(--section-y) 0;
  background: #fff;
  overflow: hidden;
}

.about-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-page-hero-copy {
  max-width: 36rem;
}

.about-page-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.about-page-hero-copy .text-accent {
  color: var(--blue);
}

.about-page-hero-copy > p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
}

.about-page-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 13, 31, 0.12);
}

.about-page-hero-visual svg {
  width: min(100%, 22rem);
  height: auto;
}

/* Shared section head */
.section-head {
  max-width: 40rem;
  margin-bottom: var(--section-gap);
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
}

/* Why choose us */
.why-choose {
  padding: var(--section-y) 0;
  background: #f3f4f6;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why-choose-card {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(10, 13, 31, 0.08);
  border-radius: 0.85rem;
}

.why-choose-num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.why-choose-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.why-choose-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* About process */
.about-process {
  padding: var(--section-y) 0;
  background: #fff;
}

.about-process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-process-step {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 4.5rem;
  border: 1px solid rgba(10, 13, 31, 0.08);
  border-radius: 0.85rem;
  background: #fafafa;
}

.about-process-num {
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-process-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.about-process-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

@media (min-width: 768px) {
  .about-page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about-page-hero-visual {
    justify-content: flex-end;
  }

  .about-page-hero-visual svg {
    width: min(100%, 26rem);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .about-process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-process-step {
    padding: 4.5rem 1.35rem 1.5rem;
    text-align: center;
  }

  .about-process-num {
    left: 50%;
    top: 1.25rem;
    transform: translateX(-50%);
  }
}

/* Services */
.services {
  padding: var(--section-y) 0;
  background: #f3f4f6;
}

.services-head {
  position: relative;
  max-width: none;
  margin: 0 0 var(--section-gap);
  overflow: hidden;
  min-height: 0;
}

.services-head-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  font-size: clamp(4.5rem, 16vw, 11.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(10, 13, 31, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.services-head .services-eyebrow,
.services-head h2,
.services-head .services-lead {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.services-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.services h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.services h2 span {
  color: var(--blue);
}

.services-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4b5563;
}

.services-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: 1.6rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(10, 13, 31, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-panel-logo {
  position: absolute;
  right: -0.75rem;
  bottom: 4.5rem;
  width: min(88%, 15rem);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.service-panel-num,
.service-panel h3,
.service-panel p,
.service-panel-foot {
  position: relative;
  z-index: 1;
}

.service-panel-num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.service-panel h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.service-panel p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

.service-panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(10, 13, 31, 0.08);
}

.service-panel-foot span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.service-panel-foot span + span::before {
  content: "·";
  margin-right: 0.4rem;
  color: #9ca3af;
}

.service-panel:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.service-panel:hover .service-panel-logo {
  opacity: 0.16;
  filter: brightness(0) invert(1);
}

.service-panel:hover .service-panel-num,
.service-panel:hover h3,
.service-panel:hover p,
.service-panel:hover .service-panel-foot span,
.service-panel:hover .service-panel-foot span + span::before {
  color: #fff;
}

.service-panel:hover .service-panel-foot {
  border-top-color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 700px) {
  .services-panels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .services-head-bg {
    font-size: clamp(6.5rem, 9vw, 11rem);
    color: rgba(10, 13, 31, 0.045);
  }
}

@media (min-width: 1100px) {
  .services-panels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .service-panel {
    min-height: 22rem;
    padding: 1.75rem 1.35rem 1.5rem;
  }
}
/* Features */
.features {
  position: relative;
  overflow: hidden;
  background: radial-gradient(at 100% 100%, #8b101c, #e11d2e);
}

.features-dots {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("../images/dot-grid.svg");
  background-repeat: repeat;
  background-size: 24px 24px;
  pointer-events: none;
}

.features-inner {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
}

.features h2 {
  margin: 0 0 1.5rem;
  text-align: left;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 180px;
  padding: 1rem 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  border-bottom: 8px solid var(--white);
}

.feature-card img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  margin-bottom: 0.35rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* Counter */
.counter {
  padding: var(--section-y) 0;
  background: #fff;
  border-top: 1px solid rgba(10, 13, 31, 0.08);
}

.counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.counter-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.counter-value {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.counter-label {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #4b5563;
}

@media (min-width: 640px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 960px) {
  .counter-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .counter-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(10, 13, 31, 0.1);
  }

  .counter-item:last-child {
    border-right: 0;
  }
}

/* CTA band */
.cta-band {
  position: relative;
  padding: var(--section-y) 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: #0a0d1f;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 31, 0.35) 0%, rgba(10, 13, 31, 0.55) 100%),
    url("../images/cta-abstract.svg") center / cover no-repeat;
}

.cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("../images/dot-grid.svg");
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
}

.cta-band p {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.95;
}

/* Blog preview */
.blog-preview {
  padding: var(--section-y) 0;
  background: #fff;
}

.blog-preview-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: var(--section-gap);
}

.blog-preview-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.blog-preview h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 13, 31, 0.1);
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 13, 31, 0.08);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.35rem 1.35rem 1.5rem;
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.blog-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
}

.blog-card h3 a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.blog-card h3 a:hover {
  color: var(--blue);
}

.blog-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

.blog-card-link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
}

.blog-card-link:hover {
  color: var(--blue-deep);
}

@media (min-width: 768px) {
  .blog-preview-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
  }

  .blog-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

/* Footer */
.site-footer {
  background: #0a0d1f;
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1.15rem;
}

.footer-brand p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  margin: 0 0 1.15rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col > a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-col > a:hover {
  color: var(--white);
}

.footer-contact .footer-address {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact > a[href^="mailto"] {
  display: block;
  padding: 0.35rem 0;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-contact > a[href^="mailto"]:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--blue);
  color: #fff;
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom--center p {
  margin: 0;
}

.footer-bottom img.soc {
  width: 64px;
  height: auto;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 1rem;
}

@media (min-width: 640px) {
  .hero h1 .outline {
    -webkit-text-stroke-width: 2px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.about-top,
.about-col,
.service-panel,
.counter-item,
.blog-card,
.feature-card {
  animation: rise 0.7s ease both;
}

.about-col:nth-child(2) {
  animation-delay: 0.06s;
}

.about-col:nth-child(3) {
  animation-delay: 0.12s;
}


.service-panel:nth-child(2) {
  animation-delay: 0.08s;
}

.service-panel:nth-child(3) {
  animation-delay: 0.12s;
}

.counter-item:nth-child(2) {
  animation-delay: 0.06s;
}

.counter-item:nth-child(3) {
  animation-delay: 0.1s;
}

.counter-item:nth-child(4) {
  animation-delay: 0.14s;
}

.blog-card:nth-child(2) {
  animation-delay: 0.08s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.12s;
}

/* Blog listing & detail pages */
.blog-page-hero {
  padding: var(--section-y) 0;
  background: #f3f4f6;
  text-align: center;
}

.blog-page-hero .blog-preview-eyebrow {
  justify-content: center;
}

.blog-page-hero h1 {
  margin: 0 auto 1rem;
  max-width: 42rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.blog-page-hero p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
}

.blog-listing {
  padding: var(--section-y) 0;
  background: #fff;
}

.blog-listing .blog-preview-grid {
  margin-top: 0;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #6b7280;
}

.blog-detail-hero {
  padding: var(--section-y) 0;
  background: #f3f4f6;
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
}

.blog-detail-back:hover {
  color: var(--blue-deep);
}

.blog-detail-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.blog-detail-meta .blog-card-tag {
  font-size: 0.75rem;
}

.blog-article {
  padding: var(--section-y) 0;
}

.blog-article h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.blog-article h2:first-child {
  margin-top: 0;
}

.blog-article h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.blog-article p {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374151;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374151;
}

.blog-article li + li {
  margin-top: 0.4rem;
}

.blog-article blockquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--blue);
  background: #f9fafb;
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

.blog-article blockquote p:last-child {
  margin-bottom: 0;
}

.blog-article a {
  color: var(--blue);
  font-weight: 500;
}

.blog-article a:hover {
  color: var(--blue-deep);
}

.blog-related {
  padding: var(--section-y) 0;
  background: #f3f4f6;
  border-top: 1px solid rgba(10, 13, 31, 0.06);
}

.blog-related-head {
  margin-bottom: var(--section-gap);
}

.blog-related-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 2rem;
  }
}

/* ── Mobile & tablet responsive ── */
@media (max-width: 1023px) {
  :root {
    --section-y: 4.25rem;
    --section-gap: 2rem;
  }
}

@media (max-width: 767px) {
  :root {
    --section-y: 3.5rem;
    --section-gap: 1.75rem;
  }

  .container,
  .container.header-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .header-inner {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    gap: 1.25rem;
    padding: var(--section-y) 0;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.75rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* About */
  .about-top {
    gap: 1.25rem;
    padding-bottom: 2rem;
  }

  .about h2 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .about-highlight {
    font-size: 1.05rem;
  }

  .about-col {
    padding: 1.75rem 0;
  }

  .about-col-bg {
    font-size: clamp(3.25rem, 18vw, 5rem);
    top: 0.5rem;
    right: 0;
  }

  .about-bottom {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
  }

  /* Services watermark — smaller, stays right */
  .services-head-bg {
    font-size: clamp(2.75rem, 22vw, 4.25rem);
    top: auto;
    bottom: 0;
    right: 0;
    line-height: 1;
  }

  .services-head .services-eyebrow,
  .services-head h2,
  .services-head .services-lead {
    max-width: 72%;
  }

  .services h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
  }

  .service-panel {
    min-height: auto;
  }

  /* Features */
  .features h2 {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    margin-bottom: 1.25rem;
  }

  .feature-grid {
    gap: 1rem;
  }

  /* CTA */
  .cta-band h2 {
    font-size: clamp(1.65rem, 6vw, 2.5rem);
  }

  .cta-band p {
    font-size: 0.95rem;
  }

  /* About page */
  .about-page-hero-grid {
    gap: 1.75rem;
  }

  .about-page-hero-visual svg {
    width: min(100%, 16rem);
  }

  .about-process-step {
    padding: 1.35rem 1.15rem 1.35rem 3.75rem;
  }

  .about-process-num {
    left: 1rem;
    top: 1.15rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }

  /* Blog */
  .blog-preview-head {
    margin-bottom: 1.75rem;
  }

  .blog-page-hero h1,
  .blog-detail-hero h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
  }

  /* Footer */
  .site-footer {
    padding: var(--section-y) 0 calc(var(--section-y) * 0.65);
  }

  .footer-grid {
    gap: 1.75rem;
    margin-bottom: 2rem;
  }

  .footer-col h4 {
    margin-bottom: 0.85rem;
  }
}

/* iPad / tablet (768px – 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-head-bg {
    font-size: clamp(4.5rem, 10vw, 7rem);
  }

  .services-head .services-eyebrow,
  .services-head h2,
  .services-head .services-lead {
    max-width: 55%;
  }

  .about-col-bg {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .about-page-hero-grid {
    gap: 2rem;
  }

  .service-panel {
    min-height: 20rem;
  }

  .services-panels {
    gap: 1rem;
  }
}
