/* Motion, photos and clips on the public pages.
   Calm and short: things rise into place once, the gold words shimmer twice, clips play a few times while
   on screen, then stop (the sparkle band loops softly while on screen). Nothing moves for visitors who ask their device for less motion.
   The logo never moves and never sits on a photo or clip. Columns and gaps follow the page grid (14px gaps). */

/* ---------- photos and clips ---------- */
.photo { margin: 0; position: relative; aspect-ratio: 3 / 2; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.photo img, .photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a clip sits exactly on top of its still (site.js adds it only when motion is welcome) */
.photo video { position: absolute; inset: 0; }

/* ---------- the full-width band with a clip behind it ---------- */
section.mk-band { padding: 0; }
.mk-band { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #F4F5EC; border-block: 1px solid #2A2C1E; }
.mk-band-media { position: absolute; inset: 0; z-index: -2; }
.mk-band-media.for-light { display: none !important; }
:root[data-theme="light"] .mk-band-media.for-light { display: block !important; }
.mk-band-media img, .mk-band-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, .15) 100%); }
.mk-band > .wrap { padding-block: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; align-items: center; }
.mk-band .eyebrow { color: #E7BE31; }
.mk-band .gold-text { background: linear-gradient(90deg, #BED82B, #DADE37 45%, #E7BE31); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-band h2 { font: 800 34px/1.12 var(--head); margin: 10px 0 12px; color: #fff; }
.mk-band p { margin: 0; color: #D6D8C8; font-size: 16px; max-width: 460px; }
.mk-band .btn-row { margin-top: 20px; }
.mk-band .btn-line { color: #F4F5EC; border-color: rgba(244, 245, 236, .35); }
.mk-band .btn-line:hover { color: #FAEB53; border-color: #E7BE31; }

/* Facts in the band: the tile pattern (uppercase label, big value, short note) */
.mk-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mk-fact { padding: 16px 18px; border: 1px solid rgba(244, 245, 236, .14); border-radius: 14px; background: rgba(10, 11, 6, .66); backdrop-filter: blur(6px); min-width: 0; }
.mk-fact .lbl { display: block; font: 700 11px/1.4 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #B8B9AE; }
.mk-fact b { display: block; margin-top: 6px; font: 800 26px/1.15 var(--head); color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.mk-fact small { display: block; margin-top: 4px; font-size: 13px; color: #B8B9AE; }

/* Light theme: the same band on the light page (the clip is inverted so the sparkles turn dark gold on white) */
:root[data-theme="light"] .mk-band { background: #FEFEFE; color: var(--text); border-block-color: var(--border); }
:root[data-theme="light"] .mk-band::before { background: linear-gradient(90deg, rgba(254, 253, 246, .94) 0%, rgba(254, 253, 246, .7) 42%, rgba(254, 253, 246, .2) 100%); }
:root[data-theme="light"] .mk-band .eyebrow { color: var(--gold); }
:root[data-theme="light"] .mk-band h2 { color: var(--text); }
:root[data-theme="light"] .mk-band .gold-text { background: var(--grad-word); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .mk-band p { color: var(--text-2); }
:root[data-theme="light"] .mk-band .btn-line { color: var(--text); border-color: var(--border); }
:root[data-theme="light"] .mk-band .btn-line:hover { color: var(--gold); border-color: var(--gold-line); }
:root[data-theme="light"] .mk-fact { background: rgba(254, 254, 254, .82); border-color: var(--border); }
:root[data-theme="light"] .mk-fact .lbl, :root[data-theme="light"] .mk-fact small { color: var(--text-2); }
:root[data-theme="light"] .mk-fact b { color: var(--text); }

/* ---------- a section with a clip beside it (same columns as the boxes below: two halves, 14px apart) ---------- */
.mk-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.mk-media > .photo { aspect-ratio: auto; height: 100%; min-height: 300px; }
.mk-media .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Page intros with a photo on the right half */
.mk-intro-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: center; margin-bottom: 26px; }
.mk-intro-media .mk-intro { padding-right: 22px; }
.mk-intro-media .mk-intro .lead { margin-bottom: 0; }
.mk-intro-media .photo { aspect-ratio: 16 / 9; }
.mk-intro-media .photo img { object-position: 50% 35%; }

/* Partner boxes: the photo is the top of the card */
.pbox .photo { margin: -26px -26px 8px; border: 0; border-bottom: 1px solid var(--border); border-radius: 15px 15px 0 0; aspect-ratio: 2 / 1; }
.pbox .photo img { object-position: 50% 20%; }

/* ---------- small moving touches ---------- */
.pbox, .btn-gold { transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.pbox:hover { transform: translateY(-3px); border-color: var(--gold-line); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--btn-glow); }

@media (prefers-reduced-motion: no-preference) {
  /* The gold words in the big headings shimmer twice, then rest */
  .hero h1 .gold-text, :root[data-theme="light"] .hero h1 .gold-text,
  .mk-band h2 .gold-text, :root[data-theme="light"] .mk-band h2 .gold-text { background-size: 220% auto; animation: mt-shimmer 7s ease-in-out 2 alternate; }

  /* The home page heading area rises into place when the page opens (text only – never the logo) */
  .mk-hero .hero-grid > div:first-child > * { animation: mt-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .mk-hero .hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
  .mk-hero .hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .mk-hero .hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
  .mk-hero .hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
  .mk-hero .mk-dates { animation: mt-rise .9s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes mt-shimmer { from { background-position: 0 50%; } to { background-position: 100% 50%; } }
@keyframes mt-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Things rise into place as you scroll to them (site.js adds .motion to <html>, and .in when seen;
   it never adds .motion for visitors who asked for less motion) */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal-group.in > * { opacity: 1; transform: none; }
.motion .reveal-group.in > :nth-child(2) { transition-delay: .09s; }
.motion .reveal-group.in > :nth-child(3) { transition-delay: .18s; }
.motion .reveal-group.in > :nth-child(4) { transition-delay: .27s; }
.motion .reveal-group.in > :nth-child(n+5) { transition-delay: .36s; }
/* once risen, hover works at its normal speed again */
.motion .reveal-group.done > * { transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.motion .reveal-group.done > .pbox:hover { transform: translateY(-3px); }

/* ---------- tablets and phones ---------- */
@media (max-width: 980px) {
  .mk-band > .wrap { grid-template-columns: 1fr; row-gap: 24px; padding-block: 44px; }
  .mk-media { grid-template-columns: 1fr; }
  .mk-media > .photo { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .mk-intro-media { grid-template-columns: 1fr; gap: 20px; }
  .mk-intro-media .mk-intro { padding-right: 0; }
}
@media (max-width: 640px) {
  .mk-band > .wrap { padding-block: 40px; }
  .mk-band h2 { font-size: 26px; }
  .mk-band p { font-size: 15px; }
  .mk-band::before { background: linear-gradient(180deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .7)); }
  :root[data-theme="light"] .mk-band::before { background: linear-gradient(180deg, rgba(254, 254, 254, .94), rgba(254, 254, 254, .82)); }
  .mk-band .btn-row .btn { flex: 1; padding: 0 14px; }
  .mk-fact { padding: 12px 14px; }
  .mk-fact b { font-size: 21px; }
  .mk-media .steps { grid-template-columns: 1fr; }
}

/* ---------- less motion: everything is simply there ---------- */
@media (prefers-reduced-motion: reduce) {
  .pbox, .btn-gold, .motion .reveal-group.done > * { transition: none; }
  .pbox:hover, .btn-gold:hover, .motion .reveal-group.done > .pbox:hover { transform: none; }
}

/* ---------- printing: everything shows, no dark band ---------- */
@media print {
  .motion .reveal, .motion .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mk-band-media, .mk-band::before, .photo video { display: none !important; }
  .mk-band, .mk-band h2, .mk-band p, .mk-fact b, .mk-fact .lbl, .mk-fact small { background: none !important; color: #000 !important; }
  .mk-band .gold-text { background: none !important; color: #000 !important; -webkit-text-fill-color: #000; }
  .mk-fact { background: none !important; border-color: #999 !important; backdrop-filter: none; }
}

/* ======================= home hero: glows, clip with floating chips, example tracker ======================= */
.hx { isolation: isolate; }
.hx::before { display: none; }
.hx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hx-glow { position: absolute; border-radius: 50%; opacity: .55; }
.hx-glow.g1 { width: 620px; height: 620px; top: -220px; right: -120px; background: radial-gradient(closest-side, rgba(190, 216, 43, .22), transparent 72%); }
.hx-glow.g2 { width: 520px; height: 520px; bottom: -260px; left: -160px; background: radial-gradient(closest-side, rgba(231, 190, 49, .18), transparent 72%); }
.hx-glow.g3 { width: 360px; height: 360px; top: 30%; left: 42%; background: radial-gradient(closest-side, rgba(250, 235, 83, .10), transparent 72%); }
:root[data-theme="light"] .hx-glow.g1 { background: radial-gradient(closest-side, rgba(167, 197, 20, .20), transparent 72%); }
:root[data-theme="light"] .hx-glow.g2 { background: radial-gradient(closest-side, rgba(232, 188, 57, .20), transparent 72%); }
:root[data-theme="light"] .hx-glow.g3 { background: radial-gradient(closest-side, rgba(207, 199, 42, .12), transparent 72%); }

.hx-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--gold-line); border-radius: 999px; background: var(--gold-soft);
  font: 700 11.5px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hx-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(231, 190, 49, .6); }
.hx .btn-gold .ic { transition: transform .25s ease; }
.hx .btn-gold:hover .ic { transform: translateX(3px); }

.hx-visual { position: relative; }
.hx-stage { padding: 26px 30px 54px 34px; }
.hx-photo { aspect-ratio: 4 / 3.4; border-radius: 22px; border-color: var(--gold-line); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 6px rgba(231, 190, 49, .05); }
:root[data-theme="light"] .hx-photo { box-shadow: 0 26px 60px rgba(30, 40, 8, .18), 0 0 0 6px rgba(167, 197, 20, .08); }
.hx-photo img { object-position: 60% 40%; }

.hx-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; white-space: nowrap;
  border: 1px solid rgba(231, 190, 49, .26);
  background: linear-gradient(135deg, rgba(30, 32, 18, .94), rgba(12, 13, 7, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, .07), 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .25);
  will-change: transform; }
:root[data-theme="light"] .hx-chip { border-color: rgba(167, 197, 20, .35); background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(246, 248, 236, .94));
  box-shadow: inset 0 1px 0 #fff, 0 16px 34px -12px rgba(30, 40, 8, .28); }
.hx-chip .hx-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.hx-chip small { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.2; }
.hx-chip b { display: block; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; font-variant-numeric: tabular-nums; }
.hx-chip.c1 { top: 4px; left: 0; }
.hx-chip.c2 { top: 38%; right: 0; }
.hx-chip.c3 { bottom: 104px; left: -6px; }

.hx-track { position: absolute; right: 8px; bottom: 0; width: 300px; padding: 14px 16px; border-radius: 18px;
  border: 1px solid rgba(231, 190, 49, .32);
  background: linear-gradient(160deg, rgba(30, 32, 18, .96), rgba(10, 11, 6, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, .07), 0 24px 50px -14px rgba(0, 0, 0, .75); will-change: transform; }
:root[data-theme="light"] .hx-track { border-color: rgba(167, 197, 20, .35); background: linear-gradient(160deg, #fff, #F6F8EC); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -14px rgba(30, 40, 8, .3); }
.hx-track-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.hx-track-h b { font-weight: 700; color: var(--text); }
.hx-track-h span { color: var(--text-3); font-size: 12px; }
.hx-bar { height: 6px; margin: 10px 0 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.hx-bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--grad); }
.hx-track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 11.5px; color: var(--text-3); }
.hx-track li { position: relative; padding-top: 14px; }
.hx-track li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--border); }
.hx-track li.on { color: var(--text-2); }
.hx-track li.on::before { background: var(--gold); border-color: var(--gold); }
.hx-track li.now { color: var(--text); font-weight: 600; }
.hx-track li.now::before { border-color: var(--gold); }

/* ---------- the moving strip of plain facts ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.2 var(--head); color: var(--text-2); white-space: nowrap; }
.ticker-track .ic { color: var(--gold); }
section + .ticker, .ticker + section { border-top: 0; }

/* ---------- how it works: four steps on a line that draws itself ---------- */
.hx-steps { position: relative; }
.hx-steps .step { position: relative; }
.hx-steps .step .n { width: 40px; height: 40px; font-size: 15px; background: var(--bg); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.hx-steps::before { content: ""; position: absolute; left: 40px; right: 40px; top: 40px; height: 2px; background: var(--border); }
.hx-steps::after { content: ""; position: absolute; left: 40px; right: 40px; top: 40px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(1); }
.step:hover { border-color: var(--gold-line); }
.step:hover .n { background: var(--gold-soft); }

@media (prefers-reduced-motion: no-preference) {
  .hx-glow.g1 { animation: hx-drift 16s ease-in-out infinite alternate; }
  .hx-glow.g2 { animation: hx-drift 19s ease-in-out -6s infinite alternate-reverse; }
  .hx-glow.g3 { animation: hx-drift 23s ease-in-out -3s infinite alternate; }
  .hx-kicker i { animation: hx-ping 2.4s ease-out infinite; }
  .hx-visual > .hx-photo { animation: mt-rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .hx-chip.c1 { animation: mt-rise .8s .55s both, hx-float 6s 1.4s ease-in-out infinite alternate; }
  .hx-chip.c2 { animation: mt-rise .8s .75s both, hx-float 7s 1.6s ease-in-out infinite alternate-reverse; }
  .hx-chip.c3 { animation: mt-rise .8s .95s both, hx-float 6.5s 1.8s ease-in-out infinite alternate; }
  .hx-track { animation: mt-rise .9s 1.1s both; }
  .ticker-track { animation: hx-scroll 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .motion .hx-steps::after { transform: scaleX(0); transition: transform 1.4s .2s cubic-bezier(.2, .7, .2, 1); }
  .motion .hx-steps.in::after { transform: scaleX(1); }
}
@keyframes hx-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.15); } }
@keyframes hx-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(231, 190, 49, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(231, 190, 49, 0); } }
@keyframes hx-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hx-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hx-steps::before, .hx-steps::after { display: none; }
}
@media (max-width: 640px) {
  .hx-stage { padding: 18px 8px 70px 8px; }
  .hx-chip { padding: 8px 10px 8px 8px; gap: 8px; }
  .hx-chip .hx-ic { width: 26px; height: 26px; }
  .hx-chip b { font-size: 12.5px; }
  .hx-chip small { font-size: 10.5px; }
  .hx-chip.c1 { top: 0; left: 0; }
  .hx-chip.c2 { top: 42%; right: 0; }
  .hx-chip.c3 { display: none; }
  .hx-track { width: auto; left: 18px; right: 18px; }
  .ticker-track { gap: 30px; }
  .ticker-track span { font-size: 13px; }
}
@media print { .ticker, .hx-bg { display: none; } }

/* ======================= hero: hover the picture and the cards open out ======================= */
/* Only transform/opacity change, so it stays smooth while the clip plays. Nothing follows the mouse. */
.hx-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 90% at 60% 35%, transparent 55%, rgba(0, 0, 0, .45) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%, transparent 65%, rgba(0, 0, 0, .35)); }
:root[data-theme="light"] .hx-photo::after { background: radial-gradient(120% 90% at 60% 35%, transparent 60%, rgba(20, 26, 8, .22) 100%); }
.hx-photo::before { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 240, .18), transparent); transform: translateX(0) skewX(-12deg); opacity: 0; }
.hx-photo img, .hx-photo video { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.hx-visual:hover .hx-photo img, .hx-visual:hover .hx-photo video { transform: scale(1.06); }
.hx-photo { transition: box-shadow .6s ease, border-color .6s ease; }
.hx-visual:hover .hx-photo { border-color: rgba(231, 190, 49, .55); box-shadow: 0 34px 80px rgba(0, 0, 0, .6), 0 0 0 6px rgba(231, 190, 49, .1), 0 0 60px rgba(231, 190, 49, .12); }

/* the cards glide outward and glow */
.hx-chip, .hx-track { transition: translate .7s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, border-color .5s ease; }
.hx-visual:hover .hx-chip.c1 { translate: -18px -10px; }
.hx-visual:hover .hx-chip.c2 { translate: 22px -4px; }
.hx-visual:hover .hx-chip.c3 { translate: -22px 8px; }
.hx-visual:hover .hx-track { translate: 14px 14px; }
.hx-visual:hover .hx-chip, .hx-visual:hover .hx-track { border-color: rgba(231, 190, 49, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, .1), 0 26px 50px -14px rgba(0, 0, 0, .8), 0 0 28px rgba(231, 190, 49, .16); }
.hx-visual:hover .hx-chip .hx-ic { background: var(--gold); color: #121405; }
.hx-chip .hx-ic { transition: background .4s ease, color .4s ease; }

/* card text: one fact slides up and out, the next slides in */
.hx-txt { display: block; transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.hx-txt.out { opacity: 0; transform: translateY(-8px); }
.hx-txt.pre { opacity: 0; transform: translateY(8px); transition: none; }
.hx-chip { transition: translate .7s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, border-color .5s ease, width .45s cubic-bezier(.2, .7, .2, 1); }

/* the example order steps */
.hx-bar i { transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.hx-track li::before { transition: background .4s ease, border-color .4s ease, transform .4s ease; }
.hx-track li.now::before { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(231, 190, 49, .18); }
.hx-step { transition: opacity .3s ease; }

/* gold buttons: a light sweep on hover */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hx-visual:hover .hx-photo::before { animation: hx-sweep 1.3s cubic-bezier(.2, .7, .2, 1); }
  .btn-gold:hover::after { animation: hx-btn-sweep .9s cubic-bezier(.2, .7, .2, 1); }
  .hx-glow { will-change: transform; }
}
@keyframes hx-sweep { 0% { opacity: 0; transform: translateX(0) skewX(-12deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(420%) skewX(-12deg); } }
@keyframes hx-btn-sweep { 0% { opacity: 0; left: -60%; } 20% { opacity: 1; } 100% { opacity: 0; left: 130%; } }
@keyframes hx-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -8px, 0); } }
@media (prefers-reduced-motion: reduce) {
  .hx-visual:hover .hx-chip, .hx-visual:hover .hx-track { translate: none; }
  .hx-visual:hover .hx-photo img, .hx-visual:hover .hx-photo video { transform: none; }
}

/* ======================= partner cards: same shape, buttons on one line ======================= */
.mk-pbox { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.mk-pbox > p { min-height: 3.4em; min-height: 2lh; }
.mk-pbox > .pill { align-self: flex-start; }   /* a pill, not a full-width bar */
.mk-pbox .ticks { margin-bottom: 8px; }
.mk-pbox .btn { align-self: flex-start; }
.mk-pbox .mk-pbox-acts { margin-top: auto; }
@media (max-width: 760px) { .mk-pbox > p { min-height: 0; } }

/* ======================= light theme: warmer, with depth ======================= */
/* home sections alternate white and a soft cream, cards are white and lifted with a soft shadow */
:root[data-theme="light"] .hx { background: radial-gradient(1200px 600px at 85% -10%, #F6F3DF, transparent 60%), linear-gradient(180deg, #FFFEF8, #FEFEFE); }
:root[data-theme="light"] .hx ~ section:nth-of-type(even):not(.mk-band) { background: #FAF8EE; }
:root[data-theme="light"] .ticker { background: #FAF8EE; }
:root[data-theme="light"] .hx .tile, :root[data-theme="light"] .hx .disclose,
:root[data-theme="light"] .hx ~ section .step, :root[data-theme="light"] .hx ~ section .feat, :root[data-theme="light"] .hx ~ section .pbox,
:root[data-theme="light"] .hx ~ section .box, :root[data-theme="light"] .hx ~ section .faq,
:root[data-theme="light"] .hx ~ section .empty, :root[data-theme="light"] .hx ~ section .inv {
  background: #FFFFFF; border-color: #E6E7D6; box-shadow: 0 1px 2px rgba(30, 40, 8, .04), 0 14px 32px -20px rgba(30, 40, 8, .22); }
:root[data-theme="light"] .hx ~ section .step:hover, :root[data-theme="light"] .hx ~ section .pbox:hover { border-color: var(--gold-line); box-shadow: 0 1px 2px rgba(30, 40, 8, .05), 0 22px 40px -20px rgba(30, 40, 8, .3); }
:root[data-theme="light"] .hx-steps .step .n { background: #fff; box-shadow: 0 0 0 6px #fff; }
:root[data-theme="light"] .hx ~ section:nth-of-type(even) .hx-steps .step .n { background: #fff; }
/* dark theme: the same rhythm, very subtle */
.hx ~ section:nth-of-type(even):not(.mk-band) { background: linear-gradient(180deg, rgba(24, 26, 15, .55), rgba(10, 11, 6, .2)); }
:root[data-theme="light"] .hx ~ section:nth-of-type(even):not(.mk-band) { background: #FAF8EE; }
