html {
  scroll-behavior: smooth;
}

:root {
  --ink: #172022;
  --muted: #5f6b6d;
  --line: #d9e0dc;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --mist: #edf5f2;
  --sage: #6e8f83;
  --teal: #137f7a;
  --teal-dark: #0c5c58;
  --clay: #bb6b4a;
  --plum: #58435f;
  --night: #172533;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.h1,
.h2,
.h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.h1 {
  font-size: clamp(2.15rem, 3.7vw, 3.55rem);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.95rem);
  line-height: 1.08;
}

.h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.h4 {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 800;
}

::selection {
  background: #cde8df;
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

#mobile-nav.hidden {
  display: none;
}

.rounded-2xl,
.rounded-xl {
  border-radius: 8px !important;
}

.sticky.top-0 {
  background: rgba(251, 250, 246, 0.94) !important;
  border-color: var(--line) !important;
  box-shadow: 0 1px 0 rgba(23, 32, 34, 0.04);
}

.sticky.top-0 a {
  color: var(--ink);
}

.sticky.top-0 nav a:hover {
  color: var(--teal-dark);
}

.sticky.top-0 .sv-header-cta,
.btn-primary {
  background: var(--teal) !important;
  color: #fff !important;
  border: 1px solid var(--teal) !important;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(19, 127, 122, 0.18);
}

.btn-primary:hover,
.sticky.top-0 .sv-header-cta:hover {
  background: var(--teal-dark) !important;
}

.btn-secondary {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 32, 34, 0.18);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 750;
  justify-content: center;
  padding: 0.9rem 1.2rem;
}

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

.sv-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 5.5rem 1.25rem;
}

.sv-kicker {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-lede {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.sv-hero {
  min-height: calc(92vh - 73px);
  position: relative;
  overflow: hidden;
  background: #081526;
}

.sv-hero__shade {
  position: absolute;
  inset: 0;
}

.sv-hero__media {
  display: block;
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
  object-fit: cover;
  object-position: 74% center;
  filter: saturate(0.98) contrast(1.04);
  transform: scale(0.9);
  transform-origin: right center;
}

.sv-hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 16, 30, 0.92) 0%, rgba(8, 21, 38, 0.8) 34%, rgba(8, 21, 38, 0.28) 62%, rgba(8, 21, 38, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 16, 30, 0.5) 0%, rgba(5, 16, 30, 0) 26%);
}

.sv-hero__inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(92vh - 73px);
  padding: 3rem 1.25rem 2.75rem;
  position: relative;
}

.sv-hero__copy {
  max-width: 640px;
}

.sv-hero__copy p {
  max-width: 690px;
}

.sv-hero .h1,
.sv-hero .sv-kicker {
  color: #f8fbff;
}

.sv-hero .h1 {
  font-size: clamp(2.05rem, 3.2vw, 3.25rem);
  line-height: 1.04;
}

.sv-hero .sv-lede {
  color: rgba(229, 241, 247, 0.86);
  font-size: 1rem;
  line-height: 1.58;
  margin-top: 1.3rem !important;
}

.sv-hero .sv-actions {
  margin-top: 1.45rem;
}

.sv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.sv-actions .btn-primary,
.sv-actions .btn-secondary {
  min-height: 48px;
  padding: 0.9rem 1.15rem;
}

.sv-proof-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 32, 34, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23, 32, 34, 0.1);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.sv-hero .sv-proof-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 0.65rem;
  margin-top: 1.4rem;
  max-width: 560px;
  overflow: visible;
}

.sv-hero .sv-proof-row {
  background: rgba(246, 251, 253, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  grid-template-columns: 6.1rem 1fr;
  padding: 0.62rem 0.95rem;
}

.sv-hero .sv-proof-row + .sv-proof-row {
  border-top: 1px solid rgba(209, 239, 255, 0.44);
}

.sv-hero .sv-proof-value {
  color: #1f86bd;
  font-size: 1.7rem;
  white-space: nowrap;
}

.sv-hero .sv-proof-label {
  color: rgba(10, 23, 35, 0.86);
  font-size: 0.88rem;
  line-height: 1.38;
}

.sv-hero-diagram {
  background: #f6f8f6;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem;
}

.sv-hero-diagram img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.sv-exhibit-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.sv-exhibit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.sv-exhibit img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.sv-exhibit figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.8rem 0.9rem;
}

.sv-proof-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 5rem 1fr;
  padding: 1.15rem;
}

