/* The Foyer's wall modules — Daily Schedule, Survival Guide, 60-Day Calendar,
 * plus Unfinished Business, the editable checklist (same glass, ice chrome).
 *
 * They live INSIDE the Foyer glass, under today's focal line, as regions: a
 * hairline top rule, spacing and type weight. Not cards. The glass is the one
 * bordered surface in the room, and a sibling card in .desk-main is dimmed to
 * 34% by jarvis-house.css, which is the opposite of prominent.
 *
 * Tokens only. No height caps, no inner scroll — the page scroll reaches
 * everything (No Trapped Content).
 */

.foyer-wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem 1.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--room-hue) 30%, transparent);
}

/* In-page jumps under the priority line (DESK-DS-CHROME-0919). */
.foyer-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foyer-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ice-hot);
  text-decoration: none;
}

.foyer-jump a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.foyer-jump a:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
  border-radius: 2px;
}

.foyer-module {
  scroll-margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.foyer-module-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.75rem;
}

/* The whole doc folds out from under its summary, shut by default, and lays
 * straight onto the page when open: no box, no inner scroll (DESK-DS-CHROME-0919
 * + No constraining boxes). */
.foyer-open {
  margin-top: 0.2rem;
}

.foyer-open-sum {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-hot);
}

.foyer-open-sum::-webkit-details-marker {
  display: none;
}

.foyer-open-sum::after {
  content: "";
  width: 0.5rem;
  aspect-ratio: 1;
  margin-bottom: 0.2rem;
  border: solid var(--ice);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.foyer-open[open] > .foyer-open-sum::after {
  margin-bottom: -0.2rem;
  transform: rotate(-135deg);
}

.foyer-open-sum:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
  border-radius: 2px;
}

.foyer-open[open] > :not(summary) {
  animation: foyer-reveal 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

@keyframes foyer-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}

.foyer-doc-lede {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--fy-ink);
}

.foyer-doc {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.9rem;
}

.foyer-doc-part {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--room-hue) 16%, transparent);
}

.wrap .foyer-wall h3.foyer-doc-h,
.foyer-doc-h {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.foyer-doc-sub {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brass) 80%, var(--fy-ink));
}

.foyer-doc-rows {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.3rem 0.8rem;
  margin: 0;
}

.foyer-doc-rows dt {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ice);
  white-space: nowrap;
}

.foyer-doc-rows dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--fy-ink);
  overflow-wrap: anywhere;
}

.foyer-doc-p {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fy-ink);
  overflow-wrap: anywhere;
}

.foyer-doc-p strong {
  color: color-mix(in srgb, var(--brass) 85%, var(--fy-ink));
}

.foyer-doc-links,
.foyer-doc-sources {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--fy-soft);
}

.foyer-doc-sources-k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fy-soft);
}

.foyer-doc-links a,
.foyer-doc-sources a {
  color: var(--ice-hot);
  text-underline-offset: 0.2em;
}

.foyer-open-page {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fy-soft);
  text-decoration: none;
}

.foyer-open-page::after {
  content: "→";
  letter-spacing: 0;
}

.foyer-open-page:hover {
  color: var(--ice-hot);
}

.foyer-open-page:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
  border-radius: 2px;
}

/* The Calendar carries the standing plans and ends on Google Calendar. */
.foyer-cal-standing {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--room-hue) 16%, transparent);
}

.foyer-cal-standing:empty {
  display: none;
}

/* Five priorities lead the Foyer. */
.foyer-priorities {
  margin-top: 1rem;
}

.foyer-priorities[hidden] {
  display: none;
}

.wrap h2.foyer-priorities-title,
.foyer-priorities-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.foyer-priorities-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pri;
}

.foyer-priorities-list li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: baseline;
  counter-increment: pri;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--fy-ink);
}

.foyer-priorities-list li::before {
  content: counter(pri);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--brass);
}

/* ⛔ No constraining boxes (Daniel HARD). The Foyer's content sits on the room
 * itself: no glass panel, no card border, no clip. Sections part with a
 * hairline and space. 0-4-1+ outranks stage.css / jarvis-house.css / holo.css. */
body.desk-page.room--desk .desk-craig-card.is-focal,
body.desk-page.room--desk .desk-craig-card.desk-stage-shell,
body.has-lamp-hud.desk-page .wrap .desk-craig-card {
  background: none !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  clip-path: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-left: 0;
  padding-right: 0;
}

body.desk-page.room--desk .desk-craig-card.is-focal::before,
body.desk-page.room--desk .desk-craig-card.is-focal::after {
  content: none;
  display: none;
}

body.has-lamp-hud.desk-page .wrap .desk-next,
body.desk-page.room--desk .desk-next {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Scoped under .wrap .foyer-wall: holo.css sizes every `body.has-lamp-hud .wrap h2`
 * as a display heading, and this is a label over a module, not a room title. */
.wrap .foyer-wall h2.foyer-module-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--room-hue);
}

