/* =========================================================
   Freedom For Founders · Homepage demo
   base.css: tokens, type, buttons, nav, overlays
   Brand source: FFF Brand Guardrails v1.0 (navy + light, Gambetta words, Excon numbers)
   Motion source: intergestcanada.com (Lenis, SplitText line masks, button flair,
   two-block page wipe, scroll-scrubbed expanding visuals)
   ========================================================= */

:root {
  --photo-tint: rgba(12,64,96,.2);
  /* Core */
  --navy: #062D42;
  --navy-2: #0C3B53;
  --light: #F4F8FA;
  --white: #FFFFFF;
  /* Text */
  --slate: #3D5A6C;
  --accent: #1C6585;
  --muted: #6E8A99;
  --pale: #B9CDD8;
  --lightblue: #85AAB9;
  --herosub: #B9D2DD;
  /* Lines & fills */
  --border: #E4EDF1;
  --divider: #D3E1E8;
  --chartline: #C9DBE3;
  --tint: #F6FAFC;
  /* Data only */
  --risk: #C0392B;
  --caution: #E9C11C;
  --good: #2E9E5B;
  --neutral: #5C8299;
  --gold: #C9A227;

  --grad: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);

  --serif: 'Gambetta', Georgia, serif;
  --num: 'Excon', sans-serif;

  --r-lg: 20px; --r-md: 18px; --r-panel: 12px; --r-btn: 8px; --r-chip: 6px;

  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1240px;
  --sec-y: clamp(4rem, 9vw, 6.75rem);
  --nav-h: 84px;

  --ease: cubic-bezier(.65, .05, 0, 1);       /* Intergest cEase */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17.25px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[data-theme="dark"] :focus-visible, .mmenu :focus-visible { outline-color: var(--herosub); }
::selection { background: var(--navy); color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }
.u-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.num { font-family: var(--num); font-feature-settings: "tnum" 1; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-btn); transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--serif); font-weight: 700; font-size: 14px; line-height: 1.3;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--navy { color: var(--lightblue); }
.h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
  line-height: 1.14; letter-spacing: -.01em; color: var(--navy); text-wrap: balance;
}
.h2--navy { color: var(--white); }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); line-height: 1.16; color: var(--navy); text-wrap: balance; }
.lead { font-size: clamp(1.06rem, 1rem + .25vw, 1.19rem); line-height: 1.75; color: var(--slate); max-width: 34em; }
.lead--navy { color: var(--pale); }
.reassure { font-size: 14.5px; color: var(--muted); margin-top: 14px; letter-spacing: .01em; }
.reassure--navy { color: var(--lightblue); }

/* SplitText line masks */
.line-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Buttons (Intergest "flair" hover) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-btn); overflow: hidden; isolation: isolate;
  font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .005em; white-space: nowrap;
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  transition: border-color .3s, color .3s;
}
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 18px; }
.btn__label { position: relative; z-index: 2; }
.btn__flair {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; transform: scale(0); transform-origin: 0 0;
}
.btn__flair::before {
  content: ""; position: absolute; left: 0; top: 0; width: 170%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%);
}
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light .btn__flair::before { background: var(--border); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--divider); }
.btn--outline .btn__flair::before { background: var(--navy); }
.btn--outline:hover { color: var(--white); border-color: var(--navy); }
.btn--nav { min-height: 44px; padding: 0 20px; font-size: 16px; background: transparent; }
.btn--nav .btn__flair::before { background: var(--white); }
@media (hover: none) { .btn__flair { display: none; } }

.link-soft {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--navy);
  font-size: 17px; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link-soft .ico { transition: transform .45s var(--ease-out); }
.link-soft:hover { background-size: 100% 1px; }
.link-soft:hover .ico { transform: translateX(4px); }
.link-soft--navy { color: var(--white); }

/* ---------- Watermark (wing alone, 7–12% opacity, bleeding off an edge) ---------- */
.watermark { position: absolute; pointer-events: none; opacity: .07; width: min(46vw, 640px); height: auto; z-index: 0; }
.watermark--right { right: -12vw; top: 8%; }
.watermark--left { left: -14vw; bottom: -10%; opacity: .06; }
.watermark--footer { right: -6vw; bottom: -18%; width: min(40vw, 520px); opacity: .07; }

/* Subtle grain on navy grounds (Intergest uses grained.js) */
[data-theme="dark"].grain::after, .grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Preloader ----------
   Every load: the wing sweeps in, FREEDOM / FOR FOUNDERS rise letter by
   letter, the logo holds for a beat, then the two navy blocks wipe apart. */
