:root {
  --bg: #f5f1e8;
  --paper: #fbf8f1;
  --ink: #122049;
  --text: #20294e;
  --muted: #6c7290;
  --navy: #262cb9;
  --navy-deep: #1d248f;
  --navy-dark: #181f72;
  --yellow: #ffcf35;
  --yellow-deep: #efba11;
  --white: #ffffff;
  --line: rgba(27, 38, 109, 0.08);
  --shadow-soft: 0 18px 60px rgba(24, 31, 114, 0.1);
  --shadow-strong: 0 28px 80px rgba(21, 29, 102, 0.18);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-round: 999px;
  --max: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(38, 44, 185, 0.08), transparent 28%),
    radial-gradient(circle at 80% 65%, rgba(255, 207, 53, 0.08), transparent 18%),
    linear-gradient(180deg, #faf8f2 0%, var(--bg) 36%, #fbf8f1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(17, 26, 78, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 78, 0.018) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 22px;
  margin-bottom: 22px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(250, 247, 239, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(24, 31, 114, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 50px;
  height: 50px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(38, 44, 185, 0.08);
  object-fit: contain;
}

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

.brand-eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-text strong {
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--yellow);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-round);
  font-weight: 700;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 31, 114, 0.15);
}

.button--primary {
  color: #172059;
  background: linear-gradient(180deg, #ffd95a 0%, var(--yellow) 100%);
}

.button--ghost {
  color: var(--navy-dark);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(38, 44, 185, 0.08);
}

.button--full {
  width: 100%;
}

.section-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.section-card--navy {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--white);
}

.section-card--pattern {
  background:
    linear-gradient(135deg, rgba(24, 31, 114, 0.96), rgba(38, 44, 185, 0.96)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 34px;
  padding: 44px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 88% 25%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #2730bb 0%, #2b34c4 58%, #21277f 100%);
  box-shadow: 0 38px 90px rgba(24, 31, 114, 0.26);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  left: -42px;
  bottom: 86px;
  width: 118px;
  height: 62px;
  border-radius: 0 18px 18px 0;
  background: rgba(24, 31, 114, 0.9);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.section-tag {
  margin: 0 0 15px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-tag--light {
  color: rgba(255, 255, 255, 0.8);
}

.hero h1,
.section-heading h2,
.split-band__copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 7ch;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 1.14rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.94);
}

.hero-body {
  max-width: 56ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.78;
}

.hero-actions {
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-orb {
  position: absolute;
  top: 4px;
  right: 40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.12) 72%, transparent 74%);
  box-shadow: 0 26px 50px rgba(12, 17, 58, 0.2);
}

.hero-image-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(92%, 470px);
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  border-radius: 22px;
}

.services-preview,
.split-band,
.advantage-grid,
.principles-band,
.process-section,
.contact-section {
  margin-top: 32px;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.section-heading p:last-child {
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading--center {
  margin: 0 auto 22px;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.service-card {
  padding: 18px 18px 24px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.service-image {
  width: 100%;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.service-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-card h3,
.mini-feature h3,
.principle-item h3,
.process-step h3,
.contact-box h3 {
  margin: 0 0 10px;
}

.service-card p,
.mini-feature p,
.principle-item p,
.process-step p,
.contact-panel p,
.contact-box p,
.split-band__copy p {
  margin: 0;
  line-height: 1.72;
}

.mini-feature p,
.contact-panel p,
.contact-box p {
  color: var(--muted);
}

.split-band__copy p,
.principle-item p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card:hover,
.service-card:focus-within {
  background: linear-gradient(180deg, rgba(38, 44, 185, 1), rgba(28, 36, 135, 1));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.service-card:hover p,
.service-card:focus-within p {
  color: rgba(255, 255, 255, 0.82);
}

.service-card:hover .service-image,
.service-card:focus-within .service-image {
  background: rgba(255, 255, 255, 0.14);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 0;
  align-items: stretch;
}

.split-band__copy {
  padding: 42px 36px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.split-band__copy h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.04;
}

.split-band__copy p {
  margin-top: 18px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--yellow);
  font-weight: 700;
}

.split-band__visual {
  background: rgba(255, 255, 255, 0.82);
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0;
}

.media-card {
  height: 100%;
  min-height: 360px;
  border-radius: 0;
  box-shadow: none;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.mini-feature {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255, 207, 53, 0.16), rgba(38, 44, 185, 0.08));
  color: var(--navy);
}

.icon-badge svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.principles-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
}

.principles-band__media {
  position: relative;
  padding: 0 20px 0 0;
  display: flex;
}

.video-card {
  position: relative;
  width: 100%;
  border: 3px solid #3140de;
  box-shadow: var(--shadow-strong);
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
}

.principles-band__copy {
  padding: 36px 28px 34px;
  border-radius: var(--radius-xl);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.principle-item {
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-section {
  padding-top: 18px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  align-items: start;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2px dashed rgba(38, 44, 185, 0.22);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 16px 0;
  text-align: center;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #eef1ff 100%);
  border: 2px solid #3140de;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(38, 44, 185, 0.12);
  vertical-align: middle;
}

.process-step p {
  max-width: 31ch;
  margin: 0 auto;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 22px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.04;
}

.contact-panel p {
  margin-top: 18px;
}

.contact-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-points li {
  position: relative;
  margin-top: 9px;
  padding-left: 20px;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.contact-box {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--navy-dark), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow-strong);
}

.contact-box a:not(.button) {
  display: inline-block;
  margin: 8px 0 14px;
  font-size: clamp(1.26rem, 2vw, 1.72rem);
  font-weight: 800;
  word-break: break-word;
}

.contact-box p {
  color: rgba(255, 255, 255, 0.4);
}

.contact-box .button {
  margin-top: 40px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 6px 0;
  color: var(--muted);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo strong,
.footer-links a {
  color: var(--ink);
}

.footer-links {
  text-align: right;
}

.footer-links p {
  margin: 6px 0 0;
}

.interactive-surface {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    border-color 220ms ease;
  will-change: transform;
}

.interactive-surface:hover,
.interactive-surface:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

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

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

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .hero,
  .service-cards,
  .split-band,
  .mini-grid,
  .principles-band,
  .principle-list,
  .process-line,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

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

  .hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
  }

  .hero-image-wrap img {
    aspect-ratio: 1.16 / 1;
  }

  .hero-orb {
    right: 50%;
    transform: translateX(50%);
  }

  .split-band__copy {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .split-band__visual {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .principles-band__copy {
    border-top-left-radius: var(--radius-xl);
  }

  .principles-band__media {
    padding-right: 0;
  }

  .video-card {
    margin-bottom: 18px;
  }

  .process-line::before {
    display: none;
  }

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

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max));
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .contact-section,
  .contact-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 26px;
  }

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

  .hero-orb {
    width: 180px;
    height: 180px;
    top: 18px;
  }

  .hero-image-wrap {
    padding: 14px;
  }

  .media-card {
    min-height: 300px;
  }

  .site-nav {
    gap: 14px;
  }

  .split-band__copy,
  .principles-band__copy,
  .mini-feature,
  .service-card,
  .contact-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

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

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