/*
  HN Home Hero
  Universal module per Decisions 018 / 019. Brand-token references use the
  two-argument var(--token, hex) form; font stacks are inlined; the container
  utility and button styles are module-scoped. This lets the module render
  correctly on marketing-page templates that do not opt in to service-pages.css.
  When service-pages.css IS loaded, its custom-property values take precedence
  and the hex fallbacks are unused.
*/

.hn-home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-cream, #FAF7F0) 0%, var(--white, #FFFFFF) 100%);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* Vertical padding scale (desktop). Editor-controlled via the appearance
   top_padding / bottom_padding fields; --pt-default / --pb-default reproduce the
   original hardcoded 80px / 88px so existing content is unchanged. Mobile
   overrides live in the 680px breakpoint, where top padding keeps a header
   clearance floor (see that block). */
.hn-home-hero--pt-none    { padding-top: 0; }
.hn-home-hero--pt-tight   { padding-top: 56px; }
.hn-home-hero--pt-default { padding-top: 80px; }
.hn-home-hero--pt-loose   { padding-top: 120px; }

.hn-home-hero--pb-none    { padding-bottom: 0; }
.hn-home-hero--pb-tight   { padding-bottom: 56px; }
.hn-home-hero--pb-default { padding-bottom: 88px; }
.hn-home-hero--pb-loose   { padding-bottom: 128px; }

/* Module-scoped container so the module centres and pads itself even when
   .hn-container (from service-pages.css) is not available. */
.hn-home-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Confetti decorations */
.hn-home-hero__confetti {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}
.hn-home-hero__confetti--1 { top: 60px; right: 6%; width: 80px; }
.hn-home-hero__confetti--2 { bottom: 80px; left: 4%; width: 64px; animation: hn-home-hero-floaty 6s ease-in-out infinite; }
.hn-home-hero__confetti--3 { top: 160px; left: 46%; width: 48px; animation: hn-home-hero-floaty 7s ease-in-out infinite reverse; }
.hn-home-hero__confetti--4 { bottom: 150px; right: 40%; width: 44px; }
.hn-home-hero__confetti--5 { top: 40%; right: 3%; width: 40px; animation: hn-home-hero-floaty 8s ease-in-out infinite; }
.hn-home-hero__confetti--6 { top: 30px; left: 30%; width: 32px; }

@keyframes hn-home-hero-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Density: how many shapes render. Subtle 2, normal 4, lots 6. */
.hn-home-hero--density-subtle .hn-home-hero__confetti--3,
.hn-home-hero--density-subtle .hn-home-hero__confetti--4,
.hn-home-hero--density-subtle .hn-home-hero__confetti--5,
.hn-home-hero--density-subtle .hn-home-hero__confetti--6,
.hn-home-hero--density-normal .hn-home-hero__confetti--5,
.hn-home-hero--density-normal .hn-home-hero__confetti--6 {
  display: none;
}

/* Palette-driven confetti colours. The .hn-home-hero--{palette} modifier sets
   the six slot variables, and each shape pulls its colour from its slot. */
