/* Award pass (Nov 2026): alignment, a quieter break between the two build sequences, and the blueprint lens. */

/* "The same kitchen. Your palette." lines up with the photograph and the palette list below it. */
.kitchen-finish-heading { max-width: 1600px; }

/* The quick-start band between the bathroom and kitchen sequences: dark like both of them, so the story reads
   as one continuous build with a gold call to action, instead of a pale strip cutting through it. */
.project-start { background: #111916; color: #f0ece4; border-block: 1px solid #d4b68133; }
.project-start h2 { color: #f0ece4; }
.project-start > div > p:last-child, .project-start .quick-note { color: #c9c4b6; }
.project-start .invitation-action small { color: #a8a291; }
.project-start .solid-button { background: #d4b681; border-color: #d4b681; color: #171a19; }
.project-start .solid-button:hover { background: #e2c899; border-color: #e2c899; }
.project-start a { color: #e2c899; }

/* Blueprint lens: on a mouse or trackpad, the palette photograph shows its own line drawing under the cursor. */
.kitchen-finish-layout figure picture { position: relative; display: block; }
.bp-lens { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: url("./media/kitchen/blueprint-1600.webp") center / 100% 100% no-repeat;
  -webkit-mask-image: radial-gradient(circle var(--r, 120px) at var(--x, 50%) var(--y, 50%), #000 0 88%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 120px) at var(--x, 50%) var(--y, 50%), #000 0 88%, transparent 100%); }
.bp-ring { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: calc(var(--r, 120px) * 2); height: calc(var(--r, 120px) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s;
  box-shadow: 0 0 0 1px #d4b681cc, 0 0 0 7px #d4b6811f; }
.bp-on .bp-lens, .bp-on .bp-ring { opacity: 1; }
.bp-on img { cursor: none; }
.bp-hint { display: none; margin: 10px 0 0; font-size: .8125rem; color: #c9c4b6; }
@media (hover: hover) and (pointer: fine) { .bp-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { .bp-lens, .bp-ring { transition: none; } }

/* The section links under the quick-start band belong to the same dark run. */
.experience-navigation { background: #111916; border-block-color: #d4b68126; }
.experience-navigation a { color: #e2c899; border-color: #d4b68166; }
.experience-navigation a:hover { color: #f0ece4; }

/* ---------- Phones: slimmer sequence controls (Nov 2026) ----------
   On a phone the scroll already moves the house, bathroom and kitchen, so the controls shrink to what helps while
   scrolling: where you are, how far along, and the still/step-by-step switch. Chapter tabs and arrow buttons are
   left out (the slider still jumps anywhere). Still view keeps its full layout. */
@media (max-width: 700px) {
  .journey:not(.still) .stage .control-panel {
    left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; height: auto !important; width: auto; max-width: none; margin: 0; transform: none;
    padding: 30px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, #11191600, #111916e0 38%, #111916f2); border: 0; border-radius: 0; box-shadow: none;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  }
  /* On the house, the project credit sits under the slider inside the same gradient. */
  .journey:not(.still) .stage:not([data-room=true]) .control-panel { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .journey:not(.still) .stage .control-panel .chapter-buttons,
  .journey:not(.still) .stage .control-panel .transport { display: none; }
  .journey:not(.still) .stage .control-panel .scene-caption { grid-column: 1; grid-row: 1; margin: 0; padding: 0; background: none; font-size: .8125rem; line-height: 1.35; }
  .journey:not(.still) .stage .control-panel .scene-caption span { background: none; padding: 0; }
  .journey:not(.still) .stage .control-panel .room-view { grid-column: 2; grid-row: 1; min-height: 34px; padding: 6px 10px; font-size: .75rem; }
  .journey:not(.still) .stage .control-panel .timeline {
    grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; margin: 0; padding: 0; border: 0;
  }
  .journey:not(.still) .stage .control-panel .timeline input { width: 100%; margin: 0; }
  .journey:not(.still) .stage .control-panel .timeline output { font-size: .75rem; min-width: 3.2ch; text-align: right; }
  .journey:not(.still) .stage .control-panel #motion { min-height: 34px; font-size: .75rem; }

  /* Kitchen: the stage title and its two-line description, then one row of slider, count and the step-by-step switch. */
  .kitchen-section .kitchen-controls { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .kitchen-section .kitchen-chapters, .kitchen-section .kitchen-prev, .kitchen-section .kitchen-next { display: none; }
  .kitchen-section .kitchen-caption { padding-bottom: 6px; }
  .kitchen-section .kitchen-caption p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .kitchen-section .kitchen-transport { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; flex-wrap: nowrap; }
  .kitchen-section .kitchen-transport #kitchen-range { width: 100%; margin: 0; }
  .kitchen-section .kitchen-transport #kitchen-mode { flex-basis: auto; min-height: 34px; font-size: .75rem; }
  .kitchen-section .kitchen-hint { margin-top: 4px; font-size: .625rem; opacity: .75; }
}
