/* Nightfall Home (v2.01) — page-only styles. Linked only from index.html.
   Breakpoints: see the "Version 2 foundation" header in ../site.css. */

.home-content ul,
.home-content ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-content h3 {
  margin: 0;
}

/* ---------- Hero ---------- */
.hero-v2 {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 660px;
  min-height: clamp(560px, calc(100svh - 136px), 660px);
  overflow: hidden;
  isolation: isolate;
  background: #0C0B0A;
}

.hero-v2-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.55) 0%, rgba(7, 7, 10, 0) 20%, rgba(7, 7, 10, 0.15) 45%, rgba(7, 7, 10, 0.92) 78%, #0C0B0A 100%);
  pointer-events: none;
}

.hero-v2-tag {
  top: 16px;
  right: max(20px, env(safe-area-inset-right));
  padding: 3px 8px;
  background: rgba(7, 7, 10, 0.7);
}

.hero-v2-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 120px var(--pad-r) 36px var(--pad-l);
  text-align: center;
}

.hero-v2-title {
  margin: 0;
  color: var(--v2-text-hero);
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  line-height: 66px;
  text-wrap: balance;
}

.hero-v2-sub {
  margin: 0;
  color: var(--v2-soft);
  font-family: var(--font-body);
  font-size: 26px;
  line-height: 32px;
}

.hero-v2-badges {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.hero-v2-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 10px;
}

/* ---------- "This is the game today" strip ---------- */
.home-strip {
  --section-pt: 8px;
  --section-pb: 72px;
  background: linear-gradient(180deg, #0C0B0A 0%, rgba(12, 11, 10, 0) 100%);
}

.home-strip-head {
  margin-bottom: 18px;
}

.home-strip-sub {
  color: var(--v2-muted);
  font-size: 20px;
  line-height: 24px;
}

/* Mac (>= 1280): the approved 4-up grid; below 1280 the list is a .swipe row (see the v3 block at the end). */
@media (min-width: 1280px) {
  .home-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
  }
}

/* ---------- Carved band + pillars ---------- */
.home-band {
  height: 160px;
  background-size: 1440px 160px;
}

.home-band .plaque {
  width: 420px;
  height: 75px;
  padding-inline: 54px;
}

.home-band .plaque-title {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
}

.home-pillars {
  --section-pt: 48px;
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  text-align: center;
}

.home-pillar img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.home-pillar-title {
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
}

.home-pillar-text {
  margin: 0;
  color: var(--v2-body);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

/* ---------- Explore the world teaser ---------- */
.home-world-layout {
  display: grid;
  grid-template-columns: minmax(0, 760fr) minmax(0, 464fr);
  align-items: center;
  gap: 56px;
}

.home-world-frame {
  position: relative;
  display: block;
  aspect-ratio: 760 / 428;
  overflow: hidden;
  border: 1px solid var(--v2-line-strong);
  background: #0A0909;
  box-shadow: 0 0 0 5px #0A0908, 0 0 0 6px #4A3B22;
}

.home-world-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-world-marker {
  position: absolute;
  left: 57.6%;
  top: 16.8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-world-ring {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 214, 120, 0.85);
  border-radius: 50%;
  background: rgba(255, 200, 90, 0.2);
}

.home-world-diamond {
  width: 18px;
  height: 18px;
  border: 2px solid #1A1408;
  background: #FFD36E;
  transform: rotate(45deg);
}

.home-world-label {
  padding: 3px 10px;
  border: 1px solid var(--v2-gold-light);
  background: rgba(40, 32, 18, 0.92);
  color: #FFF1C8;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.home-world-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.home-world-title {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 50px;
}

.home-world-text {
  margin: 0;
  color: var(--v2-body);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 31px;
}

.home-world-btn.btn-l {
  width: 320px;
  height: 64px;
  font-size: 20px;
}

/* ---------- Latest news ---------- */
.home-news .section-head,
.home-classes .section-head {
  margin-bottom: 28px;
}

/* Mac + iPad landscape: 3 cards in a grid; below 1024 the cards are a .swipe row. */
@media (min-width: 1024px) and (min-height: 501px), (min-width: 1024px) and (orientation: portrait) {
  .home-news-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
  }
}