.foyer-module-age {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--fy-soft);
}

/* A page that is not today's says so plainly rather than looking current. */
.foyer-module-age.is-stale {
  color: var(--lamp);
  font-weight: 700;
}

.foyer-module-headline {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--fy-ink);
  overflow-wrap: anywhere;
}

.foyer-module-headline.is-missing {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--fy-soft);
}

.foyer-module-lines {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.3rem 0.7rem;
  margin: 0.15rem 0 0;
}

.foyer-module-lines dt {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--room-hue);
  white-space: nowrap;
}

.foyer-module-lines dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--fy-ink);
  overflow-wrap: anywhere;
}

/* Labels like "Weather" and "Sports" are words, not numerals — sans, not mono. */
.foyer-module--guide .foyer-module-lines dt {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.12rem;
}

.foyer-module-flags {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.foyer-module-flags li {
  padding-left: 0.8rem;
  border-left: 2px solid var(--lamp);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--fy-ink);
}

/* Unfinished Business — the Foyer's one checklist (LOCK-UNFINISHED-BUSINESS-0926).
 * Every row: an ice check ring, the item's full name (edited in place), and a
 * chevron. Priority, hours and notes fold under the row, shut by default.
 * Rows are separated by hairlines — the glass stays the only bordered surface. */
.foyer-lists {
  display: block;
  margin-top: 1.1rem;
  padding-top: 1rem;
  scroll-margin-top: 1rem;
}

.le-head {
  align-items: center;
  flex-wrap: nowrap;
}

.le-count {
  margin-left: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ice-hot);
}

.foyer-lists .le-add {
  flex: none;
  margin-left: auto;
}

.le-add:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.le-list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.le-item {
  border-top: 1px solid color-mix(in srgb, var(--ice) 14%, transparent);
  transition:
    opacity 260ms cubic-bezier(0.32, 0.08, 0.24, 1),
    background-color 260ms cubic-bezier(0.32, 0.08, 0.24, 1),
    transform 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.le-list > .le-item:first-child {
  border-top: 0;
}

.le-item.is-open {
  background: linear-gradient(90deg, color-mix(in srgb, var(--ice) 7%, transparent), transparent 85%);
}

.le-item.is-leaving {
  opacity: 0;
  transform: translateX(0.75rem);
}

.le-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-areas:
    "check name toggle"
    ". sub .";
  align-items: start;
  gap: 0 0.35rem;
}

.le-check { grid-area: check; }
.le-line > .le-name { grid-area: name; }
.le-toggle { grid-area: toggle; }

.le-sub {
  grid-area: sub;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: -0.35rem 0 0.55rem 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ice);
  cursor: pointer;
}

