/* pages/home.css — solo la homepage. Ha la sua cascata di animazioni
   d'ingresso su misura (.anim-1...anim-feedback, in fondo), diversa dal
   sistema generico .reveal in base.css — usata SOLO qui apposta, per
   non avere due meccanismi di rivelazione sulla stessa pagina. */

/* ── Background logo watermark ────────────────
   .home-page::before è disabilitato subito sotto (il vero sfondo della
   home è il .site-bg-gradient/.site-bg-lineart globale di base.css);
   la regola resta per completezza/cronologia, non elimino un selettore
   che qualcuno potrebbe voler riattivare. */
.home-page { position: relative; }
.home-page::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image: url('../../images/orangucards_logo_scritta.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60vh;
  opacity: .04;
  pointer-events: none;
  z-index: -1;
}
.home-page::before { display: none; }

.home-page {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  /* Pagina hero (PRODUCT.md/DESIGN.md): --copper diventa --fuoco-vivo,
     l'arancione pieno del logo, al posto del rame antico delle pagine
     interne. --copper-bright e --gold restano gli stessi token del
     resto del sito — niente una terza gradazione di arancio solo per
     la home. */
  --copper:        var(--fuoco-vivo);
  --copper-glow:   rgba(255,106,0,.18);
  --copper-border: rgba(255,106,0,.32);
  --copper-dim:    rgba(255,106,0,.58);
  --glow-copper:   0 0 36px rgba(255,106,0,.38);
  --shadow-md:     0 6px 24px rgba(0,0,0,.62);
}

/* ── Hero frame: carta leggendaria ───────────── */
.hero-frame {
  position: relative;
  border: 1px solid var(--copper-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,106,0,.10) 0%, transparent 50%),
    radial-gradient(ellipse 90% 80% at 75% 40%, rgba(255,80,0,.07), transparent),
    radial-gradient(ellipse 35% 35% at 15% 85%, rgba(255,140,42,.05), transparent),
    var(--surface);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 0;
  box-shadow:
    0 40px 90px rgba(0,0,0,.88),
    0 0 0 1px rgba(255,106,0,.14),
    inset 0 1px 0 rgba(255,106,0,.24),
    inset 0 -1px 0 rgba(0,0,0,.5);
  animation: anim-frame-in .55s cubic-bezier(.25,.46,.45,.94) both;
}

/* Linea copper in cima */
.hero-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper-bright), transparent);
}

/* ── Angoli ornamentali ──────────────────────── */
.hero-frame-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 4;
  animation: anim-corner-in .45s ease .35s both;
}

.hero-frame-corner::before,
.hero-frame-corner::after {
  content: '';
  position: absolute;
  background: var(--copper-bright);
  border-radius: var(--radius-pill);
}

.hero-frame-corner::before { width: 100%; height: 1.5px; }
.hero-frame-corner::after  { width: 1.5px; height: 100%; }

.hero-frame-corner--tl { top: 13px; left: 13px; }
.hero-frame-corner--tl::before { top: 0; left: 0; }
.hero-frame-corner--tl::after  { top: 0; left: 0; }

.hero-frame-corner--tr { top: 13px; right: 13px; }
.hero-frame-corner--tr::before { top: 0; right: 0; }
.hero-frame-corner--tr::after  { top: 0; right: 0; left: auto; }

.hero-frame-corner--bl { bottom: 13px; left: 13px; }
.hero-frame-corner--bl::before { bottom: 0; left: 0; top: auto; }
.hero-frame-corner--bl::after  { bottom: 0; left: 0; top: auto; }

.hero-frame-corner--br { bottom: 13px; right: 13px; }
.hero-frame-corner--br::before { bottom: 0; right: 0; top: auto; left: auto; }
.hero-frame-corner--br::after  { bottom: 0; right: 0; top: auto; left: auto; }

/* ── Layout interno ──────────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  /* Le righe non hanno gap: la spaziatura verticale è nei margini degli
     elementi. Il gap resta solo tra le colonne. */
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* Colonna testo "aperta" nel grid: badge e titolo stanno accanto al
   riquadro logo, mentre paragrafo e pulsanti occupano tutta la larghezza
   del box, fino al margine destro, come gli altri testi del sito. */
.hero-text { display: contents; }
.hero-badge        { grid-column: 1; grid-row: 1; justify-self: start; }
.hero-text h1      { grid-column: 1; grid-row: 2; }
.hero-art          { grid-column: 2; grid-row: 1 / 3; }
.hero-text p       { grid-column: 1 / -1; grid-row: 3; }
.hero-actions      { grid-column: 1 / -1; grid-row: 4; }

