/* ==========================================================================
   QUOTC — brand tokens extracted from QUOTC_Poster_Design_v4.pdf
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: sampled from the poster's own content streams */
  --olive: #a2a569;
  --olive-bright: #b6ba7d;
  --ink: #2c2e31;
  --ink-deep: #1e2023;
  --ink-panel: #26282b;
  --stone: #d7d2cb;
  --muted: #a8a99e;
  --white: #ffffff;
  --line: rgba(215, 210, 203, 0.14);
  --olive-line: rgba(162, 165, 105, 0.45);

  --font-head: "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", system-ui,
    -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo,
    Consolas, monospace;
  --font-body: -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 2px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--olive-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--olive);
  color: var(--ink-deep);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- eyebrow / mono label device ------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow--muted { color: var(--muted); }

/* ---- headings ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }

.headline-accent {
  color: var(--olive);
  display: block;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- olive square-bullet lists ---------------------------------------- */
ul.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
ul.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--stone);
}
ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.55em;
  height: 0.55em;
  background: var(--olive);
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--olive);
  color: var(--ink-deep);
}
.btn--primary:hover { background: var(--olive-bright); }
.btn--ghost {
  background: transparent;
  color: var(--stone);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--olive-line); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 32, 35, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark span { color: var(--olive); }

.main-nav {
  display: none;
  gap: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--white); }

@media (min-width: 860px) {
  .main-nav { display: flex; align-items: center; }
}

.header-cta { flex-shrink: 0; }

/* ---- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 32, 35, 0.15) 0%,
    rgba(30, 32, 35, 0.55) 55%,
    var(--ink) 96%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 0 3rem;
}
.hero-eyebrow { margin-bottom: 0.5rem; }
.strapline { display: block; color: var(--stone); margin-bottom: 1.2rem; font-weight: 500; }
.hero h1 { margin-bottom: 0.6rem; }
.hero-sub {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--olive);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 1.1rem;
}
.hero-copy {
  max-width: 46ch;
  color: var(--stone);
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-badges {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- sections ------------------------------------------------------------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--ink-deep); }
.section-head {
  max-width: 62ch;
  margin-bottom: 2.4rem;
}
.section-head .eyebrow { display: block; margin-bottom: 0.7rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; }

.hr {
  border: none;
  height: 1px;
  background: var(--olive-line);
  margin: 0;
}

/* ---- open nights ------------------------------------------------------------ */
.opennights {
  margin-top: -1px;
  position: relative;
  z-index: 2;
}
.opennights-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .opennights-grid { grid-template-columns: repeat(3, 1fr); }
}
.night-card {
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.night-card[data-past="true"] {
  opacity: 0.42;
  border-top-color: var(--muted);
}
.night-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}
.night-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  display: grid;
  gap: 0.3rem;
}
.night-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
ul.reassure-list {
  margin: 1.6rem auto 0;
  max-width: 26rem;
  text-align: left;
}
.reassure-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- trust bar ---------------------------------------------------------- */
.trustbar {
  background: var(--olive);
  color: var(--ink-deep);
  padding: 1.1rem 0;
}
.trustbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ---- three-col feature grid --------------------------------------------- */
.feature-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: var(--ink-panel);
}
.feature-card .num {
  font-family: var(--font-mono);
  color: var(--olive);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  display: block;
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ---- weekend rail --------------------------------------------------------- */
.weekend-rail {
  display: grid;
  gap: 1.1rem;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.weekend-rail::-webkit-scrollbar { height: 6px; }
.weekend-rail::-webkit-scrollbar-thumb { background: var(--olive-line); }

@media (min-width: 820px) {
  .weekend-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 1180px) {
  .weekend-rail { grid-template-columns: repeat(6, 1fr); }
}

.week-card {
  scroll-snap-align: start;
  background: var(--ink-panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.week-card .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.week-card .tag b { color: var(--olive); }
.week-card .find {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--olive);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.week-card h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.week-card p {
  color: var(--muted);
  font-size: 0.9rem;
  flex-grow: 1;
}

/* ---- beyond / pill grid --------------------------------------------------- */
.pill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .pill-grid { grid-template-columns: repeat(4, 1fr); }
}
.pill {
  border: 1px solid var(--line);
  padding: 1.3rem 1.1rem;
  text-align: left;
}
.pill .eyebrow { display: block; margin-bottom: 0.5rem; font-size: 0.68rem; }
.pill p { font-size: 0.88rem; color: var(--muted); }

.beyond-extra {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .beyond-extra { grid-template-columns: repeat(2, 1fr); }
}
.beyond-extra .pill p { color: var(--stone); }

/* ---- JUO section ------------------------------------------------------------ */
.juo {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}
@media (min-width: 860px) {
  .juo { grid-template-columns: 1.1fr 0.9fr; }
}
.juo-quote {
  border-left: 3px solid var(--olive);
  padding-left: 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-top: 1.4rem;
}
.juo-list { margin-top: 1.6rem; }
.juo-list dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 1.1rem;
}
.juo-list dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---- gallery teaser -------------------------------------------------------- */
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
@media (min-width: 700px) {
  .gallery-teaser-grid { grid-template-columns: repeat(6, 1fr); }
}
.gallery-teaser-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.gallery-teaser-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: saturate(0.9);
}
.gallery-teaser-grid a:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery-teaser-foot {
  margin-top: 1.6rem;
  text-align: center;
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 0.7rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--ink-panel);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--olive);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- final CTA -------------------------------------------------------------- */
.final-cta {
  background: var(--ink-deep);
  text-align: center;
}
.final-cta .wrap { max-width: 760px; }
.final-cta-dates {
  margin: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

/* ---- footer ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--olive-line);
  padding: 2.2rem 0;
  background: var(--ink);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-col { display: grid; gap: 0.35rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--olive); }
.footer-col.right { text-align: right; }
.footer-brand { color: var(--olive); }

/* ---- gallery page ---------------------------------------------------------- */
.gallery-page-head { padding: 3rem 0 1.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-tile {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.15s ease;
}
.gallery-tile:hover::after { box-shadow: inset 0 0 0 2px var(--olive); }

/* lightbox */
dialog#lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
  width: min(1000px, 92vw);
}
dialog#lightbox::backdrop { background: rgba(10, 10, 11, 0.9); }
.lightbox-inner {
  position: relative;
  background: var(--ink-deep);
  border: 1px solid var(--line);
}
.lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
.lightbox-caption {
  padding: 0.9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 32, 35, 0.7);
  color: var(--white);
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}
.lightbox-nav--prev { left: 0.6rem; }
.lightbox-nav--next { right: 0.6rem; }
.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  transform: none;
}

.gallery-cta {
  text-align: center;
  padding: 3.5rem 0 4.5rem;
}

/* ---- 404 --------------------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