/* The check: a thin ice ring that fills hot when done. */
.le-check {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.le-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.le-check-mark {
  display: grid;
  place-items: center;
  width: 22px;
  aspect-ratio: 1;
  border: 1.5px solid color-mix(in srgb, var(--ice) 62%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 12px color-mix(in srgb, var(--ice) 18%, transparent);
  transition:
    background-color 120ms cubic-bezier(0.32, 0.08, 0.24, 1),
    border-color 120ms cubic-bezier(0.32, 0.08, 0.24, 1),
    box-shadow 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.le-check-mark::after {
  content: "";
  width: 6px;
  aspect-ratio: 1 / 2;
  margin-top: -2px;
  border: solid var(--room-field);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 120ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.le-check:hover .le-check-mark {
  border-color: var(--ice-hot);
}

.le-check input:checked + .le-check-mark {
  background: var(--ice-hot);
  border-color: var(--ice-hot);
  box-shadow: 0 0 16px color-mix(in srgb, var(--ice-hot) 45%, transparent);
}

.le-check input:checked + .le-check-mark::after {
  transform: rotate(45deg) scale(1);
}

.le-check input:focus-visible + .le-check-mark {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

/* The name is the item: full text, never clipped, edited in place. */
.foyer-lists textarea.le-name {
  display: block;
  width: 100%;
  min-height: 44px;
  field-sizing: content;
  margin: 0;
  padding: 0.6rem 0.2rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fy-ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  resize: none;
  overflow-wrap: anywhere;
  transition: background-color 120ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.foyer-lists textarea.le-name:hover {
  background: color-mix(in srgb, var(--ice) 5%, transparent);
}

.foyer-lists textarea.le-name:focus {
  outline: none;
  background: color-mix(in srgb, var(--ice) 9%, transparent);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--ice-hot) 55%, transparent);
}

.foyer-lists textarea.le-name:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.le-item.is-done textarea.le-name {
  font-weight: 400;
  color: var(--fy-faint);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--ice) 45%, transparent);
}

.le-item.is-settling textarea.le-name {
  transition: color 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

/* Chevron + the two numbers worth seeing folded: rank and hours. */
.le-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--ice);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.le-toggle:hover {
  color: var(--ice-hot);
  background: color-mix(in srgb, var(--ice) 8%, transparent);
}

.le-toggle:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.le-rank {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  aspect-ratio: 1;
  padding: 0 0.2rem;
  color: var(--ice-hot);
  border: 1px solid color-mix(in srgb, var(--ice) 42%, transparent);
  border-radius: 50%;
}

.le-hours {
  white-space: nowrap;
  color: var(--fy-soft);
}

.le-chev {
  width: 0.5rem;
  aspect-ratio: 1;
  margin-bottom: 0.2rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.le-item.is-open .le-chev {
  margin-bottom: -0.2rem;
  transform: rotate(-135deg);
}

/* The fold: shut by default, eases open. No clipping, no inner scroll. */
.le-panel {
  display: none;
}

.le-item.is-open .le-panel {
  display: block;
  animation: le-reveal 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

@keyframes le-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}

.le-panel-inner {
  display: grid;
  gap: 0.7rem;
  padding: 0.15rem 0.25rem 0.9rem calc(44px + 0.35rem);
}

.le-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.le-field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.le-field-k {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.foyer-lists .le-select,
.foyer-lists .le-text {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.5rem 0.65rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--fy-ink);
  background: color-mix(in srgb, var(--ice) 7%, transparent);
  border: 0;
  border-radius: 10px;
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--ice) 30%, transparent);
}

.foyer-lists .le-select {
  font-family: var(--font-mono);
  color-scheme: dark;
  cursor: pointer;
}

.foyer-lists .le-text {
  field-sizing: content;
  resize: none;
}

.foyer-lists .le-select:focus-visible,
.foyer-lists .le-text:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.le-acts {
  display: flex;
  justify-content: flex-end;
}

.le-act {
  min-height: 44px;
  padding: 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fy-soft);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.le-act:hover {
  color: var(--ice-hot);
  background: color-mix(in srgb, var(--ice) 8%, transparent);
}

.le-act[data-armed="1"] {
  color: var(--lamp);
}

.le-act:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.le-clear {
  margin: 0.6rem 0 0;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--fy-soft);
}

/* Done sinks into one fold at the foot. */
.le-done {
  margin-top: 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--ice) 14%, transparent);
}

.le-done-sum {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fy-soft);
}

.le-done-sum::-webkit-details-marker {
  display: none;
}

.le-done-sum::before {
  content: "+";
  width: 44px;
  text-align: center;
  color: var(--ice);
}

.le-done[open] > .le-done-sum::before {
  content: "−";
}

