/* A unified model-led homepage: a single canvas moves from mountain landscape into the assembly story.
   The shared navigation and the two chapters use one warm neutral palette and the existing type family. */
@import url("journey.css");
body:has(#home:not([hidden])) {
  --bg: #f0efe9;
  --ink: #233329;
  --muted: #656b62;
  --line: #d7d9d0;
  --forest: #344c3d;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
}
body:has(#home:not([hidden])) .page-nav { max-width: none; margin: 0 -20px;
  padding: 8px max(24px, 4vw); background: rgb(240 239 233 / 0.94); backdrop-filter: blur(18px); }
body:has(#home:not([hidden])) .page-nav a[aria-current="page"] {
  color: var(--forest); background: transparent;
}
.home { --home-nav: 61px; --home-bottom: 0px; width: 100vw; margin-left: calc(50% - 50vw); gap: 0; }
.home h1, .home h2 { font-family: var(--f-display); font-weight: 500; font-stretch: normal;
  line-height: 1.04; letter-spacing: -0.05em; }
.home .eyebrow { font: 500 11px/1.5 var(--f-body); letter-spacing: 0.15em; color: inherit; }
.home-link { display: inline-flex; align-items: center; min-height: 44px; gap: 14px;
  color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.home-link::after { content: "↗"; font-size: 20px; transition: transform 200ms; }
.home-link:hover::after { transform: translate(3px, -3px); }
@media (max-width: 719px) {
  body:has(#home:not([hidden])) .page-nav {
    margin: 0; padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .home { --home-nav: 0px; --home-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
