/* POEA clone mockups - home page (agent H).
   Source: vault 12 BPOAI Clone Spec/home-layout.md (HL) + home-motion.md (HM). Tokens from base.css. */

/* ---------- Shared home blocks ---------- */
.home-sections > * { position: relative; }
/* No content-visibility:auto (HM §19 suggests it): it leaves off-screen sections unpainted in full-page
   screenshots used for QA. Revisit in the theme build. */

.sec { position: relative; z-index: 1; padding-block: 64px; }
@media (min-width: 640px) { .sec { padding-block: 96px; } }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
.stack > [data-slide]:not(.is-active) { visibility: hidden; }

.sec-title, .sh__title { margin-top: 8px; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
@media (min-width: 768px) { .sec-title, .sh__title { font-size: 30px; line-height: 36px; } }
@media (min-width: 1024px) { .sec-title, .sh__title { font-size: 36px; line-height: 40px; } }
.section-label { display: inline-flex; align-items: center; gap: 6px; }

/* Section header block (HL §0, fade-content = block, View all below the lead) */
.sh { margin-bottom: 40px; }
@media (min-width: 640px) { .sh { margin-bottom: 56px; } }
.sh__lead { margin-top: 12px; max-width: 512px; font-size: 16px; line-height: 24px; color: var(--text-secondary); }
.sh__more { display: none; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--primary-light); transition: all .15s; }
.sh__more .icon { width: 16px; height: 16px; }
@media (min-width: 768px) { .sh__more { display: inline-flex; } }
@media (hover: hover) { .sh__more:hover { gap: 12px; } }
.sh--accent .sh__label, .sh--accent .sh__more { color: var(--accent-light); }

/* Check list (HL §0) */
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.checks strong { font-weight: 600; color: var(--text-primary); }
.check-solid { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.check-solid circle { fill: var(--success); }
.check-solid path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn-primary, .btn-row .btn-secondary { font-size: 14px; line-height: 20px; }

/* Live dot with ping */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success); opacity: .75; animation: ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* Carousel controls (HM §3.4). Each dot is a 24x24 button that draws the 8px / 24px pill at its top edge,
   so the pill sits exactly at the spec's margin-top and hit areas never overlap (QA R3-1/R4-2). The row is
   24px tall with -16px below, so layout matches bpoai's 8px dot row. The pause button is the WCAG 2.2.2
   control, styled like .carousel-arrow and centred on the pill line. */
.cctl { display: flex; align-items: flex-start; gap: 12px; height: 24px; margin-bottom: -16px; }
.cctl .cpause { margin-top: -12px; }
.cdots { display: flex; }
.cdot { position: relative; width: 24px; height: 24px; border-radius: 9999px; }
.cdot::before { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; translate: -50% 0; border-radius: 9999px; background: var(--border-medium); transition: all .3s var(--ease); }
.cdot.is-active::before { width: 24px; background: var(--primary); }
.cpause {
	display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9999px;
	color: var(--text-secondary); background: var(--card-bg); border: 1px solid var(--border-medium);
	transition: color .2s, background-color .2s, border-color .2s;
}
.cpause .icon { width: 14px; height: 14px; }
.cpause .icon--play, .cpause.is-paused .icon--pause { display: none; }
.cpause.is-paused .icon--play { display: block; }
@media (hover: hover) { .cpause:hover { color: var(--primary-light); border-color: var(--primary); background: var(--primary-50); } }

/* Glow blob, halo */
.glow-blob { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); background: var(--primary-glow); pointer-events: none; }
.halo { position: absolute; left: 50%; top: 50%; width: 288px; height: 288px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); pointer-events: none; }