/* ── Colonna testo ───────────────────────────── */
.hero-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper-border);
  border-radius: 999px;
  padding: .3rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 1.25rem;
  text-shadow: 0 4px 32px rgba(255,106,0,.18), 0 2px 6px rgba(0,0,0,.65);
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.78;
  max-width: none;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* ── Art box: logo ───────────────────────────── */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--copper-border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  overflow: hidden;
  min-height: 310px;
  /* Margine uniforme: il taglio a destra era dovuto alla colonna 1fr del
     grid (ora minmax(0, 1fr)), non alla posizione del box. */
  margin: 0 1.25rem 1.25rem;
  /* In alto, non al centro della colonna: la distanza dal bordo del frame
     è il padding del frame stesso, la stessa del badge del testo a sinistra. */
  align-self: start;
  min-width: 0;
  box-shadow:
    inset 0 4px 30px rgba(0,0,0,.55),
    inset 0 0 80px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,106,0,.16),
    0 6px 28px rgba(0,0,0,.55);
}

/* Sweep di luce — attraversa l'art box ogni ~13s */
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 20%,
    rgba(255, 220, 160, 0.07) 42%,
    rgba(255, 240, 195, 0.14) 50%,
    rgba(255, 220, 160, 0.07) 58%,
    transparent 80%
  );
  transform: translateX(-130%);
  animation: hero-light-sweep 13s ease-in-out 3s infinite;
  pointer-events: none;
  z-index: 2;
}

/* Foil shimmer rotante */
.hero-art-foil {
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent          0deg,
    rgba(255,106,0,.03) 50deg,
    transparent         110deg,
    rgba(255,140,42,.02) 180deg,
    transparent          240deg,
    rgba(255,106,0,.03)  310deg,
    transparent          360deg
  );
  animation: foil-rotate 22s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Calore ambientale al pavimento dell'art box — non dietro il logo */
.hero-art-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,106,0,.22) 0%, transparent 70%);
  animation: glow-floor 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Rombo rotante — anello interno */
.hero-diamond-spin {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 148px;
  height: 148px;
  border: 1.5px solid rgba(255,106,0,.55);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255,106,0,.20), inset 0 0 10px rgba(255,106,0,.06);
  animation: diamond-spin-cw 18s linear infinite;
}

.hero-diamond-spin::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255,106,0,.22);
  border-radius: 3px;
}

/* Rombo rotante — anello esterno (senso opposto) */
.hero-diamond-outer {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 208px;
  height: 208px;
  border: 1px solid rgba(255,106,0,.2);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  filter: blur(.5px);
  animation: diamond-spin-ccw 30s linear infinite;
}

/* Mana motes */
.hero-motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.mote {
  position: absolute;
  border-radius: 50%;
  background: var(--copper-bright);
  opacity: 0;
  animation: mote-float var(--dur, 12s) ease-in-out var(--delay, 0s) infinite;
}

.hero-logo {
  position: relative;
  z-index: 3;
  width: 85%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,.60));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ── Type line ───────────────────────────────── */
.hero-type-line {
  /* Margini orizzontali negativi = padding del frame: la riga occupa tutta
     la larghezza del box, da bordo a bordo. */
  margin: 2.25rem calc(-1 * clamp(1.5rem, 4vw, 3.5rem)) 0;
  padding: .7rem clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--copper-border);
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Countdown prossimo torneo (home) ─────────── */
.countdown-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.countdown-strip-info { flex: 1 1 260px; min-width: 0; }

.countdown-strip-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper-border);
  border-radius: 999px;
  padding: .25rem .8rem;
  margin-bottom: .6rem;
}

.countdown-strip-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .4rem;
  text-wrap: wrap;
}

.countdown-strip-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .92rem;
}

.countdown-strip-clock {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 50px;
}

.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--copper-bright);
  line-height: 1;
  /* Cifre a larghezza fissa: "9"→"10" al tick non deve spostare nulla
     accanto — stessa regola "niente layout shift" delle altre animazioni. */
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: 'Cinzel', serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.countdown-strip-cta { flex-shrink: 0; }