.home-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(10, 10, 14, 0.88);
}

.home-news-media {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: #050506;
}

.home-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.home-news-title {
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.home-news-text {
  margin: 0;
  color: var(--v2-body);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 24px;
}

.home-news-date {
  margin: 0;
  color: var(--v2-dim);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
}

/* ---------- Pick your class ---------- */
.home-roles {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 20px;
}

.home-role {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 20px;
}

.home-role-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-role-head img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

.home-role-name {
  color: var(--v2-gold-pale);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.home-role-note {
  margin: 0;
  color: var(--v2-dim);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 22px;
}

.home-role-list {
  display: flex;
  gap: 10px;
}

.home-role-list li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.class-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.class-pick img {
  width: 88px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--v2-line);
  background: #0E0D10;
  object-fit: cover;
}

.class-pick span {
  color: var(--v2-soft);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.home-role-later {
  justify-content: center;
  gap: 14px;
  padding: 20px 28px;
}

.home-role-name-later {
  color: var(--v2-muted);
}

.home-later-names {
  margin: 0;
  color: var(--v2-dim);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 28px;
}

@media (hover: hover) {
  .class-pick:hover img {
    border-color: var(--v2-gold);
  }

  .class-pick:hover span,
  .home-news-title a:hover,
  .section-link:hover {
    color: var(--v2-gold-pale);
  }

  .home-world-frame:hover {
    border-color: var(--v2-gold);
  }
}

/* ---------- How to join + Road to launch ---------- */
.home-join {
  --section-pb: 104px;
}

.home-join-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: 40px;
}

.home-howto {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 36px;
}

.home-howto-title {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.home-step-icon {
  position: relative;
  display: block;
}

.home-step-icon img {
  width: 84px;
  height: 84px;
}

.home-step-num {
  position: absolute;
  left: -6px;
  top: -6px;
  padding: 2px 8px;
  background: var(--v2-gold);
  color: #1A1408;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.home-step-title {
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 26px;
}

.home-step-text {
  margin: 0;
  color: var(--v2-body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 22px;
}

.home-howto-btn {
  align-self: center;
  margin-top: 4px;
}

.home-road {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 32px;
}

.home-road-title {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.home-road-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-road-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--v2-line-dark);
}

.home-road-item img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.home-road-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-road-name {
  color: var(--v2-soft);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
}

.home-road-text {
  margin: 0;
  color: var(--v2-muted);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 22px;
}

.home-road-item.is-now {
  border-color: var(--v2-gold);
  background: rgba(201, 165, 92, 0.12);
}

.home-road-item.is-now .home-road-name {
  color: var(--v2-gold-pale);
}

.home-road-item.is-now .home-road-text {
  color: var(--v2-body);
}

.home-howto-phone {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px;
  border-color: var(--v2-line-strong);
  background: rgba(10, 10, 14, 0.9);
}

.home-howto-phone-title {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.home-howto-phone-list {
  gap: 14px;
}

.home-howto-phone-btn {
  width: 322px;
  height: 56px;
  padding-inline: 40px;
  font-size: 16px;
  line-height: 20px;
}

/* ==========================================================================
   iPad landscape (1024–1279)
   ========================================================================== */
@media (max-width: 1279px) {
  .hero-v2-copy {
    padding-top: 100px;
  }

  .home-world-layout {
    gap: 44px;
  }

  .home-world-title {
    font-size: 40px;
    line-height: 46px;
  }

  .home-world-text {
    font-size: 21px;
    line-height: 30px;
  }

  .class-pick span {
    font-size: 14px;
    letter-spacing: -0.01em;
  }

  .home-howto {
    padding: 30px 28px;
  }

  .home-howto-title {
    font-size: 32px;
    line-height: 40px;
  }

  .home-howto-btn.btn-xl {
    width: 480px;
    padding-inline: 44px;
    font-size: 20px;
  }

  .home-road {
    padding: 30px 28px;
  }

  .home-road-name {
    font-size: 18px;
  }
}

/* Smaller iPads in landscape (1024–1179): Tank + Support side by side, Damage full width. */
@media (max-width: 1179px) {
  .home-roles {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row dense;
  }

  .home-role-damage,
  .home-role-later {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   iPad portrait (768–1023)
   ========================================================================== */
@media (max-width: 1023px) {
  .hero-v2 {
    min-height: 720px;
    min-height: clamp(560px, calc(100svh - 104px), 720px);
  }

  .hero-v2-title {
    max-width: 640px;
    font-size: 56px;
    line-height: 62px;
  }

  .hero-v2-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .home-strip-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 16px;
    row-gap: 4px;
  }

  .home-strip-head .section-head-main {
    display: contents;
  }

  .home-strip-head .section-title {
    grid-column: 1;
    grid-row: 1;
  }

  .home-strip-head .section-link {
    grid-column: 2;
    grid-row: 1;
  }

  .home-strip-head .home-strip-sub {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-world-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-world-copy {
    gap: 20px;
  }

  .home-news-body {
    padding: 20px 22px 24px;
  }

  .home-roles {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-role-damage,
  .home-role-later {
    grid-column: auto;
  }

  .home-howto-btn.btn-xl {
    padding-inline: 64px;
    font-size: 22px;
  }

  .class-pick span {
    font-size: 15px;
    letter-spacing: 0;
  }

  .home-join-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-howto {
    padding: 34px 36px;
  }

  .home-howto-btn.btn-xl {
    width: 520px;
  }

  .home-road {
    padding: 34px 32px;
  }
}

/* ==========================================================================
   Phone layout (iPhone portrait < 768 and short landscape phones)
   ========================================================================== */
@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  .home-content {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .home-strip {
    --section-pt: 0px;
    --section-pb: 48px;
    background: none;
  }

  .home-strip-head {
    display: block;
    margin-bottom: 12px;
  }

  .home-pillars,
  .home-join {
    --section-pt: 0px;
    --section-pb: 48px;
  }

  .home-pillars .section-title {
    margin-bottom: 12px;
  }

  .home-pillar {
    gap: 6px;
    padding: 16px 8px;
    background: rgba(10, 10, 14, 0.88);
  }

  .home-pillar img {
    width: 60px;
    height: 60px;
  }

  .home-pillar-title {
    font-size: 19px;
    line-height: 24px;
  }

  .home-world-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .home-world-copy {
    display: contents;
  }

  .home-world-title {
    order: 1;
    font-size: 24px;
    line-height: 30px;
  }

  .home-world-frame {
    order: 2;
    box-shadow: none;
  }

  .home-world-btn {
    order: 3;
    align-self: center;
  }

  .home-world-btn.btn-l {
    width: 240px;
    height: 50px;
    padding-inline: 32px;
    font-size: 16px;
    line-height: 20px;
  }

  .home-news .section-head,
  .home-classes .section-head {
    margin-bottom: 12px;
  }

  .home-howto-phone-btn {
    max-width: 100%;
  }
}

/* iPhone portrait (< 768) */
@media (max-width: 767px) {
  .hero-v2 {
    min-height: 580px;
    min-height: clamp(460px, calc(100svh - 88px), 580px);
  }

  .hero-v2-media {
    object-position: 50% 40%;
  }

  .hero-v2::before {
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.3) 0%, rgba(7, 7, 10, 0) 25%, rgba(7, 7, 10, 0.9) 70%, #0C0B0A 100%);
  }

  .hero-v2-tag {
    top: 10px;
    right: max(10px, env(safe-area-inset-right));
    padding: 2px 6px;
  }

  .hero-v2-copy {
    gap: 14px;
    padding-top: 80px;
    padding-bottom: 28px;
  }

  .hero-v2-title {
    font-size: 34px;
    line-height: 40px;
  }

  .hero-v2-sub {
    font-size: 20px;
    line-height: 27px;
  }

  .hero-v2-badges {
    padding-top: 0;
  }

  .hero-v2-ctas {
    gap: 14px;
    padding-top: 0;
  }

  .hero-v2-ctas .btn-xl {
    width: 354px;
    height: 60px;
    padding-inline: 44px;
    font-size: 17px;
    line-height: 22px;
  }

  .hero-v2-ctas .btn-l {
    width: 260px;
    height: 52px;
    padding-inline: 34px;
    font-size: 16px;
    line-height: 20px;
  }

  .home-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-world-frame {
    aspect-ratio: 354 / 200;
  }
}

/* iPhone landscape / short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-v2 {
    min-height: calc(100svh - 48px);
  }

  .hero-v2-media {
    object-position: 50% 35%;
  }

  .hero-v2::before {
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.3) 0%, rgba(7, 7, 10, 0) 25%, rgba(7, 7, 10, 0.9) 70%, #0C0B0A 100%);
  }

  .hero-v2-tag {
    top: 10px;
    right: var(--pad-r);
    padding: 2px 6px;
  }

  .hero-v2-copy {
    gap: 10px;
    padding-top: 48px;
    padding-bottom: 22px;
  }

  .hero-v2-title {
    max-width: none;
    font-size: 32px;
    line-height: 38px;
  }

  .hero-v2-sub {
    font-size: 19px;
    line-height: 24px;
  }

  .hero-v2-badges {
    padding-top: 0;
  }

  .hero-v2-ctas {
    flex-direction: row;
    gap: 12px;
    padding-top: 0;
  }

  .hero-v2-ctas .btn-xl {
    width: 330px;
    height: 54px;
    padding-inline: 40px;
    font-size: 16px;
    line-height: 20px;
  }

  .hero-v2-ctas .btn-l {
    width: 240px;
    height: 50px;
    padding-inline: 32px;
    font-size: 16px;
    line-height: 20px;
  }

  .home-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .home-world-frame {
    aspect-ratio: auto;
    height: min(300px, calc(100svh - 90px));
  }

}

/* ==========================================================================
   Version 3 (lane site-v3-a): Home native on every screen.
   Mac (>= 1280) keeps the approved look; new there: lightbox on the shots,
   "Where it's heading" and "Your first hour".
   ========================================================================== */

/* ---------- Shared bits (all screens) ---------- */
.hero-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--v2-gold-light);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-color: rgba(227, 196, 127, 0.45);
  text-underline-offset: 4px;
}

.home-strip-grid .shot-tile-media img {
  transition: transform 220ms ease;
}

/* Where it's heading */
.home-target {
  --section-pt: 0px;
  --section-pb: 72px;
}

.home-target[hidden] {
  display: none;
}

.home-target-head {
  margin-bottom: 18px;
}

.home-target-sub {
  color: var(--v2-muted);
  font-size: 20px;
  line-height: 24px;
}

.home-target-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: start;
  gap: 20px;
}

.home-target-main {
  min-width: 0;
}

.home-target-thumbs {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

/* Your first hour */
.home-hour {
  --section-pt: 0px;
  --section-pb: 88px;
}

.home-hour-head {
  margin-bottom: 18px;
}

.home-hour-list {
  counter-reset: none;
}

.home-hour-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.home-hour-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  background: #050506;
}

.home-hour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hour-num {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  min-width: 34px;
  padding: 4px 10px;
  background: var(--v2-gold);
  color: #1A1408;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.home-hour-title {
  margin: 4px 0 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 26px;
}

.home-hour-text {
  margin: 0;
  color: var(--v2-body);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 24px;
}

/* Classes on phones: role chips + swipe row of portraits */
.home-class-phone {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-class-row {
  --per: 3.4;
}

.home-class-row .class-pick {
  gap: 4px;
  padding-bottom: 2px;
}

.home-class-row .class-pick img {
  width: 100%;
  max-width: 104px;
}

.home-class-role {
  color: var(--v2-dim) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-class-phone .section-link {
  align-self: flex-start;
}

/* How to join (phones) */
.home-howto-phone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-howto-phone-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v2-soft);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 22px;
}

.home-howto-phone-list img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.home-howto-phone-list b {
  display: inline-block;
  min-width: 22px;
  margin-right: 4px;
  color: var(--v2-gold);
  font-family: var(--font-display);
  font-weight: 700;
}

@media (hover: hover) {
  .home-strip-grid .shot-tile-media:hover img,
  .home-hour-media:hover img {
    transform: scale(1.03);
  }

  .hero-v2-link:hover {
    color: var(--v2-gold-pale);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-strip-grid .shot-tile-media img,
  .home-hour-media img {
    transition: none;
  }
}

/* Mac + iPad: first hour as a 4-up grid (2x2 on iPad portrait) */
@media (min-width: 768px) and (min-height: 501px), (min-width: 768px) and (orientation: portrait) {
  .home-hour-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
  }
}

/* ---------- iPad landscape (1024–1279) ---------- */
@media (max-width: 1279px) {
  .hero-v2 {
    min-height: 620px;
    min-height: clamp(520px, calc(100svh - 160px), 660px);
  }

  .hero-v2-copy {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .home-strip-grid .shot-tile-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .home-target-viewer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-target-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
  }
}

/* iPad landscape only: make sure title + both buttons sit above the fold on short screens (1180x820, 1024x768) */
@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 860px) {
  .hero-v2-title {
    font-size: 54px;
    line-height: 60px;
  }

  .hero-v2-copy {
    gap: 14px;
    padding-top: 64px;
  }
}

/* ---------- iPad portrait (768–1023) ---------- */
@media (min-width: 768px) and (max-width: 1023px) and (min-height: 501px), (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-v2 {
    min-height: 767px;
    min-height: clamp(560px, 65svh, 800px);
  }

  .hero-v2-copy {
    gap: 16px;
    padding-bottom: 40px;
  }

  .hero-v2-ctas {
    flex-direction: row;
    gap: 14px;
  }

  .hero-v2-ctas .btn-xl {
    width: 440px;
    padding-inline: 44px;
    font-size: 19px;
  }

  .hero-v2-ctas .btn-l {
    width: 260px;
    padding-inline: 34px;
    font-size: 17px;
  }

  .home-strip-grid {
    --per: 2.15;
  }

  .home-strip-grid.swipe-2row,
  .home-strip-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--swipe-gap)) / var(--per));
    row-gap: 18px;
  }

  .home-strip-grid > .swipe-item {
    flex: none;
  }

  .home-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .home-pillar {
    padding: 22px 12px;
  }

  .home-pillar img {
    width: 76px;
    height: 76px;
  }

  .home-pillar-title {
    font-size: 22px;
    line-height: 28px;
  }

  .home-pillar-text {
    font-size: 17px;
    line-height: 22px;
  }

  .home-hour-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .home-world-layout {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    align-items: center;
    gap: 32px;
  }

  .home-world-title {
    font-size: 32px;
    line-height: 38px;
  }

  .home-world-text {
    font-size: 19px;
    line-height: 26px;
  }

  .home-world-list li {
    font-size: 18px;
    line-height: 22px;
  }

  .home-world-btn.btn-l {
    width: 260px;
    height: 56px;
    font-size: 17px;
  }

  .home-world-label {
    display: none;
  }

  .home-news-cards {
    --per: 2.15;
  }

  .home-news-media {
    height: 190px;
  }

  .home-roles {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-role-damage,
  .home-role-later {
    grid-column: 1 / -1;
  }

  .home-role {
    padding: 18px 16px;
  }

  .home-role-list li {
    flex: 1 1 0;
  }

  .class-pick {
    width: 100%;
  }

  .class-pick img {
    width: 100%;
    max-width: 88px;
  }

  .class-pick span {
    font-size: 14px;
  }

  .home-howto-btn.btn-xl {
    width: 520px;
  }

  .home-road-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .home-road-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ---------- Phones (portrait + landscape) ---------- */
@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  .home-content {
    padding-top: 16px;
  }

  .home-strip-head,
  .home-target-head,
  .home-hour-head {
    margin-bottom: 12px;
  }

  .home-target {
    --section-pb: 44px;
  }

  .home-target-sub {
    font-size: 16px;
    line-height: 21px;
  }

  .home-hour {
    --section-pb: 44px;
  }

  .home-hour-title {
    font-size: 18px;
    line-height: 22px;
  }

  .home-hour-text {
    font-size: 16px;
    line-height: 20px;
  }

  .home-hour-num {
    min-width: 30px;
    padding: 3px 8px;
    font-size: 16px;
    line-height: 20px;
  }

  .shot-tile {
    gap: 6px;
  }

  .shot-tile-caption {
    font-size: 15px;
    line-height: 20px;
  }

  .home-pillar-text {
    font-size: 15px;
    line-height: 19px;
  }

  .home-news-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-news-body {
    gap: 4px;
    padding: 12px 14px 14px;
  }

  .home-news-title {
    font-size: 18px;
    line-height: 23px;
  }

  .home-news-text {
    font-size: 16px;
    line-height: 20px;
  }

  .home-news-date {
    font-size: 15px;
  }

  .home-news .section-head,
  .home-classes .section-head {
    align-items: center;
  }

  .home-classes .section-sub {
    font-size: 16px;
  }

  .home-class-row .class-pick span {
    font-size: 15px;
  }
}

