/* LUMEN ACRE — Obsidian Prism chrome
   Floating glass island + right spine + tape footer.
   Not a top-bar (TwentySeven) and not a left rail (Fiftyseven). */

.a60-prism-wrap {
  flex: 1 0 auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.a60-prism-stage {
  flex: 1 0 auto;
  width: 100%;
  padding-top: calc(var(--island-h) + 1.75rem);
  padding-right: 0;
  padding-bottom: 0 !important;
  /* Must NOT use min-height:100vh — that left empty page color under the footer */
  min-height: 0 !important;
}

@media (min-width: 1100px) {
  .a60-prism-stage {
    padding-right: var(--side-w);
  }
}

.a60-prism-stage > .page-main {
  min-height: 0;
}

.page-main {
  min-height: 0;
}

/* ── Floating island ── */
.a60-island {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1120px, calc(100% - 1.5rem));
  height: var(--island-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.65rem 0 0.55rem;
  background: rgba(18, 21, 31, 0.72);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1.5px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.a60-island-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
}

.a60-island-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--obsidian);
  background: var(--lime);
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ice);
  transform: rotate(-4deg);
}

.a60-island-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.a60-island-word strong {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.a60-island-word em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--lime);
  font-weight: 500;
}

.a60-island-links {
  display: none;
  justify-content: center;
  gap: 0.15rem;
}

@media (min-width: 900px) {
  .a60-island-links { display: flex; }
}

.a60-island-link {
  padding: 0.45rem 0.75rem;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.a60-island-link:hover,
.a60-island-link.is-active {
  color: var(--obsidian);
  background: var(--lime);
}

.a60-island-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.a60-island-search {
  display: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  height: 2.35rem;
}

@media (min-width: 720px) {
  .a60-island-search { display: flex; }
}

.a60-island-search input {
  width: 9.5rem;
  border: 0;
  background: transparent;
  padding: 0 0.85rem;
  color: var(--ink);
  outline: none;
}

.a60-island-search input::placeholder { color: var(--muted); }

.a60-island-search button {
  border: 0;
  background: var(--ice);
  color: #fff;
  width: 2.35rem;
  height: 2.35rem;
  cursor: pointer;
  font-weight: 700;
}

.a60-island-chip {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid #fff;
  border-radius: 10px;
  background: var(--obsidian-3);
  box-shadow: 3px 3px 0 var(--flare);
}

.a60-island-chip:hover {
  background: var(--flare);
  color: #fff;
}

.a60-island-cart em,
.a60-island-chip em {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.62rem;
  background: var(--lime);
  color: var(--obsidian);
  border-radius: 999px;
  border: 1.5px solid #fff;
}

.a60-island-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border: 1.5px solid #fff;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 900px) {
  .a60-island-menu { display: none; }
}

