/* ==========================================================================
   Public website — cinematic, light, editorial
   ========================================================================== */

/* ---------- Scroll progress + preloader ---------- */
.progress-line { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--cyan), var(--brand)); pointer-events: none; }
.preloader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--paper); transition: clip-path 1s var(--ease-in-out); clip-path: inset(0 0 0 0); pointer-events: none; }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader img { width: 180px; opacity: 0; animation: rise .6s .1s var(--ease) forwards; }
.preloader__bar { position: absolute; bottom: 30%; left: 50%; width: 160px; height: 2px; margin-left: -80px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: load 1s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Header (transparent over hero → frosted light on scroll → hides on scroll down) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); transition: transform .55s var(--ease), background .4s, box-shadow .4s, color .3s; color: var(--ink); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(250,248,243,.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); opacity: 1; transition: opacity .4s; z-index: -1; }
.site-header.is-over::before { opacity: 0; }
.site-header.is-over { color: #fff; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(11,22,38,.4); }
.header-row { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; position: relative; }
.brand img { height: 32px; width: auto; transition: opacity .3s; }
.brand .brand--white { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-over .brand .brand--color { opacity: 0; } .site-header.is-over .brand .brand--white { opacity: 1; }
.nav { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav > li { margin: 0; position: static; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .65em .8em; border: 0; background: none; color: inherit; font: 600 .9rem/1 var(--f-body); text-decoration: none; cursor: pointer; border-radius: var(--r-pill); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .35em; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: inherit; } .nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link .ico { width: .85em; height: .85em; transition: transform .3s; } .nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: .5rem; }
.site-header.is-over .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.45); }
.site-header.is-over .btn--ghost:hover { --fg: var(--ink); } .site-header.is-over .btn--ghost::before { background: #fff; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; cursor: pointer; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 23.5px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { top: 23.5px; transform: rotate(45deg); } .menu-open .menu-btn span:nth-child(2) { opacity: 0; } .menu-open .menu-btn span:nth-child(3) { top: 23.5px; transform: rotate(-45deg); }

/* Mega menu */
.mega { position: absolute; left: 50%; top: calc(100% - 6px); width: min(1080px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, 12px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; color: var(--ink); }
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__panel { display: grid; grid-template-columns: 1.2fr 2fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; }
.mega__feature { position: relative; min-height: 300px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; isolation: isolate; text-decoration: none; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,20,35,.85)); }
.mega__feature:hover img { transform: scale(1.06); } .mega__feature b { font: 300 1.6rem/1.1 var(--f-display); } .mega__feature span { font-size: var(--t-sm); opacity: .85; color: #fff; }
.mega__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem; padding: 1.2rem; align-content: start; }
.mega__links a { display: grid; grid-template-columns: 44px 1fr; gap: .15rem .9rem; padding: .85rem; border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: background .25s; }
.mega__links a:hover { background: var(--paper); } .mega__links a .icon-tile { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; } .mega__links a .icon-tile .ico { width: 20px; height: 20px; }
.mega__links b { font-size: .95rem; } .mega__links small { color: var(--muted); line-height: 1.4; }

/* Full-screen mobile menu */
.mnav { position: fixed; inset: 0; z-index: 990; background: var(--paper); padding: calc(var(--header-h) + .4rem) var(--gutter) calc(1.4rem + var(--dock-h)); overflow-y: auto; overscroll-behavior: contain; clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .75s var(--ease-in-out); visibility: hidden; }
.menu-open .mnav { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu-open .site-header { color: var(--ink); } .menu-open .site-header::before { opacity: 0; } .menu-open .brand .brand--color { opacity: 1; } .menu-open .brand .brand--white { opacity: 0; }
.mnav__list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.mnav__list > li { margin: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.mnav__list > li > a, .mnav__list summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: .7rem 0; font: 600 1.06rem/1.2 var(--f-body); color: var(--ink); text-decoration: none; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.mnav__list summary::-webkit-details-marker { display: none; }
.mnav__list summary .ico, .mnav__list > li > a .ico { width: 18px; height: 18px; color: var(--muted); transition: transform .35s; } .mnav__list details[open] summary .ico { transform: rotate(45deg); }
.mnav__sub { display: grid; gap: 0; margin: 0 0 .8rem; padding-left: .9rem; border-left: 2px solid var(--cyan-2); animation: rise .35s var(--ease) both; } .mnav__sub a { padding: .5rem 0; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; } .mnav__sub a:first-child { color: var(--brand); font-weight: 700; }
.mnav__list details[open] summary { color: var(--brand); }
.menu-open .mnav__list > li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 200ms); }
.mnav__foot { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; } .mnav__foot > .btn--primary, .mnav__foot > .row, .mnav__foot > p { grid-column: 1 / -1; } .mnav__foot .small { color: var(--muted); margin: .4rem 0 0; } .mnav__foot .row:not(:has(.btn:not([hidden]))) { display: none; }