.sv-proof-row + .sv-proof-row {
  border-top: 1px solid var(--line);
}

.sv-proof-value {
  color: var(--teal-dark);
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
}

.sv-proof-label {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sv-problem-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.sv-problem-grid .h2,
.sv-split .h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.45rem);
  line-height: 1.12;
}

.sv-diagnostic {
  border-left: 4px solid var(--clay);
  padding-left: 1.2rem;
}

.sv-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.sv-table-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.9fr 1.2fr;
  padding: 1.1rem 1.2rem;
}

.sv-table-row + .sv-table-row {
  border-top: 1px solid var(--line);
}

.sv-table-row strong {
  color: var(--ink);
}

.sv-table-row span {
  color: var(--muted);
  line-height: 1.55;
}

.sv-band {
  background: #f3f0e9;
}

.sv-layers {
  counter-reset: layer;
  display: grid;
  gap: 0;
  margin-top: 2.25rem;
}

.sv-layer {
  align-items: start;
  border-top: 1px solid var(--line);
  counter-increment: layer;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 4rem 0.85fr 1.4fr;
  padding: 1.35rem 0;
}

.sv-layer::before {
  color: var(--clay);
  content: "0" counter(layer);
  font-size: 0.9rem;
  font-weight: 850;
}

.sv-layer h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  margin: 0;
}

.sv-layer p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.sv-split {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.sv-offer-list {
  display: grid;
  gap: 1rem;
}

.sv-offer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sage);
  border-radius: 8px;
  padding: 1.2rem;
}

.sv-offer:nth-child(2) {
  border-left-color: var(--teal);
}

.sv-offer:nth-child(3) {
  border-left-color: var(--plum);
}

.sv-offer h3 {
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0 0 0.4rem;
}

.sv-offer p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.sv-timeline {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 1.3rem;
  margin-top: 2rem;
  padding-left: 1.4rem;
}

.sv-timeline div {
  position: relative;
}

.sv-timeline div::before {
  background: var(--teal);
  border: 3px solid var(--paper);
  border-radius: 999px;
  content: "";
  height: 0.85rem;
  left: -1.86rem;
  position: absolute;
  top: 0.25rem;
  width: 0.85rem;
}

.sv-timeline strong {
  display: block;
  font-size: 0.95rem;
}

.sv-timeline span {
  color: var(--muted);
  display: block;
  line-height: 1.55;
  margin-top: 0.25rem;
}

.sv-cta {
  background: var(--night);
  color: #fff;
}

.sv-cta .h2,
.sv-cta .sv-kicker {
  color: #fff;
}

.sv-cta .sv-lede {
  color: #cbd9d8;
}

.sv-cta .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.sv-services-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.sv-services-hero .sv-wrap {
  padding-bottom: 4rem;
  padding-top: 4rem;
}

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

.sv-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
}

.sv-service-card.featured {
  border-color: var(--teal);
  box-shadow: 0 18px 40px rgba(19, 127, 122, 0.12);
}

.sv-service-card h2 {
  font-size: 1.25rem;
  font-weight: 850;
  margin: 0.35rem 0 0.65rem;
}

.sv-service-card p,
.sv-service-card li {
  color: var(--muted);
  line-height: 1.58;
}

.sv-service-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
}

.sv-service-card li {
  list-style: none;
  padding-left: 1.1rem;
  position: relative;
}

.sv-service-card li::before {
  background: var(--teal);
  border-radius: 99px;
  content: "";
  height: 0.4rem;
  left: 0;
  position: absolute;
  top: 0.62rem;
  width: 0.4rem;
}

.sv-price-note {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  margin-top: auto;
  padding: 1rem;
}

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

.sv-fit {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}

.sv-fit strong {
  display: block;
  margin-bottom: 0.35rem;
}

.sv-fit span {
  color: var(--muted);
  line-height: 1.55;
}

.card-hover {
  border-radius: 8px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  box-shadow: 0 12px 28px rgba(23, 32, 34, 0.1);
  transform: translateY(-2px);
}

.animated-gradient {
  background: var(--night);
}

.sticky.top-0 nav a.is-active {
  color: var(--teal-dark);
  font-weight: 800;
}

.sv-page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.sv-page-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding-bottom: 4.25rem;
  padding-top: 4.25rem;
}

.sv-page-lede {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.72;
}

.sv-hero-image-wrap {
  padding-top: 0;
}

.sv-wide-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  width: 100%;
}

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

