/* ==========================================================================
   Unify Disability Services, website design system (v2)
   Layer on top of tokens.css (Unify Design System). Every colour, radius,
   font, ease and duration resolves to a design-system token.

   Contents
   01 Base            09 Page heroes        17 Articles & U-Hub
   02 Type            10 Arch photo frames  18 Locations
   03 Layout          11 Cards & grids      19 Forms
   04 Buttons/links   12 Prose              20 Home-only set pieces
   05 Pills/status    13 Lists & steps      21 Footer
   06 Arch motif      14 TOC & subnav       22 Utilities, toast, cursor
   07 Motion          15 FAQ                23 Responsive
   08 Navigation      16 CTA bands          24 Reduced motion / print
   ========================================================================== */

/* 01 Base ---------------------------------------------------------------- */
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: var(--lh-body); color: var(--text-body); background: var(--surface-page); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--selection); color: var(--uds-navy); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--uds-gold); color: var(--uds-navy); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* 02 Type ---------------------------------------------------------------- */
.accent { font-family: var(--font-accent); font-style: italic; font-weight: var(--fw-accent); letter-spacing: 0; font-size: 1.08em; }
.accent--ink, .on-light .accent { color: var(--text-accent); }
.on-dark .accent, .section--navy .accent { color: var(--uds-gold); }
.display { font-weight: var(--fw-extrabold); font-size: var(--fs-display); line-height: var(--lh-heading); letter-spacing: var(--ls-display); margin: 0; text-wrap: balance; }
.display--xl { font-size: clamp(44px, 7vw, 104px); letter-spacing: var(--ls-hero); line-height: .96; }
.display--lg { font-size: clamp(38px, 5.4vw, 72px); letter-spacing: var(--ls-hero); line-height: 1; }
.display--sm { font-size: clamp(26px, 3vw, 38px); }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.25; margin: 0; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--text-muted); max-width: 60ch; margin: 22px 0 0; text-wrap: pretty; }
.lead--lg { font-size: clamp(18px, 1.6vw, 21px); }
.on-dark .lead, .section--navy .lead { color: var(--text-on-dark-muted); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); }

.eyebrow { display: flex; align-items: center; gap: 14px; font-weight: var(--fw-semibold); font-size: 15px; color: var(--text-muted); margin: 0 0 22px; }
.eyebrow__arches { display: inline-flex; align-items: flex-end; gap: 6px; flex: none; }
.eyebrow__arches i { display: block; width: 12px; height: 20px; border-radius: 6px 6px 0 0; background: var(--a, var(--uds-gold)); transform-origin: bottom; }
.eyebrow__arches i + i { height: 13px; background: var(--b, var(--uds-mint)); }
.on-dark .eyebrow, .section--navy .eyebrow { color: var(--text-on-dark-subtle); }
.is-in .eyebrow__arches i, .eyebrow.is-in .eyebrow__arches i { animation: udsGrowV .6s var(--ease-rise) both; }
.is-in .eyebrow__arches i + i, .eyebrow.is-in .eyebrow__arches i + i { animation-delay: .12s; }

/* 03 Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container-wide) + 80px); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 880px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 88px 0; }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--uds-white); }
.section--cream { background: var(--uds-cream); }
.section--navy { background: var(--uds-navy); color: var(--text-on-dark); }
.section--gold { background: var(--uds-gold); }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.section-head--stack { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
.section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
.split--top { align-items: start; }
.stack > * + * { margin-top: 18px; }
.grid { display: grid; gap: var(--gap-card-grid); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 88px; }

/* 04 Buttons & links ----------------------------------------------------- */
.btn { --bg: var(--uds-gold); --fg: var(--uds-navy); --bd: var(--uds-gold); --sweep: #F5CC2A;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); font-weight: var(--fw-bold); font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: color .25s, border-color .25s, transform .1s, translate .35s var(--ease-rise); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--sweep); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-rise); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease-rise); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--navy { --bg: var(--uds-navy); --fg: #fff; --bd: var(--uds-navy); --sweep: #232944; }
.btn--outline { --bg: transparent; --fg: var(--uds-navy); --bd: var(--uds-navy); --sweep: var(--uds-navy); }
.btn--outline:hover { color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled::before { transform: scaleX(0); }
.btn--outline:disabled:hover { color: var(--fg); }
.btn:disabled:hover .arrow { transform: none; }
.btn--light { --bg: #fff; --fg: var(--uds-navy); --bd: #fff; --sweep: var(--uds-gold); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); --sweep: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 20px; font-size: 13.5px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.link { font-weight: var(--fw-bold); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-rise), color .2s; padding-bottom: 2px; }
.link:hover { color: var(--text-accent); background-size: 100% 1.5px; }
.on-dark .link:hover, .section--navy .link:hover { color: var(--uds-gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-bold); text-decoration: none; }
.link-arrow span { transition: transform .3s var(--ease-rise); }
.link-arrow:hover { color: var(--text-accent); }
.link-arrow:hover span { transform: translateX(4px); }

/* 05 Pills & status ------------------------------------------------------ */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: var(--fw-semibold); background: var(--p, var(--uds-tint)); color: var(--uds-navy); text-decoration: none; white-space: nowrap; }
.pill--line { background: #fff; border: 1px solid var(--uds-line); }
a.pill { transition: background .2s, border-color .2s; }
a.pill:hover { border-color: var(--uds-navy); }
.pill .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--uds-success); box-shadow: 0 0 0 4px rgba(46,158,107,.18); flex: none; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: var(--fw-bold); white-space: nowrap; }
.status--open { background: var(--uds-mint); color: var(--uds-success-ink); }
.status--wait { background: #FDF0B8; color: var(--uds-warn-ink); }
.status--notify { background: var(--uds-tint); color: var(--uds-slate); }
.status--na { background: transparent; color: var(--text-muted); border: 1px dashed var(--uds-dash); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--uds-line); background: #fff; border-radius: var(--radius-pill); padding: 9px 16px; font-weight: var(--fw-semibold); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { border-color: var(--uds-navy); }
.chip[aria-pressed="true"] { background: var(--uds-navy); border-color: var(--uds-navy); color: #fff; }
.chip .arch { width: 12px; height: 9px; }

/* 06 Arch motif ---------------------------------------------------------- */
.arch { display: block; border-radius: var(--arch-radius); background: var(--c, var(--uds-gold)); flex: none; }
.cluster { display: flex; align-items: flex-end; gap: 10px; }
.cluster .arch { transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease-rise); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.is-in .cluster .arch, .cluster.is-in .arch { transform: scaleY(1); }
.baseline { height: 12px; background: var(--uds-navy); }
.arch-bullet { display: inline-block; width: 14px; height: 10px; border-radius: 7px 7px 0 0; background: var(--c, var(--uds-gold)); flex: none; }

/* 07 Motion -------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-rise) var(--ease-rise), transform var(--dur-rise) var(--ease-rise); transition-delay: calc(var(--i, 0) * var(--stagger)); }
[data-reveal="fade"] { transform: none; transition-duration: var(--dur-fade); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.split-line > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-rise); transition-delay: calc(var(--i, 0) * .09s + .1s); }
.is-in .split-line > span { transform: none; }
html.js [data-reveal]:not(.is-in) { will-change: opacity, transform; }
html:not(.js) [data-reveal], html:not(.js) .split-line > span, html:not(.js) .cluster .arch { opacity: 1; transform: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--uds-gold); transform-origin: left; transform: scaleX(0); }
::view-transition-old(root) { animation: vtOut .28s var(--ease-rise) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease-rise) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* 08 Navigation ---------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 200; transition: transform .45s var(--ease-rise), background .35s, color .35s; }
.nav__inner { display: flex; align-items: center; gap: 22px; height: 84px; }
.nav__logo { display: flex; align-items: center; flex: none; margin-right: 10px; }
.nav__logo .logo { height: 38px; width: auto; overflow: visible; display: block; --logo-ink: var(--uds-navy); }
.logo__word, .logo__tag { fill: var(--logo-ink); transition: fill .35s; }
.nav.is-solid .logo, .nav.is-dark .logo, .nav.on-navy-hero:not(.is-solid) .logo, .nav-open .nav .logo { --logo-ink: #fff; }
.logo__spin, .logo__mark, .logo__petal, .logo__echo, .logo__centre { transform-box: view-box; transform-origin: 156.5px 172px; }
.logo__echo { opacity: 0; }
.logo__sweep { transform-box: fill-box; transform: scaleX(0); }

/* Logo entry: petals swing in on arcs from all four sides, trailed by pastel
   echoes, lock together, the centre lands, the mark does a quarter-turn, then a
   gold sweep reveals the wordmark and the tagline rises. ~1.9s, plays once. */
.logo-intro .nav__logo .logo__petal, .footer .logo.is-in .logo__petal { animation: logoPetal .95s var(--ease-rise) both; animation-delay: calc(var(--p) * .09s + .1s); }
.logo-intro .nav__logo .logo__echo, .footer .logo.is-in .logo__echo { animation: logoEcho .95s var(--ease-rise) both; animation-delay: calc(var(--p) * .09s + .1s + var(--e) * .055s); }
.logo-intro .nav__logo .logo__centre, .footer .logo.is-in .logo__centre { animation: logoCentre .55s var(--ease-rise) both .78s; }
.logo-intro .nav__logo .logo__mark, .footer .logo.is-in .logo__mark { animation: logoTurn .7s cubic-bezier(.6,0,.2,1) both 1.02s; }
.logo-intro .nav__logo .logo__word, .footer .logo.is-in .logo__word { animation: logoWord .75s var(--ease-rise) both .95s; }
.logo-intro .nav__logo .logo__sweep, .footer .logo.is-in .logo__sweep { animation: logoSweep .9s cubic-bezier(.7,0,.2,1) both .82s; }
.logo-intro .nav__logo .logo__tag, .footer .logo.is-in .logo__tag { animation: logoTag .6s var(--ease-rise) both 1.45s; }
@keyframes logoPetal {
  0% { transform: translate(var(--dx), var(--dy)) rotate(-200deg) scale(.35); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: none; opacity: 1; } }
@keyframes logoEcho {
  0% { transform: translate(var(--dx), var(--dy)) rotate(-200deg) scale(.35); opacity: 0; }
  20% { opacity: .95; }
  75% { opacity: .55; }
  100% { transform: none; opacity: 0; } }
@keyframes logoCentre { from { transform: rotate(-135deg) scale(0); } to { transform: none; } }
@keyframes logoTurn { from { transform: rotate(0); } to { transform: rotate(90deg); } }
@keyframes logoWord { from { clip-path: inset(-10% 100% -10% 0); transform: translateX(-24px); } to { clip-path: inset(-10% 0 -10% 0); transform: none; } }
@keyframes logoSweep {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.1% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; } }
@keyframes logoTag { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Playful hover: the mark spins a quarter-turn (it's four-fold symmetric, so it lands home) */
.nav__logo:hover .logo__spin { animation: logoTurn .6s cubic-bezier(.6,0,.2,1); }
.footer__brand .logo { height: 44px; width: auto; margin-bottom: 22px; --logo-ink: #fff; overflow: visible; }
.nav__menu { display: flex; gap: 2px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-pill); font-weight: var(--fw-semibold); font-size: 14.5px; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item.open > .nav__link { background: rgba(43,50,82,.07); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--uds-gold); border-radius: 0; }
.nav__link .caret { width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-rise); margin-left: 2px; }
.nav__item.open > .nav__link .caret { transform: translateY(1px) rotate(225deg); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: var(--fw-bold); font-size: 14.5px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav.is-solid, .nav.is-dark { background: var(--nav-glass); backdrop-filter: blur(var(--blur-nav)); -webkit-backdrop-filter: blur(var(--blur-nav)); color: #fff; }
.nav.is-solid .nav__link:hover, .nav.is-dark .nav__link:hover, .nav.is-solid .nav__item.open > .nav__link, .nav.is-dark .nav__item.open > .nav__link { background: rgba(255,255,255,.1); color: var(--uds-gold); }
.nav.on-navy-hero:not(.is-solid) { color: #fff; }
.nav.on-navy-hero:not(.is-solid) .nav__link:hover { background: rgba(255,255,255,.1); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-open .nav { color: #fff; background: var(--uds-navy); }


/* Mega menu */
.mega { position: absolute; top: calc(100% + 14px); left: -20px; min-width: 300px; background: #fff; color: var(--uds-navy); border: 1px solid var(--uds-line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease-rise), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item.open .mega { opacity: 1; visibility: visible; transform: none; }
.nav__inner { position: relative; }
.nav__menu > li[data-mega]:first-child { position: static; }
.mega--wide { left: 40px; right: 40px; top: calc(100% - 6px); display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: 6px; padding: 18px; }
.mega__side { display: flex; flex-direction: column; gap: 10px; }
.mega__side .mega__feature { flex: 1; min-height: 220px; }
.mega__col { padding: 10px; }
.mega__head { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-extrabold); font-size: 15px; text-decoration: none; padding: 8px 10px; border-radius: 12px; margin-bottom: 4px; }
.mega__head .arch { width: 18px; height: 13px; }
.mega__head:hover { background: var(--uds-cream); }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a { display: block; padding: 7px 10px 7px 38px; border-radius: 10px; font-size: 14px; font-weight: var(--fw-medium); color: var(--uds-slate); text-decoration: none; transition: background .2s, color .2s, padding .3s var(--ease-rise); }
.mega__list a:hover { background: var(--uds-cream); color: var(--uds-navy); padding-left: 44px; }
.mega__simple a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.mega__simple a:hover { background: var(--uds-cream); }
.mega__simple strong { font-size: 15px; }
.mega__simple span { font-size: 13px; color: var(--text-muted); font-weight: var(--fw-medium); }
.mega__feature { background: var(--uds-navy); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.mega__feature p { color: var(--text-on-dark-muted); font-size: 14px; margin: 8px 0 18px; }
.mega__feature strong { font-size: 19px; line-height: 1.2; }
.mega__feature .cluster { position: absolute; right: 16px; bottom: 0; gap: 6px; }
.mega__feature .btn { align-self: flex-start; position: relative; z-index: 1; }
.mega__feature .cluster .arch { width: 16px; }

.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; position: relative; flex: none; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-rise), background .2s; content: ""; }
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; left: 0; margin: 0; }
.nav__toggle span::after { top: 6px; left: 0; margin: 0; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 190; background: var(--uds-navy); color: #fff; padding: 104px 24px 40px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .6s var(--ease-rise), visibility .6s; visibility: hidden; }
.nav-open .drawer { clip-path: circle(160% at calc(100% - 44px) 42px); visibility: visible; }
.drawer details { border-bottom: 1px solid var(--border-on-dark); }
.drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; list-style: none; font-size: 26px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); text-decoration: none; padding: 14px 0; cursor: pointer; }
.drawer > a { border-bottom: 1px solid var(--border-on-dark); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-weight: 400; color: var(--uds-gold); }
.drawer details[open] summary::after { content: "–"; }
.drawer details ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.drawer details a { display: block; padding: 8px 0; color: var(--text-on-dark-muted); text-decoration: none; font-weight: var(--fw-medium); }
.drawer .btn, .drawer > a.btn { margin-top: 28px; justify-content: center; font-size: 16px; letter-spacing: 0; padding: 18px 34px; border: 1.5px solid var(--uds-gold); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 30px; padding: 0; list-style: none; font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--text-muted); }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--text-accent); }
.crumbs li + li::before { content: "·"; margin-right: 6px; }
.on-dark .crumbs { color: var(--text-on-dark-subtle); }
.on-dark .crumbs a:hover { color: var(--uds-gold); }

/* 09 Page heroes --------------------------------------------------------- */
.page-hero { position: relative; padding: 164px 0 96px; background: var(--uds-cream); overflow: hidden; }
.page-hero--white { background: #fff; }
.page-hero--navy { background: var(--uds-navy); color: #fff; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.page-hero__grid > * { min-width: 0; }
.page-hero h1 { margin: 0; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-hero__skyline { position: absolute; right: 40px; bottom: 0; }
.page-hero--center { text-align: left; padding-bottom: 70px; }
.page-hero--center .page-hero__inner { max-width: 900px; }
.page-hero__base { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--uds-navy); }
.page-hero--navy .page-hero__base { background: var(--uds-gold); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 30px; color: var(--text-muted); font-size: 14px; font-weight: var(--fw-semibold); }

/* 10 Arch photo frames --------------------------------------------------- */
.arch-photo { --pad: 20px; --base: 12px; position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 5); width: 100%; }
.arch-photo--nobase { --base: 0px; }
.arch-photo__back { position: absolute; inset: 0 0 var(--base) 0; border-radius: var(--arch-radius); background: var(--c, var(--uds-gold)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease-rise); }
/* concentric: same inset on top and sides (curves share a centre); photo runs flush to the base */
.arch-photo__frame { position: absolute; top: var(--pad); left: var(--pad); right: var(--pad); bottom: var(--base); border-radius: var(--arch-radius); overflow: hidden; background: var(--uds-tint); clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.2s var(--ease-rise) .25s; }
.arch-photo__frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 1.8s var(--ease-rise) .25s; }
.is-in .arch-photo__back, .arch-photo.is-in .arch-photo__back { transform: scaleY(1); }
.is-in .arch-photo__frame, .arch-photo.is-in .arch-photo__frame { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.is-in .arch-photo__frame img, .arch-photo.is-in .arch-photo__frame img { scale: 1.02; }
.arch-photo:hover .arch-photo__frame img { scale: 1.07; transition-delay: 0s; }
.arch-photo__base { position: absolute; left: -12%; right: -12%; bottom: 0; height: var(--base); background: var(--uds-navy); z-index: 2; }
.arch-photo__tag { position: absolute; z-index: 3; left: -18px; bottom: 38px; background: #fff; border: 1px solid var(--uds-line); border-radius: 18px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13.5px; font-weight: var(--fw-semibold); box-shadow: var(--shadow-float); max-width: 260px; }
.arch-photo__tag strong { display: block; font-size: 15px; }
.arch-photo__tag small { color: var(--text-muted); font-weight: var(--fw-medium); }
.photo { position: relative; margin: 0; border-radius: var(--radius-3xl); overflow: hidden; background: var(--uds-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-rise); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px; background: var(--overlay-photo); color: #fff; font-weight: var(--fw-bold); font-size: 15px; }
.photo figcaption small { display: block; font-weight: var(--fw-medium); color: var(--text-on-dark-muted); font-size: 13px; }
.photo--r { border-radius: 999px 999px var(--radius-3xl) var(--radius-3xl); }

/* 11 Cards & grids ------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-3xl); background: #fff; border: 1px solid var(--uds-line); text-decoration: none; transition: border-color .3s, transform .45s var(--ease-rise), background .3s; overflow: hidden; }
.section--white .card { background: var(--uds-cream); border-color: transparent; }
.section--white .card:hover { border-color: var(--uds-navy); }
.card:hover { border-color: var(--uds-navy); transform: translateY(-6px); }
.card--static:hover { transform: none; border-color: var(--uds-line); }
.card__arch { width: 26px; height: 18px; background: var(--c, var(--uds-gold)); margin-bottom: 26px; transition: height .45s var(--ease-rise); }
.card:hover .card__arch { height: 34px; }
.card h3, .card h4 { font-size: 21px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-heading); line-height: 1.2; margin: 0 0 10px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.card .more { margin-top: auto; padding-top: 22px; font-weight: var(--fw-bold); font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card .more span { transition: transform .3s var(--ease-rise); }
.card:hover .more span { transform: translateX(5px); }
.card::after { content: ""; position: absolute; right: -36px; bottom: -130px; width: 140px; height: 180px; border-radius: 999px 999px 0 0; background: var(--c, var(--uds-gold)); opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .7s var(--ease-rise); pointer-events: none; }
.card:hover::after { opacity: .9; transform: translateY(-40px); }
.card > * { position: relative; z-index: 1; }
.card--navy { background: var(--uds-navy); color: #fff; border-color: var(--uds-navy); }
.card--navy p { color: var(--text-on-dark-muted); }
.on-dark .card, .section--navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); color: #fff; }
.on-dark .card p, .section--navy .card p { color: var(--text-on-dark-muted); }
.on-dark .card:hover, .section--navy .card:hover { border-color: rgba(250,215,68,.6); background: rgba(255,255,255,.1); }
.num { font-size: 13px; font-weight: var(--fw-bold); color: var(--text-muted); margin-bottom: 18px; display: block; }

/* Service card (hubs) */
.svc-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--uds-line); text-decoration: none; transition: border-color .3s, transform .5s var(--ease-rise); }
.svc-card:hover { border-color: var(--uds-navy); transform: translateY(-8px); }
.svc-card__top { position: relative; height: 170px; background: var(--c); overflow: hidden; }
.svc-card__top .cluster { position: absolute; left: 24px; right: 24px; bottom: 0; gap: 8px; }
.svc-card__top .cluster .arch { flex: 1; transform: scaleY(1); transition: transform .6s var(--ease-rise); transform-origin: bottom; }
.svc-card__top .cluster .arch:nth-child(1) { background: rgba(255,255,255,.55); height: 70px; }
.svc-card__top .cluster .arch:nth-child(2) { background: var(--uds-navy); height: 118px; }
.svc-card__top .cluster .arch:nth-child(3) { background: #fff; height: 92px; }
.svc-card:hover .svc-card__top .cluster .arch:nth-child(1) { transform: scaleY(1.25); }
.svc-card:hover .svc-card__top .cluster .arch:nth-child(2) { transform: scaleY(.82); }
.svc-card:hover .svc-card__top .cluster .arch:nth-child(3) { transform: scaleY(1.2); }
.svc-card__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--uds-navy); }
.svc-card__num { position: absolute; top: 18px; left: 24px; font-weight: var(--fw-bold); font-size: 13px; color: var(--uds-navy); opacity: .7; }
.svc-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; }
.svc-card__body h3 { font-size: 22px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-heading); line-height: 1.15; margin: 0 0 10px; }
.svc-card__body p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; }
.svc-card__body .more { margin-top: auto; font-weight: var(--fw-bold); font-size: 14.5px; display: flex; gap: 8px; }
.svc-card__body .more span { transition: transform .3s var(--ease-rise); }
.svc-card:hover .more span { transform: translateX(5px); }

/* Stat */
.stat { padding: 30px 0 0; border-top: 2px solid currentColor; }
.stat__num { font-size: clamp(44px, 5vw, 68px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat__num sup { font-size: .42em; top: 0; }
.stat__label { margin-top: 12px; color: var(--text-muted); font-size: 15px; line-height: 1.5; max-width: 22ch; }
.on-dark .stat__label, .section--navy .stat__label { color: var(--text-on-dark-muted); }

/* Quote */
.quote { position: relative; padding: 34px 32px 30px; border-radius: var(--radius-3xl); background: #fff; border: 1px solid var(--uds-line); display: flex; flex-direction: column; transition: transform .45s var(--ease-rise), border-color .3s, background .3s; break-inside: avoid; }
.quote:hover { transform: translateY(-6px); border-color: var(--uds-navy); }
.on-dark .quote, .section--navy .quote { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.on-dark .quote:hover, .section--navy .quote:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.quote__mark { font-family: var(--font-accent); font-style: italic; font-size: 80px; line-height: .6; color: var(--c, var(--uds-gold)); height: 36px; }
.quote h3 { font-size: 21px; font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: var(--ls-heading); margin: 0 0 14px; }
.quote p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0 0 26px; }
.on-dark .quote p, .section--navy .quote p { color: var(--text-on-dark-muted); }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote footer .arch { width: 22px; height: 15px; background: var(--c, var(--uds-gold)); }
.quote footer strong { display: block; }
.quote footer span { color: var(--text-muted); font-size: 13px; }
.on-dark .quote footer span, .section--navy .quote footer span { color: var(--text-on-dark-subtle); }
.quotes-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 40px 30px; margin: 0 -40px; scrollbar-width: none; cursor: grab; }
.quotes-rail::-webkit-scrollbar { display: none; }
.quotes-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.quotes-rail .quote { flex: none; width: 400px; scroll-snap-align: start; user-select: none; }
.masonry { columns: 3 340px; column-gap: 18px; }
.masonry .quote { margin-bottom: 18px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; font-size: 18px; transition: background .25s, color .25s, border-color .25s; opacity: .85; }
.round-btn:hover { background: var(--uds-gold); border-color: var(--uds-gold); color: var(--uds-navy); opacity: 1; }

/* Value / feature list */
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--uds-line); }
.feature:last-child { border-bottom: 1px solid var(--uds-line); }
.on-dark .feature, .section--navy .feature { border-color: var(--border-on-dark); }
.feature .arch { width: 30px; height: 22px; margin-top: 4px; transition: height .4s var(--ease-rise); }
.feature:hover .arch { height: 32px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: var(--ls-heading); line-height: 1.3; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.7; }
.on-dark .feature p, .section--navy .feature p { color: var(--text-on-dark-muted); }