/* App-style bottom dock (mobile/tablet) */
.dock { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; color: #fff; isolation: isolate; background: var(--night); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-in-out); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__slide img { position: absolute; top: 0; left: 0; height: 100%; width: auto; min-width: 100%; max-width: none; object-fit: cover; object-position: 50% 80%; transform: translate3d(0, 0, 0) scale(1.08); will-change: transform; }
.hero__slide.is-active img { animation: pan var(--dur, 9s) linear forwards; }
@keyframes pan { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(var(--pan, -8%), 0, 0) scale(1); } }
.hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,18,32,.78) 0%, rgba(6,18,32,.35) 45%, rgba(6,18,32,.05) 75%),
  linear-gradient(180deg, rgba(6,18,32,.55) 0%, transparent 22%, transparent 62%, rgba(6,18,32,.6) 100%); }
.hero__inner { height: 100%; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--header-h) + 3vh); padding-bottom: clamp(1.4rem, 1rem + 2vh, 2.6rem); }
.hero__copy { align-self: center; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 300; margin-bottom: 1.6rem; }
.hero h1 em { color: var(--cyan); font-weight: 600; }
.hero__sub { font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); max-width: 54ch; color: rgba(255,255,255,.88); margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.hero__index { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.2rem; list-style: none; margin: 0; padding: 0; max-width: 900px; }
.hero__index li { margin: 0; }
.hero__index button { width: 100%; background: none; border: 0; padding: .9rem 0 0; color: rgba(255,255,255,.6); text-align: left; cursor: pointer; font: 600 .82rem/1.3 var(--f-body); position: relative; transition: color .3s; }
.hero__index button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; }
.hero__index button::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.hero__index button.is-active { color: #fff; } .hero__index button.is-active::after { animation: fill var(--dur, 7s) linear forwards; }
.hero__index button b { display: block; font: 500 .7rem/1 var(--f-mono); opacity: .7; margin-bottom: .35rem; }
.hero.is-paused .hero__index button.is-active::after { animation-play-state: paused; } .hero.is-paused .hero__slide.is-active img { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__ctrl { display: flex; gap: .5rem; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font: 700 .7rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .8rem; }
.hero__scroll::after { content: ""; width: 60px; height: 1px; background: rgba(255,255,255,.5); }
.hero__caption { position: absolute; right: var(--gutter); bottom: calc(clamp(1.4rem, 1rem + 2vh, 2.6rem) + 4.2rem); text-align: right; font-size: var(--t-xs); color: rgba(255,255,255,.75); }
.hero__caption b { display: block; font: 300 1.4rem/1.1 var(--f-display); color: #fff; letter-spacing: -.02em; }

/* Inner page hero (same visual language as home) */
.phero { position: relative; min-height: clamp(460px, 68vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.phero__img { position: absolute; inset: -12% 0 -12% 0; z-index: -2; } .phero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,32,.78), rgba(6,18,32,.25) 70%), linear-gradient(180deg, rgba(6,18,32,.55), transparent 30%, rgba(6,18,32,.35)); }
.phero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.phero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5.4rem); font-weight: 300; line-height: 1; margin-bottom: 1.2rem; } .phero h1 em { color: var(--cyan); font-weight: 600; }
.phero .lead { color: rgba(255,255,255,.88); margin-bottom: 0; }
.phero .crumbs { color: rgba(255,255,255,.85); }
.phero--short { min-height: clamp(380px, 52vh, 560px); }
.phero__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 1.3rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font: 300 clamp(1.6rem, 1.2rem + 2vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.marquee__item i { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); flex: none; } .marquee__item em { color: var(--brand); font-style: normal; font-weight: 600; }