.a60-island-menu span:not(.visually-hidden) {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ── Right spine ── */
.a60-spine {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  transform: none;
  z-index: 90;
  width: var(--side-w);
  padding: 0.75rem 0.4rem;
  background: rgba(18, 21, 31, 0.92);
  backdrop-filter: blur(16px);
  border: none;
  border-left: 1.5px solid var(--glass-border);
  border-radius: 0;
  box-shadow: none;
  justify-content: center;
}

@media (min-width: 1100px) {
  .a60-spine { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
}

.a60-spine-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.a60-spine-node {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  position: relative;
  transition: transform 0.2s var(--ease-spring), background 0.2s, border-color 0.2s;
}

.a60-spine-node span {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.a60-spine-node em {
  position: absolute;
  right: calc(100% + 0.55rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-style: normal;
  font-size: 0.72rem;
  padding: 0.35rem 0.55rem;
  background: var(--obsidian-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.a60-spine-node:hover,
.a60-spine-node.is-active {
  background: var(--lime);
  border-color: #fff;
  transform: scale(1.08);
}

.a60-spine-node:hover span,
.a60-spine-node.is-active span { color: var(--obsidian); }

.a60-spine-node:hover em { opacity: 1; }

/* ── Drawer ── */
.a60-drawer[hidden] { display: none !important; }

.a60-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.a60-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.a60-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 92vw);
  height: 100%;
  padding: 1.25rem;
  border-left: 2px solid #fff;
  box-shadow: -8px 0 0 var(--lime);
  overflow: auto;
}

.a60-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.a60-drawer-head strong {
  font-family: var(--display);
  font-size: 0.95rem;
}

.a60-drawer-head button {
  border: 1.5px solid #fff;
  background: transparent;
  color: var(--ink);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  cursor: pointer;
}

.a60-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.a60-drawer-nav a {
  padding: 0.85rem 1rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  border-radius: 10px;
}

.a60-drawer-nav a:hover {
  background: var(--lime);
  color: var(--obsidian);
  border-color: #fff;
}

.a60-drawer-aisles {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.a60-drawer-aisles p {
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.a60-drawer-aisles a {
  padding: 0.55rem 0.75rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--ice);
}

/* ── Tape footer (sibling of stage — always flush to bottom of wrap) ── */
.a60-tape {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-top: 2.5px solid #fff;
}

.a60-tape-strip {
  border-bottom: 2.5px solid #fff;
}

.a60-tape-strip:last-child {
  border-bottom: 0;
}

.a60-tape-brand {
  background:
    linear-gradient(120deg, rgba(200, 245, 66, 0.12), transparent 45%),
    var(--obsidian-2);
  padding: 2.75rem 0;
}

.a60-tape-brand-inner {
  display: grid;
  gap: 1rem;
}

.a60-tape-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.a60-tape-mark span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  background: var(--lime);
  color: var(--obsidian);
  border: 2px solid #fff;
  box-shadow: 4px 4px 0 var(--ice);
  transform: rotate(-3deg);
}

.a60-tape-mark strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
}

.a60-tape-brand p {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0;
}

.a60-tape-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.a60-tape-pills span {
  padding: 0.35rem 0.7rem;
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid #fff;
  background: var(--obsidian);
  box-shadow: 3px 3px 0 var(--flare);
}

.a60-tape-links {
  background: var(--obsidian-3);
  padding: 2.25rem 0;
}

.a60-tape-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .a60-tape-grid { grid-template-columns: 1fr 1fr 1.4fr; }
}

.a60-tape-grid h4 {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 0.85rem;
}

.a60-tape-grid a {
  display: block;
  padding: 0.3rem 0;
  color: var(--ink-soft);
}

.a60-tape-grid a:hover { color: var(--lime); }

.a60-tape-registry p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.55rem;
  line-height: 1.5;
}

.a60-tape-hours { color: var(--ice) !important; }

.a60-tape-base {
  background: var(--lime);
  color: var(--obsidian);
  padding: 0.85rem 0;
}

.a60-tape-base-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Mobile dock ── */
.a60-mob-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 4.1rem;
  background: rgba(12, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  border-top: 2px solid #fff;
  box-shadow: 0 -6px 0 var(--ice);
}

@media (max-width: 899px) {
  :root { --dock-h: 4.1rem; }
  /* Keep dock clearance inside the footer so no empty strip sits under it */
  body.a60-store:not(.page-home) .a60-tape-base {
    padding-bottom: calc(0.85rem + var(--dock-h));
  }
}

@media (min-width: 900px) {
  .a60-mob-dock {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  body.a60-store .a60-tape-base {
    padding-bottom: 0.85rem !important;
  }
}

.a60-mob-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.62rem;
  color: var(--muted);
}

.a60-mob-icon { font-size: 1rem; }

.a60-mob-tab.is-active {
  color: var(--obsidian);
  background: var(--lime);
}

.a60-mob-badge {
  position: absolute;
  top: 0.25rem;
  right: 18%;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.58rem;
  background: var(--flare);
  color: #fff;
  border-radius: 999px;
}