.preloader { position: fixed; inset: 0; z-index: 500; pointer-events: none; overflow: hidden; animation: plFailsafe 0s 9s forwards; }
.preloader__block { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--navy); will-change: clip-path, transform; }
.preloader__block.is-first { top: 0; background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
.preloader__block.is-second { bottom: 0; background: linear-gradient(0deg, var(--navy), var(--navy-2)); }
.preloader__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 26px; }
.preloader__glow { position: absolute; left: 50%; top: 42%; width: min(620px, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(185,210,221,.16) 0%, rgba(185,210,221,.05) 38%, transparent 64%); opacity: 0; pointer-events: none; }
.preloader__logo { position: relative; width: clamp(230px, 28vw, 360px); height: auto; overflow: visible; }
.preloader__logo .pl-big, .preloader__logo .pl-small, .preloader__logo .pl-feather { opacity: 0; }
@keyframes plFailsafe { to { visibility: hidden; } }
.no-js .preloader, .reduced .preloader { display: none; }

/* ---------- Custom cursor (fine pointers only; the system cursor stays) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--white); mix-blend-mode: difference; opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s, background-color .3s;
}
.cursor.is-on .cursor__ring { opacity: .9; }
.cursor.is-link .cursor__ring { transform: scale(1.5); opacity: .55; }
.cursor.is-down .cursor__ring { transform: scale(.7); }
.cursor__label {
  position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--navy);
  font-weight: 600; font-size: 15px; letter-spacing: .01em; box-shadow: 0 14px 34px -14px rgba(6,45,66,.55);
  transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.cursor.is-label .cursor__label { transform: scale(1); }
.cursor.is-label .cursor__ring { opacity: 0; transform: scale(.4); }

/* ---------- Rolling text (nav links, button labels): duplicate slides up on hover ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: inherit; }
.roll__in { display: inline-block; transition: transform .6s var(--ease); }
.roll__in::after { content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover > .roll .roll__in, button:hover > .roll .roll__in,
.btn:hover .roll .roll__in { transform: translateY(-100%); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s, height .4s;
  --nav-ink: var(--white); --nav-sub: var(--herosub);
}
.nav[data-nav-theme="light"] { --nav-ink: var(--navy); --nav-sub: var(--slate); }
.nav.is-scrolled { height: 72px; }
.nav.is-scrolled[data-nav-theme="light"] { background: rgba(244,248,250,.86); box-shadow: 0 1px 0 var(--border); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.nav.is-scrolled[data-nav-theme="dark"] { background: rgba(6,45,66,.72); box-shadow: 0 1px 0 rgba(185,205,216,.12); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.nav__logo { position: relative; width: 200px; flex: none; aspect-ratio: 2.5; }
.nav.is-scrolled .nav__logo { width: 172px; }
.nav__logo, .nav.is-scrolled .nav__logo { transition: width .4s var(--ease-out); }
.nav__logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.nav[data-nav-theme="dark"] .is-navy, .nav[data-nav-theme="light"] .is-white { opacity: 0; }
.nav__menu { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r-btn);
  font-size: 16.5px; font-weight: 500; color: var(--nav-ink); transition: color .35s, background-color .25s;
}
.nav__link .ico { width: 15px; height: 15px; transition: transform .35s var(--ease-out); opacity: .7; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: color-mix(in srgb, var(--nav-ink) 9%, transparent); }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--num); font-size: 14.5px; letter-spacing: .02em; color: var(--nav-ink); opacity: .9; transition: color .35s; }
.nav__phone .ico { width: 16px; height: 16px; }
.btn--nav { color: var(--nav-ink); border-color: color-mix(in srgb, var(--nav-ink) 40%, transparent); }
.btn--nav:hover { color: var(--navy); border-color: var(--white); }
.nav[data-nav-theme="light"] .btn--nav .btn__flair::before { background: var(--navy); }
.nav[data-nav-theme="light"] .btn--nav:hover { color: var(--white); border-color: var(--navy); }

/* Dropdowns */
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; min-width: 520px;
  display: grid; grid-template-columns: 1fr 190px; gap: 8px; padding: 10px;
  background: var(--white); border-radius: var(--r-md); border: 1px solid var(--border);
  box-shadow: 0 24px 60px -24px rgba(6,45,66,.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 50% 0;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .3s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.drop--wide { min-width: 600px; grid-template-columns: 1fr; }
.nav__item.is-open .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop__links { display: grid; gap: 2px; }
.drop__links--2col { grid-template-columns: 1fr 1fr; }
.drop__links a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-panel); transition: background-color .25s; }
.drop__links a:hover, .drop__links a:focus-visible { background: var(--tint); }
.drop__links strong { color: var(--navy); font-weight: 600; font-size: 16.5px; }
.drop__links span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.drop__links a { opacity: 0; transform: translateY(6px); transition: background-color .25s, opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.nav__item.is-open .drop__links a { opacity: 1; transform: none; }
.nav__item.is-open .drop__links a:nth-child(2) { transition-delay: .04s; }
.nav__item.is-open .drop__links a:nth-child(3) { transition-delay: .08s; }
.nav__item.is-open .drop__links a:nth-child(4) { transition-delay: .12s; }
.nav__item.is-open .drop__links a:nth-child(5) { transition-delay: .16s; }
.nav__item.is-open .drop__links a:nth-child(6) { transition-delay: .2s; }
.nav__item.is-open .drop__links a:nth-child(7) { transition-delay: .24s; }
.drop__aside { background: var(--grad); border-radius: var(--r-panel); padding: 18px; color: var(--pale); font-size: 14.5px; line-height: 1.5; }
.drop__aside .eyebrow { color: var(--lightblue); font-size: 11.5px; margin-bottom: 8px; }

.nav__burger { display: none; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid color-mix(in srgb, var(--nav-ink) 35%, transparent); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--nav-ink); transition: transform .5s var(--ease), top .5s var(--ease), background-color .3s; }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .nav { --nav-ink: var(--white); background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.menu-open .nav .is-navy { opacity: 0; }
.menu-open .nav .is-white { opacity: 1; }

@media (max-width: 1180px) { .nav__phone-num { display: none; } }
@media (max-width: 1060px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; gap: 10px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 70px; }
  .nav__logo, .nav.is-scrolled .nav__logo { width: 140px; }
  .btn--nav { padding: 0 14px; font-size: 15px; min-height: 42px; }
  .nav__burger { width: 42px; height: 42px; }
  .nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
  .menu-open .nav__burger span { top: 20px !important; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 190; background: var(--grad); color: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-open .mmenu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.mmenu__inner { min-height: 100%; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mmenu nav > * { border-bottom: 1px solid rgba(185,205,216,.16); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease); }
.menu-open .mmenu nav > * { opacity: 1; transform: none; }
.menu-open .mmenu nav > *:nth-child(2) { transition-delay: .06s; } .menu-open .mmenu nav > *:nth-child(3) { transition-delay: .12s; }
.menu-open .mmenu nav > *:nth-child(4) { transition-delay: .18s; } .menu-open .mmenu nav > *:nth-child(5) { transition-delay: .24s; }
.mmenu summary, .mmenu__single { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500; letter-spacing: -.01em; cursor: pointer; }
.mmenu summary::-webkit-details-marker { display: none; }
.mmenu summary .ico { width: 22px; height: 22px; color: var(--lightblue); transition: transform .4s var(--ease-out); }
.mmenu details[open] summary .ico { transform: rotate(45deg); }
.mmenu details a { display: block; padding: 8px 0 8px 2px; color: var(--pale); font-size: 18px; }
.mmenu details a:last-child { padding-bottom: 20px; }
.mmenu__foot { display: grid; gap: 6px; color: var(--herosub); font-family: var(--num); font-size: 15px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6,45,66,.55); opacity: 0; transition: opacity .5s; backdrop-filter: blur(3px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(500px, 100%); background: var(--light);
  padding: clamp(28px, 4vw, 48px); overflow-y: auto; transform: translateX(100%); transition: transform .75s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--divider); color: var(--navy); transition: transform .5s var(--ease-out), background-color .3s; }
.drawer__close:hover { transform: rotate(90deg); background: var(--white); }
.drawer__title { font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.12; color: var(--navy); margin-bottom: 12px; padding-right: 40px; }
.drawer__lead { color: var(--slate); margin-bottom: 20px; }
.drawer__faces { display: flex; align-items: center; margin-bottom: 22px; }
.drawer__faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--light); margin-right: -12px; background: var(--white); }
.drawer__faces span { margin-left: 24px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.drawer__ways { display: grid; gap: 10px; }
.drawer__ways a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-panel); transition: border-color .3s, transform .45s var(--ease-out), box-shadow .3s; }
.drawer__ways a:hover { border-color: var(--chartline); transform: translateX(-4px); box-shadow: 0 10px 30px -18px rgba(6,45,66,.35); }
.drawer__ways .ico { width: 22px; height: 22px; color: var(--accent); }
.drawer__ways span { display: grid; flex: 1; font-size: 15px; color: var(--slate); line-height: 1.35; overflow-wrap: anywhere; }
.drawer__ways strong { color: var(--navy); font-size: 17px; }
.drawer__go { color: var(--muted) !important; width: 18px !important; transition: transform .4s var(--ease-out); }
.drawer__ways a:hover .drawer__go { transform: translateX(3px); color: var(--navy) !important; }
.drawer.is-open .drawer__ways li { animation: drawerIn .7s var(--ease) both; }
.drawer.is-open .drawer__ways li:nth-child(2) { animation-delay: .06s; } .drawer.is-open .drawer__ways li:nth-child(3) { animation-delay: .12s; } .drawer.is-open .drawer__ways li:nth-child(4) { animation-delay: .18s; }
@keyframes drawerIn { from { opacity: 0; transform: translateX(30px); } }

