/* ==========================================================================
   KO front page (#12) — 2026-10 redesign. Markup: page-templates/page-home.php.
   Ported from the Claude Design canvas "BPXG 홈 리디자인 — 하이브랩 벤치마크"
   (Main.dc.html desktop / Mobile.dc.html 390px). Scoped under .bpxg-hm and
   enqueued for the home template only (inc/enqueue.php).
   ========================================================================== */

.bpxg-hm {
	--hm-yellow: #fcd11e;
	--hm-ink: #15151a;
	--hm-dark: #0f0f13;
	--hm-soft: #6b6d75;
	--hm-muted: #8a8d96;
	--hm-line: #e6e6ec;
	/* Left edge of the 1120px content column — the header uses the same width,
	   so section text lines up with the logo. */
	--hm-gutter: max(24px, calc((100% - 1120px) / 2));
	background: #fff;
	color: var(--hm-ink);
	line-height: 1.6;
	word-break: keep-all;
}
/* Force Pretendard over the legacy Roboto+Nanum element rules (same as .bpxg-home). */
.bpxg-hm,
.bpxg-hm * {
	font-family: Pretendard, "Pretendard Variable", "Apple SD Gothic Neo", system-ui, sans-serif !important;
}
.bpxg-hm *,
.bpxg-hm *::before,
.bpxg-hm *::after { box-sizing: border-box; }
.bpxg-hm a { color: inherit; text-decoration: none; }
.bpxg-hm h1,
.bpxg-hm h2,
.bpxg-hm p { margin: 0; }

.bpxg-hm .hm-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.bpxg-hm .hm-br-m { display: none; }

