/* ============================================================
   دعوة خطوبة — آية و إبراهيم
   Same design world as the journal (warm ivory, charcoal, one
   warm gold, out-expo motion) — rebuilt RTL-first for guests.
   Arabic type: Amiri (display) + IBM Plex Sans Arabic (body).
   English type: Spectral + Hanken Grotesk (the journal's pair).
   ============================================================ */

/* ---------- Tokens (carried from the journal) ---------- */
:root {
  /* Type — swap the two AR families here if you prefer others */
  --serif-ar: "Amiri", "Times New Roman", serif;
  --sans-ar:  "IBM Plex Sans Arabic", system-ui, sans-serif;
  --serif-en: "Spectral", Georgia, "Times New Roman", serif;
  --sans-en:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Color — Light (Warm Ivory), OKLCH */
  --bg:        oklch(0.966 0.006 84);
  --surface:   oklch(0.944 0.009 82);
  --ink:       oklch(0.235 0.006 60);
  --ink-soft:  oklch(0.40  0.012 62);
  --muted:     oklch(0.505 0.018 66);
  --gold:      oklch(0.585 0.075 78);
  --gold-text: oklch(0.52  0.088 72);
  --gold-soft: oklch(0.72  0.066 80);
  --line:      oklch(0.235 0.006 60 / 0.14);
  --line-soft: oklch(0.235 0.006 60 / 0.08);

  /* Photographic wash — veil over the hands/rings background */
  --wash:      oklch(0.966 0.006 84 / 0.55);   /* base veil (thinner → photo more visible) */
  --wash-core: oklch(0.966 0.006 84 / 0.45);   /* extra veil behind the centered text */

  --gutter: clamp(1.25rem, 6vw, 3rem);

  --ease:      cubic-bezier(0.16, 1, 0.3, 1);   /* out-expo */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --shadow: 0 1px 2px oklch(0.235 0.006 60 / 0.05), 0 10px 30px oklch(0.235 0.006 60 / 0.07);

  --z-controls: 30;
  --z-opener: 60;
  --z-chooser: 200;
}

:root[data-theme="dark"] {
  --bg:        oklch(0.205 0.004 60);
  --surface:   oklch(0.245 0.005 62);
  --ink:       oklch(0.925 0.012 82);
  --ink-soft:  oklch(0.80  0.014 80);
  --muted:     oklch(0.685 0.020 76);
  --gold:      oklch(0.775 0.085 80);
  --gold-text: oklch(0.80  0.085 82);
  --gold-soft: oklch(0.70  0.075 80);
  --line:      oklch(0.925 0.012 82 / 0.16);
  --line-soft: oklch(0.925 0.012 82 / 0.08);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 14px 34px oklch(0 0 0 / 0.4);
  --wash:      oklch(0.205 0.004 60 / 0.60);
  --wash-core: oklch(0.205 0.004 60 / 0.50);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans-ar);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 9vh, 6rem) var(--gutter);
  transition: background-color 0.6s var(--ease-soft), color 0.6s var(--ease-soft);
}

/* Language-driven font switch */
html[dir="ltr"] body { font-family: var(--sans-en); }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- Living background (stage) ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}
.stage__photo, .stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage__photo { background: url("../img/rings.jpg") center / cover no-repeat; }
.stage__video { display: none; }

/* Variant switch: motion (photo) vs video */
html.bg-video .stage__photo { display: none; }
html.bg-video .stage__video { display: block; }

/* Slow Ken Burns drift — motion mode only */
html.bg-motion .stage__photo {
  animation: kenburns 36s var(--ease-soft) infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.5%, -2%, 0); }
}

/* Warm veil (keeps text readable over any media) */
.stage__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(125% 85% at 50% 48%, var(--wash-core) 0%, transparent 72%),
    var(--wash);
}