/* ---------- Video modal ---------- */
.vmodal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: var(--gutter); visibility: hidden; }
.vmodal.is-open { visibility: visible; }
.vmodal__scrim { position: absolute; inset: 0; background: rgba(4,26,38,.88); opacity: 0; transition: opacity .45s; }
.vmodal.is-open .vmodal__scrim { opacity: 1; }
.vmodal__box { position: relative; width: min(1100px, 100%); aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #000; transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.vmodal.is-open .vmodal__box { transform: none; opacity: 1; }
.vmodal__frame, .vmodal__frame iframe { width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(6,45,66,.7); color: var(--white); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 460; translate: -50% 0; display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 999px; background: var(--navy); color: var(--white);
  font-size: 15.5px; box-shadow: 0 18px 40px -16px rgba(6,45,66,.55); opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s, transform .6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--herosub); flex: none; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

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

.nw { white-space: nowrap; }

/* ---------- Nav phone: the handset rings, pulses ripple out, digits roll through ---------- */
.nav__phone-ico { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent); transition: background-color .35s, border-color .35s; }
.nav__phone-ico::before, .nav__phone-ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; pointer-events: none; }
.nav__phone-ico .ico { transform-origin: 50% 50%; }
.nav__phone:hover, .nav__phone:focus-visible, .nav__phone.is-ring { opacity: 1; }
.nav__phone:hover .nav__phone-ico, .nav__phone:focus-visible .nav__phone-ico, .nav__phone.is-ring .nav__phone-ico {
  background: color-mix(in srgb, currentColor 12%, transparent); border-color: color-mix(in srgb, currentColor 60%, transparent); }