.countdown-strip--empty .countdown-strip-empty-text {
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

/* Fallback quando Tournament.time_until è None (torneo già iniziato) —
   renderizzato dal server in home.html e riprodotto identico da
   home.js quando il countdown arriva a zero lato client. */
.countdown-strip-started-text {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 720px) {
  .countdown-strip { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .countdown-strip-clock { align-self: center; }
  .countdown-strip-cta { width: 100%; justify-content: center; }
}

/* ── Carte home ──────────────────────────────── */
/* 4 card: a piena larghezza desktop stanno strette (contenuto denso, non
   solo icona+titolo), quindi il default è 2x2 e si passa a 4 in riga solo
   sopra i 1100px, dove c'è margine reale per ogni card. */
.home-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 1100px) {
  .home-cards { grid-template-columns: repeat(4, 1fr); }
}

.home-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--copper-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transition: border-color .25s, box-shadow .25s;
  cursor: default;
  box-shadow:
    0 6px 20px rgba(0,0,0,.52),
    0 1px 4px rgba(0,0,0,.72),
    inset 0 1px 0 rgba(255,106,0,.06);
}

.home-card:hover {
  border-color: var(--copper);
  box-shadow:
    0 28px 60px rgba(0,0,0,.78),
    0 8px 20px rgba(0,0,0,.68),
    0 0 38px rgba(255,106,0,.24),
    inset 0 1px 0 rgba(255,106,0,.18);
}

.home-card-top-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.home-card-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: .9rem;
}

.home-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--text);
  margin: 0 0 .85rem;
}

.home-card p {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.72;
  margin: 0 0 1.35rem;
}

.home-card-link {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-bright);
  text-decoration: none;
  transition: color .2s;
}

.home-card-link:hover,
.home-card:hover .home-card-link { color: var(--gold); }

/* Card intera cliccabile ("stretched link"): il link si estende su tutta
   la card con uno pseudo-elemento trasparente. Forma, layout e animazioni
   della card non cambiano; il link resta l'unico elemento focalizzabile. */
.home-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}
.home-card:has(.home-card-link) { cursor: pointer; }
.home-card:has(.home-card-link:focus-visible) {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

/* Glow che segue il cursore (JS) */
.home-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-md);
  transition: background .12s;
}

/* Riflesso speculare foil (JS) */
.home-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity .15s;
  mix-blend-mode: screen;
}

/* ── Fascia "Vendi le tue carte" in home ─────── */
/* Riusa il box .feedback-cta (stessa cornice/gradiente di "Il Branco"):
   deve avere lo stesso peso visivo di una sezione di destinazione, non
   di un rimando in fondo pagina. */
.home-vendi-band-inner {
  position: relative;
  z-index: 2;
}
.home-vendi-band-inner > * + * { margin-top: 1rem; }

.home-vendi-band-line {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

.home-vendi-band-steps {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}

.home-vendi-band-steps li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.home-vendi-band-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--copper-glow);
  border: 1px solid var(--copper-border);
  color: var(--copper-bright);
  font-size: .72rem;
  font-weight: 900;
}

/* ── Community Feedback CTA ──────────────────── */
.feedback-cta {
  position: relative;
  border: 1px solid var(--copper-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255,106,0,.12), transparent 70%),
    var(--surface);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow:
    0 8px 36px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,106,0,.10),
    inset 0 1px 0 rgba(255,106,0,.18);
}

/* Linea rame in cima */
.feedback-cta-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--copper-bright) 40%, var(--copper) 50%, var(--copper-bright) 60%, transparent 95%);
}

/* Angoli ornamentali — stessa firma del hero */
.feedback-cta-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.feedback-cta-corner::before,
.feedback-cta-corner::after {
  content: '';
  position: absolute;
  background: var(--copper-bright);
  border-radius: var(--radius-pill);
}
.feedback-cta-corner::before { width: 100%; height: 1.5px; }
.feedback-cta-corner::after  { width: 1.5px; height: 100%; }

.feedback-cta-corner--tl { top: 14px; left: 14px; }
.feedback-cta-corner--tl::before { top: 0; left: 0; }
.feedback-cta-corner--tl::after  { top: 0; left: 0; }

.feedback-cta-corner--tr { top: 14px; right: 14px; }
.feedback-cta-corner--tr::before { top: 0; right: 0; }
.feedback-cta-corner--tr::after  { top: 0; right: 0; left: auto; }

.feedback-cta-corner--bl { bottom: 14px; left: 14px; }
.feedback-cta-corner--bl::before { bottom: 0; left: 0; top: auto; }
.feedback-cta-corner--bl::after  { bottom: 0; left: 0; top: auto; }