/* Floating warm light */
.stage__lights { position: absolute; inset: 0; }
.stage__lights span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  filter: blur(7px);
  opacity: 0;
  will-change: transform, opacity;
}
.stage__lights span:nth-child(1) { width: 90px;  height: 90px;  top: 12%; inset-inline-start: 14%; animation: drift 15s var(--ease-soft) infinite; }
.stage__lights span:nth-child(2) { width: 54px;  height: 54px;  top: 68%; inset-inline-start: 8%;  animation: drift 19s var(--ease-soft) 2s infinite; }
.stage__lights span:nth-child(3) { width: 120px; height: 120px; top: 30%; inset-inline-end: 10%;  animation: drift 22s var(--ease-soft) 1s infinite; }
.stage__lights span:nth-child(4) { width: 40px;  height: 40px;  top: 82%; inset-inline-end: 22%;  animation: drift 13s var(--ease-soft) 4s infinite; }
.stage__lights span:nth-child(5) { width: 70px;  height: 70px;  top: 50%; inset-inline-start: 46%; animation: drift 26s var(--ease-soft) 3s infinite; }
@keyframes drift {
  0%   { transform: translateY(14px) scale(0.9); opacity: 0; }
  50%  { transform: translateY(-14px) scale(1); opacity: 0.5; }
  100% { transform: translateY(14px) scale(0.9); opacity: 0; }
}
/* Video already carries its own bokeh — dim ours so it doesn't double up */
html.bg-video .stage__lights { opacity: 0.35; }

/* ---------- Corner controls ---------- */
.controls {
  position: fixed;
  inset-block-start: clamp(1rem, 3vh, 1.75rem);
  inset-inline-end: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: var(--z-controls);
}
.ctrl { display: grid; place-items: center; transition: opacity 0.4s var(--ease); }
.ctrl:hover { opacity: 0.62; }
.ctrl--lang {
  font-family: var(--sans-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 44px;
  min-height: 44px;
}
.ctrl--theme { width: 44px; height: 44px; color: var(--ink-soft); }
.ctrl--theme svg { display: block; }
/* Show the current mode: sun in light, moon in dark */
.ctrl--theme .ic-moon { display: none; }
:root[data-theme="dark"] .ctrl--theme .ic-sun { display: none; }
:root[data-theme="dark"] .ctrl--theme .ic-moon { display: block; color: var(--gold); }

.ctrl--music { width: 44px; height: 44px; color: var(--ink-soft); }
.ctrl--music svg { display: block; }
.ctrl--music .ic-slash, .ctrl--music .ic-wave { transition: opacity 0.3s var(--ease); }
.ctrl--music .ic-slash { opacity: 0; }
.ctrl--music.is-off .ic-wave { opacity: 0.2; }
.ctrl--music.is-off .ic-slash { opacity: 1; }

/* ---------- The card ---------- */
.card {
  width: min(40rem, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kicker {
  font-family: var(--sans-ar);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-block-end: clamp(1.5rem, 5vh, 2.75rem);
}
html[dir="ltr"] .kicker {
  font-family: var(--sans-en);
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.lede {
  font-size: clamp(1rem, 1rem + 0.4vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 34ch;
  text-wrap: balance;
  margin-block-end: clamp(1.25rem, 3.5vh, 2rem);
}

/* Names — the centerpiece */
.names {
  font-family: var(--serif-ar);
  font-weight: 700;
  font-size: clamp(2.75rem, 2rem + 8vw, 5rem);
  line-height: 1.08;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.1rem);
  text-wrap: balance;
}
html[dir="ltr"] .names { font-family: var(--serif-en); letter-spacing: -0.02em; }
.names .amp {
  font-family: var(--serif-en);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  font-size: 0.7em;
}

.occasion {
  font-family: var(--serif-ar);
  font-style: normal;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  color: var(--muted);
  margin-block-start: clamp(0.75rem, 2vh, 1.25rem);
}
html[dir="ltr"] .occasion { font-family: var(--serif-en); font-style: italic; }

/* Hairline rule with a centered gold dot */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(16rem, 60%);
  margin-block: clamp(2rem, 6vh, 3.25rem);
  position: relative;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(to var(--_to, right), transparent, var(--line));
}
.rule::after { --_to: left; }
.rule__dot {
  width: 9px; height: 9px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-inline: 0.9rem;
  flex: none;
  position: relative;
}
.rule__dot::before, .rule__dot::after {
  content: "";
  position: absolute;
  top: 50%; translate: 0 -50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
}
.rule__dot::before { inset-inline-start: -0.7rem; }
.rule__dot::after  { inset-inline-end: -0.7rem; }

/* Details — engraved essentials */
.details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 3.5rem);
  margin-block-end: clamp(2.25rem, 6vh, 3.5rem);
}
.detail { display: flex; flex-direction: column; gap: 0.4rem; }
/* Arabic monogram (آ / إ) sitting between the Date and Time columns */
.detail-sep {
  align-self: center;
  flex: none;
  font-family: var(--serif-ar);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 0.72;
  color: var(--gold);
  text-align: center;
}
.detail--full { flex-basis: 100%; }  /* Place always drops to its own row */
.detail__label {
  font-family: var(--sans-ar);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-text);
}
html[dir="ltr"] .detail__label {
  font-family: var(--sans-en);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.detail__value {
  font-family: var(--serif-ar);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--ink);
}
html[dir="ltr"] .detail__value { font-family: var(--serif-en); }

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 4vw, 2rem);
  margin-block-end: clamp(2.25rem, 6vh, 3.5rem);
}
.count { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 3.25rem; }
.count__num {
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count__label {
  font-family: var(--sans-ar);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
html[dir="ltr"] .count__label { font-family: var(--sans-en); }
.countdown__done {
  font-family: var(--serif-ar);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  color: var(--gold-text);
  margin-block-end: clamp(2.25rem, 6vh, 3.5rem);
}
html[dir="ltr"] .countdown__done { font-family: var(--serif-en); font-style: italic; }

/* Actions */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-block-end: clamp(2.75rem, 8vh, 4.5rem);
}
.cal { position: relative; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 1.6rem;
  padding-block: 0.8rem;
  border-radius: 10px;
  font-family: var(--sans-ar);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), opacity 0.4s var(--ease);
}
html[dir="ltr"] .btn { font-family: var(--sans-en); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { opacity: 0.9; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-text); }