/* ---------- iPhone portrait ---------- */
@media (max-width: 767px) and (min-height: 501px), (max-width: 767px) and (orientation: portrait) {
  .hero-v2 {
    min-height: 620px;
    min-height: calc(100svh - var(--bar-h) - var(--tabbar-h));
  }

  .hero-v2::before {
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.25) 0%, rgba(7, 7, 10, 0) 22%, rgba(7, 7, 10, 0.55) 48%, rgba(7, 7, 10, 0.94) 72%, #0C0B0A 100%);
  }

  .hero-v2-copy {
    gap: 12px;
    padding-top: 64px;
    padding-bottom: 20px;
  }

  .hero-v2-title {
    font-size: 36px;
    line-height: 42px;
  }

  .hero-v2-sub {
    font-size: 19px;
    line-height: 25px;
  }

  .hero-v2-ctas {
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
  }

  .hero-v2-ctas .btn-xl {
    width: 354px;
    height: 62px;
  }

  .home-strip-grid .shot-tile-media,
  .home-strip-grid .shot-tile-media img {
    height: auto;
  }

  .home-strip-grid .shot-tile-media {
    aspect-ratio: 16 / 10;
  }

  .home-hour-list {
    --per: 1.6;
  }

  .home-class-chips {
    flex-wrap: nowrap;
  }

  .home-class-chips .fchip {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 10px;
  }

  .home-class-chips .fchip img {
    display: none;
  }

  .home-howto-phone-btn {
    align-self: center;
  }
}

