/* The front page (index.html, tools/sitegen/home.py) in the Studio look: the example the owner chose on 12 Nov 2026 is
   site/preview/rethink/studio/index.html. Loaded after tokens.css and site.css, on this page only. Screen one is the
   site's hero (site.css) with the front page's own name, line and doors, and the page ends there. Every rule is under
   .home (the page's <main>) or one of its own classes, so nothing here reaches another page. Tokens only: both themes
   come from tokens.css. Gold means press. */

/* ---------- base ---------- */
.home { font-family: var(--face-text); font-size: var(--fs-text); line-height: 1.6; font-optical-sizing: auto; font-variant-numeric: lining-nums; }
.home :focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.home .nw { white-space: nowrap; }
/* the page ends with its first screen: the footer follows it with no gap */
.home + footer.foot { margin-top: 0; }

/* ---------- screen one: the still, his name, the one line, Start here (and Continue), the three doors ---------- */
.hero--home { min-height: max(100svh, 620px); }
.home__name {
  margin: 0 0 0 -.035em; font-family: var(--face-display); font-weight: 800; font-stretch: 90%;
  font-size: clamp(4.5rem, 11.6vw, 11rem); line-height: .84; letter-spacing: -.028em; color: var(--ink);
}
.home__line { margin-top: clamp(20px, 3vh, 32px); max-width: 27ch; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.38; color: var(--pencil); }
.home-start { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.home-continue { display: grid; justify-items: start; margin: 0; font-size: var(--fs-meta); line-height: 1.45; color: var(--pencil); }
.home-continue[hidden] { display: none; }
.home-continue a { color: var(--link); display: inline-flex; flex-wrap: wrap; align-items: center; min-height: var(--tap); column-gap: .35em; font-weight: 600; text-decoration: none; }
.home-continue a:hover { text-decoration: underline; }
.doors { margin-top: clamp(28px, 5vh, 56px); max-width: 560px; border-top: 1px solid var(--rule); }
.doors a {
  display: grid; grid-template-columns: 8.75rem 1fr auto; align-items: baseline; column-gap: 16px;
  padding: 15px 4px 15px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none;
}
.doors b { font-family: var(--face-display); font-size: 1.875rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.doors span { font-size: .9375rem; line-height: 1.35; color: var(--pencil); }
.doors a:hover b { color: var(--link); }
@media (max-width: 640px) {
  .hero--home { min-height: max(100svh, 600px); }
  .hero--home .hero__pic::after {
    background:
      linear-gradient(to top, #000 0, #000 34%, rgba(0, 0, 0, .7) 52%, rgba(0, 0, 0, 0) 78%),
      linear-gradient(to bottom, rgba(0, 0, 0, .66) 0, rgba(0, 0, 0, 0) 130px);
  }
  .home__name span { display: block; }
  .home__name { font-size: clamp(4.25rem, 24vw, 6.25rem); }
  .doors a { grid-template-columns: 7rem 1fr auto; padding-block: 13px; }
  .doors b { font-size: 1.5rem; }
  .doors span { font-size: .875rem; }
}