.le-done-sum:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.le-done-n {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.le-done[open] > .le-list {
  animation: le-reveal 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

@media (prefers-reduced-motion: reduce) {
  .le-item,
  .le-check-mark,
  .le-check-mark::after,
  .le-chev,
  .foyer-lists textarea.le-name {
    transition: none;
  }
  .le-item.is-open .le-panel,
  .le-done[open] > .le-list {
    animation: none;
  }
}

/* LOCK-GIBSON-ICE-CHROME-0926: The Foyer is Gibson's room. Its glass keeps a
 * brass rim (the metal) with an ice hairline inside it (the light); titles and
 * rules inside run ice. The lamp above stays warm. 0-4-1 outranks
 * jarvis-house.css. */
body.desk-page.room--desk .desk-craig-card.is-focal {
  border-color: color-mix(in srgb, var(--brass) 46%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ice-hot) 18%, transparent),
    0 26px 70px rgba(0, 0, 0, 0.5),
    0 0 36px color-mix(in srgb, var(--ice) 10%, transparent);
}

body.desk-page.room--desk .desk-craig-card .eyebrow,
body.desk-page.room--desk .desk-craig-card .desk-stage-kicker {
  color: var(--ice);
}

body.desk-page.room--desk .desk-main > .desk-next {
  border-color: color-mix(in srgb, var(--brass) 32%, transparent);
}

body.desk-page.room--desk .desk-next .desk-next-when {
  color: var(--ice);
}

/* ==========================================================================
 * FOYER-MANSION-0926 — The Foyer is a tech-forward glass house at night.
 * Daniel, 2026-09-26: "still way too brown … more open, more environmental
 * elements, windows, like we're in a huge tech forward mansion with
 * holographics showing the information."
 *
 * Back to front: the view — public/img/foyer/<scene>.jpg, one per time of day
 * (--fy-view; swap a file to upgrade the picture, the CSS sky is the fallback) —
 * seen through a floor-to-ceiling window wall on slim brass mullions; a
 * glossy floor carrying a faint holographic grid. The information reads as a
 * projection: cool text, ice glow, one soft light column behind the content —
 * never a box. The pendant lamp (the Rooms control) and its motes stay; its
 * warm wash is turned down. Tokens only: navy = the ice-navy lane
 * (--navy / --navy-2), metal = --brass, light = --ice / --ice-hot.
 * All set pieces are aria-hidden set dressing in .room-atm (house.js).
 * ========================================================================== */
body.desk-page.room--desk {
  --fy-ink: color-mix(in srgb, var(--ice-hot) 88%, var(--ivory));
  --fy-soft: color-mix(in srgb, var(--ice) 62%, var(--ivory));
  --fy-faint: color-mix(in srgb, var(--ice) 42%, var(--navy-2));
  --fy-night: color-mix(in srgb, var(--navy) 55%, black);
  --fy-steel: color-mix(in srgb, var(--brass) 30%, var(--navy));
}

/* The house itself: cool night air, no brown wash. 0-3-2 outranks
 * jarvis-house.css `body.desk-page.room--desk`. */
html body.desk-page.room--desk {
  background:
    radial-gradient(90% 55% at 50% 72%, color-mix(in srgb, var(--ice) 7%, transparent), transparent 70%),
    linear-gradient(180deg, var(--fy-night) 0%, var(--navy) 48%, var(--fy-night) 100%);
  color: var(--fy-ink);
}

html body.desk-page.room--desk::after {
  box-shadow: inset 0 0 6rem 1.5rem color-mix(in srgb, black 45%, transparent);
}

html body.desk-page.has-lamp-hud .wrap {
  box-shadow: none;
}

/* Time of day (Daniel 2026-09-26: "have it change by time of day, not just
 * night"). house.js stamps html[data-scene] from New York time:
 * dawn 5–7 · morning 7–11 · afternoon 11–16 · golden 16–18 · dusk 18–21 ·
 * night 21–5. Each scene sets the sky, the horizon glow, the stars and the
 * sun/moon; the interior stays dim so the text over the glass stays readable. */
body.desk-page.room--desk {
  --fy-sky-top: var(--fy-night);
  --fy-sky-mid: var(--navy);
  --fy-sky-low: color-mix(in srgb, var(--navy-2) 70%, var(--ice) 8%);
  --fy-horizon: color-mix(in srgb, var(--ice) 26%, transparent);
  --fy-star: 85%;
  --fy-orb: color-mix(in srgb, var(--ivory) 80%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--ice) 22%, transparent);
  --fy-orb-x: 78%;
  --fy-orb-y: 20%;
  --fy-far-lights: 70%;
  --fy-view: url("/img/foyer/night.jpg");
  --fy-plate: 46%;
}

html[data-scene="dawn"] body.desk-page.room--desk {
  --fy-sky-top: color-mix(in srgb, var(--navy) 85%, var(--ice) 10%);
  --fy-sky-mid: color-mix(in srgb, var(--navy) 70%, var(--amber) 14%);
  --fy-sky-low: color-mix(in srgb, var(--amber) 42%, var(--navy));
  --fy-horizon: color-mix(in srgb, var(--lamp) 38%, transparent);
  --fy-star: 25%;
  --fy-orb: color-mix(in srgb, var(--lamp) 90%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--lamp) 40%, transparent);
  --fy-orb-x: 18%;
  --fy-orb-y: 86%;
  --fy-far-lights: 40%;
  --fy-view: url("/img/foyer/dawn.jpg");
  --fy-plate: 50%;
}

html[data-scene="morning"] body.desk-page.room--desk {
  --fy-sky-top: color-mix(in srgb, var(--ice) 28%, var(--navy));
  --fy-sky-mid: color-mix(in srgb, var(--ice) 40%, var(--navy));
  --fy-sky-low: color-mix(in srgb, var(--ice) 52%, var(--navy-2));
  --fy-horizon: color-mix(in srgb, var(--ice-hot) 30%, transparent);
  --fy-star: 0%;
  --fy-orb: color-mix(in srgb, var(--ice-hot) 95%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--ice-hot) 38%, transparent);
  --fy-orb-x: 30%;
  --fy-orb-y: 38%;
  --fy-far-lights: 0%;
  --fy-view: url("/img/foyer/morning.jpg");
  --fy-plate: 62%;
}

html[data-scene="afternoon"] body.desk-page.room--desk {
  --fy-sky-top: color-mix(in srgb, var(--ice) 36%, var(--navy));
  --fy-sky-mid: color-mix(in srgb, var(--ice) 46%, var(--navy));
  --fy-sky-low: color-mix(in srgb, var(--ice-hot) 48%, var(--navy-2));
  --fy-horizon: color-mix(in srgb, var(--ice-hot) 34%, transparent);
  --fy-star: 0%;
  --fy-orb: color-mix(in srgb, var(--ice-hot) 100%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--ice-hot) 45%, transparent);
  --fy-orb-x: 56%;
  --fy-orb-y: 16%;
  --fy-far-lights: 0%;
  --fy-view: url("/img/foyer/afternoon.jpg");
  --fy-plate: 64%;
}