/* ---------- iPhone landscape (short) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
    align-items: center;
    min-height: 346px;
    min-height: calc(100svh - var(--bar-h));
    background: #0C0B0A;
  }

  .hero-v2-media {
    left: 44%;
    width: 56%;
    object-position: 50% 30%;
  }

  .hero-v2::before {
    left: 44%;
    background:
      linear-gradient(90deg, #0C0B0A 0%, rgba(12, 11, 10, 0.55) 22%, rgba(12, 11, 10, 0) 55%),
      linear-gradient(0deg, rgba(12, 11, 10, 0.6) 0%, rgba(12, 11, 10, 0) 30%);
  }

  .hero-v2-copy {
    grid-column: 1;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px 16px var(--pad-l);
    text-align: left;
  }

  .hero-v2-title {
    font-size: 28px;
    line-height: 34px;
    text-wrap: balance;
  }

  .hero-v2-sub {
    font-size: 17px;
    line-height: 22px;
  }

  .hero-v2-badges {
    justify-content: flex-start;
  }

  .hero-v2-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hero-v2-ctas .btn-xl {
    width: 330px;
    height: 54px;
  }

  .hero-v2-link {
    padding-left: 4px;
  }

  .home-strip-grid .shot-tile-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .home-target-swipe {
    --per: 1.7;
  }

  .home-hour-list {
    --per: 3.3;
  }

  .home-world-layout {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    align-items: center;
    gap: 24px;
  }

  .home-world-copy {
    display: flex;
    gap: 12px;
  }

  .home-world-frame {
    order: 0;
    height: auto;
    aspect-ratio: 760 / 428;
  }

  .home-world-title,
  .home-world-btn {
    order: 0;
  }

  .home-world-btn {
    align-self: flex-start;
  }

  .home-world-text {
    font-size: 17px;
    line-height: 23px;
  }

  .home-news-cards {
    --per: 2.3;
  }

  .home-class-row {
    --per: 6.4;
  }

  .home-howto-phone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 20px;
  }

  .home-howto-phone-title {
    grid-column: 1 / -1;
  }

  .home-howto-phone-btn {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Lead fix: iPad portrait — keep the 4 hero badges on one line (was 3 + 1) and make the bar logo readable. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-v2-badges {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-v2-badges .badge {
    gap: 6px;
    padding: 5px 10px 5px 6px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Fix pass 2026-11-27 (lane A: Home)
   ========================================================================== */

