/* ==========================================================================
   TopperMantra — home page
   Source: src/pages/index.html (built by scripts/build_pages.py)
   Everything is scoped under .hm. Tokens build on events.css (--ev-*).
   ========================================================================== */

.hm {
  --ink: #14110d;
  --ink-2: #3b3630;
  --muted: #6b645b;
  --line: #e7e1d7;
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --brand: #ff5b2e;
  --brand-2: #ff8a3d;
  --brand-ink: #c43d14;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: var(--font-inter), "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --display: "Bricolage Grotesque", var(--font-inter), "Inter", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  font-family: var(--sans);
  color: var(--ink);
  margin-top: -100px; /* the hero sits under the transparent header */
}
.ev:has(> .hm) { padding-top: 100px; }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm img { max-width: 100%; }
.hm :where(h1, h2, h3) { color: inherit; font-family: inherit; }
.hm-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- progress bar ---------- */
.hm-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.hm-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- shared type ---------- */
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.hm-eyebrow b {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .06em;
}
.hm-eyebrow--dark { color: rgba(255, 255, 255, .6); }
.hm-eyebrow--dark b { background: var(--brand); }
.hm-eyebrow--onbrand { color: rgba(255, 255, 255, .85); }
.hm-h2 {
  margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(30px, 3.6vw, 50px);
}
.hm-h2 em, .hm-final__title em {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--brand-ink);
}
.hm-h2--light { color: #fff; }
.hm-h2--light em { color: var(--brand-2); }
.hm-sub { margin: 0; font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.65; color: var(--ink-2); max-width: 52ch; }
.hm-sub--light { color: rgba(255, 255, 255, .7); }
.hm-serif { font-family: var(--display); font-style: normal; font-weight: 500; }

/* One display face for every heading so the type reads as one system */
.hm-hero__title, .hm-rot > span, .hm-tape__track span, .hm-num b, .hm-mentor__meta b, .hm-video h3,
.hm-path h3, .hm-path__stat, .hm-b h3, .hm-price b, .hm-final__title, .hm-dialog h3, .hm-mcard b,
.pg-hero__title, .pg-phase h3, .pg-step h3, .pg-journey__card b, .pg-chip b, .pg-other__body b,
.hm-why__title, .hm-why__item b, .hm-short__body b, .hm-recog__title, .hm-gallery__title {
  font-family: var(--display);
}

.hm-section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.hm-section--paper2 { background: var(--paper-2); }
.hm-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 3.6vw, 44px); }
@media (min-width: 900px) {
  .hm-head { grid-template-columns: 1.25fr 1fr; align-items: end; gap: 48px; }
  .hm-head .hm-sub { justify-self: end; }
}
.hm-head--center { text-align: center; justify-items: center; }
.hm-head--center { grid-template-columns: 1fr !important; }
.hm-center { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- buttons ---------- */
.hm .hm-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .35s, background-color .35s, color .35s, border-color .35s;
  will-change: transform;
}
.hm .hm-btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); flex: none; }
.hm-btn:hover svg { transform: translateX(4px); }
.hm-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.hm-btn:hover::before { transform: none; }
.hm .hm-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--brand) 70%, transparent); }
.hm .hm-btn--primary::before { background: var(--ink); }
.hm .hm-btn--dark { background: var(--ink); color: #fff; }
.hm .hm-btn--dark::before { background: var(--brand); }
.hm .hm-btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20, 17, 13, .2); }
.hm .hm-btn--ghost::before { background: var(--ink); }
.hm .hm-btn--ghost:hover { color: #fff; border-color: var(--ink); }
.hm .hm-btn--glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.hm .hm-btn--glass::before { background: #fff; }
.hm .hm-btn--glass:hover { color: var(--ink); }
.hm .hm-btn--light { background: #fff; color: var(--ink); }
.hm .hm-btn--light::before { background: var(--ink); }
.hm .hm-btn--light:hover { color: #fff; }
.hm .hm-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hm .hm-btn--outline-light::before { background: rgba(255, 255, 255, .16); }

/* ---------- entrance & scroll reveals ---------- */
.hm-in { display: inline-block; animation: hm-up 1s var(--ease) both; animation-delay: var(--d, 0ms); }
.hm-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hm-line > .hm-in { animation-name: hm-rise; animation-duration: 1.1s; }
@keyframes hm-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes hm-rise { from { transform: translateY(110%) rotate(3deg); } }

html.hm-js .hm [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
html.hm-js .hm [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
html.hm-js .hm [data-split] .hm-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html.hm-js .hm [data-split] .hm-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 55ms); }
html.hm-js .hm [data-split].is-in .hm-w > span { transform: none; }
html.hm-js .hm [data-reveal-group] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
html.hm-js .hm [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* ========================================================================
   HERO
   ======================================================================== */
.hm-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - 40px), 860px);
  padding: 118px 0 48px;
  background: var(--paper);
}
.hm-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hm-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20, 17, 13, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 17, 13, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}
.hm-hero__glow {
  position: absolute; width: 760px; height: 760px; border-radius: 50%;
  left: calc(var(--mx, 30%) - 380px); top: calc(var(--my, 40%) - 380px);
  background: radial-gradient(circle, rgba(255, 138, 61, .28) 0%, rgba(255, 91, 46, .1) 35%, transparent 65%);
  transition: left .8s var(--ease), top .8s var(--ease);
}
.hm-hero__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .hm-hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; }
}