.sv-metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.sv-metric strong {
  color: var(--teal-dark);
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.sv-metric span {
  color: var(--muted);
  line-height: 1.45;
}

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

.sv-resource-card,
.sv-blog-card a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  min-height: 100%;
  padding: 1.25rem;
  text-decoration: none;
}

.sv-resource-card strong,
.sv-blog-card h2 {
  display: block;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.sv-resource-card span,
.sv-blog-card p {
  color: var(--muted);
  line-height: 1.55;
}

.sv-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.sv-copy p + p {
  margin-top: 1rem;
}

.sv-book-grid {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
}

.sv-book-cover {
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(5, 16, 30, 0.28);
  display: block;
  height: auto;
  max-width: 390px;
  width: 100%;
}

.sv-contact-panel,
.sv-contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
}

.sv-contact-panel h2,
.sv-contact-card h2 {
  font-size: 1.35rem;
  font-weight: 850;
  margin-bottom: 0.85rem;
}

.sv-contact-panel ul {
  color: var(--muted);
  display: grid;
  gap: 0.6rem;
  line-height: 1.55;
  padding-left: 1.1rem;
}

.sv-small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.sv-article-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.sv-blog-back {
  color: var(--teal-dark);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.sv-article-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  margin-bottom: 2rem;
  width: 100%;
}

.sv-article-body {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
  margin: 0 auto;
  max-width: 820px;
}

.sv-source-note {
  background: rgba(19, 127, 122, 0.08);
  border-left: 3px solid var(--teal);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.58;
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
}

.sv-article-body h2 {
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.16;
  margin: 2.2rem 0 0.85rem;
}

.sv-article-body h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  margin: 1.2rem 0 0.35rem;
}

.sv-article-body p + p,
.sv-article-body ul + p,
.sv-article-body ol + p {
  margin-top: 1rem;
}

.sv-article-body ul,
.sv-article-body ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.sv-faq {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 2rem;
  padding: 1.25rem;
}

.sv-blog-card img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  display: block;
  margin-bottom: 1rem;
  object-fit: cover;
  width: 100%;
}

.sv-blog-card span {
  color: var(--teal-dark);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.sv-footer {
  background: var(--night);
  color: #d8e4e4;
}

.sv-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.sv-footer-brand,
.sv-footer strong {
  color: #fff;
  display: block;
  font-weight: 850;
  margin-bottom: 0.85rem;
}

.sv-footer p,
.sv-footer a {
  color: #b8c8c8;
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 0.45rem;
  text-decoration: none;
}

.sv-footer a:hover {
  color: #fff;
}

.sv-footer-cta {
  color: #7de0dc !important;
  font-weight: 800;
}

.sv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8fa2a2;
  font-size: 0.8rem;
  padding: 1rem 1.25rem;
  text-align: center;
}

.sv-footer-bottom a {
  color: #b8c8c8;
  display: inline;
  margin-left: 0.35rem;
}

@media (max-width: 900px) {
  .sv-hero,
  .sv-hero__inner {
    min-height: auto;
  }

  .sv-hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 16, 30, 0.86) 0%, rgba(5, 16, 30, 0.72) 56%, rgba(5, 16, 30, 0.86) 100%),
      linear-gradient(90deg, rgba(5, 16, 30, 0.9) 0%, rgba(5, 16, 30, 0.45) 100%);
  }

  .sv-hero__media {
    object-position: 68% center;
    transform: scale(1);
  }

  .sv-hero__inner,
  .sv-problem-grid,
  .sv-split,
  .sv-service-grid,
  .sv-fit-grid,
  .sv-exhibit-row,
  .sv-page-hero-grid,
  .sv-metric-grid,
  .sv-card-grid,
  .sv-blog-grid,
  .sv-book-grid,
  .sv-footer-grid {
    grid-template-columns: 1fr;
  }

  .sv-hero__inner {
    padding-top: 4rem;
  }

  .sv-layer {
    grid-template-columns: 3rem 1fr;
  }

  .sv-layer p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .sv-wrap {
    padding: 3.35rem 1rem;
  }

  .sv-services-hero .sv-wrap {
    padding-bottom: 3.1rem;
    padding-top: 3.1rem;
  }

  .sv-actions {
    flex-direction: column;
  }

  .sv-actions a {
    width: 100%;
  }

  .sv-proof-row,
  .sv-table-row {
    grid-template-columns: 1fr;
  }

  .sv-proof-value {
    font-size: 1.45rem;
  }
}