/* 12 Prose --------------------------------------------------------------- */
.prose { font-size: 17.5px; line-height: 1.8; color: var(--uds-ink-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: 1.12; color: var(--uds-navy); margin: 2.1em 0 .1em; text-wrap: balance; }
.prose h3 { font-size: 21px; font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.3; color: var(--uds-navy); margin: 1.8em 0 0; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose a { color: var(--uds-navy); font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-color: var(--uds-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.prose a:hover { color: var(--text-accent); text-decoration-color: var(--text-accent); }
.prose strong { color: var(--uds-navy); }
.prose ul, .prose ol { padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; display: block; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 10px; border-radius: 7px 7px 0 0; background: var(--c, var(--uds-gold)); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; display: block; padding-left: 42px; min-height: 30px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; background: var(--uds-navy); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.prose blockquote { margin: 1.6em 0; padding: 26px 30px; border-radius: var(--radius-3xl); background: var(--uds-cream); font-size: 19px; line-height: 1.6; color: var(--uds-navy); border-left: 4px solid var(--uds-gold); }
.prose .callout { padding: 26px 28px; border-radius: var(--radius-3xl); background: var(--uds-cream); border: 1px solid var(--uds-line); }
.prose--lead > p:first-child { font-size: 20px; line-height: 1.7; color: var(--uds-navy); }
.drop > p:first-of-type::first-letter { float: left; font-family: var(--font-accent); font-style: italic; font-size: 4.2em; line-height: .8; padding: 8px 12px 0 0; color: var(--text-accent); }

/* Content section blocks for service/location pages */
.block { padding: 72px 0; border-top: 1px solid var(--uds-line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.block h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: 1.08; margin: 0; text-wrap: balance; }
.tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tick-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--uds-line); border-radius: var(--radius-lg); font-weight: var(--fw-semibold); font-size: 15px; line-height: 1.45; transition: border-color .25s, transform .35s var(--ease-rise); }
.section--white .tick-grid li { background: var(--uds-cream); border-color: transparent; }
.tick-grid li:hover { border-color: var(--uds-navy); transform: translateY(-3px); }
.tick-grid .arch-bullet { margin-top: 6px; }
.tick-grid a { text-decoration: none; }

/* 13 Lists & steps ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps__line { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--uds-line); }
.on-dark .steps__line, .section--navy .steps__line { background: rgba(255,255,255,.14); }
.steps__line span { display: block; height: 100%; background: var(--uds-gold); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-rise) .2s; }
.steps.is-in .steps__line span { transform: scaleX(1); }
.step { position: relative; padding-top: 84px; }
.step__num { position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--uds-cream); border: 2px solid var(--uds-line); font-weight: var(--fw-extrabold); font-size: 20px; transition: background .4s, border-color .4s, color .4s; transition-delay: calc(var(--i) * .45s + .3s); }
.on-dark .step__num, .section--navy .step__num { background: var(--uds-navy); border-color: rgba(255,255,255,.2); }
.steps.is-in .step__num { background: var(--uds-gold); border-color: var(--uds-gold); color: var(--uds-navy); }
.step h3 { font-size: 22px; font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.2; margin: 0 0 10px; }
.step p { color: var(--text-muted); margin: 0; line-height: 1.7; }
.on-dark .step p, .section--navy .step p { color: var(--text-on-dark-muted); }
.step .link { display: inline-block; margin-top: 18px; }

/* 14 TOC & subnav -------------------------------------------------------- */
.with-toc { display: grid; grid-template-columns: 250px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: 14px; }
.toc__label { font-weight: var(--fw-semibold); color: var(--text-muted); margin: 0 0 14px; font-size: 13.5px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--uds-line); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--uds-slate); font-weight: var(--fw-medium); line-height: 1.4; transition: color .2s, border-color .2s, padding .3s var(--ease-rise); }
.toc a:hover { color: var(--uds-navy); padding-left: 22px; }
.toc a.active { color: var(--uds-navy); border-color: var(--uds-gold); font-weight: var(--fw-bold); }
.toc__cta { margin-top: 30px; padding: 22px; border-radius: 20px; background: var(--uds-navy); color: #fff; }
.toc__cta p { margin: 6px 0 16px; color: var(--text-on-dark-muted); font-size: 14px; line-height: 1.5; }
.toc__cta strong { font-size: 17px; line-height: 1.25; display: block; }

/* 15 FAQ ----------------------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--uds-line); }
.faq details:first-of-type { border-top: 2px solid var(--uds-navy); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 4px; font-size: 18.5px; font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--text-accent); }
.faq summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--uds-cream); transition: background .3s, transform .4s var(--ease-rise); }
.section--cream .faq summary i { background: #fff; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--uds-navy); border-radius: 2px; transition: transform .35s var(--ease-rise); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--uds-gold); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer > div { padding: 0 4px 26px; color: var(--text-muted); line-height: 1.75; max-width: 66ch; }
.faq .answer a { color: var(--uds-navy); font-weight: 600; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 22px; margin: 0 0 18px; display: flex; gap: 12px; align-items: center; }
.faq-group h2 .arch { width: 20px; height: 14px; }
.search { position: relative; }
.search input { width: 100%; padding: 18px 22px 18px 54px; border-radius: var(--radius-pill); border: 1.5px solid var(--uds-line); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--uds-navy); box-shadow: 0 0 0 4px rgba(250,215,68,.5); }
.search svg { position: absolute; left: 22px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; stroke: var(--uds-grey); fill: none; stroke-width: 2; }
.empty { padding: 40px 0; color: var(--text-muted); display: none; }
.empty.show { display: block; }

/* 16 CTA bands ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--uds-gold); border-radius: 32px; padding: 72px 64px 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta-band::before { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -240px; border-radius: 50%; border: 70px solid rgba(43,50,82,.08); }
.cta-band__copy { position: relative; padding-bottom: 64px; }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1; margin: 0; }
.cta-band p { font-size: 18px; line-height: 1.6; margin: 18px 0 30px; max-width: 44ch; }
.cta-band .cluster { position: relative; height: 170px; justify-content: flex-end; }
.cta-band .cluster .arch { width: 56px; }
.cta-band__base { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--uds-navy); }
.cta-band--navy { background: var(--uds-navy); color: #fff; }
.cta-band--navy::before { border-color: rgba(255,255,255,.05); }
.cta-band--navy p { color: var(--text-on-dark-muted); }
.cta-band--navy .cta-band__base { background: var(--uds-gold); }

/* Wait board (shared) */
.wait { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.regions { display: flex; flex-direction: column; gap: 6px; }
.region-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-lg); border: 1px solid transparent; background: transparent; cursor: pointer; font-weight: var(--fw-semibold); font-size: 15.5px; text-align: left; transition: background .2s, border-color .2s; }
.region-btn:hover { background: var(--uds-cream); border-color: var(--uds-line); }
.region-btn[aria-selected="true"] { background: var(--uds-navy); color: #fff; }
.region-btn small { font-size: 12px; font-weight: var(--fw-bold); padding: 3px 9px; border-radius: 999px; background: var(--uds-mint); color: var(--uds-success-ink); white-space: nowrap; }
.board { border: 1px solid var(--uds-line); border-radius: 24px; background: #fff; overflow: hidden; }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border-bottom: 2px solid var(--uds-navy); }
.board__head h3 { margin: 0; font-size: 22px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-heading); }
.board__head p { margin: 2px 0 0; color: var(--text-muted); font-size: 13.5px; }
.board__rows { list-style: none; margin: 0; padding: 0; }
.board__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; align-items: center; padding: 15px 28px; border-bottom: 1px solid var(--uds-line); animation: udsRise .45s var(--ease-rise) both; animation-delay: calc(var(--i) * .04s); transition: background .2s; }
.board__row:last-child { border-bottom: 0; }
.board__row:hover { background: var(--uds-cream); }
.board__row .arch { width: 18px; height: 12px; background: var(--c); }
.board__row .name { font-weight: var(--fw-semibold); }
.board__row .name a { text-decoration: none; }
.board__row .name a:hover { color: var(--text-accent); }
.board__row .notify-btn { border: 0; background: none; padding: 0; cursor: pointer; }
.board__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; background: var(--uds-cream); }
.board__foot p { margin: 0; font-size: 14px; color: var(--text-muted); }
.mini-board { border: 1px solid var(--uds-line); border-radius: 22px; background: #fff; overflow: hidden; }
.mini-board h3 { margin: 0; padding: 20px 24px; border-bottom: 2px solid var(--uds-navy); font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-board ul { list-style: none; margin: 0; padding: 0; }
.mini-board li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 24px; border-bottom: 1px solid var(--uds-line); font-weight: var(--fw-semibold); font-size: 15px; }
.mini-board li:last-child { border-bottom: 0; }
.mini-board p { margin: 0; padding: 16px 24px; background: var(--uds-cream); font-size: 13.5px; color: var(--text-muted); }

/* Staff wall */
.wall__row { overflow: hidden; padding: 16px 0 6px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall__track { display: flex; gap: 16px; width: max-content; animation: marquee 90s linear infinite; }
.wall__row--rev .wall__track { animation-direction: reverse; animation-duration: 110s; }
.wall:hover .wall__track { animation-play-state: paused; }
.tile { position: relative; flex: none; width: 150px; height: 168px; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--c); transition: transform .45s var(--ease-rise); }
.tile img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; transition: transform .45s var(--ease-rise); }
.tile:hover img { transform: translate(-7px, -10px); }
.tile:hover::before { transform: translate(5px, 2px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 18px; }
.team-grid .tile { width: auto; height: auto; aspect-ratio: 304 / 340; }
.team-grid .tile img { position: absolute; inset: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Ticker */
.ticker { background: var(--uds-navy); color: #fff; padding: 26px 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.ticker__item { display: inline-block; font-size: clamp(22px, 2.4vw, 32px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); white-space: nowrap; }
.ticker__item .accent { color: var(--uds-gold); }
.ticker__item .arch { display: inline-block; width: 22px; height: 15px; margin-left: 46px; vertical-align: middle; translate: 0 -3px; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.badges img { height: 92px; width: auto; transition: transform .4s var(--ease-rise); }
.badges img:hover { transform: rotate(-3deg) translateY(-4px); }
.badges .ndis { height: 50px; }

/* 17 Articles & U-Hub ---------------------------------------------------- */
.cover { position: relative; aspect-ratio: 16 / 10; background: var(--c); overflow: hidden; border-radius: 20px; transition: border-radius .5s var(--ease-rise); }
.cover .cluster { position: absolute; left: 7%; right: 56%; bottom: 0; top: 30%; gap: 8px; }
.cover:not(.cover--photo) .cluster { right: 7%; top: 16%; }
.cover .cluster .arch { flex: 1; transform: scaleY(1); transition: transform .8s var(--ease-rise); transform-origin: bottom; }
.cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--uds-navy); z-index: 2; }
/* photo in a white arch, equal padding all round, standing on the navy baseline */
.cover__arch.arch-photo { position: absolute; right: 7%; bottom: 8px; top: 9%; width: 44%; aspect-ratio: auto; --pad: 9px; }
.cover--wide .cover__arch.arch-photo { width: 30%; right: 9%; --pad: 12px; }
.cover--wide .cluster { right: 44%; }
/* the chip rides the curve: slides in as the corner rounds, returns on release */
.cover__label { position: absolute; top: 16px; left: 16px; z-index: 3; transition: transform .5s var(--ease-rise); }
.post-card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.post-card .cover { transition: border-radius .5s var(--ease-rise); }
.post-card:hover .cover, .post-card:focus-visible .cover { border-radius: 90px 90px 20px 20px; }
.post-card:hover .cover__label, .post-card:focus-visible .cover__label { transform: translate(30px, 8px); }
.post-card:hover .cover__arch img { scale: 1.08; }
.post-card:hover .cover .arch:nth-child(odd) { transform: scaleY(1.18); }
.post-card:hover .cover .arch:nth-child(even) { transform: scaleY(.85); }
.post-card h3 { font-size: 20px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-heading); line-height: 1.25; margin: 0; transition: color .2s; text-wrap: balance; }
.post-card:hover h3 { color: var(--text-accent); }
.post-card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-muted); font-weight: var(--fw-semibold); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 26px; }
.post-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; text-decoration: none; }
.post-feature .cover { aspect-ratio: 16 / 9.5; }
.post-feature h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: 1.06; margin: 14px 0 16px; transition: color .2s; }
.post-feature:hover h2 { color: var(--text-accent); }
.post-feature:hover .cover, .post-feature:focus-visible .cover { border-radius: 140px 140px 20px 20px; }
.post-feature:hover .cover__label, .post-feature:focus-visible .cover__label { transform: translate(62px, 12px); }
.hub-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 44px; }
.hub-tools .search { flex: 0 1 360px; }
.hub-tools .search input { padding-top: 14px; padding-bottom: 14px; }
.article-hero { padding: 150px 0 60px; background: var(--uds-cream); }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1.04; margin: 0; max-width: 20ch; text-wrap: balance; }
.article-hero .cover { margin-top: 48px; aspect-ratio: 21 / 8; border-radius: 28px; }
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--uds-tint); }
.author strong { display: block; font-size: 15px; }
.author span { font-size: 13px; color: var(--text-muted); }
.share { display: flex; gap: 8px; }
.share { flex-wrap: wrap; }
.share a, .share button { padding: 9px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--uds-line); display: inline-flex; align-items: center; background: #fff; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 13px; transition: border-color .2s, background .2s; }
.share a:hover, .share button:hover { border-color: var(--uds-navy); background: var(--uds-gold); }
.article-faq { margin-top: 2.4em; }
.inline-photo { position: relative; margin: 2.4em 0; padding: 18px 18px 30px; background: var(--c); border-radius: 28px; overflow: hidden; }
.inline-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--uds-navy); }
.inline-photo__frame { position: relative; z-index: 1; border-radius: 220px 220px 16px 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--uds-tint); }
.inline-photo__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-rise); }
.inline-photo:hover .inline-photo__frame img { transform: scale(1.04); }
.inline-photo .cluster { position: absolute; right: 30px; bottom: 10px; z-index: 2; gap: 6px; }
.inline-photo .cluster .arch { width: 16px; }
.inline-photo figcaption { position: relative; z-index: 1; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--uds-navy); padding-right: 90px; }

/* 18 Locations ----------------------------------------------------------- */
.loc-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: end; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--uds-line); text-decoration: none; transition: border-color .3s, transform .45s var(--ease-rise); position: relative; overflow: hidden; }
.loc-card:hover { border-color: var(--uds-navy); transform: translateY(-5px); }
.loc-card h3 { margin: 0; font-size: 20px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-heading); }
.loc-card p { margin: 0; grid-column: 1; color: var(--text-muted); font-size: 14px; font-weight: var(--fw-medium); }
.loc-card .cluster { grid-row: 1 / 3; grid-column: 2; gap: 5px; align-self: end; }
.loc-card .cluster .arch { width: 14px; transform: scaleY(1); transition: transform .5s var(--ease-rise); }
.loc-card:hover .cluster .arch:first-child { transform: scaleY(1.35); }
.loc-card .tag { position: absolute; top: 18px; right: 20px; }
.office { padding: 30px; border-radius: 24px; background: var(--uds-navy); color: #fff; display: flex; flex-direction: column; gap: 6px; transition: transform .45s var(--ease-rise); }

.office h3 { margin: 0 0 6px; font-size: 22px; font-weight: var(--fw-extrabold); display: flex; align-items: center; gap: 10px; }
.office h3 .arch { width: 18px; height: 13px; }
.office p { margin: 0; color: var(--text-on-dark-muted); font-size: 15px; }
.office a { color: var(--uds-gold); font-weight: var(--fw-bold); text-decoration: none; margin-top: 14px; font-size: 14.5px; }
.suburbs { display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs span { padding: 8px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--uds-line); font-size: 14px; font-weight: var(--fw-semibold); transition: background .2s, border-color .2s; }
.suburbs span:hover { background: var(--uds-gold); border-color: var(--uds-gold); }
.map-card { position: relative; border-radius: 28px; background: var(--uds-navy); color: #fff; padding: 36px; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.map-card .cluster { position: absolute; right: 30px; bottom: 0; gap: 8px; }
.map-card .cluster .arch { width: 30px; }
.map-card address { font-style: normal; font-size: 22px; font-weight: var(--fw-bold); line-height: 1.35; max-width: 16ch; }
.map-card .row { position: relative; z-index: 1; }

/* 19 Forms --------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--uds-line); border-radius: 28px; padding: 44px; position: relative; }
.form-steps { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 34px; }
.form-steps button { flex: 1; display: flex; flex-direction: column; gap: 10px; background: none; border: 0; padding: 0; cursor: default; text-align: left; font-size: 12.5px; font-weight: var(--fw-bold); color: var(--text-muted); }
.form-steps button i { display: block; height: 10px; border-radius: 999px 999px 0 0; background: var(--uds-line); transition: background .4s, height .45s var(--ease-rise); }
.form-steps button.on { color: var(--uds-navy); }
.form-steps button.on i { background: var(--uds-gold); height: 22px; }
.form-steps button.done { color: var(--uds-navy); cursor: pointer; }
.form-steps button.done i { background: var(--uds-navy); height: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: none; }
.form fieldset.active { display: block; animation: udsRise .5s var(--ease-rise) both; }
.form legend { font-size: 28px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: 1.15; margin-bottom: 6px; padding: 0; }
.form .hint { color: var(--text-muted); font-size: 15px; margin: 0 0 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 13.5px; font-weight: var(--fw-semibold); }
.field .opt { color: var(--text-muted); font-weight: var(--fw-medium); }
.field input, .field select, .field textarea { width: 100%; font-size: 15px; padding: 14px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--uds-line); background: #fff; color: var(--uds-navy); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--uds-navy) 50%), linear-gradient(135deg, var(--uds-navy) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--uds-dash); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--uds-navy); box-shadow: 0 0 0 4px rgba(250,215,68,.55); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--uds-danger); }
.field .err, .choices .err, .check .err { display: none; color: var(--uds-danger); font-size: 13px; font-weight: 600; }
.field.invalid > .err, .choices.invalid > .err, .check.invalid .err { display: block; }
.choices > .err { grid-column: 1 / -1; }
.choices.invalid .choice label { border-color: var(--uds-danger); }
.check.invalid input { outline: 2px solid var(--uds-danger); outline-offset: 3px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-lg); border: 1.5px solid var(--uds-line); cursor: pointer; font-weight: var(--fw-semibold); font-size: 15px; line-height: 1.35; transition: border-color .2s, background .2s; height: 100%; }
.choice label .arch { width: 18px; height: 12px; background: var(--c, var(--uds-gold)); transition: height .3s var(--ease-rise); }
.choice label small { display: block; font-weight: var(--fw-medium); color: var(--text-muted); font-size: 13px; }
.choice label:hover { border-color: var(--uds-navy); }
.choice input:checked + label { border-color: var(--uds-navy); background: var(--uds-cream); }
.choice input:checked + label .arch { height: 20px; }
.choice input:focus-visible + label { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--uds-navy); margin-top: 2px; flex: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 16px; }
.form-back { background: none; border: 0; cursor: pointer; font-weight: var(--fw-bold); color: var(--text-muted); padding: 8px 0; }
.form-back:hover { color: var(--text-accent); }
.form-done { text-align: left; }
.form-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-list a, .contact-list div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--uds-line); text-decoration: none; font-weight: var(--fw-bold); font-size: 19px; transition: padding .3s var(--ease-rise), color .2s; }
.contact-list li:first-child > * { border-top: 2px solid var(--uds-navy); }
.contact-list span { color: var(--text-muted); font-weight: var(--fw-medium); font-size: 14px; white-space: nowrap; }
.contact-list a:hover { padding-left: 14px; color: var(--text-accent); }
.on-dark .contact-list a, .on-dark .contact-list div { border-color: var(--border-on-dark); }
.on-dark .contact-list li:first-child > * { border-top-color: var(--uds-gold); }

/* 20 Home set pieces ----------------------------------------------------- */
.hero { position: relative; padding: 150px 0 0; background: var(--uds-cream); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: end; }
.hero__grid > * { min-width: 0; }
.hero__copy { padding-bottom: 96px; position: relative; z-index: 2; }
.hero__title { font-size: var(--fs-hero); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: .95; margin: 0; }
.hero__title .accent { color: var(--text-accent); font-size: 1.1em; }
.hero__rotate { margin: 26px 0 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); display: flex; gap: .3em; align-items: baseline; }
.hero__rotate .rotator { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--text-accent); font-size: 1.12em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease-rise), transform .7s var(--ease-rise); white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.off { opacity: 0; transform: translateY(-50%); }
.hero__lead { font-size: 19px; line-height: 1.65; color: var(--text-muted); max-width: 32em; margin: 18px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--uds-line); }
.hero__meta img { height: 58px; width: auto; transition: transform .35s var(--ease-rise); }
.hero__meta img:hover { transform: translateY(-3px); }
.hero__meta .ndis { height: 44px; }
.skyline { position: relative; height: 640px; display: flex; align-items: flex-end; justify-content: center; gap: 16px; }
.skyline__col { --pad: 14px; position: relative; flex: none; height: var(--h); }
.skyline__col .arch { position: absolute; left: 0; right: 0; bottom: 0; top: 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease-rise); transition-delay: calc(var(--i) * .12s); }
.hero.is-in .skyline__col .arch { transform: scaleY(1); }
/* equal padding top and sides; photo runs down to the navy baseline */
.skyline__frame { position: absolute; z-index: 1; top: var(--pad); left: var(--pad); right: var(--pad); bottom: 14px; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--uds-tint); clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.2s var(--ease-rise); transition-delay: calc(var(--i) * .12s + .35s); }
.hero.is-in .skyline__frame { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.skyline__frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 1.6s var(--ease-rise); transition-delay: calc(var(--i) * .12s + .35s); }
.hero.is-in .skyline__frame img { scale: 1.06; }
.skyline__col:hover .skyline__frame img { scale: 1.12; transition-delay: 0s; }
.skyline__col--a { width: 140px; --h: 360px; } .skyline__col--a .arch { --c: var(--uds-mint); }
.skyline__col--b { width: 310px; --h: 540px; } .skyline__col--b .arch { --c: var(--uds-gold); }
.skyline__col--c { width: 140px; --h: 420px; } .skyline__col--c .arch { --c: var(--uds-sky); }
.skyline__mini { position: absolute; bottom: 0; display: flex; align-items: flex-end; gap: 10px; }
.skyline__mini--l { left: -6px; } .skyline__mini--r { right: -6px; }
.skyline__base { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--uds-navy); z-index: 3; }
.hero__float { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--uds-line); border-radius: var(--radius-3xl); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: var(--fw-semibold); box-shadow: var(--shadow-float); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-rise) 1.1s, transform .7s var(--ease-rise) 1.1s; }
.hero.is-in .hero__float { opacity: 1; transform: none; }
.hero__float strong { display: block; font-size: 22px; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: 1; }
.hero__float small { color: var(--text-muted); font-weight: var(--fw-medium); font-size: 12.5px; }
.hero__float--1 { top: 110px; left: -4px; }
.hero__float--2 { top: 250px; right: -10px; transition-delay: 1.3s; }
.hero__float .arch { width: 22px; height: 15px; }