/* ---------- S0 Hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 70vh; padding-top: 80px; }
@media (min-width: 640px) { .hero { min-height: 90vh; padding-top: 96px; } }
.hero__in { position: relative; z-index: 10; isolation: isolate; padding-bottom: 96px; }
@media (min-width: 640px) { .hero__in { padding-bottom: 128px; } }

/* The fade-in ends at --ao, so the held end value is .85 dark / .18 light (QA R1-1: fadeIn held opacity 1). */
.aurora { --ao: .85; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: var(--ao); animation: aurora-in .6s ease-out .1s both; }
:root:not([data-theme="dark"]) .aurora { --ao: .18; }
@keyframes aurora-in { from { opacity: 0; } to { opacity: var(--ao); } }
.aurora__blob { position: absolute; border-radius: 50%; }
.aurora__blob--1 { width: 70%; height: 70%; top: -30%; left: 0; filter: blur(60px); background: radial-gradient(circle at 40% 40%, #4f6fff, #4f6fff 40%, transparent 70%); opacity: .55; animation-duration: 13s; animation-delay: 0s; }
.aurora__blob--2 { width: 60%; height: 60%; top: 0; right: -15%; filter: blur(55px); background: radial-gradient(circle at 60% 40%, #00b0ff, #67c3ff 40%, transparent 70%); opacity: .45; animation-duration: 17s; animation-delay: -4s; }
.aurora__blob--3 { width: 50%; height: 50%; bottom: 5%; left: 25%; filter: blur(65px); background: radial-gradient(circle at 50% 60%, #7091ff, #92adfe 40%, transparent 70%); opacity: .38; animation-duration: 15s; animation-delay: -9s; }
.aurora__blob--4 { width: 40%; height: 40%; top: 20%; left: 15%; filter: blur(50px); background: radial-gradient(circle, #7091ff, transparent 70%); opacity: .25; animation-duration: 20s; animation-delay: -6s; }
:root:not([data-theme="dark"]) .aurora__blob--1 { opacity: .30; }
:root:not([data-theme="dark"]) .aurora__blob--2 { opacity: .20; }
:root:not([data-theme="dark"]) .aurora__blob--3 { opacity: .12; }
:root:not([data-theme="dark"]) .aurora__blob--4 { opacity: .10; }
.aurora.is-live .aurora__blob { animation-name: aurora-drift; animation-timing-function: ease-in-out; animation-iteration-count: infinite; will-change: transform; }
@media (hover: none) and (pointer: coarse) { .aurora__blob { filter: none !important; } }
@keyframes aurora-drift {
	0% { transform: translate(0) scale(1); } 20% { transform: translate(3%, 6%) scale(1.07); } 40% { transform: translate(-4%, 3%) scale(.94); }
	60% { transform: translate(5%, -4%) scale(1.05); } 80% { transform: translate(-2%, -6%) scale(.97); } 100% { transform: translate(0) scale(1); }
}
.hero__grid-bg {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: radial-gradient(circle, rgba(var(--dot-rgb), var(--dot-alpha-hero)) 1px, transparent 1px);
	background-size: 36px 36px;
	-webkit-mask-image: radial-gradient(75% 75% at 30% 50%, #000 0%, transparent 100%);
	mask-image: radial-gradient(75% 75% at 30% 50%, #000 0%, transparent 100%);
}
@media (hover: none) and (pointer: coarse) { .hero__grid-bg { display: none; } }
.hero__fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 100% 100% at 0% 50%, transparent 40%, var(--background) 90%); }

.hero__grid { display: grid; align-items: center; gap: 48px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); } }
.hero__copy { max-width: 768px; min-width: 0; }
.hero__pill {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 12px; border-radius: 9999px;
	font-size: 12px; line-height: 16px; font-weight: 600; color: var(--primary-light);
	background: rgba(79, 111, 255, .10); border: 1px solid rgba(79, 111, 255, .5);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (min-width: 640px) { .hero__pill { margin-bottom: 32px; padding: 8px 16px; font-size: 14px; line-height: 20px; } }
.shiny {
	background: linear-gradient(110deg, currentColor 0 35%, rgba(79, 111, 255, .25) 50%, currentColor 65% 100%) 0 0 / 250% auto;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: shiny-slide 5s linear infinite;
}
[data-theme="dark"] .shiny { background-image: linear-gradient(110deg, currentColor 0 35%, rgba(255, 255, 255, .88) 50%, currentColor 65% 100%); }
@keyframes shiny-slide { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
.hero__news {
	display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 6px; margin: -12px 0 24px; padding: 6px 12px; border-radius: 9999px;
	font-size: 12px; line-height: 16px; font-weight: 600; color: var(--primary-light); border: 1px solid var(--primary-glow);
	transition: background-color .15s var(--ease), color .15s var(--ease);
}
.hero__news .icon { width: 14px; height: 14px; }
@media (min-width: 640px) { .hero__news { margin: -20px 0 32px; padding: 8px 16px; } }
@media (hover: hover) { .hero__news:hover { background: var(--primary-50); } }
.hero__title { margin-bottom: 20px; font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.hero__title span { color: var(--primary-light); }
@media (min-width: 640px) { .hero__title { font-size: 36px; margin-bottom: 28px; } }
@media (min-width: 768px) { .hero__title { font-size: 48px; } }
@media (min-width: 1280px) { .hero__title { font-size: 60px; } }
.hero__lead { max-width: 672px; margin-bottom: 32px; font-size: 16px; line-height: 26px; font-weight: 300; color: var(--text-secondary); }
@media (min-width: 640px) { .hero__lead { font-size: 18px; line-height: 29.25px; } }
@media (min-width: 768px) { .hero__lead { font-size: 20px; line-height: 32.5px; margin-bottom: 40px; } }
.hero__checks { margin-bottom: 32px; }
.hero__checks li { font-weight: 500; }
@media (min-width: 768px) { .hero__checks { margin-bottom: 40px; } }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
@media (min-width: 640px) { .hero__ctas { gap: 24px; } }
.hero__ctas .icon { width: 16px; height: 16px; }
.hero__textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-secondary); transition: color .15s var(--ease); }
@media (hover: hover) { .hero__textlink:hover { color: var(--primary-light); } }
/* The active slide drives the hero height (QA R1-2, bpoai: 884-918 by slide); inactive slides are
   taken out of flow. Without JS only slide 1 is active, so first paint is unchanged. */
.hero .stack { display: block; position: relative; }
.hero__slide:not(.is-active) { position: absolute; inset: 0 0 auto; }
.hero__dots { margin-top: 40px; justify-content: center; }
@media (min-width: 1024px) { .hero__dots { justify-content: flex-start; } }

/* Entrance timeline (HM §3.4): replayed by toggling .is-in on the slide */
.hero__slide.is-in .hero-a, .hero-load { animation: fadeInUp var(--t, .6s) ease-out var(--d, 0s) both; }

/* Node diagram (>=1024) */
.hd { position: relative; display: none; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 13 / 12; user-select: none; }
@media (min-width: 1024px) { .hd { display: block; } }
.hd__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd__spoke { fill: none; stroke: var(--border-medium); stroke-width: 1.25; stroke-dasharray: 3 6; stroke-linecap: round; }
.hd__dot--cyan { fill: var(--stat-cyan); } .hd__dot--violet { fill: var(--stat-violet); } .hd__dot--emerald { fill: var(--stat-emerald); } .hd__dot--amber { fill: var(--stat-amber); }
.hd__node { position: absolute; translate: -50% -50%; z-index: 2; }
.hd__chip {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 24px; white-space: nowrap;
	font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-primary);
	background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* Fixed chips stay 190px (bpoai); a long label wraps to 2 lines instead of widening the chip (QA R1-1). */
.hd__chip--fixed { width: 190px; justify-content: center; white-space: normal; }
.hd__chip--fixed > span:last-child { min-width: 0; }
.hd__tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 16px; flex-shrink: 0; }
.hd__tile .icon { width: 16px; height: 16px; }
.hd__tile--code { font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.hd__tile--cyan { color: var(--stat-cyan); background: color-mix(in srgb, var(--stat-cyan) 14%, transparent); }
.hd__tile--violet { color: var(--stat-violet); background: color-mix(in srgb, var(--stat-violet) 14%, transparent); }
.hd__tile--emerald { color: var(--stat-emerald); background: color-mix(in srgb, var(--stat-emerald) 14%, transparent); }
.hd__tile--amber { color: var(--stat-amber); background: color-mix(in srgb, var(--stat-amber) 14%, transparent); }
.hd__halo { position: absolute; left: 50%; top: 52%; width: 288px; height: 288px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); }
.hd__hub { position: absolute; left: 50%; top: 52.08%; translate: -50% -50%; z-index: 3; display: grid; place-items: center; }
.hd__ring { position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px solid var(--primary); animation: heroPulseRing 4s ease-out infinite; }
.hd__ring--2 { animation-delay: 2s; }
@keyframes heroPulseRing { 0% { opacity: .55; transform: scale(.65); } 100% { opacity: 0; transform: scale(1.7); } }
.hd__card {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 24px; border-radius: 16px;
	background: var(--glass-bg); border: 1px solid var(--card-border-hover); box-shadow: 0 0 32px var(--primary-glow), var(--card-shadow);
	-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hub__logo { height: 28px; width: auto; }
.hd__cap { font-size: 10px; line-height: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-light); }

/* ---------- S1 Ticker ---------- */
.ticker { display: flex; align-items: center; min-height: 44px; overflow: hidden; background: var(--primary-50); border-block: 1px solid var(--border-subtle); }
.ticker__vp { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; will-change: transform; animation: ticker-roll var(--ticker-duration, 40s) linear infinite; }
.ticker__set { display: flex; align-items: center; }
.ticker:has(.ticker__item:focus) .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
/* An explicit Play (mouse or keyboard) wins over hover and over focus on the toggle itself. */
.ticker.is-playing:not(:has(.ticker__item:focus)) .ticker__track { animation-play-state: running; }
.ticker:focus-within .ticker__vp { -webkit-mask-image: none; mask-image: none; } /* focused link fully visible (QA R4-23) */
/* Focused items sit flush with an overflow:hidden strip edge, so draw the ring inside (WCAG 2.4.7/2.4.11). */
.ticker__item:focus-visible, .mq .dcard:focus-visible { outline-offset: -2px; }
.ticker__item.is-wrapped { display: inline-block; flex-shrink: 0; box-sizing: border-box; white-space: normal; line-height: 1.4; padding-block: 8px; }
.ticker__item.is-wrapped .ticker__new { display: inline-block; margin-right: 8px; vertical-align: 1px; }@keyframes ticker-roll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; white-space: nowrap; font-size: 12.5px; line-height: 1; color: var(--text-primary); }
@media (min-width: 641px) { .ticker__item { padding: 12px 22px; font-size: 14px; } }
@media (hover: hover) { .ticker__item:hover { color: var(--primary-light); } }
.ticker__item b { font-weight: 700; color: var(--primary-light); }
.ticker__new { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; line-height: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--primary); }
[data-theme="dark"] .ticker__new { color: var(--background); }
.ticker__sep { font-size: 10px; color: var(--primary); opacity: .7; }
.ticker__toggle { width: 26px; height: 26px; margin: 0 8px 0 4px; background: transparent; }
@media (min-width: 641px) { .ticker__toggle { margin-right: 10px; } }
.ticker__toggle .icon { width: 12px; height: 12px; }

/* ---------- S2 Top banner ---------- */
.tb { position: relative; overflow: hidden; background: var(--background-secondary); border-bottom: 1px solid var(--nav-border-color); }
.tb__art { position: absolute; inset: 0; opacity: 0; transition: opacity 1s cubic-bezier(0, 0, .2, 1); }
.tb__art.is-active { opacity: 1; }
/* Abstract brand art instead of the photos the owner has not supplied (HM §5 gap). */
.tb__art--1 { background: radial-gradient(60% 120% at 88% 40%, rgba(79, 111, 255, .45), transparent 60%), radial-gradient(40% 80% at 70% 110%, rgba(0, 176, 255, .35), transparent 60%), linear-gradient(115deg, transparent 45%, rgba(48, 58, 247, .10)); }
.tb__art--2 { background: radial-gradient(50% 110% at 75% 0%, rgba(0, 176, 255, .42), transparent 60%), radial-gradient(45% 90% at 98% 85%, rgba(112, 145, 255, .40), transparent 60%), repeating-linear-gradient(120deg, transparent 0 22px, rgba(79, 111, 255, .05) 22px 23px); }
.tb__art--3 { background: radial-gradient(55% 120% at 95% 60%, rgba(48, 58, 247, .40), transparent 60%), radial-gradient(35% 70% at 62% 20%, rgba(0, 176, 255, .30), transparent 60%), radial-gradient(circle, rgba(79, 111, 255, .22) 1px, transparent 1px) 0 0 / 22px 22px; }
.tb__wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 245, 251, .96) 0%, rgba(244, 245, 251, .86) 60%, rgba(244, 245, 251, .70) 100%); }
[data-theme="dark"] .tb__wash { background: linear-gradient(180deg, rgba(10, 7, 26, .94) 0%, rgba(10, 7, 26, .84) 60%, rgba(10, 7, 26, .66) 100%); }
@media (min-width: 1024px) {
	.tb__wash { background: linear-gradient(90deg, rgba(244, 245, 251, .96) 0%, rgba(244, 245, 251, .86) 45%, rgba(244, 245, 251, .35) 100%), linear-gradient(180deg, rgba(244, 245, 251, .9) 0%, rgba(244, 245, 251, 0) 35%); }
	[data-theme="dark"] .tb__wash { background: linear-gradient(90deg, rgba(10, 7, 26, .94) 0%, rgba(10, 7, 26, .80) 45%, rgba(10, 7, 26, .30) 100%), linear-gradient(180deg, rgba(10, 7, 26, .85) 0%, rgba(10, 7, 26, 0) 35%); }
}
.tb__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 40px; }
@media (min-width: 640px) { .tb__in { padding-block: 48px; } }
@media (min-width: 1024px) { .tb__in { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 64px; } }
.tb__text { max-width: 768px; min-width: 0; }
.tb__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 4px 12px; border-radius: 9999px;
	font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primary-light);
	background: var(--primary-50); border: 1px solid var(--primary-glow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .tb__eyebrow { font-size: 14px; line-height: 20px; } }