.hm .hm-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 24px -14px rgba(20, 17, 13, .3);
  font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.hm-pill:hover { border-color: var(--brand); box-shadow: 0 10px 30px -12px rgba(255, 91, 46, .5); }
.hm-pill svg { width: 15px; height: 15px; color: var(--brand); transition: transform .35s var(--ease); }
.hm-pill:hover svg { transform: translateX(3px); }
.hm-pill__live {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.hm-pill__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(255, 91, 46, .7); animation: hm-ping 1.8s infinite; }
@keyframes hm-ping { 70% { box-shadow: 0 0 0 8px rgba(255, 91, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 46, 0); } }

.hm-hero__title { margin: 20px 0 0; font-weight: 700; color: var(--ink); line-height: .95; }
.hm-hero__title > .hm-line:first-child { font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -.035em; }
.hm-line--big { font-size: clamp(68px, 8.6vw, 128px); letter-spacing: -.055em; line-height: .9; font-weight: 800; overflow: visible !important; }
.hm-line--big > .hm-in { overflow: visible; }
.hm-hero__title > .hm-line:last-child { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.03em; color: var(--ink-2); font-weight: 500; margin-top: .55em; }
.hm-hero__pct { position: relative; display: inline-block; color: var(--brand); }
.hm-hero__underline {
  position: absolute; left: 2%; bottom: -.06em; width: 96%; height: .16em; overflow: visible; pointer-events: none;
}
.hm-hero__underline path {
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: hm-draw 1.1s 1s var(--ease) forwards;
}
@keyframes hm-draw { to { stroke-dashoffset: 0; } }

.hm-hero__rotator { margin: 20px 0 0; font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; color: var(--ink-2); display: flex; align-items: baseline; gap: .35em; flex-wrap: wrap; }
.hm-rot { position: relative; display: inline-grid; height: 1.35em; overflow: hidden; vertical-align: bottom; transition: width .5s var(--ease); }
.hm-rot > span {
  grid-area: 1 / 1; white-space: nowrap; color: var(--brand-ink);
  font-style: normal; font-weight: 700; font-size: 1.05em; line-height: 1.25;
  transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .5s;
}
.hm-rot > span.is-on { transform: none; opacity: 1; }
.hm-rot > span.is-out { transform: translateY(-110%); opacity: 0; }
html:not(.hm-js) .hm-rot > span:first-child { transform: none; opacity: 1; }