/* Statement scrub */
.statement__text { font-size: clamp(34px, 5.2vw, 72px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1.04; margin: 0; max-width: 17ch; }
.statement__text .w { color: var(--text-muted); transition: color .25s; }
.statement__text .w.on { color: var(--uds-navy); }
.statement__text .w.accent.on { color: var(--text-accent); }

/* Stacking service cards */
.stack-cards { display: grid; gap: 0; }
.stack-card { position: sticky; top: calc(110px + var(--i) * 18px); margin-bottom: 26px; border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--uds-line); display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; transform-origin: top center; box-shadow: 0 -20px 40px -30px rgba(43,50,82,.25); }
.stack-card__body { padding: 52px 52px 48px; display: flex; flex-direction: column; }
.stack-card__num { display: flex; align-items: center; gap: 12px; font-weight: var(--fw-bold); font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.stack-card__num .arch { width: 24px; height: 17px; }
.stack-card h3 { font-size: clamp(32px, 3.6vw, 50px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1.02; margin: 0 0 18px; }
.stack-card p { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin: 0 0 26px; max-width: 44ch; }
.stack-card .chips { margin-bottom: 30px; }
.stack-card .chips a { text-decoration: none; }
.stack-card__cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stack-card__art { position: relative; background: var(--c); overflow: hidden; }
.stack-card__art .arch-photo { position: absolute; left: 34px; right: 34px; bottom: 12px; top: 34px; width: auto; aspect-ratio: auto; --pad: 18px; }
.stack-card__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--uds-navy); }

/* Pinned horizontal gallery */
.hgallery { position: relative; height: var(--pin-h, 300vh); background: var(--uds-navy); color: #fff; }
.hgallery__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hgallery__head { padding-bottom: 38px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.hgallery__track { display: flex; gap: 22px; padding-left: max(40px, calc((100vw - var(--container-wide)) / 2)); will-change: transform; }
.hgallery__item { flex: none; height: min(58vh, 540px); border-radius: 26px; overflow: hidden; position: relative; margin: 0; }
.hgallery__item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease-rise); }
.hgallery__item:hover img { transform: scale(1.05); }
.hgallery__item--arch { border-radius: 999px 999px 26px 26px; }
.hgallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: var(--overlay-photo); font-weight: var(--fw-bold); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-rise); }
.hgallery__item:hover figcaption, .hgallery__item:focus-within figcaption { opacity: 1; transform: none; }
.hgallery__item figcaption small { display: block; font-weight: var(--fw-medium); color: var(--text-on-dark-muted); }
.hgallery__card { flex: none; width: 380px; height: min(58vh, 540px); border-radius: 26px; background: var(--uds-gold); color: var(--uds-navy); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.hgallery__card h3 { font-size: 34px; letter-spacing: var(--ls-hero); line-height: 1.02; margin: 0; }
.hgallery__progress { margin-top: 38px; height: 2px; background: rgba(255,255,255,.15); }
.hgallery__progress span { display: block; height: 100%; background: var(--uds-gold); transform-origin: left; transform: scaleX(0); }

/* Closer */
.closer { background: var(--uds-gold); padding: 120px 0 0; overflow: hidden; position: relative; }
.closer::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; border: 80px solid rgba(43,50,82,.08); }
.closer__inner { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.closer__inner > div:first-child { padding-bottom: 80px; }
.closer h2 { font-size: clamp(46px, 7.4vw, 112px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: .95; margin: 0; }
.closer .cluster { height: 150px; }
.closer .cluster .arch { width: 70px; }
.closer .baseline { height: 14px; }

/* 21 Footer -------------------------------------------------------------- */
.footer { background: var(--uds-navy); color: #fff; padding: 96px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--text-on-dark-muted); font-size: 15px; line-height: 1.7; max-width: 32ch; margin: 0 0 24px; }
.footer h2 { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-on-dark-subtle); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; font-weight: var(--fw-medium); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--uds-gold); }
.footer__offices { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--border-on-dark); }
.footer__offices div { font-size: 13.5px; color: var(--text-on-dark-muted); line-height: 1.55; }
.footer__offices strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { display: block; border-radius: 8px; transition: transform .3s var(--ease-rise); }
.socials a:hover { transform: translateY(-3px); }
.socials img { width: 30px; height: 30px; border-radius: 8px; }
.acknowledge { margin-top: 50px; padding: 30px 0; border-top: 1px solid var(--border-on-dark); border-bottom: 1px solid var(--border-on-dark); display: flex; gap: 22px; align-items: center; color: var(--text-on-dark-muted); font-size: 14.5px; line-height: 1.7; }
.acknowledge .cluster .arch { width: 12px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; color: var(--text-on-dark-subtle); font-size: 13px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--uds-gold); }
.footer__legal .badges img { height: 44px; }

/* 22 Utilities ----------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 260; translate: -50% 0; background: var(--uds-navy); color: #fff; padding: 14px 22px; border-radius: var(--radius-pill); font-weight: var(--fw-semibold); font-size: 14.5px; display: flex; gap: 12px; align-items: center; transform: translateY(calc(100% + 60px)); transition: transform .5s var(--ease-rise); max-width: calc(100vw - 32px); }
.toast.show { transform: none; }
.toast .arch { width: 18px; height: 12px; background: var(--uds-gold); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--uds-navy); color: #fff; cursor: pointer; font-size: 18px; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease-rise), background .2s; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--uds-gold); color: var(--uds-navy); }
.divider { height: 1px; background: var(--uds-line); border: 0; margin: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* 23 Responsive ---------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav__phone { display: none; }
  .nav__link { padding: 10px 11px; font-size: 14px; }
  .mega--wide { grid-template-columns: repeat(4, 1fr); }
  .mega--wide .mega__side { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__offices { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .with-toc { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stack-card { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .stack-card__art { min-height: 340px; }
}
@media (max-width: 1000px) {
  .container { padding: 0 24px; }
  .section { padding: 88px 0; }
  .section-head, .split, .split--wide-left, .split--wide-right, .page-hero__grid, .block__grid, .post-feature, .wait { grid-template-columns: 1fr; gap: 36px; }
  .page-hero { padding: 130px 0 72px; }
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 20px; }
  .skyline { zoom: .8; }
  .grid--3, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps__line { display: none; }
  .regions { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .region-btn { flex: none; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 32px 0; }
  .cta-band .cluster { justify-content: flex-start; height: 120px; }
  .cta-band__copy { padding-bottom: 20px; }
  .closer__inner { flex-direction: column; align-items: flex-start; }
  .closer__inner > div:first-child { padding-bottom: 20px; }
  .hgallery { height: auto !important; }
  .hgallery__sticky { position: static; height: auto; padding: 88px 0; }
  .hgallery__track { overflow-x: auto; transform: none !important; padding-right: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hgallery__item, .hgallery__card { scroll-snap-align: start; height: 420px; }
  .hgallery__progress { display: none; }
  .form-card { padding: 30px 24px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .arch-photo { --pad: 14px; }
  .nav__logo .logo { height: 32px; }
  .quotes-rail { padding: 6px 16px 26px; margin: 0 -16px; }
  .quotes-rail .quote { width: 86vw; }
  .section { padding: 72px 0; }
  .hero__title { font-size: 54px; }
  .hero__lead { font-size: 17px; }
  .hero__float { display: none; }
  .skyline { zoom: .52; margin-top: -120px; }
  .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 auto; }
  .grid--2, .grid--3, .grid--4, .post-grid, .tick-grid, .fields, .choices, .choices--3, .footer__top, .footer__offices { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .card { padding: 26px 22px; }
  .stack-card__body { padding: 32px 22px; }
  .board__row { padding: 14px 18px; grid-template-columns: 18px 1fr; }
  .board__row .status, .board__row .notify-btn { grid-column: 2; justify-self: start; }
  .board__head, .board__foot { padding: 18px; }
  .closer .cluster .arch { width: 44px; }
  .tile { width: 116px; height: 130px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form legend { font-size: 23px; }
  .hgallery__item, .hgallery__card { height: 340px; }
  .hgallery__card { width: 280px; padding: 26px; }
  .article-hero .cover { aspect-ratio: 16 / 9; }
  .map-card { padding: 26px; }
  .hub-tools .search { flex: 1 1 100%; }
}

/* 24 Reduced motion / print --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .split-line > span, .cluster .arch, .skyline__col .arch, .hero__float, .arch-photo__back { opacity: 1 !important; transform: none !important; }
  .arch-photo__frame, .skyline__frame { clip-path: none !important; }
  .logo__echo { display: none; }
  .logo-intro .logo * { animation: none !important; }
  .ticker__track, .wall__track { animation: none !important; }
  .statement__text .w { color: var(--uds-navy); }
  .hgallery { height: auto !important; }
  .hgallery__sticky { position: static; height: auto; padding: 88px 0; }
  .hgallery__track { overflow-x: auto; transform: none !important; }
  @view-transition { navigation: none; }
}
@media print {
  .nav, .drawer, .progress, .toast, .to-top, .cta-band, .closer, .footer { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   25 Mega menus (v3): full-width panels, contextual imagery, layered motion
   ========================================================================== */
.nav__menu > li[data-mega] { position: static; }
.mega--xl { left: 40px; right: 40px; top: calc(100% - 6px); width: auto; padding: 0; border-radius: 28px; overflow: hidden; display: block;
  opacity: 1; visibility: hidden; transform: none; clip-path: inset(0 0 100% 0 round 28px); transition: clip-path .55s var(--ease-rise), visibility 0s linear .55s; box-shadow: 0 40px 80px -40px rgba(43,50,82,.45); }
.nav__item.open .mega--xl { visibility: visible; clip-path: inset(0 0 0 0 round 28px); transition: clip-path .6s var(--ease-rise), visibility 0s; }
.mega--xl .mtab, .mega--xl .mcard, .mega--xl .mpost, .mega--xl .mgptw, .mega--xl .mside__help, .mega--xl .mpane__head { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-rise), transform .55s var(--ease-rise), background .25s, border-color .25s; }
.nav__item.open .mega--xl .mtab, .nav__item.open .mega--xl .mcard, .nav__item.open .mega--xl .mpost, .nav__item.open .mega--xl .mgptw, .nav__item.open .mega--xl .mside__help, .nav__item.open .mega--xl .mpane__head { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .05s + .14s); }
.mega__grid { display: grid; grid-template-columns: 250px 1fr 330px; min-height: 430px; }
.mega__foot { display: flex; gap: 28px; align-items: center; padding: 16px 28px; background: var(--uds-cream); border-top: 1px solid var(--uds-line); font-size: 14px; font-weight: var(--fw-bold); }
.mega__foot a { text-decoration: none; display: flex; gap: 10px; align-items: center; transition: color .2s; }
.mega__foot a:hover { color: var(--text-accent); }
.mega__foot a:last-child { margin-left: auto; }

/* family tabs with a sliding navy ink */
.mtabs { position: relative; padding: 18px; background: var(--uds-cream); display: flex; flex-direction: column; gap: 4px; }
.mtabs__ink { position: absolute; left: 18px; right: 18px; top: 0; height: var(--h, 64px); transform: translateY(var(--y, 18px)); background: var(--uds-navy); border-radius: 16px; transition: transform .45s var(--ease-rise), height .45s var(--ease-rise); z-index: 0; }
.mtab { position: relative; z-index: 1; display: grid; grid-template-columns: 20px 1fr 12px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; text-decoration: none; }
.mtab .arch { width: 22px; height: 15px; transition: height .4s var(--ease-rise); }
.mtab strong { display: block; font-size: 15px; white-space: nowrap; }
.mtab small { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: var(--fw-medium); }
.mtab i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease-rise); }
.mtab.on { color: #fff; }
.mtab.on small { color: var(--text-on-dark-subtle); }
.mtab.on .arch { height: 26px; }
.mtab.on i { opacity: 1; transform: none; color: var(--uds-gold); }

/* rows */
.mpanes { position: relative; padding: 18px 22px; }
.mpane { display: none; }
.mpane.on { display: block; }
.mpane__head { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 8px 12px; font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-muted); }
.mpane__head a { color: var(--uds-navy); font-weight: var(--fw-bold); text-decoration: none; }
.mpane__head a:hover { color: var(--text-accent); }
.mpane__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.mrow { display: grid; grid-template-columns: 52px 1fr 14px; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; text-decoration: none; border: 1px solid transparent; }
.mega--xl .mrow { opacity: 1; transform: none; }
.nav__item.open .mpane.on .mrow { animation: mrowIn .5s var(--ease-rise) both; animation-delay: calc(var(--i) * .045s + .1s); }
@keyframes mrowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mrow:hover, .mrow:focus-visible, .mrow.hot { background: var(--uds-cream); border-color: var(--uds-line); }
.mrow__txt strong { display: block; font-size: 14.5px; line-height: 1.3; }
.mrow__txt small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--uds-slate); font-weight: var(--fw-medium); margin-top: 2px; }
.mrow i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--ease-rise); }
.mrow:hover i, .mrow.hot i { opacity: 1; transform: none; }
/* arch thumbnail with equal padding */
.mthumb { position: relative; display: block; width: 52px; height: 60px; border-radius: 26px 26px 0 0; box-shadow: inset 0 -3px 0 var(--uds-navy); background: var(--c); transition: transform .45s var(--ease-rise); }
.mthumb__in { position: absolute; inset: 4px 4px 3px; border-radius: 22px 22px 0 0; overflow: hidden; }
.mthumb__in img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-rise); }
.mrow:hover .mthumb, .mrow.hot .mthumb { transform: translateY(-3px); }
.mrow:hover .mthumb img, .mrow.hot .mthumb img { scale: 1.12; }

/* live preview */
.mprevs { position: relative; background: var(--uds-cream); border-left: 1px solid var(--uds-line); }
.mprev { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .35s; }
.mprev.on { opacity: 1; pointer-events: auto; }
.mprev__art { position: relative; margin: 0; height: 220px; border-radius: 20px; background: var(--c); overflow: hidden; }
.mprev__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--uds-navy); }
.mprev__back { position: absolute; right: 22px; bottom: 8px; width: 150px; top: 18px; border-radius: 999px 999px 0 0; background: #fff; transform-origin: bottom; transform: scaleY(.2); transition: transform .6s var(--ease-rise); }
.mprev__frame { position: absolute; right: 32px; bottom: 8px; width: 130px; top: 28px; border-radius: 999px 999px 0 0; overflow: hidden; clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path .7s var(--ease-rise) .08s; }
.mprev__frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; transition: scale 1s var(--ease-rise) .08s; }
.mprev.on .mprev__back { transform: scaleY(1); }
.mprev.on .mprev__frame { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.mprev.on .mprev__frame img { scale: 1.02; }
.mprev__sky { position: absolute; left: 22px; bottom: 8px; gap: 8px; }
.mprev__sky .arch { transform: scaleY(0); transition: transform .6s var(--ease-rise); transition-delay: calc(var(--i) * .06s + .1s); }
.mprev.on .mprev__sky .arch { transform: scaleY(1); }
.mprev__body { padding: 18px 4px 0; display: flex; flex-direction: column; flex: 1; }
.mprev__eyebrow { font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--text-muted); }
.mprev__body strong { font-size: 21px; letter-spacing: var(--ls-heading); line-height: 1.2; margin: 4px 0 6px; }
.mprev__body p { margin: 0; font-size: 14px; color: var(--uds-slate); line-height: 1.55; }
.mprev__row { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; }
.mprev__cta { font-weight: var(--fw-bold); font-size: 14px; text-decoration: none; white-space: nowrap; }
.mprev__cta span { display: inline-block; transition: transform .3s var(--ease-rise); }
.mprev__cta:hover span { transform: translateX(4px); }

/* artwork cards (NDIS help, About) */
.mega__grid--cards { grid-template-columns: 1fr 360px; min-height: 0; }
.mcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px; }
.mcards--3 { grid-template-columns: repeat(3, 1fr); }
.mcard { display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--uds-line); overflow: hidden; text-decoration: none; background: #fff; }
.mcard:hover, .mcard:focus-visible { border-color: var(--uds-navy); }
.nav__item.open .mega--xl .mcard:hover { transform: translateY(-5px); transition-delay: 0s; }
.mcard__top { position: relative; flex: 1; min-height: 170px; background: var(--c); overflow: hidden; }
.mcard--sm .mcard__top { min-height: 118px; }
.mcard__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--uds-navy); }
.mcard__art { position: absolute; left: 18px; bottom: 7px; gap: 7px; }
.mcard__art .arch { transform: scaleY(0); transition: transform .6s var(--ease-rise); transition-delay: calc(var(--i) * .07s + .25s); }
.nav__item.open .mcard__art .arch { transform: scaleY(1); }
.mcard:hover .mcard__art .arch:nth-child(odd) { transform: scaleY(1.25); transition-delay: 0s; }
.mcard:hover .mcard__art .arch:nth-child(even) { transform: scaleY(.8); transition-delay: 0s; }
.mcard__glyph { position: absolute; right: 22px; top: 6px; font-family: var(--font-accent); font-style: italic; font-size: 120px; line-height: 1; color: var(--uds-navy); transition: transform .5s var(--ease-rise); }
.mcard--sm .mcard__glyph { font-size: 96px; top: -4px; }
.mcard:hover .mcard__glyph { transform: rotate(-8deg) translateY(-4px); }
.mcard__photo { position: absolute; right: 18px; bottom: 7px; top: 16px; width: 58%; max-width: 150px; border-radius: 999px 999px 0 0; background: #fff; }
.mcard__frame { position: absolute; inset: 7px 7px 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.mcard__frame img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-rise); }
.mcard:hover .mcard__frame img { scale: 1.1; }
.mcard__body { padding: 16px 18px 18px; }
.mcard__body strong { display: block; font-size: 16px; }
.mcard__body small { display: block; margin-top: 3px; font-size: 13px; color: var(--uds-slate); font-weight: var(--fw-medium); line-height: 1.45; }
.mside { padding: 22px; background: var(--uds-cream); border-left: 1px solid var(--uds-line); display: flex; flex-direction: column; gap: 8px; }
.mpost { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 16px; text-decoration: none; border: 1px solid transparent; }
.mpost:hover { background: #fff; border-color: var(--uds-line); }
.mpost__thumb { width: 64px; height: 64px; border-radius: 32px 32px 0 0; overflow: hidden; background: var(--c); padding: 4px 4px 0; border-bottom: 3px solid var(--uds-navy); }
.mpost__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px 28px 0 0; transition: scale .6s var(--ease-rise); }
.mpost:hover .mpost__thumb img { scale: 1.1; }
.mpost small { display: block; font-size: 12px; color: var(--text-muted); font-weight: var(--fw-semibold); }
.mpost strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; }
.mside__help { margin-top: auto; display: block; padding: 18px; border-radius: 18px; background: var(--uds-navy); color: #fff; text-decoration: none; }
.mside__help strong { display: block; font-size: 16px; }
.mside__help span { display: block; font-size: 13px; color: var(--text-on-dark-muted); margin-top: 4px; }
.mgptw { display: flex; flex-direction: column; margin: 22px 22px 22px 0; border-radius: 22px; overflow: hidden; background: var(--uds-navy); color: #fff; text-decoration: none; }
.mgptw__photo { position: relative; height: 180px; overflow: hidden; }
.mgptw__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-rise); }
.mgptw:hover .mgptw__photo img { scale: 1.06; }
.mgptw__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.mgptw__body .badges img { height: 54px; }
.mgptw__body strong { font-size: 18px; line-height: 1.25; }
.mgptw__body small { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.5; }
@media (max-width: 1240px) {
  .mega__grid { grid-template-columns: 220px 1fr; }
  .mprevs { display: none; }
  .mega__grid--cards { grid-template-columns: 1fr; }
  .mside, .mgptw { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mega--xl { clip-path: none !important; }
  .mega--xl * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Cut-out covers: person stands in front of a white arch and breaks out of its top */
.cover--cut { overflow: visible; }
.cover--cut::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c); z-index: 0; }
.cover--cut .cluster, .cover--cut .cover__label { z-index: 2; }
.cover__cut { position: absolute; right: 6%; bottom: 8px; width: 46%; height: 100%; margin: 0; z-index: 1; }
.cover__cutback { position: absolute; left: 6%; right: 6%; bottom: 0; top: 22%; border-radius: 999px 999px 0 0; background: #fff; transform-origin: bottom; transition: transform .6s var(--ease-rise); }
.cover__cut img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 104%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(43,50,82,.18)); transition: transform .7s var(--ease-rise); transform-origin: bottom center; }
.post-card:hover .cover__cut img, .post-feature:hover .cover__cut img { transform: scale(1.05) translateY(-4px); }
.post-card:hover .cover__cutback { transform: scaleY(1.06); }
.cover--wide .cover__cut { width: 30%; right: 9%; }
.article-hero .cover--cut { margin-top: 80px; }

/* ==========================================================================
   26 Locations globe
   ========================================================================== */