/* First hour: phone pictures come from a <picture> with HUD-free crops (D14) */
.home-hour-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* "Where it's heading": the selected thumbnail already names the scene below 1280,
   so the caption under the big slider is kept for screen readers only (D13). */
@media (max-width: 1279px) {
  .home-target-big .ba-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

/* News cards whose post is not written yet (decision 11): no link, "Post coming soon" */
.home-news-soon .home-news-date {
  color: var(--v2-muted);
  font-style: italic;
}

/* Road to launch strip (phones, D5) */
.home-road-phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.home-road-phone-title {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.home-road-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-road-strip li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 10px 8px 12px;
  border: 1px solid var(--v2-line-dark);
  background: rgba(10, 10, 14, 0.88);
}

.home-road-strip li.is-now {
  border-color: var(--v2-gold);
  background: rgba(201, 165, 92, 0.12);
}

.home-road-step {
  color: var(--v2-gold);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.home-road-strip b {
  color: var(--v2-soft);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
}

.home-road-strip li.is-now b {
  color: var(--v2-gold-pale);
}

.home-road-strip li > span:last-child {
  color: var(--v2-muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 18px;
}

@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  /* small corner tag on the first-hour thumbnails (D14) */
  .home-hour-tag {
    top: auto;
    bottom: 4px;
    right: 4px;
    padding: 0 4px;
    line-height: 16px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .home-road-strip li {
    padding: 10px 12px 12px;
  }

  .home-road-strip li > span:last-child {
    font-size: 15px;
    line-height: 19px;
  }
}

/* iPhone portrait hero (D3): the art sits above the copy, cropped to the colossus and the four
   heroes instead of empty sky. The copy keeps its place so the buttons stay above the fold. */
@media (max-width: 767px) and (min-height: 501px), (max-width: 767px) and (orientation: portrait) {
  .hero-v2-media {
    position: relative;
    inset: auto;
    flex: 1 0 350px;
    align-self: flex-start;
    width: 227%;
    margin-left: -63.5%;
    height: auto;
    min-height: 350px;
    object-position: 50% 88%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%);
  }

  .hero-v2::before {
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.35) 0, rgba(7, 7, 10, 0) 64px);
  }

  .hero-v2-copy {
    position: relative;
    margin-top: -16px;
    padding-top: 0;
  }
}

/* Lead fix (re-test): news title link was ~24px tall on phones/iPad. */
@media (max-width: 1023px), (max-height: 500px) and (orientation: landscape) {
  .home-news-title a { display: inline-block; padding-block: 10px; margin-block: -10px; min-height: 44px; }
}

/* Lead fix (pass 3): keep the 3 phone hero badges on one row down to 360px-wide phones. */
@media (max-width: 400px) {
  .hero-v2-badges { gap: 5px; flex-wrap: nowrap; }
  .hero-v2-badges .badge { gap: 4px; padding: 4px 7px 4px 5px; font-size: 13px; }
  .hero-v2-badges .badge img { width: 18px; height: 18px; }
}
