:root {
  --ivory: #faf8f1;
  --navy-deep: #16233f;
  --navy: #243555;
  --gold: #d7b15e;
  --gold-soft: #ead7a2;
  --foreground: #243042;
  --muted: #667184;
  --border: rgba(27, 41, 70, 0.12);
  --white: #ffffff;
  --shadow: 0 30px 80px -30px rgba(22, 35, 63, 0.35);
  --gradient-hero: linear-gradient(135deg, #16233f 0%, #22335a 60%, #31497b 100%);
  --gradient-gold: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--foreground);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-bordered {
  border-top: 1px solid var(--border);
}

.section-soft {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--navy-deep);
  color: var(--ivory);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 248, 241, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  font-size: 14px;
  color: rgba(36, 48, 66, 0.8);
}

.desktop-nav a.is-active::after,
.desktop-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
}

.header-actions {
  gap: 14px;
}

.phone-link {
  font-size: 14px;
  color: var(--navy-deep);
}

.phone-link:hover,
.text-link:hover,
.footer-grid a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--ivory);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 20px;
}

.mobile-nav-inner a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(27, 41, 70, 0.08);
  font-size: 14px;
}

.mobile-cta {
  margin-top: 12px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
}

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

.button-dark {
  background: var(--navy-deep);
  color: var(--ivory);
}

.button-dark:hover {
  background: var(--navy);
}

.button-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.button-gold:hover {
  opacity: 0.92;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--ivory);
}

.button-outline:hover,
.button-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--ivory);
}

.button-block {
  width: 100%;
}

.hero {
  background: var(--navy-deep);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  height: 78vh;
  max-height: 820px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 21, 39, 0.68) 0%, rgba(12, 21, 39, 0.38) 46%, rgba(12, 21, 39, 0.12) 100%),
    linear-gradient(to top, rgba(22, 35, 63, 0.94), rgba(22, 35, 63, 0.52) 38%, rgba(22, 35, 63, 0.08) 100%);
}

.hero-caption {
  position: absolute;
  inset: auto 0 0;
  padding-bottom: 84px;
  color: var(--ivory);
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero-caption h1 {
  margin-top: 16px;
  max-width: 780px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.hero-copy {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  color: rgba(250, 248, 241, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 2;
}

.dot {
  width: 20px;
  height: 4px;
  border: 0;
  background: rgba(250, 248, 241, 0.4);
  cursor: pointer;
  transition: 0.25s ease;
}

.dot.is-active {
  width: 40px;
  background: var(--gold);
}

.stats-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0;
}

.stat-value {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  color: var(--navy-deep);
}

.stat-label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  max-width: 720px;
}

.section-head h2,
.about-grid h2,
.finance-grid h2,
.cta-band h2,
.clientele-grid h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: var(--navy-deep);
}

.section-dark .section-head h2 {
  color: var(--ivory);
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-note,
.copy-stack,
.copy-stack p {
  color: var(--muted);
  line-height: 1.9;
}

.copy-stack strong {
  color: var(--navy-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 35, 63, 0.75), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card:hover::after,
.gallery-card:hover span {
  opacity: 1;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.about-grid,
.finance-grid,
.clientele-grid {
  display: grid;
  gap: 48px;
}

.about-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr);
}

.gold-rule {
  width: 120px;
  height: 1px;
  margin-top: 30px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--navy-deep);
  font-size: 14px;
}

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

.service-card,
.industry-grid div {
  background: var(--white);
}

.service-card {
  padding: 34px;
}

.service-card h3,
.reasons-grid h3,
.finance-panel h3,
.industry-grid div {
  color: var(--navy-deep);
}

.service-card h3 {
  font-size: 24px;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.finance-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr);
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 28px;
}

.feature-list li,
.benefit-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before,
.benefit-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

.finance-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: 40px;
  color: var(--ivory);
  background: var(--gradient-hero);
  box-shadow: var(--shadow);
}

.panel-icon {
  font-size: 30px;
  color: var(--gold);
}

.finance-panel h3 {
  margin-top: 28px;
  color: var(--ivory);
  font-size: 34px;
  line-height: 1.2;
}

.panel-foot {
  padding-top: 22px;
  border-top: 1px solid rgba(250, 248, 241, 0.2);
}

.panel-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel-number {
  margin-top: 8px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 44px;
}

.panel-number span {
  color: var(--gold);
}

.panel-copy {
  margin-top: 4px;
  color: rgba(250, 248, 241, 0.66);
  font-size: 12px;
}

.gold-rule-soft {
  width: 100%;
  max-width: none;
  margin: 44px 0;
  opacity: 0.5;
}

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

.reasons-grid article {
  padding-top: 24px;
  border-top: 1px solid rgba(250, 248, 241, 0.16);
}

.reasons-grid span {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--gold);
}

.reasons-grid h3 {
  margin-top: 12px;
  color: var(--ivory);
  font-size: 24px;
}

.reasons-grid p {
  margin-top: 12px;
  color: rgba(250, 248, 241, 0.72);
  line-height: 1.85;
}

.clientele-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.industry-grid div {
  padding: 28px 24px;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.5;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.cta-band-inner {
  padding: 84px 0;
  text-align: center;
  color: var(--ivory);
}

.cta-band h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ivory);
}

.cta-band h2 em {
  color: var(--gold);
  font-style: normal;
}

.cta-band p {
  max-width: 620px;
  margin: 20px auto 0;
  color: rgba(250, 248, 241, 0.78);
  line-height: 1.8;
}

.site-footer {
  margin-top: 96px;
  background: var(--navy-deep);
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
}

.footer-brand-head img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-brand-head strong,
.site-footer h4 {
  color: var(--gold);
}

.footer-brand p,
.site-footer li,
.site-footer .footer-bottom {
  color: rgba(250, 248, 241, 0.72);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 520px;
  line-height: 1.85;
}

.site-footer h4 {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer li + li {
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 248, 241, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 12px;
}

.floating-book {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 35, 63, 0.76);
  backdrop-filter: blur(6px);
}

.consultation-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(250, 248, 241, 0.9);
  color: var(--navy-deep);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-head {
  padding: 28px;
  background: var(--navy-deep);
  color: var(--ivory);
}

.modal-kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal-head h3 {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.25;
}

.modal-head p:last-child {
  margin-top: 6px;
  color: rgba(250, 248, 241, 0.72);
  font-size: 13px;
}

.modal-form {
  padding: 24px;
}

.modal-form label {
  display: block;
}

.modal-form label + label,
.benefit-list,
.modal-form .button {
  margin-top: 16px;
}

.modal-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(0, 122px) minmax(0, 1fr);
  gap: 10px;
}

.modal-form input,
.modal-form select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--ivory);
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.modal-form input:focus,
.modal-form select:focus {
  border-color: var(--gold);
}

.field-hint,
.field-error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: #b42318;
  min-height: 18px;
}

.modal-form input.is-invalid,
.modal-form select.is-invalid {
  border-color: #b42318;
  background: #fff5f4;
}

.benefit-list {
  color: var(--muted);
  font-size: 13px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .about-grid,
  .finance-grid,
  .clientele-grid,
  .footer-grid,
  .split-head {
    grid-template-columns: 1fr;
  }

  .reasons-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero-stage {
    min-height: 520px;
    height: 72vh;
  }

  .hero-caption {
    padding-bottom: 88px;
  }

  .stats-grid,
  .feature-list,
  .reasons-grid,
  .services-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .footer-bottom-inner {
    grid-template-columns: 1fr;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-bottom-inner {
    display: grid;
  }

  .floating-book {
    right: 16px;
    bottom: 16px;
    padding-inline: 18px;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }
}