/* ---- Shared pieces ---- */
.bpxg-hm .hm-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; color: var(--hm-yellow); margin-bottom: 28px; }
.bpxg-hm .hm-eyebrow--sm { font-size: 12px; margin-bottom: 0; }
.bpxg-hm .hm-dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--hm-yellow); }
.bpxg-hm .hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 32px; border-radius: 999px; font-size: 17px; font-weight: 800; transition: transform .15s ease, filter .15s ease; }
.bpxg-hm .hm-btn--primary { background: var(--hm-yellow); color: #1a1a1a; }
.bpxg-hm .hm-btn--primary:hover { transform: translateY(-2px); filter: brightness(.97); }

.bpxg-hm .hm-sec { padding: 140px 0; }
.bpxg-hm .hm-kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; color: var(--hm-soft); margin-bottom: 36px; }
.bpxg-hm .hm-kicker__n { color: var(--hm-ink); }
.bpxg-hm .hm-kicker__line { width: 28px; height: 1px; background: #d5d7de; }
/* The section statement: regular grey, keywords in bold ink. */
.bpxg-hm .hm-statement { font-size: clamp(28px, 3.3vw, 46px); font-weight: 400; letter-spacing: -1.2px; line-height: 1.5; color: var(--hm-soft); }
.bpxg-hm .hm-statement strong { font-weight: 800; color: var(--hm-ink); }
.bpxg-hm .hm-link { display: inline-flex; margin-top: 48px; padding-bottom: 6px; border-bottom: 2px solid var(--hm-ink); font-size: 17px; font-weight: 800; color: var(--hm-ink); }
.bpxg-hm .hm-link--dark { align-self: flex-start; margin-top: 0; border-bottom-color: var(--hm-yellow); font-size: 16px; color: #fff; }

/* Text column + media that bleeds to the right edge of the viewport. */
.bpxg-hm .hm-split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-left: var(--hm-gutter); }
/* Grow 0: the media column takes the leftover width, the statement keeps its line breaks. */
.bpxg-hm .hm-split__text { flex: 0 1 560px; min-width: 0; max-width: 620px; padding-right: 24px; }
.bpxg-hm .hm-split__media { flex: 999 1 560px; min-width: 0; }
.bpxg-hm .hm-list { display: flex; flex-direction: column; margin-top: 44px; }
.bpxg-hm .hm-list__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid #dfe1e6; font-size: 17px; font-weight: 700; transition: padding .15s ease; }
.bpxg-hm .hm-list__item:last-child { border-bottom: 1px solid #dfe1e6; }
.bpxg-hm .hm-list__item:hover { padding-left: 6px; }
.bpxg-hm .hm-list__arrow { font-weight: 800; }

/* ---- Hero ---- */
.bpxg-hm .hm-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--hm-dark); color: #fff; }
.bpxg-hm .hm-hero__fallback { position: absolute; inset: 0; background-size: cover; background-position: 78% center; filter: brightness(.8); }
.bpxg-hm .hm-hero__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; }
.bpxg-hm .hm-hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(15,15,19,.94) 0%, rgba(15,15,19,.62) 42%, rgba(15,15,19,.12) 100%); }
.bpxg-hm .hm-hero__inner { position: relative; z-index: 2; padding: 140px 0 120px; }
.bpxg-hm .hm-hero__title { font-size: clamp(46px, 6.6vw, 96px); font-weight: 800; letter-spacing: -3px; line-height: 1.08; color: #fff; }
.bpxg-hm .hm-hl { color: var(--hm-yellow); }
.bpxg-hm .hm-hero__lead { max-width: 560px; margin-top: 32px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; color: #c7c8ce; }
.bpxg-hm .hm-hero__cta { margin-top: 48px; }
.bpxg-hm .hm-hero__scroll { position: absolute; z-index: 2; left: var(--hm-gutter); bottom: 40px; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; color: var(--hm-muted); }
.bpxg-hm .hm-hero__scroll span { width: 64px; height: 1px; background: rgba(255,255,255,.3); }

/* ---- 01 About + stats ---- */
.bpxg-hm .hm-about__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 64px; }
.bpxg-hm .hm-about__text { flex: 1 1 460px; min-width: 0; max-width: 680px; }
.bpxg-hm .hm-stats { flex: 1 1 400px; max-width: 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
.bpxg-hm .hm-stat { display: block; padding-top: 20px; border-top: 1px solid var(--hm-line); }
.bpxg-hm .hm-stat--accent { border-top-color: var(--hm-ink); }
.bpxg-hm .hm-stat__label { display: block; font-size: 15px; font-weight: 700; color: var(--hm-soft); }
.bpxg-hm .hm-stat__num { display: block; margin-top: 10px; font-size: clamp(40px, 5vw, 72px); font-weight: 400; letter-spacing: -2px; line-height: 1; color: var(--hm-ink); }
.bpxg-hm .hm-stat__num sup { position: relative; top: -.1em; margin-left: 4px; font-size: .5em; vertical-align: top; }

/* ---- 02 AI 가시성 + Track Records panel ---- */
.bpxg-hm .hm-vis { background: #f7f8fa; }
.bpxg-hm .hm-track { min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 56px 64px; border-radius: 24px 0 0 24px; background-color: var(--hm-dark); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; color: #fff; }
.bpxg-hm .hm-track__label { margin-top: 22px; font-size: 20px; font-weight: 700; color: #c7c8ce; }
.bpxg-hm .hm-track__num { margin-top: 8px; font-size: clamp(64px, 9vw, 132px); font-weight: 800; letter-spacing: -4px; line-height: 1; color: var(--hm-yellow); }
.bpxg-hm .hm-bars { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.bpxg-hm .hm-bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) 64px; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; color: #c7c8ce; }
.bpxg-hm .hm-bar.is-last { color: #fff; }
.bpxg-hm .hm-bar__track { height: 14px; border-radius: 999px; background: rgba(255,255,255,.08); }
.bpxg-hm .hm-bar__track span { display: block; height: 100%; border-radius: 999px; background: #5b5d66; }
.bpxg-hm .hm-bar.is-last .hm-bar__track span { background: var(--hm-yellow); }
.bpxg-hm .hm-bar__val { text-align: right; }

/* ---- 03 AI 크리에이티브 ---- */
.bpxg-hm .hm-cre { padding-bottom: 160px; background: var(--hm-dark); color: #fff; }
.bpxg-hm .hm-cre .hm-split__text { flex-basis: 500px; max-width: 520px; }
.bpxg-hm .hm-cre .hm-kicker { color: var(--hm-muted); }
.bpxg-hm .hm-cre .hm-kicker__n { color: #fff; }
.bpxg-hm .hm-cre .hm-kicker__line { background: rgba(255,255,255,.24); }
.bpxg-hm .hm-cre .hm-statement { color: #c7c8ce; }
.bpxg-hm .hm-cre .hm-statement strong { color: #fff; }
.bpxg-hm .hm-cre .hm-list__item { border-color: rgba(255,255,255,.12); }
.bpxg-hm .hm-cre .hm-list__arrow { color: var(--hm-yellow); }
.bpxg-hm .hm-works { position: relative; }
.bpxg-hm .hm-work { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #15151a; }
.bpxg-hm .hm-work img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bpxg-hm .hm-work:hover img { transform: scale(1.03); }
.bpxg-hm .hm-work--main { border-radius: 24px 0 0 24px; }
.bpxg-hm .hm-work--sub { position: absolute; left: -40px; bottom: -64px; width: 32%; min-width: 180px; border: 6px solid var(--hm-dark); border-radius: 18px; }
.bpxg-hm .hm-work__tag { position: absolute; left: 24px; top: 24px; padding: 8px 14px; border-radius: 999px; background: rgba(15,15,19,.78); font-size: 13px; font-weight: 800; color: #fff; }
.bpxg-hm .hm-work--sub .hm-work__tag { left: 12px; top: 12px; padding: 6px 12px; font-size: 12px; }
.bpxg-hm .hm-work__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 999px; background: var(--hm-yellow); color: #1a1a1a; transform: translate(-50%, -50%); transition: transform .2s ease; }
.bpxg-hm .hm-work__play svg { width: 32px; height: 32px; }
.bpxg-hm .hm-work:hover .hm-work__play { transform: translate(-50%, -50%) scale(1.06); }
.bpxg-hm .hm-work__play--sm { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: rgba(15,15,19,.72); color: #fff; }
.bpxg-hm .hm-work__play--sm svg { width: 16px; height: 16px; }

/* ---- 04 More services: statement + circle CTA + service-name marquee ---- */
.bpxg-hm .hm-more { overflow: hidden; }
.bpxg-hm .hm-more__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.bpxg-hm .hm-more__text { flex: 1 1 560px; min-width: 0; max-width: 900px; }
.bpxg-hm .hm-circle { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 176px; height: 176px; border-radius: 999px; background: var(--hm-yellow); color: #1a1a1a; font-size: 18px; font-weight: 800; line-height: 1.3; text-align: center; transition: transform .2s ease; }
.bpxg-hm .hm-circle svg { width: 26px; height: 26px; }
.bpxg-hm .hm-circle:hover { transform: scale(1.04) rotate(-4deg); }
.bpxg-hm .hm-more__m { display: none; }
.bpxg-hm .hm-marquee { display: flex; flex-direction: column; gap: 8px; margin-top: 88px; padding: 28px 0; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); }
.bpxg-hm .hm-marquee__row { display: flex; overflow: hidden; }
.bpxg-hm .hm-marquee__track { display: flex; flex: none; width: max-content; animation: hm-marquee 56s linear infinite; }
.bpxg-hm .hm-marquee__track--line { animation-direction: reverse; }
.bpxg-hm .hm-marquee:hover .hm-marquee__track { animation-play-state: paused; }
.bpxg-hm .hm-marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(44px, 6.2vw, 92px); font-weight: 800; letter-spacing: -3px; line-height: 1.2; white-space: nowrap; color: var(--hm-ink); }
.bpxg-hm .hm-marquee__item i { flex: none; width: 16px; height: 16px; border-radius: 999px; background: var(--hm-yellow); }
.bpxg-hm .hm-marquee__track--line .hm-marquee__item { color: transparent; -webkit-text-stroke: 1.5px var(--hm-ink); }
.bpxg-hm .hm-marquee__track--line .hm-marquee__item i { background: var(--hm-ink); }
@keyframes hm-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---- Awarded & Trusted By (kept from the previous home) ---- */
.bpxg-hm .hm-trust { padding: 110px 0; background: #f7f8fa; }
.bpxg-hm .hm-trust__head { margin-bottom: 56px; text-align: center; }
.bpxg-hm .hm-trust__kicker { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; color: var(--hm-muted); }
.bpxg-hm .hm-trust__title { margin-bottom: 18px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.bpxg-hm .hm-trust__lead { max-width: 620px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--hm-soft); }
.bpxg-hm .hm-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; align-items: center; padding: 38px 36px; border: 1px solid #eef0f3; border-radius: 20px; background: #fff; }
.bpxg-hm .hm-logos img { width: 100%; height: 52px; object-fit: contain; opacity: .92; }
.bpxg-hm .hm-news__head { display: flex; align-items: center; gap: 12px; margin: 64px 0 26px; }
.bpxg-hm .hm-news__badge { padding: 5px 11px; border-radius: 6px; background: var(--hm-yellow); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: #1a1a1a; }
.bpxg-hm .hm-news__title { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.bpxg-hm .hm-news { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #eef0f3; border-radius: 18px; background: #fff; }
.bpxg-hm .hm-news__row { display: flex; align-items: center; gap: 28px; padding: 28px 34px; border-top: 1px solid #f1f2f5; transition: background .18s ease; }
.bpxg-hm .hm-news__row:first-child { border-top: 0; }
.bpxg-hm .hm-news__row:hover { background: #fafbfc; }
.bpxg-hm .hm-news__meta { flex: 0 0 140px; }
.bpxg-hm .hm-news__outlet { display: block; font-size: 13px; font-weight: 800; }
.bpxg-hm .hm-news__date { display: block; margin-top: 3px; font-size: 13px; color: var(--hm-soft); }
.bpxg-hm .hm-news__headline { flex: 1; min-width: 0; font-size: 18px; font-weight: 700; letter-spacing: -.3px; line-height: 1.45; }
.bpxg-hm .hm-news__arrow { flex: none; font-size: 20px; color: #c4c8ce; }

/* ---- 05 Insight: horizontal cards ---- */
.bpxg-hm .hm-cards { display: flex; gap: 20px; overflow-x: auto; padding: 6px 0 4px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.bpxg-hm .hm-cards::-webkit-scrollbar { display: none; }
.bpxg-hm .hm-card { flex: 0 0 340px; min-height: 340px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--hm-line); border-radius: 18px; background: #fff; scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease; }
.bpxg-hm .hm-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(20,22,30,.25); }
.bpxg-hm .hm-card__cat { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--hm-yellow); font-size: 12px; font-weight: 800; color: #1a1a1a; }
.bpxg-hm .hm-card__cat--dark { background: var(--hm-ink); color: #fff; }
.bpxg-hm .hm-card__title { margin-top: 22px; font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.45; }
.bpxg-hm .hm-card__date { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 700; color: var(--hm-soft); }
/* Right padding = the content column's right edge (viewport-based: this sits
   inside the bleeding media column, so % would resolve against that). */
.bpxg-hm .hm-cards__nav { display: flex; align-items: center; gap: 8px; margin-top: 36px; padding-right: max(24px, calc((100vw - 1120px) / 2)); }
.bpxg-hm .hm-cards__progress { flex: 1; height: 2px; margin-right: 16px; background: #dfe1e6; }
.bpxg-hm .hm-cards__progress span { display: block; width: 25%; height: 2px; background: var(--hm-ink); transition: transform .2s ease; }
.bpxg-hm .hm-cards__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid #d5d7de; border-radius: 999px; background: #fff; color: var(--hm-ink); cursor: pointer; }
.bpxg-hm .hm-cards__btn--next { border-color: var(--hm-ink); background: var(--hm-ink); color: #fff; }
.bpxg-hm .hm-cards__btn:disabled { opacity: .35; cursor: default; }
.bpxg-hm .is-static .hm-cards__nav { display: none; }

/* ---- CTA ---- */
.bpxg-hm .hm-cta { padding: 130px 0; background-color: var(--hm-dark); background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; color: #fff; }
.bpxg-hm .hm-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
/* Wide basis: the two-line title keeps its break and the actions wrap below it. */
.bpxg-hm .hm-cta__text { flex: 1 1 760px; min-width: 0; }
.bpxg-hm .hm-cta .hm-eyebrow { margin-bottom: 26px; }
.bpxg-hm .hm-cta__title { font-size: clamp(32px, 4.6vw, 64px); font-weight: 800; letter-spacing: -2px; line-height: 1.2; color: #fff; }
.bpxg-hm .hm-cta__lead { max-width: 560px; margin-top: 24px; font-size: 18px; line-height: 1.7; color: #c7c8ce; }
.bpxg-hm .hm-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.bpxg-hm .hm-cta__actions .hm-btn { height: 60px; padding: 0 36px; font-size: 18px; }
.bpxg-hm .hm-cta__mail { padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 17px; font-weight: 700; }

/* ---- Tablet ---- */
@media (max-width: 960px) {
	.bpxg-hm .hm-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
	.bpxg-hm .hm-news__row { flex-wrap: wrap; gap: 8px 20px; }
	.bpxg-hm .hm-news__meta { flex-basis: auto; }
	.bpxg-hm .hm-news__headline { flex-basis: 100%; order: 3; }
}

/* ---- Phone (Mobile.dc.html) ---- */
@media (max-width: 560px) {
	.bpxg-hm .hm-br-m { display: inline; }
	.bpxg-hm .hm-br-d { display: none; }
	.bpxg-hm .hm-eyebrow { gap: 8px; margin-bottom: 20px; font-size: 12px; letter-spacing: 2.2px; }
	.bpxg-hm .hm-dot { width: 7px; height: 7px; }

	/* Hero = one phone screen (100svh from the base rule): copy pinned to the bottom,
	   clear of the floating CTA (.bpxg-fab, 72px), and hero-ax.js fits "AX" into the
	   band above the copy (data-ax-clear). The scrim tracks the copy in px for the same reason. */
	.bpxg-hm .hm-hero { align-items: flex-end; }
	.bpxg-hm .hm-hero__fallback { background-position: 74% 30%; filter: brightness(.75); }
	.bpxg-hm .hm-hero__scrim { background: linear-gradient(180deg, rgba(15,15,19,.5) 0, rgba(15,15,19,.12) 120px, rgba(15,15,19,.12) calc(100% - 420px), rgba(15,15,19,.86) calc(100% - 320px), rgba(15,15,19,.98) 100%); }
	.bpxg-hm .hm-hero__inner { padding: 0 0 88px; }
	.bpxg-hm .hm-hero__title { font-size: 46px; letter-spacing: -1.6px; line-height: 1.12; }
	.bpxg-hm .hm-hero__lead { margin-top: 20px; font-size: 17px; }
	.bpxg-hm .hm-hero__cta { height: 54px; margin-top: 32px; padding: 0 26px; font-size: 16px; }
	.bpxg-hm .hm-hero__scroll { display: none; }

	.bpxg-hm .hm-sec { padding: 80px 0; }
	.bpxg-hm .hm-split { gap: 44px; padding-left: 24px; }
	.bpxg-hm .hm-kicker { gap: 10px; margin-bottom: 28px; font-size: 12px; letter-spacing: 2.2px; }
	.bpxg-hm .hm-kicker__line { width: 24px; }
	.bpxg-hm .hm-statement { font-size: 28px; letter-spacing: -.8px; }
	.bpxg-hm .hm-link { margin-top: 32px; padding-bottom: 5px; font-size: 16px; }
	.bpxg-hm .hm-link--dark { margin-top: 0; font-size: 15px; }
	.bpxg-hm .hm-list { margin-top: 32px; }
	.bpxg-hm .hm-list__item { padding: 16px 0; font-size: 16px; }

	.bpxg-hm .hm-about__grid { gap: 56px; }
	.bpxg-hm .hm-stats { gap: 32px 20px; }
	.bpxg-hm .hm-stat { padding-top: 16px; }
	.bpxg-hm .hm-stat__label { font-size: 13px; }
	.bpxg-hm .hm-stat__num { margin-top: 8px; font-size: 40px; letter-spacing: -1.4px; }

	.bpxg-hm .hm-track { min-height: 0; gap: 28px; padding: 36px 28px; border-radius: 20px 0 0 20px; background-size: 36px 36px; }
	.bpxg-hm .hm-track__label { margin-top: 16px; font-size: 15px; }
	.bpxg-hm .hm-track__num { margin-top: 6px; font-size: 72px; letter-spacing: -2.6px; }
	.bpxg-hm .hm-bars { gap: 12px; }
	.bpxg-hm .hm-bar { grid-template-columns: 60px minmax(0, 1fr) 40px; gap: 12px; font-size: 13px; }
	.bpxg-hm .hm-bar__track { height: 12px; }

	.bpxg-hm .hm-cre { padding-bottom: 124px; }
	.bpxg-hm .hm-work--main { border-radius: 20px 0 0 20px; }
	.bpxg-hm .hm-work--sub { left: 0; width: 50%; min-width: 0; border-width: 5px; border-radius: 14px; }
	.bpxg-hm .hm-work__tag { left: 14px; top: 14px; padding: 6px 12px; font-size: 12px; }
	.bpxg-hm .hm-work--sub .hm-work__tag { left: 8px; top: 8px; padding: 4px 9px; font-size: 11px; }
	.bpxg-hm .hm-work__play { width: 60px; height: 60px; }
	.bpxg-hm .hm-work__play svg { width: 22px; height: 22px; }
	.bpxg-hm .hm-work--sub .hm-work__play { display: none; }

	.bpxg-hm .hm-circle { display: none; }
	.bpxg-hm .hm-more__m { display: block; margin-top: 36px; }
	.bpxg-hm .hm-more__m .hm-btn { width: 100%; height: 60px; }
	.bpxg-hm .hm-marquee { gap: 4px; margin-top: 44px; padding: 18px 0; }
	.bpxg-hm .hm-marquee__track { animation-duration: 40s; }
	.bpxg-hm .hm-marquee__item { gap: 20px; padding-right: 20px; font-size: 44px; letter-spacing: -1.6px; line-height: 1.25; }
	.bpxg-hm .hm-marquee__item i { width: 10px; height: 10px; }
	.bpxg-hm .hm-marquee__track--line .hm-marquee__item { -webkit-text-stroke-width: 1.2px; }

	.bpxg-hm .hm-trust { padding: 72px 0; }
	.bpxg-hm .hm-trust__head { margin-bottom: 36px; }
	.bpxg-hm .hm-trust__kicker { margin-bottom: 12px; font-size: 12px; letter-spacing: 2.2px; }
	.bpxg-hm .hm-trust__title { margin-bottom: 14px; font-size: 28px; letter-spacing: -.8px; }
	.bpxg-hm .hm-trust__lead { font-size: 15px; }
	.bpxg-hm .hm-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 28px 24px; border-radius: 18px; }
	.bpxg-hm .hm-logos img { height: 38px; }
	.bpxg-hm .hm-news__head { gap: 10px; margin: 44px 0 18px; }
	.bpxg-hm .hm-news__badge { padding: 5px 10px; font-size: 12px; letter-spacing: 1.4px; }
	.bpxg-hm .hm-news__title { font-size: 17px; }
	.bpxg-hm .hm-news { border-radius: 16px; }
	.bpxg-hm .hm-news__row { align-items: flex-start; gap: 8px 14px; padding: 22px; }
	.bpxg-hm .hm-news__meta { flex: 1 1 auto; display: flex; align-items: baseline; gap: 8px; }
	.bpxg-hm .hm-news__outlet { font-size: 12px; }
	.bpxg-hm .hm-news__date { margin-top: 0; font-size: 12px; }
	.bpxg-hm .hm-news__headline { font-size: 16px; line-height: 1.5; }
	.bpxg-hm .hm-news__arrow { font-size: 18px; }

	.bpxg-hm .hm-cards { gap: 14px; padding-right: 24px; }
	.bpxg-hm .hm-card { flex-basis: 280px; min-height: 260px; padding: 26px; border-radius: 16px; }
	.bpxg-hm .hm-card__cat { padding: 5px 11px; font-size: 11px; }
	.bpxg-hm .hm-card__title { margin-top: 18px; font-size: 18px; }
	.bpxg-hm .hm-card__date { padding-top: 20px; font-size: 13px; }
	.bpxg-hm .hm-cards__nav { margin-top: 28px; padding-right: 24px; }
	.bpxg-hm .hm-cards__btn { width: 44px; height: 44px; }

	.bpxg-hm .hm-cta { padding: 80px 0; background-size: 36px 36px; }
	.bpxg-hm .hm-cta .hm-eyebrow { margin-bottom: 20px; }
	.bpxg-hm .hm-cta__title { font-size: 32px; letter-spacing: -1px; line-height: 1.3; }
	.bpxg-hm .hm-cta__lead { margin-top: 18px; font-size: 16px; }
	.bpxg-hm .hm-cta__actions { flex-direction: column; align-items: stretch; gap: 22px; width: 100%; }
	.bpxg-hm .hm-cta__actions .hm-btn { height: 56px; font-size: 17px; }
	.bpxg-hm .hm-cta__mail { align-self: center; font-size: 15px; }
}

/* Short phones (iPhone SE, Safari bars showing) — tighter hero copy so the AX keeps its room. */
@media (max-width: 560px) and (max-height: 620px) {
	.bpxg-hm .hm-hero .hm-eyebrow { margin-bottom: 14px; }
	.bpxg-hm .hm-hero__title { font-size: 40px; }
	.bpxg-hm .hm-hero__lead { margin-top: 14px; font-size: 16px; }
	.bpxg-hm .hm-hero__cta { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.bpxg-hm .hm-marquee__track { animation: none; }
	.bpxg-hm .hm-cards { scroll-behavior: auto; }
}

/* ==========================================================================
   Motion — opt-in. The inline script in page-home.php adds .hm-anim (skipped
   under prefers-reduced-motion); home.js adds .is-in to each [data-hm-section]
   as it enters the viewport. Without either class everything renders static.
   Reveal uses the individual `translate` / `scale` / `rotate` properties so the
   elements' own hover `transform`s keep working.
   ========================================================================== */
.bpxg-hm .hm-ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.bpxg-hm .hm-ln > span { display: inline-block; }

/* Statement / title lines rise out of their mask. */
.bpxg-hm.hm-anim .hm-ln > span { translate: 0 110%; transition: translate 1s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 90ms + 80ms); }
.bpxg-hm.hm-anim .is-in .hm-ln > span { translate: none; }

/* Everything else fades up, staggered by --i. The transition list repeats the
   elements' own hover transitions so this rule doesn't cancel them. */
.bpxg-hm.hm-anim .hm-rv { opacity: 0; translate: 0 28px; transition: opacity .8s ease calc(var(--i, 0) * 90ms + 80ms), translate 1s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 90ms + 80ms), transform .2s ease, box-shadow .2s ease, filter .15s ease, padding .15s ease; }
.bpxg-hm.hm-anim .is-in .hm-rv { opacity: 1; translate: none; }

/* Media panels wipe open from the right; the main work image settles from a zoom. */
.bpxg-hm.hm-anim .hm-wipe { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1) .15s; }
.bpxg-hm.hm-anim .is-in .hm-wipe { clip-path: inset(0); }
.bpxg-hm.hm-anim .hm-work--main img { scale: 1.18; transition: scale 1.8s cubic-bezier(.16,1,.3,1) .15s, transform .4s ease; }
.bpxg-hm.hm-anim .is-in .hm-work--main img { scale: 1; }

.bpxg-hm.hm-anim .hm-kicker__line { scale: 0 1; transform-origin: left center; transition: scale .8s cubic-bezier(.16,1,.3,1) .35s; }
.bpxg-hm.hm-anim .is-in .hm-kicker__line { scale: 1 1; }
.bpxg-hm.hm-anim .hm-bar__track span { scale: 0 1; transform-origin: left center; transition: scale 1.4s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 90ms + 500ms); }
.bpxg-hm.hm-anim .is-in .hm-bar__track span { scale: 1 1; }
.bpxg-hm.hm-anim .hm-circle { opacity: 0; scale: .5; rotate: -40deg; transition: opacity .5s ease .45s, scale 1s cubic-bezier(.34,1.56,.64,1) .45s, rotate 1s cubic-bezier(.34,1.56,.64,1) .45s, transform .2s ease; }
.bpxg-hm.hm-anim .is-in .hm-circle { opacity: 1; scale: 1; rotate: 0deg; }
.bpxg-hm.hm-anim .hm-hero__canvas { opacity: 0; transition: opacity 1.6s ease .2s; }
.bpxg-hm.hm-anim .is-in .hm-hero__canvas { opacity: 1; }

/* ---- Desktop section snap (html.hm-snap: ≥1025×720, motion allowed) ----
   Native CSS scroll-snap rather than a scroll-jacking script: wheel, keys and
   the scrollbar all keep working, and sections taller than the viewport still
   scroll inside. The CTA keeps its natural height and the footer snaps to the end. */
html.hm-snap { scroll-snap-type: y mandatory; }
/* snap-stop: a trackpad fling stops at the next section instead of skipping several. */
html.hm-snap .bpxg-hm [data-hm-section] { scroll-snap-align: start; scroll-snap-stop: always; }
html.hm-snap .bpxg-hm [data-hm-section]:not(.hm-cta) { min-height: 100vh; }
html.hm-snap .bpxg-hm .hm-about,
html.hm-snap .bpxg-hm .hm-more,
html.hm-snap .bpxg-hm .hm-trust { display: flex; flex-direction: column; justify-content: center; }
html.hm-snap .bpxg-hm .hm-split { align-content: center; }
html.hm-snap .bpxg-footer { scroll-snap-align: end; }

/* ---- Section pager (desktop): dots in a dark capsule so it reads on any ground ---- */
.bpxg-hm .hm-pager { display: none; }
@media (min-width: 1025px) {
	.bpxg-hm .hm-pager { position: fixed; z-index: 80; right: 24px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 999px; background: rgba(15,15,19,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .3s ease; }
	.bpxg-hm .hm-pager.is-hidden { opacity: 0; pointer-events: none; }
	.bpxg-hm .hm-pager__item { position: relative; display: flex; align-items: center; justify-content: center; width: 24px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
	.bpxg-hm .hm-pager__dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.45); transition: height .3s ease, background .3s ease; }
	.bpxg-hm .hm-pager__item:hover .hm-pager__dot { background: #fff; }
	.bpxg-hm .hm-pager__item[aria-current] { height: 36px; }
	.bpxg-hm .hm-pager__item[aria-current] .hm-pager__dot { height: 26px; background: var(--hm-yellow); }
	.bpxg-hm .hm-pager__label { position: absolute; right: calc(100% + 14px); top: 50%; translate: 6px -50%; padding: 6px 10px; border-radius: 999px; background: rgba(15,15,19,.82); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; white-space: nowrap; color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s ease, translate .2s ease; }
	.bpxg-hm .hm-pager__item:hover .hm-pager__label,
	.bpxg-hm .hm-pager__item:focus-visible .hm-pager__label { opacity: 1; translate: 0 -50%; }
}
