/* ==========================================================================
   The TruthBomb Experience — stylesheet
   Design language: interrogation-room / case-file. Warm near-black room,
   manila-folder panels, brass lamp glow, redacted-stamp red used sparingly.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --ink: #14120f;
  --ink-soft: #1c1913;
  --paper: #ece1c4;
  --paper-dark: #d9c99b;
  --alert: #a3271d;
  --brass: #c8912e;
  --brass-dim: #8a662555;
  --steel: #9a9a86;
  --text-light: #f1ecdd;
  --text-light-dim: #cfc9b6;
  --text-dark: #201c15;
  --text-dark-dim: #4b4636;
  --line: #3a352a;
  --radius: 3px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

h1, h2, h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0;
  color: var(--text-light);
}

h1 { font-size: clamp(3rem, 9vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

p { max-width: 62ch; }

a { color: inherit; }

.case-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 110px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 18, 15, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-light);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand span.dot { color: var(--alert); }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--brass); border-color: var(--brass); }

.nav-cta {
  background: var(--alert);
  color: var(--text-light);
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover { background: #8f231a; }

.nav-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero .case-number { display: block; margin-bottom: 18px; }

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--brass); }

.hero p.lede {
  color: var(--text-light-dim);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--alert); color: var(--text-light); }
.btn-primary:hover { background: #8f231a; }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--text-light); }
.btn-secondary:hover { border-color: var(--brass); color: var(--brass); }

/* Lie-detector needle device */
.needle-device {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px 18px;
}
.needle-device .device-label {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--steel);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.needle-device svg { width: 100%; height: auto; display: block; }

.trace-line {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.needle-verdict {
  margin-top: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-light-dim);
  min-height: 1.2em;
}
.needle-verdict .flag { color: var(--alert); font-weight: 600; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 56px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step .step-num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brass);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--text-light-dim); font-size: 0.96rem; }

/* ---------- Experiences (case files) ---------- */
.section-head { max-width: 60ch; margin-bottom: 50px; }
.section-head .case-number { margin-bottom: 14px; }
.section-head p { color: var(--text-light-dim); margin-top: 16px; }

.file-card {
  background: var(--paper);
  color: var(--text-dark);
  border-radius: 4px;
  padding: 44px;
  margin-bottom: 28px;
  position: relative;
}
.file-card h3 { color: var(--text-dark); font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.file-card .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--alert);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: inline-block;
}
.file-card p.desc { color: var(--text-dark-dim); font-size: 1.02rem; max-width: 68ch; }

.file-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  margin-top: 26px;
  align-items: start;
}
@media (max-width: 800px) { .file-grid { grid-template-columns: 1fr; } }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--paper-dark);
  font-size: 0.96rem;
  color: var(--text-dark-dim);
}
.feature-list li:first-child { border-top: none; }
.feature-list li strong { color: var(--text-dark); font-weight: 600; }

/* Mode toggle (VR / 2D) */
.mode-toggle {
  display: inline-flex;
  border: 1px solid var(--text-dark-dim);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.mode-toggle button {
  background: transparent;
  border: none;
  padding: 9px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-dark-dim);
  cursor: pointer;
}
.mode-toggle button.active { background: var(--text-dark); color: var(--paper); }

.mode-panel { display: none; }
.mode-panel.active { display: block; }
.mode-panel p { color: var(--text-dark-dim); font-size: 0.96rem; margin: 0; }

/* ---------- Add-ons ---------- */
.addon-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 10px; }
@media (max-width: 800px) { .addon-list { grid-template-columns: 1fr; } }
.addon {
  background: var(--ink-soft);
  padding: 34px 30px;
}
.addon .case-number { display: block; margin-bottom: 14px; }
.addon h3 { font-size: 1.3rem; margin-bottom: 10px; }
.addon p { color: var(--text-light-dim); font-size: 0.95rem; margin-bottom: 16px; }
.addon .price { font-family: 'IBM Plex Mono', monospace; color: var(--brass); font-size: 0.95rem; }

/* ---------- Pricing / exhibits ---------- */
.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 10px;
}
@media (max-width: 1000px) { .exhibit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exhibit-grid { grid-template-columns: 1fr; } }

.exhibit {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
}
.exhibit.featured { border-color: var(--brass); position: relative; }
.exhibit.featured::before {
  content: "MOST BOOKED";
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--brass);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.exhibit .case-number { margin-bottom: 12px; }
.exhibit h3 { font-size: 1.3rem; margin-bottom: 8px; }
.exhibit .from {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brass);
  font-size: 1.5rem;
  margin: 12px 0 4px;
}
.exhibit .from small { font-size: 0.7rem; color: var(--steel); display: block; margin-top: 2px; font-family: 'IBM Plex Sans', sans-serif; }
.exhibit ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.exhibit ul li {
  font-size: 0.88rem;
  color: var(--text-light-dim);
  padding: 6px 0 6px 16px;
  position: relative;
}
.exhibit ul li::before { content: "—"; position: absolute; left: 0; color: var(--steel); }
.exhibit .btn { text-align: center; }

.pricing-note {
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  color: var(--text-light-dim);
  font-size: 0.92rem;
  max-width: 74ch;
}

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
@media (max-width: 800px) { .area-grid { grid-template-columns: 1fr; } }
.town-list { list-style: none; padding: 0; margin: 0; columns: 2; gap: 20px; }
.town-list li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.96rem; break-inside: avoid; }
.town-list li:nth-child(-n+2) { border-top: none; }

.area-note { color: var(--text-light-dim); font-size: 0.95rem; }
.area-note strong { color: var(--brass); }

/* ---------- FAQ ---------- */
.faq { max-width: 78ch; margin-top: 10px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brass);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 0 24px; color: var(--text-light-dim); font-size: 0.98rem; }

/* ---------- Booking form ---------- */
.book-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .book-wrap { grid-template-columns: 1fr; } }

.book-info p { color: var(--text-light-dim); }
.book-info .contact-line { margin-top: 26px; font-family: 'IBM Plex Mono', monospace; font-size: 0.9rem; color: var(--brass); }

form.booking {
  background: var(--paper);
  color: var(--text-dark);
  border-radius: 4px;
  padding: 40px;
}
form.booking .field { margin-bottom: 20px; }
form.booking label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--text-dark-dim);
  margin-bottom: 6px;
}
form.booking input,
form.booking select,
form.booking textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--paper-dark);
  background: #fbf7ec;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
}
form.booking input:focus,
form.booking select:focus,
form.booking textarea:focus {
  outline: 2px solid var(--alert);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
form.booking textarea { resize: vertical; min-height: 100px; }
form.booking button {
  width: 100%;
  border: none;
  background: var(--alert);
  color: var(--text-light);
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
form.booking button:hover { background: #8f231a; }
.form-fineprint { font-size: 0.8rem; color: var(--text-dark-dim); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 0.9rem; font-family: 'IBM Plex Mono', monospace; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
  font-size: 0.86rem;
  color: var(--steel);
}
footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--steel); text-decoration: none; }
footer a:hover { color: var(--brass); }
footer .legal { margin-top: 24px; max-width: 90ch; line-height: 1.6; }
