:root {
  --navy: #0f2240;
  --gold: #b48a3c;
  --cream: #fbfaf6;
  --soft-cream: #f4f1e8;
  --border: #e7e1d2;
  --text: #14201b;
  --muted: #60706a;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 14px; background: var(--navy); box-shadow: 0 10px 24px rgba(15,34,64,.18); }
.brand-copy strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.01em; }
.brand-copy small { display: block; margin-top: 1px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.prologs-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14px; }
.prologs-menu a { text-decoration: none; }
.prologs-menu a:hover { color: var(--navy); }
.menu-toggle { display: none; border: 1px solid var(--border); background: var(--white); border-radius: 999px; padding: 9px 14px; font-weight: 800; color: var(--navy); }
.hero-section { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--cream); }
.orb { pointer-events: none; position: absolute; border-radius: 999px; filter: blur(48px); }
.orb-left { left: -120px; top: -120px; width: 320px; height: 320px; background: #dce5de; opacity: .6; }
.orb-right { right: -120px; top: 80px; width: 384px; height: 384px; background: #edf3ef; opacity: .8; }
.hero-grid { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.75); color: var(--navy); border-radius: 999px; padding: 9px 16px; font-size: 14px; box-shadow: 0 8px 24px rgba(20,32,27,.04); }
.icon { width: 32px; height: 32px; color: var(--navy); }
.eyebrow .icon { width: 16px; height: 16px; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1 { max-width: 900px; margin: 22px 0 0; font-size: clamp(44px, 7vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 950; }
.hero-copy p { margin-top: 24px; max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.button-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; padding: 15px 24px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--navy); color: var(--white); box-shadow: 0 16px 36px rgba(15,34,64,.18); }
.button.secondary { border: 1px solid var(--border); background: var(--white); color: var(--text); }
.stats-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.stat-card { border: 1px solid var(--border); background: rgba(255,255,255,.86); border-radius: 20px; padding: 20px; }
.stat-card strong { display: block; font-size: 20px; font-weight: 900; }
.stat-card span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ops-card, .service-card, .icon-card, .request-form { border: 1px solid var(--border); background: var(--white); border-radius: 28px; box-shadow: 0 10px 30px rgba(20,32,27,.06); }
.ops-card { padding: 24px; background: rgba(255,255,255,.86); }
.ops-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 20px; gap: 20px; }
.ops-head span { display: block; color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.ops-head h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.2; }
.ops-list { margin-top: 24px; display: grid; gap: 16px; }
.ops-item { border: 1px solid var(--border); background: var(--soft-cream); border-radius: 20px; padding: 16px; }
.ops-item strong { display: block; font-weight: 800; }
.ops-item p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.section { padding: 80px 0; }
.section.white { background: var(--white); }
.section.cream { background: var(--cream); }
.section-kicker { display: block; margin-bottom: 8px; color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
.section h2, .intro-grid h2, .split-grid h2, .narrow h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.035em; font-weight: 950; }
.section p, .intro-grid p, .split-grid p, .narrow p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: end; margin-bottom: 40px; }
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.service-card { padding: 28px; }
.service-card span { display: block; margin-bottom: 16px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .16em; }
.service-card h3, .icon-card h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 900; }
.icon-card { padding: 24px; }
.icon-card h3 { font-size: 18px; }
.icon-card p, .service-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.75; }
.split-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: start; }
.workflow-list { margin-top: 28px; display: grid; gap: 12px; }
.workflow-list div { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.workflow-list .icon { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; }
.narrow { max-width: 1180px; }
.narrow > * { max-width: 850px; }
.request-form { display: grid; gap: 16px; padding: 24px; }
.request-form input, .request-form select, .request-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 18px; padding: 13px 16px; outline: none; color: var(--text); background: var(--white); font: inherit; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,34,64,.10); }
.request-form button { border: 0; border-radius: 14px; padding: 15px 24px; font-weight: 800; background: var(--navy); color: var(--white); cursor: pointer; box-shadow: 0 16px 36px rgba(15,34,64,.18); }
.site-footer { background: var(--white); padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-brand { font-size: 24px; font-weight: 900; }
.site-footer p { margin: 8px 0 0; color: var(--muted); }
.default-page { padding-top: 80px; padding-bottom: 80px; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 24px; right: 24px; top: 78px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); box-shadow: 0 16px 36px rgba(20,32,27,.08); }
  .primary-nav.is-open { display: block; }
  .prologs-menu { flex-direction: column; gap: 12px; }
  .hero-grid { padding-top: 56px; padding-bottom: 72px; }
  .section { padding: 64px 0; }
}

/* Logo sizing fix: prevents uploaded Custom Logo from rendering at full image size. */
.brand .custom-logo-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(15,34,64,.18);
  overflow: hidden;
}
.brand img.custom-logo,
.site-header img.custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain;
}
.brand-copy { text-decoration: none; color: inherit; }
.brand-mark { color: inherit; text-decoration: none; flex: 0 0 40px; }

@media (max-width: 760px) {
  .brand .custom-logo-link { width: 38px; height: 38px; flex-basis: 38px; }
  .brand img.custom-logo,
  .site-header img.custom-logo { max-width: 26px !important; max-height: 26px !important; }
}
