.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: end;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(4rem, 7.4vw, 7rem);
}

.hero h1 {
  font-size: clamp(3.4rem, 6.1vw, 6.25rem);
  letter-spacing: -.054em;
  line-height: .96;
  margin: 0 0 1.15rem;
}

.hero h1 span { color: var(--lime); }
.hero .hero-description { margin: 0 0 1.5rem; }
.hero::after {
  background: linear-gradient(90deg, rgba(7, 22, 15, .95), rgba(7, 22, 15, .76) 52%, rgba(7, 22, 15, .34)),
              linear-gradient(0deg, rgba(7, 22, 15, .62), transparent 52%);
}

.board-moment { margin: 0; min-width: 0; }
.board-scene {
  border: 1px solid #6e8273;
  background: #0b1b14;
  padding: clamp(.75rem, 2vw, 1.45rem);
  box-shadow: 0 20px 46px rgba(6, 16, 11, .34);
}
.board-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: 0 .55rem .8rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.board-title span {
  color: #c2cec3;
  font-size: .65rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.board-rows { padding: 0; margin: 0; list-style: none; }
.board-rows li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  min-height: 49px;
  border-top: 1px solid #375045;
  border-left: 2px solid transparent;
  padding: .4rem .6rem;
  font-size: clamp(.9rem, 1.45vw, 1.2rem);
}
.board-rows li.is-moving {
  border-left-color: var(--lime);
  background: #273b26;
  color: var(--lime);
}
.rank { color: #c2cec3; font-size: .75rem; }
.rank, .winnings, #wallet-balance { font-variant-numeric: tabular-nums; }
.winnings { font-weight: 700; }
.board-moment figcaption { margin-top: .8rem; font-size: .96rem; font-weight: 600; }

.wallet-moment { background: #0b1b14; color: var(--chalk); border-top: 1px solid #375045; }
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.75rem, 5.5vw, 5rem);
}
.wallet-grid h2 { font-size: clamp(2.9rem, 5.7vw, 6rem); line-height: .97; }
.phone {
  justify-self: center;
  width: min(100%, 238px);
  padding: 6px;
  border: 1px solid #829383;
  border-radius: 29px;
  background: #111913;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .35);
}
.phone-screen {
  padding: 9px 8px 24px;
  border-radius: 23px;
  background: linear-gradient(155deg, #34463b, #151b17 75%);
}
.phone-camera { width: 52px; height: 13px; border-radius: 99px; background: #080b09; margin: 0 auto 18px; }
.wallet-pass {
  padding: .9rem .8rem .72rem;
  border-radius: 12px;
  border: 1px solid #846153;
  background: linear-gradient(145deg, #4b3432, #2a211f 64%);
  color: #f7ebdf;
}
.wallet-credit { margin: 1.25rem 0 1rem; font-size: .7rem; }
.wallet-credit strong { display: block; font-size: 1.9rem; line-height: 1.12; }
.wallet-member {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  padding-top: .5rem;
  border-top: 1px solid #846153;
  font-size: .7rem;
}
.wallet-member span { color: #f0c7ad; }
.scarcity { display: none; margin: 0 0 1.2rem; font-weight: 650; }
.demo[data-scarcity="on"] .scarcity { display: block; }

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .headline-break { display: none; }
  .hero h1 { max-width: 12ch; }
  .board-moment { max-width: 490px; width: 100%; }
}
@media (max-width: 540px) {
  .hero-grid { padding-block: 3rem 2.3rem; }
  .hero h1 { font-size: clamp(2.85rem, 13vw, 4.4rem); }
  .board-title { font-size: .8rem; }
  .board-rows li { min-height: 43px; }
  .wallet-grid { grid-template-columns: 1fr; gap: 1.85rem; }
}

.hero h1 {
  font-size: clamp(3rem, 5.3vw, 5.4rem);
  letter-spacing: -.045em;
}
.hero .hero-description { max-width: none; }
.brand-promise { margin: .9rem 0 0; font-size: .9rem; }
.auction-columns, .board-rows li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) 1.55rem 2.75rem minmax(0, 1fr) 2.75rem;
  gap: .35rem;
  padding-inline: .4rem;
}
.auction-columns { padding-bottom: .4rem; color: #c2cec3; font-size: .68rem; }
.board-rows li { font-size: clamp(.75rem, 1.1vw, 1.05rem); }
.auction-columns > :is(:nth-child(3), :nth-child(4), :nth-child(6)),
.board-rows li > :is(:nth-child(3), :nth-child(4), :nth-child(6)) { text-align: right; }
.wallet-figure { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.wallet-figure figcaption { text-align: center; font-size: .85rem; }

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(2.6rem, 10.8vw, 3.65rem); }
}

.wallet-stack { position: relative; isolation: isolate; padding-top: 1.3rem; }
.wallet-stack::before,
.wallet-stack::after {
  content: "";
  position: absolute;
  inset: 0 .9rem auto;
  height: 3rem;
  border: 1px solid #7e8d81;
  border-radius: 12px;
  background: #3b5145;
  z-index: -1;
}
.wallet-stack::after {
  inset: .6rem .42rem auto;
  background: #546257;
}
.wallet-figure figcaption strong,
.wallet-figure figcaption span { display: block; }
.wallet-figure figcaption strong { font-size: 1rem; }
.wallet-figure figcaption span { margin-top: .2rem; color: #c2cec3; }

/* ---- Production pass (after R2) ---------------------------------------- */

/* Headline wraps: no orphaned last word, and "golf club" never splits
   (a no-break space in the markup). */
.hero h1 { text-wrap: pretty; }

/* Button → brand promise → testimonial: one rhythm at every width. */
.brand-promise { margin-top: .75rem; }
.hero-testimonials { margin-top: clamp(1.4rem, 2.6vw, 2rem); }

/* The Auction header: each column reads on its own. The owner half starts
   after a rule, in the header and in every row, so "Share" and "Owner"
   (and "$78" and "L. Mercer") never run together. Motion is untouched. */
.auction-columns, .board-rows li { column-gap: .5rem; }
.auction-columns > :nth-child(5),
.board-rows li > :nth-child(5) { padding-left: .6rem; border-left: 1px solid #375045; }
.auction-columns > :nth-child(5) { border-left-color: transparent; }

@media (min-width: 851px) {
  /* Hero copy and board sit on one centre line. */
  .hero-grid { align-items: center; }
  /* Wallet uses the hero's columns: the phone sits under the board. */
  .wallet-grid { grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 4vw, 4.5rem); }
}

/* Hero → Wallet → form: even breathing room between the three moments. */
.wallet-grid { padding-block: clamp(3rem, 6vw, 5.5rem); }
.demo { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

/* Headline tracking: a touch looser on desktop, where the serif read cramped. */
@media (min-width: 1024px) {
  .hero h1 { letter-spacing: -.038em; }
  h2 { letter-spacing: -.033em; }
}