/* ---------- Horizontal scroll gallery (pinned on desktop, swipe on touch) ---------- */
.hs { position: relative; height: calc(var(--panels, 5) * 100vh); background: var(--night); }
.hs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hs__track { display: flex; height: 100%; will-change: transform; }
.hs__panel { position: relative; flex: 0 0 100vw; height: 100%; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.hs__panel img.hs__img { position: absolute; top: 0; left: -10vw; width: 120vw; height: 100%; max-width: none; object-fit: cover; object-position: 50% 78%; z-index: -2; will-change: transform; }
.hs__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,16,28,.86) 0%, rgba(5,16,28,.25) 55%, rgba(5,16,28,.15)), linear-gradient(90deg, rgba(5,16,28,.45), transparent 60%); }
.hs__body { width: min(100% - 2 * var(--gutter), var(--maxw)); margin: 0 auto; padding-bottom: clamp(5rem, 4rem + 6vh, 8rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.hs__num { font: 500 .8rem/1 var(--f-mono); letter-spacing: .15em; color: var(--cyan); margin-bottom: 1rem; display: block; }
.hs__title { font: 300 clamp(3rem, 1.5rem + 7vw, 8.5rem)/.9 var(--f-display); letter-spacing: -.05em; color: #fff; margin: 0 0 1.2rem; }
.hs__facts { display: grid; gap: .7rem; padding: 1.4rem; border-radius: var(--r-lg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hs__facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-sm); border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: .6rem; } .hs__facts div:last-of-type { border: 0; padding: 0; }
.hs__facts span { color: rgba(255,255,255,.7); } .hs__facts b { text-align: right; }
.hs__intro { flex: 0 0 min(560px, 100vw); background: var(--paper); color: var(--ink); align-items: center; padding: 0 clamp(2rem, 1rem + 4vw, 5rem); }
.hs__intro::after { display: none; }
.hs__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; z-index: 3; }
.hs__bar span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--hp, 0)); border-radius: 2px; }
.hs__hint { position: absolute; right: var(--gutter); bottom: 2.8rem; z-index: 3; font: 700 .7rem/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Path finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.finder__q { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.finder__r { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); background: linear-gradient(160deg, var(--mist), #fff 70%); border-left: 1px solid var(--line); }
.finder .q { margin-bottom: 1.5rem; } .finder .q .label { display: block; margin-bottom: .7rem; } .finder .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.match { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .8rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); margin-bottom: .6rem; animation: rise .5s var(--ease) both; transition: transform .3s var(--ease); }
.match:first-child { border-color: var(--brand); box-shadow: 0 10px 30px -18px rgba(10,111,176,.6); }
.match img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.match b { color: var(--ink); display: block; } .match small { color: var(--muted); }
.match__score { font: 300 1.7rem/1 var(--f-display); color: var(--brand); text-align: right; } .match__score small { display: block; font: 700 .62rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.match__bar { grid-column: 1 / -1; } .match__bar .bar { height: 4px; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.numbers > div { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line); } .numbers > div:last-child { border-right: 0; }
.numbers .n { font: 300 clamp(3rem, 2rem + 4vw, 6rem)/1 var(--f-display); letter-spacing: -.05em; color: var(--ink); } .numbers .n sup { font-size: .4em; color: var(--brand); vertical-align: super; }
.numbers p { color: var(--muted); max-width: 26ch; margin-top: .6rem; font-size: var(--t-sm); }

/* ---------- Sticky stacking cards ---------- */
.stack-cards { display: grid; gap: 1.5rem; }
.scard { position: sticky; top: calc(var(--header-h) + 1.5rem + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 440px; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); transform-origin: top center; }
.scard__body { padding: clamp(1.6rem, 1rem + 2.5vw, 3.2rem); display: flex; flex-direction: column; }
.scard__body h3 { font: 300 clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem)/1.05 var(--f-display); letter-spacing: -.03em; }
.scard__media { position: relative; overflow: hidden; background: var(--paper-2); } .scard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scard__list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; } .scard__list li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; } .scard__list .ico { color: var(--brand); margin-top: .2em; }
.scard__foot { margin-top: auto; }
.scard--tint { background: var(--mist); } .scard--paper { background: var(--paper-2); }

