:root {
  --bg: #050507;
  --bg-soft: #0d0b12;
  --bg-panel: rgba(16, 11, 16, 0.94);
  --bg-panel-strong: rgba(24, 16, 24, 0.96);
  --ink: #f3eadf;
  --muted: #bcaeb5;
  --muted-strong: #d2c4ca;
  --blood: #ff4747;
  --blood-dark: #a11d29;
  --hot: #ff5a70;
  --acid: #b7ff65;
  --violet: #7a5cff;
  --line: rgba(126, 74, 89, 0.45);
  --line-bright: rgba(202, 115, 135, 0.7);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.24);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(103, 18, 36, 0.28), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(80, 28, 130, 0.18), transparent 24%),
    linear-gradient(180deg, #12080d 0%, #08070a 38%, #040406 100%);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
}

a { color: var(--acid); text-decoration: none; }
a:hover { color: var(--hot); }
img { max-width: 100%; display: block; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(transparent 0, rgba(255,255,255,0.03) 50%, transparent 100%),
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 100% 4px, 8px 8px;
  mix-blend-mode: soft-light;
  z-index: 1;
}

main, .site-header, .site-footer { position: relative; z-index: 2; }
main { overflow: clip; }
.container { width: min(var(--container), calc(100vw - 2rem)); margin: 0 auto; }
.section, .hero, .panel { padding: 5rem 0; }
.section-tight { padding-top: 2.5rem; }
.section-stack { display: grid; gap: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
  border-bottom: 1px solid rgba(120, 63, 77, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  overflow: visible;
  padding-bottom: 0;
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--ink);
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  padding: .7rem .95rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: .8rem;
  background: rgba(12, 8, 14, 0.98);
  padding: 1rem;
  position: absolute;
  right: 4vw;
  top: 4.1rem;
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  min-width: 220px;
  z-index: 30;
}
.site-nav.open { display: flex; }
.site-nav a {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
}
.site-nav a:hover { color: var(--hot); }

.hero {
  position: relative;
  min-height: clamp(42rem, 92vh, 56rem);
  display: flex;
  align-items: center;
  line-height: normal;
  margin-bottom: 0;
  gap: 0;
  background:
    linear-gradient(90deg, rgba(5,4,6,.94) 0%, rgba(5,4,6,.8) 46%, rgba(5,4,6,.54) 100%),
    url('../images/placeholder-hero.svg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 9rem;
  background: linear-gradient(180deg, transparent, rgba(4, 4, 6, 0.96));
  pointer-events: none;
}

.hero-layout,
.grid,
.footer-grid,
.story-grid,
.page-lead,
.split-feature,
.contact-layout,
.booking-layout,
.aftercare-layout,
.cta-band {
  display: grid;
  gap: 1.35rem;
}
.grid-2,
.grid-3,
.hero-layout,
.story-grid,
.page-lead,
.split-feature,
.contact-layout,
.booking-layout,
.aftercare-layout,
.cta-band { grid-template-columns: 1fr; }

.surface,
.poster-frame,
.card,
.panel-box,
.admin-card,
.modal-inner,
.band,
.info-block,
.page-shell,
.stat-block {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 17, 26, 0.95), rgba(15, 11, 18, 0.96));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.surface::before,
.poster-frame::before,
.card::before,
.band::before,
.info-block::before,
.page-shell::before,
.stat-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 71, 71, 0.15), transparent 30%),
    radial-gradient(circle at bottom left, rgba(122, 92, 255, 0.1), transparent 30%);
  mix-blend-mode: screen;
}

.card-cut::after,
.panel-cut::after {
  content: '';
  position: absolute;
  inset: auto 0 0 auto;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 90, 112, 0.18) 50%);
  opacity: .65;
  pointer-events: none;
}

.hero-card,
.hero-poster,
.card,
.cta-band,
.admin-card,
.panel-box,
.band,
.info-block,
.page-shell,
.stat-block { padding: 1.4rem; }
.hero-card { padding: 1.8rem; }
.hero-copy-wrap {
  display: grid;
  gap: 1.15rem;
  max-width: 44rem;
}
.hero-kicker,
.hero-poster-label,
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--hot);
  font-size: .74rem;
}
.hero-kicker {
  color: var(--acid);
  text-shadow: 0 0 14px rgba(183, 255, 101, 0.18);
}

