/* The shell of the branch pages (js/page.js): the two grounds, the header and menu on each, the footer's contact block and the crossing.
   Load after css/system.css and css/sections.css. <html data-branch="music|business"> picks the ground; home's own page does not load this file. */

/* ───────── Grounds ─────────
   Music is night with the room layer (css/system.css). Business is the house lights up: the same fixed .room layer carries a lit sheet,
   so every page has one ground element and the same markup. The first paint of either is the html colour. */
html[data-branch='business'] {
  background: var(--sheet);
  color: var(--sheet-ink);
}
html[data-branch='business'] .room {
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, #fff 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 92% 8%, rgba(172, 115, 255, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 100% 100%, #e6e2ee 0%, transparent 70%), var(--sheet);
}
html[data-branch='business'] :is(.room__tint, .room__vignette) {
  display: none;
}
html[data-branch='business'] :focus-visible {
  outline-color: var(--violet-deep);
}

/* The phone menu on the day ground reads in the sheet's own colours; the header's day colours are in css/system.css. */
html[data-branch='business'] .menu {
  --night: var(--sheet);
  --night-ink: var(--sheet-ink);
  --night-muted: #5f5873;
}

/* ───────── Footer: night on both branches, with the page's one contact block ───────── */
html[data-branch='business'] .foot {
  color: var(--night-ink);
  background:
    radial-gradient(ellipse 70% 120% at 15% 100%, rgba(172, 115, 255, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(236, 92, 52, 0.1) 0%, transparent 70%), var(--night);
}
html[data-branch='business'] .foot :focus-visible {
  outline-color: var(--night-ink);
}
html[data-branch='business'] .foot .tab--ink {
  --tab-bg: var(--night-ink);
  --tab-fg: var(--night);
}

.foot__contact {
  display: grid;
  gap: 4px;
  margin: 0;
  font-style: normal;
}
.foot__mail {
  font-size: clamp(22px, 4.2vw, 40px);
  line-height: 1.15;
  font-variation-settings:
    'wdth' 82,
    'wght' 700;
  overflow-wrap: anywhere;
}
.foot__tel {
  font-size: 17px;
  color: var(--night-muted);
  font-variation-settings:
    'wdth' 100,
    'wght' 600;
}
@media (hover: hover) {
  .foot__mail:hover {
    color: var(--vermilion);
  }
  .foot__tel:hover {
    color: var(--night-ink);
  }
}
@media (min-width: 1024px) {
  .foot__contact {
    grid-column: 1 / -1;
    margin-bottom: 40px;
  }
}
