:root {
  --navy: #080b23;
  --indigo: #131838;
  --frost: #f5f6fc;
  --white: #ffffff;
  --crimson: #f62c37;
  --red-text: #bf2939;
  --ink: #151a30;
  --body: #434b59;
  --muted: #5e6983;
  --line: #cbd1df;
  --header-height: 78px;
  --gutter: clamp(1.5rem, 5.5vw, 5.5rem);
}
* { box-sizing: border-box; }
/* Let the hero, not the footer, absorb any spare viewport height. */
html { background: var(--frost); scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); background: var(--frost); font: 400 1rem/1.65 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', Arial, sans-serif; font-weight: 600; }
a { color: inherit; text-underline-offset: .35em; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #fac3c7; color: var(--navy); }
a:focus-visible { outline: 2px solid var(--crimson); outline-offset: 6px; }
main:focus { outline: none; }
.page-width { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 40; inset: 12px auto auto 16px; padding: 12px 20px; background: white; color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Match TBI's translucent navy over a Frost page backing, at rest and on scroll. */
.site-header { position: sticky; top: 0; z-index: 30; flex-shrink: 0; color: white; background: rgba(8, 11, 35, .96); border-bottom: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(15px); }
.header-inner { display: flex; align-items: center; width: 100%; max-width: 1500px; margin-inline: auto; min-height: var(--header-height); padding-inline: 38px; }
.brand-logo { width: 170px; height: auto; }

.hero { flex: 1; display: flex; flex-direction: column; position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--header-height) - 1px); min-height: calc(100svh - var(--header-height) - 1px); color: white; background: radial-gradient(circle at 85% 72%, rgba(246, 44, 55, .1), transparent 34%), linear-gradient(116deg, #080b23 0%, #131838 72%, #1a1633 100%); }
/* Fixed-scale engraving keeps the line rhythm consistent across device sizes. */
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url('/assets/capital-engraving-field.svg') center / 640px 640px repeat; opacity: .035; }
/* A slow swell and drift in the engraving only; the content stays still.
   Overscan hides moving edges. Reduced-motion visitors retain the original field. */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { inset: -32px; animation: capital-engraving-wave 40s ease-in-out infinite; }
  @keyframes capital-engraving-wave {
    0%, 100% { transform: translate3d(-8px, -4px, 0) scale(1.025, 1.015) skewX(-.25deg); }
    25% { transform: translate3d(0, 6px, 0) scale(1.015, 1.035) skewX(0deg); }
    50% { transform: translate3d(8px, 4px, 0) scale(1.035, 1.015) skewX(.25deg); }
    75% { transform: translate3d(0, -6px, 0) scale(1.015, 1.035) skewX(0deg); }
  }
}
.hero-main { flex: 1; position: relative; display: flex; align-items: center; min-height: 0; padding-block: clamp(52px, 9svh, 100px) clamp(60px, 10svh, 112px); }
.hero-statement { position: relative; z-index: 1; width: 100%; }
.eyebrow { font: 800 .75rem/1.5 'Manrope', Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: 17px; color: #c3cade; margin-bottom: 38px; font-size: .8125rem; }
.hero-eyebrow::before { content: ''; width: 29px; height: 2px; flex: 0 0 auto; background: var(--crimson); }
h1 { font-size: clamp(4.25rem, min(8.45vw, 14svh), 8.5rem); line-height: 1.04; letter-spacing: -.06em; padding-bottom: .065em; }
h1 span, h1 em { display: block; }
h1 em { font-style: normal; color: #e0e5f4; }
.hero-introduction { position: relative; z-index: 1; border-top: 1px solid #ffffff36; padding-block: 31px 39px; }
.hero-copy { color: #cbd2e5; font-size: 1.0625rem; line-height: 1.75; max-width: 800px; text-wrap: pretty; }

.perspective { background: white; padding-block: 86px 91px; scroll-margin-top: 28px; }
.section-label { color: var(--red-text); margin-bottom: 34px; }
.perspective-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 112px); align-items: start; }
.perspective h2 { font-size: clamp(2.3rem, 3.3vw, 3.4rem); line-height: 1.16; letter-spacing: -.05em; }
.perspective h2 span { color: var(--muted); }
.perspective-layout > p { color: var(--body); font-size: 1.125rem; line-height: 1.8; max-width: 540px; padding-top: 4px; text-wrap: pretty; }

.principles { background: var(--frost); border-top: 1px solid #e5e8f0; padding-block: 51px 65px; scroll-margin-top: 28px; }
.principles-heading { display: flex; align-items: center; gap: 32px; margin-bottom: 36px; }
.principles-heading h2 { font-size: 1.75rem; line-height: 1.3; letter-spacing: -.04em; }
.principles-heading > span { height: 1px; flex: 1; background: var(--line); }
.principle-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle { min-width: 0; padding-inline: 36px; }
.principle:first-child { padding-left: 0; }
.principle:last-child { padding-right: 0; }
.principle + .principle { border-left: 1px solid #bcc5d6; }
.principle h3 { font-size: clamp(1.75rem, 2.35vw, 2.35rem); line-height: 1.2; letter-spacing: -.045em; margin-bottom: 20px; }
.principle p { color: var(--body); max-width: 350px; font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty; }

.site-footer { color: white; background: var(--navy); border-top: 1px solid #ffffff1f; }
.footer-inner { padding-top: 33px; }
.footer-entities { display: grid; grid-template-columns: 1.18fr 1fr; align-items: start; gap: clamp(44px, 7vw, 112px); padding-bottom: 27px; }
.footer-brand { display: grid; grid-template-rows: 50px auto; align-items: start; }
.footer-brand--international { justify-items: end; text-align: right; }
.footer-logo { width: 200px; height: auto; }
.footer-brand .footer-description { margin-top: 14px; }
.footer-logo-link { display: flex; align-items: flex-start; width: fit-content; min-height: 50px; }
.footer-logo-link:hover { opacity: .8; }
.footer-description { margin-top: 8px; font-size: .875rem; color: #b8bfd2; }
.copyright { border-top: 1px solid #ffffff24; padding-block: 18px 22px; font-size: .75rem; color: #a4adc5; }

@media (max-width: 1180px) {
  .header-inner { padding-inline: 25px; }
}
@media (max-width: 1100px) {
  .perspective-layout { gap: 48px; }
  .perspective h2 { font-size: 2.65rem; }
  .principle { padding-inline: 25px; }
  .principle h3 { font-size: 1.8rem; min-height: 2.4em; }
}
@media (max-width: 960px) {
  :root { --header-height: 66px; }
  .header-inner { padding-inline: 20px; }
  .brand-logo { width: 145px; }
}
@media (max-width: 850px) {
  .hero-main { padding-block: 64px 72px; }
  h1 { font-size: clamp(3.25rem, 8.45vw, 4.5rem); }
  .hero-introduction { padding-block: 28px 34px; }
  .hero-copy { font-size: 1rem; }
  .perspective { padding-block: 61px 67px; }
  .perspective-layout { grid-template-columns: 1fr; gap: 26px; }
  .perspective h2 { max-width: 620px; font-size: clamp(2.45rem, 5.4vw, 3rem); }
  .perspective-layout > p { max-width: 640px; padding: 0; }
  .principles { padding-block: 45px 50px; }
  .principles-heading { margin-bottom: 7px; }
  .principle-columns { display: block; }
  .principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; gap: 30px; padding: 27px 0; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .principle:last-child { padding-bottom: 0; }
  .principle h3 { min-height: 0; margin: 0; font-size: 1.9rem; }
  .principle p { max-width: none; }
  .footer-entities { gap: 32px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-main { padding-block: clamp(42px, 8svh, 68px) clamp(48px, 9svh, 76px); }
  .hero-eyebrow { margin-bottom: 28px; font-size: .75rem; }
  h1 { font-size: clamp(3.1rem, 13.2vw, 4.5rem); line-height: 1.07; letter-spacing: -.055em; }
  h1 span, h1 em { display: inline; }
  .hero-introduction { padding-block: 25px 32px; }
  .perspective { padding-block: 49px 54px; }
  .section-label { margin-bottom: 25px; font-size: .75rem; }
  .perspective h2 { font-size: clamp(2rem, 7.9vw, 2.6rem); line-height: 1.17; }
  .perspective-layout { gap: 24px; }
  .perspective-layout > p { font-size: 1rem; line-height: 1.75; }
  .principles { padding-block: 37px 43px; }
  .principles-heading { gap: 24px; margin-bottom: 4px; }
  .principles-heading h2 { font-size: 1.5rem; }
  .principle { display: block; padding: 25px 0; }
  .principle h3 { font-size: 1.7rem; margin-bottom: 12px; }
  .principle p { font-size: 1rem; }
  .footer-inner { padding-top: 28px; }
  .footer-entities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 4vw, 24px); padding-bottom: 26px; }
  .footer-brand { min-width: 0; grid-template-rows: 44px auto; }
  .footer-logo { width: min(100%, 160px); }
  .footer-logo-link { width: min(100%, 160px); max-width: 100%; min-height: 44px; justify-content: flex-end; }
  /* Match painted artwork, not SVG boxes: Capital has 15 units of top space
     in a 589-wide viewBox; International is 584 wide with no top space. */
  .footer-logo-link .footer-logo { width: calc(100% * 584 / 589); margin-top: calc(100% * 15 / 589); }
}