.feedback-cta-corner--br { bottom: 14px; right: 14px; }
.feedback-cta-corner--br::before { bottom: 0; right: 0; top: auto; left: auto; }
.feedback-cta-corner--br::after  { bottom: 0; right: 0; top: auto; left: auto; }

.feedback-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.feedback-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0;
  text-wrap: wrap;
  text-shadow: 0 2px 24px rgba(255,106,0,.18);
}

.feedback-stars {
  font-size: 1.55rem;
  color: var(--gold);
  letter-spacing: .18em;
  line-height: 1;
}

.feedback-body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: none;  margin: 0;
  text-wrap: wrap;
}

.feedback-btn {
  margin-top: .25rem;
  padding: .9rem 2.25rem;
  font-size: .72rem;
}

@media (max-width: 600px) {
  .feedback-cta { padding: 2.5rem 1.25rem; }
  .feedback-stars { font-size: 1.3rem; }
}

/* ── Keyframes ───────────────────────────────── */
@keyframes hero-light-sweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  7%   { opacity: 1; }
  30%  { opacity: 1; transform: translateX(130%); }
  37%  { opacity: 0; transform: translateX(130%); }
  38%  { transform: translateX(-130%); }
  100% { transform: translateX(-130%); opacity: 0; }
}

@keyframes diamond-spin-cw {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}

@keyframes diamond-spin-ccw {
  from { transform: rotate(45deg); }
  to   { transform: rotate(-315deg); }
}

@keyframes anim-frame-in {
  from { opacity: 0; transform: scale(.985); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes anim-corner-in {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes anim-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes anim-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes foil-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes glow-floor {
  0%, 100% { opacity: .7; }
  50%       { opacity: 1; }
}

@keyframes mote-float {
  0%   { opacity: 0;   transform: translateY(8px); }
  25%  { opacity: .58; }
  75%  { opacity: .24; }
  100% { opacity: 0;   transform: translateY(-32px); }
}

/* ── Stagger entrata ─────────────────────────── */
.anim-1 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) .1s  both; }
.anim-2 { animation: anim-fade-up .6s cubic-bezier(.25,.46,.45,.94) .25s both; }
.anim-3 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) .42s both; }
.anim-4 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) .56s both; }
.anim-5 { animation: anim-fade-in .7s ease                           .65s both; }

.anim-card-1 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) .80s both; }
.anim-card-2 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) .92s both; }
.anim-card-3 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) 1.04s both; }
.anim-card-4 { animation: anim-fade-up .5s cubic-bezier(.25,.46,.45,.94) 1.16s both; }
.anim-vendi-band { animation: anim-fade-up .55s cubic-bezier(.25,.46,.45,.94) 1.30s both; }

.anim-feedback {
  animation: anim-fade-up .55s cubic-bezier(.25,.46,.45,.94) 1.44s both;
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-frame,
  .hero-frame-corner,
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-5,
  .anim-card-1, .anim-card-2, .anim-card-3, .anim-card-4,
  .anim-vendi-band,
  .anim-feedback,
  .hero-diamond-spin,
  .hero-diamond-outer { animation: none; }
  .hero-art-foil  { animation: none; }
  .hero-art-glow  { animation: none; opacity: .7; }
  .hero-art::before { animation: none; opacity: 0; }
  .mote           { display: none; }
  .hero-diamond-spin,
  .hero-diamond-outer { transform: rotate(45deg); opacity: .3; }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero-badge, .hero-text h1, .hero-text p, .hero-actions, .hero-art {
    grid-column: auto; grid-row: auto;
  }
  .hero-art   { order: -1; min-height: 220px; padding: 1.75rem; margin: 0 0 2rem; }
  .hero-logo  { max-width: 240px; }
  .hero-text h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
  .hero-text p  { max-width: 100%; }
  .home-cards   { grid-template-columns: 1fr; }
  .hero-frame-corner--bl,
  .hero-frame-corner--br { bottom: 13px; }
  .hero-diamond-spin  { width: 110px; height: 110px; }
  .hero-diamond-outer { width: 155px; height: 155px; }
}

@media (max-width: 600px) {
  .hero-frame { padding: 2rem 1.25rem 0; }
  .hero-type-line { margin-inline: -1.25rem; padding: .65rem 1.25rem; }
  .hero-art   { min-height: 190px; padding: 1.5rem; }
  .hero-logo  { max-width: 190px; }
  .hero-diamond-spin  { width: 90px; height: 90px; }
  .hero-diamond-outer { width: 128px; height: 128px; }
}