.hn-home-hero--warm     { --hnhh-c1: var(--tiger, #F8AD6D);  --hnhh-c2: var(--yellow, #F6EB61); --hnhh-c3: var(--violet, #6638B6);  --hnhh-c4: var(--fuchsia, #E45DBF); --hnhh-c5: var(--ruby, #E0004D);    --hnhh-c6: var(--green, #00B67A); }
.hn-home-hero--tech     { --hnhh-c1: var(--violet, #6638B6); --hnhh-c2: var(--yellow, #F6EB61); --hnhh-c3: var(--fuchsia, #E45DBF); --hnhh-c4: var(--tiger, #F8AD6D);   --hnhh-c5: var(--green, #00B67A);   --hnhh-c6: var(--ruby, #E0004D); }
.hn-home-hero--balanced { --hnhh-c1: var(--tiger, #F8AD6D);  --hnhh-c2: var(--yellow, #F6EB61); --hnhh-c3: var(--violet, #6638B6);  --hnhh-c4: var(--fuchsia, #E45DBF); --hnhh-c5: var(--green, #00B67A);   --hnhh-c6: var(--ruby, #E0004D); }

.hn-home-hero__confetti--1 .hn-home-hero__confetti-stroke { stroke: var(--hnhh-c1); }
.hn-home-hero__confetti--1 .hn-home-hero__confetti-fill   { fill:   var(--hnhh-c1); }
.hn-home-hero__confetti--2 .hn-home-hero__confetti-fill   { fill:   var(--hnhh-c2); }
.hn-home-hero__confetti--3 .hn-home-hero__confetti-stroke { stroke: var(--hnhh-c3); }
.hn-home-hero__confetti--4 .hn-home-hero__confetti-fill   { fill:   var(--hnhh-c4); }
.hn-home-hero__confetti--5 .hn-home-hero__confetti-stroke { stroke: var(--hnhh-c5); }
.hn-home-hero__confetti--6 .hn-home-hero__confetti-fill   { fill:   var(--hnhh-c6); }

/* Layout */
.hn-home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

/* Left column */
.hn-home-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ruby, #E0004D);
}

/* Headline. Sentence case here (not the design-system uppercase default) to match
   the homepage mockup, which leads with a sentence-case economics headline. */
.hn-home-hero__headline {
  font-family: 'Giorgio Sans', 'Bebas Neue', sans-serif;
  font-weight: 900;
  font-size: 84px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--navy, #00205B);
  margin: 0 0 22px;
}
.hn-home-hero__headline-accent { color: var(--fuchsia, #E45DBF); }

.hn-home-hero__lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted, #5A6B85);
  max-width: 560px;
  margin: 0 0 26px;
}
.hn-home-hero__lede p { margin: 0 0 12px; }
.hn-home-hero__lede p:last-child { margin-bottom: 0; }
.hn-home-hero__lede a {
  color: var(--ruby, #E0004D);
  text-decoration: none;
  font-weight: 700;
}
.hn-home-hero__lede a:hover { text-decoration: underline; }

/* Stats row: stacked, centered stats (value over label), styled after hn-pricing-hero,
   separated by thin vertical dividers. */
.hn-home-hero__stats {
  display: flex;
  align-items: flex-start;
  /* Fixed columns (mirrors hn-pricing-hero): stats stay side by side and the label wraps
     within its own column rather than reflowing the whole row. */
  flex-wrap: nowrap;
  gap: 14px 24px;
  margin-bottom: 28px;
}
.hn-home-hero__stat {
  /* Equal-width columns; min-width:0 lets a long label wrap to the next line inside the
     column instead of forcing the column wider. */
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted, #5A6B85);
}
.hn-home-hero__stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #00205B);
}
.hn-home-hero__stat-label { display: block; color: var(--muted, #5A6B85); }
.hn-home-hero__stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border-strong, #C9D0DC);
}

/* Buttons */
.hn-home-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 8px;
}
.hn-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  padding: 16px 32px;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Colour modifiers set the button colour token and its hover-fill token. */
.hn-home-hero__btn--navy    { --hnhh-btn: var(--navy, #00205B);    --hnhh-btn-hover: var(--navy-deep, #001A4A); }
.hn-home-hero__btn--fuchsia { --hnhh-btn: var(--fuchsia, #E45DBF); --hnhh-btn-hover: var(--fuchsia-deep, #A12480); }
.hn-home-hero__btn--ruby    { --hnhh-btn: var(--ruby, #E0004D);    --hnhh-btn-hover: var(--ruby, #E0004D); }

.hn-home-hero__btn--fill {
  background: var(--hnhh-btn);
  color: var(--white, #FFFFFF);
  border-color: var(--hnhh-btn);
}
.hn-home-hero__btn--fill:hover {
  background: var(--hnhh-btn-hover);
  border-color: var(--hnhh-btn-hover);
  transform: translateY(-1px);
}
.hn-home-hero__btn--outline {
  background: transparent;
  color: var(--hnhh-btn);
  border-color: var(--hnhh-btn);
}
.hn-home-hero__btn--outline:hover {
  background: var(--hnhh-btn);
  color: var(--white, #FFFFFF);
  transform: translateY(-1px);
}

/* Play glyph on a video CTA. currentColor per Decision 005 so it follows the button
   colour (white on fill, the button colour on outline). The button's flex gap spaces it. */
.hn-home-hero__btn-play-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Trustpilot spacing */
.hn-home-hero__trustpilot { margin-top: 24px; min-width: 200px; }
.hn-home-hero__text .hn-home-hero__trustpilot {
  padding-top: 24px;
  border-top: 1px solid var(--border, #E8EAF0);
}

/* Right column */
.hn-home-hero__feature-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Rotator. Slides are grid-stacked in a single cell so the container is as tall as the
   tallest slide (no JS height measurement needed), then cross-faded. The first slide is
   server-rendered .is-active, so with no JS the first item shows. The --multi modifier
   (set only when there is >1 slide) turns on the fade; single-slide rotators render the
   slide normally. Quote typography tokens are set by the size / weight modifiers below. */
.hn-home-hero__rotator {
  position: relative;
  margin-top: 40px;
  --hnhh-quote-size: 40px;
  --hnhh-quote-weight: 900;
}
.hn-home-hero__rotator--size-s { --hnhh-quote-size: 24px; }
.hn-home-hero__rotator--size-m { --hnhh-quote-size: 32px; }
.hn-home-hero__rotator--size-l { --hnhh-quote-size: 40px; }
/* DM Sans weight steps (400 / 500 / 700). Giorgio's 900 has no DM Sans equivalent. */
.hn-home-hero__rotator--weight-regular { --hnhh-quote-weight: 400; }
.hn-home-hero__rotator--weight-medium  { --hnhh-quote-weight: 500; }
.hn-home-hero__rotator--weight-bold    { --hnhh-quote-weight: 700; }

.hn-home-hero__rotator-track { display: grid; }
.hn-home-hero__rotator-track > .hn-home-hero__feature { grid-area: 1 / 1 / 2 / 2; }

.hn-home-hero__rotator--multi .hn-home-hero__feature {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.hn-home-hero__rotator--multi .hn-home-hero__feature.is-active {
  opacity: 1;
  visibility: visible;
}

/* Controls row (previous arrow, dots, next arrow), injected by module.js when there is
   more than one slide. The row owns the spacing above it; the dots sit flush inside. */
.hn-home-hero__rotator-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

/* Previous / next arrows. Small circular buttons flanking the dots. */
.hn-home-hero__rotator-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border-strong, #C9D0DC);
  border-radius: 50%;
  background: var(--white, #FFFFFF);
  color: var(--navy, #00205B);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hn-home-hero__rotator-arrow svg { width: 16px; height: 16px; }
.hn-home-hero__rotator-arrow:hover,
.hn-home-hero__rotator-arrow:focus-visible {
  color: var(--fuchsia, #E45DBF);
  border-color: var(--fuchsia, #E45DBF);
  box-shadow: 0 8px 32px rgba(0, 32, 91, 0.10);
}
.hn-home-hero__rotator-arrow:focus-visible {
  outline: 2px solid var(--fuchsia, #E45DBF);
  outline-offset: 2px;
}

/* Dot navigation, injected by module.js when there is more than one slide. The controls
   row owns the top spacing, so the dots reset their own margin inside it. */
.hn-home-hero__rotator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.hn-home-hero__rotator-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong, #C9D0DC);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hn-home-hero__rotator-dot:hover { background: var(--muted, #5A6B85); }
.hn-home-hero__rotator-dot.is-active {
  background: var(--fuchsia, #E45DBF);
  transform: scale(1.25);
}

.hn-home-hero__feature { margin: 0; }

.hn-home-hero__feature--quote {
  display: flex;
  flex-direction: column;
  /* Optional fixed box height (set via the Quote box height field). Defaults to 0 so the
     box is sized by content, i.e. the tallest slide, exactly as before. When set, shorter
     quotes fill this height and the attribution stays pinned to the bottom. */
  min-height: var(--hnhh-quote-box-height, 0);
  background: var(--white, #FFFFFF);
  border: 1px solid var(--border, #E8EAF0);
  border-radius: 24px;
  padding: 38px 36px;
  box-shadow: 0 18px 54px rgba(0, 32, 91, 0.13);
}
/* Decorative opening quote mark, in the display face. */
.hn-home-hero__quote-mark {
  display: block;
  font-family: 'Giorgio Sans', 'Bebas Neue', sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.45;
  height: 38px;
  color: var(--fuchsia, #E45DBF);
}
.hn-home-hero__quote-text {
  /* DM Sans body face: Giorgio Sans Heavy is a display face and reads poorly across
     several lines of quote copy. Line-height / letter-spacing retuned from the tight
     display values (1.05 / -0.01em) to comfortable body values. */
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--hnhh-quote-size);
  font-weight: var(--hnhh-quote-weight);
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--navy, #00205B);
  margin: 0;
}
.hn-home-hero__quote-text p { margin: 0 0 0.4em; }
.hn-home-hero__quote-text p:last-child { margin-bottom: 0; }
.hn-home-hero__quote-attribution {
  /* Anchor the attribution to the bottom of the box: margin-top:auto absorbs any spare
     height when the quote is shorter than the box. padding-top keeps a minimum gap even
     when the quote fills the box (auto collapses to 0), matching the previous 16px. */
  margin-top: auto;
  padding-top: 16px;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted, #5A6B85);
}

.hn-home-hero__feature--image { line-height: 0; }
.hn-home-hero__feature--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* Feature video (a rotator slide) and single-video mode share a responsive 16:9 rounded
   frame with the <video> filling it. Radius matches the image / quote treatments; shadow
   matches the quote card. aspect-ratio with a padding-top fallback for older engines. */
.hn-home-hero__feature--video { line-height: 0; }
.hn-home-hero__single-video { margin-top: 40px; }
.hn-home-hero__feature-video-frame,
.hn-home-hero__single-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-deep, #001A4A); /* letterbox behind the video / before the poster loads */
  box-shadow: 0 18px 54px rgba(0, 32, 91, 0.13);
}
.hn-home-hero__feature-video-el,
.hn-home-hero__single-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: cover;
  background: var(--navy-deep, #001A4A);
}
@supports not (aspect-ratio: 16 / 9) {
  .hn-home-hero__feature-video-frame,
  .hn-home-hero__single-video-frame {
    height: 0;
    padding-top: 56.25%;
  }
}

/* Footer band */
.hn-home-hero__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border, #E8EAF0);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 48px;
}
.hn-home-hero__footer-intro { max-width: 400px; }
.hn-home-hero__footer-lead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #00205B);
}
.hn-home-hero__footer-icon {
  display: inline-flex;
  color: var(--ruby, #E0004D);
}
.hn-home-hero__footer-icon svg { width: 22px; height: 22px; }
.hn-home-hero__footer-subtext {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #5A6B85);
}
.hn-home-hero__footer-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hn-home-hero__footer-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy, #00205B);
}
.hn-home-hero__footer-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-tint-green, #F0F8F4);
  color: var(--green-deep, #00805A);
  margin-top: 1px;
}
.hn-home-hero__footer-check svg { width: 12px; height: 12px; }

/* Tablet */
@media (max-width: 1024px) {
  .hn-home-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hn-home-hero__headline { font-size: 64px; }
  .hn-home-hero__lede { font-size: 18px; }
  /* Columns are stacked here; the grid gap handles the spacing above the carousel. */
  .hn-home-hero__rotator { margin-top: 0; }
  .hn-home-hero__single-video { margin-top: 0; }
  .hn-home-hero__rotator--size-l { --hnhh-quote-size: 34px; }
  .hn-home-hero__rotator--size-m { --hnhh-quote-size: 28px; }
}

/* Mobile: stack columns, left content first */
@media (max-width: 680px) {
  /* Mobile padding scale. Top padding keeps a generous floor even on None so the
     eyebrow clears the site's fixed mobile header with breathing room. */
  .hn-home-hero--pt-none    { padding-top: 64px; }
  .hn-home-hero--pt-tight   { padding-top: 72px; }
  .hn-home-hero--pt-default { padding-top: 84px; }
  .hn-home-hero--pt-loose   { padding-top: 104px; }

  .hn-home-hero--pb-none    { padding-bottom: 0; }
  .hn-home-hero--pb-tight   { padding-bottom: 32px; }
  .hn-home-hero--pb-default { padding-bottom: 48px; }
  .hn-home-hero--pb-loose   { padding-bottom: 72px; }

  .hn-home-hero__container { padding: 0 20px; }

  .hn-home-hero__grid { grid-template-columns: 1fr; gap: 32px; }

  .hn-home-hero__headline { font-size: 44px; margin-bottom: 18px; }
  .hn-home-hero__lede { font-size: 17px; }

  .hn-home-hero__rotator--size-l { --hnhh-quote-size: 27px; }
  .hn-home-hero__rotator--size-m { --hnhh-quote-size: 24px; }

  .hn-home-hero__feature--quote { padding: 30px 26px; }

  .hn-home-hero__buttons { flex-direction: column; align-items: stretch; }
  .hn-home-hero__btn { width: 100%; }

  .hn-home-hero__footer { flex-direction: column; gap: 24px; }

  /* Hide all confetti on mobile: on a narrow viewport the shapes crowd the
     content and sit under the buttons/headline rather than decorating the corners. */
  .hn-home-hero__confetti { display: none; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hn-home-hero__confetti--2,
  .hn-home-hero__confetti--3,
  .hn-home-hero__confetti--5 {
    animation: none;
  }
  /* module.js also skips auto-advance under reduced motion; disable the crossfade too. */
  .hn-home-hero__rotator--multi .hn-home-hero__feature { transition: none; }
}

/* Video lightbox. Fixed full-viewport overlay; hidden until module.js opens it. The
   <video> is injected into the mount on open and removed on close. Module-scoped classes,
   Universal token-with-fallback colours throughout. */
.hn-home-hero__video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hn-home-hero__video-lightbox[hidden] { display: none; }

.hn-home-hero__video-backdrop {
  position: absolute;
  inset: 0;
  background: var(--navy-deep, #001A4A);
  opacity: 0.85; /* opacity on the standalone backdrop element gives the translucent wash without an rgba literal */
  animation: hn-home-hero-video-fade 0.2s ease;
}

.hn-home-hero__video-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  background: var(--navy-deep, #001A4A);
  box-shadow: 0 16px 40px rgba(0, 32, 91, 0.30);
  animation: hn-home-hero-video-pop 0.2s ease;
}

.hn-home-hero__video-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--white, #FFFFFF);
  color: var(--navy, #00205B);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 32, 91, 0.20);
  transition: transform 0.2s;
}
.hn-home-hero__video-close:hover { transform: scale(1.06); }
.hn-home-hero__video-close svg { width: 20px; height: 20px; }

/* 16:9 responsive frame holding the injected <video> at full size. aspect-ratio with a
   padding-top fallback for older engines. */
.hn-home-hero__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-deep, #001A4A); /* letterbox bars behind object-fit: contain */
}
.hn-home-hero__video-mount,
.hn-home-hero__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hn-home-hero__video-el {
  display: block;
  border: none;
  object-fit: contain;
  background: transparent;
}
/* padding-top fallback where aspect-ratio is unsupported */
@supports not (aspect-ratio: 16 / 9) {
  .hn-home-hero__video-frame {
    height: 0;
    padding-top: 56.25%;
  }
}

@keyframes hn-home-hero-video-fade {
  from { opacity: 0; }
  to   { opacity: 0.85; }
}
@keyframes hn-home-hero-video-pop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  .hn-home-hero__video-lightbox { padding: 16px; }
  .hn-home-hero__video-close { top: -10px; right: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hn-home-hero__video-backdrop,
  .hn-home-hero__video-dialog {
    animation: none;
  }
  .hn-home-hero__video-close { transition: none; }
}