html[data-scene="golden"] body.desk-page.room--desk {
  --fy-sky-top: color-mix(in srgb, var(--ice) 22%, var(--navy));
  --fy-sky-mid: color-mix(in srgb, var(--lamp) 22%, var(--navy));
  --fy-sky-low: color-mix(in srgb, var(--lamp) 48%, var(--navy));
  --fy-horizon: color-mix(in srgb, var(--lamp) 45%, transparent);
  --fy-star: 0%;
  --fy-orb: color-mix(in srgb, var(--lamp) 100%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--lamp) 50%, transparent);
  --fy-orb-x: 80%;
  --fy-orb-y: 74%;
  --fy-far-lights: 20%;
  --fy-view: url("/img/foyer/golden.jpg");
  --fy-plate: 58%;
}

html[data-scene="dusk"] body.desk-page.room--desk {
  --fy-sky-top: color-mix(in srgb, var(--navy) 88%, var(--ice) 6%);
  --fy-sky-mid: color-mix(in srgb, var(--navy) 72%, var(--amber) 16%);
  --fy-sky-low: color-mix(in srgb, var(--amber) 36%, var(--navy-2));
  --fy-horizon: color-mix(in srgb, var(--amber) 32%, transparent);
  --fy-star: 45%;
  --fy-orb: color-mix(in srgb, var(--ivory) 70%, transparent);
  --fy-orb-glow: color-mix(in srgb, var(--amber) 22%, transparent);
  --fy-orb-x: 70%;
  --fy-orb-y: 30%;
  --fy-far-lights: 60%;
  --fy-view: url("/img/foyer/dusk.jpg");
  --fy-plate: 48%;
}

/* The window wall: sky, sun or moon, two star fields, the horizon glow, the
 * brass transom and mullions. Parallaxes with the room (holo.js --look-x). */
html body.desk-page.room--desk .room-set--desk::before {
  content: "";
  position: absolute;
  top: 4vh;
  left: -4vw;
  right: -4vw;
  bottom: 30vh;
  background:
    linear-gradient(180deg, transparent 21.6%, var(--fy-steel) 21.6%, var(--fy-steel) 22%, transparent 22%),
    repeating-linear-gradient(90deg, transparent 0 calc(16.66% - 3px), var(--fy-steel) calc(16.66% - 3px) 16.66%),
    radial-gradient(70% 30% at 50% 100%, var(--fy-horizon), transparent 70%),
    var(--fy-view) center 62% / cover no-repeat,
    radial-gradient(circle at var(--fy-orb-x) var(--fy-orb-y), var(--fy-orb) 0 14px, var(--fy-orb-glow) 16px, transparent 90px),
    linear-gradient(180deg, var(--fy-sky-top) 0%, var(--fy-sky-mid) 50%, var(--fy-sky-low) 100%);
  border-top: 2px solid var(--fy-steel);
  border-bottom: 3px solid color-mix(in srgb, var(--brass) 45%, var(--navy));
  box-shadow:
    0 30px 80px color-mix(in srgb, var(--ice) 10%, transparent),
    inset 0 -60px 90px color-mix(in srgb, var(--ice) 8%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  opacity: 0.9;
  transition: background 2s ease;
}

/* The view carries its own ridge and shore lights; the drawn ridge stands down. */
html body.desk-page.room--desk .room-set--desk::after {
  content: none;
}

/* Daylight behind the glass: the projected type gets a soft dark halo so it
 * holds its contrast against a bright sky. */
html:is([data-scene="morning"], [data-scene="afternoon"], [data-scene="golden"]) body.desk-page.room--desk .wrap {
  text-shadow: 0 1px 12px color-mix(in srgb, var(--navy) 85%, transparent);
}

/* The floor: polished dark stone reflecting the window, with a faint
 * holographic grid running to the horizon. (Was the desk blotter.) */
html body.desk-page.room--desk .room-atm .set-blotter {
  left: -10vw;
  right: -10vw;
  top: 70vh;
  bottom: 0;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--ice) 9%, transparent) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ice) 7%, transparent) 0 1px, transparent 1px 44px),
    radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--ice) 12%, transparent), transparent 75%),
    linear-gradient(180deg, color-mix(in srgb, var(--navy-2) 80%, var(--ice) 6%), var(--fy-night));
  box-shadow: none;
  opacity: 1;
  transform: perspective(520px) rotateX(58deg);
  transform-origin: top;
  -webkit-mask-image: linear-gradient(180deg, black 30%, transparent);
  mask-image: linear-gradient(180deg, black 30%, transparent);
}

/* The pendant lamp stays warm, but only as a lamp — not a room-wide wash. */
html body.desk-page.room--desk .room-atm .house-lamp {
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 70%);
  mask-image: linear-gradient(to bottom, black 35%, transparent 70%);
}

