/* ===========================================================
   Escape The Space, Hazard Poster theme for every page but the
   home page (2026-11-08). Loaded right after styles.css; changes the
   look only. Same type, colors and buttons as home.css: Archivo,
   black and yellow, square corners, white content with black type.
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f2ee;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --ink-soft: #3d3d38;
  --line: rgba(11, 11, 11, 0.16);
  --accent: #faec17;
  --accent-dark: #e9da00;
  --accent-soft: #faec17;
  --gold: #faec17;
  --radius: 0;
  --radius-lg: 0;
  --shadow: none;
  --shadow-soft: none;
  --maxw: 1200px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pp-pad: 96px;
  --pp-sticker: drop-shadow(0.75px 0 0 #0b0b0b) drop-shadow(-0.75px 0 0 #0b0b0b) drop-shadow(0 0.75px 0 #0b0b0b) drop-shadow(0 -0.75px 0 #0b0b0b) drop-shadow(2px 3px 0 #0b0b0b);
}

body {
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
}

/* ---------- Type ---------- */
h1, h2 {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 {
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}
p { color: var(--ink-soft); }
.lead { font-weight: 500; color: var(--ink); }

a:hover { text-decoration-color: var(--ink); }
p a, .info-list a, .addon-list a, details.faq p a { text-decoration-color: var(--ink); }

.eyebrow {
  background: var(--ink);
  color: var(--accent);
  border-radius: 0;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* ---------- Buttons: square, black with yellow type ---------- */
.btn {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: none; }
.btn-primary { background: var(--ink); color: var(--accent); box-shadow: none; }
.btn-primary:hover { background: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--accent); }
.btn-lg { padding: 18px 28px; font-size: 0.95rem; }

/* ---------- Header: yellow bar like the home page ---------- */
.site-header {
  background: var(--accent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.nav { height: 76px; }
.brand {
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}
.brand .pp-logo { height: 36px; width: auto; display: block; flex: 0 0 auto; filter: var(--pp-sticker); }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.94rem; }
.nav-links a.active { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--ink); }
.nav-search {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 14px;
}
.nav-search:hover { background: var(--ink); color: var(--accent); }
.nav-toggle {
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
}
/* Hamburger: three bars that fold into an X while the menu is open */
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; right: 0; height: 2.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 5.75px; }
.burger i:nth-child(3) { bottom: 0; }
[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger i, .nav-links, .nav-links.open { transition: none; } }

/* ---------- Logo band (was the Click Me band) ---------- */
.brand-splash { position: relative; background: #000; padding: 22px 20px 46px; }
.brand-splash::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 20px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, var(--accent) 18px 36px);
}
.brand-splash-cta { display: none; }