/* ---------- Journey with scroll-drawn path ---------- */
.journey { position: relative; }
.journey__path { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--line); border-radius: 4px; overflow: hidden; }
.journey__path span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--brand)); transform-origin: top; transform: scaleY(var(--jp, 0)); }
.jstep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; padding: 1.6rem 0; }
.jstep__dot { justify-self: center; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--muted); z-index: 1; transition: all .6s var(--ease); }
.jstep.is-in .jstep__dot { background: var(--ink); border-color: var(--ink); color: var(--cyan); transform: scale(1.05); }
.jstep__card { padding: 1.5rem 1.7rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.jstep__card h3 { font: 300 1.7rem/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: .4rem; } .jstep__card p { margin: 0; color: var(--muted); }
.jstep__n { font: 500 .78rem/1 var(--f-mono); color: var(--brand); letter-spacing: .1em; display: block; margin-bottom: .6rem; }
.jstep:nth-child(odd) .jstep__card { grid-column: 1; } .jstep:nth-child(odd) .jstep__dot { grid-column: 2; grid-row: 1; }
.jstep:nth-child(even) .jstep__card { grid-column: 3; } .jstep:nth-child(even) .jstep__dot { grid-column: 2; grid-row: 1; }

/* ---------- Destination cards / university cards ---------- */
.dcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.dcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,16,28,.05) 30%, rgba(5,16,28,.85)); }
.dcard:hover { color: #fff; } .dcard:hover img { transform: scale(1.08); }
.dcard__body { padding: 1.6rem; } .dcard h3 { color: #fff; font: 300 2.1rem/1 var(--f-display); letter-spacing: -.03em; margin: .7rem 0 .5rem; } .dcard p { font-size: var(--t-sm); opacity: .9; }
.dcard .link { color: #fff; }
.ucard { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ucard__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.ucard__art b { font: 300 3.2rem/1 var(--f-display); color: rgba(255,255,255,.92); letter-spacing: -.04em; transition: transform .8s var(--ease); }
.ucard:hover .ucard__art b { transform: scale(1.12); }
.ucard__art .badge { position: absolute; left: 1rem; top: 1rem; }
.ucard__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ucard h3 { font-size: 1.2rem; margin: .5rem 0 .35rem; } .ucard h3 a { color: var(--ink); text-decoration: none; } .ucard h3 a:hover { color: var(--brand); }
.ucard .meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: var(--t-sm); color: var(--muted); margin-bottom: .8rem; }
.ucard__foot { margin-top: auto; display: flex; gap: .5rem; align-items: center; padding-top: 1rem; }
.save-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Discovery search bar */
.disc { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .5rem; padding: .5rem; background: var(--surface); border-radius: var(--r-pill); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.disc .input, .disc .select { border: 0; background: var(--paper); border-radius: var(--r-pill); }
.filters { position: sticky; top: calc(var(--header-h) + .8rem); z-index: 5; }

/* Documents / checklist visual */
.doclist { display: grid; gap: .5rem; }
.docrow { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .8rem; align-items: center; width: 100%; padding: .85rem 1rem; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; font: inherit; color: inherit; transition: all .25s var(--ease); }
.docrow:hover { border-color: var(--ink); }
.docrow .tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .35s var(--ease-back); }
.docrow .tick .ico { width: 14px; height: 14px; stroke-width: 3; }
.docrow.is-done .tick { background: var(--ok); border-color: var(--ok); color: #fff; transform: scale(1.08); }
.docrow.is-done b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }

/* Image collage with parallax */
.collage { position: relative; min-height: 560px; }
.collage figure { position: absolute; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { left: 0; top: 0; width: 64%; height: 72%; } .collage .c2 { right: 0; bottom: 0; width: 52%; height: 56%; border: 8px solid var(--paper); }
.collage .c3 { left: 8%; bottom: 4%; padding: 1.1rem 1.3rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); z-index: 2; max-width: 260px; }

/* Intakes */
.intake { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.intake:hover { padding-inline: 1rem; } .intake .m { font: 300 2.8rem/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; } .intake .m small { display: block; font: 700 .66rem/1 var(--f-body); letter-spacing: .12em; color: var(--muted); margin-top: .45rem; text-transform: uppercase; }

/* Plan preview */
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); box-shadow: var(--sh-3); }
.plan__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line-2); } .plan__row:last-of-type { border: 0; }
.plan__row .when { font: 700 .7rem/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }

