/* vtw-countdown-timer.css */
/* VendTheWeb Section Library — vendtheweb.com */
/* Version: 1.1.0 */

/* ── Variable resolution ─────────────────────────────── */
.vtw-countdown-timer {
  --_bg:           var(--vtw-section-bg,     var(--vtw-brand-bg,     #faf9f7));
  --_text:         var(--vtw-section-text,   var(--vtw-brand-text,   #1a1a1a));
  --_accent:       var(--vtw-section-accent, var(--vtw-brand-accent, #5c6b3a));
  --_accent-text:  var(--vtw-section-accent-text, var(--vtw-brand-accent-text, #ffffff));
  --_heading-font: var(--vtw-section-heading-font,
                   var(--vtw-brand-heading-font, Georgia, serif));
  --_body-font:    var(--vtw-section-body-font,
                   var(--vtw-brand-body-font, 'Assistant', Georgia, serif));
  --_padding:      var(--_section-padding, 96px);
  --_gap:          var(--vtw-brand-element-gap, 24px);
  --_radius:       var(--vtw-brand-radius-md, 10px);
  --_max-width:    var(--vtw-brand-container-width, 1280px);
  --_speed:        var(--vtw-brand-speed, 250ms);
  --_border:       var(--vtw-section-border, var(--vtw-brand-border, #e8e3dc));
  --_surface:      var(--vtw-section-surface, var(--vtw-brand-surface, #f0ede8));

  /* Digit slot sizing — driven by data-digit-size.
     --_block-padding is split into top/inline because separator alignment
     does math on the top value via calc() — multi-value shorthand custom
     properties resolve to 0px inside calc(). */
  --_digit-size: clamp(40px, 6vw, 72px);
  --_digit-min-width: 2ch;
  --_separator-size: clamp(28px, 4.5vw, 56px);
  --_block-padding-top: 18px;
  --_block-padding-inline: 22px;

  font-family: var(--_body-font);
  color: var(--_text);
  background-color: var(--_bg);
}

.vtw-countdown-timer[data-digit-size="small"]   { --_digit-size: clamp(28px, 4vw, 40px); --_separator-size: clamp(22px, 3vw, 32px); --_block-padding-top: 12px; --_block-padding-inline: 14px; }
.vtw-countdown-timer[data-digit-size="default"] { --_digit-size: clamp(40px, 6vw, 72px); --_separator-size: clamp(28px, 4.5vw, 56px); --_block-padding-top: 18px; --_block-padding-inline: 22px; }
.vtw-countdown-timer[data-digit-size="large"]   { --_digit-size: clamp(48px, 7vw, 96px); --_separator-size: clamp(32px, 5vw, 72px); --_block-padding-top: 22px; --_block-padding-inline: 26px; }

/* Visually-hidden helper for SR-only summary */
.vtw-countdown-timer .visually-hidden {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Section layout ──────────────────────────────────── */
.vtw-countdown-timer[data-layout="section"] {
  padding-top: var(--_padding);
  padding-bottom: var(--_padding);
}

.vtw-countdown-timer__inner {
  max-width: var(--_max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
}

.vtw-countdown-timer[data-width="full"] .vtw-countdown-timer__inner {
  max-width: none;
  padding-inline: clamp(24px, 6vw, 80px);
}

/* ── Strong accent variant (section layout) ──────────── */
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] {
  background-color: var(--_accent);
  color: var(--_accent-text);
}

.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__label,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__heading,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__subheading,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__body,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__digit,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__unit-label,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__separator,
.vtw-countdown-timer[data-layout="section"][data-accent="strong"] .vtw-countdown-timer__expired-message {
  color: var(--_accent-text);
}

/* ── Header ──────────────────────────────────────────── */
.vtw-countdown-timer__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.vtw-countdown-timer[data-text-align="left"]   .vtw-countdown-timer__header { text-align: left;   align-items: flex-start; }
.vtw-countdown-timer[data-text-align="center"] .vtw-countdown-timer__header { text-align: center; align-items: center; }
.vtw-countdown-timer[data-text-align="right"]  .vtw-countdown-timer__header { text-align: right;  align-items: flex-end; }

.vtw-countdown-timer__label {
  font-family: var(--_body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--_accent);
  margin: 0;
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__label {
  color: var(--_accent-text);
  opacity: 0.85;
}

.vtw-countdown-timer__heading {
  font-family: var(--_heading-font);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: inherit;
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}

.vtw-countdown-timer__subheading {
  font-family: var(--_body-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
  margin: 0;
  max-width: 600px;
}

.vtw-countdown-timer__body {
  font-family: var(--_body-font);
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
  margin: 0;
  max-width: 640px;
}

.vtw-countdown-timer__body p { margin: 0 0 12px; }
.vtw-countdown-timer__body p:last-child { margin-bottom: 0; }

/* Defensive: any RTE link inside the body should adopt the section accent,
   not whatever Horizon's global .rte a styles set. Double-class scope wins
   the specificity race against Horizon's .rte a base color. */
.vtw-countdown-timer .vtw-countdown-timer__body.rte a { color: var(--_accent); }

/* ── Active group (digits + progress + CTA) ──────────── */
.vtw-countdown-timer__active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.vtw-countdown-timer[data-text-align="left"]  .vtw-countdown-timer__active { align-items: flex-start; }
.vtw-countdown-timer[data-text-align="right"] .vtw-countdown-timer__active { align-items: flex-end; }

/* ── Digits (section format) ─────────────────────────── */
.vtw-countdown-timer__digits {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.vtw-countdown-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: var(--_surface);
  border: 1px solid var(--_border);
  border-radius: var(--_radius);
  padding: var(--_block-padding-top) var(--_block-padding-inline);
  min-width: calc(var(--_digit-min-width) + 32px);
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__unit {
  background-color: color-mix(in srgb, var(--_accent-text) 12%, transparent);
  border-color: color-mix(in srgb, var(--_accent-text) 22%, transparent);
}

.vtw-countdown-timer__digit {
  font-family: var(--_heading-font);
  font-size: var(--_digit-size);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: inherit;
  min-width: var(--_digit-min-width);
  text-align: center;
}

.vtw-countdown-timer__unit-label {
  font-family: var(--_body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.7;
}

.vtw-countdown-timer__separator {
  font-family: var(--_heading-font);
  font-size: var(--_separator-size);
  font-weight: 700;
  line-height: 1;
  /* Punctuation-weight color — the colon is a separator, not an accent.
     Calm urgency converts better than visual alarm (cro-guidelines.md Rule 6). */
  color: inherit;
  opacity: 0.3;
  /* Top-align with the digit numeral within the inline-flex row, then push
     down by the unit's top padding so the colon's top edge sits flush with
     the top edge of the digit. Without `align-self`, default `stretch` would
     vertically center the separator through the unit-label area. */
  align-self: flex-start;
  padding-top: var(--_block-padding-top);
  user-select: none;
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__separator {
  color: var(--_accent-text);
  opacity: 0.5;
}

/* ── CTA ─────────────────────────────────────────────── */
.vtw-countdown-timer__cta-wrap {
  margin-top: 4px;
}

.vtw-countdown-timer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--_body-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--vtw-brand-button-radius, 8px);
  transition: background-color var(--_speed) ease,
              border-color var(--_speed) ease,
              color var(--_speed) ease,
              transform var(--_speed) ease;
  cursor: pointer;
}

.vtw-countdown-timer__cta[data-cta-style="primary"] {
  background-color: var(--_accent);
  color: var(--_accent-text);
  padding: 14px 26px;
  border: 1.5px solid var(--_accent);
}

.vtw-countdown-timer__cta[data-cta-style="primary"]:hover {
  background-color: color-mix(in srgb, var(--_accent) 88%, #000 12%);
  border-color: color-mix(in srgb, var(--_accent) 88%, #000 12%);
}

.vtw-countdown-timer__cta[data-cta-style="secondary"] {
  background-color: transparent;
  color: var(--_accent);
  padding: 14px 26px;
  border: 1.5px solid var(--_accent);
}

.vtw-countdown-timer__cta[data-cta-style="secondary"]:hover {
  background-color: color-mix(in srgb, var(--_accent) 10%, transparent);
}

.vtw-countdown-timer__cta[data-cta-style="subtle"] {
  background-color: transparent;
  color: var(--_accent);
  padding: 8px 0;
  border: none;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
}

.vtw-countdown-timer__cta[data-cta-style="subtle"]:hover {
  border-bottom-color: var(--_accent);
}

.vtw-countdown-timer__cta[data-cta-style="subtle"] .vtw-countdown-timer__cta-arrow {
  transition: transform var(--_speed) ease;
}

.vtw-countdown-timer__cta[data-cta-style="subtle"]:hover .vtw-countdown-timer__cta-arrow {
  transform: translateX(3px);
}

/* Strong-accent CTAs need inverted colors so they stay readable */
.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta[data-cta-style="primary"] {
  background-color: var(--_accent-text);
  color: var(--_accent);
  border-color: var(--_accent-text);
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta[data-cta-style="primary"]:hover {
  background-color: color-mix(in srgb, var(--_accent-text) 88%, var(--_accent) 12%);
  border-color: color-mix(in srgb, var(--_accent-text) 88%, var(--_accent) 12%);
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta[data-cta-style="secondary"],
.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta[data-cta-style="subtle"] {
  color: var(--_accent-text);
  border-color: color-mix(in srgb, var(--_accent-text) 70%, transparent);
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta[data-cta-style="subtle"]:hover {
  border-bottom-color: var(--_accent-text);
}

/* ── Expired state ───────────────────────────────────── */
/* Layout properties only on the base rule — `display` is set ONLY by the
   state selector below so the HTML `hidden` attribute can suppress this
   block until JS promotes data-state to "expired". */
.vtw-countdown-timer__expired {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.vtw-countdown-timer[data-text-align="left"]  .vtw-countdown-timer__expired { align-items: flex-start; }
.vtw-countdown-timer[data-text-align="right"] .vtw-countdown-timer__expired { align-items: flex-end; }

.vtw-countdown-timer__expired-message {
  font-family: var(--_heading-font);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  margin: 0;
  max-width: 600px;
  text-wrap: balance;
}

.vtw-countdown-timer[data-text-align="center"] .vtw-countdown-timer__expired-message { text-align: center; }
.vtw-countdown-timer[data-text-align="left"]   .vtw-countdown-timer__expired-message { text-align: left; }
.vtw-countdown-timer[data-text-align="right"]  .vtw-countdown-timer__expired-message { text-align: right; }

/* When the timer is expired, hide the active group and show the expired group.
   The `display: flex` here also overrides the [hidden] attribute on the
   expired wrapper — JS removes `hidden` to clean the a11y tree, but the
   visual swap is purely state-driven. */
.vtw-countdown-timer[data-state="expired"] [data-active] { display: none; }
.vtw-countdown-timer[data-state="expired"] [data-expired] { display: flex; }

/* hide_section mode — entire section collapses */
.vtw-countdown-timer[data-state="expired-hidden"] { display: none; }

/* ── Banner layout ───────────────────────────────────── */
.vtw-countdown-timer[data-layout="banner"] {
  padding-top: 0;
  padding-bottom: 0;
}

.vtw-countdown-timer__banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px clamp(20px, 4vw, 40px);
  background-color: var(--_surface);
  border-block: 1px solid var(--_border);
  font-family: var(--_body-font);
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Active and expired banners share the .__banner class, so the [hidden]
   attribute is silently overridden by the base `display: flex` rule above.
   Restore the implied `display: none` for hidden banners — the state
   selectors below remove `hidden` (via JS) when state flips to expired. */
.vtw-countdown-timer__banner[hidden] {
  display: none;
}

.vtw-countdown-timer[data-width="contained"][data-layout="banner"] .vtw-countdown-timer__banner {
  max-width: var(--_max-width);
  margin-inline: auto;
  border-inline: 1px solid var(--_border);
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner {
  background-color: var(--_accent);
  color: var(--_accent-text);
  border-color: color-mix(in srgb, var(--_accent-text) 18%, transparent);
}

.vtw-countdown-timer[data-text-align="left"][data-layout="banner"]   .vtw-countdown-timer__banner { justify-content: flex-start; }
.vtw-countdown-timer[data-text-align="center"][data-layout="banner"] .vtw-countdown-timer__banner { justify-content: center; }
.vtw-countdown-timer[data-text-align="right"][data-layout="banner"]  .vtw-countdown-timer__banner { justify-content: flex-end; }

.vtw-countdown-timer__banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--_accent);
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-icon {
  color: var(--_accent-text);
  opacity: 0.85;
}

.vtw-countdown-timer__banner-icon svg {
  width: 100%;
  height: 100%;
}

.vtw-countdown-timer__banner-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 auto;
}

.vtw-countdown-timer[data-text-align="center"][data-layout="banner"] .vtw-countdown-timer__banner-text {
  justify-content: center;
  flex: 0 1 auto;
}

.vtw-countdown-timer__banner-heading {
  font-weight: 600;
}

.vtw-countdown-timer__banner-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--_heading-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--_accent);
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-timer {
  color: var(--_accent-text);
}

.vtw-countdown-timer__banner-segment {
  display: inline-block;
  min-width: 1.6ch;
  text-align: right;
}

.vtw-countdown-timer__banner-suffix {
  font-family: var(--_body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 4px;
  opacity: 0.85;
}

.vtw-countdown-timer__banner-suffix:last-child { margin-right: 0; }

.vtw-countdown-timer__banner-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color var(--_speed) ease, color var(--_speed) ease;
}

.vtw-countdown-timer__banner-cta[data-cta-style="primary"] {
  background-color: var(--_accent);
  color: var(--_accent-text);
}

.vtw-countdown-timer__banner-cta[data-cta-style="primary"]:hover {
  background-color: color-mix(in srgb, var(--_accent) 88%, #000 12%);
}

.vtw-countdown-timer__banner-cta[data-cta-style="secondary"] {
  background-color: transparent;
  border: 1.5px solid var(--_accent);
  color: var(--_accent);
}

.vtw-countdown-timer__banner-cta[data-cta-style="secondary"]:hover {
  background-color: color-mix(in srgb, var(--_accent) 10%, transparent);
}

.vtw-countdown-timer__banner-cta[data-cta-style="subtle"] {
  background-color: transparent;
  color: var(--_accent);
  padding: 8px 4px;
  border-radius: 0;
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-cta[data-cta-style="primary"] {
  background-color: var(--_accent-text);
  color: var(--_accent);
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-cta[data-cta-style="primary"]:hover {
  background-color: color-mix(in srgb, var(--_accent-text) 88%, var(--_accent) 12%);
}

.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-cta[data-cta-style="secondary"],
.vtw-countdown-timer[data-accent="strong"][data-layout="banner"] .vtw-countdown-timer__banner-cta[data-cta-style="subtle"] {
  color: var(--_accent-text);
  border-color: color-mix(in srgb, var(--_accent-text) 70%, transparent);
}

/* Banner expired state */
.vtw-countdown-timer[data-state="expired"][data-layout="banner"] [data-active] { display: none; }
.vtw-countdown-timer[data-state="expired"][data-layout="banner"] [data-expired] { display: flex; }

/* ── Focus styles ────────────────────────────────────── */
.vtw-countdown-timer__cta:focus-visible,
.vtw-countdown-timer__banner-cta:focus-visible {
  outline: 2px solid var(--_accent);
  outline-offset: 3px;
}

.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__cta:focus-visible,
.vtw-countdown-timer[data-accent="strong"] .vtw-countdown-timer__banner-cta:focus-visible {
  outline-color: var(--_accent-text);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .vtw-countdown-timer[data-text-align-mobile="left"]   .vtw-countdown-timer__header { text-align: left;   align-items: flex-start; }
  .vtw-countdown-timer[data-text-align-mobile="center"] .vtw-countdown-timer__header { text-align: center; align-items: center; }
  .vtw-countdown-timer[data-text-align-mobile="right"]  .vtw-countdown-timer__header { text-align: right;  align-items: flex-end; }

  .vtw-countdown-timer[data-text-align-mobile="left"]   .vtw-countdown-timer__active,
  .vtw-countdown-timer[data-text-align-mobile="left"]   .vtw-countdown-timer__expired { align-items: flex-start; }
  .vtw-countdown-timer[data-text-align-mobile="center"] .vtw-countdown-timer__active,
  .vtw-countdown-timer[data-text-align-mobile="center"] .vtw-countdown-timer__expired { align-items: center; }
  .vtw-countdown-timer[data-text-align-mobile="right"]  .vtw-countdown-timer__active,
  .vtw-countdown-timer[data-text-align-mobile="right"]  .vtw-countdown-timer__expired { align-items: flex-end; }

  .vtw-countdown-timer[data-text-align-mobile="center"] .vtw-countdown-timer__expired-message { text-align: center; }
  .vtw-countdown-timer[data-text-align-mobile="left"]   .vtw-countdown-timer__expired-message { text-align: left; }
  .vtw-countdown-timer[data-text-align-mobile="right"]  .vtw-countdown-timer__expired-message { text-align: right; }

  .vtw-countdown-timer[data-text-align-mobile="left"][data-layout="banner"]   .vtw-countdown-timer__banner { justify-content: flex-start; }
  .vtw-countdown-timer[data-text-align-mobile="center"][data-layout="banner"] .vtw-countdown-timer__banner { justify-content: center; }
  .vtw-countdown-timer[data-text-align-mobile="right"][data-layout="banner"]  .vtw-countdown-timer__banner { justify-content: flex-end; }

  /* Tighter digit spacing on phones — separators and unit padding shrink first */
  .vtw-countdown-timer__digits {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .vtw-countdown-timer__unit {
    --_block-padding-top: 14px;
    --_block-padding-inline: 14px;
    min-width: calc(var(--_digit-min-width) + 24px);
  }

  /* Banner stacks heading + timer on top, CTA wraps to row 2 */
  .vtw-countdown-timer__banner {
    padding: 12px 20px;
  }

  .vtw-countdown-timer__banner-cta {
    margin-inline: auto;
  }

  .vtw-countdown-timer[data-text-align-mobile="left"][data-layout="banner"] .vtw-countdown-timer__banner-cta { margin-inline: 0 auto; }
  .vtw-countdown-timer[data-text-align-mobile="right"][data-layout="banner"] .vtw-countdown-timer__banner-cta { margin-inline: auto 0; }
}

/* Phones: 4 units don't fit on a single row at 375px even with tight padding,
   so flex-wrap leaves the trailing separator orphaned at the right edge.
   Switch to a 2-column grid and drop the separators — colon-as-punctuation
   doesn't survive a 2-row stack and the grid reads cleaner anyway. */
@media (max-width: 600px) {
  .vtw-countdown-timer__digits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 360px;
  }

  .vtw-countdown-timer__separator {
    display: none;
  }

  .vtw-countdown-timer__unit {
    width: 100%;
    min-width: 0;
  }
}

/* Very-narrow phones: shrink unit padding further for 320–380px viewports */
@media (max-width: 380px) {
  .vtw-countdown-timer__digits {
    gap: 8px;
  }

  .vtw-countdown-timer__unit {
    --_block-padding-top: 12px;
    --_block-padding-inline: 10px;
    min-width: 0;
  }
}

/* ── Reveal-on-scroll ────────────────────────────────── */
/* No-JS fallback: fully visible. JS adds .vtw-animate-ready synchronously
   to gate the hidden state. See learnings.md 2026-04 "no-JS progressive-enhancement". */
.vtw-countdown-timer[data-animate="true"].vtw-animate-ready .vtw-countdown-timer__inner > *,
.vtw-countdown-timer[data-animate="true"].vtw-animate-ready .vtw-countdown-timer__banner {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.vtw-countdown-timer[data-animate="true"].vtw-animate-ready.vtw-is-visible .vtw-countdown-timer__inner > *,
.vtw-countdown-timer[data-animate="true"].vtw-animate-ready.vtw-is-visible .vtw-countdown-timer__banner {
  opacity: 1;
  transform: translateY(0);
}

.vtw-countdown-timer[data-animate="true"].vtw-animate-ready.vtw-is-visible .vtw-countdown-timer__inner > :nth-child(2) { transition-delay: 80ms; }
.vtw-countdown-timer[data-animate="true"].vtw-animate-ready.vtw-is-visible .vtw-countdown-timer__inner > :nth-child(3) { transition-delay: 160ms; }

/* ── Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .vtw-countdown-timer[data-animate="true"].vtw-animate-ready .vtw-countdown-timer__inner > *,
  .vtw-countdown-timer[data-animate="true"].vtw-animate-ready .vtw-countdown-timer__banner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .vtw-countdown-timer * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