/* Calendar popover */
.cal__menu {
  position: absolute;
  inset-block-start: calc(100% + 0.5rem);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 12rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cal__menu.open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cal__menu[hidden] { display: flex; } /* animate instead of hard-hide */
.cal__item {
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cal__item:hover { background: var(--bg); color: var(--ink); }

.closing {
  font-family: var(--serif-ar);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  color: var(--ink-soft);
  text-wrap: balance;
}
html[dir="ltr"] .closing { font-family: var(--serif-en); font-style: italic; }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.js .reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* No-JS or reduced-motion: everything visible, no offset */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Opening ceremony ---------- */
.opener { display: none; }
html.js .opener {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: var(--z-opener);
  background: var(--bg);
  cursor: pointer;
  transition: opacity 1s var(--ease), visibility 1s;
}
html.js.open-envelope .opener { perspective: 1000px; }
html.opened .opener { opacity: 0; visibility: hidden; pointer-events: none; }

.env, .veil { display: none; }
html.open-envelope .env { display: block; transform-style: preserve-3d; }
html.open-reveal .veil { display: grid; place-items: center; }

/* Envelope */
.env__body {
  position: relative;
  width: min(80vw, 320px);
  aspect-ratio: 3 / 2;
  filter: drop-shadow(0 24px 50px oklch(0.235 0.006 60 / 0.24));
}
/* Pocket = the envelope rectangle; ::after draws the two seams that rise from
   the bottom corners to the centre (the front pocket edges). */
.env__pocket {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid color-mix(in oklch, var(--ink), transparent 80%);
  border-radius: 10px;
  overflow: hidden;
}
.env__pocket::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top left,  transparent calc(50% - 0.75px), color-mix(in oklch, var(--ink), transparent 74%) 50%, transparent calc(50% + 0.75px)),
    linear-gradient(to top right, transparent calc(50% - 0.75px), color-mix(in oklch, var(--ink), transparent 74%) 50%, transparent calc(50% + 0.75px));
}
/* Flap = top triangle in a clearly darker shade, so the envelope actually reads */
.env__flap {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 60%;
  background: color-mix(in oklch, var(--surface), var(--ink) 9%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1s var(--ease);
  z-index: 3;
  backface-visibility: hidden;
  box-shadow: 0 3px 9px oklch(0.235 0.006 60 / 0.15);
}
.seal {
  position: absolute;
  inset-block-start: 60%;
  inset-inline-start: 50%;
  width: 66px; height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--gold-soft), var(--gold) 52%, oklch(0.43 0.072 72));
  box-shadow:
    0 6px 18px oklch(0.43 0.072 72 / 0.5),
    inset 0 1px 3px oklch(1 0 0 / 0.45),
    inset 0 -3px 5px oklch(0.3 0.05 70 / 0.4);
  display: grid;
  place-items: center;
  z-index: 4;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.seal__mono {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--bg);
}
.seal__mono .amp { font-size: 0.8em; padding-inline: 0.03em; opacity: 0.85; }
html.opened .env__flap { transform: rotateX(-172deg); z-index: 1; }
html.opened .seal { transform: scale(0.5) translateY(28px); opacity: 0; }
html.opened .env {
  transform: scale(0.92) translateY(14px);
  opacity: 0;
  transition: transform 0.8s 0.45s var(--ease), opacity 0.8s 0.45s var(--ease);
}