.tb__headline { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.tb__headline span { color: var(--primary-light); }
@media (min-width: 640px) { .tb__headline { font-size: 36px; line-height: 45px; } }
@media (min-width: 1024px) { .tb__headline { font-size: 48px; line-height: 60px; } }
.tb__sub { max-width: 672px; margin-top: 12px; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
@media (min-width: 640px) { .tb__sub { font-size: 18px; line-height: 29.25px; } }
.tb__dots { margin-top: 24px; }
.tb__ctas { flex-shrink: 0; }
.tb__cta { min-height: 52px; }
.tb__slide.is-in .tb-a { animation: fadeInUp .6s ease-out var(--d, 0ms) both; }

/* ---------- S3 Mission ---------- */
.mission { overflow: hidden; }
.mission__orb1 { width: 400px; height: 400px; top: -128px; left: 10%; opacity: .4; }
.mission__orb2 { width: 360px; height: 360px; bottom: -160px; right: 5%; opacity: .4; }
.mission__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .mission__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.mission .section-label { margin-bottom: 16px; }
.mission__title { margin-bottom: 24px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.mission__title span { color: var(--primary-light); }
@media (min-width: 640px) { .mission__title { font-size: 30px; } }
@media (min-width: 768px) { .mission__title { font-size: 36px; } }
.mission__lead { margin-bottom: 20px; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
@media (min-width: 640px) { .mission__lead { font-size: 18px; line-height: 29.25px; } }
.mission__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.topic-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9999px;
	font-size: 12px; line-height: 16px; font-weight: 600; color: var(--primary-light);
	background: var(--primary-50); border: 1px solid var(--primary-100); transition: all .2s var(--ease);
}
.topic-pill__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
@media (hover: hover) { .topic-pill:hover { transform: translateY(-2px); } }
.timeline { position: relative; padding-left: 24px; }
@media (min-width: 640px) { .timeline { padding-left: 32px; } }
.timeline__line { position: absolute; left: calc(24px + 22px); top: 32px; bottom: 32px; width: 1px; opacity: .35; background: linear-gradient(180deg, transparent, var(--primary) 20%, var(--accent) 80%, transparent); }
@media (min-width: 640px) { .timeline__line { left: calc(32px + 22px); } }
.timeline__list { display: flex; flex-direction: column; gap: 16px; }
.pillar {
	position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 16px;
	background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	transition: all .3s var(--ease);
}
.pillar__bar { position: absolute; inset: 0 0 auto; height: 2px; border-radius: 16px 16px 0 0; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.pillar__icon {
	display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 24px; color: #fff;
	background: var(--gradient-primary); box-shadow: 0 0 0 5px var(--background), 0 8px 20px -8px var(--primary-glow); transition: transform .3s var(--ease);
}
[data-theme="dark"] .pillar__icon { color: var(--background); }
.pillar__icon .icon { width: 20px; height: 20px; }
.pillar__title { margin-bottom: 4px; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -.025em; color: var(--text-primary); }
.pillar__text { font-size: 14px; line-height: 22.75px; color: var(--text-secondary); }
.pillar__num { position: absolute; right: 16px; top: 12px; font-size: 36px; line-height: 36px; font-weight: 900; color: var(--primary); opacity: .06; transition: opacity .3s var(--ease); }
@media (hover: hover) {
	.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 36px -12px var(--primary-glow); }
	.pillar:hover .pillar__bar { transform: scaleX(1); }
	.pillar:hover .pillar__icon { transform: scale(1.1); }
	.pillar:hover .pillar__num { opacity: .12; }
}

/* ---------- S4 Stats ---------- */
.stats__in { padding-block: 64px; }
@media (min-width: 640px) { .stats__in { padding-block: 80px; } }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .stats__grid { gap: 24px; } }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { text-align: center; padding: 12px 8px; border-radius: 16px; transition: transform .3s; }
@media (hover: hover) { .stat:hover { transform: translateY(-2px); } }
.stat__num {
	font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums;
	background-image: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 640px) { .stat__num { font-size: 36px; line-height: 40px; } }
@media (min-width: 768px) { .stat__num { font-size: 48px; line-height: 48px; } }
.stat__cap { margin-top: 8px; font-size: 10px; line-height: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
@media (min-width: 640px) { .stat__cap { font-size: 12px; line-height: 16px; letter-spacing: .1em; } }

/* ---------- S5 Talent ---------- */
.talent { overflow: hidden; }
.talent__blob { right: -128px; top: 40px; opacity: .55; }
.talent__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .talent__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
.talent__lead { max-width: 576px; margin-top: 16px; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
.talent__checks { margin-top: 28px; gap: 12px; }
.talent__checks li { gap: 10px; }
.talent__ctas { margin-top: 32px; gap: 16px; }
.talent__visual { position: relative; display: none; width: 100%; max-width: 420px; margin-inline: auto; }
@media (min-width: 640px) { .talent__visual { display: block; } }
.profile-card {
	position: relative; padding: 24px; border-radius: 24px; background: var(--glass-bg); border: 1px solid var(--card-border-hover);
	box-shadow: 0 0 32px var(--primary-glow), var(--card-shadow); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.profile-card__head { display: flex; align-items: center; gap: 16px; }
.profile-card__icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: var(--primary-50); color: var(--primary-light); }
.profile-card__icon .icon { width: 28px; height: 28px; }
.profile-card__title { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.profile-card__sub { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.profile-card__pill {
	display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 10px; border-radius: 9999px;
	font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	color: var(--badge-emerald-text); background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .3);
}
.profile-card__pill .icon { width: 12px; height: 12px; }
.profile-card__meters { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.meter__row { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 11px; line-height: 16.5px; color: var(--text-secondary); }
.meter__row b { font-weight: 600; color: var(--primary-light); }
.meter__track { height: 6px; border-radius: 9999px; background: var(--input-bg); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 12px; border-radius: 24px;
	font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-primary);
	background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: heroFloat 6s ease-in-out infinite;
}
.float-chip__dot { width: 6px; height: 6px; border-radius: 50%; }
.float-chip--1 { top: -8%; left: 4%; animation-duration: 5.5s; } .float-chip--1 .float-chip__dot { background: var(--stat-cyan); }
.float-chip--2 { top: -12%; right: 8%; animation-duration: 6s; animation-delay: .6s; } .float-chip--2 .float-chip__dot { background: var(--stat-violet); }
.float-chip--3 { bottom: -10%; left: 10%; animation-duration: 6.5s; animation-delay: 1.2s; } .float-chip--3 .float-chip__dot { background: var(--stat-emerald); }
.float-chip--4 { bottom: -6%; right: 2%; animation-duration: 7s; animation-delay: 1.8s; } .float-chip--4 .float-chip__dot { background: var(--stat-amber); }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- S6 Job board ---------- */
.jobsec { overflow: hidden; }
.jobsec__blob { left: -128px; bottom: 0; opacity: .5; }
.jobsec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.jobsec__headtext { max-width: 576px; }
.jobsec__lead { margin-top: 12px; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
.live-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px;
	font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-primary);
	background: var(--card-bg); border: 1px solid var(--card-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.steps { position: relative; margin-bottom: 40px; }
.steps__grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.step { position: relative; padding: 24px; transition: transform .35s, border-color .35s, box-shadow .35s; }
.step__arrows { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; opacity: 0; transition: opacity .35s; pointer-events: none; }
.step__arrow {
	position: absolute; top: 50%; left: -12%; width: 26px; height: 26px; fill: none; stroke: var(--step); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--step) 70%, transparent)); opacity: 0; transform: translateY(-50%);
	animation: careersStepArrowFlow 2.4s ease-in-out infinite paused;
}
.step__arrow:nth-child(2) { top: 34%; animation-delay: .5s; }
.step__arrow:nth-child(3) { top: 66%; animation-delay: 1s; }
@keyframes careersStepArrowFlow { 0% { opacity: 0; left: -12%; } 15% { opacity: .55; } 80% { opacity: .3; } 100% { opacity: 0; left: 104%; } }
.step__body { position: relative; }
.step__head { display: flex; align-items: center; gap: 12px; }
.step__icon {
	display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 24px; color: var(--step);
	background: color-mix(in srgb, var(--step) 14%, transparent); border: 1px solid color-mix(in srgb, var(--step) 35%, transparent);
}
.step__icon .icon { width: 20px; height: 20px; }
.step__kicker { font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--step); }
.step__title { font-size: 15px; line-height: 22.5px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.step__text { margin-top: 12px; font-size: 13px; line-height: 21.125px; color: var(--text-secondary); }
.step__conn {
	display: none; position: absolute; top: 50%; right: -22px; z-index: 10; width: 32px; height: 32px; place-items: center; border-radius: 50%;
	translate: 0 -50%; color: var(--primary-light); background: var(--card-bg); border: 1px solid var(--card-border);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: translate .35s, border-color .35s, box-shadow .35s;
}
.step__conn .icon { width: 16px; height: 16px; }
@media (min-width: 640px) { .step__conn { display: grid; } }
/* The row is the hover target (HM §9.2); bpoai does not gate it, POEA gates it to hover devices. */
@media (hover: hover) {
	.steps:hover .step { transform: translateY(-3px); border-color: color-mix(in srgb, var(--step) 38%, var(--glass-border)); box-shadow: 0 16px 40px -22px color-mix(in srgb, var(--step) 45%, transparent); }
	.steps:hover .step__arrows { opacity: 1; }
	.steps:hover .step__arrow { animation-play-state: running; }
	.steps:hover .step__conn { translate: 2px -50%; border-color: color-mix(in srgb, var(--step) 45%, var(--card-border)); box-shadow: 0 0 16px -4px color-mix(in srgb, var(--step) 55%, transparent); }
}
.hjobs { display: grid; gap: 16px; }
@media (min-width: 768px) { .hjobs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hjob { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 24px; }
.hjob__bar { position: absolute; inset: 0 0 auto; height: 3px; background: var(--tone); opacity: .75; }
.hjob__head { display: flex; align-items: flex-start; gap: 12px; }
.hjob__logo {
	display: grid; place-items: center; overflow: hidden; flex-shrink: 0; width: 44px; height: 44px; border-radius: 24px;
	background: linear-gradient(to bottom right, #fff, var(--gray-100)); border: 1px solid var(--border-subtle); box-shadow: 0 0 12px rgba(0, 176, 255, .18);
}
.hjob__logo img { width: 100%; height: 100%; object-fit: contain; }
.hjob__titles { min-width: 0; }
.hjob__title { font-size: 15px; line-height: 20.625px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
.hjob__co { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--text-secondary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.hjob__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hjob__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--primary-light); transition: gap .15s var(--ease); }
.hjob__go .icon { width: 16px; height: 16px; }
@media (hover: hover) { .hjob:hover .hjob__go { gap: 10px; } }
.jobsec__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.jobsec__foot .btn-primary { font-size: 14px; line-height: 20px; }
.jobsec__note { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.jobsec__note a { font-weight: 600; color: var(--text-secondary); transition: color .15s var(--ease); }
@media (hover: hover) { .jobsec__note a:hover { color: var(--primary-light); } }

/* ---------- Glow card (S7, S10; GM §8.2) ---------- */
@property --gc-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes gc-spin { 100% { --gc-angle: 360deg; } }
.glow-card { position: relative; height: 100%; border-radius: 16px; isolation: isolate; transition: transform .1s ease-out, box-shadow .3s; --gsp-color: rgba(0, 176, 255, .2); }
.glow-card--news { --gsp-color: rgba(0, 176, 255, .18); }
.glow-card::before {
	content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0;
	background: conic-gradient(from var(--gc-angle), transparent 0deg, #4f6fff 60deg, #92adfe 110deg, #67c3ff 170deg, #00b0ff 210deg, #009fe8 260deg, #b6e1ff 290deg, transparent 340deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	transition: opacity .35s; animation: gc-spin 5s linear infinite;
}
.glow-card::after {
	content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: var(--gsp-opacity, 0);
	background: radial-gradient(280px circle at var(--gsp-x, 50%) var(--gsp-y, 50%), var(--gsp-color), transparent 70%); transition: opacity .2s;
}
.glow-card .card-premium { height: 100%; }
@media (hover: hover) {
	.glow-card:hover::before { opacity: 1; }
	.glow-card:hover { box-shadow: 0 0 0 1px rgba(79, 111, 255, .3), 0 0 30px rgba(79, 111, 255, .12), 0 20px 60px rgba(0, 0, 0, .25); }
	.glow-card .card-premium:hover { transform: none; }
}

/* ---------- S7 Agencies marquee ---------- */
.mq { padding-block: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.mq__track { display: flex; width: max-content; animation: vendor-marquee var(--marquee-duration, 54s) linear infinite; }
@keyframes vendor-marquee { 0% { transform: translate(0); } 100% { transform: translate(-50%); } }
/* Pauses on hover, on keyboard focus inside (a focused card never slides away, QA R4-7) and from the button. */
.mq:focus-within .mq__track, .mq.is-paused .mq__track { animation-play-state: paused; }
.mq:focus-within { -webkit-mask-image: none; mask-image: none; }
@media (hover: hover) { .mq:hover .mq__track { animation-play-state: paused; } }
.mq__ctl { display: flex; justify-content: flex-end; margin-top: 12px; }
.mq__group { display: flex; align-items: stretch; gap: 20px; padding-right: 20px; }
.mq__slot { display: flex; width: 320px; flex-shrink: 0; }
@media (min-width: 640px) { .mq__slot { width: 370px; } }
.mq__slot .glow-card { width: 100%; }
@media (hover: none) {
	.mq { overflow: auto hidden; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.mq::-webkit-scrollbar { display: none; }
	.mq__track { animation: none; }
	.mq__dup, .mq__ctl { display: none; }
	.mq__slot { scroll-snap-align: start; }
}
.dcard { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 20px 20px 20px 24px; --rail: var(--text-secondary); }
.dcard__sheen { position: absolute; inset: 0; opacity: .6; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--text-primary) 5%, transparent) 0%, transparent 42%); }
.dcard__spot { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); background: radial-gradient(120% 90% at 12% 0%, color-mix(in srgb, var(--rail) 12%, transparent) 0%, transparent 55%); }
.dcard__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 0 9999px 9999px 0; background: var(--rail); opacity: .35; transition: opacity .3s; z-index: 2; }
.dcard__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dcard__logo { padding: 2px; border-radius: 14px; box-shadow: 0 1px 2px #0000000f, inset 0 0 0 1px var(--border-subtle); transition: transform .35s var(--ease); }
.dcard__tile {
	display: grid; place-items: center; overflow: hidden; width: 44px; height: 44px; border-radius: 24px; border: 1px solid var(--border-subtle);
	background: linear-gradient(to bottom right, #fff, var(--gray-100)); box-shadow: 0 0 12px rgba(0, 176, 255, .18);
}
.dcard__tile img { width: 42px; height: 42px; object-fit: contain; }
.dcard__initials { font-size: 14px; font-weight: 700; color: var(--primary-light); }
.dcard__seal {
	display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font-size: 10px; line-height: 15px; font-weight: 600;
	background: var(--gray-50); color: var(--text-faint); border: 1px solid var(--border-light); white-space: nowrap;
}
.dcard__seal .icon { width: 11px; height: 11px; }
.dcard__seal--ok { color: var(--badge-emerald-text); background: var(--badge-emerald-bg); border-color: var(--badge-emerald-border); }
.dcard__name { position: relative; font-size: 16px; line-height: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.dcard__meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--text-secondary); }
.dcard__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.dcard__meta .icon { width: 12px; height: 12px; color: var(--text-faint); }
.dcard__sep { width: 1px; height: 12px; background: var(--border-light); }
.dcard__desc { position: relative; margin-top: 12px; font-size: 14px; line-height: 22.75px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard__facts { position: relative; margin-top: 12px; display: grid; gap: 4px; }
.dcard__facts p { font-size: 12px; line-height: 16px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard__facts b { font-weight: 600; color: var(--text-secondary); }
.dcard__flex { flex: 1; }
.dcard__foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-subtle); font-size: 12px; line-height: 16px; color: var(--text-faint); }
.dcard__view { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--primary-light); transition: gap .2s var(--ease); }
.dcard__view .icon { width: 14px; height: 14px; }
@media (hover: hover) {
	.dcard:hover { box-shadow: var(--card-shadow-hover), 0 8px 30px color-mix(in srgb, var(--rail) 22%, transparent); }
	.dcard:hover .dcard__rail, .ncard:hover .dcard__rail { opacity: 1; }
	.dcard:hover .dcard__spot { opacity: 1; }
	.dcard:hover .dcard__logo { transform: scale(1.06); }
	.dcard:hover .dcard__name { color: var(--primary-light); }
	.dcard:hover .dcard__view { gap: 8px; }
}

/* ---------- S8 Browse-by ---------- */
.browse, .learn { padding-block: 40px; }
.mini-title { font-size: 18px; line-height: 28px; font-weight: 700; color: var(--text-primary); }
.browse__lead { margin: 4px 0 24px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.browse__groups { display: grid; gap: 28px; }
.group-label { margin-bottom: 10px; font-size: 11px; line-height: 16.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 24px; border: 1px solid var(--border-medium); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); transition: all .15s var(--ease); }
.chip--lg { min-height: 38px; padding: 8px 16px; }
.chip--all, .learn__list .learn__all { color: var(--text-muted); }
@media (hover: hover) { .chip:hover { background: var(--gray-100); } }

/* ---------- S9 Destinations tabs ---------- */
.dest { --t: var(--primary); --t2: var(--primary-dark); }
.dest__grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 768px) { .dest__grid { grid-template-columns: minmax(0, 20rem) 1fr; } }
@media (min-width: 1024px) { .dest__grid { gap: 24px; } }
.dest__list { display: flex; gap: 8px; overflow-x: auto; margin-inline: -4px; padding: 0 4px 4px; }
@media (min-width: 768px) { .dest__list { flex-direction: column; overflow: visible; padding-bottom: 0; } }
.dtab {
	position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-width: 15rem; padding: 12px 14px; border-radius: 16px; text-align: left;
	border: 1px solid transparent; transition: all .3s var(--ease);
}
@media (min-width: 768px) { .dtab { min-width: 0; } }
.dtab__rail { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 3px; height: 0; border-radius: 9999px; opacity: .6; background: linear-gradient(180deg, var(--t), var(--t2)); transition: all .3s var(--ease); }
.dtab__num { width: 20px; text-align: center; font-size: 11px; line-height: 16.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-faint); transition: color .3s; }
.dtab__logo { opacity: .85; filter: saturate(.7); transition: all .3s var(--ease); }
.code-tile {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 24px; flex-shrink: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em;
	color: var(--primary-light); background: linear-gradient(to bottom right, var(--background-secondary), var(--primary-50)); border: 1px solid var(--border-subtle);
	box-shadow: 0 0 12px rgba(0, 176, 255, .18);
}
.code-tile--lg { width: 64px; height: 64px; border-radius: 16px; font-size: 20px; }
@media (min-width: 768px) { .code-tile--lg { width: 80px; height: 80px; font-size: 24px; } }
.dtab__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dtab__name { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtab__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtab__dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--t); }
.dtab__chev { width: 16px; height: 16px; opacity: 0; color: var(--t); transition: all .3s var(--ease); }
.dtab[aria-selected="true"] { background: var(--card-bg); border-color: color-mix(in srgb, var(--t) 27%, transparent); box-shadow: 0 6px 24px -12px color-mix(in srgb, var(--t) 20%, transparent); }
.dtab[aria-selected="true"] .dtab__rail { height: 60%; opacity: 1; box-shadow: 0 0 10px color-mix(in srgb, var(--t) 20%, transparent); }
.dtab[aria-selected="true"] .dtab__num { color: var(--t); }
.dtab[aria-selected="true"] .dtab__logo { opacity: 1; filter: none; }
.dtab[aria-selected="true"] .dtab__name { color: var(--text-primary); }
.dtab[aria-selected="true"] .dtab__chev { opacity: 1; }
@media (hover: hover) {
	.dtab[aria-selected="false"]:hover { background: color-mix(in srgb, var(--card-bg) 60%, transparent); border-color: color-mix(in srgb, var(--t) 16.5%, transparent); box-shadow: 0 4px 18px -12px color-mix(in srgb, var(--t) 20%, transparent); transform: translateX(3px); }
	.dtab[aria-selected="false"]:hover .dtab__rail { height: 40%; }
	.dtab[aria-selected="false"]:hover .dtab__num { color: var(--t); }
	.dtab[aria-selected="false"]:hover .dtab__chev { opacity: 1; transform: translateX(2px); }
}
.dest__panels { display: grid; min-width: 0; }
.dpanel {
	position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 28px; border-radius: 24px;
	background: var(--card-bg); border: 1px solid color-mix(in srgb, var(--t) 13%, transparent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--t) 20%, transparent);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (min-width: 640px) { .dpanel { padding: 36px; } }
.dpanel.is-in { animation: fadeInUp .45s ease-out both; }
.dpanel__bar { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--t), var(--t2), transparent); }
.dpanel__ghost { position: absolute; right: -16px; top: -32px; font-size: 13rem; line-height: 1; font-weight: 900; letter-spacing: -.05em; color: var(--t); opacity: .06; pointer-events: none; }
.dpanel__head { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.dpanel__titles { min-width: 0; }
.dpanel__title { font-size: 24px; line-height: 30px; font-weight: 700; color: var(--text-primary); }
@media (min-width: 640px) { .dpanel__title { font-size: 30px; line-height: 37.5px; } }
.dpanel__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dpanel__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--primary-light); background: color-mix(in srgb, var(--t) 8%, transparent); border: 1px solid color-mix(in srgb, var(--t) 20%, transparent); }
.dpanel__tagdot { width: 6px; height: 6px; border-radius: 50%; background: var(--t); }
.dpanel__desc { position: relative; font-size: 15px; line-height: 24.375px; color: var(--text-secondary); }
@media (min-width: 640px) { .dpanel__desc { font-size: 16px; line-height: 26px; } }
.dpanel__foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.dpanel__desc + .dpanel__foot { margin-top: 32px; }
.dpanel__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 10px 20px; border-radius: 24px; font-size: 14px; line-height: 20px; font-weight: 600;
	color: #fff; background: linear-gradient(135deg, var(--t), var(--t2)); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--t) 20%, transparent); transition: gap .2s var(--ease);
}
[data-theme="dark"] .dpanel__btn { color: var(--background); }
.dpanel__btn .icon { width: 16px; height: 16px; }
@media (hover: hover) { .dpanel__btn:hover { gap: 12px; } }
.dpanel__count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-muted); }

