:root {
  --navy: #031a31;
  --navy-deep: #021326;
  --gold: #c99b48;
  --gold-light: #e4b762;
  --ink: #0b1b30;
  --paper: #f7f5f0;
  --surface: #fffefa;
  --line: #dedbd3;
  --muted: #565e68;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --shadow: 0 14px 40px rgba(17, 29, 42, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
:where(a, button):focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

/* Navigation */
.site-header {
  height: 74px;
  background: var(--navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(1, 12, 24, .14);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 148px; height: 54px; flex: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin-left: auto; }
.main-nav a { padding: 10px 0; font-size: 13.5px; color: rgba(255,255,255,.88); transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-light); }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; padding: 7px; color: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; }
.nav-backdrop { display: none; }

/* Buttons */
.btn {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn span { font-size: 16px; line-height: 1; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover span { transform: translateX(3px); }
.btn--gold {
  background: linear-gradient(135deg, #dfb45e, #bc8736);
  color: #fff;
  box-shadow: 0 7px 18px rgba(185, 132, 48, .2), inset 0 0 0 1px rgba(255,255,255,.25);
}
.btn--outline { border-color: rgba(224, 180, 93, .75); color: #fff; background: rgba(2, 22, 43, .28); }
.header-cta { min-width: 204px; min-height: 44px; margin-left: 8px; padding-inline: 17px; font-size: 11px; }

/* Hero */
.hero {
  min-height: 620px;
  height: calc(100svh - 74px);
  max-height: 820px;
  color: #fff;
  background: var(--navy) url("assets/background_hero.png") center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,18,35,.42) 0%, rgba(2,18,35,.12) 58%, rgba(2,18,35,.02) 100%); }
.hero-inner { height: 100%; display: flex; align-items: center; }
.hero-copy { width: 640px; padding-bottom: 8px; }
.eyebrow {
  margin: 0 0 17px;
  color: #d8ae60;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 { margin: 0; font: 500 54px/1.1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #d7a85d; font-style: normal; }
.hero-lead { max-width: 590px; margin: 23px 0 27px; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn:first-child { min-width: 238px; }
.hero-actions .btn:last-child { min-width: 190px; }
.hero-note { margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .01em; }

/* Shared icons */
.asset-icon, .service-icon { display: grid; place-items: center; flex: none; color: var(--gold); }
.asset-icon { width: 58px; height: 58px; }
.asset-icon svg, .service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.asset-icon svg { width: 76%; height: 76%; }

/* Pillars */
.pillars { background: #faf9f6; border-bottom: 1px solid var(--line); }
.pillars-grid { min-height: 154px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.pillar { min-height: 100px; display: flex; align-items: center; gap: 14px; padding: 25px 25px; border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; border: 0; }
.pillar h3, .service-card h3, .steps h3 { margin: 0; text-transform: uppercase; font-size: 12.5px; line-height: 1.35; letter-spacing: .045em; }
.pillar p { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* Main sections */
.section { padding: 94px 0; }
.services { background: var(--paper); }
.services-layout, .process-layout, .results-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 58px; align-items: start; }
.services-layout { align-items: center; }
.services .section-intro { max-width: 280px; }
.eyebrow--gold { color: #9f742d; }
.section-intro h2, .process-intro h2, .results-intro h2 { margin: 0 0 20px; font: 500 32px/1.16 var(--serif); letter-spacing: -.01em; }
.section-intro > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.text-link, .service-card > a { display: inline-flex; align-items: center; gap: 9px; color: #9f742d; font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.text-link { margin-top: 28px; }

/* Services */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  min-height: 258px;
  padding: 25px 26px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.72);
  border: 1px solid #e7e3da;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(17, 29, 42, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: #d8c8aa; box-shadow: 0 18px 42px rgba(17,29,42,.1); }
.service-icon { width: 52px; height: 52px; margin: 0 0 19px; border-radius: 15px; color: #fff; background: #07213d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.service-icon svg { width: 52%; height: 52%; stroke-width: 1.55; }
.service-card h3 { margin-bottom: 10px; font-size: 13.5px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card > a { margin-top: auto; padding-top: 22px; }
.service-icon--library svg { width: 82%; height: 82%; stroke-width: 1.55; }
.asset-icon--library svg { width: 78%; height: 78%; stroke-width: 1.55; }

/* Process */
.section--dark { background: var(--navy); color: #fff; }
.process { padding: 96px 0 100px; }
.process-intro h2 { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 17px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; min-height: 195px; padding: 54px 25px 0 0; border-top: 1px solid rgba(201,155,72,.72); }
.steps li:last-child { border-top: 0; }
.steps li > span { position: absolute; top: -21px; left: 0; width: 42px; height: 42px; display: grid; place-items: center; color: #e0b45d; background: var(--navy); border: 1px solid var(--gold); border-radius: 50%; font: 600 18px var(--serif); }
.steps h3 { margin-bottom: 10px; font-size: 12px; }
.steps p { margin: 0; padding-right: 8px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.62; }

/* Results */
.results { padding-bottom: 92px; background: #faf9f6; }
.results-layout { align-items: center; }
.results-intro h2 { margin-bottom: 0; }
.metrics { display: flex; flex-direction: column; }
.metrics article { min-height: 112px; display: flex; align-items: center; gap: 20px; padding: 18px 10px; border-bottom: 1px solid var(--line); }
.metrics article:last-child { border-bottom: 0; }
.metrics .asset-icon { width: 52px; height: 52px; }
.metrics article > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 22px; width: 100%; }
.metrics strong { display: block; white-space: nowrap; color: var(--navy); font: 600 39px/1 var(--serif); letter-spacing: -.02em; }
.metrics p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.disclaimer { width: min(1180px, calc(100% - 48px)); margin: 27px auto 0; padding-top: 18px; text-align: right; color: #72797f; border-top: 1px solid var(--line); font-size: 10.5px; }

/* CTA and footer */
.cta-section { padding: 56px 0; background: #faf9f6; }
.cta-box { min-height: 150px; padding: 28px 38px; display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 24px; color: #fff; background: var(--navy); border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 18px 45px rgba(3,26,49,.14); }
.cta-box::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 300px; background: linear-gradient(150deg, transparent 43%, rgba(200,153,72,.18)); pointer-events: none; }
.cta-mark { width: 72px; height: 72px; position: relative; z-index: 1; }
.cta-mark img { width: 100%; height: 100%; object-fit: contain; }
.cta-box > div, .cta-box .btn { position: relative; z-index: 1; }
.cta-box h2 { margin: 0; font: 500 27px/1.2 var(--serif); }
.cta-box p { margin: 7px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }
.cta-box .btn { min-width: 252px; }
.cta-email { display: inline-block; margin-top: 7px; color: #e4b762; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cta-action { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-action small { color: rgba(255,255,255,.62); font-size: 10.5px; }
.site-footer { padding-top: 52px; color: #fff; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 2.2fr repeat(2, 1fr); gap: 38px; padding-bottom: 40px; }
.footer-grid h3 { margin: 5px 0 15px; color: #d2a655; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: rgba(255,255,255,.78); font-size: 12.5px; line-height: 1.55; }
.footer-grid a:hover { color: #fff; }
.footer-about { display: flex; align-items: flex-start; gap: 20px; }
.footer-about .brand { width: 138px; height: 66px; }
.footer-about p { max-width: 240px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(201,155,72,.8); border-radius: 50%; font-size: 13px; }
.copyright { padding: 18px; text-align: center; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; }

/* Legal pages */
.legal-page { background: #faf9f6; }
.legal-header .nav-wrap { justify-content: space-between; }
.legal-back { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.88); font-size: 13px; }
.legal-back:hover { color: var(--gold-light); }
.legal-hero { padding: 74px 0 68px; color: #fff; background: var(--navy); }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { max-width: 800px; margin: 0; font: 500 clamp(38px, 5vw, 58px)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.legal-meta { margin: 20px 0 0; color: rgba(255,255,255,.68); font-size: 13px; }
.legal-content { width: min(860px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 94px; }
.legal-summary { margin-bottom: 52px; padding: 25px 28px; background: #fff; border: 1px solid #e7e3da; border-left: 4px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow); }
.legal-summary p { margin: 0; color: var(--muted); font-size: 15px; }
.legal-section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 { margin: 0 0 16px; color: var(--navy); font: 500 29px/1.2 var(--serif); }
.legal-section h3 { margin: 26px 0 10px; color: var(--navy); font-size: 14px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.legal-section p { margin: 0 0 14px; }
.legal-section ul { margin: 12px 0 18px; padding-left: 22px; }
.legal-section li + li { margin-top: 7px; }
.legal-section a { color: #8f6829; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 18px 20px; background: #f1ede4; border-radius: 10px; }
.legal-footer { padding-top: 0; }
.legal-footer .copyright { border-top: 0; }

@media (max-width: 1050px) {
  .main-nav { gap: 17px; }
  .main-nav a:nth-last-child(-n+2) { display: none; }
  .header-cta { margin-left: 0; }
  .hero { background-position: 57% center; }
  .services-layout, .process-layout, .results-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
  .pillar { padding-inline: 15px; gap: 10px; }
  .pillar p { font-size: 11px; }
  .footer-grid { gap: 20px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 34px, 620px); }
  html { scroll-padding-top: 74px; }
  .site-header { height: 66px; }
  .brand { width: 142px; height: 54px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 3; margin-left: auto; }
  .nav-toggle span { transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-backdrop { display: block; position: fixed; inset: 66px 0 0; z-index: 1; background: rgba(0, 9, 18, .58); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .main-nav { display: flex; position: fixed; z-index: 2; top: 66px; left: 0; width: 100%; padding: 15px 22px 23px; flex-direction: column; align-items: stretch; gap: 2px; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 36px rgba(0,0,0,.24); transform: translateY(-115%); visibility: hidden; transition: transform .24s ease, visibility .24s ease; }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav a { display: block !important; min-height: 44px; padding: 11px 7px; font-size: 14px; }
  .hero { height: auto; min-height: max(590px, calc(100svh - 66px)); max-height: none; background-position: 64% center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(2,18,35,.9) 0%, rgba(2,18,35,.76) 68%, rgba(2,18,35,.58) 100%);
  }
  .hero-inner { min-height: max(590px, calc(100svh - 66px)); height: auto; align-items: flex-start; }
  .hero-copy { width: 100%; padding: 54px 0 45px; }
  .hero h1 { max-width: 590px; font-size: clamp(38px, 9vw, 50px); }
  .hero-lead { margin-block: 21px 25px; font-size: 15px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .pillar { min-height: 100px; padding: 15px 14px; border-bottom: 1px solid var(--line); }
  .pillar:first-child { padding-left: 14px; }
  .pillar:last-child { padding-right: 14px; }
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
  .section, .process { padding: 68px 0; }
  .services-layout, .process-layout, .results-layout { grid-template-columns: 1fr; gap: 36px; }
  .services .section-intro { max-width: 470px; }
  .section-intro, .process-intro, .results-intro { max-width: 470px; }
  .section-intro h2, .process-intro h2, .results-intro h2 { font-size: 31px; }
  .service-card { min-height: 240px; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .steps li { min-height: 0; padding: 4px 0 34px 62px; border-top: 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 39px; bottom: 0; left: 20px; width: 1px; background: rgba(201,155,72,.58); }
  .steps li > span { top: 0; left: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .metrics article { min-height: 102px; }
  .cta-section { padding: 46px 0; }
  .cta-box { grid-template-columns: 72px 1fr; padding: 28px; }
  .cta-action { grid-column: 1 / -1; align-items: flex-start; }
  .cta-box .btn { width: fit-content; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-bottom: 32px; }
  .footer-about { grid-column: 1 / -1; }
  .legal-hero { padding: 56px 0 52px; }
  .legal-content { width: min(100% - 34px, 620px); padding: 52px 0 70px; }
}

@media (max-width: 500px) {
  .hero {
    background-position: 66% center;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(2,18,35,.97) 0%, rgba(2,18,35,.92) 68%, rgba(2,18,35,.82) 100%);
  }
  .hero, .hero-inner { min-height: max(570px, calc(100svh - 66px)); }
  .hero-copy { padding: 43px 0 38px; }
  .hero h1 { max-width: 356px; font-size: clamp(25px, 7.9vw, 31px); line-height: 1.18; letter-spacing: -.012em; }
  .hero h1 em { white-space: nowrap; }
  .hero-lead { max-width: 350px; margin-block: 25px 28px; color: #fff; font-size: 14px; line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-note { margin-top: 10px; text-align: center; font-size: 11px; }
  .pillars-grid, .service-cards { grid-template-columns: 1fr; }
  .pillars-grid { padding: 9px 0; }
  .pillar { min-height: 88px; padding: 13px 8px; border-right: 0; }
  .pillar .asset-icon { width: 48px; height: 48px; }
  .pillar:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .section, .process { padding: 58px 0; }
  .service-cards { gap: 14px; }
  .service-card { min-height: 205px; padding: 21px; }
  .service-icon { width: 46px; height: 46px; margin-bottom: 15px; }
  .service-card > a { padding-top: 16px; }
  .metrics article { align-items: flex-start; gap: 12px; padding: 18px 0; }
  .metrics .asset-icon { width: 44px; height: 44px; }
  .metrics article > div { grid-template-columns: 1fr; gap: 7px; }
  .metrics strong { font-size: 36px; }
  .disclaimer { width: calc(100% - 34px); text-align: left; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-mark { display: none; }
  .cta-action { align-items: stretch; }
  .cta-box .btn { width: 100%; }
  .cta-action small { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { display: block; }
  .footer-about p { max-width: none; margin-top: 14px; }
  .legal-header .brand { width: 132px; }
  .legal-back { font-size: 12px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-summary { padding: 21px; }
  .legal-section h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .service-card:hover { transform: none; }
}