html body.desk-page.room--desk .room-atm .set-lamp-pool {
  opacity: 0.08;
}

/* The projection: one soft ice light column behind the content, rising from
 * the floor like a holo-table beam. Light, not a box — no edge, no border. */
body.desk-page.room--desk .desk-main {
  position: relative;
}

body.desk-page.room--desk .desk-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2rem -6vw -4rem;
  background:
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--ice) 10%, transparent), transparent 75%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--ice) 5%, transparent) 30%, color-mix(in srgb, var(--ice) 4%, transparent) 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  pointer-events: none;
}

/* Holographic type: cool white with a faint ice bloom on the big lines. */
html body.desk-page.room--desk .masthead h1 {
  color: var(--fy-ink);
  text-shadow:
    0 0 24px color-mix(in srgb, var(--ice) 35%, transparent),
    0 0 2px color-mix(in srgb, var(--ice-hot) 60%, transparent);
}

html body.desk-page.room--desk .desk-hero-who,
html body.desk-page.room--desk .foyer-module-headline,
html body.desk-page.room--desk .foyer-priorities-list li {
  color: var(--fy-ink);
  text-shadow: 0 0 18px color-mix(in srgb, var(--ice) 18%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  html body.desk-page.room--desk .room-set--desk {
    transform: none;
  }
}

/* ---------- The Foyer layout: a Swiss split ----------
 * Research pass 2026-09-26 (Müller-Brockmann grid, International Typographic
 * Style; NN/g on scanning): a narrow index column carries each section's
 * label and freshness; a reading column carries the content at a measure a
 * person can actually read (~70 characters). Asymmetric, flush-left, ragged
 * right. On a wide screen the label rides along (sticky) while its section
 * scrolls past, so an opened doc never loses its name. On a phone the label
 * sits above its content. No boxes anywhere: space, type and one hairline. */
/* 0-3-2: outranks holo.css `body.has-lamp-hud .wrap h2` display sizing. */
body.desk-page .wrap h2.foyer-module-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--room-hue);
}

.foyer-module-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  max-width: 46rem;
}

@media (min-width: 60rem) {
  .foyer-module,
  .foyer-priorities {
    display: grid;
    grid-template-columns: 11rem minmax(0, 46rem);
    column-gap: 2.5rem;
    align-items: start;
  }

  .foyer-module > .foyer-module-head,
  .foyer-priorities > .foyer-module-head {
    position: sticky;
    top: 1.2rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .foyer-module > .foyer-module-head .foyer-module-age {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Unfinished Business: label + Add item in the index column. */
  .foyer-lists .foyer-module--lists {
    grid-template-areas:
      "head body"
      "head note";
  }
  .foyer-lists .foyer-module--lists > .le-head { grid-area: head; }
  .foyer-lists .foyer-module--lists > .le-body { grid-area: body; min-width: 0; max-width: 46rem; }
  .foyer-lists .foyer-module--lists > #foyer-lists-note { grid-area: note; }
  .foyer-lists .le-head .le-add {
    margin-left: -0.35rem;
  }
}

/* Five priorities: the page's poster moment — oversized ice numerals, the
 * items in the house serif. */
.foyer-priorities {
  margin-top: 1.4rem;
}

.foyer-priorities-list {
  gap: 0.2rem;
  margin: 0.4rem 0 0;
}

.foyer-priorities-list li {
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: baseline;
  padding: 0.35rem 0;
  font-size: 1.22rem;
  line-height: 1.35;
  border-bottom: 1px solid color-mix(in srgb, var(--brass) 18%, transparent);
}

.foyer-priorities-list li:last-child {
  border-bottom: 0;
}

.foyer-priorities-list li::before {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ice-hot);
  text-shadow: 0 0 18px color-mix(in srgb, var(--ice) 45%, transparent);
}

/* Standing plans inside the Calendar: one clean list — plan, date, cadence. */
body.desk-page .foyer-cal-standing .desk-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: auto;
}

body.desk-page #craig-lines[hidden] {
  display: none;
}

.foyer-cal-standing .desk-next-col {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foyer-cal-standing .desk-next-col li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 1rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-top: 1px solid color-mix(in srgb, var(--room-hue) 10%, transparent);
}

.foyer-cal-standing .desk-next-col li > span {
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--fy-ink);
}

.foyer-cal-standing .desk-next-when {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ice);
  white-space: nowrap;
}

.foyer-cal-standing .desk-next-note {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--fy-soft);
}

/* The focal line above the modules. hud.css lays every .craig-line out as
 * label | value (5.6rem + 1fr), but the Foyer's focal has no label, so the value
 * fell into the 5.6rem label column and wrapped a word per line. A lone value
 * takes the whole row. Lives here because this sheet only loads on the Foyer. */