/* ---------- Sections: one even rhythm ---------- */
section { padding: var(--pp-pad) 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.hero { padding: 48px 0 var(--pp-pad); }

/* ---------- Chips, stats, hero panel ---------- */
.chip {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-art {
  background: var(--accent);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--ink);
}
.stat { border: 2px solid var(--ink); border-radius: 0; }
.stat .num { font-weight: 900; font-variation-settings: "wdth" 125; }
.stat .label { color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-note { border: 2px solid var(--ink); border-radius: 0; color: var(--ink); }

/* ---------- Cards ---------- */
.card {
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.card:hover { transform: none; box-shadow: none; }
.card .tag {
  background: var(--accent);
  color: var(--ink);
  border-radius: 0;
  font-weight: 800;
  padding: 4px 9px;
}
.room-cover { border-bottom: 2px solid var(--ink); }
.room-meta { color: var(--ink); }

/* pricing */
/* All three price cards match: same box, shadow, tag, spacing and button; buttons line up at the bottom */
.price-card, .price-card.featured, .price-card:hover { display: flex; flex-direction: column; align-items: center; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 34px 26px 28px; }
.price-card .ribbon { border-radius: 0; font-weight: 800; background: var(--accent) !important; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); padding: 6px 14px; }
.price-card h3 { margin: 4px 0 0; }
.price-card .amount { margin: 10px 0 4px; line-height: 1; }
.price-card .sub { max-width: 30ch; }
.price-card p { margin: 16px 0 22px !important; flex: 1 0 auto; }
.price-card .btn { margin-top: auto; min-width: 200px; background: var(--ink); color: var(--accent); box-shadow: none; }
.price-card .btn:hover { background: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.price-card .amount { font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.02em; }
.addon-list li { border-bottom-color: var(--line); }
.addon-list .cost { background: var(--accent); border-radius: 0; }
.rate-table td { border-bottom-color: var(--line); }

/* info rows + FAQ */
.info-list li { border-bottom-color: var(--line); }
details.faq {
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
details.faq[open] { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Black call-to-action band ---------- */
.cta-band { background: var(--ink); border-radius: 0; }
.cta-band h2 { color: #fbf8ea; }
.cta-band p { color: rgba(251, 248, 234, 0.74); }
.cta-band .btn-primary { background: var(--accent); color: var(--ink); }
.cta-band .btn-primary:hover { background: #fbf8ea; color: var(--ink); box-shadow: none; }
.cta-band .btn-ghost { color: #fbf8ea !important; box-shadow: inset 0 0 0 2px #fbf8ea; }
.cta-band .btn-ghost:hover { background: #fbf8ea; color: var(--ink) !important; }

/* ---------- Social band ---------- */
.brag-actions .btn-primary { background: var(--accent); color: var(--ink); }
.brag-actions .btn-primary:hover { background: #fbf8ea; color: var(--ink); box-shadow: none; }
.brag-ghost { color: #fbf8ea; box-shadow: inset 0 0 0 2px rgba(251, 248, 234, 0.4); }
.brag-ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
/* Even buttons: share on its own row, then a tidy 2-up grid; one full-width column on phone */
.brag-strip-inner { display: block; }
.brag-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin-inline: auto; }
.brag-actions .btn { width: 100%; justify-content: center; border: 0; padding: 14px 16px; font-size: 0.85rem; }
.brag-actions .btn-primary { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .brag-actions { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
/* "Get your crew's photos": same width as the photos under it, clear of the black band */
.pp-photos { padding-top: 32px !important; }
.pp-photos-btn { display: flex !important; width: 100%; justify-content: center; text-align: center; }

/* ---------- Forms (instant quote, events) ---------- */
.qfield { color: var(--ink); }
.qfield input[type="date"], .qty,
.event-grid input, .event-grid select, .event-grid textarea {
  border: 2px solid var(--ink);
  border-radius: 0;
}
.qty button { background: var(--bg-soft); }
.quote-result { border-top: 2px solid var(--ink); }
.quote-total { font-weight: 900; font-variation-settings: "wdth" 125; }
.event-msg { border-radius: 0; }
.event-msg.ok { background: var(--accent); }

/* ---------- Booking embed ---------- */
.book-frame-wrap { border: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.book-frame-wrap iframe { border-radius: 0; }

/* photos and embeds that set rounded corners inline */
img[style*="border-radius"], div[style*="border-radius"], blockquote[style*="border-radius"] { border-radius: 0 !important; box-shadow: none !important; }

/* ---------- Footer: black like the home page ---------- */
.site-footer {
  background: var(--ink);
  border-top: 0;
  padding: 64px 0 40px;
  color: rgba(251, 248, 234, 0.72);
}
.site-footer p { color: rgba(251, 248, 234, 0.72); }
.site-footer .brand { color: #fbf8ea; }
.footer-grid h4 {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.footer-grid a { color: #fbf8ea; }
.footer-grid a:hover { color: #fbf8ea; text-decoration-color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(251, 248, 234, 0.15); color: rgba(251, 248, 234, 0.72); }

.page-head { background: var(--bg); border-bottom: 3px solid var(--ink); }

/* ---------- Narrow laptop windows: keep the header on one line ---------- */
.nav-links a, .nav-cta .btn, .brand span { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 1020px) {
  /* Icon header (Andrew, Nov 8): logo, then BOOK NOW, a search icon and a hamburger, all one height */
  .nav-cta { gap: 8px; }
  .nav .nav-cta .btn-primary { order: 1; height: 44px; padding: 0 16px; font-size: 0.82rem; }
  .nav-cta .nav-search { order: 2; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .nav-cta .nav-search svg { width: 20px; height: 20px; }
  .nav-cta .nav-search-label { display: none; }
  .nav-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
  /* Search and menu icons: white buttons, black icon and border, also when tapped (Andrew, Nov 8) */
  .nav-toggle, .nav-toggle:hover, .nav-toggle[aria-expanded="true"],
  .nav-cta .nav-search, .nav-cta .nav-search:hover { background: var(--bg); color: var(--ink); }
  /* Menu opens in the page flow under the header and pushes the page down (Andrew, Nov 8).
     The black band reaches both screen edges; the links line up with the logo. */
  /* Header scrolls away with the page, like Home's, so the open menu always pushes the page
     down instead of covering it from a header stuck to the top (Andrew, Nov 9).
     Only headers with a menu button; the Book and puzzle pages keep theirs as they are. */
  .site-header:has(.nav-toggle) { position: relative; }
  .nav { height: auto; flex-wrap: wrap; gap: 0 14px; padding-block: 16px; }
  .nav-links {
    order: 5; flex: 0 0 100%;
    position: static; display: flex;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 0;
    box-shadow: 0 0 0 100vmax var(--bg), 0 2px 0 100vmax var(--ink), 0 -2px 0 100vmax var(--ink);
    clip-path: inset(-2px -100vmax);
    margin: 0; padding: 0;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.28s ease, margin 0.28s ease, padding 0.28s ease, visibility 0s linear 0.28s;
  }
  .nav-links.open {
    max-height: 400px; visibility: visible;
    margin: 18px 0 -16px; padding: 4px 0 6px;
    transition: max-height 0.28s ease, margin 0.28s ease, padding 0.28s ease, visibility 0s;
  }
  /* Open menu: white panel, black words, black dividers, black line top and bottom (Andrew, Nov 8) */
  .nav-links a { padding: 14px 0; width: 100%; color: var(--ink); font-size: 1.05rem; font-weight: 700; border-bottom: 2px solid var(--ink); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active { text-decoration-color: var(--ink); }
  .nav-gift { color: var(--ink) !important; }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 960px) {
  :root { --pp-pad: 80px; }
}
@media (max-width: 860px) {
  :root { --pp-pad: 60px; }
  .nav { height: auto; padding-block: 10px; }
  .nav-links.open { margin: 12px 0 -10px; }
  .brand .pp-logo { height: 32px; }
  .hero { padding: 24px 0 var(--pp-pad); }
  h1 { font-size: clamp(2.3rem, 10.5vw, 3.3rem); }
  h2 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .section-tight { padding: 44px 0; }
  .brand-splash { padding: 18px 16px 38px; }
  .brand-splash::after { height: 16px; }
  .price-card .btn { min-width: 0; width: 100%; }
}
@media (max-width: 760px) {
  .brand span { display: none; } /* phone: logo only, like the home page */
}

/* Header Book button: white words on black, phone and desktop alike (Andrew, Nov 8) */
.nav .nav-cta .btn-primary { color: var(--bg); }
.nav .nav-cta .btn-primary:hover { color: var(--ink); }
/* Book buttons further down the pages: white words on black too, the three price cards alike (Andrew, Nov 8) */
a.btn-primary[href="book.html"], .price-card .btn { color: var(--bg); }
.cta-band a.btn-primary[href="book.html"],
a.btn-primary[href="book.html"]:hover, .price-card .btn:hover { color: var(--ink); }

/* Header logo: the yellow keyhole in a black square, the same size as the header buttons (Andrew, Nov 8) */
.logo-tile { display: grid; place-items: center; width: 44px; height: 44px; background: #0b0b0b; flex: 0 0 auto; }
b.logo-tile img { display: block; width: 23px; height: 32px; max-width: none; filter: none; }
