/* The shared little world, composed as the homepage's welcome scene. */
.home-page .hero-world {
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 36px 64px;
  padding-block: 54px 32px;
  align-items: end;
}
.hero-world .eyebrow { margin-bottom: 18px; font-size: 13px; }
.hero-world h1 { font-size: clamp(48px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.052em; }
.hero-world h1 span { color: #577b42; }
.hero-world .hero-description { margin: 0 0 23px; max-width: 410px; font-size: 20px; line-height: 1.5; }
.hero-world .hero-actions { gap: 18px 22px; }
.hero-world .hero-actions .button { font-size: 17px; min-height: 54px; padding: 13px 20px 11px; gap: 21px; }
.hero-world .hero-actions .text-link { font-size: 15px; }
.hero-world .small-note { margin-top: 13px; font-size: 12px; }

.world-welcome { grid-column: 1 / -1; min-width: 0; padding: 0; scroll-margin-top: 18px; }
.world-welcome .world-frame { width: 100%; border: 2px solid #445d48; border-bottom-width: 5px; border-radius: 18px; }
.welcome-world-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; background: #f5f7ed; border-bottom: 1px solid #cdd9c6; }
.welcome-world-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.welcome-world-heading > span { font-size: 12px; color: #64735d; }
.world-welcome .world-stage { height: clamp(540px, 44vw, 600px); background: #c3e2ec; }
.world-welcome .world-clock-chip { top: 16px; left: 18px; padding: 9px 11px; background: #243d33eb; border-color: #fff6d859; font-size: 13px; }
.world-welcome .world-clock-chip #world-period { font-size: 10px; }
.world-invitation { position: absolute; top: 17px; right: 18px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #284838; background: #fffcf1e8; border: 1px solid #56755140; border-radius: 6px; font-size: 12px; font-weight: 700; pointer-events: none; }
.world-invitation svg { width: 16px; height: 16px; }
.world-welcome .world-controls { grid-template-columns: minmax(160px, 1fr) auto; gap: 20px 30px; padding: 17px 20px 18px; border-top: 1px solid #bac7ac; background: #f5f7ed; }
.world-welcome .world-dial { gap: 9px; }
.world-welcome .world-dial label { font-size: 9px; letter-spacing: .09em; }
.world-welcome .world-dial input { height: 12px; border-width: 1px; border-radius: 3px; }
.world-welcome .world-chips { grid-column: auto; order: 0; flex-wrap: nowrap; gap: 6px; }
.world-welcome .world-chips button { display: inline-flex; align-items: center; gap: 7px; min-height: 41px; padding: 8px 11px 7px; font-size: 13px; border-width: 1px; border-bottom-width: 3px; border-radius: 8px; white-space: nowrap; }
.time-swatch { width: 10px; height: 10px; flex: none; background: #eccd82; box-shadow: inset -2px -2px 0 #00000015; }
.time-swatch.noon { background: #a3c6d7; }
.time-swatch.sunset { background: #e9a17c; }
.time-swatch.night { background: #7b739f; }
.world-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 2px 0; }
.world-caption > p { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; }
#world-moment { font-size: 16px; font-weight: 700; }
#world-time-hint { color: var(--muted); font-size: 13px; }
.world-caption .text-link { flex: none; font-size: 13px; gap: 8px; color: #4e703b; text-decoration: underline; text-underline-offset: 4px; }
.world-example-note { margin-top: 8px; font-size: 11px; color: var(--muted); }

@media (max-width: 1100px) {
  .home-page .hero-world { gap: 30px 40px; }
  .hero-world h1 { font-size: clamp(48px, 5.8vw, 68px); }
  .hero-world .hero-description { font-size: 18px; }
  .hero-world .hero-actions { gap: 13px 18px; }
  .world-caption > p { gap: 3px 18px; }
}
@media (max-width: 900px) {
  .home-page .navigation { height: 80px; }
  .home-page .nav-links { gap: 20px; font-size: 14px; }
  .home-page .hero-world { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .hero-world h1 { font-size: clamp(54px, 8vw, 70px); }
  .hero-world .hero-invitation { max-width: 620px; }
  .hero-world .hero-description { max-width: 500px; font-size: 19px; margin-bottom: 20px; }
  .world-welcome { margin-top: 7px; }
  .world-welcome .world-stage { height: 530px; }
  .world-welcome .world-controls { grid-template-columns: 1fr; gap: 17px; padding: 17px 18px; }
  .world-welcome .world-chips { margin: 0; padding: 0; overflow: visible; }
  .world-welcome .world-chips button { flex: 1; justify-content: center; }
  .world-caption { align-items: flex-start; }
  .world-caption > p { flex-direction: column; }
}
@media (max-width: 600px) {
  .home-page .hero-world { gap: 20px; padding-block: 30px 24px; }
  .hero-world .eyebrow { font-size: 12px; margin-bottom: 17px; }
  .hero-world h1 { font-size: clamp(42px, 10.6vw, 60px); line-height: 1.04; }
  .hero-world .hero-description { font-size: 18px; max-width: 360px; }
  .hero-world .hero-actions .button { min-height: 52px; font-size: 16px; padding-inline: 17px; gap: 16px; }
  .hero-world .hero-actions .text-link { font-size: 14px; gap: 6px; }
  .hero-world .small-note { line-height: 1.5; }
  .world-welcome { width: calc(100% + 32px); margin-left: -16px; }
  .world-welcome .world-frame { border-radius: 12px; border-left: 1px solid #445d48; border-right: 1px solid #445d48; }
  .welcome-world-heading { padding: 13px 14px; }
  .welcome-world-heading h2 { font-size: 13px; }
  .welcome-world-heading > span { display: none; }
  .world-welcome .world-stage { height: 380px; }
  .world-welcome .world-clock-chip { left: 10px; top: 10px; font-size: 11px; padding: 7px 9px; gap: 7px; }
  .world-welcome .world-clock-chip #world-period { font-size: 9px; }
  .world-invitation { top: 11px; right: 10px; padding: 5px 7px; font-size: 10px; gap: 4px; }
  .world-invitation svg { width: 12px; height: 12px; }
  .world-welcome .world-controls { padding: 15px 12px 12px; gap: 16px; }
  .world-welcome .world-chips { gap: 5px; }
  .world-welcome .world-chips button { gap: 5px; padding: 8px 5px 7px; min-height: 42px; font-size: 11px; }
  .time-swatch { width: 7px; height: 7px; }
  .world-caption { padding: 14px 14px 0; flex-direction: column; gap: 10px; }
  #world-moment { font-size: 15px; }
  #world-time-hint { font-size: 12px; }
  .world-example-note { padding-inline: 14px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-welcome .world-chips button:hover, .world-welcome .world-chips button:active { transform: none; }
}