body.desk-page .craig-line > .craig-value:only-child {
  grid-column: 1 / -1;
}

/* Phone overrides — last in the file so they win over the base rules above. */
/* On one column the modules stack; a hairline keeps them from running together. */
.foyer-module + .foyer-module {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--room-hue) 18%, transparent);
}

@media (max-width: 47.99rem) {
  .foyer-module + .foyer-module {
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--room-hue) 18%, transparent);
  }

  /* A phone module is ~14rem wide. A time column beside the text left the text
   * a word or two per line, so the time sits above its line instead. */
  .foyer-module-lines {
    grid-template-columns: minmax(0, 1fr);
    gap: 0 0;
  }
  .foyer-module-lines dd {
    margin-bottom: 0.45rem;
  }

  /* Nothing lives in the lamp-HUD rail gutter on the Foyer, and at 2.7rem a
   * side it left the glass 280px wide on a 390px phone. The Foyer takes the
   * standard 16px phone gutter; this sheet only loads on the Foyer. */
  body.has-lamp-hud.desk-page main.wrap {
    padding-left: calc(1rem + env(safe-area-inset-left, 0px));
    padding-right: calc(1rem + env(safe-area-inset-right, 0px));
  }

  /* Phone: the fold uses the full row width under the check. */
  .le-panel-inner {
    padding-left: 0.25rem;
  }
}

/* Desk FABs — Talk orb + Call (OVERLAY-VOICE-DESK-SURFACES-0921).
 * LOCK-GIBSON-ICE-CHROME-0926: pulled back. Two 44px frosted ice discs with
 * brass rims in the corner, resting at 78% and lighting to full on hover/focus. Their names show
 * beside them on hover or keyboard focus; the aria-labels carry them always.
 * The phone is a Lucide line icon (no emoji). The orb disc is plain frosted
 * ice with a slow cue-lamp pulse — never the drawn Talk orb mark. */
.desk-fabs {
  position: fixed;
  right: max(0.9rem, env(safe-area-inset-right));
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  z-index: 50;
}

.desk-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  color: var(--ice);
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--ice) 14%, transparent), transparent 70%),
    color-mix(in srgb, var(--navy) 74%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass) 46%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 22px color-mix(in srgb, var(--ice) 14%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  opacity: 0.78;
  transition:
    opacity 120ms cubic-bezier(0.32, 0.08, 0.24, 1),
    border-color 120ms cubic-bezier(0.32, 0.08, 0.24, 1),
    box-shadow 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.desk-fab:hover,
.desk-fab:focus-visible {
  opacity: 1;
  color: var(--ice-hot);
  border-color: color-mix(in srgb, var(--brass) 72%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--ice) 30%, transparent);
}

.desk-fab:focus-visible {
  outline: 2px solid var(--ice-hot);
  outline-offset: 2px;
}

.desk-fab-icon {
  width: 18px;
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The name slides out to the left on hover / focus. */
.desk-fab-label {
  position: absolute;
  right: calc(100% + 0.55rem);
  top: 50%;
  padding: 0.3rem 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ice-hot);
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--ice) 26%, transparent);
  border-radius: 10px;
  opacity: 0;
  transform: translate(0.35rem, -50%);
  pointer-events: none;
  transition:
    opacity 120ms cubic-bezier(0.32, 0.08, 0.24, 1),
    transform 260ms cubic-bezier(0.32, 0.08, 0.24, 1);
}

.desk-fab:hover .desk-fab-label,
.desk-fab:focus-visible .desk-fab-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.desk-fab-orb-core,
.desk-fab-orb-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.desk-fab-orb-core {
  background: var(--ice-hot);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ice) 70%, transparent);
}

.desk-fab-orb-pulse {
  background: color-mix(in srgb, var(--ice) 35%, transparent);
  animation: desk-fab-pulse 3.2s cubic-bezier(0.32, 0.08, 0.24, 1) infinite;
}

@keyframes desk-fab-pulse {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .desk-fab,
  .desk-fab-label {
    transition: none;
  }
  .desk-fab-orb-pulse {
    animation: none;
    opacity: 0;
  }
}

/* ==========================================================================
 * FOYER-HOLO-PLATES-0926 — the information as holograms in the glass house.
 * Daniel, 2026-09-26 (with The Gym as the reference): the four daily-doc
 * modules — Daily Schedule, Survival Guide, 60-Day Calendar, Google
 * Calendar — are holographic plates: translucent glass with cut corners and
 * glowing ice edges, the view still showing through. No second dark box
 * behind or inside a plate. A plate grows with its content — no height cap,
 * no inner scroll — and an opened doc unrolls inside it.
 * Five priorities: one compact glowing strip, not a poster.
 * Unfinished Business: its own hologram — bracketed corners and scanlines,
 * no glass fill — so the list reads as live and workable, not filed.
 * One rhythm (--fy-gap) so the plates, the strip and the list flow as one.
 * ========================================================================== */
