/* The home page (24 Oct 2026): one first screen, the four lines, three links.
   Phone first; the first screen fits 375 x 812 with the big line, the one
   sentence, the three buttons and the picture. Builds on nova.css. */

.home-hero { padding: calc(82px + clamp(1rem, 4vh, 3rem)) 0 clamp(1.5rem, 4vh, 3rem); }
.home-grid { display: grid; gap: clamp(1.25rem, 3vh, 2.5rem); align-items: center; }
.home-copy { min-width: 0; }
.home .home-title { max-width: none; font-size: clamp(3.3rem, 13.5vw, 7.6rem); line-height: .84; }
.home-line { max-width: 34rem; margin: .9rem 0 0; color: #dfe8f3; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.45; text-wrap: pretty; }

.home-buttons { display: grid; gap: .65rem; margin-top: 1.3rem; max-width: 34rem; }
.home-buttons .button { min-height: 52px; justify-content: center; }
.home-play { font-size: 1.2rem; }
.home-second { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
.home-iphone { min-width: 0; padding-inline: 1rem; border-color: rgba(202, 221, 241, .28); color: #c9d6e4; background: rgba(6, 18, 35, .6); font-size: .98rem; letter-spacing: .03em; text-align: center; }
.home-iphone.is-quiet { cursor: default; }
.home-iphone.is-quiet:hover { transform: none; }
a.home-iphone:not(.button-primary) { color: #e8f2ff; border-color: rgba(69, 210, 255, .5); }
.home-iphone.button-primary { color: #140c02; }
/* The home page's job is installs: Shop sits beside the iPhone button, quieter than Play. */
.home-shop { padding-inline: 1.3rem; border-color: rgba(244, 213, 141, .55); color: var(--gold); background: rgba(20, 14, 4, .55); font-size: .98rem; }

.home-live { margin: .9rem 0 0; color: #a7efff; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.home-live[hidden] { display: none; }

.home-trailer { margin: 0; min-width: 0; }
.home-phone { position: relative; padding: 9px; border: 1px solid rgba(244, 213, 141, .38); border-radius: 26px; background: linear-gradient(160deg, #1b2738, #070d18); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 0 0 2px #03070f; }
.home-phone::before { content: ""; position: absolute; left: 3px; top: 50%; width: 3px; height: 34px; border-radius: 3px; background: #2b3a50; transform: translateY(-50%); }
.home-poster, .home-video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 736; border-radius: 18px; object-fit: cover; background: #050b16; }
.home-video[hidden] { display: none; }

.home-lines { padding: clamp(1rem, 3vh, 2rem) 0 0; }
.home-lines dl { display: grid; gap: .9rem; margin: 0; }
.home-lines dl > div { display: grid; gap: .2rem; }
.home-lines dt { color: var(--gold); font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.home-lines dd { margin: 0; color: #c7d4e2; line-height: 1.5; }
.home-season { margin: 1.1rem 0 0; color: var(--ink); font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: .03em; }
.home-links { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; padding: .6rem 0 3rem; }
.home-links .text-link { min-height: 44px; align-items: center; margin-top: .4rem; }

/* Phones: the install bar. 44px, shown once the first screen has gone; the
   page keeps its height as room under the footer, so it never covers it. */
.home-sticky { position: fixed; inset: auto 0 0; z-index: 70; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(3, 8, 20, .94); border-top: 1px solid var(--line); backdrop-filter: blur(16px); transform: translateY(110%); transition: transform .25s ease; }
.home-sticky.is-on { transform: none; }
.home-sticky a, .home-sticky span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .6rem; border-radius: 4px; font-family: var(--display); font-size: .98rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; line-height: 1.05; }
.home-sticky-play { color: #140c02; background: linear-gradient(135deg, #f8e0a6, #d29b32); }
.home-sticky span { color: #c9d6e4; border: 1px solid rgba(202, 221, 241, .25); }
.home-sticky a.home-sticky-iphone { color: #e8f2ff; border: 1px solid rgba(69, 210, 255, .5); }
@media (max-width: 899px) {
  .home-sticky:not([hidden]) { display: grid; }
  body.home { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

@media (min-width: 900px) {
  .home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .home-buttons { grid-template-columns: auto minmax(0, 1fr) auto; max-width: none; align-items: stretch; }
  .home-second { display: contents; }
  .home-lines dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 740px) {
  .home-hero { padding-top: calc(70px + 1rem); }
}
@media (max-width: 360px) {
  .home-second { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .home-sticky { transition: none; }
}

/* /news/: the "New in Crownfall" section that moved off the home page. */
.news-main { padding-top: 96px; }
.news .news-title { max-width: 900px; font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; text-transform: none; }
.news-lede { max-width: 40rem; color: #c7d4e2; }
.news-post { max-width: 46rem; margin-top: 2.2rem; padding: 1.4rem 1.3rem; border: 1px solid rgba(238, 192, 103, .22); border-radius: 10px; background: rgba(8, 20, 38, .6); }
.news-post h2 { margin: .2rem 0 .8rem; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.news-post h3 { margin: 1.2rem 0 .4rem; color: var(--gold); font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.news-post p, .news-post li { color: #dbe5f0; line-height: 1.55; }
.news-post ul { margin: 0; padding-left: 1.2rem; }
.news-post li + li { margin-top: .35rem; }
.news-post a { color: var(--gold); }
.news-date { margin: 0; color: #a7efff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news .section-heading h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.news-posts.section { padding-top: 1.2rem; }
.news-note { margin-top: 1rem; color: #a7efff; }
