:root {
  --navy: #0b2f6b;
  --blue: #1764c7;
  --sky: #eaf4ff;
  --gold: #c49a3a;
  --gold-soft: #efe1bd;
  --ink: #17202a;
  --muted: #5c6670;
  --line: #dbe5ee;
  --paper: #ffffff;
  --soft: #f6f9fc;
  --shadow: 0 28px 80px rgba(11, 47, 107, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 62px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 229, 238, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(190px, 20vw, 330px);
  height: auto;
  display: block;
}

nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 760;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--gold);
}

main,
section,
div,
article {
  min-width: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  padding: clamp(68px, 9vw, 130px) clamp(20px, 5vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(23, 100, 199, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #edf6ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -22vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(196, 154, 58, 0.32);
  border-radius: 50%;
  animation: slowSpin 24s linear infinite;
}

.hero-bg-word {
  position: absolute;
  left: 2vw;
  bottom: 2vw;
  color: rgba(11, 47, 107, 0.045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 17vw, 19rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.panel-kicker,
.card-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.4vw, 7.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4.3vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.22;
}

.lead {
  max-width: 830px;
  margin: 26px 0 0;
  color: #233244;
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  font-weight: 740;
}

.sublead {
  max-width: 800px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 34px rgba(11, 47, 107, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: rgba(11, 47, 107, 0.24);
}

.button.full {
  width: 100%;
}

.hero-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(196, 154, 58, 0.38);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.hero-panel p:not(.panel-kicker) {
  color: var(--muted);
  font-size: 1.06rem;
}

.panel-rule {
  width: 74px;
  height: 3px;
  margin: 22px 0;
  background: var(--gold);
}

.quote-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 42px clamp(20px, 5vw, 76px);
  background: var(--navy);
  color: #fff;
}

.quote-mark {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 0.6;
}

blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 3.3rem);
  line-height: 1.12;
}

cite {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 760;
}

.quote-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 76px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 92px);
}

.stack p {
  margin: 0 0 18px;
  color: #263545;
  font-size: 1.13rem;
}

.proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--soft);
}

.proof-image {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.proof-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.proof-intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: #263545;
  font-size: 1.12rem;
}

.stat-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.stat-grid div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.stat-grid strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 650;
}

.section-head {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.samples-section {
  overflow: hidden;
}

.sample-marquee {
  display: flex;
  gap: 18px;
  width: max-content;
  margin: 0 0 28px;
  color: rgba(11, 47, 107, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.samples {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-card,
.service-grid > div,
.step,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 47, 107, 0.07);
}

.sample-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 24px;
}

.sample-card p:not(.card-label),
.step p {
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

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

.tss-linkout {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(11, 47, 107, 0.16);
  border-radius: 20px;
  background: #fff;
}

.tss-linkout p {
  margin: 0 0 8px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.quote-grid article {
  min-height: 270px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--sky);
}

.quote-grid blockquote {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.quote-grid cite {
  color: var(--muted);
}

.services {
  background: #fff;
}

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

.service-grid > div {
  padding: 26px;
}

.service-grid ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.service-grid li {
  margin: 10px 0;
}

.process {
  background: linear-gradient(135deg, var(--navy), #123f86);
  color: #fff;
}

.process h2,
.process h3 {
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step {
  padding: 26px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 800;
}

.step p {
  color: rgba(255, 255, 255, 0.76);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  background: var(--soft);
}

.cta p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 76px);
  background: #071d43;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.section-reveal {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(30px, -18px, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1040px) {
  .hero,
  .split,
  .proof,
  .cta {
    grid-template-columns: 1fr;
  }

  .cards.samples,
  .service-grid,
  .steps,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 13px;
  }

  .brand img {
    width: min(260px, 84vw);
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(2.2rem, 9.8vw, 2.9rem);
    line-height: 1.02;
  }

  .hero-copy,
  .hero-panel {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .lead {
    font-size: 1.08rem;
  }

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

  .button {
    width: 100%;
  }

  .quote-strip,
  .cards.samples,
  .service-grid,
  .steps,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .quote-strip {
    gap: 12px;
  }

  .quote-mark {
    font-size: 4rem;
  }

  .stat-grid div {
    grid-template-columns: 1fr;
  }

  .sample-marquee {
    font-size: 2.2rem;
  }
}
