/* ============================================================
   HOMEPAGE (Nov 2026 redesign)
   How It Works · Three Ways to Play · Meet the Players ·
   Coming Soon · Shop. Loaded after styles.css + modes.css.
   ============================================================ */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- shared section header: left-aligned, stencil label with a tan bar ---------- */
.home-head { max-width: 640px; margin-bottom: 2.25rem; }
.home-head .section__label {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem;
}
.home-head .section__label::before {
  content: ""; width: 26px; height: 4px; background: var(--red); border-radius: 1px;
}
.home-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.02;
  color: var(--green-deep);
  margin: 0 0 0.7rem;
  text-wrap: balance;
}
.home-sub {
  font-size: 1.08rem; font-weight: 500; color: var(--text-muted); line-height: 1.55; margin: 0;
  max-width: 34em;
}
.home-head--light .home-title { color: var(--white); }
.home-head--light .home-sub { color: rgba(255,255,255,0.78); }
.home-head--light .section__label { color: var(--tan); }

.hiw, .ways, .roster, .soon2, .shop2 { padding: 5rem 0; scroll-margin-top: 64px; }   /* clear the fixed nav on anchor jumps */
.roster-more { margin-top: 1.75rem; font-weight: 700; }
.roster-more a { color: var(--green-dark); border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.roster-more a:hover { color: var(--red); }

/* hero: secondary text a touch larger and darker so it reads */
.hero-v2__sub { color: #44463E; max-width: 430px; }

/* nav: Coming Soon stands out a little */
.nav__links .nav__soon { color: var(--tan); }

/* ============================================================
   2. HOW IT WORKS
   ============================================================ */
.hiw { background: var(--kraft); border-top: 1px solid var(--kraft-dark); }
.hiw-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: none;
}
.hiw-step { position: relative; }
.hiw-step__visual {
  aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.hiw-step__visual--card { background: var(--green-dark); }
.hiw-step__visual--result { background: var(--green-deep); }
.hiw-step__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw-step__num {
  position: absolute; top: 0.6rem; left: 0.6rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--red);
  font-family: var(--font-display); font-size: 1rem;
  border: 2px dashed var(--red);          /* baseball stitching */
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.hiw-step__title {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--green-deep);
  margin: 0 0 0.3rem; letter-spacing: 0.02em;
}
.hiw-step__text { font-size: 0.98rem; line-height: 1.5; color: #44463E; margin: 0; }

/* mini copies of the real P-01 / B-01 cards */
.mini-card {
  background: var(--white); border-radius: 4px; padding: 0.55rem 0.7rem 0.6rem;
  width: 58%; box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  transform: rotate(-2deg);
}
.hiw-step:nth-child(2) .mini-card { transform: rotate(2deg); }
.mini-card__title { font-family: var(--font-display); color: var(--green); font-size: 0.78rem; letter-spacing: 0.03em; }
.mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; width: 50%;
  border: 1.5px solid #222; aspect-ratio: 2 / 3;
}
.mini-grid span { border: 0.75px solid #222; position: relative; }
.mini-grid .is-ball { background: #EDEDE8; display: grid; place-items: center; }
.mini-grid .is-ball img { width: 62%; height: auto; }
.mini-grid .is-row { background: rgba(187,61,67,0.18); }
.mini-card__chip {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); background: var(--red); padding: 0.15rem 0.45rem; border-radius: 2px;
}
.mini-result { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.mini-result__check {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tan);
}
.mini-result__call {
  margin-top: 0.3rem;
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white);
  background: var(--red); padding: 0.1rem 0.9rem; border-radius: 3px; transform: rotate(-3deg);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.hiw-foot {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 2px dashed rgba(77,84,56,0.25);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.hiw-example { margin: 0; max-width: 46em; font-size: 0.95rem; color: #44463E; line-height: 1.55; }
.hiw-foot .btn { flex: none; }

/* ============================================================
   3. THREE WAYS TO PLAY
   ============================================================ */
.ways { background: var(--green-deep); color: var(--white); }
.ways-scale {
  display: flex; align-items: center; gap: 0.9rem; margin: -0.75rem 0 1.25rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan);
}
.ways-scale__line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--tan), rgba(232,219,183,0.15));
  position: relative;
}
.ways-scale__line::after {
  content: ""; position: absolute; right: -2px; top: -4px;
  border-left: 8px solid rgba(232,219,183,0.4); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.way {
  background: #2B3020; border: 1px solid rgba(232,219,183,0.14); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.way__media { aspect-ratio: 4 / 3; overflow: hidden; background: #1E2216; }
.way__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.way__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.way__kicker {
  display: flex; justify-content: space-between; align-items: center; margin: 0 0 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan);
}
.way__status { font-size: 0.66rem; padding: 0.18rem 0.5rem; border-radius: 2px; letter-spacing: 0.08em; }
.way__status--ready { background: rgba(104,114,77,0.55); color: #E9F0D8; }
.way__status--beta  { background: rgba(232,219,183,0.16); color: var(--tan); border: 1px dashed rgba(232,219,183,0.5); }
.way__title { font-family: var(--font-display); font-size: 1.5rem; margin: 0; color: var(--white); line-height: 1.1; }
.way__tag { margin: 0.2rem 0 0.6rem; font-weight: 700; color: var(--tan); font-size: 1rem; }
.way__text { margin: 0 0 1.1rem; font-size: 0.97rem; line-height: 1.5; color: rgba(255,255,255,0.8); }
.way__note { margin: -0.6rem 0 1.1rem; font-size: 0.82rem; color: rgba(232,219,183,0.75); font-style: italic; }
.way__btn { margin-top: auto; align-self: flex-start; }   /* all three buttons sit on the same line */
.ways-compare { margin-top: 1.75rem; overflow-x: auto; }
.ways-compare table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 440px; }
.ways-compare th, .ways-compare td { padding: 0.6rem 0.75rem; text-align: center; border-bottom: 1px solid rgba(232,219,183,0.12); }
.ways-compare thead th {
  font-family: var(--font-display); font-weight: 400; color: var(--tan); font-size: 0.95rem; letter-spacing: 0.04em;
}
.ways-compare tbody th { text-align: left; font-weight: 600; color: rgba(255,255,255,0.72); }
.ways-compare td { color: var(--white); font-weight: 600; }
.ways-compare td.is-no { color: rgba(255,255,255,0.4); font-weight: 500; }

/* ============================================================
   4. MEET THE PLAYERS (collectible cards)
   ============================================================ */
.roster { background: var(--white); }
.roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pcard {
  border: 1px solid #E3DED2; border-radius: 6px; overflow: hidden; background: var(--cream);
  display: flex; flex-direction: column;
}
.pcard__media {
  position: relative; aspect-ratio: 4 / 3;     /* image is contained, so every figure keeps the shared scale */
  background:
    linear-gradient(to top, rgba(0,0,0,0.06) 0, rgba(0,0,0,0) 14%),
    radial-gradient(120% 90% at 50% 100%, #FFFFFF 0%, #EFEBE1 70%);
  border-bottom: 4px solid var(--green);
}
.pcard--tan  .pcard__media { border-bottom-color: #C9B98E; }
.pcard--blue .pcard__media { border-bottom-color: var(--blue); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pcard__num {
  position: absolute; top: 0.55rem; left: 0.6rem; z-index: 1;
  font-family: var(--font-display); font-size: 0.8rem; color: rgba(52,58,38,0.45); letter-spacing: 0.05em;
}
.pcard__body { padding: 0.85rem 0.95rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.pcard__meta {
  display: flex; justify-content: space-between; gap: 0.5rem; margin: 0;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.pcard__team { color: var(--green-dark); }
.pcard--tan .pcard__team { color: #8C7A4A; }
.pcard--blue .pcard__team { color: var(--blue); }
.pcard__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.05; color: var(--green-deep); margin: 0.1rem 0 0; }
.pcard__arch { margin: 0 0 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.pcard .ability-badge { align-self: flex-start; margin-bottom: 0.35rem; }
.pcard__ability { margin: 0; font-size: 0.9rem; line-height: 1.45; color: #3B3D35; }

/* ============================================================
   5. COMING SOON
   ============================================================ */
.soon2 {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    var(--green-dark);
}
.soon2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.soon2-item {
  background: var(--cream); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
}
.soon2-item__media { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.soon2-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soon2-item__body { padding: 1rem 1.15rem 1.2rem; }
.soon2-item__tag {
  display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); border: 1.5px solid var(--red); padding: 0.1rem 0.45rem; border-radius: 2px; margin-bottom: 0.45rem;
}
.soon2-item__title { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.3rem; color: var(--green-deep); }
.soon2-item__text { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #44463E; }

/* typography-only preview of the new recruits (no fabricated images) */
.recruits {
  aspect-ratio: 4 / 3; background: var(--green-deep); color: var(--white);
  padding: 0.9rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between;
  border-bottom: 4px solid var(--tan);
}
.recruits__head {
  display: flex; justify-content: space-between; align-items: center; margin: 0;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan);
}
.recruits__stamp {
  border: 1.5px solid var(--red); color: #F2A3A6; padding: 0.08rem 0.4rem; border-radius: 2px; transform: rotate(-4deg);
}
.recruit { border-top: 1px dashed rgba(232,219,183,0.3); padding-top: 0.4rem; }
.recruit__name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; margin: 0; letter-spacing: 0.04em; }
.recruit__unit { margin: 0.15rem 0 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(232,219,183,0.85); }
.recruit__motto { margin: 0.05rem 0 0; font-size: 0.85rem; font-style: italic; color: rgba(255,255,255,0.75); }

.soon2-notify {
  margin-top: 1.75rem; max-width: 720px;
  background: rgba(0,0,0,0.18); border: 1px solid rgba(232,219,183,0.2); border-radius: 6px; padding: 1rem 1.15rem;
}
.soon2-notify .notify-form__row { flex-wrap: wrap; }
.soon2-notify__select { flex: 0 0 auto; width: auto; min-width: 11rem; background: var(--white); color: var(--text); }
.soon2-notify input[type="email"] { flex: 1 1 14rem; }
@media (max-width: 560px) {
  .soon2-notify .notify-form__row { flex-direction: column; }
  .soon2-notify input[type="email"], .soon2-notify__select { flex: none; width: 100%; }
}

/* ============================================================
   6. SHOP
   ============================================================ */
.shop2 { background: var(--cream); }
.shop2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product2 {
  background: var(--white); border: 1px solid #E3DED2; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; scroll-margin-top: 90px;
}
.product2__media { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.product2__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product2__body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product2__label { margin: 0 0 0.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.product2__title { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.35rem; color: var(--green-deep); }
.product2__text { margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.45; color: #44463E; }
.product2__price { margin: auto 0 0.75rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-deep); }
.product2__price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.product2__price span::before { content: "\00B7\00A0"; }
.product2__btn { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .shop2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hiw, .ways, .roster, .soon2, .shop2 { padding: 3.5rem 0; }
  .home-head { margin-bottom: 1.6rem; }
  .ways-grid, .soon2-grid { grid-template-columns: 1fr; }
  /* modes: image beside text so the three stay short and distinct */
  .way { flex-direction: row; }
  .way__media { flex: 0 0 38%; aspect-ratio: auto; }
  .way__body { padding: 0.9rem 1rem 1rem; }
  .way__title { font-size: 1.3rem; }
  .soon2-item { flex-direction: row; }
  .soon2-item__media, .soon2-item .recruits { flex: 0 0 42%; aspect-ratio: auto; }
  .soon2-item--recruits { flex-direction: column; }
  .soon2-item--recruits .recruits { aspect-ratio: auto; gap: 0.6rem; }
  .hiw-foot { flex-direction: column; align-items: flex-start; }
  /* players: one swipeable row instead of a tall grid */
  .roster-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem;
    margin: 0 -1.5rem; padding: 0 1.5rem 0.75rem; scrollbar-width: thin;
    scroll-padding-inline: 1.5rem;
  }
  .pcard { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .home-sub { font-size: 1rem; }
  .hiw-steps { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .hiw-step__title { font-size: 1.02rem; }
  .hiw-step__text { font-size: 0.9rem; }
  .hiw-step__num { width: 1.7rem; height: 1.7rem; font-size: 0.85rem; }
  .way { flex-direction: column; }
  .way__media { flex: none; aspect-ratio: 16 / 7; }
  .way:nth-child(1) .way__media img { object-position: 50% 62%; }
  .way:nth-child(2) .way__media img { object-position: 50% 100%; }
  .way:nth-child(3) .way__media img { object-position: 50% 12%; }
  .mini-card { width: 66%; padding: 0.4rem 0.45rem 0.45rem; gap: 0.25rem; }
  .mini-card__title { font-size: 0.6rem; white-space: nowrap; }
  .mini-grid { width: 44%; }
  .mini-card__chip { font-size: 0.5rem; white-space: nowrap; padding: 0.1rem 0.3rem; }
  .way__body { padding: 0.75rem 0.9rem 0.95rem; }
  .ways-compare td { white-space: nowrap; }
  .ways-compare tbody th { font-size: 0.78rem; }
  .way__kicker { flex-wrap: wrap; gap: 0.25rem; margin-bottom: 0.3rem; }
  .way__title { font-size: 1.15rem; }
  .way__tag { font-size: 0.9rem; margin-bottom: 0.35rem; }
  .way__text { font-size: 0.88rem; }
  .way__note { font-size: 0.78rem; }
  .way__btn { padding: 0.6rem 0.9rem; font-size: 0.85rem; }
  .soon2-item__media { flex: 0 0 36%; }
  .soon2-item__body { padding: 0.75rem 0.85rem 0.85rem; }
  .soon2-item__title { font-size: 1.1rem; }
  .soon2-item__text { font-size: 0.88rem; }
  .ways-compare table { min-width: 0; font-size: 0.8rem; }
  .ways-compare th, .ways-compare td { padding: 0.5rem 0.35rem; }
  .ways-compare thead th { font-size: 0.8rem; }
  .shop2-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product2__body { padding: 0.75rem 0.8rem 0.9rem; }
  .product2__title { font-size: 1.08rem; }
  .product2__text { display: none; }
  .product2__price { font-size: 1.15rem; }
  .product2__price span { display: block; font-size: 0.78rem; }
  .product2__price span::before { content: none; }
  .hero-v2__eyebrow { letter-spacing: 0.12em; font-size: 0.64rem; }
  .product2__btn { padding: 0.65rem 0.5rem; font-size: 0.9rem; }
  .soon2-notify__select { width: 100%; }
  .ways-scale { font-size: 0.66rem; }
}