.globe-section { background: var(--uds-navy); color: #fff; padding: 110px 0; position: relative; overflow: hidden; }
.globe__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.globe .eyebrow { color: var(--text-on-dark-subtle); }
.globe .lead { color: var(--text-on-dark-muted); }
.globe .display .accent { color: var(--uds-gold); }
.globe__views { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.globe__views button { border: 0; background: transparent; color: #fff; font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.globe__views button:hover { background: rgba(255,255,255,.1); }
.globe__views button[aria-pressed="true"] { background: var(--uds-gold); color: var(--uds-navy); }
.globe__body { display: grid; grid-template-columns: 1fr 300px; gap: 22px; }
.globe__stage { position: relative; height: min(72vh, 680px); min-height: 460px; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #323a61 0%, #262c48 70%); border: 1px solid rgba(255,255,255,.08); }
.globe__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--uds-gold); }
.globe__stage canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease-rise), transform 1.2s var(--ease-rise); }
.globe--ready .globe__stage canvas { opacity: 1; transform: none; }
.globe__fallback { display: none; position: absolute; inset: 0; margin: 0; place-items: center; text-align: center; padding: 40px; color: var(--text-on-dark-muted); }
.globe--failed .globe__fallback { display: grid; }
.globe__legend { position: absolute; left: 22px; bottom: 26px; display: flex; gap: 16px; font-size: 12.5px; font-weight: 600; color: var(--text-on-dark-muted); }
.globe__legend i { display: inline-block; width: 12px; height: 9px; border-radius: 6px 6px 0 0; background: var(--c); margin-right: 7px; }
.globe__card { position: absolute; left: 0; top: 0; transform: translate(var(--x, 0), var(--y, 0)) translateY(10px); width: 290px; display: flex; gap: 12px; padding: 12px; border-radius: 20px; background: #fff; color: var(--uds-navy); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s, transform .45s var(--ease-rise); z-index: 3; }
.globe__card { max-width: calc(100% - 24px); max-height: calc(100% - 24px); overflow: auto; }
.globe__card.on { opacity: 1; pointer-events: auto; transform: translate(var(--x, 0), var(--y, 0)); }
.globe__cardimg { flex: none; width: 74px; height: 92px; border-radius: 37px 37px 0 0; overflow: hidden; background: var(--uds-gold); padding: 4px 4px 0; border-bottom: 3px solid var(--uds-navy); }
.globe__cardimg img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px 33px 0 0; }
.globe__cardbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.globe__kind { font-size: 11.5px; font-weight: 700; color: var(--uds-slate); display: flex; align-items: center; gap: 7px; }
.globe__kind::before { content: ""; width: 12px; height: 9px; border-radius: 6px 6px 0 0; background: var(--c); }
.globe__cardbody strong { font-size: 16.5px; line-height: 1.2; }
.globe__cardbody small { font-size: 12.5px; color: var(--uds-slate); line-height: 1.45; }
.globe__note { color: var(--uds-gold-ink) !important; font-weight: 600; }
.globe__cardrow { display: flex; gap: 14px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.globe__cardrow a { text-decoration: none; }
.globe__cardrow a:hover { color: var(--text-accent); }
.globe__list { max-height: min(72vh, 680px); overflow-y: auto; padding: 6px 4px 6px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.globe__group + .globe__group { margin-top: 18px; }
.globe__group p { display: flex; justify-content: space-between; margin: 0 0 8px; padding: 0 10px; font-size: 12.5px; font-weight: 700; color: var(--text-on-dark-subtle); }
.globe__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.globe__group button { width: 100%; display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 0; background: transparent; color: #fff; text-align: left; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, padding .3s var(--ease-rise); }
.globe__group button .arch { width: 14px; height: 10px; transition: height .3s var(--ease-rise); }
.globe__group button small { font-size: 11.5px; color: var(--text-on-dark-subtle); font-weight: 600; }
.globe__group button:hover, .globe__group button.hot, .globe__group button:focus-visible { background: rgba(255,255,255,.08); padding-left: 16px; }
.globe__group button:hover .arch, .globe__group button.hot .arch { height: 16px; }
@media (max-width: 1000px) {
  .globe__head, .globe__body { grid-template-columns: 1fr; gap: 24px; }
  .globe__stage { height: 62vh; min-height: 380px; }
  .globe__list { max-height: 340px; }
  .globe__card { width: 250px; }
}

/* ==========================================================================
   27 Video, arch-window scene, layering, service index, photo walls
   ========================================================================== */
.skyline__frame video, .arch-photo__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-chip { position: absolute; z-index: 5; left: 50%; bottom: 30px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--uds-navy); font-weight: 700; font-size: 13.5px; text-decoration: none; border: 0; cursor: pointer; box-shadow: var(--shadow-float); white-space: nowrap; transition: transform .35s var(--ease-rise), background .25s; }
.play-chip i { width: 32px; height: 32px; border-radius: 50%; background: var(--uds-gold); display: grid; place-items: center; font-style: normal; font-size: 11px; transition: transform .45s var(--ease-rise); }
.play-chip:hover { transform: translateY(-3px); background: #fff; }
.play-chip:hover i { transform: scale(1.12); }

/* story player */
.vmodal { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px; background: var(--uds-navy); color: #fff; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.7); }
.vmodal::backdrop { background: rgba(26,30,50,.82); backdrop-filter: blur(6px); }
.vmodal[open] { animation: vmIn .55s var(--ease-rise) both; }
@keyframes vmIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.vmodal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vmodal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; }
.vmodal__bar strong { font-size: 17px; }
.vmodal__bar small { display: block; color: var(--text-on-dark-muted); font-size: 13px; }
.vmodal__close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.vmodal__close:hover { background: var(--uds-gold); color: var(--uds-navy); border-color: var(--uds-gold); }

/* arch window scene: an arch grows from the centre to full-bleed while the words part */
.archscene { position: relative; height: 280vh; background: var(--uds-cream); --p: 0; }
.archscene__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.archscene__mask { position: absolute; left: 50%; bottom: 0; translate: -50% 0; overflow: hidden; background: var(--uds-navy);
  width: calc(26vw + (100vw - 26vw) * var(--p)); height: calc(58vh + 42vh * var(--p));
  border-radius: calc((1 - var(--p)) * 120vw) calc((1 - var(--p)) * 120vw) 0 0; z-index: 1; }
.archscene__mask video, .archscene__mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p) * .25)); }
.archscene__mask::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(43,50,82,.85)); opacity: calc(var(--p) * 1.2); }
.archscene__word { position: absolute; top: 18vh; z-index: 2; pointer-events: none; margin: 0; font-size: clamp(56px, 11vw, 190px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: .9; color: var(--uds-navy); white-space: nowrap; }
.archscene__word--l { right: 50%; transform: translateX(calc(-2vw - var(--p) * 48vw)); opacity: calc(1 - var(--p) * 1.5); }
.archscene__word--r { left: 50%; transform: translateX(calc(2vw + var(--p) * 48vw)); opacity: calc(1 - var(--p) * 1.5); }
.archscene__word--r .accent { color: var(--text-accent); }
.archscene__sky { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 4vw; pointer-events: none; }
.archscene__sky span { width: 4vw; border-radius: 999px 999px 0 0; background: var(--c); height: calc(var(--h) * (1 - var(--p))); transition: none; }
.archscene__end { position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 3; color: #fff; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-rise), transform .8s var(--ease-rise); }
.archscene.is-open .archscene__end { opacity: 1; transform: none; }
.archscene__end h2 { font-size: clamp(38px, 5.4vw, 76px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1; margin: 0 0 18px; max-width: 14ch; }
.archscene__end h2 .accent { color: var(--uds-gold); }
.archscene__end p { max-width: 46ch; color: var(--text-on-dark-muted); font-size: 18px; margin: 0 0 26px; }

/* sheet layering: first section after a page hero slides up over it */
.page-hero { padding-bottom: 150px; }
.page-hero + section:not(.globe-section), .page-hero + .section { position: relative; z-index: 3; margin-top: -56px; border-radius: 48px 48px 0 0; box-shadow: 0 -40px 80px -50px rgba(43,50,82,.45); }
.page-hero + .globe-section { position: relative; z-index: 3; margin-top: -56px; border-radius: 48px 48px 0 0; }
.page-hero__grid, .hero__grid { will-change: transform, opacity; transform-origin: 50% 0; }
.hero + .ticker { position: relative; z-index: 3; }

/* arch skyline edge: navy sections rise out of a row of arches */
.edge { position: absolute; left: 0; right: 0; top: 0; translate: 0 -99%; display: flex; align-items: flex-end; gap: 1.2vw; padding: 0 3vw; pointer-events: none; z-index: 2; }
.edge span { flex: 1; height: var(--h); border-radius: 999px 999px 0 0; background: var(--uds-navy); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-rise); transition-delay: calc(var(--i) * .04s); }
.edge.is-in span { transform: scaleY(1); }
.section--navy, .globe-section, .hgallery { position: relative; }

/* page-hero depth: layered arches behind the art respond to the pointer */
.hero-layers { position: relative; }
.hero-layers__back { position: absolute; inset: 8% -8% 0 auto; width: 46%; border-radius: 999px 999px 0 0; background: var(--c3, var(--uds-sky)); z-index: 0; transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .8s var(--ease-rise); }
.hero-layers__cut { position: absolute; left: -12%; bottom: 0; width: 44%; margin: 0; z-index: 4; transform: translate3d(calc(var(--mx, 0px) * -1.6), calc(var(--my, 0px) * -1.2), 0); transition: transform .8s var(--ease-rise); }
.hero-layers__cut .cutarch { position: absolute; left: 4%; right: 4%; bottom: 0; top: 24%; border-radius: 999px 999px 0 0; background: var(--c2, var(--uds-sky)); box-shadow: 0 0 0 8px var(--uds-cream); }
.hero-layers__cut::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: 0; height: 12px; background: var(--uds-navy); }
.hero-layers__cut img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 20px 24px rgba(43,50,82,.22)); }
.hero-layers .arch-photo { position: relative; z-index: 2; }

/* service index with cursor-following arch photo */
.sindex { position: relative; }
.sindex__group + .sindex__group { margin-top: 56px; }
.sindex__head { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; color: var(--text-muted); margin: 0 0 10px; }
.sindex__head .arch { width: 20px; height: 14px; }
.sindex a { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--uds-line); text-decoration: none; transition: padding .45s var(--ease-rise), color .3s; }
.sindex__group a:last-child { border-bottom: 1px solid var(--uds-line); }
.sindex a .n { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.sindex a .t { font-size: clamp(26px, 3.6vw, 54px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-hero); line-height: 1.02; }
.sindex a .d { font-size: 14.5px; color: var(--uds-slate); max-width: 30ch; text-align: right; opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .45s var(--ease-rise); }
.sindex a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-rise); }
.sindex a:hover, .sindex a:focus-visible { padding-left: 22px; }
.sindex a:hover .d, .sindex a:focus-visible .d { opacity: 1; transform: none; }
.sindex a:hover::before, .sindex a:focus-visible::before { transform: scaleX(1); }
.sindex:hover a:not(:hover) .t { color: rgba(43,50,82,.28); }
.sindex a .t { transition: color .35s; }
.cursor-photo { position: absolute; left: 0; top: 0; z-index: 6; width: 250px; height: 310px; margin: -200px 0 0 48px; pointer-events: none; opacity: 0; scale: .6; transition: opacity .3s, scale .5s var(--ease-rise); }
.cursor-photo.on { opacity: 1; scale: 1; }
.cursor-photo__back { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--c); transition: background .4s; }
.cursor-photo__frame { position: absolute; inset: 12px 12px 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.cursor-photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .35s, transform .6s var(--ease-rise); }
.cursor-photo__frame img.on { opacity: 1; transform: none; }
.cursor-photo::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 0; height: 8px; background: var(--uds-navy); }
@media (pointer: coarse), (max-width: 1000px) { .cursor-photo { display: none; } .sindex a .d { opacity: 1; transform: none; text-align: left; grid-column: 2; } .sindex a { grid-template-columns: 44px 1fr; } }

/* arch photo wall: two layered rows drifting in opposite directions */
.archwall { overflow: hidden; padding: 20px 0; }
.archwall__row { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.archwall__row + .archwall__row { margin-top: 18px; animation-direction: reverse; animation-duration: 90s; }
.archwall:hover .archwall__row { animation-play-state: paused; }
.archwall__item { position: relative; flex: none; width: 230px; height: 290px; margin: 0; }
.archwall__row--small .archwall__item { width: 170px; height: 210px; }
.archwall__item::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--c); transition: transform .5s var(--ease-rise); }
.archwall__item .f { position: absolute; inset: 10px 10px 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.archwall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-rise); }
.archwall__item::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 0; height: 7px; background: var(--uds-navy); }
.archwall__item:hover img { transform: scale(1.08); }
.archwall__item:hover::before { transform: translateY(-8px); }
@media (max-width: 1000px) { .archscene { height: 200vh; } .archscene__word { top: 14vh; } .hero-layers__cut { width: 40%; left: -4%; } }
@media (prefers-reduced-motion: reduce) { .archwall__row { animation: none; } .archscene { height: auto; } .archscene__sticky { position: relative; height: 90vh; } }

/* ==========================================================================
   28 Bounce, hover-expanding arches, pastel edges
   ========================================================================== */
:root { --ease-bounce: cubic-bezier(.34, 1.56, .64, 1); }
/* hero: the video arch is wider and grows further on hover; neighbours make room */
.skyline__col { transition: width .7s var(--ease-bounce), height .7s var(--ease-bounce); }
.skyline:has(.skyline__col--b:hover) .skyline__col--a, .skyline:has(.skyline__col--b:hover) .skyline__col--c { width: 100px; }
.skyline__col--b:hover { width: 390px !important; height: 590px; }
.skyline:has(.skyline__col--a:hover) .skyline__col--a, .skyline:has(.skyline__col--c:hover) .skyline__col--c { width: 210px; }
.skyline:has(.skyline__col--a:hover) .skyline__col--b, .skyline:has(.skyline__col--c:hover) .skyline__col--b { width: 250px; }
.skyline__col:hover .arch { filter: saturate(1.15); }

/* every arch expands on hover, with a bounce */
.arch-photo { transition: transform .7s var(--ease-bounce); }
.arch-photo:hover { transform: scale(1.035) translateY(-6px); }
.arch-photo:hover .arch-photo__back { transform: scaleY(1.05); transition: transform .7s var(--ease-bounce); }
.card__arch, .feature .arch, .mode .arch, .svc-tab .arch, .tick-grid .arch-bullet, .loc-card .cluster .arch, .mtab .arch, .quote footer .arch, .stack-card__num .arch, .chip .arch { transition: height .55s var(--ease-bounce), transform .55s var(--ease-bounce) !important; transform-origin: bottom; }
.card:hover .card__arch { height: 38px; }
.feature:hover .arch { transform: scaleY(1.6); }
.tick-grid li:hover .arch-bullet { transform: scaleY(1.8); }
.quote:hover footer .arch { transform: scaleY(1.7); }
.stack-card:hover .stack-card__num .arch { transform: scaleY(1.7); }
.svc-card:hover .svc-card__top .cluster .arch { transition: transform .7s var(--ease-bounce); }
/* sections: eyebrow arches and skylines lift when you're in the section */
.eyebrow__arches i { transition: transform .6s var(--ease-bounce); transform-origin: bottom; }
section:hover > .container .eyebrow__arches i, section:hover .section-head .eyebrow__arches i, .page-hero:hover .eyebrow__arches i { transform: scaleY(1.45); }
section:hover .eyebrow__arches i + i { transform: scaleY(1.8); transition-delay: .06s; }
.cluster .arch { transition: transform .9s var(--ease-rise), height .6s var(--ease-bounce); }
section:hover .cta-band .cluster .arch:nth-child(odd), .closer:hover .cluster .arch:nth-child(odd) { transform: scaleY(1.12); transition: transform .7s var(--ease-bounce); }
section:hover .cta-band .cluster .arch:nth-child(even), .closer:hover .cluster .arch:nth-child(even) { transform: scaleY(.9); transition: transform .7s var(--ease-bounce); }

/* pastel arch skylines on section edges (replaces the navy row) */
.edge { justify-content: space-between; gap: 0; padding: 0 5vw; translate: 0 -100%; }
.edge .grp { display: flex; align-items: flex-end; gap: 8px; }
.edge span { flex: none; width: 34px; background: var(--c); }
.edge .grp:nth-child(2) { margin-left: auto; }
section:hover > .edge span, .edge:hover span { transform: scaleY(1.18); transition: transform .7s var(--ease-bounce); }
.edge::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
@media (max-width: 640px) { .edge span { width: 22px; } .skyline__col--b:hover { width: 330px !important; } }

/* ==========================================================================
   29 The diamond mark: assembles on reveal, bursts and re-forms on hover
   ========================================================================== */
