/* Kraybazaar help — Oxbow support desk (vt-)
   Canopy panels, Fraunces/Commissioner, dew/saffron FAQ stage. */

.page-help.vt-gallery {
  --vt-ink: var(--ox-paper, #f4efe4);
  --vt-mute: var(--ox-mute, rgba(244, 239, 228, 0.78));
  --vt-void: var(--ox-void, #07110e);
  --vt-panel: color-mix(in srgb, var(--ox-panel, #163028) 92%, #000 8%);
  --vt-saffron: var(--ox-saffron, #e3c36a);
  --vt-dew: var(--ox-dew, #6ec9b4);
  --vt-copper: var(--ox-copper, #d4894a);
  --vt-line: var(--ox-line, rgba(214, 228, 216, 0.14));
  --vt-display: var(--ox-display, "Fraunces", Georgia, serif);
  --vt-sans: var(--ox-sans, "Commissioner", "Segoe UI", sans-serif);
  --vt-ease: var(--ox-ease, cubic-bezier(0.22, 1, 0.36, 1));
  --vt-max: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.page-help.vt-gallery {
  margin: 0;
  min-height: 100vh;
  color: var(--vt-ink);
  font-family: var(--vt-sans);
  line-height: 1.5;
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

body.page-help.vt-gallery a { color: inherit; text-decoration: none; }
body.page-help.vt-gallery button,
body.page-help.vt-gallery input { font: inherit; color: inherit; }

.page-help.vt-gallery .a70-root,
.page-help.vt-gallery .a70-root-bare,
.page-help.vt-gallery .a70-main {
  min-height: 100vh;
  padding: 0;
  overflow-x: clip;
  background: transparent;
}

.vt-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}

.vt-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.55rem 0.85rem;
  background: #f4efe4;
  color: #0c1a15;
  font-weight: 600;
}
.vt-skip:focus { top: 0.7rem; }

.vt-floor {
  width: min(var(--vt-max), calc(100% - 1.6rem));
  margin: 1.35rem auto 0;
  padding: 0 0 3.4rem;
  min-width: 0;
  display: grid;
  gap: 1rem;
}

body.page-help.vt-gallery .a70-main > .vt-floor {
  padding-bottom: 1.25rem;
}

@media (min-width: 721px) {
  body.page-help.vt-gallery .a70-main > .vt-floor {
    width: min(var(--vt-max), calc(100% - 2rem));
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.5rem;
  }
}

.vt-plaque {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background:
    linear-gradient(155deg, rgba(110, 201, 180, 0.12), transparent 46%),
    var(--vt-panel);
  border: 1px solid var(--vt-line);
  border-radius: var(--ox-r-soft, 1.15rem 0.35rem 1.15rem 0.35rem);
}

.vt-plaque-copy {
  min-width: 0;
  flex: 1 1 18rem;
}

.vt-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vt-dew);
}

.vt-plaque h1 {
  margin: 0;
  font-family: var(--vt-display);
  font-size: clamp(2.15rem, 5.5vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  background: linear-gradient(120deg, var(--vt-ink) 20%, var(--vt-dew) 55%, var(--vt-saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vt-plaque h1 i {
  font-style: italic;
  font-weight: 500;
}

.vt-lede {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: var(--vt-mute);
  font-size: 1.02rem;
}

.vt-count {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.vt-count div {
  min-width: 4.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(214, 228, 216, 0.14);
  border-radius: 0.75rem 0.2rem 0.75rem 0.2rem;
  background: rgba(7, 17, 14, 0.35);
}

.vt-count dt {
  font-family: var(--vt-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--vt-saffron);
  line-height: 1;
}

.vt-count dd {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vt-mute);
}

.vt-tools {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--vt-panel);
  border: 1px solid var(--vt-line);
  border-radius: var(--ox-r-soft, 1.15rem 0.35rem 1.15rem 0.35rem);
}

.vt-loupe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.vt-loupe input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(214, 228, 216, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 14, 0.45);
  color: var(--vt-ink);
  outline: none;
}

.vt-loupe input:focus {
  border-color: rgba(110, 201, 180, 0.45);
}

.vt-loupe input::placeholder { color: rgba(244, 239, 228, 0.42); }

body.page-help.vt-gallery .vt-loupe button {
  appearance: none;
  border: 0;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--vt-saffron);
  color: #0c1a15;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.25s var(--vt-ease), background 0.25s var(--vt-ease);
}

body.page-help.vt-gallery .vt-loupe button:hover,
body.page-help.vt-gallery .vt-loupe button:focus-visible {
  background: #f0d57a;
  transform: translateY(-1px);
  outline: none;
}

.vt-meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--vt-mute);
}

.vt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 22rem);
  gap: 1rem;
  align-items: start;
}

.vt-main {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.vt-hall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

body.page-help.vt-gallery .vt-case {
  appearance: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 4.4rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(214, 228, 216, 0.16);
  border-radius: 0.9rem 0.25rem 0.9rem 0.25rem;
  background: rgba(7, 17, 14, 0.42);
  color: var(--vt-ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s var(--vt-ease),
    background 0.25s var(--vt-ease),
    border-color 0.25s var(--vt-ease),
    color 0.25s var(--vt-ease),
    opacity 0.25s var(--vt-ease);
}

.vt-case-glyph {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(110, 201, 180, 0.14);
  color: var(--vt-dew);
  font-family: var(--vt-display);
  font-weight: 600;
}

.vt-case-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.vt-case-copy strong {
  font-family: var(--vt-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.15;
}

.vt-case-copy small {
  font-size: 0.72rem;
  color: var(--vt-mute);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vt-case-n {
  font-family: var(--vt-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vt-saffron);
}

body.page-help.vt-gallery .vt-case:hover,
body.page-help.vt-gallery .vt-case:focus-visible {
  border-color: rgba(110, 201, 180, 0.4);
  transform: translateY(-2px);
  outline: none;
}

body.page-help.vt-gallery .vt-case.is-on,
body.page-help.vt-gallery .vt-case.has-hits.is-on {
  background: var(--vt-saffron);
  border-color: var(--vt-saffron);
  color: #0c1a15;
}

body.page-help.vt-gallery .vt-case.is-on .vt-case-glyph {
  background: rgba(12, 26, 21, 0.12);
  color: #0c1a15;
}

body.page-help.vt-gallery .vt-case.is-on .vt-case-copy small,
body.page-help.vt-gallery .vt-case.is-on .vt-case-n {
  color: rgba(12, 26, 21, 0.72);
}

body.page-help.vt-gallery .vt-case.has-hits:not(.is-on) {
  border-color: rgba(110, 201, 180, 0.35);
}

.vt-plinth {
  display: grid;
  gap: 0.55rem;
}

.vt-plate {
  background: var(--vt-panel);
  border: 1px solid var(--vt-line);
  border-radius: 0.95rem 0.28rem 0.95rem 0.28rem;
  overflow: hidden;
  animation: vt-in 0.45s var(--vt-ease) both;
  animation-delay: calc(var(--n, 1) * 30ms);
}

.vt-plate[hidden] { display: none !important; }

.vt-plate-inner { display: grid; }

body.page-help.vt-gallery .vt-plate-front {
  appearance: none;
  display: grid;
  gap: 0.3rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  color: var(--vt-ink);
  text-align: left;
  cursor: pointer;
}

.vt-plate-front em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vt-dew);
}

.vt-plate-front strong {
  font-family: var(--vt-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.vt-plate-front span {
  font-size: 0.78rem;
  color: var(--vt-mute);
  font-weight: 650;
}

.vt-plate.is-open .vt-plate-front span {
  color: var(--vt-saffron);
}

.vt-plate-back {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(214, 228, 216, 0.1);
}

.vt-plate.is-open .vt-plate-back {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.vt-plate-a {
  color: var(--vt-mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.vt-plate-a a {
  color: var(--vt-dew);
  border-bottom: 1px solid rgba(110, 201, 180, 0.4);
}

.vt-plate-a a:hover,
.vt-plate-a a:focus-visible {
  color: var(--vt-saffron);
  outline: none;
}

body.page-help.vt-gallery .vt-plate-close {
  appearance: none;
  justify-self: start;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(214, 228, 216, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #f4efe4;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

body.page-help.vt-gallery .vt-plate-close:hover,
body.page-help.vt-gallery .vt-plate-close:focus-visible {
  background: rgba(110, 201, 180, 0.12);
  border-color: rgba(110, 201, 180, 0.4);
  outline: none;
}

.vt-empty {
  margin: 0;
  padding: 1.4rem 1.1rem;
  text-align: center;
  color: var(--vt-mute);
  border: 1px dashed rgba(214, 228, 216, 0.22);
  border-radius: var(--ox-r-soft, 1.15rem 0.35rem 1.15rem 0.35rem);
  background: var(--vt-panel);
}

.vt-docent {
  position: sticky;
  top: 1rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background:
    linear-gradient(165deg, rgba(227, 195, 106, 0.08), transparent 42%),
    var(--vt-panel);
  border: 1px solid var(--vt-line);
  border-radius: var(--ox-r-soft, 1.15rem 0.35rem 1.15rem 0.35rem);
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.vt-docent h2 {
  margin: 0;
  font-family: var(--vt-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.vt-docent > p {
  margin: 0;
  color: var(--vt-mute);
  font-size: 0.92rem;
}

body.page-help.vt-gallery .vt-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--vt-saffron);
  color: #0c1a15;
  font-weight: 750;
  transition: transform 0.25s var(--vt-ease), background 0.25s var(--vt-ease);
}

body.page-help.vt-gallery .vt-go:hover,
body.page-help.vt-gallery .vt-go:focus-visible {
  background: #f0d57a;
  transform: translateY(-2px);
  outline: none;
}

.vt-mail {
  color: var(--vt-dew);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(110, 201, 180, 0.35);
  justify-self: start;
}

.vt-mail:hover,
.vt-mail:focus-visible {
  color: var(--vt-saffron);
  outline: none;
}

.vt-hours {
  margin: 0;
  font-size: 0.82rem;
  color: var(--vt-mute);
}

.vt-census {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--vt-line);
}

.vt-census div {
  text-align: center;
}

.vt-census dt {
  font-family: var(--vt-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vt-saffron);
}

.vt-census dd {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vt-mute);
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .vt-hall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vt-layout {
    grid-template-columns: 1fr;
  }

  .vt-docent {
    position: static;
  }
}

@media (max-width: 560px) {
  body.page-help.vt-gallery .a70-main > .vt-floor {
    width: min(var(--vt-max), calc(100% - 1.25rem));
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.25rem;
  }

  .vt-hall {
    grid-template-columns: 1fr;
  }

  .vt-loupe {
    grid-template-columns: 1fr;
  }

  body.page-help.vt-gallery .vt-loupe button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vt-plate { animation: none; }
  .vt-case,
  .vt-go,
  .vt-loupe button {
    transition: none;
  }
}