.hm-hero__lede { margin: 10px 0 0; font-size: clamp(15px, 1.15vw, 16px); line-height: 1.65; color: var(--muted); max-width: 50ch; }
.hm-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hm-hero__stats { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 0; padding: 0; }
.hm-hero__stats > div { padding: 0 22px; border-left: 1px solid var(--line); }
.hm-hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.hm-hero__stats dt { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; order: 2; }
.hm-hero__stats > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hm-hero__stats dd { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* hero art: drifting mentor columns */
.hm-hero__art {
  position: relative; height: clamp(420px, 64vh, 580px); max-width: 520px; justify-self: end; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  transform: rotate(-5deg) translateZ(0);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  animation: hm-up 1.2s .3s var(--ease) both;
}
.hm-hero__col { overflow: hidden; }
.hm-hero__col:nth-child(2) { margin-top: -48px; }
.hm-hero__track { animation: hm-col var(--dur, 40s) linear infinite; will-change: transform; }
.hm-hero__track.is-rev { animation-direction: reverse; }
.hm-hero__art:hover .hm-hero__track { animation-play-state: paused; }
@keyframes hm-col { to { transform: translateY(-50%); } }

.hm-mcard {
  position: relative; margin: 0 0 12px; border-radius: 16px; overflow: hidden;
  background: var(--tone, #ffe1d2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -24px rgba(20, 17, 13, .45);
  transition: transform .5s var(--ease);
}
.hm-mcard:hover { transform: scale(1.03); }
.hm-mcard img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 18%; mix-blend-mode: multiply; }
.hm-mcard figcaption { position: relative; padding: 13px 11px 10px; display: grid; gap: 1px; background: rgba(255, 255, 255, .6); }
.hm-mcard b { font-size: 12.5px; letter-spacing: -.01em; }
.hm-mcard span { font-size: 11px; color: var(--muted); }
.hm-mcard em {
  position: absolute; top: -9px; left: 10px; font-style: normal; white-space: nowrap;
  font-size: 8.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 4px 8px; border-radius: 999px;
}

.hm-hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(20, 17, 13, .3); border-radius: 999px; display: none;
}
.hm-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: hm-scroll 1.8s var(--ease) infinite; }
@keyframes hm-scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1024px) and (min-height: 760px) { .hm-hero__scroll { display: block; } }

@media (max-width: 1023px) {
  .hm-hero { padding-top: 120px; padding-bottom: 40px; }
  .hm-hero__art { height: 380px; max-width: none; transform: rotate(-4deg); margin: 0 -8px; }
}
@media (max-width: 599px) {
  .hm-hero__art { grid-template-columns: repeat(3, 1fr); height: 320px; gap: 10px; }
  .hm-mcard { margin-bottom: 10px; border-radius: 14px; }
  .hm-mcard figcaption span { display: none; }
  .hm-hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hm-hero__stats > div { padding: 0 14px; }
  .hm-hero__stats dd { font-size: 24px; }
  .hm-hero__stats dt { font-size: 11px; }
  .hm-btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .hm-hero__ctas .hm-btn { flex: 1 1 100%; }
}

/* ========================================================================
   TAPE (crossing marquee bands)
   ======================================================================== */