.mark { display: block; overflow: visible; }
.mark__p, .mark__c { fill: var(--mark-c, var(--uds-gold)); transform-box: view-box; transform-origin: 156.5px 172px; }
.mark__spin { transform-box: view-box; transform-origin: 156.5px 172px; }
/* assemble once when revealed */
.is-in .mark__p, .mark.is-in .mark__p { animation: markIn 1s var(--ease-bounce) both; animation-delay: calc(var(--p) * .08s + .15s); }
.is-in .mark__c, .mark.is-in .mark__c { animation: markCentre .7s var(--ease-bounce) both .55s; }
@keyframes markIn { from { transform: translate(calc(var(--dx) * 2.4), calc(var(--dy) * 2.4)) rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes markCentre { from { transform: rotate(-180deg) scale(0); } to { transform: none; } }
/* hover: edges fly apart, then merge back into the diamond */
.has-mark:hover .mark__p, .mark:hover .mark__p { animation: markBurst .9s var(--ease-bounce) both; animation-delay: calc(var(--p) * .04s); }
.has-mark:hover .mark__c, .mark:hover .mark__c { animation: markPulse .9s var(--ease-bounce) both; }
.has-mark:hover .mark__spin, .mark:hover .mark__spin { animation: logoTurn .9s cubic-bezier(.6,0,.2,1) both .1s; }
@keyframes markBurst { 0% { transform: none; } 38% { transform: translate(var(--dx), var(--dy)) rotate(18deg) scale(.86); } 100% { transform: none; } }
@keyframes markPulse { 0% { transform: none; } 38% { transform: scale(.55) rotate(-45deg); } 100% { transform: none; } }

.mark--band { position: absolute; right: 64px; top: 48px; width: 96px; height: 96px; z-index: 1; --mark-c: var(--uds-navy); opacity: .9; }
.cta-band--navy .mark--band { --mark-c: var(--uds-gold); }
.mark--corner { position: absolute; top: 14px; right: 18px; width: 30px; height: 30px; --mark-c: var(--uds-navy); opacity: .85; z-index: 2; }
.mark--ghost { position: absolute; right: -120px; top: 40px; width: 560px; height: 560px; --mark-c: rgba(43,50,82,.05); pointer-events: none; z-index: 0; transform: rotate(calc(var(--scroll-turn, 0) * 1deg)); }
.page-hero--navy .mark--ghost { --mark-c: rgba(255,255,255,.04); }
.page-hero > .container { position: relative; z-index: 1; }
.mark--closer { position: absolute; left: 50%; top: 40px; width: 120px; height: 120px; translate: -50% 0; --mark-c: var(--uds-navy); z-index: 1; }
.mark--inline { display: inline-block; width: .8em; height: .8em; vertical-align: -.05em; margin-right: .22em; }
@media (max-width: 1000px) { .mark--band { right: 24px; top: 24px; width: 64px; height: 64px; } .mark--ghost { width: 360px; height: 360px; right: -140px; } .mark--closer { display: none; } }
@media (prefers-reduced-motion: reduce) { .mark * { animation: none !important; } }

/* ==========================================================================
   30 Wait-time board, animated
   ========================================================================== */
.regions { position: relative; }
.region-btn { position: relative; z-index: 1; background: transparent !important; transition: color .3s, border-color .2s; }
.region-btn[aria-selected="true"] { color: #fff; }
.region-btn:hover:not([aria-selected="true"]) { background: rgba(43,50,82,.05) !important; }
.regions__ink { position: absolute; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); transform: translate(var(--x, 0), var(--y, 0)); background: var(--uds-navy); border-radius: var(--radius-lg); transition: transform .55s var(--ease-bounce), width .45s var(--ease-rise), height .45s var(--ease-rise); z-index: 0; }
.board { position: relative; box-shadow: 0 40px 80px -60px rgba(43,50,82,.5); }
.board__head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.gauge { position: relative; width: 120px; height: 72px; flex: none; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__track { stroke: var(--uds-tint); }
.gauge__fill { stroke: var(--uds-mint); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease-bounce); filter: drop-shadow(0 0 0 transparent); }
.gauge__num { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.gauge__of { position: absolute; left: 0; right: 0; bottom: -16px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--text-muted); }
.board__toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.board__toggle input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--uds-tint); position: relative; cursor: pointer; transition: background .3s; margin: 0; }
.board__toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(43,50,82,.25); transition: transform .45s var(--ease-bounce); }
.board__toggle input:checked { background: var(--uds-success); }
.board__toggle input:checked::after { transform: translateX(18px); }
.board__toggle input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.board__row { grid-template-columns: 22px 1fr 180px auto; transition: background .25s, transform .5s var(--ease-bounce); }
.board__rows.swap .board__row { animation: rowIn .6s var(--ease-bounce) both; animation-delay: calc(var(--i) * .045s); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-24px) scale(.98); } to { opacity: 1; transform: none; } }
.board__row:hover { transform: translateX(8px); }
.board__row .arch { transition: transform .55s var(--ease-bounce); transform-origin: bottom; }
.board__row:hover .arch { transform: scaleY(1.9) scaleX(1.15); }
.wbar { position: relative; display: block; height: 6px; border-radius: 999px; background: var(--uds-line-2); overflow: visible; }
.wbar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; transform-origin: left; animation: barGrow 1s var(--ease-rise) both; animation-delay: calc(var(--i) * .05s + .15s); }
@keyframes barGrow { from { transform: scaleX(0); } }
/* a small end cap in the service colour: a quiet, precise marker instead of shimmer */
.wbar i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; border: 3px solid currentColor; box-sizing: border-box; animation: capIn .5s var(--ease-bounce) both; animation-delay: calc(var(--i) * .05s + .9s); }
@keyframes capIn { from { transform: scale(0); } }
.wbar--open i { background: #7FCFA6; color: #5DBB8C; }
.wbar--wait i { background: var(--uds-gold); color: #E3B820; }
.wbar--notify i { background: transparent; border: 1.5px dashed var(--uds-dash); height: 6px; box-sizing: border-box; }
.wbar--notify i::after { display: none; }
.wbar em { position: absolute; right: 0; top: -19px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--text-muted); }
.board__row:hover .wbar i::after { transform: scale(1.25); transition: transform .4s var(--ease-bounce); }
@media (max-width: 1000px) { .regions__ink { display: none; } .region-btn[aria-selected="true"] { background: var(--uds-navy) !important; } }
@media (max-width: 640px) { .board__head { grid-template-columns: auto 1fr; } .board__toggle { grid-column: 1 / -1; } .board__row { grid-template-columns: 18px 1fr; } .wbar { grid-column: 2; } }


/* ==========================================================================
   31 Vector map (MapLibre) pins and popup
   ========================================================================== */
.globe__map, .globe__map.maplibregl-map { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease-rise); }
.globe--ready .globe__map { opacity: 1; }
.globe__stage { background: radial-gradient(120% 90% at 50% 40%, #323a61 0%, #262c48 70%); }
.globe__stage .maplibregl-canvas { outline: none; }
.maplibregl-ctrl-group { border-radius: 14px !important; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(0,0,0,.5) !important; }
.maplibregl-ctrl-attrib { font-family: var(--font-sans); font-size: 11px; }
.maplibregl-cooperative-gesture-screen { font-family: var(--font-sans); font-weight: 600; background: rgba(43,50,82,.72) !important; }
.pin { position: relative; border: 0; background: none; padding: 0; cursor: pointer; display: block; }
.pin__arch { display: block; width: 16px; height: 22px; border-radius: 999px 999px 0 0; background: var(--c); box-shadow: 0 3px 0 var(--uds-navy); transition: transform .5s var(--ease-bounce); transform-origin: bottom; }
.pin--office .mark { width: 34px; height: 34px; --mark-c: var(--uds-gold); filter: drop-shadow(0 4px 6px rgba(43,50,82,.45)); }
.pin--office .mark .mark__c { fill: var(--uds-navy); }
.pin--area .pin__arch { width: 10px; height: 13px; background: #fff; opacity: .85; }
.pin__ring { position: absolute; left: 50%; bottom: 2px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: pinPing 2.4s ease-out infinite; }
.pin--area .pin__ring { display: none; }
@keyframes pinPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pin__label { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--uds-navy); background: #fff; padding: 4px 9px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(43,50,82,.5); opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .45s var(--ease-bounce); pointer-events: none; }
.pin:hover .pin__label, .pin.hot .pin__label, .pin:focus-visible .pin__label { opacity: 1; transform: none; }
[data-z="region"] .pin--office .pin__label, [data-z="city"] .pin--office .pin__label, [data-z="city"] .pin--hub .pin__label { opacity: 1; transform: none; }
[data-z="region"] .pin--office { z-index: 3; }
[data-z="globe"] .pin__label { display: none; }
.pin:hover .pin__arch, .pin.hot .pin__arch { transform: scaleY(1.6) scaleX(1.2); }
.pin:hover .mark__p, .pin.hot .mark__p { animation: markBurst .9s var(--ease-bounce) both; }
[data-z="globe"] .pin--hub, [data-z="globe"] .pin--area { transform: scale(.7); }
.pin:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: 6px; }
.globe-pop .maplibregl-popup-content { padding: 0; background: transparent; box-shadow: none; }
.globe-pop .globe__card { position: static; transform: none; opacity: 1; pointer-events: auto; width: 320px; animation: popIn .55s var(--ease-bounce) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.globe-pop .maplibregl-popup-tip { border-top-color: #fff !important; }
.globe-pop .maplibregl-popup-close-button { right: 8px; top: 6px; font-size: 18px; color: var(--uds-slate); z-index: 2; }
.globe__legend { z-index: 2; background: rgba(43,50,82,.78); padding: 8px 12px; border-radius: 12px; }

/* ==========================================================================
   32 Office cards: tilt, spotlight, rising arch
   ========================================================================== */
.office { position: relative; overflow: hidden; isolation: isolate; text-decoration: none; min-height: 250px; padding: 30px 32px 30px; transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform .7s var(--ease-bounce), box-shadow .5s, background .4s; }
.office:hover, .office:focus-visible { --lift: -10px; box-shadow: 0 40px 70px -40px rgba(43,50,82,.8); background: #323a61; }
.office.tilting { transition: transform .15s ease-out, box-shadow .5s, background .4s; }
.office > * { position: relative; z-index: 2; }
.office__glow { position: absolute !important; inset: 0; z-index: 0 !important; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(250,215,68,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.office:hover .office__glow { opacity: 1; }
.office__state { position: absolute !important; top: 26px; right: 28px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--c); opacity: .9; transition: opacity .3s, transform .5s var(--ease-bounce); }
.office:hover .office__state { opacity: 0; transform: translateY(-10px); }
.office h3 { font-size: 24px; }
.office h3 .arch { width: 20px; height: 14px; transition: transform .6s var(--ease-bounce); transform-origin: bottom; }
.office:hover h3 .arch { transform: scaleY(1.9) scaleX(1.1); }
.office p { max-width: 30ch; transition: color .3s; }
.office:hover p { color: rgba(255,255,255,.9); }
.office__go { margin-top: auto; padding-top: 18px; color: var(--uds-gold); font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.office__go span { transition: transform .45s var(--ease-bounce); }
.office:hover .office__go span { transform: translateX(8px); }
.office__go::after { content: ""; position: absolute; left: 0; right: 22px; bottom: -3px; height: 2px; background: var(--uds-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-rise); }
.office:hover .office__go::after { transform: scaleX(1); }
/* the rising arch */
.office__rise { position: absolute !important; z-index: 1 !important; right: 26px; bottom: 0; width: 132px; height: 170px; border-radius: 999px 999px 0 0; background: var(--c); transform: translateY(78%); transition: transform .8s var(--ease-bounce); }
.office:hover .office__rise, .office:focus-visible .office__rise { transform: translateY(0); }
.office__riseframe { position: absolute; inset: 9px 9px 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.office__riseframe img { width: 100%; height: 100%; object-fit: cover; scale: 1.2; transition: scale 1s var(--ease-rise); }
.office:hover .office__riseframe img { scale: 1; }
.office__rise--mark { display: grid; place-items: center; }
.office__rise--mark .mark { width: 74px; height: 74px; margin-top: -18px; --mark-c: var(--uds-navy); }
.office p, .office h3 { padding-right: 0; }
.office:hover p { padding-right: 130px; transition: padding .5s var(--ease-rise), color .3s; }
@media (hover: none) { .office__rise { transform: translateY(58%); } }
@media (prefers-reduced-motion: reduce) { .office { transform: none !important; } }

.globe-pop .globe__cardrow { white-space: nowrap; gap: 16px; }
.globe-pop .globe__cardbody { flex: 1; }

/* ==========================================================================
   33 U-Hub: tools, templates, glossary, lead capture
   ========================================================================== */
/* hub hero art: four tiles in arches */
.hub-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; margin-left: auto; }
.hub-art__tile { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--c); display: grid; place-items: center; position: relative; border-bottom: 8px solid var(--uds-navy); animation: udsRise .8s var(--ease-bounce) both; animation-delay: calc(var(--i) * .1s + .3s); transition: transform .6s var(--ease-bounce); }
.hub-art__tile:nth-child(even) { transform: translateY(36px); }
.hub-art__tile b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--uds-navy); }
.hub-art:hover .hub-art__tile:nth-child(odd) { transform: translateY(-10px); }
.hub-art:hover .hub-art__tile:nth-child(even) { transform: translateY(46px); }
.hub-art .mark--hub { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; translate: -50% -50%; --mark-c: var(--uds-navy); filter: drop-shadow(0 10px 20px rgba(43,50,82,.3)); }
/* tool cards */
.tool-card { display: grid; grid-template-columns: 200px 1fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--uds-line); text-decoration: none; transition: transform .6s var(--ease-bounce), border-color .3s, box-shadow .4s; }
.tool-card:hover { transform: translateY(-8px); border-color: var(--uds-navy); box-shadow: 0 40px 70px -50px rgba(43,50,82,.6); }
.tool-card__top { position: relative; background: var(--c); overflow: hidden; min-height: 220px; border-right: 8px solid var(--uds-navy); }
.tool-card__body { padding: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tool-card__body h3 { margin: 6px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.tool-card__body p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.tool-card .more { margin-top: auto; font-weight: 700; display: flex; gap: 8px; }
.tool-card .more span { transition: transform .4s var(--ease-bounce); }
.tool-card:hover .more span { transform: translateX(6px); }
.tool-grid--sm .tool-card { grid-template-columns: 1fr; }
.tool-grid--sm .tool-card__top { min-height: 150px; border-right: 0; border-bottom: 8px solid var(--uds-navy); }
/* card artwork */
.tart { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 0 22px; }
.tart i { display: block; flex: 1; border-radius: 999px 999px 0 0; background: rgba(255,255,255,.55); transform-origin: bottom; transition: transform .7s var(--ease-bounce); }
.tart--price i:nth-of-type(1) { height: 40%; } .tart--price i:nth-of-type(2) { height: 70%; background: var(--uds-navy); } .tart--price i:nth-of-type(3) { height: 55%; background: #fff; }
.tart--price b { position: absolute; top: 24px; left: 26px; font-size: 54px; font-weight: 800; color: var(--uds-navy); line-height: 1; transition: transform .6s var(--ease-bounce); }
.tool-card:hover .tart--price b { transform: rotate(-12deg) scale(1.1); }
.tart--sched { flex-direction: column; justify-content: center; align-items: stretch; padding: 30px 26px; gap: 10px; }
.tart--sched i { flex: none; height: 16px; border-radius: 8px; background: rgba(255,255,255,.7); width: 100%; }
.tart--sched i:nth-of-type(2) { width: 78%; background: var(--uds-navy); } .tart--sched i:nth-of-type(3) { width: 90%; } .tart--sched i:nth-of-type(4) { width: 60%; background: #fff; }
.tool-card:hover .tart--sched i { transform: scaleX(1.06); } .tool-card:hover .tart--sched i:nth-of-type(even) { transform: scaleX(.85); }
.tart--sched i { transform-origin: left; }
.tart--budget { align-items: center; }
.tart--budget svg { width: 80%; overflow: visible; }
.tart--budget path { fill: none; stroke-width: 12; stroke-linecap: round; stroke: rgba(255,255,255,.55); }
.tart--budget path + path { stroke: var(--uds-navy); stroke-dasharray: 100; stroke-dashoffset: 38; transition: stroke-dashoffset 1s var(--ease-bounce); }
.tool-card:hover .tart--budget path + path { stroke-dashoffset: 12; }
.tart--review { flex-direction: column; align-items: flex-start; justify-content: center; padding: 26px 30px; gap: 12px; }
.tart--review i { flex: none; width: 18px; height: 14px; border-radius: 9px 9px 0 0; background: #fff; position: relative; }
.tart--review i::after { content: ""; position: absolute; left: 28px; top: 5px; width: 90px; height: 5px; border-radius: 3px; background: rgba(43,50,82,.25); }
.tart--review i:nth-of-type(3) { background: var(--uds-navy); } .tart--review i:nth-of-type(3)::after { background: var(--uds-navy); width: 110px; }
.tool-card:hover .tart--review i { transform: scaleY(1.5); }
.tool-card .mark--corner { top: 16px; right: 16px; }
/* templates */
.res-list { display: grid; gap: 14px; }
.res-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--uds-line); text-decoration: none; transition: transform .55s var(--ease-bounce), border-color .3s; }
.res-card:hover { transform: translateX(8px); border-color: var(--uds-navy); }
.res-card__doc { position: relative; width: 60px; height: 76px; border-radius: 30px 30px 6px 6px; background: var(--c); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 12px 10px; transition: transform .55s var(--ease-bounce); }
.res-card:hover .res-card__doc { transform: rotate(-6deg) translateY(-4px); }
.res-card__doc i { display: block; height: 4px; border-radius: 2px; background: rgba(43,50,82,.35); }
.res-card__doc i:nth-child(2) { width: 70%; } .res-card__doc i:nth-child(4) { width: 50%; }
.res-card small { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.res-card strong { display: block; font-size: 18px; margin: 2px 0; }
.res-card span span { color: var(--text-muted); font-size: 14.5px; }
.res-card em { font-style: normal; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
/* glossary chips + page */
.gl-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-chip { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .25s, transform .45s var(--ease-bounce), color .25s; }
.gl-chip:hover { background: var(--uds-gold); color: var(--uds-navy); transform: translateY(-4px) rotate(-2deg); }
.gl-chip--more { background: transparent; border-style: dashed; }
.gl-tools { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.gl-tools .search { flex: 1 1 360px; }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-letters a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px 12px 0 0; background: var(--uds-cream); font-weight: 800; text-decoration: none; transition: background .2s, transform .4s var(--ease-bounce); }
.gl-letters a:hover { background: var(--uds-gold); transform: translateY(-4px); }
.gl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.gl-item { padding: 22px 0; border-top: 1px solid var(--uds-line); scroll-margin-top: 120px; }
.gl-item dt { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.gl-item dd { margin: 0; color: var(--text-muted); line-height: 1.7; }
.gl-item:target { background: linear-gradient(90deg, rgba(250,215,68,.25), transparent); border-radius: 12px; padding-left: 14px; }
/* tool layout */
.tool-hero { padding-bottom: 130px; }
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.tool--wide { display: block; }
.tool__form { padding: 36px; border-radius: 28px; background: var(--uds-cream); display: flex; flex-direction: column; gap: 18px; }
.tool__out { position: relative; overflow: hidden; padding: 36px 36px 120px; border-radius: 28px; background: var(--uds-navy); color: #fff; }
.tool__cat { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-weight: 700; font-size: 14px; color: var(--text-on-dark-muted); }
.tool__cat .arch { width: 20px; height: 14px; background: var(--cat, var(--uds-gold)); }
.tool__label { margin: 0; color: var(--text-on-dark-muted); font-weight: 600; }
.tool__big { margin: 4px 0 26px; font-size: clamp(46px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--uds-gold); font-variant-numeric: tabular-nums; }
.tool__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.tool__dl div { padding: 14px 0; border-top: 1px solid var(--border-on-dark); }
.tool__dl dt { font-size: 12.5px; color: var(--text-on-dark-subtle); font-weight: 600; }
.tool__dl dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tool__share { margin-top: 18px; background: none; border: 0; color: var(--text-on-dark-muted); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; padding: 0; }
.tool__share:hover { color: var(--uds-gold); }
.tpl-dl { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 22px 26px; border: 1px solid var(--uds-navy); border-radius: 20px; background: var(--uds-mint); color: var(--uds-navy); text-decoration: none; }
.tpl-dl__icon { flex: 0 0 auto; padding: 14px 10px; border-radius: 16px 16px 4px 4px; background: #fff; font-size: 12px; font-weight: 800; }
.tpl-dl strong, .tpl-dl small { display: block; }
.tpl-dl small { margin-top: 5px; font-size: 14px; line-height: 1.5; }
.tpl-dl__go { margin-left: auto; font-size: 26px; }
.tpl-dl:hover { background: var(--uds-sky); }
.tpl-dl:focus-visible { outline: 3px solid var(--uds-navy); outline-offset: 4px; }
@media (max-width: 640px) { .tpl-dl { gap: 12px; padding: 18px 16px; } .tpl-dl strong { font-size: 15px; } .tpl-dl small { font-size: 13px; } }
.tool__sky { position: absolute; right: 30px; bottom: 0; gap: 10px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--uds-line); border-radius: var(--radius-md); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--uds-navy); box-shadow: 0 0 0 4px rgba(250,215,68,.55); }
.stepper input { border: 0 !important; box-shadow: none !important; text-align: center; font-weight: 800; font-size: 18px; min-width: 0; flex: 1; padding: 12px 4px !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { color: var(--text-muted); font-weight: 700; font-size: 13px; padding: 0 10px; }
.stepper button { width: 44px; align-self: stretch; border: 0; background: var(--uds-cream); font-size: 20px; font-weight: 700; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--uds-gold); }
.stepper--money input { text-align: left; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid var(--uds-line); gap: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--uds-navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus-ring); }
.price-note { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 6px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(242,167,140,.14); }
.price-note .arch-bullet { margin-top: 4px; }
/* schedule builder */
.fields--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fields--5 > .field { min-width: 0; }
.fields--5 input { min-width: 0; }
.sched__meta { padding: 28px; border-radius: 24px; background: var(--uds-cream); }
.sched__add { display: flex; gap: 12px; margin: 22px 0 14px; }
.sched__add select { flex: 1; font: inherit; font-size: 15px; padding: 14px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--uds-line); background: #fff; }
.sched__wrap { overflow-x: auto; border: 1px solid var(--uds-line); border-radius: 22px; }
.sched { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 900px; }
.sched th { text-align: left; font-size: 12.5px; font-weight: 700; color: var(--text-muted); padding: 14px 12px; border-bottom: 2px solid var(--uds-navy); background: #fff; }
.sched td { padding: 12px; border-bottom: 1px solid var(--uds-line); vertical-align: middle; }
.sched tbody tr { animation: rowIn .5s var(--ease-bounce) both; animation-delay: calc(var(--i) * .03s); }
.sched tbody tr:hover { background: var(--uds-cream); }
.sched td:first-child { display: grid; grid-template-columns: 14px 1fr; gap: 0 12px; align-items: baseline; }
.sched td:first-child small { grid-column: 2; color: var(--text-muted); font-size: 12px; }
.sched .arch-bullet { grid-row: span 2; }
.sched input, .sched select { font: inherit; width: 100%; max-width: 110px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--uds-line); background: #fff; }
.sched .t-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sched .strong { font-weight: 800; }
.sched__del { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--uds-cream); cursor: pointer; transition: background .2s, transform .3s var(--ease-bounce); }
.sched__del:hover { background: var(--uds-danger-bg); transform: rotate(90deg); }
.sched__empty td { display: table-cell !important; text-align: center; padding: 40px; color: var(--text-muted); }
.sched__totals { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 14px; margin-top: 18px; }
.sched__cat { display: flex; gap: 14px; align-items: flex-end; padding: 18px 20px; border-radius: 20px; background: var(--uds-cream); }
.sched__arch { position: relative; width: 34px; height: 56px; border-radius: 17px 17px 0 0; background: #fff; overflow: hidden; border-bottom: 4px solid var(--uds-navy); flex: none; }
.sched__arch i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--pct); background: var(--c); transition: height .8s var(--ease-bounce); }
.sched__cat small, .sched__grand small { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 700; }
.sched__cat strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.sched__grand { padding: 18px 22px; border-radius: 20px; background: var(--uds-navy); color: #fff; }
.sched__grand small { color: var(--text-on-dark-subtle); }
.sched__grand strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--uds-gold); font-variant-numeric: tabular-nums; }
.print-head { display: none; }
/* budget tracker */
.bg__gauge { position: relative; }
.bg__gauge svg { width: 100%; max-width: 360px; display: block; margin: 0 auto; overflow: visible; }
.bg__gauge path { fill: none; stroke-width: 16; stroke-linecap: round; }
.bg__track { stroke: rgba(255,255,255,.1); }
.bg__time, .bg__spend { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease-bounce); }
.bg__time { stroke: var(--uds-sky); } .bg__spend { stroke: var(--uds-gold); }
.bg__legend { display: flex; justify-content: center; gap: 22px; margin-top: 10px; font-size: 13.5px; color: var(--text-on-dark-muted); }
.bg__legend i { display: inline-block; width: 12px; height: 9px; border-radius: 6px 6px 0 0; background: var(--c); margin-right: 7px; }
.bg__legend b { color: #fff; margin-left: 4px; }
.bg__status { margin: 22px 0 10px; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.5; }
.bg__status--ok { background: rgba(176,235,205,.16); color: var(--uds-mint); }
.bg__status--under { background: rgba(151,200,244,.16); color: var(--uds-sky); }
.bg__status--over { background: rgba(242,167,140,.18); color: var(--uds-coral); }
/* review planner */
.rv__count { padding: 22px; border-radius: 20px; background: var(--uds-navy); color: #fff; }
.rv__count small { display: block; color: var(--text-on-dark-subtle); font-weight: 700; font-size: 13px; }
.rv__count strong { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--uds-gold); }
.rv__list { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.rv__list::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: var(--uds-line); }
.rv__item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 0 0 22px; animation: rowIn .6s var(--ease-bounce) both; animation-delay: calc(var(--i) * .07s); }
.rv__dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--uds-line); display: grid; place-items: center; position: relative; z-index: 1; transition: transform .5s var(--ease-bounce); }
.rv__dot .arch { width: 16px; height: 12px; background: var(--c); }
.rv__item:hover .rv__dot { transform: scale(1.12); }
.rv__item h3 { margin: 2px 0 4px; font-size: 18px; }
.rv__item p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.rv__when { font-size: 13px !important; font-weight: 700; color: var(--text-muted) !important; }
.rv__when b { margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--uds-gold); color: var(--uds-navy); font-size: 11.5px; }
.rv__when em { margin-left: 8px; font-style: normal; color: var(--text-muted); }
.rv__item.is-past { opacity: 1; }
.rv__item.is-next .rv__dot { border-color: var(--uds-navy); background: var(--uds-gold); box-shadow: 0 0 0 6px rgba(250,215,68,.25); }
/* printable resources */
.res-doc { padding: 44px; border-radius: 28px; border: 1px solid var(--uds-line); background: #fff; }
.res-sec + .res-sec { margin-top: 34px; }
.res-sec h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--uds-navy); }
.res-sec h2::before { content: ""; width: 20px; height: 14px; border-radius: 10px 10px 0 0; background: var(--c); }
.res-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.res-checks label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 10px; border-radius: 12px; cursor: pointer; font-size: 16px; line-height: 1.5; transition: background .2s; }
.res-checks label:hover { background: var(--uds-cream); }
.res-checks input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--uds-navy); flex: none; }
.res-checks input:checked + span { text-decoration: line-through; color: var(--text-muted); }
/* lead dialog */
.leadbox { max-width: 920px; display: none; }
.leadbox[open] { display: grid; grid-template-columns: 260px 1fr; }
.lead__art { background: var(--uds-gold); display: grid; place-items: center; position: relative; overflow: hidden; }
.lead__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--uds-navy); }
.lead__art .mark { width: 140px; height: 140px; --mark-c: var(--uds-navy); }
.lead__body { position: relative; padding: 40px 40px 34px; background: #fff; color: var(--uds-navy); }
.lead__body .vmodal__close { position: absolute; right: 18px; top: 18px; color: var(--uds-navy); border-color: var(--uds-line); }
.leadbox h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 8px; }
.lead__lead { color: var(--text-muted); margin: 0 0 22px; line-height: 1.6; }
.lead__done h2 { margin-top: 16px; }
.lead__done p { color: var(--text-muted); }
@media (max-width: 1000px) {
  .tool { grid-template-columns: 1fr; }
  .tool-card { grid-template-columns: 1fr; } .tool-card__top { min-height: 160px; border-right: 0; border-bottom: 8px solid var(--uds-navy); }
  .fields--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sched__totals { grid-template-columns: 1fr 1fr; }
  .gl-list { grid-template-columns: 1fr; }
  .leadbox[open] { grid-template-columns: 1fr; } .lead__art { min-height: 120px; }
  .hub-art { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 640px) { .res-card { grid-template-columns: 56px 1fr; } .res-card em { display: none; } .tool__form, .tool__out { padding: 26px 22px; } .tool__out { padding-bottom: 110px; } .sched__totals { grid-template-columns: 1fr; } .res-doc { padding: 26px 20px; } }
/* printing: only the schedule / resource sheet, branded */
@media print {
  body * { visibility: hidden; }
  [data-print-area], [data-print-area] * { visibility: visible; }
  [data-print-area] { position: absolute; left: 0; top: 0; width: 100%; padding: 0 !important; border: 0 !important; }
  .print-head { display: flex !important; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 3px solid #2B3252; font-size: 12px; }
  .print-head .logo { height: 34px; width: auto; --logo-ink: #2B3252; }
  .no-print, .price-note, .sched__del, .sched__add { display: none !important; }
  .sched { min-width: 0; font-size: 11px; } .sched input, .sched select { border: 0; padding: 0; appearance: none; }
  .sched__grand { background: #fff !important; color: #2B3252 !important; border: 2px solid #2B3252; } .sched__grand strong { color: #2B3252 !important; }
  .res-checks input { width: 16px; height: 16px; }
  .sched tbody tr, .rv__item { animation: none !important; }
}
.page-hero--nosheet + section { margin-top: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
/* lead text never sits under the sheet: guarantee room below hero content */
.page-hero__grid > div:first-child > :last-child, .page-hero .container > :last-child { margin-bottom: 0; }

/* ==========================================================================
   34 Voice-wave arches + NDIA translator
   ========================================================================== */
.voice { display: flex; align-items: center; justify-content: center; gap: clamp(3px, .5vw, 7px); height: 150px; --amp: 1; }
.voice i { flex: 1 1 0; max-width: 12px; min-width: 4px; height: calc(var(--h) * 100%); border-radius: 999px; background: var(--c); transform-origin: center; animation: talk var(--t) ease-in-out var(--d) infinite alternate; transition: filter .3s; }
@keyframes talk { from { transform: scaleY(calc(.35 * var(--amp))); } to { transform: scaleY(calc(.95 * var(--amp) + .05)); } }
.voice.burst { --amp: 1.18; }
.voice.hush i { animation-play-state: paused; }
section:hover .voice { --amp: 1.1; }
.translator { --tr-ink: #fff; position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 36px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); overflow: hidden; text-align: left; }
.section--cream .translator, .section--white .translator { --tr-ink: var(--uds-navy); background: linear-gradient(160deg, #fff, var(--uds-cream)); border-color: var(--uds-line); box-shadow: 0 30px 60px -40px rgba(43,50,82,.35); }
.translator::before { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(250,215,68,.2); pointer-events: none; }
.tr__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 12.5px; font-weight: 700; color: var(--tr-ink); }
.tr__status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(250,215,68,.16); }
.tr__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--uds-gold); animation: trPing 1.6s ease-out infinite; }
.tr__status span::after { content: "..."; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; animation: trDots 1.4s steps(4) infinite; }
.translator.is-paused .tr__status span::after, .translator.is-paused .tr__status i { animation-play-state: paused; }
@keyframes trPing { from { box-shadow: 0 0 0 0 rgba(250,215,68,.6); } to { box-shadow: 0 0 0 10px rgba(250,215,68,0); } }
@keyframes trDots { from { width: 0; } to { width: 1.2em; } }
.tr__count { font-variant-numeric: tabular-nums; } .tr__count b { font-size: 15px; color: var(--uds-gold); }
.section--cream .tr__count b, .section--white .tr__count b { color: var(--uds-navy); }

.tr__stage { display: grid; grid-template-columns: 1fr minmax(160px, .7fr) 1.15fr; align-items: stretch; gap: clamp(16px, 2.4vw, 32px); }
.tr__card { position: relative; border-radius: 28px; padding: 26px 28px 30px; min-height: 260px; display: flex; flex-direction: column; }
.tr__card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; position: relative; z-index: 1; }
.tr__card--ndia { background: #F4F2EC; color: #4A5068; transform: rotate(-1.6deg); box-shadow: 0 24px 40px -28px rgba(0,0,0,.5); transition: transform .6s var(--ease-bounce); }
.tr__card--ndia small { color: #8A8FA3; }
.tr__lines { position: absolute; inset: 64px 28px 26px; background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(43,50,82,.09) 31px 32px); pointer-events: none; }
.tr__stamp { position: absolute; right: 18px; bottom: 18px; padding: 5px 12px; border: 2px solid var(--uds-coral); color: #D9785B; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-8deg); opacity: .85; }
.is-translating .tr__stamp { animation: trStamp .5s var(--ease-bounce); }
@keyframes trStamp { from { transform: rotate(-8deg) scale(1.6); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .85; } }
.tr__card--us { background: var(--uds-gold); color: var(--uds-navy); border-radius: 999px 999px 28px 28px; padding-top: 70px; text-align: center; align-items: center; box-shadow: 0 30px 60px -30px rgba(250,215,68,.55); transition: transform .6s var(--ease-bounce); }
.tr__card--us small { color: var(--uds-navy); }
.translator:hover .tr__card--ndia { transform: rotate(-3deg) translateY(-4px); }
.translator:hover .tr__card--us { transform: translateY(-6px); }
.tr__card--us .mark--tr { position: absolute; width: 30px; top: 24px; left: 50%; margin-left: -15px; }

.tr__list { list-style: none; margin: 0; padding: 0; display: grid; flex: 1; position: relative; z-index: 1; width: 100%; }
.tr__list li { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease-rise), transform .6s var(--ease-bounce); pointer-events: none; }
.tr__list li.on { opacity: 1; transform: none; pointer-events: auto; }
.tr__list li.off { opacity: 0; transform: translateY(-18px); }
.tr__card--us .tr__list li.on { transition-delay: .3s; }
.tr__ndia { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(17px, 1.6vw, 22px); line-height: 32px; letter-spacing: -.01em; }
.tr__ndia::before { content: "\201C"; } .tr__ndia::after { content: "\201D"; }
.tr__us { display: block; font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
.tr__more { display: block; margin-top: 14px; font-size: 15px; line-height: 1.5; font-weight: 500; color: rgba(43,50,82,.8); text-wrap: pretty; }

.tr__mid { position: relative; display: grid; place-items: center; }
.voice--tr { height: 150px; width: 100%; }
.tr__beam { position: absolute; top: 12%; bottom: 12%; left: -34%; width: 34%; background: linear-gradient(90deg, transparent, rgba(250,215,68,.4), transparent); opacity: 0; pointer-events: none; border-radius: 999px; }
.is-translating .tr__beam { animation: trBeam .9s cubic-bezier(.5,0,.3,1); }
@keyframes trBeam { 0% { left: -34%; opacity: 0; } 20%, 80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.tr__arrow { position: absolute; bottom: 0; left: 50%; width: 46px; height: 12px; margin-left: -23px; background: linear-gradient(90deg, transparent, var(--uds-gold)); clip-path: polygon(0 42%, 78% 42%, 78% 0, 100% 50%, 78% 100%, 78% 58%, 0 58%); }

.tr__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tr__chip { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--tr-ink); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .25s, border-color .25s, transform .35s var(--ease-bounce); }
.section--cream .tr__chip, .section--white .tr__chip { border-color: var(--uds-line); }
.tr__chip span { position: relative; z-index: 1; }
.tr__chip em { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--uds-gold); transform: scaleX(0); transform-origin: left; }
.tr__chip.run em { animation: trRun var(--tr-dur, 5s) linear forwards; }
@keyframes trRun { to { transform: scaleX(1); } }
.tr__chip:hover { transform: translateY(-2px); border-color: var(--uds-gold); }
.tr__chip.is-on { background: rgba(250,215,68,.18); border-color: var(--uds-gold); }
.section--cream .tr__chip.is-on, .section--white .tr__chip.is-on { background: rgba(250,215,68,.35); }
@media (max-width: 1000px) {
  .tr__stage { grid-template-columns: 1fr; }
  .tr__mid { height: 90px; } .voice--tr { height: 80px; } .tr__arrow { display: none; }
  .tr__card { min-height: 0; } .tr__card--ndia { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .voice i { animation: none; transform: scaleY(.8); } }

/* ==========================================================================
   35 Arch photo sequencing: arch first, photo only once loaded
   ========================================================================== */
/* both layers rise out of the baseline: the pastel arch first, then the photo slides up inside it */
.arch-photo, .skyline__col { clip-path: inset(-40% -40% 0 -40%); }
.arch-photo__back { transform: translateY(101%); transition: transform .85s cubic-bezier(.2,.85,.25,1.04); }
.is-in .arch-photo__back, .arch-photo.is-in .arch-photo__back { transform: none; }
.arch-photo:hover .arch-photo__back { transform: scaleY(1.05); }
.arch-photo__frame, .is-in .arch-photo__frame, .arch-photo.is-in .arch-photo__frame { clip-path: none; transform: translateY(calc(100% + 24px)); transition: transform 1s cubic-bezier(.2,.85,.25,1) .5s; }
.is-in .arch-photo.loaded .arch-photo__frame, .arch-photo.is-in.loaded .arch-photo__frame { transform: none; }
.arch-photo__frame img { opacity: 1; scale: 1.14; transition: scale 1.6s var(--ease-rise) .5s; }
.is-in .arch-photo.loaded .arch-photo__frame img, .arch-photo.is-in.loaded .arch-photo__frame img { scale: 1.02; }
.arch-photo.is-in.loaded:hover .arch-photo__frame img { scale: 1.07; transition-delay: 0s; }

.skyline__col .arch { transform: translateY(101%); transition: transform .9s cubic-bezier(.2,.85,.25,1.04); transition-delay: calc(var(--i) * .12s); }
.hero.is-in .skyline__col .arch { transform: none; }
.skyline__frame, .hero.is-in .skyline__frame { clip-path: none; transform: translateY(calc(100% + 20px)); transition: transform 1.05s cubic-bezier(.2,.85,.25,1); transition-delay: calc(var(--i) * .12s + .5s); }
.hero.is-in .skyline__col.loaded .skyline__frame { transform: none; }
.skyline__frame img, .skyline__frame video { opacity: 1; }
.office__riseframe img, .cover__arch img, .mprev__frame img { transition: opacity .5s ease, scale 1s var(--ease-rise); }
@media (prefers-reduced-motion: reduce) { .arch-photo__frame, .skyline__frame, .arch-photo__back, .skyline__col .arch { transform: none !important; } }

.js .footer .logo:not(.is-in) .logo__petal, .js .footer .logo:not(.is-in) .logo__centre, .js .footer .logo:not(.is-in) .logo__word, .js .footer .logo:not(.is-in) .logo__tag { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .footer .logo:not(.is-in) * { opacity: 1 !important; } }

/* ===== 36. Spice: background arches, cursor, confetti, nav pill, to-top ring, accent sweep, spotlight ===== */
/* floating outline arches behind light sections */
.bgarches { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section > .container, .section > .wrap { position: relative; z-index: 1; }
.bgarch { position: absolute; width: var(--w, 180px); aspect-ratio: 3 / 4.2; border-radius: 999px 999px 0 0; border: 1.5px solid var(--c, var(--uds-sky)); border-bottom: 0; opacity: .5;
  transform: translate3d(0, calc(var(--sy, 0) * var(--sp, .12) * 1px), 0); will-change: transform; }
.bgarch::after { content: ""; position: absolute; inset: 14px 14px 0; border-radius: inherit; border: 1.5px solid var(--c, var(--uds-sky)); border-bottom: 0; opacity: .55; }
.bgarch i { position: absolute; inset: 0; border-radius: inherit; animation: bgarchDrift var(--d, 14s) ease-in-out infinite alternate; }
.bgarch--fill { border: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 45%, transparent), transparent 80%); opacity: .45; }
.bgarch--fill::after { display: none; }
.bgarch--dot { width: 10px; aspect-ratio: 1; border: 0; background: var(--c); border-radius: 2px; transform: translate3d(0, calc(var(--sy, 0) * var(--sp, .2) * 1px), 0) rotate(45deg); opacity: .7; }
.bgarch--dot::after { display: none; }
@keyframes bgarchDrift { to { transform: translateY(-14px); } }

/* cursor ring (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; border-radius: 50%;
  border: 1.5px solid rgba(43,50,82,.35); transition: width .35s var(--ease-bounce), height .35s var(--ease-bounce), margin .35s var(--ease-bounce), background .25s, border-color .25s, border-radius .35s, opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.hot { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(250,215,68,.22); border-color: rgba(250,215,68,.9); border-radius: 999px 999px 10px 10px; }
.cursor.dark { border-color: rgba(255,255,255,.4); }
.cursor.down { transform: scale(.8); }
.cursor.media { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(43,50,82,.18); border-color: rgba(255,255,255,.8); backdrop-filter: blur(2px); }
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* arch confetti */
.confetti { position: fixed; z-index: 9998; pointer-events: none; width: 10px; height: 13px; border-radius: 999px 999px 1px 1px; background: var(--c); left: 0; top: 0;
  animation: confetti .9s cubic-bezier(.2,.7,.3,1) forwards; }
.confetti--d { width: 9px; height: 9px; border-radius: 2px; }
@keyframes confetti { 0% { transform: translate(var(--x0), var(--y0)) rotate(0) scale(.4); opacity: 1; }
  70% { opacity: 1; } 100% { transform: translate(calc(var(--x0) + var(--dx)), calc(var(--y0) + var(--dy))) rotate(var(--r)) scale(1); opacity: 0; } }

/* sliding nav pill */
.nav__pill { position: absolute; top: 50%; left: 0; height: 40px; margin-top: -20px; z-index: -1; border-radius: var(--radius-pill); background: rgba(43,50,82,.07); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-bounce), width .45s var(--ease-bounce), opacity .25s; }
.nav__menu.has-pill .nav__link:hover, .nav__menu.has-pill .nav__item.open > .nav__link { background: none; }
.nav__inner.pill-on .nav__pill { opacity: 1; }

/* to-top progress ring */
.to-top { display: grid; place-items: center; }
.to-top__ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.to-top__ring circle { fill: none; stroke: var(--uds-gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--prog, 0) * 100); transition: stroke-dashoffset .15s linear; }
.to-top span { transition: transform .35s var(--ease-bounce); }
.to-top:hover span { transform: translateY(-3px); }

/* spotlight and grain on navy sections */
.spot { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; border-radius: inherit; }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), rgba(151,200,244,.13), transparent 60%); transition: opacity .4s; }
.spot::after { content: ""; position: absolute; inset: 0; opacity: .5; 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section--navy > .container, .section--navy > .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .bgarch, .bgarch i { animation: none; transform: none; }
  .nav__pill { transition: none; }
}
@media (max-width: 760px) { .bgarches .bgarch:nth-child(n+3) { display: none; } }
.nav.is-solid .nav__pill, .nav.is-dark .nav__pill, .nav.on-navy-hero:not(.is-solid) .nav__pill { background: rgba(255,255,255,.1); }

