/* FateFiles: a restrained corporate blue identity across the public website. */
:root {
    --paper: #ffffff;
    --ink: #17324d;
    --wine: #235b86;
    --muted: #606f7e;
    --line: #dbe2e9;
    --pale: #edf2f7;
    --blue-dark: #163f62;
    --navy: #102f4c;
    --aqua: #b4cee1;
}

body { background: var(--paper); }
::selection { background: #cedfeb; color: var(--navy); }
:focus-visible { outline: 3px solid #5383a8; outline-offset: 5px; }
.utility-bar { background: var(--navy); color: #d1dce6; }
.utility-inner > a { color: #e0e7ee; }
.site-header { background: #fffffffa; border-bottom-color: var(--line); }
.button { border-radius: 3px; transition: background .2s, border-color .2s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: none; transform: none; }
.button-light { background: white; border-color: white; color: var(--navy); }
.button-light:hover { background: #edf2f7; border-color: #edf2f7; }
.button-outline { color: var(--wine); background: transparent; }
.button-outline:hover { background: var(--pale); color: var(--blue-dark); border-color: var(--wine); }
.header-cta { box-shadow: none; }
.account-trigger { border-color: #d5dfe7; border-radius: 4px; }
.account-menu form button:hover { background: var(--pale); }
.preferences-fields .field select { background: #f7f9fb; border-color: #d1dce5; }

/* The hamburger opens a modal sidebar at every compact navigation width. */
body.navigation-open { overflow: hidden; }
.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(390px, calc(100vw - 24px));
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: white;
    color: var(--ink);
    box-shadow: -16px 0 50px #102f4c20;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-menu:not([open]) { display: none; }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: #102f4c80; backdrop-filter: blur(3px); }
.mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 27px 25px 24px; border-bottom: 1px solid var(--line); }
.mobile-menu-heading .eyebrow { color: var(--wine); font-size: 9px; letter-spacing: .14em; }
.mobile-menu-heading h2 { margin-top: 6px; font: 600 23px/1.3 var(--sans); letter-spacing: -.04em; }
.mobile-menu-heading .icon-button { border: 1px solid var(--line); border-radius: 4px; }
.mobile-menu-heading .icon-button:hover { background: var(--pale); }
.mobile-menu-links { display: grid; gap: 5px; padding: 22px 18px; }
.mobile-menu-links > a { display: flex; align-items: center; gap: 15px; min-height: 52px; padding: 14px 17px; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.mobile-menu-links > a > svg { color: var(--wine); }
.mobile-menu-links > a:hover, .mobile-menu-links > a[aria-current="page"] { background: var(--pale); color: var(--wine); }
.mobile-menu-actions { display: grid; gap: 11px; margin-top: auto; padding: 23px 25px max(25px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mobile-menu-actions .button { justify-content: flex-start; gap: 13px; min-height: 51px; font-size: 12px; padding: 14px 17px; }

.flagship-hero { color: var(--navy); background: #f3f6f9; isolation: isolate; }
.flagship-hero::before { content: ''; position: absolute; width: 620px; height: 620px; right: -80px; top: 0; z-index: -1; border-radius: 50%; background: #eaf0f5; }
.flagship-topline { padding: 25px 0 21px; border-color: #d5dfe7; color: #566a7b; font-size: 9px; font-weight: 650; letter-spacing: .11em; }
.flagship-topline > span:first-child { color: var(--wine); }
.flagship-topline i { background: var(--wine); box-shadow: none; }
.flagship-main { grid-template-columns: 1.28fr 1fr; gap: 28px; padding: 43px 0 47px; min-height: 548px; }
.flagship-copy h1 { font-size: clamp(55px, 6.05vw, 88px); line-height: 1.075; letter-spacing: -.065em; font-weight: 600; }
.flagship-copy h1 > span { color: var(--wine); }
.flagship-copy > p { font-size: 15px; line-height: 1.85; color: #586b7b; max-width: 500px; margin-top: 27px; }
.flagship-actions { margin-top: 29px; gap: 12px; }
.flagship-actions .button { font-size: 12px; padding: 17px 22px; min-height: 55px; }
.flagship-actions > .button:first-child { box-shadow: none; }
.flagship-actions .button-ghost { color: var(--navy); background: transparent; border-color: #b8c8d5; }
.flagship-actions .button-ghost:hover { background: white; border-color: var(--wine); }
.flagship-bottom { border-color: #d5dfe7; min-height: 96px; padding-block: 21px; gap: 24px; }
.flagship-bottom > div { gap: 13px; }
.flagship-bottom > div > svg { color: var(--wine); width: 21px; height: 21px; flex-shrink: 0; }
.flagship-bottom span { color: #617284; font-size: 10px; }
.flagship-bottom strong { color: var(--navy); font-weight: 650; font-size: 11px; }
.flagship-bottom > a { color: var(--wine); }
.flagship-bottom > a > svg { color: var(--wine); }

.flagship-visual { position: relative; display: grid; place-items: center; align-self: stretch; min-width: 0; min-height: 425px; }
.brand-orbit { position: relative; inset: auto; width: 340px; height: 340px; opacity: 1; border: 1px solid #6687a3; transform: rotate(-18deg); background: radial-gradient(circle at 28% 24%, #416e95 0, #28577e 30%, #173d60 65%, #0b2842 100%); box-shadow: inset -15px -15px 35px #071d3540, 0 18px 35px #163f6215; }
.brand-orbit::after { content: ''; position: absolute; inset: -14% -9%; border: 1px solid #8ca5bb50; border-radius: 50%; transform: rotate(-27deg); z-index: -1; }
.globe-surface { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; opacity: .38; transform: rotate(18deg); }
.globe-continents { position: absolute; inset: 0 -50%; background: #b0cde3; mask: url('/assets/source/world-map.svg') center / auto 100% repeat-x; -webkit-mask: url('/assets/source/world-map.svg') center / auto 100% repeat-x; animation: globe-land 55s linear infinite; }
.brand-orbit .orbit-ring, .brand-orbit .orbit-axis, .brand-orbit .orbit-equator { border-color: #b3cee342; }
.brand-orbit .orbit-axis { border-color: #adc7dc30; }
.brand-orbit .orbit-core { padding: 0 11px 7px 0; font-size: 118px; font-weight: 600; letter-spacing: -.09em; color: white; transform: rotate(18deg); text-shadow: none; }
.orbit-core > span { color: var(--aqua); }
.orbit-point { position: absolute; width: 7px; height: 7px; background: #b4cee1; border: 1px solid white; border-radius: 50%; }
.point-one { top: 17%; left: 13%; }
.point-two { bottom: 18%; right: 12%; }
.visual-coordinate { position: absolute; color: #59748b; font-size: 8px; font-weight: 650; letter-spacing: .16em; line-height: 1.5; }
.coordinate-top { top: 5px; right: 7%; }
.coordinate-bottom { bottom: 0; left: 12%; display: flex; align-items: center; gap: 8px; }
.coordinate-bottom > span { width: 18px; height: 1px; background: var(--wine); }
.orbit-note, .orbit-market { position: absolute; z-index: 2; display: flex; align-items: center; background: white; border: 1px solid #d7e0e8; box-shadow: 0 6px 18px #17324d08; border-radius: 3px; }
.orbit-note { top: 54px; left: -8px; gap: 12px; padding: 14px 18px 14px 13px; }
.orbit-note-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--wine); background: #edf2f7; border-radius: 3px; }
.orbit-note > span:last-child { color: #6a7b89; font-size: 10px; line-height: 1.8; }
.orbit-note strong { display: block; color: var(--navy); font-size: 12px; font-weight: 700; }
.orbit-market { bottom: 40px; right: 0; gap: 12px; padding: 13px 18px; }
.orbit-market > svg { color: var(--wine); }
.orbit-market > span { color: #607487; font-size: 9px; line-height: 1.7; }
.orbit-market strong { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.05em; color: var(--navy); }
.brand-orbit.globe-paused .globe-continents { animation-play-state: paused; }
@keyframes globe-land { from { transform: translateX(0); } to { transform: translateX(-25%); } }

.market-ribbon { border-color: var(--line); }
.market-ribbon .container { min-height: 83px; }
.market-ribbon .container > span { color: #657687; font-weight: 650; }
.market-ribbon img { border-radius: 2px; box-shadow: 0 0 0 1px #10234c0d; }
.section-intro > .eyebrow, .global-statement-copy > .eyebrow, .faq-section > div > .eyebrow { color: var(--wine); }
.section-intro h2, .global-statement h2, .faq-section h2 { letter-spacing: -.055em; }
.expertise-tiles { border: 0; gap: 17px; }
.expertise-tiles > .expertise-tile { background: white; border: 1px solid var(--line); border-top: 3px solid #3e6c90; border-radius: 3px; transition: border-color .2s, background .2s; }
.expertise-tiles > .expertise-tile:hover { background: #f6f9fc; border-color: #97aec1; box-shadow: none; transform: none; }
.service-symbol { display: grid; place-items: center; width: 50px; height: 50px; color: var(--wine); background: #edf2f7; border-radius: 3px; margin-bottom: 26px; }
.tile-link { border-top: 1px solid #e3e9ef; padding-top: 18px; }
.expertise-tile p { color: var(--muted); }
.global-statement, .values-band { background: #edf2f7; }
.map-country path, .map-country-priced path { fill: #8eaac2; stroke: #f7f9fb; }
.map-country.is-selected path { fill: var(--wine); }
.map-key-priced { background: var(--wine); }
.map-key-quoted { background: #8eaac2; }
.map-selected-market { border-color: #c9d7e2; }
.map-estimate-link { border-color: #b9cbd9; background: #ffffff8c; }
.map-price-tooltip { border-color: #d4e0e9; box-shadow: 0 10px 30px #17324d12; }
.steps-editorial article { border-top: 2px solid #dbe4ed; }
.steps-editorial article > span { color: var(--wine); }
.business-statement { background: #1b476b; }
.business-statement h2 span { color: #b9d1e3; }
.business-statement p { color: #dfeaf2; }
.business-statement > .container > svg { color: #b9d1e3; }
.closing-cta { background: var(--navy); }
.closing-cta em { color: #b0cee4; }
.closing-cta p, .eyebrow.light { color: #c4d4e1; }
.closing-cta .button-light { color: var(--navy); }
.site-footer { background: white; }
.footer-bottom { border-color: var(--line); }
.faq-list details[open] { border-color: #8fadc4; }
.faq-list summary > span { color: var(--wine); }

/* Carry the same palette into expertise, pricing, and the existing journeys. */
.expertise-box { background: #f1f5f8; border-color: var(--line); border-radius: 3px; }
.expertise-box:hover { background: #eaf1f7; border-color: #9fb8cb; }
.plan.featured, .service-request-estimate { background: #edf2f7; }
.account-story { background: var(--navy); }
.account-story em { color: #b0cee4; }
.account-story p, .account-story > .eyebrow { color: #c4d4e1; }
.field input:not([type=checkbox]):not([type=radio]):focus, .field select:focus, .field textarea:focus { border-color: var(--wine); }
.choice-card:has(input:checked), .class-grid label:has(input:checked) { background: #edf2f7; border-color: var(--wine); }
.country-fee-details summary, .fee-details summary { color: var(--wine); }

@media (min-width: 1500px) {
    .flagship-main { min-height: 588px; }
    .brand-orbit { width: 370px; height: 370px; }
    .brand-orbit .orbit-core { font-size: 132px; }
}
@media (max-width: 1150px) and (min-width: 641px) {
    .flagship-main { grid-template-columns: 1.3fr 1fr; gap: 22px; min-height: 500px; padding-block: 42px; }
    .flagship-copy h1 { font-size: clamp(43px, 5.95vw, 70px); }
    .flagship-copy > p { font-size: 13px; }
    .flagship-actions .button { padding: 15px 16px; font-size: 11px; }
    .brand-orbit { width: 275px; height: 275px; }
    .brand-orbit .orbit-core { font-size: 100px; }
    .flagship-visual { min-height: 360px; }
    .orbit-note { top: 47px; left: -15px; padding: 10px; gap: 9px; }
    .orbit-note-icon { width: 33px; height: 33px; }
    .orbit-note strong { font-size: 10px; }
    .orbit-note > span:last-child { font-size: 9px; }
    .orbit-market { bottom: 25px; right: -6px; padding: 11px 14px; }
    .visual-coordinate { font-size: 7px; letter-spacing: .1em; }
    .coordinate-top { right: 0; }
    .coordinate-bottom { left: 3%; }
    .expertise-tiles { gap: 14px; }
}
@media (max-width: 900px) and (min-width: 641px) {
    .flagship-copy h1 { font-size: clamp(41px, 5.8vw, 53px); }
    .flagship-main { grid-template-columns: 1.25fr 1fr; gap: 25px; min-height: 465px; }
    .flagship-actions { gap: 10px; }
    .flagship-actions .button { padding: 13px 12px; font-size: 10px; min-height: 48px; gap: 8px; }
    .brand-orbit { width: 230px; height: 230px; }
    .brand-orbit .orbit-core { font-size: 85px; }
    .flagship-visual { min-height: 330px; }
    .orbit-note { top: 35px; }
    .orbit-market { bottom: 30px; right: -10px; }
    .orbit-market strong { font-size: 22px; }
    .orbit-market > span { font-size: 8px; }
    .flagship-bottom { gap: 18px; }
    .flagship-bottom span { font-size: 8px; }
    .flagship-bottom strong { font-size: 10px; }
}
@media (max-width: 640px) {
    .flagship-topline { padding: 22px 0 18px; font-size: 7px; letter-spacing: .045em; }
    .flagship-topline > span:last-child { font-size: 7px; }
    .flagship-main { grid-template-columns: 1fr; padding: 30px 0 27px; min-height: 0; gap: 34px; }
    .flagship-copy h1 { font-size: clamp(39px, 10.65vw, 66px); line-height: 1.12; letter-spacing: -.06em; }
    .flagship-copy > p { font-size: 13px; line-height: 1.85; margin-top: 22px; max-width: 440px; }
    .flagship-actions { margin-top: 24px; grid-template-columns: 1fr; gap: 10px; }
    .flagship-actions .button { min-height: 49px; padding: 14px 13px; font-size: 12px; gap: 11px; }
    .flagship-visual { min-height: 315px; width: min(100%, 390px); justify-self: center; }
    .brand-orbit { width: 232px; height: 232px; }
    .brand-orbit .orbit-core { font-size: 83px; }
    .brand-orbit::after { inset: -13% -8%; }
    .orbit-note { top: 28px; left: 0; padding: 10px 13px 10px 10px; gap: 9px; }
    .orbit-note-icon { width: 32px; height: 32px; }
    .orbit-note-icon svg { width: 21px; }
    .orbit-note > span:last-child { font-size: 8px; }
    .orbit-note strong { font-size: 10px; }
    .orbit-market { bottom: 24px; right: 0; padding: 11px 14px; }
    .orbit-market strong { font-size: 23px; }
    .orbit-market > span { font-size: 8px; }
    .visual-coordinate { font-size: 6px; letter-spacing: .13em; }
    .coordinate-top { top: -2px; right: 0; }
    .coordinate-bottom { bottom: -2px; left: 5%; }
    .flagship-bottom { padding-block: 21px; gap: 18px 12px; }
    .flagship-bottom > div { gap: 9px; }
    .flagship-bottom span { font-size: 8px; }
    .flagship-bottom strong { font-size: 9px; }
    .flagship-bottom > div > svg { width: 20px; height: 20px; }
    .market-ribbon .container { min-height: 97px; }
    .expertise-tiles { gap: 12px; }
    .expertise-tile h3 { font-size: 19px; }
    .service-symbol { width: 43px; height: 43px; margin-bottom: 20px; }
    .service-symbol > svg { width: 26px; height: 26px; }
    .tile-link { font-size: 8px; padding-top: 14px; }
}
@media (max-width: 360px) {
    .flagship-copy h1 { font-size: 37px; }
    .flagship-topline > span:last-child { display: none; }
    .flagship-visual { min-height: 290px; }
    .brand-orbit { width: 205px; height: 205px; }
    .brand-orbit .orbit-core { font-size: 74px; }
    .orbit-note { top: 25px; }
    .expertise-tile h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .globe-continents { animation: none; }
    .button, .expertise-tiles > .expertise-tile { transition: none; }
    .button:hover, .expertise-tiles > .expertise-tile:hover { transform: none; }
}