.hm-tape { position: relative; height: clamp(110px, 11vw, 150px); overflow: hidden; background: var(--paper); }
.hm-tape__band { position: absolute; left: -5%; width: 110%; display: flex; overflow: hidden; padding: 11px 0; }
.hm-tape__band--a { top: 22%; background: var(--ink); color: #fff; transform: rotate(-3deg); z-index: 2; box-shadow: 0 18px 40px -18px rgba(20, 17, 13, .6); }
.hm-tape__band--b { top: 34%; background: var(--brand); color: #fff; transform: rotate(2.4deg); }
.hm-tape__track { display: flex; align-items: center; gap: 28px; white-space: nowrap; padding-right: 28px; animation: hm-marquee 28s linear infinite; will-change: transform; }
.hm-tape__band--b .hm-tape__track { animation-direction: reverse; animation-duration: 34s; }
.hm-tape__track span { font-size: clamp(20px, 2.4vw, 32px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.hm-tape__band--b .hm-tape__track span { font-weight: 600; text-transform: none; letter-spacing: -.02em; }
.hm-tape__track i { font-style: normal; font-size: clamp(14px, 1.5vw, 20px); color: var(--brand); }
.hm-tape__band--b .hm-tape__track i { color: var(--ink); font-size: 14px; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }

/* ========================================================================
   NUMBERS
   ======================================================================== */
.hm-numbers { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.hm-numbers::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(255, 91, 46, .25), transparent);
}
.hm-numbers__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
@media (min-width: 900px) { .hm-numbers__grid { grid-template-columns: repeat(4, 1fr); } }
.hm-num { padding: 0 clamp(14px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; }
.hm-num b {
  font-size: clamp(36px, 4.2vw, 58px); font-weight: 900; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #ffb08f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-num b small { font-size: .5em; vertical-align: .6em; margin-left: 4px; }
.hm-num > span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }

/* ========================================================================
   MENTORS
   ======================================================================== */
.hm-tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); margin-bottom: 26px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tabs button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  height: 38px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  font: 600 13.5px/1 var(--sans); color: var(--muted); transition: color .35s;
}
.hm-tabs button[aria-selected="true"] { color: #fff; }
.hm-tabs__ink {
  position: absolute; z-index: 0; top: 5px; height: 38px; left: 0; width: 0; border-radius: 999px; background: var(--ink);
  transition: transform .55s var(--ease), width .55s var(--ease);
}
html:not(.hm-js) .hm-tabs { display: none; }

.hm-mentors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .hm-mentors { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px) { .hm-mentors { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1140px) { .hm-mentors { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.hm-mentor { display: flex; }
.hm-mentor.is-hidden { display: none; }
.hm-mentor.is-entering { animation: hm-pop .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes hm-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.hm-mentor__btn {
  position: relative; width: 100%; display: flex; flex-direction: column; text-align: left;
  padding: 6px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--sans); color: var(--ink);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  will-change: transform;
}
.hm-mentor__btn:hover { box-shadow: 0 30px 60px -30px rgba(20, 17, 13, .45); border-color: transparent; }
.hm-mentor__photo { display: block; position: relative; border-radius: 13px; overflow: hidden; background: var(--tone); aspect-ratio: 4 / 4.3; }
.hm-mentor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; mix-blend-mode: multiply; transition: transform .9s var(--ease); display: block; }
.hm-mentor__btn:hover .hm-mentor__photo img { transform: scale(1.07); }
.hm-mentor__rank {
  justify-self: start; margin-bottom: 2px; white-space: nowrap;
  font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-ink);
}
.hm-mentor__meta { display: grid; gap: 2px; padding: 10px 8px 4px; }
.hm-mentor__meta b { font-size: 14.5px; letter-spacing: -.02em; }
.hm-mentor__meta > span { font-size: 12px; color: var(--muted); }
.hm-mentor__meta ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; }
.hm-mentor__meta li { white-space: nowrap; font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.hm-mentor__more {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px; margin-top: auto;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink);
}
.hm-mentor__more svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.hm-mentor__btn:hover .hm-mentor__more svg { transform: translateX(4px); }
@media (max-width: 599px) {
  .hm-mentor__btn { padding: 6px; border-radius: 20px; }
  .hm-mentor__photo { border-radius: 15px; }
  .hm-mentor__meta ul { display: none; }
}

/* ========================================================================
   DARK CHAPTER — TMIC + VIDEOS
   ======================================================================== */
.hm-dark { background: #0d0b09; color: #fff; position: relative; overflow: hidden; }
.hm-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 40% at 80% 0%, rgba(255, 91, 46, .22), transparent 70%), radial-gradient(40% 30% at 0% 60%, rgba(99, 102, 241, .14), transparent 70%);
}
.hm-videos { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.hm-videos__grid { display: grid; gap: 28px; }
.hm-videos__grid > .hm-head { margin-bottom: 12px; grid-template-columns: 1fr; gap: 20px; }
.hm-videos__grid > .hm-head .hm-sub { justify-self: start; }
@media (min-width: 768px) and (max-width: 1023px) {
  .hm-videos__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hm-videos__grid > .hm-head, .hm-video.is-wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hm-videos__grid { grid-template-columns: 1.6fr .8fr .8fr; grid-template-rows: auto 1fr; column-gap: 20px; row-gap: 28px; }
  .hm-videos__grid > .hm-head { grid-column: 1; grid-row: 1; margin: 0; }
  .hm-video.is-wide { grid-column: 1; grid-row: 2; align-self: end; }
  .hm-video.is-vertical { grid-row: 1 / span 2; align-self: center; }
  .hm-video.is-vertical:last-child { margin-top: 56px; }
}
.hm-video { display: grid; gap: 16px; align-content: start; }
.hm-video__frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #000;
  border-radius: 24px; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
}
.hm-video.is-vertical .hm-video__frame { aspect-ratio: 9 / 15; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 6px #1f1b17, 0 0 0 7px rgba(255, 255, 255, .12); }
@media (max-width: 767px) {
  .hm-videos__grid { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .hm-videos__grid > .hm-head, .hm-video.is-wide { grid-column: 1 / -1; }
  .hm-video.is-vertical .hm-video__frame { border-radius: 22px; }
  .hm-video.is-vertical h3 { font-size: 15px; }
  .hm-video.is-vertical p { font-size: 12.5px; }
  .hm-video.is-vertical .hm-video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}
.hm-video__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease), filter .5s; filter: saturate(.9) brightness(.8); }
.hm-video__frame:hover img { transform: scale(1.06); filter: none; }
.hm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-video__play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 0 rgba(255, 91, 46, .55); animation: hm-ring 2.2s infinite;
  transition: transform .45s var(--ease);
}
.hm-video__frame:hover .hm-video__play { transform: scale(1.12); }
@keyframes hm-ring { 70% { box-shadow: 0 0 0 22px rgba(255, 91, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 46, 0); } }
.hm-video__tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.hm-video h3 { margin: 4px 0 4px; font-size: 16.5px; letter-spacing: -.02em; font-weight: 700; }
.hm-video p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .6); }