/* ===== 37. Wait-board region tour, price search, translator polish ===== */
.js .regions:not(.regions--in) .region-btn { opacity: 0; transform: translateX(-24px); }
.regions--in .region-btn { animation: regionIn .7s var(--ease-bounce) both; animation-delay: calc(var(--i) * 70ms); }
.regions--in .region-btn small { animation: chipPop .5s var(--ease-bounce) both; animation-delay: calc(var(--i) * 70ms + .35s); }
@keyframes regionIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes chipPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.region-btn { overflow: hidden; }
.region-btn__prog { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--uds-gold); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.region-btn.run .region-btn__prog { opacity: 1; animation: trRun var(--tour, 4s) linear forwards; }
.region-btn[aria-selected="true"] span { animation: regionPick .5s var(--ease-bounce); }
@keyframes regionPick { 0% { transform: translateX(-6px); } 100% { transform: none; } }
.board__rows.swap .board__row { animation: rowIn .6s var(--ease-bounce) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.item-search { margin-bottom: 8px; padding-left: 42px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%232B3252' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5 17 17'/%3E%3C/svg%3E") 16px 50% no-repeat !important; }

/* translator: tidy layout */
.translator::before { display: none; }
.tr__status { color: var(--tr-ink); background: rgba(250,215,68,.14); border: 1px solid rgba(250,215,68,.35); }
.tr__stage { grid-template-columns: minmax(0, 1fr) minmax(120px, .55fr) minmax(0, 1.1fr); align-items: stretch; }
.tr__card { min-height: 280px; }
.tr__card--ndia { justify-content: flex-start; }
.tr__card--us { border-radius: 28px; padding: 28px 30px 32px; text-align: left; align-items: flex-start; overflow: hidden; }
.tr__card--us::before { content: ""; position: absolute; right: -40px; bottom: -70px; width: 190px; height: 240px; border-radius: 999px 999px 0 0; background: rgba(255,255,255,.28); pointer-events: none; }
.tr__card--us::after { content: ""; position: absolute; right: 30px; bottom: -40px; width: 110px; height: 150px; border-radius: 999px 999px 0 0; border: 2px solid rgba(43,50,82,.14); border-bottom: 0; pointer-events: none; }
.tr__card--us .mark--tr { position: absolute; top: 24px; right: 26px; left: auto; margin: 0; width: 28px; }
.tr__card--us .tr__us { padding-right: 30px; }
.tr__mid { overflow: hidden; border-radius: 24px; }
.voice--tr { height: 140px; }
.tr__arrow { bottom: 18px; }
.tr__chips { justify-content: center; }
@media (max-width: 1000px) { .tr__card { min-height: 0; } .tr__mid { height: 90px; } }
@media (prefers-reduced-motion: reduce) { .regions .region-btn, .regions--in .region-btn small { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* ===== 38. Telehealth on the map ===== */
.tele-dot { position: relative; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--uds-sky); box-shadow: 0 0 0 0 rgba(151,200,244,.6); animation: telePing 2.2s ease-out infinite; flex: none; }
.tele-dot::after { content: ""; position: absolute; left: 3px; top: 4px; width: 5px; height: 6px; border-radius: 1.5px; background: var(--uds-navy); box-shadow: 4px 0 0 -1px var(--uds-navy); }
@keyframes telePing { 0% { box-shadow: 0 0 0 0 rgba(151,200,244,.55); } 100% { box-shadow: 0 0 0 9px rgba(151,200,244,0); } }
.globe__views .view-tele { display: inline-flex; align-items: center; gap: 8px; }
.globe__legend .tele-i { width: 11px; height: 11px; border-radius: 50%; background: var(--uds-sky); box-shadow: 0 0 0 3px rgba(151,200,244,.25); }
.globe__group--tele { margin-top: 22px !important; padding: 14px 8px 8px; border-radius: 20px; background: linear-gradient(160deg, rgba(151,200,244,.14), rgba(151,200,244,.03)); border: 1px solid rgba(151,200,244,.22); }
.globe__group--tele p { color: var(--uds-sky); }
.globe__group--tele ul { grid-template-columns: 1fr 1fr; }
.globe__group--tele button { grid-template-columns: 16px 1fr auto; font-size: 13px; padding: 9px 10px; }
.globe__group--tele button small { color: var(--uds-sky); }
@media (prefers-reduced-motion: reduce) { .tele-dot { animation: none; } }

/* ===== 39. Always-visible referral button ===== */
.refer-fab { position: fixed; right: 24px; bottom: 24px; z-index: 160; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 999px; background: var(--uds-gold); color: var(--uds-navy); font-weight: 800; font-size: 15px; text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(43,50,82,.55), 0 0 0 1px rgba(43,50,82,.08); animation: fabIn .8s var(--ease-bounce) .9s both; transition: transform .35s var(--ease-bounce), box-shadow .3s; }
.refer-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 24px 50px -16px rgba(43,50,82,.6), 0 0 0 1px rgba(43,50,82,.1); }
.refer-fab__arch { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; padding: 0 6px; border-radius: 999px 999px 8px 8px; background: var(--uds-navy); }
.refer-fab__arch i { width: 5px; border-radius: 5px 5px 1px 1px; background: var(--uds-gold); animation: fabBars 1.6s ease-in-out infinite alternate; }
.refer-fab__arch i:nth-child(1) { height: 9px; } .refer-fab__arch i:nth-child(2) { height: 16px; animation-delay: -.5s; background: var(--uds-sky); } .refer-fab__arch i:nth-child(3) { height: 12px; animation-delay: -1s; background: var(--uds-blush); }
@keyframes fabBars { to { transform: scaleY(.55); } }
.refer-fab__go { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(43,50,82,.1); transition: transform .35s var(--ease-bounce); }
.refer-fab:hover .refer-fab__go { transform: translateX(4px); }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
.refer-fab ~ .to-top { bottom: 92px; }
.nav-open .refer-fab { opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
  .refer-fab { left: 16px; right: 16px; bottom: 14px; justify-content: center; padding: 12px 18px; }
  .refer-fab ~ .to-top { bottom: 84px; right: 16px; width: 46px; height: 46px; }
  .footer { padding-bottom: 90px; }
}
@media print { .refer-fab { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .refer-fab, .refer-fab__arch i { animation: none; } }

/* ===== 40. Team crowd placeholder ===== */
.crowd { position: relative; border-radius: 28px; overflow: hidden; background: var(--uds-cream); padding: 22px 22px 0; aspect-ratio: 4 / 3.2; display: flex; flex-direction: column; justify-content: flex-end; }
.crowd__grid { position: absolute; inset: 22px 22px 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-content: end; }
.crowd__p { aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; background: var(--c); overflow: hidden; display: flex; align-items: flex-end; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-bounce); }
.crowd__p svg { width: 100%; animation: crowdBob 3.2s ease-in-out var(--d) infinite alternate; }
@keyframes crowdBob { to { transform: translateY(-4px); } }
.crowd.is-in .crowd__p { opacity: 1; transform: none; }
.crowd__p:nth-child(8n+1) { transition-delay: .05s; } .crowd__p:nth-child(8n+2) { transition-delay: .12s; } .crowd__p:nth-child(8n+3) { transition-delay: .19s; } .crowd__p:nth-child(8n+4) { transition-delay: .26s; }
.crowd__p:nth-child(8n+5) { transition-delay: .33s; } .crowd__p:nth-child(8n+6) { transition-delay: .4s; } .crowd__p:nth-child(8n+7) { transition-delay: .47s; } .crowd__p:nth-child(8n) { transition-delay: .54s; }
.crowd__grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--uds-cream) 0%, rgba(251,249,244,0) 30%, rgba(251,249,244,0) 55%, rgba(251,249,244,.95) 100%); pointer-events: none; }
.crowd__card { position: relative; z-index: 1; margin: 0 0 22px; display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: #fff; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(43,50,82,.4); opacity: 0; transform: translateY(16px); transition: opacity .6s .7s, transform .8s var(--ease-bounce) .7s; }
.crowd.is-in .crowd__card { opacity: 1; transform: none; }
.crowd__card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); } .crowd__card strong { display: block; color: var(--uds-navy); font-size: 18px; margin-bottom: 2px; }
.crowd__count { flex: none; display: grid; place-items: center; width: 52px; height: 60px; border-radius: 999px 999px 10px 10px; background: var(--uds-gold); color: var(--uds-navy); font-weight: 800; font-size: 28px; }
.crowd:hover .crowd__p { transform: translateY(-3px); }
.tile--more { display: block; text-decoration: none; color: #fff; }
.tile--more__in { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--uds-navy); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 10% 14%; text-align: center; transition: transform .45s var(--ease-rise); overflow: hidden; }
.tile--more:hover .tile--more__in { transform: translate(-7px, -10px); }
.tile--more__in strong { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.15; } .tile--more__in small { font-size: 11.5px; color: rgba(255,255,255,.7); }
.tile--more__faces { display: flex; margin-bottom: 10px; }
.tile--more__faces i { width: 28px; height: 36px; border-radius: 999px 999px 5px 5px; background: var(--c); border: 2px solid var(--uds-navy); margin-left: -7px; animation: crowdBob 3s ease-in-out infinite alternate; }
.tile--more__faces i:nth-child(2) { animation-delay: -1s; height: 42px; } .tile--more__faces i:nth-child(3) { animation-delay: -2s; }
.tile--more__faces i:first-child { margin-left: 0; }
@media (max-width: 700px) { .crowd__grid { grid-template-columns: repeat(6, 1fr); } .crowd { aspect-ratio: auto; min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { .crowd__p, .crowd__card { opacity: 1; transform: none; transition: none; } .crowd__p svg { animation: none; } }

/* ===== 41. Nearest location finder ===== */
.finder { margin: 0 0 28px; padding: 20px 22px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.finder label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; margin-bottom: 12px; color: #fff; }
.finder__pin { width: 16px; height: 20px; border-radius: 999px 999px 3px 3px; background: var(--uds-gold); position: relative; }
.finder__pin::after { content: ""; position: absolute; left: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--uds-navy); }
.finder__row { display: flex; gap: 10px; flex-wrap: wrap; }
.finder__row input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 15.5px; padding: 14px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.95); color: var(--uds-navy); }
.finder__row input:focus { outline: none; border-color: var(--uds-gold); box-shadow: 0 0 0 4px rgba(250,215,68,.25); }
.finder__geo { font: inherit; font-weight: 700; font-size: 14px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.finder__geo:hover { border-color: var(--uds-sky); background: rgba(151,200,244,.12); }
.finder.is-busy .btn { opacity: .7; pointer-events: none; }
.finder.is-busy .finder__pin { animation: finderHop .6s var(--ease-bounce) infinite alternate; }
@keyframes finderHop { to { transform: translateY(-5px); } }
.finder__out:empty { display: none; }
.finder__out { margin-top: 16px; color: #fff; }
.finder__near { margin: 0 0 10px; font-size: 13.5px; color: var(--text-on-dark-subtle); }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.finder__list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.07); }
.finder__out.is-in .finder__list li { animation: rowIn .6s var(--ease-bounce) both; animation-delay: calc(var(--i) * 90ms); }
.finder__list li:first-child { background: rgba(250,215,68,.14); box-shadow: inset 0 0 0 1px rgba(250,215,68,.4); }
.finder__km { font-size: 13px; color: var(--text-on-dark-subtle); } .finder__km b { font-size: 24px; color: var(--uds-gold); letter-spacing: -.02em; }
.finder__name strong { display: block; font-size: 16px; } .finder__name small { font-size: 12.5px; color: var(--text-on-dark-subtle); }
.finder__acts { display: flex; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 700; }
.finder__acts button { font: inherit; background: none; border: 0; color: var(--uds-sky); cursor: pointer; padding: 0; }
.finder__acts a { color: var(--uds-gold); text-decoration: none; }
.finder__tip { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.8); } .finder__tip a { color: var(--uds-gold); }
@media (max-width: 700px) { .finder__list li { grid-template-columns: 60px 1fr; } .finder__acts { grid-column: 1 / -1; } .finder__geo { padding: 12px 18px; } }

/* ===== 42. Form delivery ===== */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
form.is-sending [data-next] { opacity: .7; pointer-events: none; }
form.is-sending [data-next] .arrow { animation: finderHop .5s var(--ease-bounce) infinite alternate; }
.notifybox form { display: grid; gap: 12px; padding: 30px; max-width: 440px; }
.notifybox h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.notifybox { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--uds-navy); }
.notifybox .vmodal__close { position: absolute; top: 16px; right: 16px; color: var(--uds-navy); border-color: var(--uds-line); }
.notifybox .hint { color: var(--text-muted); margin: 0; font-size: 14px; }
.form-error:not([hidden]) { color: var(--uds-navy); background: var(--uds-blush); border-radius: 12px; padding: 12px 14px; line-height: 1.6; }
.form .form-error:not([hidden]), .notifybox .form-error:not([hidden]) { color: var(--uds-navy); margin: 12px 0 0; }

