:root {
  --ink: #081426;
  --ink-soft: #31425f;
  --paper: #f7f3ea;
  --cream: #fff8ea;
  --gold: #d6a646;
  --gold-bright: #f0cb6b;
  --blue: #0e3a66;
  --blue-bright: #1f6fb2;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 90px rgba(7, 21, 40, 0.2);
  --radius: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 178, 0.2), transparent 34rem),
    radial-gradient(circle at 85% 15%, rgba(214, 166, 70, 0.26), transparent 32rem),
    linear-gradient(135deg, #f8f1df 0%, #eef5ff 42%, #fffaf0 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(8, 20, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 20, 38, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
}

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

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

.site-glow {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.site-glow-one {
  top: -11rem;
  right: -8rem;
  background: rgba(31, 111, 178, 0.34);
}

.site-glow-two {
  bottom: -15rem;
  left: -11rem;
  background: rgba(214, 166, 70, 0.32);
}

.nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 20px 70px rgba(8, 20, 38, 0.13);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  padding-left: 4px;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 12px 26px rgba(14, 58, 102, 0.28);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(14, 58, 102, 0.08);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta {
  padding: 14px 19px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(8, 20, 38, 0.2);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
}

.section-stack {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.78fr);
  gap: clamp(1.6rem, 5vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 92px 0 72px;
}

.hero-copy,
.hero-portrait {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 7.8vw, 7.8rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6.4rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.hero-text,
.section-intro p,
.feature-card p,
.process-card p,
.contact-card p,
.footer {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  min-height: 56px;
  padding: 0 24px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 18px 45px rgba(14, 58, 102, 0.26);
}

.button-secondary {
  border: 1px solid rgba(8, 20, 38, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 10px 14px;
  border: 1px solid rgba(8, 20, 38, 0.09);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.54);
}

.hero-portrait {
  position: relative;
}

.portrait-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 20% 20%, rgba(240, 203, 107, 0.35), transparent 32rem);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center top;
  border-radius: 34px;
  filter: saturate(1.04) contrast(1.03);
}

.portrait-badge,
.credential-card {
  position: absolute;
  box-shadow: 0 18px 55px rgba(8, 20, 38, 0.22);
}

.portrait-badge {
  right: 34px;
  bottom: 34px;
  padding: 18px 20px;
  border-radius: 22px;
  color: #fff;
  background: rgba(8, 20, 38, 0.82);
  backdrop-filter: blur(16px);
}

.portrait-badge span,
.credential-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-badge strong,
.credential-card strong {
  display: block;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.credential-card {
  left: -28px;
  bottom: 14%;
  max-width: 230px;
  padding: 18px;
  border-radius: 24px;
}

.credential-card strong {
  color: var(--ink);
  line-height: 1.35;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 120px;
  border: 1px solid rgba(8, 20, 38, 0.09);
  border-radius: var(--radius);
  background: rgba(8, 20, 38, 0.08);
  box-shadow: 0 24px 70px rgba(8, 20, 38, 0.1);
}

.stats-panel div {
  padding: clamp(1.35rem, 4vw, 2.4rem);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(16px);
}

.stats-panel strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.stats-panel span {
  color: var(--ink-soft);
  font-weight: 800;
}

.content-grid,
.process,
.testimonials,
.contact {
  padding: 92px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 120px;
}

.feature-stack {
  display: grid;
  gap: 22px;
}

.feature-card,
.process-card,
.testimonial-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 26px 80px rgba(8, 20, 38, 0.11);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 260px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.feature-card::after,
.testimonial-card::after {
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  content: "";
  background: rgba(214, 166, 70, 0.22);
}

.feature-number {
  display: inline-flex;
  margin-bottom: 50px;
  color: rgba(14, 58, 102, 0.28);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.8;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.process-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 34px;
  transform-style: preserve-3d;
}

.process-card:nth-child(2) {
  margin-top: 36px;
}

.process-card:nth-child(3) {
  margin-top: 72px;
}

.process-card span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  margin-bottom: 72px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 16px 35px rgba(14, 58, 102, 0.24);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.testimonial-card {
  min-height: 350px;
  margin: 0;
  padding: 34px;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 32px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.testimonial-card figcaption {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-weight: 900;
}

.testimonial-card figcaption span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.56fr);
  gap: 32px;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(240, 203, 107, 0.35), transparent 24rem),
    linear-gradient(135deg, #071526, #0e3a66 58%, #1f6fb2);
}

.contact-card .eyebrow,
.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card .eyebrow::before {
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.contact-card h2 {
  color: #fff;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.contact-panel p {
  margin: 0;
  color: var(--gold-bright);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel a {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.footer {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, calc(34px + var(--parallax-offset, 0px)), 0) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1);
}

@media (max-width: 820px) {
  .nav {
    align-items: stretch;
    border-radius: 30px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .content-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 48px;
  }

  .hero-portrait {
    order: -1;
    width: min(100%, 460px);
    max-width: 560px;
    justify-self: center;
  }

  .section-intro {
    position: static;
  }

  .process-rail,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .process-card:nth-child(n) {
    margin-top: 0;
  }

  .process-card {
    min-height: 260px;
  }

  .process-card span {
    margin-bottom: 48px;
  }
}

@media (max-width: 680px) {
  .nav {
    top: 10px;
    width: min(100% - 20px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 13px 14px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .stats-panel {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  .content-grid,
  .process,
  .testimonials,
  .contact {
    padding: 58px 0;
  }

  .credential-card,
  .portrait-badge {
    position: static;
    margin: 14px 0 0;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