/* Trust table */
.decides td:last-child { font-weight: 700; color: var(--ink); }

/* Final CTA (full-bleed image) */
.cta-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; min-height: 80vh; display: flex; align-items: center; }
.cta-band__img { position: absolute; inset: -15% 0; z-index: -2; } .cta-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 30% 50%, rgba(5,30,52,.82), rgba(5,20,35,.55)); }
.cta-band h2 { color: #fff; font-size: clamp(2.6rem, 1.4rem + 5vw, 6.2rem); font-weight: 300; line-height: .98; max-width: 14ch; } .cta-band h2 em { color: var(--cyan); font-weight: 600; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; font-size: 1.12rem; }

/* Legal / long-form */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .1rem; font-size: var(--t-sm); }
.toc b { font: 800 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; display: block; }
.toc a { padding: .5rem .9rem; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: all .2s; } .toc a:hover, .toc a.is-on { color: var(--ink); border-color: var(--brand); background: var(--surface); }
.prose { max-width: 72ch; font-size: 1.04rem; } .prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 2.8rem 0 .8rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); } .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; } .prose li { margin-top: .4rem; } .prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: var(--t-sm); } .prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; } .prose th { background: var(--paper-2); color: var(--ink); }
.legal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--t-sm); color: rgba(255,255,255,.8); margin-top: 1.5rem; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: calc(-1 * clamp(3rem, 2rem + 3vw, 5rem)); position: relative; z-index: 3; }
.ccard { display: block; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); text-decoration: none; color: var(--ink-2); transition: transform .45s var(--ease), box-shadow .45s; }
a.ccard:hover { transform: translateY(-6px); box-shadow: var(--sh-3); color: var(--ink-2); }
.ccard b { display: block; color: var(--ink); margin: .9rem 0 .25rem; } .ccard span { font-size: var(--t-sm); overflow-wrap: anywhere; }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.85); }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.path { padding: 1.6rem; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: all .35s var(--ease); display: block; }
.path:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); color: inherit; } .path h3 { font: 300 1.6rem/1.1 var(--f-display); margin: .8rem 0 .4rem; }