/* Cinematic reveal */
.veil__mono {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 5rem);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.25em;
  transition: transform 1.1s var(--ease), opacity 0.9s var(--ease);
}
.veil__amp {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.62em;
  color: var(--gold);
}
html.opened .veil__mono { transform: scale(1.16); opacity: 0; }

.opener__hint {
  position: absolute;
  inset-block-end: clamp(3rem, 12vh, 6rem);
  inset-inline: 0;
  text-align: center;
  font-family: var(--sans-ar);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  animation: hintPulse 2.6s var(--ease-soft) infinite;
}
html[dir="ltr"] .opener__hint { font-family: var(--sans-en); }
html.opened .opener__hint { opacity: 0; animation: none; transition: opacity 0.4s; }
@keyframes hintPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.9; } }

/* ---------- Temporary compare-options chooser ---------- */
.chooser {
  position: fixed;
  inset-block-end: 1rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: var(--z-chooser);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  box-shadow: var(--shadow);
  font-family: var(--sans-en);
  font-size: 0.72rem;
}
html[dir="ltr"] .chooser { transform: translateX(-50%); }
.chooser__row { display: flex; align-items: center; gap: 0.4rem; }
.chooser__label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.chooser button {
  padding: 0.35rem 0.7rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chooser button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chooser[hidden] { display: none; }  /* the hidden attribute must win over display:flex */

/* ---------- Live micro-animations (subtle, always-on ambient life) ---------- */
/* Countdown digits slide in each time they change */
@keyframes tick { from { opacity: 0; transform: translateY(-0.4em); } to { opacity: 1; transform: none; } }
.count__num.tick { animation: tick 0.42s var(--ease); }

/* The gold ornament breathes with a soft glow */
@keyframes ornamentBreathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50%      { transform: scale(1.22); filter: drop-shadow(0 0 4px var(--gold-soft)); }
}
.rule__dot { animation: ornamentBreathe 4s var(--ease-soft) infinite; }

/* The ampersand + Arabic monogram gently pulse */
@keyframes ampBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.66; } }
.names .amp { animation: ampBreathe 4.5s var(--ease-soft) infinite; }
.detail-sep { animation: ampBreathe 4.5s var(--ease-soft) infinite; }

/* Buttons get a soft gold sheen on hover/press */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, oklch(1 0 0 / 0.14) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

@media (prefers-reduced-motion: reduce) {
  .count__num.tick, .rule__dot, .names .amp, .detail-sep { animation: none !important; }
  .btn--primary::after { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: opacity 0.3s ease !important; }
  .btn:hover { transform: none; }
  html.bg-motion .stage__photo { animation: none; }
  .stage__lights span { animation: none !important; opacity: 0.28 !important; }
  .opener__hint { animation: none; }
  .env__flap, .seal, .env, .veil__mono { transition: opacity 0.4s ease !important; }
  html.opened .env__flap, html.opened .veil__mono { transform: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Phones: tighten the vertical rhythm so the card fits one screen ---------- */
@media (max-width: 480px) {
  /* Extra top padding clears the fixed corner icons so the centered card
     never rides up under them on short (chrome-reduced) viewports. */
  body { padding-block-start: 4.5rem; padding-block-end: 1.75rem; }
  .kicker { margin-block-end: 1rem; }
  .lede { margin-block-end: 0.75rem; font-size: 0.98rem; }
  .names { font-size: 2.35rem; }
  .occasion { margin-block-start: 0.4rem; }
  .rule { margin-block: 1.15rem; width: min(13rem, 52%); }
  .details { margin-block-end: 1.25rem; gap: 1rem 1.75rem; }
  .countdown { margin-block-end: 1.25rem; gap: 0.85rem; }
  .actions { margin-block-end: 1.25rem; }
  .count__num { font-size: 1.7rem; }
}