/* ========================================================================
   PATHS
   ======================================================================== */
.hm-paths { display: grid; gap: 18px; }
@media (min-width: 900px) { .hm-paths { grid-template-columns: 1fr 1fr; gap: 22px; } }
.hm-path {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px); border-radius: 24px; min-height: 0;
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.hm-path:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.hm-path::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  left: calc(var(--x, 50%) - 260px); top: calc(var(--y, 50%) - 260px);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%);
  opacity: 0; transition: opacity .5s;
}
.hm-path:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -50px rgba(20, 17, 13, .55); }
.hm-path:hover::before { opacity: 1; }
.hm-path__no { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hm-path h3 { margin: 14px 0 8px; font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; letter-spacing: -.045em; word-spacing: .06em; line-height: .95; }
.hm-path p { margin: 0; font-size: 15px; line-height: 1.6; color: inherit; opacity: .72; max-width: 40ch; }
.hm-path__stat { display: block; margin: 20px 0 0; font-size: clamp(28px, 2.8vw, 38px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.hm-path__stat span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; color: currentColor; }
.hm-path:first-child .hm-path__stat span { color: #fff; }
.hm-path ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; }
.hm-path li { padding: 10px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 14%, transparent); font-size: 14px; display: flex; gap: 12px; }
.hm-path li::before { content: "→"; color: var(--accent); font-weight: 700; }
.hm-path__cta {
  margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 15px;
}
.hm-path__cta svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.hm-path:hover .hm-path__cta svg { transform: translateX(6px); }

/* ========================================================================
   ON-GROUND MARQUEE
   ======================================================================== */
.hm-visits { padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.hm-visits__rows { display: grid; gap: 12px; }
.hm-visits__row { overflow: hidden; }
.hm-visits__track { display: flex; width: max-content; animation: hm-marquee 70s linear infinite; will-change: transform; }
.hm-visits__track.is-rev { animation-direction: reverse; animation-duration: 80s; }
.hm-visits__dup { display: flex; }
.hm-visits__row:hover .hm-visits__track { animation-play-state: paused; }
.hm-visit {
  flex: none; height: clamp(140px, 15vw, 200px); aspect-ratio: var(--ar); margin-right: 12px; padding: 0; border: 0;
  border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--paper-2);
}
.hm-visit img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), filter .6s; filter: saturate(.85); }
.hm-visit:hover img { transform: scale(1.06); filter: none; }