/* ---------- Footer (dark) ---------- */
.site-footer { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; padding-top: clamp(2.6rem, 2rem + 2.4vw, 4.2rem); }
.site-footer a { color: var(--night-text); text-decoration: none; transition: color .2s; } .site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, .8fr)) 1.3fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem); }
.footer-top h4 { color: #fff; font: 800 .7rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: var(--t-sm); } .footer-top li { margin: 0; }
.footer-logo { font: 300 1.9rem/1 var(--f-display); letter-spacing: -.04em; color: #fff !important; } .footer-logo span { font-weight: 600; color: var(--cyan); }
.fcontacts { margin-top: 1rem; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; pointer-events: none; } .fgroup summary::-webkit-details-marker { display: none; } .fgroup summary .pm { display: none; }
.fcontact { display: flex; gap: .65rem; align-items: flex-start; padding: .28rem 0; font-size: var(--t-sm); } .fcontact .ico { margin-top: .2em; color: var(--cyan); flex: none; }
.fnews { display: flex; gap: .4rem; padding: .3rem; border-radius: var(--r-pill); background: var(--night-2); border: 1px solid var(--night-line); }
.fnews .input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; min-height: 40px; padding-inline: .8rem; } .fnews .input:focus { box-shadow: none; outline: none; }
.fnews:focus-within { border-color: var(--cyan); }
.socials { display: flex; gap: .45rem; margin-top: 1rem; } .socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-line); transition: all .3s var(--ease); } .socials a:hover { background: #fff; color: var(--night); transform: translateY(-3px); }
.footer-legal { position: relative; z-index: 1; border-top: 1px solid var(--night-line); padding: 1.1rem 0 calc(1.1rem + var(--dock-h)); font-size: var(--t-xs); color: #8197ad; background: var(--night); }
.footer-legal .container { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.disclaimer { margin: 2rem 0 1.6rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--night-2); font-size: var(--t-xs); color: #9fb2c5; line-height: 1.55; }


/* Cookie bar */
.cookiebar { position: fixed; left: 1rem; bottom: calc(1rem + var(--dock-h)); z-index: 1100; width: min(420px, calc(100vw - 2rem)); padding: 1.2rem 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); font-size: var(--t-sm); animation: rise .5s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav, .header-cta .btn--ghost { display: none; } .menu-btn { display: inline-block; } .header-cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .split, .split--wide, .finder, .doc { grid-template-columns: minmax(0, 1fr); }
  .finder__r { border-left: 0; border-top: 1px solid var(--line); }
  .g-4, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand, .footer-news { grid-column: span 3; } .footer-news { max-width: 520px; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers > div:nth-child(2) { border-right: 0; }
  .scard { grid-template-columns: minmax(0, 1fr); min-height: 0; } .scard__media { min-height: 220px; order: -1; }
  .toc { position: static; display: flex; overflow-x: auto; gap: .3rem; scrollbar-width: none; } .toc b { display: none; } .toc a { border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap; }
  .hs__body { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .collage { min-height: 460px; }
}
/* Touch / narrow: horizontal gallery becomes native swipe; app dock appears */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .hs { height: auto; }
  .hs__sticky { position: relative; height: auto; overflow: visible; }
  .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; -webkit-overflow-scrolling: touch; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__panel { flex-basis: 100vw; height: min(86svh, 760px); scroll-snap-align: start; }
  .hs__intro { flex-basis: 86vw; }
  .hs__panel img.hs__img { left: 0; width: 100%; }
  .hs__hint { bottom: 1.2rem; }
}
@media (max-width: 900px) {
  :root { --dock-h: 72px; --header-h: 66px; }
  .dock { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 980; height: 62px; border-radius: 22px; background: rgba(11,22,38,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sh-3); padding: 0 .3rem; }
  .dock a { display: grid; place-items: center; align-content: center; gap: .2rem; color: #9fb2c5; text-decoration: none; font: 700 .64rem/1 var(--f-body); letter-spacing: .02em; border-radius: 16px; }
  .dock a .ico { width: 21px; height: 21px; } .dock a[aria-current="page"] { color: #fff; } .dock a[aria-current="page"] .ico { color: var(--cyan); }
  .dock a.dock__main { position: relative; color: #fff; } .dock a.dock__main::before { content: ""; position: absolute; inset: 7px 9px; border-radius: 14px; background: var(--brand); z-index: -1; }
  .hero { min-height: 640px; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr); } .hero__ctrl { display: none; }
  .hero__index { gap: .6rem; } .hero__index button { font-size: 0; padding-top: .6rem; } .hero__index button b { font-size: .68rem; margin: 0; }
  .hero__scroll, .hero__caption { display: none; }
  .jstep { grid-template-columns: 64px minmax(0, 1fr); } .journey__path { left: 31px; }
  .jstep:nth-child(odd) .jstep__card, .jstep:nth-child(even) .jstep__card { grid-column: 2; } .jstep .jstep__dot { grid-column: 1 !important; width: 48px; height: 48px; }
  .disc { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); }
  .collage .c1 { width: 78%; } .collage .c2 { width: 62%; }
}
@media (max-width: 680px) {
  .g-2, .g-3, .g-4, .paths, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-top: 2.2rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 0; } .footer-brand, .footer-news { grid-column: auto; }
  .footer-brand { padding-bottom: 1.2rem; } .fcontacts { margin-top: .6rem; }
  .fgroup { border-top: 1px solid var(--night-line); } .fgroup:last-of-type { border-bottom: 1px solid var(--night-line); }
  .fgroup summary { pointer-events: auto; cursor: pointer; min-height: 52px; } .fgroup summary h4 { margin: 0; } .fgroup summary .pm { display: block; position: relative; width: 12px; height: 12px; }
  .fgroup summary .pm::before, .fgroup summary .pm::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: var(--cyan); transition: transform .3s var(--ease); } .fgroup summary .pm::after { transform: rotate(90deg); } .fgroup[open] summary .pm::after { transform: rotate(0); }
  .fgroup ul { grid-template-columns: 1fr 1fr; gap: .2rem 1rem; padding-bottom: 1rem; } .fgroup li a { display: block; padding: .45rem 0; }
  .footer-news { padding-top: 1.4rem; } .disclaimer { margin: 1.4rem 0 1.2rem; }
  .footer-legal .container { justify-content: flex-start; }
  .numbers > div { border-right: 0; padding-right: 0; }
  .plan__row { grid-template-columns: minmax(0, 1fr) auto; } .plan__row .when { grid-column: 1 / -1; }
  .intake { grid-template-columns: 76px minmax(0, 1fr); } .intake > :last-child { grid-column: 1 / -1; }
  .intake .m { font-size: 2.1rem; }
  .dcard { min-height: 420px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .sec-head--row { display: block; }
  .cta-band { min-height: 70vh; }
  .collage { min-height: 380px; } .collage .c3 { max-width: 200px; }
  .acc .acc__body { padding-right: 0; }
}
@media (hover: none) { .card--hover:hover, a.ccard:hover, .path:hover { transform: none; } .dcard:hover img { transform: none; } }
@media print { .site-header, .site-footer, .dock, .assist, .cookiebar, .progress-line { display: none !important; } .phero, .hero { min-height: 0; height: auto; color: var(--ink); background: none; } }

/* Dock + app-mode refinements */
.dock a { position: relative; isolation: isolate; }
[data-push][data-state="on"] { color: var(--ok); }
@supports (padding: env(safe-area-inset-bottom)) { @media (max-width: 900px) { .dock { bottom: calc(.6rem + env(safe-area-inset-bottom)); } } }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; } .footer-actions .socials { margin-top: 0; }
.footer-app { display: flex; flex-wrap: wrap; gap: .5rem; } .footer-app:not(:has(.btn:not([hidden]))) { display: none; }
.footer-app .btn { --bg: var(--night-2); --bd: var(--night-line); }

.ucard .meta span { display: inline-flex; align-items: center; gap: .35em; }
.ucard .meta .ico { width: 1em; height: 1em; }

@media (max-width: 520px) { .header-cta .btn--primary { display: none; } .brand img { height: 28px; } }

/* App feel on phones: card lists become swipeable rails (next card peeks in) instead of long stacks */
@media (max-width: 680px) {
  .rail-m { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: .2rem var(--gutter) .6rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .rail-m::-webkit-scrollbar { display: none; }
  .rail-m > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .rail-m > .empty { flex-basis: 100%; }
}
/* Installed app (Android home screen): respect the status bar and notch */
@media (display-mode: standalone) {
  .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
  .phero__inner, .hero__inner { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 3rem); }
  body { overscroll-behavior-y: none; }
}
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.office { display: flex; gap: 1rem; align-items: flex-start; } .office .sec-num { display: block; }

/* ---------- Floating assistant + WhatsApp ---------- */
.assist { --assist-bottom: calc(1.25rem + var(--dock-h) + env(safe-area-inset-bottom)); }
.assist__launchers { position: fixed; right: 1.25rem; bottom: var(--assist-bottom); z-index: 960; display: flex; align-items: center; gap: .6rem; }
.assist__fab { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1.2rem .45rem .45rem; border: 0; border-radius: var(--r-pill); background: var(--night); color: #fff; font: 700 .9rem/1 var(--f-body); box-shadow: 0 18px 40px -14px rgba(6,18,32,.55); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.assist__fab:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(6,18,32,.6); } .assist__fab .chat__orb { width: 40px; height: 40px; }
.assist__fab[aria-expanded="true"] .assist__label { display: none; } .assist__fab[aria-expanded="true"] { padding-right: .45rem; }
.assist__wa { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 16px 34px -12px rgba(16,120,60,.6); transition: transform .35s var(--ease); }
.assist__wa:hover { transform: translateY(-3px) scale(1.04); color: #fff; } .assist__wa .ico { width: 26px; height: 26px; }
.assist__panel { position: fixed; right: 1.25rem; bottom: calc(var(--assist-bottom) + 66px); z-index: 1150; width: min(430px, calc(100vw - 2.5rem)); height: min(700px, calc(100svh - var(--assist-bottom) - 96px)); opacity: 0; transform: translateY(18px) scale(.98); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.assist.is-open .assist__panel { opacity: 1; transform: none; }
.chat--widget { height: 100%; border-radius: var(--r-xl); box-shadow: 0 40px 90px -30px rgba(6,18,32,.55); }
.chat--widget .chat__body { max-height: none; min-height: 0; }
.chat--widget .chat__head { padding: .8rem 1rem; gap: .5rem; flex-wrap: nowrap; } .chat--widget .chat__head > div { flex: 1; } .chat--widget .chat__head .spacer { display: none; } .chat--widget .chat__foot { padding: .8rem 1rem 1rem; }
.btn-circle--sm { width: 36px; height: 36px; } .btn-circle--sm .ico { width: 16px; height: 16px; }
.chat__status { display: flex; align-items: center; gap: .4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,138,76,.5); animation: live 2s infinite; flex: none; } .dot-live.is-off { background: var(--muted); animation: none; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(31,138,76,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,76,0); } }
.chat__handoff { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .7rem; font: 600 .74rem/1.4 var(--f-body); }
.chat__handoff a { display: inline-flex; align-items: center; gap: .3rem; color: var(--brand-2); text-decoration: none; } .chat__handoff a:hover { text-decoration: underline; } .chat__handoff .ico { width: 14px; height: 14px; }
.msg__steps { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.msg__steps span { display: inline-flex; align-items: center; gap: .3rem; font: 600 .68rem/1.2 var(--f-body); padding: .35em .65em; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: var(--muted); }
.msg__steps .ico { width: 12px; height: 12px; color: var(--ok); }
.msg__text ul, .msg__text ol { padding-left: 1.1rem; margin: .4rem 0; } .msg__text li { margin: .2rem 0; }
.msg__cites { display: grid; gap: .3rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .78rem; }
.msg__cites b { font: 800 .64rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.msg__cites a { display: flex; gap: .45rem; align-items: baseline; color: var(--brand-2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .msg__cites a:hover { text-decoration: underline; }
.msg__cites i { font-style: normal; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--info-2); color: var(--brand); font: 700 .65rem/1 var(--f-body); }
.msg--wait { display: flex; align-items: center; gap: .7rem; } .msg__status { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  body[data-header] .assist__fab { display: none; } /* the dock's AI button opens the panel */
  .assist__label { display: none; } .assist__fab { padding: .4rem; }
  .assist__wa { width: 48px; height: 48px; }
  .assist__panel { inset: 0; width: auto; height: auto; transform: translateY(30px); }
  .chat--widget { border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .assist-open, .assist-open body { overflow: hidden; }
  .assist-open .assist__launchers { display: none; }
}
.ccard__lines { display: grid; gap: .15rem; }
@media (max-width: 900px) { .chat--widget .chat__ctx { display: none; } .chat--widget .chat__head { padding-top: calc(.8rem + env(safe-area-inset-top)); } .chat--widget { padding-top: 0; } }
.assist__launchers { transition: transform .35s var(--ease), opacity .25s; }
.assist.is-tucked .assist__launchers { transform: translateY(calc(100% + var(--assist-bottom))); opacity: 0; pointer-events: none; }