/* ===== 43. Service pages: at a glance ===== */
.glance { padding-bottom: 100px; }
.gl__stats { display: flex; gap: 14px; } .gl__stat { padding: 16px 20px; border-radius: 20px; background: var(--uds-cream); } .gl__stat b { display: block; font-size: 30px; letter-spacing: -.02em; } .gl__stat small { color: var(--text-muted); font-size: 13px; }
.gl__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, .9fr); gap: 20px; align-items: stretch; }
.gl__who { padding: 30px 28px; border-radius: 28px; background: color-mix(in srgb, var(--c) 22%, #fff); display: flex; flex-direction: column; }
.gl__who h3, .gl__fund h3, .gl__steps h3 { margin: 0 0 16px; font-size: 20px; letter-spacing: -.01em; }
.gl__who ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gl__who li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; line-height: 1.35; }
.gl__who .arch-bullet { margin-top: 3px; flex: none; }
.gl__tele { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; align-items: center; }
.gl__tele strong { display: block; font-size: 14.5px; } .gl__tele small { color: var(--text-muted); font-size: 13px; }
.gl__whats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gl__what { position: relative; padding: 24px 22px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--uds-line); overflow: hidden; transition: transform .45s var(--ease-bounce), box-shadow .3s, border-color .3s; }
.gl__what:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(43,50,82,.45); border-color: var(--c); }
.gl__what h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.01em; } .gl__what p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
.gl__num { display: inline-grid; place-items: end center; width: 40px; height: 48px; border-radius: 999px 999px 8px 8px; background: var(--c); font-weight: 800; font-size: 13px; padding-bottom: 7px; transition: height .45s var(--ease-bounce); }
.gl__what:hover .gl__num { height: 56px; }
.gl__fund { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 28px; background: var(--uds-navy); color: #fff; display: flex; flex-direction: column; }
.gl__fund p { color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.gl__fundarch { position: absolute; right: -30px; bottom: -40px; width: 130px; height: 170px; --c: var(--uds-gold); opacity: .18; }
.gl__price { margin: auto 0 10px !important; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.08); }
.gl__price small { display: block; font-size: 12px; font-weight: 700; color: var(--uds-sky); } .gl__price b { display: block; font-size: 34px; color: var(--uds-gold); letter-spacing: -.02em; } .gl__price span { font-size: 12.5px; color: rgba(255,255,255,.65); }
.gl__fund .link { color: var(--uds-gold); font-weight: 700; }
.gl__steps { margin-top: 26px; display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; align-items: center; padding: 26px 30px; border-radius: 28px; background: var(--uds-cream); }
.gl__steps h3 { margin: 0; }
.gl__steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.gl__steps ol::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--uds-navy) 0 6px, transparent 6px 12px); opacity: .25; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-rise) .2s; }
.gl__steps.is-in ol::before { transform: none; }
.gl__steps li { position: relative; display: grid; gap: 4px; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .7s var(--ease-bounce); transition-delay: calc(var(--i) * .25s + .3s); }
.gl__steps.is-in li { opacity: 1; transform: none; }
.gl__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--uds-gold); font-weight: 800; margin-bottom: 8px; box-shadow: 0 0 0 6px var(--uds-cream); }
.gl__steps strong { font-size: 16px; } .gl__steps small { color: var(--text-muted); font-size: 13.5px; line-height: 1.45; }
.guide .readmore__body { position: relative; max-height: 560px; overflow: hidden; transition: max-height .8s var(--ease-rise); }
.guide .readmore__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(180deg, rgba(251,249,244,0), var(--uds-cream)); pointer-events: none; transition: opacity .4s; }
.guide .readmore.is-open .readmore__body { max-height: none; }
.guide .readmore.is-open .readmore__body::after { opacity: 0; }
.readmore__btn { margin-top: 18px; }
@media (max-width: 1100px) { .gl__grid { grid-template-columns: 1fr 1fr; } .gl__whats { grid-column: 1 / -1; order: -1; } .gl__steps { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .gl__grid, .gl__whats, .gl__steps ol { grid-template-columns: 1fr; } .gl__steps ol::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .gl__steps li { opacity: 1; transform: none; } .gl__steps ol::before { transform: none; } }
.gl__fundarch { right: -24px; top: -46px; bottom: auto; width: 120px; height: 150px; opacity: .14; }
.gl__fund > *:not(.gl__fundarch) { position: relative; z-index: 1; }
.tr__mid { padding: 0 12px; overflow: visible; }
.tr__beam { top: 18%; bottom: 18%; width: 3px; left: 0; border-radius: 3px; background: var(--uds-gold); box-shadow: 0 0 18px 4px rgba(250,215,68,.55); mix-blend-mode: normal !important; }
.section--cream .tr__beam, .section--white .tr__beam { background: var(--uds-gold); }
@keyframes trBeam { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 3px); opacity: 0; } }
.gl__fundarch { display: none !important; }

/* ===== 44. Privacy summary ===== */
.privacy-summary { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.privacy-summary li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 22px; background: var(--uds-cream); }
.privacy-summary .arch { flex: none; width: 22px; height: 28px; }
.privacy-summary p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); } .privacy-summary strong { display: block; color: var(--uds-navy); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 1000px) { .privacy-summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .privacy-summary { grid-template-columns: 1fr; } }

/* ===== 45. Support picker (combobox) and indirect activities ===== */
.combo__native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.combo { position: relative; }
.combo__box { position: relative; display: flex; align-items: center; }
.combo__box input { width: 100%; font: inherit; font-size: 15.5px; font-weight: 600; padding: 14px 48px 14px 44px; border-radius: var(--radius-md); border: 1.5px solid var(--uds-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%232B3252' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5 17 17'/%3E%3C/svg%3E") 16px 50% no-repeat; color: var(--uds-navy); transition: border-color .2s, box-shadow .2s; }
.combo__box input:focus { outline: none; border-color: var(--uds-navy); box-shadow: 0 0 0 4px rgba(250,215,68,.55); font-weight: 500; }
.combo__toggle { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.combo__toggle::after { content: ""; position: absolute; left: 12px; top: 11px; width: 8px; height: 8px; border-right: 2px solid var(--uds-navy); border-bottom: 2px solid var(--uds-navy); transform: rotate(45deg); transition: transform .3s var(--ease-bounce); }
.combo.is-open .combo__toggle::after { transform: translateY(4px) rotate(225deg); }
.combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: 340px; overflow: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--uds-line); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(43,50,82,.45); animation: comboIn .28s var(--ease-rise); overscroll-behavior: contain; }
@keyframes comboIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.combo__group { position: sticky; top: -8px; z-index: 1; padding: 10px 12px 6px; background: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.combo__list [role=option] { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-size: 14.5px; font-weight: 600; }
.combo__list [role=option] b { font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--text-muted); }
.combo__list [role=option].is-active, .combo__list [role=option]:hover { background: var(--uds-cream); }
.combo__list [role=option][aria-selected=true] { background: rgba(250,215,68,.28); }
.combo__empty { padding: 14px 12px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.sched__add .combo { flex: 1; min-width: 260px; }

.indirect { margin: 6px 0 18px; border: 1.5px solid var(--uds-line); border-radius: 22px; background: #fff; overflow: hidden; }
.indirect summary { list-style: none; display: grid; grid-template-columns: 30px 1fr 24px; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; }
.indirect summary::-webkit-details-marker { display: none; }
.indirect summary strong { display: block; font-size: 15.5px; } .indirect summary small { color: var(--text-muted); font-size: 13px; }
.indirect__arch { width: 26px; height: 32px; border-radius: 999px 999px 4px 4px; background: linear-gradient(180deg, var(--uds-mint), var(--uds-sky)); transition: height .4s var(--ease-bounce); }
.indirect[open] .indirect__arch { height: 36px; }
.indirect summary i { width: 24px; height: 24px; border-radius: 50%; background: var(--uds-cream); position: relative; }
.indirect summary i::before, .indirect summary i::after { content: ""; position: absolute; left: 7px; top: 11px; width: 10px; height: 2px; background: var(--uds-navy); border-radius: 2px; transition: transform .35s var(--ease-bounce); }
.indirect summary i::after { transform: rotate(90deg); } .indirect[open] summary i::after { transform: rotate(0); }
.indirect__body { padding: 0 18px 18px; animation: comboIn .35s var(--ease-rise); }
.indirect__note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.field.is-off { opacity: 1; } .field.is-off input:disabled { opacity: .65; } .field.is-off label::after { content: " (not claimable for this item)"; font-weight: 500; }
.tool__lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.tool__lines li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 700; animation: rowIn .5s var(--ease-bounce) both; }
.tool__lines small { display: block; font-weight: 500; font-size: 12px; color: var(--text-on-dark-subtle); margin-top: 2px; }
.tool__lines b { font-variant-numeric: tabular-nums; color: var(--uds-gold); }

/* ===== 46. Branded date picker ===== */
.dp-field { position: relative; display: block; }
.dp-field input[type="date"] { width: 100%; padding-right: 52px !important; font-variant-numeric: tabular-nums; color: var(--uds-navy); }
.dp-field input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.dp-field input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.dp-field input[type="date"]::-webkit-datetime-edit-day-field:focus, .dp-field input[type="date"]::-webkit-datetime-edit-month-field:focus, .dp-field input[type="date"]::-webkit-datetime-edit-year-field:focus { background: var(--uds-gold); color: var(--uds-navy); border-radius: 4px; }
.dp-btn { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--uds-cream); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease-bounce); }
.dp-btn:hover, .dp-field.is-active .dp-btn { background: var(--uds-gold); transform: scale(1.06); }
.dp-btn span { position: relative; width: 18px; height: 16px; border: 2px solid var(--uds-navy); border-radius: 4px; border-top-width: 4px; }
.dp-btn span i { position: absolute; left: 3px; top: 3px; width: 4px; height: 4px; border-radius: 1px; background: var(--uds-navy); box-shadow: 5px 0 0 var(--uds-navy); }
.dp { position: absolute; z-index: 1200; width: 320px; padding: 14px; background: #fff; color: var(--uds-navy); border: 1px solid var(--uds-line); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(43,50,82,.5); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s, transform .3s var(--ease-bounce); }
.dp.is-open { opacity: 1; transform: none; }
.dp__head { display: grid; grid-template-columns: 34px 1fr 84px 34px; gap: 6px; align-items: center; margin-bottom: 10px; }
.dp__head select { font: inherit; font-weight: 800; font-size: 14.5px; border: 1.5px solid var(--uds-line); border-radius: 10px; padding: 7px 8px; background: #fff; color: var(--uds-navy); cursor: pointer; }
.dp__nav { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--uds-cream); font-size: 20px; line-height: 1; cursor: pointer; color: var(--uds-navy); }
.dp__nav:hover { background: var(--uds-gold); }
.dp__dow, .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp__dow span { text-align: center; font-size: 11.5px; font-weight: 800; color: var(--text-muted); padding: 4px 0; }
.dp__grid button { height: 38px; border: 0; background: transparent; border-radius: 999px 999px 8px 8px; font: inherit; font-weight: 600; font-size: 14px; color: var(--uds-navy); cursor: pointer; transition: background .15s, transform .25s var(--ease-bounce); }
.dp__grid button:hover:not(:disabled) { background: var(--uds-cream); transform: translateY(-2px); }
.dp__grid button:focus-visible { outline: 2px solid var(--uds-navy); outline-offset: 1px; }
.dp__grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--uds-sky); }
.dp__grid button.is-on { background: var(--uds-gold); font-weight: 800; }
.dp__grid button:disabled { color: #C9CBD3; cursor: not-allowed; }
.dp__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--uds-line); }
.dp__foot button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--uds-navy); cursor: pointer; padding: 6px 10px; border-radius: 10px; }
.dp__foot button:hover { background: var(--uds-cream); }
input[type="date"] { accent-color: var(--uds-gold); color-scheme: light; }

/* ===== 47. Accent word tones (context-based pastels) =====
   Light backgrounds use a deeper shade of each pastel for legibility (WCAG 3:1 for large text);
   dark backgrounds use the true light pastels. Tones are assigned at build time by meaning (lib.accent_tone). */
:root { --tone-sky: #3D84C6; --tone-blush: #C4588F; --tone-mint: #2A9466; --tone-coral: #CF6541; --tone-gold: var(--uds-gold-ink); }
.accent.tone-sky { color: var(--tone-sky) !important; } .accent.tone-blush { color: var(--tone-blush) !important; } .accent.tone-mint { color: var(--tone-mint) !important; }
.accent.tone-coral { color: var(--tone-coral) !important; } .accent.tone-gold { color: var(--tone-gold) !important; }
:is(.on-dark, .section--navy, .globe-section, .globe, .page-hero--navy, .archscene__end, .cta-band, .tool__out, .footer, .ticker, .mega__feature, .gl__fund, .translator) .accent.tone-sky { color: var(--uds-sky) !important; }
:is(.on-dark, .section--navy, .globe-section, .globe, .page-hero--navy, .archscene__end, .cta-band, .tool__out, .footer, .ticker, .mega__feature, .gl__fund, .translator) .accent.tone-blush { color: var(--uds-blush) !important; }
:is(.on-dark, .section--navy, .globe-section, .globe, .page-hero--navy, .archscene__end, .cta-band, .tool__out, .footer, .ticker, .mega__feature, .gl__fund, .translator) .accent.tone-mint { color: var(--uds-mint) !important; }
:is(.on-dark, .section--navy, .globe-section, .globe, .page-hero--navy, .archscene__end, .cta-band, .tool__out, .footer, .ticker, .mega__feature, .gl__fund, .translator) .accent.tone-coral { color: var(--uds-coral) !important; }
:is(.on-dark, .section--navy, .globe-section, .globe, .page-hero--navy, .archscene__end, .cta-band, .tool__out, .footer, .ticker, .mega__feature, .gl__fund, .translator) .accent.tone-gold { color: var(--uds-gold) !important; }
.prose--answer { font-size: 16.5px; } .prose--answer > :first-child { margin-top: 0; } .prose--answer ul { margin: .6em 0; }

/* ===== 48. Standing rule: no navy text or logos on large gold areas (pastels instead) ===== */
.cta-band--navy .mark--band { --mark-c: #fff; opacity: .95; }
.cta-band--navy h2, .cta-band--navy p { color: #fff; }
.cta-band--navy p { color: rgba(255,255,255,.82); }
.closer { background: linear-gradient(135deg, var(--uds-blush) 0%, #F9D9E6 35%, #D4E8F8 70%, var(--uds-sky) 100%); }
.closer::before { border-color: rgba(255,255,255,.35); }
.hgallery__card { background: var(--uds-mint); }
.lead__art { background: linear-gradient(160deg, var(--uds-mint), var(--uds-sky)); }
.lead__art::after { background: var(--uds-navy); }
.tr__card--us { background: var(--uds-mint); box-shadow: 0 30px 60px -30px rgba(176,235,205,.6); }
.section--gold { background: var(--uds-mint); }
/* any large panel that would be gold becomes a pastel gradient, and its logo turns white */
:is(.svc-card__top, .stack-card__art, .mcard__top, .mprev__art, .hub-art__tile, .tool-card__top, .cover, .inline-photo, .office__rise, .gl__who)[style*="--c:var(--uds-gold)"],
[style*="--c:var(--uds-gold)"] > :is(.svc-card__top, .stack-card__art, .mcard__top, .mprev__art, .tool-card__top, .cover, .inline-photo),
[style*="--c:var(--uds-gold)"] :is(.svc-card__top, .stack-card__art, .mcard__top, .mprev__art, .tool-card__top, .office__rise) {
  background: linear-gradient(150deg, var(--uds-coral), var(--uds-blush)) !important; --mark-c: #fff;
}

/* ===== 49. Service cards with contextual photos ===== */
.svc-card--photo .svc-card__top { height: 210px; }
.svc-card__photo { position: absolute; z-index: 1; left: 50%; bottom: 8px; width: 52%; height: 176px; translate: -50% 0; border-radius: 999px 999px 0 0; overflow: hidden; border: 5px solid #fff; border-bottom: 0; box-shadow: 0 18px 30px -18px rgba(43,50,82,.55); transition: height .6s var(--ease-bounce), width .6s var(--ease-bounce); }
.svc-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-rise); scale: 1.06; }
.svc-card--photo:hover .svc-card__photo { height: 192px; width: 56%; }
.svc-card--photo:hover .svc-card__photo img { scale: 1.12; }
.svc-card--photo .svc-card__top .cluster .arch:nth-child(2) { opacity: 0; }
.svc-card--photo .svc-card__top .cluster .arch:nth-child(1) { height: 96px; } .svc-card--photo .svc-card__top .cluster .arch:nth-child(3) { height: 120px; }
.svc-card--photo .svc-card__top .cluster { justify-content: space-between; } .svc-card--photo .svc-card__top .cluster .arch { flex: 0 0 22%; }

/* ===== 50. Location list: no sideways scroll, tidy telehealth card ===== */
.globe__list { overflow-x: hidden; padding-right: 10px; scrollbar-gutter: stable; }
.globe__list::-webkit-scrollbar { width: 6px; } .globe__list::-webkit-scrollbar-track { background: transparent; }
.globe__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; } .globe__list::-webkit-scrollbar-thumb:hover { background: var(--uds-sky); }
.globe__group--tele { margin-right: 0; overflow: hidden; }
.globe__group--tele ul { grid-template-columns: 1fr; gap: 2px; }
.globe__group--tele button { grid-template-columns: 16px 1fr auto; font-size: 13.5px; padding: 8px 10px; }
.globe__group--tele button small { min-width: 34px; text-align: center; padding: 2px 6px; border-radius: 999px; background: rgba(151,200,244,.16); color: var(--uds-sky); font-size: 11px; font-weight: 800; }
.globe__group button { min-width: 0; } .globe__group button > :not(small) { min-width: 0; }
.nav__inner > nav { margin-right: auto; }
:root { --text-accent: var(--tone-sky); }

/* referral button: playful hover (bars dance, arch lifts, shine sweeps, arrow nudges) */
.refer-fab { overflow: hidden; isolation: isolate; }
.refer-fab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%); transform: translateX(-120%); }
.refer-fab:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-rise); }
.refer-fab:hover .refer-fab__arch { transform: translateY(-3px) scale(1.08); background: var(--uds-navy); }
.refer-fab__arch { transition: transform .45s var(--ease-bounce); }
.refer-fab:hover .refer-fab__arch i { animation: fabDance .5s var(--ease-bounce) infinite alternate; }
.refer-fab:hover .refer-fab__arch i:nth-child(2) { animation-delay: -.2s; } .refer-fab:hover .refer-fab__arch i:nth-child(3) { animation-delay: -.35s; }
@keyframes fabDance { from { transform: scaleY(.45); } to { transform: scaleY(1.25); } }
.refer-fab:hover .refer-fab__go { transform: translateX(4px) rotate(-8deg); background: var(--uds-navy); color: #fff; }
.refer-fab:active { transform: translateY(0) scale(.97); }
.refer-fab .refer-fab__txt { transition: letter-spacing .35s var(--ease-rise); } .refer-fab:hover .refer-fab__txt { letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .refer-fab:hover .refer-fab__arch i, .refer-fab::after { animation: none; transition: none; } }

/* ===== 51. Hero: U-Hub tools, a quiet line above the arches ===== */
.hero__tools { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; font-size: 13px; opacity: 0; transform: translateY(-6px); transition: opacity .6s ease 1.4s, transform .8s var(--ease-rise) 1.4s; }
.hero.is-in .hero__tools { opacity: 1; transform: none; }
.hero__tools a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-weight: 600; transition: color .2s, background .25s; }
.hero__tools a:hover { color: var(--uds-navy); background: color-mix(in srgb, var(--c, var(--uds-mint)) 35%, transparent); }
.hero__tools .arch { width: 10px; height: 8px; transition: height .3s var(--ease-bounce); } .hero__tools a:hover .arch { height: 12px; }
.hero__tools-lead { color: var(--uds-navy) !important; font-weight: 800 !important; }
.hero__tools-badge { padding: 2px 7px 1px; border-radius: 999px 999px 4px 4px; background: var(--uds-mint); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--uds-navy); }
@media (max-width: 1000px) { .hero__tools { position: static; justify-content: flex-start; margin-bottom: 18px; } }

/* ===== 52. Hero arches rise out of the layer below (no baseline) ===== */
.page-hero:not(.page-hero--nosheet) .page-hero__grid > div:last-child:has(.arch-photo, .hero-layers) { margin-bottom: -150px; align-self: end; }
.page-hero .arch-photo { --base: 0px; }
.page-hero .arch-photo__base, .page-hero .hero-layers__cut::after { display: none; }
.page-hero .arch-photo__tag { bottom: 96px; }
.page-hero .hero-layers__cut { bottom: 0; }
.page-hero .hero-layers__cut .cutarch { box-shadow: none; }
/* the arch is clipped by the sheet above it, so the sheet's shadow reads as the arch emerging */
.page-hero + section:not(.globe-section), .page-hero + .section { box-shadow: 0 -30px 60px -40px rgba(43,50,82,.4), 0 -1px 0 rgba(43,50,82,.04); }
/* home: the skyline arches rise out from under the ticker layer instead of standing on a baseline */
.skyline__base { display: none; }
.hero + .ticker, .hero + section.ticker, .hero + div.ticker { position: relative; z-index: 3; margin-top: -34px; border-radius: 40px 40px 0 0; box-shadow: 0 -30px 60px -40px rgba(43,50,82,.5); }
.hero__copy { padding-bottom: 76px; }

/* ===== 53. U-Hub hero: four photo arches rising from the layer below ===== */
.page-hero:not(.page-hero--nosheet) .page-hero__grid > div:last-child:has(.hub-sky) { margin-bottom: -150px; align-self: end; }
.hub-sky { position: relative; height: 560px; display: flex; align-items: flex-end; gap: 14px; }
.hub-sky__col { position: relative; flex: 0 1 var(--w); min-width: 0; height: var(--h); display: block; text-decoration: none; color: var(--uds-navy);
  transform: translateY(100%); animation: hubRise 1s cubic-bezier(.2,.85,.25,1.04) both; animation-delay: calc(var(--i) * .12s + .2s); transition: height .6s var(--ease-bounce), flex-basis .6s var(--ease-bounce); }
@keyframes hubRise { to { transform: none; } }
.hub-sky__arch { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: var(--c); padding: 10px 10px 0; box-shadow: 0 24px 40px -30px rgba(43,50,82,.5); }
.hub-sky__photo { display: block; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; background: rgba(255,255,255,.4);
  transform: translateY(100%); opacity: 0; }
.hub-sky__col.loaded .hub-sky__photo { animation: hubPhoto 1.05s cubic-bezier(.2,.85,.25,1) both; animation-delay: calc(var(--i) * .12s + .75s); }
@keyframes hubPhoto { to { transform: none; opacity: 1; } }
.hub-sky__photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.06; transition: scale .8s var(--ease-rise); }
.hub-sky__tag { position: absolute; z-index: 2; left: 50%; top: 26px; translate: -50% 0; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 10px 20px -12px rgba(43,50,82,.45); transition: transform .4s var(--ease-bounce); }
.hub-sky__tag i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); font-style: normal; font-size: 12px; }
.hub-sky:hover .hub-sky__col { flex-basis: calc(var(--w) - 3%); }
.hub-sky .hub-sky__col:hover { flex-basis: calc(var(--w) + 9%); height: min(100%, calc(var(--h) + 8%)); }
.hub-sky__col:hover .hub-sky__photo img { scale: 1.12; } .hub-sky__col:hover .hub-sky__tag { transform: translateY(-4px); }
.hub-sky .mark--hub { position: absolute; left: -26px; top: 18%; width: 72px; height: 72px; --mark-c: var(--uds-navy); filter: drop-shadow(0 10px 20px rgba(43,50,82,.25)); translate: none; }
@media (max-width: 1000px) { .hub-sky { height: 380px; gap: 8px; } .hub-sky__tag { font-size: 11px; top: 14px; } }
@media (prefers-reduced-motion: reduce) { .hub-sky__col, .hub-sky__photo { animation: none; transform: none; opacity: 1; } }
.hub-sky { gap: 10px; margin-right: -40px; }
.hub-sky__col:last-child .hub-sky__tag { left: auto; right: 6px; translate: none; }
.hub-sky__col:first-child .hub-sky__tag { left: 8px; translate: none; }
/* covers and cards: arches rise straight out of the card's bottom edge, no navy baseline */
.cover::after, .svc-card__top::after { display: none; }
.cover__arch.arch-photo { bottom: 0; --base: 0px; }
.cover .arch-photo__base { display: none; }
.svc-card__photo { bottom: 0; }