/* ========================================================================
   BENTO — FOR SCHOOLS
   ======================================================================== */
.hm-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .hm-bento { grid-template-columns: 1fr 1fr; } .hm-b--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .hm-bento {
    grid-template-columns: repeat(3, 1fr); gap: 18px;
    grid-template-areas: "a a b" "c d f" "e g f";
  }
  .hm-bento > :nth-child(1) { grid-area: a; }
  .hm-bento > :nth-child(2) { grid-area: b; }
  .hm-bento > :nth-child(3) { grid-area: c; }
  .hm-bento > :nth-child(4) { grid-area: d; }
  .hm-bento > :nth-child(5) { grid-area: e; }
  .hm-bento > :nth-child(6) { grid-area: f; }
  .hm-bento > :nth-child(7) { grid-area: g; }
}
.hm-b--price .hm-b__tag { align-self: flex-start; }
.hm-b {
  position: relative; overflow: hidden; border-radius: 20px; padding: 24px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.hm-b:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(20, 17, 13, .4); border-color: transparent; }
.hm-b h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.hm-b p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hm-b__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff1ea; color: var(--brand-ink); margin-bottom: 18px; transition: transform .5s var(--ease), background .3s, color .3s; }
.hm-b__ico svg { width: 22px; height: 22px; }
.hm-b:hover .hm-b__ico { transform: rotate(-10deg) scale(1.08); background: var(--brand); color: #fff; }
.hm-b__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--brand); color: #fff; margin-bottom: 14px; }
.hm-b--img { padding: 0; min-height: 250px; display: flex; align-items: flex-end; border: 0; background: var(--ink); }
.hm-b--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hm-b--img:hover img { transform: scale(1.06); }
.hm-b--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 17, 13, .9)); }
.hm-b--img > div { position: relative; z-index: 1; padding: 24px; color: #fff; max-width: 520px; }
.hm-b--img p { color: rgba(255, 255, 255, .75); }
.hm-b--price {
  background: var(--ink); color: #fff; border: 0; display: flex; flex-direction: column;
  background-image: radial-gradient(90% 60% at 100% 0%, rgba(255, 91, 46, .35), transparent 60%);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.hm-b--price h3 { font-size: 22px; }
.hm-price { margin: 18px 0 0 !important; color: rgba(255, 255, 255, .7) !important; font-size: 14px !important; }
.hm-price b { display: block; font-size: clamp(38px, 3.6vw, 48px); font-weight: 900; letter-spacing: -.05em; color: #fff; line-height: 1; margin: 6px 0 2px; }
.hm-b--price ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.hm-b--price li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.hm-b--price li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }
.hm-b--price .hm-btn { margin-top: auto; }

/* ========================================================================
   FINAL CTA
   ======================================================================== */
.hm-final { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); background: var(--paper-2); }
.hm-final__inner {
  position: relative; isolation: isolate; overflow: hidden; max-width: 1180px; margin: 0 auto;
  border-radius: clamp(22px, 3vw, 32px); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  background: linear-gradient(135deg, #ff5b2e 0%, #ff7a3a 55%, #ff9b4a 100%); color: #fff;
}
.hm-final__orbs i { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .6; animation: hm-float 12s ease-in-out infinite alternate; }
.hm-final__orbs i:nth-child(1) { width: 420px; height: 420px; right: -140px; top: -180px; background: #ffb067; opacity: .5; }
.hm-final__orbs i:nth-child(2) { width: 360px; height: 360px; left: -120px; bottom: -160px; background: #c43d14; animation-delay: -4s; }
.hm-final__orbs i:nth-child(3) { width: 220px; height: 220px; left: 45%; top: 30%; background: #ff3d6e; opacity: .35; animation-delay: -8s; }
@keyframes hm-float { to { transform: translate(40px, 30px) scale(1.1); } }
.hm-final__title { margin: 0; font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .86; }
.hm-final__title em { color: var(--ink) !important; }
.hm-final__inner > p { margin: 18px 0 0; font-size: clamp(15px, 1.2vw, 17px); max-width: 46ch; color: rgba(255, 255, 255, .9); line-height: 1.6; }
.hm-final__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ========================================================================
   DIALOGS
   ======================================================================== */
.hm-dialog, .hm-lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: var(--ink); font-family: var(--sans); }
.hm-dialog::backdrop, .hm-lightbox::backdrop { background: rgba(20, 17, 13, .55); backdrop-filter: blur(8px); }
.hm-dialog[open] .hm-dialog__card { animation: hm-sheet .55s var(--ease) both; }
.hm-lightbox[open] img { animation: hm-sheet .55s var(--ease) both; }
@keyframes hm-sheet { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.hm-dialog { width: min(880px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; overflow-y: auto; overscroll-behavior: contain; border-radius: 30px; }
.hm-dialog__card { position: relative; display: grid; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); }
@media (min-width: 720px) { .hm-dialog__card { grid-template-columns: 1fr 1.2fr; } }
.hm-dialog__photo { background: var(--tone, #ffe1d2); min-height: 280px; }
.hm-dialog__photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: 50% 15%; mix-blend-mode: multiply; display: block; }
@media (max-width: 719px) { .hm-dialog__photo { min-height: 0; } .hm-dialog__photo img { height: 230px; } .hm-dialog__body { gap: 8px; } }
.hm-dialog__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.hm-dialog__rank { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 11px; border-radius: 999px; }
.hm-dialog h3 { margin: 6px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.hm-dialog__college { margin: 0; color: var(--muted); font-weight: 600; }
.hm-dialog__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
.hm-dialog__facts div { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.hm-dialog__facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hm-dialog__facts dd { margin: 2px 0 0; font-weight: 700; }
.hm-dialog__desc { margin: 6px 0 0; line-height: 1.65; color: var(--ink-2); }
.hm-dialog__chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hm-dialog__chips li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.hm-dialog .hm-btn { margin-top: auto; align-self: flex-start; }
.hm-dialog__x {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease);
}
.hm-dialog__x:hover { transform: rotate(90deg); }
.hm-lightbox { width: 100vw; height: 100vh; margin: 0; display: none; place-items: center; }
.hm-lightbox[open] { display: grid; }
.hm-lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; border-radius: 20px; object-fit: contain; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
html.hm-lock { overflow: hidden; }

/* ========================================================================
   RECOGNITION (hero chip + band)
   ======================================================================== */
.hm .hm-pill--recog { padding: 5px 16px 5px 5px; gap: 12px; }
.hm-pill--recog img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--brand); }
.hm-pill--recog b { font-weight: 700; color: var(--ink); }

.hm-recog { background: var(--paper); padding: 8px 0 clamp(28px, 4vw, 48px); }
.hm-recog__card {
  display: grid; gap: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -44px rgba(20, 17, 13, .5);
}
@media (min-width: 760px) { .hm-recog__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
.hm-recog__photo { display: block; padding: 0; border: 0; cursor: zoom-in; background: var(--paper-2); height: 100%; min-height: 220px; overflow: hidden; }
.hm-recog__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform 1s var(--ease); }
.hm-recog__photo:hover img { transform: scale(1.04); }
.hm-recog__body { padding: clamp(22px, 3vw, 40px); display: grid; gap: 10px; justify-items: start; }
.hm-recog__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.hm-recog__tag svg { width: 16px; height: 16px; }
.hm-recog__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hm-recog__body p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* ========================================================================
   WHY TOPPERMANTRA (topper interviews + shorts)
   ======================================================================== */
.hm-why { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.hm-why__grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .hm-why__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; } }
.hm-why__player { position: relative; }
.hm-why__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #000;
  border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
}
.hm-why__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.hm-why__frame:hover img { transform: scale(1.03); }
.hm-why__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-why__item {
  width: 100%; display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-align: left; cursor: pointer;
  font-family: var(--sans); transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.hm-why__item:hover { background: rgba(255, 255, 255, .08); transform: translateX(3px); }
.hm-why__item.is-active { background: rgba(255, 91, 46, .12); border-color: rgba(255, 91, 46, .55); }
.hm-why__thumb { position: relative; display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.hm-why__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-why__item.is-active .hm-why__thumb::after { content: "Now playing"; position: absolute; inset: auto 6px 6px 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--brand); color: #fff; border-radius: 5px; padding: 3px 5px; text-align: center; }
.hm-why__meta { display: grid; gap: 2px; min-width: 0; }
.hm-why__meta small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.hm-why__meta b { font-size: 14.5px; line-height: 1.3; letter-spacing: -.01em; }
.hm-why__meta > span { font-size: 12px; color: rgba(255, 255, 255, .6); }
@media (max-width: 480px) { .hm-why__item { grid-template-columns: 104px 1fr; } }

.hm-shorts { margin-top: clamp(32px, 4vw, 48px); }
.hm-shorts__label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hm-shorts__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.hm-shorts__rail::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .hm-shorts__rail { grid-auto-columns: 46%; } }
.hm-short { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.hm-short__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 15; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #000;
  border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -36px rgba(0, 0, 0, .9);
}
.hm-short__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.hm-short__frame:hover img { transform: scale(1.06); }
.hm-short__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-short__frame .hm-video__play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.hm-short__badge { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.hm-short__body { display: grid; gap: 3px; color: #fff; }
.hm-short__body b { font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
.hm-short__body span { font-size: 12px; color: rgba(255, 255, 255, .6); }

/* header with a side button ("See our gallery") */
.hm-head__aside { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .hm-head__aside { justify-self: end; } }

/* ========================================================================
   GALLERY PAGE
   ======================================================================== */
.hm-gallery { padding: 130px 0 clamp(56px, 7vw, 96px); background: var(--paper); }
.hm-gallery .pg-crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.hm-gallery .pg-crumbs a { color: var(--muted); text-decoration: none; }
.hm-gallery .pg-crumbs b { color: var(--ink); font-weight: 600; }
.hm-gallery__grid { columns: 3 260px; column-gap: 14px; }
.hm-gallery__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); break-inside: avoid; }
.hm-gallery__item img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease), filter .5s; }
.hm-gallery__item:hover img { transform: scale(1.04); }

/* ========================================================================
   Reduced motion
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hm-hero__track, .hm-tape__track, .hm-visits__track { animation: none !important; }
  .hm-visits__row, .hm-tape__band { overflow-x: auto; }
}
