:root {
  --navy: #0B1F3A;
  --navy-line: #2C4466;
  --gold: #D9B866;
  --accent: #8A6A1F;
  --ink: #0E1B2E;
  --body: #33415A;
  --muted: #556178;
  --soft: #DCE4EF;
  --sand: #F5F3EE;
  --sand-line: #E4E2DA;
  --placeholder: #E2DFD5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Aptos, "Aptos SemiBold", "Albert Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.5;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
h1, h2, h3 { font-weight: 700; margin: 0; }
p { margin: 0; }

/* Header */
.site-header { background: var(--navy); }
.site-header .wrap { padding-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.site-header .logo img { height: 112px; width: auto; display: block; }
.site-nav { width: 100%; border-top: 1px solid var(--navy-line); padding: 6px 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 44px; font-size: 14px; letter-spacing: 0.2em; }
.site-nav a { color: #FFFFFF; text-decoration: none; padding: 14px 0 10px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-bottom-color: var(--gold); color: #FFFFFF; }

/* Shared type */
.eyebrow { font-size: 14px; letter-spacing: 0.24em; color: var(--accent); }
.eyebrow.gold { color: var(--gold); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
.lead { font-size: 18px; color: var(--body); }
.dark { background: var(--navy); color: #FFFFFF; }
.dark .lead, .dark p { color: var(--soft); }
.sand { background: var(--sand); }
.section { padding-top: 96px; padding-bottom: 96px; }
.btn { display: inline-block; text-decoration: none; padding: 15px 28px; border-radius: 4px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { color: var(--navy); filter: brightness(1.06); }
.btn-outline { border: 1px solid #FFFFFF; color: #FFFFFF; padding: 14px 27px; }
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--gold); }
.btn-navy:hover { color: #FFFFFF; }
.placeholder { background: var(--placeholder); color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 15px; }

/* Hero */
.hero .wrap { padding-top: 96px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 56px; }
.hero h1 { max-width: 1040px; font-size: clamp(40px, 6vw, 84px); line-height: 1.03; letter-spacing: -0.01em; }
.hero .rule { width: 180px; height: 3px; background: var(--gold); }
.hero .intro { max-width: 640px; font-size: 21px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; border-top: 1px solid var(--navy-line); padding-top: 32px; }
.stat-num { font-size: clamp(38px, 4vw, 54px); line-height: 1; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 16px; color: var(--soft); margin-top: 6px; }

/* Ticker */
.ticker { background: var(--sand); border-bottom: 1px solid var(--sand-line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; font-size: 15px; letter-spacing: 0.2em; color: var(--muted); padding: 18px 0; animation: ticker 48s linear infinite; }
.ticker-track div { display: flex; gap: 48px; padding-right: 48px; }

/* Company */
.company { display: flex; flex-wrap: wrap; gap: 40px 80px; align-items: flex-start; padding-top: 104px; }
.company .head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.company .body { flex: 2 1 520px; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: var(--body); }

/* Team */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px 40px; margin-top: 48px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person .photo { aspect-ratio: 4 / 5; border-radius: 4px; }
.person h3 { font-size: 26px; line-height: 1.15; margin-top: 8px; }
.person .title { font-size: 15px; letter-spacing: 0.18em; color: var(--accent); }
.person p { font-size: 17px; color: var(--body); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0 56px; margin-top: 48px; }
.principle { display: flex; flex-direction: column; gap: 12px; padding: 30px 0; border-top: 3px solid var(--navy); }
.principle .num { font-size: 44px; line-height: 1; font-weight: 700; color: var(--accent); }
.principle h3 { font-size: 25px; }
.principle p { font-size: 17px; color: var(--body); }

/* Featured deal */
.deal { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.deal .text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; }
.deal .pic { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.deal .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.deal-nums { display: flex; flex-wrap: wrap; gap: 20px 48px; border-top: 1px solid var(--navy-line); padding-top: 24px; }
.deal-nums .n { font-size: 36px; line-height: 1; font-weight: 700; }
.deal-nums .n.gold { color: var(--gold); }
.deal-nums .l { font-size: 15px; color: var(--soft); margin-top: 4px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.news-card { background: #FFFFFF; border-radius: 4px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.news-card .date { font-size: 14px; letter-spacing: 0.18em; color: var(--muted); }
.news-card h3 { font-size: 22px; }
.news-card p { font-size: 16px; color: var(--body); }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 31, 58, .14); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 80px; padding-top: 104px; padding-bottom: 104px; }
.contact .text { flex: 1 1 420px; max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.contact .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--soft); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 15px; }
.site-footer img { height: 44px; width: auto; display: block; }
.disclaimer { font-size: 13px; color: var(--soft); line-height: 1.6; flex-basis: 100%; opacity: .85; }

/* Track record */
.tr-hero .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 48px; }
.tr-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.tr-stats > div { border-top: 2px solid var(--gold); padding-top: 22px; }
.tr-stats .stat-num { color: #FFFFFF; font-size: clamp(40px, 4.6vw, 60px); }
.feature-card { text-decoration: none; color: var(--ink); background: #FFFFFF; border-radius: 10px; overflow: hidden; display: flex; flex-wrap: wrap; box-shadow: 0 4px 16px rgba(11, 31, 58, .08); }
.feature-card:hover { color: var(--ink); }
.feature-card .img { flex: 1 1 420px; min-height: 360px; position: relative; }
.feature-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card .info { flex: 1 1 420px; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.feature-card .status { font-size: 14px; letter-spacing: 0.18em; color: var(--muted); }
.feature-card h3 { font-size: 30px; line-height: 1.15; }
.feature-card .addr { font-size: 16px; color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; padding: 22px 0; border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.mini-stats .n { font-size: 34px; line-height: 1; font-weight: 700; }
.mini-stats .n.accent { color: var(--accent); }
.mini-stats .l { font-size: 14px; color: var(--muted); margin-top: 4px; }
.feature-card .more { font-size: 17px; color: var(--accent); }
.small-card { background: #FFFFFF; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(11, 31, 58, .08); display: flex; flex-direction: column; }
.small-card .placeholder { height: 240px; }
.small-card .info { padding: 30px; display: flex; flex-direction: column; gap: 10px; }

/* Case study */
.cs-hero .wrap { padding-top: 80px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.cs-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; max-width: 920px; }
.cs-hero .sub { font-size: 20px; color: var(--soft); max-width: 780px; }
.cs-figure img { width: 100%; height: clamp(260px, 42vw, 540px); object-fit: cover; display: block; border-radius: 4px; }
.cs-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.cs-figure { margin: 0; }
.key-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.key-nums > div { background: #FFFFFF; border: 1px solid var(--sand-line); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.key-nums .l { font-size: 14px; color: var(--muted); }
.key-nums .n { font-size: 40px; font-weight: 700; line-height: 1.1; }
.key-nums .n.accent { color: var(--accent); }
.key-nums .s { font-size: 15px; color: var(--muted); }
.before-after { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.before-after .box { flex: 1 1 300px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.before-after .box.before { background: #FFFFFF; border: 1px solid var(--sand-line); }
.before-after .box.after { background: var(--navy); color: #FFFFFF; }
.before-after .box .l { font-size: 15px; color: var(--muted); }
.before-after .box.after .l { color: #C9D6E3; }
.before-after .box .n { font-size: 48px; font-weight: 700; }
.before-after .box p { font-size: 16px; color: var(--body); }
.before-after .box.after p { color: var(--soft); }
.before-after .arrow { display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.two-col > div { display: flex; flex-direction: column; gap: 16px; }
.two-col h2 { font-size: 32px; line-height: 1.2; }
.two-col p { font-size: 17px; line-height: 1.65; color: var(--body); }
.moves { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.move { background: #FFFFFF; border: 1px solid var(--sand-line); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.move .k { font-size: 15px; color: var(--accent); }
.move h3 { font-size: 22px; }
.move p { font-size: 16px; line-height: 1.6; color: var(--body); }
.move.dark { background: var(--navy); border-color: var(--navy); }
.move.dark .k { color: var(--gold); }
.move.dark p { color: var(--soft); }
.table-box { overflow-x: auto; }
.table-box table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.table-box th { text-align: left; color: var(--muted); font-size: 14px; padding: 14px 12px; border-bottom: 2px solid var(--ink); }
.table-box td { padding: 16px 12px; border-bottom: 1px solid var(--sand-line); }
.takeaway { font-size: 30px; line-height: 1.35; max-width: 900px; }

/* Motion */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rise { animation: rise .9s ease-out both; }
.rise2 { animation: rise .9s ease-out .2s both; }
.rise3 { animation: rise .9s ease-out .4s both; }
.grow { transform-origin: left center; animation: grow 1.2s ease-out .5s both; }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise2, .rise3, .grow, .ticker-track { animation: none; }
  .lift { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .logo img { height: 72px; }
  .site-nav { gap: 0 22px; font-size: 12px; letter-spacing: 0.14em; }
  .feature-card .info { padding: 28px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
/* Phone menu button */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #FFFFFF; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 800px) {
  .site-header .wrap { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; gap: 0; }
  .site-header .logo img { height: 60px; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; flex-direction: column; align-items: center; gap: 0; margin-top: 14px; padding: 6px 0 4px; font-size: 14px; letter-spacing: 0.18em; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; }
}

/* Tables on phones */
@media (max-width: 640px) {
  .table-box table { min-width: 0; }
  .table-box.stack thead { display: none; }
  .table-box.stack tr { display: block; padding: 10px 0 12px; border-bottom: 2px solid var(--ink); }
  .table-box.stack td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 5px 0; text-align: right; }
  .table-box.stack td::before { content: attr(data-label); color: var(--muted); font-size: 14px; text-align: left; flex: 0 0 auto; }
  .table-box.stack td:first-child { display: block; text-align: left; font-weight: 600; padding-bottom: 8px; }
  .table-box.stack td:first-child::before { content: none; }
}