body.desk-page.room--desk {
  --fy-gap: 1.4rem;
  --fy-cut: 16px;
  --fy-edge: color-mix(in srgb, var(--ice) 55%, transparent);
  --fy-edge-hot: color-mix(in srgb, var(--ice-hot) 90%, transparent);
}

/* --- The plates --- */
#foyer-wall > .foyer-module {
  position: relative;
  isolation: isolate;
  margin: 0 0 var(--fy-gap);
  padding: 1.25rem 1.4rem 1.2rem;
}

/* One hairline border per plate is its own edge; the stack hairline stands down. */
#foyer-wall > .foyer-module + .foyer-module {
  padding-top: 1.25rem;
  border-top: 0;
}

/* The edge: a 1px ice rim, brightest at the cut corners. */
#foyer-wall > .foyer-module::before,
#foyer-wall > .foyer-module::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  clip-path: polygon(var(--fy-cut) 0, 100% 0, 100% calc(100% - var(--fy-cut)), calc(100% - var(--fy-cut)) 100%, 0 100%, 0 var(--fy-cut));
}

#foyer-wall > .foyer-module::before {
  inset: 0;
  background:
    linear-gradient(135deg, var(--fy-edge-hot) 0, var(--fy-edge) 9%, color-mix(in srgb, var(--ice) 22%, transparent) 50%, var(--fy-edge) 91%, var(--fy-edge-hot) 100%);
}

/* The glass: translucent ice-navy, an inner glow along the rim, faint
 * scanlines. --fy-plate is set per time of day (more body in daylight). */
#foyer-wall > .foyer-module::after {
  inset: 1px;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ice) 3%, transparent) 0 1px, transparent 1px 4px),
    radial-gradient(120% 70% at 0 0, color-mix(in srgb, var(--ice) 12%, transparent), transparent 60%),
    color-mix(in srgb, var(--navy) var(--fy-plate, 46%), transparent);
  box-shadow: inset 0 0 26px color-mix(in srgb, var(--ice) 16%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

#foyer-wall > .foyer-module:focus-within::before,
#foyer-wall > .foyer-module:hover::before {
  background:
    linear-gradient(135deg, var(--ice-hot) 0, var(--fy-edge-hot) 12%, color-mix(in srgb, var(--ice) 34%, transparent) 50%, var(--fy-edge-hot) 88%, var(--ice-hot) 100%);
}

/* An opened doc unrolls on the glass: a hairline, then the doc. */
#foyer-wall > .foyer-module .foyer-open[open] {
  padding-top: 0.6rem;
  border-top: 1px solid color-mix(in srgb, var(--ice) 18%, transparent);
}

/* Google Calendar: the week reads day | plans. */
.foyer-gcal-week dt {
  font-family: var(--font-mono);
  color: var(--ice);
  white-space: nowrap;
}

@media (max-width: 47.99rem) {
  body.desk-page.room--desk {
    --fy-cut: 12px;
    --fy-gap: 1rem;
  }
  #foyer-wall > .foyer-module,
  #foyer-wall > .foyer-module + .foyer-module {
    padding: 1rem 0.95rem 0.95rem;
  }
}

/* --- Five priorities: one glowing strip --- */
body.desk-page .foyer-priorities:not([hidden]) {
  display: block;
  margin: 0.8rem 0 var(--fy-gap);
}

body.desk-page .foyer-priorities > .foyer-module-head {
  position: static;
  flex-direction: row;
  align-items: baseline;
  gap: 0.75rem;
}

body.desk-page .foyer-priorities .foyer-priorities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  margin: 0.45rem 0 0;
}

body.desk-page .foyer-priorities .foyer-priorities-list li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.4;
  border: 0;
}

body.desk-page .foyer-priorities .foyer-priorities-list li::before {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ice-hot);
  text-shadow: 0 0 10px var(--ice), 0 0 22px color-mix(in srgb, var(--ice) 50%, transparent);
}

/* --- Unfinished Business: the working hologram --- */
.foyer-lists .foyer-module--lists {
  position: relative;
  padding: 1.25rem 1.4rem 1.1rem;
  background:
    linear-gradient(var(--ice-hot), var(--ice-hot)) 0 0 / 22px 2px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 100% 0 / 22px 2px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 100% 0 / 2px 22px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 0 100% / 22px 2px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 0 100% / 2px 22px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 100% 100% / 22px 2px no-repeat,
    linear-gradient(var(--ice-hot), var(--ice-hot)) 100% 100% / 2px 22px no-repeat,
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ice) 5%, transparent) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, color-mix(in srgb, var(--ice) 7%, transparent), transparent 60%);
}

@media (max-width: 47.99rem) {
  .foyer-lists .foyer-module--lists {
    padding: 1rem 0.95rem 0.95rem;
  }
}
