/* The Lighting Gale, new site v1 (2026-11-18): additions over the v20 stylesheet.
   1. The light-switch intro shown when someone first opens the site.
   2. Footer: three link columns, as in the concept. */

.nw { white-space: nowrap; }  /* keeps each brand name on one line */

/* ---------- 1. Light-switch intro ---------- */
.tlg-intro { display: none; }
.js .tlg-intro {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px; background: #171512; color: #fff; text-align: center; overflow: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.tlg-intro[hidden] { display: none !important; }
.tlg-intro-img {
  position: absolute; inset: 0; z-index: -2;
  background: url("images/home/hero-concept.jpg") 62% center / cover no-repeat;
  filter: brightness(.12) saturate(.35); transform: scale(1.04);
  transition: transform 2.4s ease;
}
.tlg-intro::before {  /* keeps the words readable once the room is lit */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(23, 21, 18, .72), rgba(23, 21, 18, .35) 70%, rgba(23, 21, 18, .2));
}
.tlg-intro-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.tlg-intro-line {
  margin-top: 14px; font-family: var(--hx-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 6vw, 64px); line-height: 1.05; letter-spacing: -.015em; color: var(--hx-gold-t);
}

/* The wall plate and its rocker */
.tlg-plate {
  position: relative; margin-top: 38px; width: 104px; height: 150px; padding: 0; cursor: pointer;
  border: 1px solid rgba(224, 198, 158, .45); background: linear-gradient(160deg, #2c2925, #1c1a17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .55);
}
.tlg-plate::before {  /* the rocker's frame */
  content: ""; position: absolute; left: 30px; right: 30px; top: 34px; bottom: 34px;
  border: 1px solid rgba(255, 255, 255, .14); background: #141210;
}
.tlg-rocker {
  position: absolute; left: 33px; right: 33px; top: 37px; height: 38px;
  background: linear-gradient(180deg, #e8d7b8, #c6a57d); box-shadow: 0 0 18px rgba(240, 201, 140, .5);
  transition: transform .28s cubic-bezier(.3, .7, .2, 1), filter .28s ease, box-shadow .28s ease;
}
.tlg-intro:not(.lit) .tlg-rocker { transform: translateY(32px); filter: brightness(.55) saturate(.5); box-shadow: none; }
.tlg-plate::after {  /* a soft pulse while the room is dark, inviting a tap */
  content: ""; position: absolute; inset: -9px; border: 1px solid rgba(224, 198, 158, .55);
  animation: pulse 1.8s ease-out infinite;
}
.tlg-intro.lit .tlg-plate::after { animation: none; opacity: 0; }
.tlg-plate:focus-visible { outline: 3px solid var(--hx-gold-t); outline-offset: 6px; }
.tlg-intro-hint {
  margin-top: 18px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); transition: opacity .4s ease;
}
.tlg-intro-enter {
  position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 22px; padding: 10px 0 8px; border: 0; border-bottom: 1px solid currentColor;
  background: none; color: rgba(255, 255, 255, .78); font: 600 13px/1.2 var(--hx-sans); cursor: pointer; white-space: nowrap;
}
.tlg-intro-enter:hover { color: var(--hx-gold-t); }
.tlg-intro-enter:focus-visible { outline: 3px solid var(--hx-gold-t); outline-offset: 4px; }

/* Lit: the room flickers on behind the plate, then the intro fades away to the lit hero */
.tlg-intro.lit .tlg-intro-img { animation: tlg-flicker 1.25s both; transform: scale(1); }
.tlg-intro.lit .tlg-intro-hint { opacity: 0; }
@keyframes tlg-flicker {
  0% { filter: brightness(.12) saturate(.35); }
  12% { filter: brightness(1.1) saturate(1); }
  20% { filter: brightness(.3) saturate(.5); }
  34% { filter: brightness(1) saturate(1); }
  42% { filter: brightness(.6) saturate(.8); }
  58%, 100% { filter: brightness(1) saturate(1); }
}
.tlg-intro.leaving { opacity: 0; visibility: hidden; }
body.intro-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .tlg-plate::after { animation: none; }
  .tlg-intro.lit .tlg-intro-img { animation: none; filter: none; }
  .tlg-intro-img, .tlg-rocker { transition: none; transform: none; }
  .js .tlg-intro { transition: opacity .3s ease, visibility 0s linear .3s; }
}

/* ---------- 2. Footer: three link columns (concept) ---------- */
@media (min-width: 760px) { .hx-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
