:root {
  --blue: #0099cc;
  --blue-dark: #007aa3;
  --blue-soft: #e8f6fb;
  --ink: #0f1923;
  --text: #1a2535;
  --muted: #5a6a80;
  --line: #dde4ec;
  --paper: #f4f8fb;
  --white: #ffffff;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --radius: 4px;
  --space: clamp(1.25rem, 3vw, 2rem);
  --wrap: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 em,
h1 em {
  font-style: italic;
  color: var(--blue);
  font-weight: 700;
}

h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.35rem 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Top bar — minimal, brand lives in hero */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 14, 22, 0.45), transparent);
}

.topbar.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--white);
}

.topbar-phone {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.topbar-phone:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.topbar.is-solid .topbar-phone {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.topbar.is-solid .topbar-phone:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.05);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 14, 22, 0.92) 0%, rgba(6, 14, 22, 0.7) 40%, rgba(6, 14, 22, 0.22) 72%, rgba(6, 14, 22, 0.1) 100%),
    linear-gradient(180deg, rgba(6, 14, 22, 0.2) 0%, transparent 38%, rgba(6, 14, 22, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
  padding: 7rem 0 3.5rem;
}

.hero-copy {
  max-width: 34rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease 0.15s forwards;
}

.brand-hero {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.hero h1 em {
  color: #7fd4ef;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 30rem;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost.dark:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section.problem {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(0, 153, 204, 0.08), transparent 60%),
    var(--white);
}

.fail-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.fail-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.fail-list span {
  font-weight: 600;
  color: var(--ink);
}

.fail-list p {
  color: var(--muted);
  font-size: 0.98rem;
}

.method {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.method h2,
.method .eyebrow {
  color: var(--white);
}

.method h2 em {
  color: #7fd4ef;
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: #7fd4ef;
  margin-bottom: 0.75rem;
}

.steps h3 {
  color: var(--white);
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 70vh;
}

.split-media {
  min-height: 420px;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(180deg, var(--paper), #eef5f9);
}

.treat-list {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0;
}

.treat-list > div {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.treat-list dt {
  font-weight: 600;
  color: var(--ink);
}

.treat-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.stats {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.stories {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(0, 153, 204, 0.07), transparent 55%),
    var(--paper);
}

.videos {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: start;
  gap: 1.25rem;
}

.videos figure {
  margin: 0;
}

.videos video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  object-fit: cover;
  background: var(--ink);
  border-radius: var(--radius);
}

.videos figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
}

.quote footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.places-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.places-grid address {
  font-style: normal;
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.places-grid strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.places-grid span {
  color: var(--muted);
}

.places-grid a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  width: fit-content;
}

.places-grid a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta {
  background:
    linear-gradient(135deg, #0b1a24 0%, #123246 55%, #0d4f66 100%);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

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

.cta h2 em {
  color: #7fd4ef;
}

.cta .lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.75);
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 2rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--white);
  letter-spacing: 0.08em;
}

.footer p {
  margin-top: 0.35rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .steps,
  .stats,
  .split {
    grid-template-columns: 1fr;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }

  .split-media {
    min-height: 42vh;
  }

  .treat-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-inner {
    width: min(1120px, calc(100% - 2rem));
    padding: 6.5rem 0 2.75rem;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .topbar-phone {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }

  .videos video {
    max-height: 360px;
  }
}

@media (max-width: 520px) {
  .videos {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .topbar-phone {
    max-width: 11.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-copy,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
