:root {
  --bg: #f6f2ed;
  --surface: #ffffff;
  --surface-soft: #f1ece6;
  --text: #22355f;
  --muted: #627295;
  --primary: #315bcf;
  --primary-deep: #1d43b0;
  --accent: #ff7b67;
  --gold: #f2c14d;
  --line: rgba(43, 84, 188, 0.14);
  --shadow: 0 24px 60px rgba(47, 79, 171, 0.12);
  --shadow-hover: 0 30px 70px rgba(47, 79, 171, 0.18);
  --radius-xl: 48px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: min(1320px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #fbf8f5 0%, #f3eee8 100%);
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.65;
}

.page-shell::before {
  width: 280px;
  height: 280px;
  top: -60px;
  left: -80px;
  background: rgba(242, 193, 77, 0.18);
}

.page-shell::after {
  width: 360px;
  height: 360px;
  right: -160px;
  top: 180px;
  background: rgba(255, 123, 103, 0.12);
}

.site-header,
.section,
.feature-band,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(36, 75, 180, 0.14);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand-copy span,
.site-nav a,
.hero-text,
.about-copy p,
.info-card p,
.profile-card p,
.article-card p,
.mini-note,
.footer-bottom p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section {
  padding: 26px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(520px, 0.95fr);
  gap: 52px;
  align-items: center;
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2,
h3,
.stat-circle strong {
  margin: 0;
  color: var(--text);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.6rem, 6vw, 6rem);
  max-width: 11.4ch;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  max-width: 16ch;
}

.hero-title {
  max-width: 13.2ch;
}

.title-wide {
  max-width: 19ch;
}

.about-title {
  max-width: 38ch;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.hero-text {
  max-width: 66ch;
  font-size: 1.08rem;
  line-height: 1.82;
  margin: 18px 0 24px;
}

.hero-actions,
.split-heading,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.info-card:hover,
.profile-card:hover,
.article-card:hover,
.hero-card:hover,
.back-to-top:hover {
  transform: translateY(-6px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #4f75dd 100%);
  box-shadow: 0 16px 32px rgba(49, 91, 207, 0.22);
}

.button-primary:hover {
  box-shadow: 0 24px 42px rgba(49, 91, 207, 0.3);
}

.button-secondary,
.button-tertiary,
.back-to-top {
  border: 1px solid rgba(49, 91, 207, 0.22);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}

.button-secondary:hover,
.button-tertiary:hover,
.back-to-top:hover {
  border-color: rgba(255, 123, 103, 0.6);
  color: var(--primary);
  box-shadow: 0 16px 28px rgba(31, 66, 171, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 20px 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 91, 207, 0.08);
  box-shadow: 0 14px 34px rgba(34, 53, 95, 0.06);
}

.hero-metrics strong,
.stat-pill strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-metrics span,
.stat-pill span,
.stat-pill strong,
.stat-circle span,
.stat-circle em,
.article-meta {
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-card,
.info-card,
.profile-card,
.article-card,
.stat-pill {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.hero-image-card {
  position: absolute;
  inset: 0 0 70px 0;
  overflow: hidden;
  border-radius: 72px 72px 72px 220px;
  box-shadow: var(--shadow);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.48));
}

.hero-image-card img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-card {
  position: absolute;
  left: -12px;
  bottom: 0;
  max-width: 360px;
  padding: 22px 24px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(49, 91, 207, 0.12);
  box-shadow: var(--shadow);
}

.hero-badge-card span,
.section-heading p:last-child,
.mini-note {
  display: block;
  font-size: 0.94rem;
}

.hero-badge-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.section-surface {
  padding: 58px clamp(28px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 86px 86px 86px 180px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-heading {
  margin-bottom: 24px;
  max-width: 980px;
}

.split-heading > div:first-child {
  flex: 1 1 720px;
  min-width: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.about-copy p,
.info-card p,
.profile-card p,
.article-card p {
  font-size: 1.03rem;
  line-height: 1.85;
}

.about-copy {
  max-width: 70ch;
}

.stat-orbit {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.stat-pill {
  max-width: 380px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.8));
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(31, 66, 171, 0.08);
}

.stat-circle {
  width: clamp(230px, 32vw, 340px);
  aspect-ratio: 1;
  padding: 42px;
  display: grid;
  align-content: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 22% 20%, var(--accent) 0 14%, transparent 14%),
    linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 24px 46px rgba(31, 66, 171, 0.22);
}

.stat-circle span,
.stat-circle em {
  opacity: 0.84;
}

.stat-circle strong {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: #fff;
  margin: 14px 0;
}

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

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

.info-card,
.profile-card,
.article-card {
  padding: 30px 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(49, 91, 207, 0.1);
  box-shadow: 0 18px 40px rgba(34, 53, 95, 0.06);
}

.info-card:hover,
.profile-card:hover,
.article-card:hover,
.hero-card:hover,
.stat-pill:hover {
  border-color: rgba(255, 123, 103, 0.35);
  box-shadow: var(--shadow-hover);
}

.icon-wrap {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(49, 91, 207, 0.1), rgba(255, 123, 103, 0.08));
}

.icon {
  font-size: 1.6rem;
  font-weight: 800;
}

.feature-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 0;
  margin-top: 10px;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 86px 86px 86px 180px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-image {
  min-height: 460px;
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(30px, 4vw, 56px);
  background:
    radial-gradient(circle at top right, rgba(255, 123, 103, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 236, 230, 0.98));
}

.feature-copy p,
.mini-note {
  max-width: 60ch;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(49, 91, 207, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.brand-mini img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.approach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
  min-height: 230px;
}

.profile-tag {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(49, 91, 207, 0.12), rgba(255, 123, 103, 0.12));
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  min-height: 220px;
}

.article-meta {
  margin: 0 0 16px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.site-footer {
  margin-top: 20px;
  padding: 48px clamp(28px, 4vw, 58px) 34px;
  color: #fff;
  border-radius: 84px 84px 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 123, 103, 0.3), transparent 18%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.site-footer h2,
.site-footer .eyebrow,
.site-footer .footer-bottom p {
  color: #fff;
}

.footer-copy h2 {
  margin-bottom: 28px;
}

.footer-copy .footer-title {
  max-width: 38ch;
}

.back-to-top {
  color: #fff;
  min-width: 68px;
  min-height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@media (max-width: 1080px) {
  :root {
    --container: min(100vw - 36px, 100%);
  }

  .hero,
  .about-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .service-grid,
  .approach-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-orbit {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 100%);
    --radius-xl: 34px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .hero {
    gap: 20px;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
  }

  .hero-title,
  .title-wide,
  .about-title,
  .footer-title {
    max-width: 100%;
  }

  .hero-metrics,
  .service-grid,
  .approach-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-image-card {
    inset: 0 0 90px 0;
    border-radius: 42px 42px 42px 120px;
  }

  .hero-badge-card {
    left: 0;
    right: 18px;
    max-width: none;
  }

  .section-surface,
  .feature-band,
  .site-footer {
    border-radius: 42px;
  }

  .stat-circle {
    width: min(100%, 300px);
    padding: 32px;
  }

  .feature-image {
    min-height: 280px;
  }

  .feature-band {
    margin-bottom: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