/* ---------- S10 News ---------- */
.news__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news__cell { height: 100%; }
.ncard { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ncard__rail { z-index: 20; }
.ncard__media { position: relative; height: 128px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--rail) 22%, var(--card-bg)) 0%, color-mix(in srgb, var(--rail) 7%, var(--card-bg)) 55%, var(--card-bg) 100%); }
@media (min-width: 640px) { .ncard__media { height: 160px; } }
.ncard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--rail); opacity: .4; }
.ncard__ph .icon { width: 32px; height: 32px; }
.ncard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .7s cubic-bezier(0, 0, .2, 1); }
.ncard__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2, 6, 23, .35) 0%, transparent 34%), linear-gradient(to top, color-mix(in srgb, var(--rail) 30%, rgba(0, 0, 0, .55)) 0%, rgba(0, 0, 0, .10) 42%, transparent 72%); }
.badge-on-image { color: rgba(255, 255, 255, .96); letter-spacing: .01em; background: rgba(47, 46, 65, .72); border-color: rgba(255, 255, 255, .16); box-shadow: 0 2px 10px rgba(2, 6, 23, .35); }
.ncard__badge { position: absolute; top: 14px; left: 14px; }
.ncard__badgedot { background: #34d399; }
.ncard__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ncard__kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .025em; color: var(--text-faint); }
.ncard__kicker .dot { background: var(--rail); }
.ncard__type { font-size: 11px; line-height: 16.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-light); }
.ncard__rule { width: 1px; height: 12px; background: var(--border-light); }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"); ascent-override: 117.94%; descent-override: 36.93%; line-gap-override: 0%; size-adjust: 83.94%; }
.ncard__title {
	margin-bottom: 8px; font-family: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif; font-weight: 400;
	font-size: 22px; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; color: var(--text-primary);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__title span { transition: color .3s; }
.ncard__ex { margin-bottom: 16px; font-size: 14px; line-height: 22.75px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.ncard__by { min-width: 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ncard__read {
	display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 4px 10px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600;
	color: var(--rail); border: 1px solid color-mix(in srgb, var(--rail) 30%, transparent); background: color-mix(in srgb, var(--rail) 8%, transparent);
}
.ncard__read .icon { width: 14px; height: 14px; transition: transform .3s; }
@media (hover: hover) {
	.ncard:hover .ncard__media img { transform: scale(1.05); }
	.ncard:hover .ncard__title span { color: var(--rail); }
	.ncard:hover .ncard__read .icon { transform: translateX(2px); }
}

/* ---------- S11 Learn ---------- */
.learn .mini-title { margin-bottom: 20px; }
.learn__grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .learn__grid { grid-template-columns: 1fr 1fr; } }
.learn .group-label { margin-bottom: 8px; }
.learn__list { display: flex; flex-direction: column; gap: 6px; }
.learn__list a { display: inline-block; padding-block: 2px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); transition: color .15s var(--ease); }
@media (hover: hover) { .learn__list a:hover { color: var(--primary-light); } }

/* ---------- S12 Explore ---------- */
.explore { padding-block: 48px; text-align: center; }
@media (min-width: 640px) { .explore { padding-block: 56px; } }
.explore__title { margin-bottom: 8px; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
@media (min-width: 768px) { .explore__title { font-size: 30px; line-height: 36px; } }
.explore__lead { max-width: 672px; margin: 0 auto 32px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
@media (min-width: 640px) { .explore__lead { font-size: 16px; line-height: 24px; } }
.explore .chips { justify-content: center; }

/* ---------- S13 CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--background-secondary); border-block: 1px solid var(--border-subtle); }
/* Dark: POEA uses a dark wash (HM §16) instead of bpoai's fixed white 45% that turns the band grey (HL open decision 1). */
.cta-band__wash { position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .45); }
[data-theme="dark"] .cta-band__wash { background: rgba(10, 7, 26, .45); }
.cta-band__in { position: relative; z-index: 2; padding-block: 64px; text-align: center; }
@media (min-width: 640px) { .cta-band__in { padding-block: 80px; } }
@media (min-width: 768px) { .cta-band__in { padding-block: 112px; } }
.cta-band__label { justify-content: center; margin-bottom: 16px; }
.cta-band__title { margin-bottom: 16px; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); }
@media (min-width: 640px) { .cta-band__title { font-size: 36px; line-height: 40px; margin-bottom: 20px; } }
@media (min-width: 768px) { .cta-band__title { font-size: 48px; line-height: 48px; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 60px; line-height: 60px; } }
.cta-band__lead { max-width: 576px; margin: 0 auto 32px; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
@media (min-width: 640px) { .cta-band__lead { margin-bottom: 40px; } }
@media (min-width: 768px) { .cta-band__lead { font-size: 20px; line-height: 32.5px; margin-bottom: 48px; } }
.cta-band__btns { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.cta-band__btns a { width: 100%; font-size: 14px; line-height: 20px; }
@media (min-width: 640px) {
	.cta-band__btns { flex-direction: row; gap: 16px; }
	.cta-band__btns a { width: auto; font-size: 16px; line-height: 24px; }
}
.cta-band__btns .icon { width: 16px; height: 16px; }

/* ---------- Reduced motion (HM §17: stop everything bpoai leaves running) ---------- */
@media (prefers-reduced-motion: reduce) {
	.aurora, .aurora__blob, .live-dot::after, .shiny, .hd__ring, .float-chip, .glow-card::before, .step__arrow,
	.hero__slide.is-in .hero-a, .hero-load, .tb__slide.is-in .tb-a, .dpanel.is-in { animation: none !important; }
	.live-dot::after, .hd__ring, .hd__dot, .step__arrows { display: none; }
	.shiny { -webkit-text-fill-color: currentColor; background: none; }
	.tb__art { transition: none; }
	.pillar, .pillar__bar, .pillar__icon, .step, .step__conn, .stat, .topic-pill, .dtab, .glow-card, .ncard__media img { transition: none !important; }
	.pillar:hover, .steps:hover .step, .stat:hover, .topic-pill:hover, .dtab:hover { transform: none !important; }
	.ticker__track { animation: none; width: auto; flex-wrap: wrap; }
	.ticker__vp { -webkit-mask-image: none; mask-image: none; }
	.ticker__set { flex-wrap: wrap; }
	.ticker__dup, .ticker__sep, .ticker__toggle { display: none; }
	.ticker__item { white-space: normal; line-height: 1.4; padding: 8px 14px; }
	.mq { overflow: auto hidden; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
	.mq__track { animation: none; }
	.mq__dup, .mq__ctl, .cctl .cpause { display: none; }
}

/* ---------- No JS (QA R3-2, WCAG 2.2.2): nothing loops forever and no dead pause button shows ----------
   Same static fallbacks as reduced motion; the marquee becomes a scrollable strip with the 6px scrollbar.
   The aurora drift and both carousels already need JS (.is-live, timers), so they stay still. */
html:not(.js) .cpause, html:not(.js) .mq__ctl, html:not(.js) .ticker__dup, html:not(.js) .ticker__sep, html:not(.js) .mq__dup,
html:not(.js) .live-dot::after, html:not(.js) .hd__ring, html:not(.js) .hd__dot, html:not(.js) .step__arrows { display: none; }
html:not(.js) .shiny, html:not(.js) .float-chip, html:not(.js) .glow-card::before, html:not(.js) .step__arrow { animation: none; }
html:not(.js) .shiny { -webkit-text-fill-color: currentColor; background: none; }
html:not(.js) .ticker__track { animation: none; width: auto; flex-wrap: wrap; }
html:not(.js) .ticker__vp { -webkit-mask-image: none; mask-image: none; }
html:not(.js) .ticker__set { flex-wrap: wrap; }
html:not(.js) .ticker__item { white-space: normal; line-height: 1.4; padding: 8px 14px; }
html:not(.js) .mq { overflow: auto hidden; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .mq__track { animation: none; }
/* QA R3-3: keep a Tab-focused agency card's ring inside the viewport when the browser scrolls it into view. */
#agency-marquee a { scroll-margin-block: 12px; }

/* --- native additions (OD1) --- */
.hd__bg { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; opacity: .1; pointer-events: none; }
.code-tile { overflow: hidden; }
.code-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jobsec__how { margin: 40px 0 4px; font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text-primary); }
.jobsec__howlead { margin-bottom: 20px; }
.faq summary { cursor: pointer; padding-block: 4px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); }
.faq summary:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }
.faq p { margin: 4px 0 8px; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.learn__faq { gap: 4px; }

/* Baseline headings kept as real headings, styled like the clone's pill/lead/label text (SEO parity). */
.hero__pill, .hero__lead, .as-label, .hero__h { margin-top: 0; font-family: inherit; }
h2.hero__pill { letter-spacing: normal; text-transform: none; }
.hero__h { display: inline; margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
.hero__lead--h { margin-bottom: 0; }
.hero__lead--h + .hero__lead { margin-top: 0; }
h3.jobsec__lead { font-weight: 600; letter-spacing: normal; text-transform: none; margin-bottom: 0; }
.jobsec__lead--cont { margin-top: 0; }
h3.section-label.as-label { margin-bottom: 0; }
.talent .as-label { margin-bottom: 0; }

/* R3: no-JS slides 2-3 are decorative duplicates (aria-hidden, inert): hide them instead of leaving invisible nodes. */
html:not(.js) .hero__slide:not(.is-active) { display: none; }
/* R3: the ticker pause button gets its own solid column so it never covers text. */
.ticker__toggle { position: relative; z-index: 2; flex-shrink: 0; align-self: stretch; width: 40px; height: auto; margin: 0; border-radius: 0; border-width: 0 0 0 1px; background: var(--primary-50); }
/* R3: 24px minimum target for text links. */
.sh__more, .learn__list a, .hero__textlink, .dpanel__btn { min-height: 24px; }
.chip { min-height: 24px; display: inline-flex; align-items: center; }

/* R2: JS off, every destination panel is shown stacked (the tab buttons are inert without JS). */
html:not(.js) .dest__list { display: none; }
html:not(.js) .dpanel[hidden] { display: flex !important; }
html:not(.js) .dest__panels { gap: 16px; }

/* QA r8: dark initials avatars were a white-to-translucent gradient under pale-blue text (grey blob). Logos with an image keep the white tile. */
[data-theme="dark"] :is(.dcard__tile, .hjob__logo):not(:has(img)) { background: var(--primary-100); border-color: var(--primary-glow); }
[data-theme="dark"] :is(.dcard__tile, .hjob__logo):has(img) { background: #fff; }

/* QA r8: 24px target without moving the text (padding offset by negative margin). */
.jobsec__note a { display: inline-block; padding-block: 4px; margin-block: -4px; }

/* ---------- UX rework: compact first screen, tiles, short job list, collapsed rest ---------- */
.hfind { padding-top: 92px; padding-bottom: var(--space-4, 16px); display: grid; gap: var(--space-4, 16px); }
.hfind__h1 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--text-primary); }
@media (min-width: 768px) { .hfind__h1 { font-size: 36px; line-height: 44px; } }
.hfind__form { display: grid; gap: 8px; }
.hfind__in { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--text-primary); background: var(--background-secondary, #fff); border: 1px solid var(--border-medium); border-radius: 12px; }
.hfind__in:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hfind__go { min-height: 48px; justify-content: center; }
@media (min-width: 768px) { .hfind__form { grid-template-columns: 2fr 1fr auto; } }
.hfind__tiles .c-tile { padding: 24px 8px; gap: 6px; }
.hfind__tiles .c-tile__media { width: 72px; height: 52px; font-weight: 700; color: var(--text-secondary); }
@media (min-width: 640px) { .hfind__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hcats { padding-block: 4px 12px; }
.hcats__chips { margin-inline: -4px; }
[data-theme="dark"] .hcats .c-chip:not([aria-current="true"]) { background: var(--card-bg); border-color: var(--border-medium); color: var(--text-primary); } /* legacy --color-surface stays white in dark */
.hjobsec { padding-block: 20px 8px; display: grid; gap: 12px; } /* 8 + chip padding 8 = 16px to the chips */
.hjobsec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hjobsec .sec-title { margin-top: 0; font-size: 22px; line-height: 28px; }
.hjobsec .live-pill { margin: 0; }
.hjl { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hjl__a { display: grid; gap: 2px; min-height: 44px; padding: 10px 14px; background: var(--background-secondary, #fff); border: 1px solid var(--border-light); border-radius: 12px; }
.hjl__a:hover, .hjl__a:focus-visible { border-color: var(--primary); }
.hjl__t { margin: 0; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--text-primary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.hjl__m { font-size: 13px; line-height: 18px; color: var(--text-secondary); }
.hjobsec__all { justify-self: start; }
.hstrip { display: grid; gap: 12px; padding-block: 12px 20px; }
.hstrip__facts, .hstrip__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-secondary); }
.hstrip__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hstrip__facts .icon { width: 16px; height: 16px; color: var(--success); }
.hstrip__logos a:not(.hstrip__all) { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; background: #fff; border: 1px solid var(--border-light); border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--primary); }
.hstrip__logos img { width: 100%; height: 100%; object-fit: contain; }
.hstrip__all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--primary-light); }
.hpanels { display: grid; gap: 4px; padding-bottom: 24px; }
.home-panel { border-top: 1px solid var(--border-light); }
.home-panel > .c-collapse__summary { width: 100%; font-size: 16px; }
.home-panel .container { padding-inline: 0; }
.hfind { padding-bottom: 8px; align-content: start; }
.hfind__code { width: 100%; height: 100%; background: linear-gradient(90deg,#ef3340 0 25%,transparent 25%), linear-gradient(180deg,#00732f 33%,#fff 33% 66%,#000 66%); }
.hjobsec__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.home-panel > .c-collapse__summary { color: var(--text-primary); }

/* Opened panels never widen the page (hero/ticker/marquee size to content otherwise). */
.hpanels, .hjobsec { grid-template-columns: minmax(0, 1fr); }
.home-panel { min-width: 0; max-width: 100%; overflow-x: clip; }
.home-panel > .c-collapse__body { min-width: 0; max-width: 100%; overflow-x: clip; }
.home-panel :is(.hero, .ticker, .mq, .container, .sec, .steps__grid) { max-width: 100%; min-width: 0; }
.home-panel .hero__grid, .home-panel .hero__copy { min-width: 0; }
.hfind__tiles .c-tile__media > img { object-fit: contain; }
.hfind__tiles .c-tile__media { background: #fff; border: 1px solid var(--border-light); }
.home-panel .sec { padding-block: 16px; }
.home-panel .sh { margin-bottom: 20px; }
.hfind__tiles .c-tile__media { padding: 3px; }
.hfind__tiles .c-tile__media > img { border-radius: 6px; }
.hfind__tiles .c-tile__media > img[src*="saudi"] { object-fit: cover; object-position: center top; height: 112%; width: 100%; align-self: start; }
/* QA: the hero sits inside a closed panel, not under the fixed header: no 70-90vh box, no header clearance. */
.home-panel .hero { min-height: 0; padding-top: 16px; }
.home-panel .hero__in { padding-bottom: 32px; }
/* Round 17: the shimmer sweep hid pill text mid-animation (looked like a bar clipping it); plain text instead. */
.shiny, [data-theme="dark"] .shiny { animation: none; background: none; -webkit-text-fill-color: currentColor; }
.hero__lead--h { font-weight: 600; }
/* Round 18: inline-flex split the line into stacked flex items (stray comma); one text flow instead. */
.ticker__item { display: inline-block; line-height: 1.4; }
.ticker__item .ticker__new { display: inline-block; margin-right: 8px; vertical-align: 1px; }
/* Round 18: panel sections keep modest padding (empty bands stay <=100px at 390). */
.home-panel .stats__in, .home-panel .cta-band__in { padding-block: 40px; }
.home-panel .tb__in { padding-block: 28px; }
@media (min-width: 640px) { .home-panel .stats__in, .home-panel .cta-band__in { padding-block: 48px; } }
/* Round 21: names wrap instead of ellipsis; sub-headings visibly below section h2; trim empty bands at phone width. */
.dcard__name, .dcard__facts p, .dtab__name, .dtab__meta { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.dtab__meta { flex-wrap: wrap; }
.mini-title { font-weight: 600; }
.dpanel__title { font-size: 20px; line-height: 26px; font-weight: 600; }
@media (min-width: 640px) { .dpanel__title { font-size: 22px; line-height: 28px; } }
@media (max-width: 639px) {
	.home-panel .stats__in, .home-panel .cta-band__in { padding-block: 24px; }
	.home-panel .explore { padding-block: 24px; }
	.home-panel .browse, .home-panel .learn { padding-block: 24px; }
}
/* Round 22: flag tiles follow the theme (the shared tile token stays white in dark mode: 2.58:1 meta). */
.hfind__tiles .c-tile { background: var(--background-secondary); border-color: var(--border-light); color: var(--text-primary); }
.hfind__tiles .c-tile__label { color: var(--text-primary); }
.hfind__tiles .c-tile__meta { color: var(--text-secondary); }

/* Conversion: one-line trust strip under the home search (live job count, existing "free" claim, sign-up link). */
.hfind__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.hfind__trust a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.hfind__trust a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