/* ===== 54. Home hero: taller, wider arches; gentler overlap ===== */
.skyline { height: 720px; gap: 14px; }
.skyline__col--a { width: 190px; --h: 450px; }
.skyline__col--b { width: 360px; --h: 620px; }
.skyline__col--c { width: 190px; --h: 520px; }
.skyline:has(.skyline__col--b:hover) .skyline__col--a, .skyline:has(.skyline__col--b:hover) .skyline__col--c { width: 150px; }
.skyline__col--b:hover { width: 430px !important; height: 660px; }
.skyline:has(.skyline__col--a:hover) .skyline__col--a, .skyline:has(.skyline__col--c:hover) .skyline__col--c { width: 250px; }
.skyline:has(.skyline__col--a:hover) .skyline__col--b, .skyline:has(.skyline__col--c:hover) .skyline__col--b { width: 310px; }
.hero__float--1 { top: 150px; } .hero__float--2 { top: 290px; }
.hero__grid { grid-template-columns: .92fr 1.08fr; }
.hero + .ticker { margin-top: -18px; }
@media (max-width: 1280px) { .skyline__col--a, .skyline__col--c { width: 150px; } .skyline__col--b { width: 300px; } }

/* ===== 55. White Unify logo in the closer and CTA bands ===== */
.closer__logo { position: absolute; left: 50%; top: 44px; translate: -50% 0; width: clamp(200px, 22vw, 330px); height: auto; z-index: 1; filter: drop-shadow(0 8px 24px rgba(43,50,82,.18)); opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform 1s var(--ease-rise); }
.closer.is-in .closer__logo, .closer:has(.is-in) .closer__logo { opacity: 1; transform: none; }
.closer { padding-top: 170px; }
.cta-band__logo { position: absolute; right: 64px; top: 52px; width: 190px; height: auto; z-index: 1; opacity: .95; }
@media (max-width: 1000px) { .cta-band__logo { right: 24px; top: 24px; width: 130px; } }

/* ===== 56. Home stories stage ===== */
.stories { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-top: 40px; --story-c: var(--uds-blush); }
.stories__stage { position: relative; overflow: hidden; border-radius: 36px; padding: 56px 56px 40px; min-height: 520px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; }
.stories__arch { position: absolute; right: -60px; bottom: -40px; width: 340px; height: 440px; border-radius: 999px 999px 0 0; background: var(--story-c); opacity: .16; transition: background .8s ease; }
.stories__arch::after { content: ""; position: absolute; inset: 34px 34px 0; border-radius: inherit; border: 2px solid var(--story-c); border-bottom: 0; opacity: .6; transition: border-color .8s; }
.stories__mark { position: absolute; left: 40px; top: 6px; font-family: var(--font-accent); font-style: italic; font-size: 180px; line-height: 1; color: var(--story-c); opacity: .9; transition: color .8s ease; pointer-events: none; }
.voice--stories { position: absolute; right: 48px; top: 48px; height: 70px; width: 170px; --amp: .9; }
.voice--stories i { background: var(--story-c) !important; transition: background .8s; }
.stories__list { position: relative; display: grid; flex: 1; margin-top: 70px; }
.story { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease-rise), transform .8s var(--ease-bounce); pointer-events: none; }
.story.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.story.is-off { opacity: 0; transform: translateY(-20px); }
.story__h { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #fff; max-width: 22ch; text-wrap: balance; }
.story__body { margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 58ch; }
.story footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.story footer strong { display: block; color: #fff; font-size: 16px; } .story footer small { color: rgba(255,255,255,.6); font-size: 13px; }
.story__avatar { display: grid; place-items: center; width: 46px; height: 56px; border-radius: 999px 999px 10px 10px; background: var(--c); color: var(--uds-navy); font-weight: 800; font-size: 18px; }
.story__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.story__chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; }
.stories__nav { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.stories__count { margin-right: auto; font-size: 13px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; } .stories__count b { color: var(--story-c); font-size: 16px; transition: color .8s; }
.stories__tabs { display: flex; flex-direction: column; gap: 10px; }
.story-tab { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #fff; font: inherit; cursor: pointer; transition: background .3s, border-color .3s, transform .45s var(--ease-bounce); }
.story-tab:hover { transform: translateX(-4px); border-color: rgba(255,255,255,.25); }
.story-tab.is-on { background: rgba(255,255,255,.09); border-color: var(--c); }
.story-tab__arch { display: grid; place-items: end center; padding-bottom: 6px; width: 44px; height: 52px; border-radius: 999px 999px 8px 8px; background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--c); font-weight: 800; transition: background .35s, color .35s, height .45s var(--ease-bounce); }
.story-tab.is-on .story-tab__arch { background: var(--c); color: var(--uds-navy); }
.story-tab strong { display: block; font-size: 14.5px; } .story-tab small { display: block; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-tab em { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; }
.story-tab.run em { animation: trRun var(--st-dur, 7s) linear forwards; }
@media (max-width: 1000px) { .stories { grid-template-columns: 1fr; } .stories__stage { padding: 44px 26px 28px; min-height: 0; } .stories__tabs { flex-direction: row; overflow-x: auto; } .story-tab { min-width: 240px; } .voice--stories { display: none; } }
@media (prefers-reduced-motion: reduce) { .story { transition: none; } }
.stories__arch { right: -50px; bottom: -70px; width: 240px; height: 320px; opacity: 1; background: color-mix(in srgb, var(--story-c) 14%, transparent); }
.stories__arch::after { inset: 26px 26px 0; opacity: .35; }
.stories__list, .stories__nav, .stories__mark { z-index: 1; }
.stories__arch { display: none; }

/* ===== 57. Site search ===== */
.nav__search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border-radius: 999px; border: 1.5px solid rgba(43,50,82,.14); background: rgba(255,255,255,.6); color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease-bounce); }
.nav__search:hover { border-color: var(--uds-navy); background: #fff; transform: translateY(-1px); }
.nav__search svg, .drawer__search svg, .sitesearch__box svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.nav__search kbd { font: inherit; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(43,50,82,.07); color: var(--text-muted); }
.nav.is-solid .nav__search, .nav.is-dark .nav__search, .nav.on-navy-hero:not(.is-solid) .nav__search { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.nav.is-solid .nav__search kbd, .nav.is-dark .nav__search kbd { background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
@media (max-width: 1240px) { .nav__search span, .nav__search kbd { display: none; } .nav__search { width: 40px; padding: 0; justify-content: center; } }
.drawer__search { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.sitesearch { width: min(720px, calc(100vw - 24px)); max-height: min(78vh, 680px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--uds-navy); box-shadow: 0 60px 120px -40px rgba(26,30,50,.6); overflow: hidden; display: none; flex-direction: column; }
.sitesearch[open] { display: flex; animation: searchIn .35s var(--ease-rise) both; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.sitesearch::backdrop { background: rgba(26,30,50,.55); backdrop-filter: blur(6px); }
.sitesearch__box { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--uds-line); }
.sitesearch__box svg { width: 20px; height: 20px; color: var(--text-muted); }
.sitesearch__box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 19px; font-weight: 600; color: var(--uds-navy); background: none; }
.sitesearch__box input::placeholder { color: var(--text-muted); font-weight: 500; }
.sitesearch__box input::-webkit-search-cancel-button { display: none; }
.sitesearch kbd { font: inherit; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 7px; background: var(--uds-cream); border: 1px solid var(--uds-line); color: var(--text-muted); }
.sitesearch__body { overflow-y: auto; overscroll-behavior: contain; padding: 6px 10px 10px; }
.sitesearch__list { list-style: none; margin: 0; padding: 0; }
.sitesearch__group { padding: 14px 12px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.sitesearch__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 16px; cursor: pointer; transition: background .15s; }
.sitesearch__row.is-active { background: var(--uds-cream); }
.sitesearch__arch { width: 18px; height: 22px; border-radius: 999px 999px 4px 4px; background: var(--c); transition: height .3s var(--ease-bounce); }
.sitesearch__row.is-active .sitesearch__arch { height: 26px; }
.sitesearch__txt { min-width: 0; } .sitesearch__txt strong { display: block; font-size: 15.5px; font-weight: 700; }
.sitesearch__txt small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sitesearch mark { background: color-mix(in srgb, var(--uds-mint) 70%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.sitesearch__kind { font-size: 11.5px; font-weight: 700; color: var(--text-muted); padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 35%, #fff); }
.sitesearch__empty { display: grid; gap: 6px; padding: 30px 14px; } .sitesearch__empty span { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; } .sitesearch__empty a { color: var(--uds-navy); font-weight: 700; }
.sitesearch__foot { display: flex; gap: 16px; align-items: center; padding: 10px 22px; border-top: 1px solid var(--uds-line); font-size: 12px; color: var(--text-muted); }
.sitesearch__count { margin-left: auto; }
html.search-open { overflow: hidden; }
@media (max-width: 600px) { .sitesearch { margin-top: 12px; max-height: calc(100vh - 24px); } .sitesearch__foot span:not(.sitesearch__count) { display: none; } .sitesearch__kind { display: none; } .sitesearch__row { grid-template-columns: 22px 1fr; } }
.sitesearch__near { justify-self: start; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--uds-mint); color: var(--uds-navy) !important; font-weight: 700; text-decoration: none; }
.sitesearch__near:hover { background: color-mix(in srgb, var(--uds-mint) 70%, var(--uds-navy) 10%); }

/* ===== 58. Referrer portal (Endy.app), coming soon ===== */
.soon { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 3px 9px 2px; border-radius: 999px 999px 5px 5px; background: var(--uds-mint); color: var(--uds-navy); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.soon--lg { margin: 0 0 14px; font-size: 12px; padding: 5px 12px 4px; }
.portal-chip { display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--uds-line); box-shadow: 0 18px 40px -28px rgba(43,50,82,.35); max-width: 620px; }
.portal-chip__mark { display: flex; align-items: flex-end; gap: 4px; flex: none; }
.portal-chip__mark .arch { width: 14px; height: 30px; background: var(--c); border-radius: 999px 999px 3px 3px; }
.portal-chip__mark .arch + .arch { height: 22px; }
.portal-chip__text { flex: 1; min-width: 0; }
.portal-chip__text strong { display: block; font-size: 15.5px; color: var(--uds-navy); }
.portal-chip__text small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.portal-chip .btn { flex: none; }
.portal-chip--hero { margin-top: 26px; }
.page-hero__actions .portal-chip { flex: 1 1 100%; }
.portal-chip--wide { max-width: none; }
.portal-panel { position: relative; display: grid; grid-template-columns: 200px 1fr auto; gap: 36px; align-items: center; padding: 40px 44px; border-radius: 32px; background: var(--uds-navy); color: #fff; overflow: hidden; }
.portal-panel__art { display: flex; align-items: flex-end; gap: 10px; align-self: end; margin-bottom: -40px; }
.portal-panel__art .arch { width: 52px; background: var(--c); border-radius: 999px 999px 0 0; }
.portal-panel h3 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.1; }
.portal-panel h3 .accent { color: var(--uds-mint); }
.portal-panel p { margin: 0; color: var(--text-on-dark-muted); font-size: 16px; line-height: 1.6; max-width: 560px; }
.portal-panel__cta { display: grid; gap: 10px; justify-items: start; }
.portal-panel__cta small { color: var(--text-on-dark-muted); font-size: 12.5px; max-width: 220px; }
@media (max-width: 900px) {
  .portal-panel { grid-template-columns: 1fr; gap: 22px; padding: 32px 26px 0; }
  .portal-panel__art { order: 3; margin: 0 0 0; }
  .portal-panel__cta { padding-bottom: 4px; }
}
@media (max-width: 560px) {
  .portal-chip { flex-wrap: wrap; }
  .portal-chip .btn { flex: 1 1 100%; justify-content: center; }
}
.portalbox form { display: grid; gap: 12px; padding: 30px; }
.portalbox h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; padding-right: 48px; }
.portalbox .fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.portalbox .done { padding: 40px 30px 34px; text-align: left; }
.portalbox .done h2 { margin-bottom: 8px; }
.portalbox .done p { margin: 0 0 20px; color: var(--text-muted); }
@media (max-width: 480px) { .portalbox .fields2 { grid-template-columns: 1fr; } }

/* Location-search attribution and privacy context. */
.finder__note { margin: 10px 0; font-size: .78rem; line-height: 1.5; color: var(--text-on-dark-muted); }
.finder__note a { color: inherit; text-underline-offset: 3px; }
.globe--failed .globe__views { display: none; }
.globe--failed [data-show] { display: none; }

.globe__fallback-link { display: none; }
.globe--failed .globe__list button { display: none; }
.globe--failed .globe__fallback-link { display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; color: white; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .arch-photo__frame img { scale: 1.02 !important; }
  .cursor-photo, .cursor, .confetti { display: none !important; }
}

/* Privacy summary: large text, one idea per line, labelled picture groups. */
.privacy-easy{max-width:980px}.privacy-easy__item{display:grid;grid-template-columns:112px 1fr;gap:36px;padding:36px 0;border-bottom:1px solid var(--uds-navy)}.privacy-easy__picture{width:112px;height:136px;border-radius:60px 60px 12px 12px;background:var(--c);color:var(--uds-navy);display:grid;place-items:center}.privacy-easy__picture svg{width:64px;height:64px}.privacy-easy__item h2{font-size:30px;margin-bottom:20px}.privacy-easy__item p,.privacy-easy__contact p{font-size:21px;line-height:1.7;margin:0 0 14px}.privacy-easy__contact{padding-top:40px}.privacy-easy a{text-decoration:underline;text-underline-offset:4px}@media(max-width:650px){.privacy-easy__item{grid-template-columns:64px 1fr;gap:20px}.privacy-easy__picture{width:64px;height:86px}.privacy-easy__picture svg{width:42px;height:42px}.privacy-easy__item h2{font-size:25px}.privacy-easy__item p,.privacy-easy__contact p{font-size:19px}}

/* Story position controls supplement the browser's native seek control. */
#story { max-height: calc(100dvh - 24px); overflow: auto; }
#story video { max-height: calc(100dvh - 190px); object-fit: contain; }
.story-controls { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 22px; border-bottom: 1px solid rgba(255,255,255,.2); }
.story-controls[hidden], .story-status[hidden] { display: none; }
.story-controls button { min-height: 44px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 50px; background: transparent; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.story-controls button:hover:not(:disabled) { background: var(--uds-sky); color: var(--uds-navy); }
.story-controls button:disabled { opacity: .5; cursor: default; }
.story-controls output { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.story-status { padding: 0 22px; margin: 12px 0 0; font-size: 14px; }
@media (max-width: 540px) { .story-controls { gap: 10px; padding: 10px 12px; } .story-controls button { font-size: 12px; padding: 9px 10px; } #story .vmodal__bar { padding: 12px; } }

#story .vmodal__close { flex: 0 0 44px; }

/* Responsive home art: keep copy and controls at their real readable size. */
@media (max-width: 1000px) {
  .hero .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; transform: none !important; opacity: 1 !important; }
  .hero .hero__copy { padding-bottom: 12px; }
  .hero .skyline { zoom: 1; height: 540px; margin-top: 0; gap: 12px; }
  .hero .hero__tools { position: absolute; top: 0; left: 0; right: 0; justify-content: center; margin: 0; }
  .hero .hero__tools a { min-height: 44px; }
  .hero .skyline__col--a, .hero .skyline__col--a:hover { width: 23% !important; --h: 320px; }
  .hero .skyline__col--b, .hero .skyline__col--b:hover { width: 46% !important; --h: 430px; height: var(--h); }
  .hero .skyline__col--c, .hero .skyline__col--c:hover { width: 23% !important; --h: 370px; }
  .hero .skyline__frame { bottom: 0; }
  .hero .skyline__mini, .hero .hero__float { display: none; }
}
@media (max-width: 640px) {
  .hero .skyline { height: 480px; gap: 8px; }
  .hero .skyline__col { --pad: 8px; }
  .hero .skyline__col--a, .hero .skyline__col--a:hover { width: 21% !important; --h: 245px; }
  .hero .skyline__col--b, .hero .skyline__col--b:hover { width: 52% !important; --h: 340px; }
  .hero .skyline__col--c, .hero .skyline__col--c:hover { width: 21% !important; --h: 285px; }
  .hero .skyline .play-chip { font-size: 13px; min-height: 44px; width: calc(100% - 16px); max-width: calc(100% - 16px); padding: 10px 12px; white-space: normal; justify-content: center; }
}

/* Keep the schedule's horizontal table scroll within the form on phones. */
@media (max-width: 640px) {
  .fields--5 { grid-template-columns: minmax(0, 1fr); }
  .sched__meta { padding: 22px; }
  .sched__add { flex-direction: column; }
  .sched__add .combo { min-width: 0; width: 100%; }
  .sched__wrap { max-width: 100%; }
}
@media (max-width: 640px) {
  .tool-section { overflow-x: clip; }
}

/* Search always offers an explicit close and a recoverable loading failure. */
.sitesearch__close { flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid var(--uds-line); border-radius: 50%; background: var(--uds-cream); color: var(--uds-navy); font: inherit; font-size: 25px; cursor: pointer; }
.sitesearch__close:hover { background: var(--uds-mint); }
.sitesearch__close:focus-visible, .sitesearch__retry:focus-visible { outline: 3px solid var(--uds-navy); outline-offset: 3px; }
.sitesearch__status { margin: 0; padding: 14px 22px; font-size: 14px; line-height: 1.5; color: var(--uds-navy); background: var(--uds-mint); }
.sitesearch__retry { border: 1px solid var(--uds-navy); border-radius: 999px; padding: 8px 14px; background: var(--uds-mint); color: var(--uds-navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sitesearch__retry:hover { background: var(--uds-sky); }
@media (max-width: 600px) { .sitesearch__box { gap: 10px; padding: 16px; } .sitesearch__box > kbd { display: none; } .sitesearch__box input { font-size: 16px; } }

/* Automatic panels: visible pause controls, including keyboard focus. */
.auto-play { appearance: none; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--uds-navy); border: 1px solid currentColor; border-radius: 999px; background: transparent; padding: 9px 13px; cursor: pointer; flex-shrink: 0; }
.auto-play[hidden] { display: none; }
.auto-play:focus-visible { outline: 3px solid var(--uds-sky); outline-offset: 3px; }
.auto-play:disabled { cursor: default; opacity: .75; }
.auto-play[data-paused="true"] { background: rgba(151,200,244,.15); }
.translator .auto-play { color: var(--tr-ink); }
.stories .auto-play { color: #fff; }
.tr__head, .stories__nav, .board__head { flex-wrap: wrap; }
.tr__head { gap: 12px; }
.tr__count { margin-left: auto; }
.stories__nav .auto-play { margin-right: auto; }
.stories__nav .stories__count { margin-right: 0; }
@media (max-width: 600px) { .stories__nav .auto-play { width: 100%; margin-right: 0; text-align: center; } .stories__nav .stories__count { margin-right: auto; } }
/* Keep the translator readable after the later desktop polish rules. */
@media (max-width: 1000px) {
  .tr__stage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tr__card { min-width: 0; min-height: 0; padding: 24px; }
  .tr__card--ndia, .translator:hover .tr__card--ndia, .translator:hover .tr__card--us { transform: none; }
  .tr__mid { height: 72px; padding: 0; overflow: hidden; }
  .voice--tr { width: min(100%, 240px); height: 64px; }
  .tr__card--us .mark--tr { top: 22px; right: 22px; }
}

.tr__card--ndia small { color: var(--text-muted); }
.tr__stamp { color: var(--uds-navy); }

/* Readable secondary text uses the kit slate; core palette/tokens stay intact. */
:root { --text-on-dark-subtle: rgba(255,255,255,.75); }

input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; }

/* Calendar rows retain seven columns while exposing grid semantics. */
.dp { width: min(320px, calc(100vw - 24px)); }
.dp__title { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.dp__grid > [role="row"], .dp__grid [role="gridcell"] { display: contents; }
.dp__grid > .dp__dow { display: contents; }
.dp__help { font-size: 12px; line-height: 1.5; color: var(--text-muted); margin: 10px 0 0; }
.dp__nav:disabled, .dp__foot button:disabled { opacity: .45; cursor: not-allowed; }

.dp__grid .dp__empty { display: block; min-height: 38px; }

.dp { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }

/* Mobile navigation uses a native modal boundary with an internal close action. */
.drawer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; }
.drawer::backdrop { background: var(--uds-navy); }
.drawer__close { position: absolute; top: 19px; right: 24px; width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%; background: transparent; color: #fff; font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.drawer__close:hover { background: var(--uds-gold); color: var(--uds-navy); }

.drawer > a.drawer__logo { position: absolute; top: 19px; left: 24px; padding: 0; border: 0; width: 156px; height: 52px; }
.drawer__logo img { display: block; width: 156px; height: 52px; object-fit: contain; }
.drawer { height: 100dvh; }
.drawer::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 88px; background: var(--uds-navy); z-index: 2; pointer-events: none; }
.drawer__close, .drawer > a.drawer__logo { position: fixed; z-index: 3; }
.drawer summary, .drawer a, .drawer__search { scroll-margin-top: 100px; }

/* Current plan guidance: compact native disclosure beside the tools. */
.funding-note{margin:0 0 24px;padding:16px 20px;border:1px solid var(--uds-navy);border-radius:16px;background:var(--uds-cream);color:var(--uds-navy)}
.funding-note summary{cursor:pointer;font-weight:700;line-height:1.5}
.funding-note summary:focus-visible{outline:3px solid var(--uds-navy);outline-offset:5px;border-radius:4px}
.funding-note .prose{margin-top:16px;max-width:80ch}
.gl__fund .funding-note p, .gl__fund .funding-note a { color: var(--uds-navy); }
.gl__rates caption { text-align: left; font-weight: var(--fw-bold); margin-bottom: 12px; }

/* Keep the optional top shortcut away from active map-card links. */
body:has(.globe--inview .globe__card.on) .to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* Four readable tool arches stay within the mobile hero. */
.hub-sky__arch { overflow: hidden; }
@media (max-width: 1000px) {
  .hub-sky { margin-right: 0; gap: 8px; }
}
@media (max-width: 640px) {
  .hub-sky { gap: 6px; }
  .hub-sky__arch { padding: 6px 6px 0; }
  .hub-sky__tag, .hub-sky__col:first-child .hub-sky__tag, .hub-sky__col:last-child .hub-sky__tag {
    left: 4px; right: 4px; translate: none; width: auto; max-width: calc(100% - 8px); top: 12px;
    flex-direction: column; gap: 3px; padding: 6px 3px; white-space: normal; text-align: center; font-size: 10.5px; line-height: 1.2;
  }
  .hub-sky__tag i { width: 18px; height: 18px; flex: none; }
  .hub-sky:hover .hub-sky__col, .hub-sky .hub-sky__col:hover { flex-basis: var(--w); }
  .hub-sky .mark--hub { width: 40px; height: 40px; left: 0; top: 0; opacity: .25; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-sky__col.loaded .hub-sky__photo { animation: none; transform: none; opacity: 1; }
}