.nav__phone:hover .nav__phone-ico .ico, .nav__phone:focus-visible .nav__phone-ico .ico { animation: phoneRing 1.6s var(--ease-out) infinite; }
.nav__phone:hover .nav__phone-ico::before, .nav__phone:focus-visible .nav__phone-ico::before { animation: phonePulse 1.6s ease-out infinite; }
.nav__phone:hover .nav__phone-ico::after, .nav__phone:focus-visible .nav__phone-ico::after { animation: phonePulse 1.6s ease-out .3s infinite; }
.nav__phone.is-ring .nav__phone-ico .ico { animation: phoneRing 1.1s var(--ease-out) 1; }
.nav__phone.is-ring .nav__phone-ico::before { animation: phonePulse 1.1s ease-out 1; }
.nav__phone.is-ring .nav__phone-ico::after { animation: phonePulse 1.1s ease-out .2s 1; }
@keyframes phoneRing {
  0% { transform: rotate(0); } 6% { transform: rotate(-18deg); } 12% { transform: rotate(16deg); } 18% { transform: rotate(-14deg); }
  24% { transform: rotate(12deg); } 30% { transform: rotate(-8deg); } 36% { transform: rotate(5deg); } 42%, 100% { transform: rotate(0); }
}
@keyframes phonePulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.85); opacity: 0; } }
.pd { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.pd__in { display: inline-block; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.pd__in::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.nav__phone:hover .pd__in, .nav__phone.is-ring .pd__in { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .nav__phone-ico .ico, .nav__phone-ico::before, .nav__phone-ico::after { animation: none !important; }
  .pd__in { transition: none; transform: none !important; }
}