.title {
  font-size: clamp(2.4rem, 5.6vw, 5.28rem);
  line-height: .9;
  margin: .4rem 0 0;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 10ch;
}
.hero-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  max-width: 40rem;
  color: var(--muted-strong);
}
.hero-copy {
  font-size: 1.02rem;
  max-width: 36rem;
  color: var(--muted);
}
.hero-actions,
.actions,
.cta-actions,
.admin-nav,
.inline-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hero-poster {
  display: grid;
  align-content: end;
  min-height: 100%;
}
.hero-poster h2,
.section-heading h2,
.card h2,
.card h1,
.cta-band h2,
.page-shell h1,
.page-shell h2,
.info-block h2,
.band h2 {
  margin: .35rem 0 1rem;
  line-height: .98;
  text-transform: uppercase;
}
.hero-poster p,
.card p,
.cta-band p,
.page-shell p,
.info-block p,
.band p,
.stat-block p { color: var(--muted); }

.vhs-rule {
  width: min(100%, 18rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), var(--hot), transparent);
  box-shadow: 0 0 22px rgba(255, 71, 71, 0.35);
}

.mini-list,
.bullet-list,
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .65rem;
}
.mini-list { margin-top: 1.25rem; }
.mini-list li::before,
.bullet-list li::before,
.tick-list li::before {
  content: '✦';
  color: var(--acid);
  margin-right: .65rem;
}

.btn,
.button {
  display: inline-block;
  padding: .95rem 1.3rem;
  border: 1px solid var(--blood);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255,71,71,.22), rgba(122,92,255,.08));
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  box-shadow: 0 0 0 transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 71, 71, 0.18);
  border-color: var(--hot);
}
.btn.alt {
  border-color: var(--acid);
  background: linear-gradient(135deg, rgba(183,255,101,.12), rgba(122,92,255,.08));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.text-link {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
}
.text-link:hover { color: var(--hot); }

.flash { padding: .85rem 0; }
.flash.success { background: rgba(18, 65, 30, 0.88); }
.flash.error { background: rgba(71, 17, 26, 0.9); }

.story-grid,
.page-lead,
.contact-layout,
.booking-layout,
.aftercare-layout {
  align-items: start;
}
.page-shell {
  padding: 1.5rem;
}
.page-shell h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.lead-copy {
  font-size: 1.06rem;
  color: var(--muted-strong);
  max-width: 42rem;
}
.story-grid .card,
.contact-layout .card,
.booking-layout .card,
.aftercare-layout .card {
  min-height: 100%;
}
.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}
.stat-block strong {
  display: block;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.band {
  padding: 1.3rem 1.4rem;
}

.filter-bar {
  display: flex;
  gap: .75rem;
  overflow: auto;
  padding-bottom: .5rem;
}
.gallery-switcher { margin: 1rem 0 1.2rem; }
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem .95rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
}
.filter-chip.active { border-color: var(--hot); color: var(--hot); box-shadow: inset 0 0 24px rgba(255,90,112,.12); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-grid-featured { align-items: start; }
.gallery-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #09090d;
}
.gallery-copy {
  padding: 1rem;
  display: grid;
  gap: .65rem;
}
.gallery-copy h3 { margin: 0; text-transform: uppercase; }
.gallery-copy p { color: var(--muted); margin: 0; }
.gallery-copy .muted { font-size: .85rem; }
.tag {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: .22rem .56rem;
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.cta-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 11, 18, 0.96), rgba(28, 14, 20, 0.96)),
    linear-gradient(90deg, rgba(255, 71, 71, 0.08), transparent 45%, rgba(122, 92, 255, 0.08));
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 40;
}
.modal.open { display: flex; }
.modal-inner { width: min(900px, 100%); padding: 1rem; }
.modal-close {
  float: right;
  background: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .82rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid-two {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.field label {
  display: block;
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .95rem 1rem;
  background: rgba(10, 10, 16, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-note { color: var(--muted); font-size: .88rem; margin: -.35rem 0 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.4);
}
.footer-grid { grid-template-columns: 1fr; }
.footer-grid p,
.muted { color: var(--muted); }

.table-wrap { overflow: auto; }
.admin-shell { padding: 2rem 0; }
.admin-nav { margin-bottom: 1rem; }
.admin-nav a {
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

table { width: 100%; border-collapse: collapse; }
th, td {
  padding: .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

@media (min-width: 760px) {
  .site-nav {
    display: flex !important;
    position: static;
    background: none;
    padding: 0;
    border: 0;
    flex-direction: row;
    min-width: 0;
    width: auto;
    justify-content: center;
    visibility: visible;
    opacity: 1;
  }
  .nav-toggle { display: none; }
  .nav-row {
    display: flex;
    padding: 0;
  }
  .grid-2,
  .split-feature,
  .cta-band,
  .contact-layout,
  .aftercare-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: stretch; }
  .story-grid,
  .page-lead,
  .booking-layout { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); }
  .hero-card { padding: 2.6rem; }
  .hero-poster,
  .page-shell { padding: 1.7rem; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .section, .hero, .panel { padding: 6rem 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-layout { gap: 2rem; }
}
