/* ---------- Tokens ---------- */
:root {
  --bg: #0a0908;
  --bg-elev: #15110f;
  --bg-elev-2: #1d1815;
  --ink: #f5efe4;
  --ink-dim: #a39689;
  --ink-faint: #685c52;
  --line: rgba(245, 239, 228, 0.08);
  --line-strong: rgba(245, 239, 228, 0.18);
  --neon-red: #ff2e4d;
  --neon-red-glow: rgba(255, 46, 77, 0.55);
  --neon-amber: #ffb84d;
  --neon-amber-glow: rgba(255, 184, 77, 0.4);
  --maxw: 1180px;
  --pad: clamp(1rem, 2.5vw, 2rem);

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-honky: "Rye", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* ---------- Background grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Typography ---------- */
.headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.headline .accent {
  color: var(--neon-red);
  text-shadow: 0 0 8px rgba(255, 46, 77, 0.18);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.section-title.left { text-align: left; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon-amber);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow.center { text-align: center; }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.muted { color: var(--ink-dim); }
.muted.long { max-width: 56ch; margin-bottom: 1.5rem; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  z-index: 2;
}
.center-block { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  font-family: var(--font-honky);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--neon-amber);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background: var(--neon-amber);
}
.brand-mark.small { width: 32px; height: 32px; font-size: 1.15rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-honky);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Saloon Mark ---------- */
/* The full saloon-sign brand display: rules + name + rules + subtitle.
   Used on hero ornaments and footer. */
.saloon-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  line-height: 1;
}
.saloon-mark .saloon-name {
  font-family: var(--font-honky);
  font-size: 2rem;
  letter-spacing: 0.012em;
  color: var(--ink);
  padding: 0.18em 0;
}
.saloon-mark .saloon-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--neon-amber);
  margin-top: 0.55em;
}
.saloon-rule {
  position: relative;
  width: 100%;
  height: 5px;
  flex-shrink: 0;
}
.saloon-rule::before,
.saloon-rule::after {
  content: "";
  position: absolute;
  background: var(--neon-amber);
}
.saloon-rule.top::before    { top: 0;    left: 0;   right: 0;   height: 1.5px; }
.saloon-rule.top::after     { bottom: 0; left: 12%; right: 12%; height: 0.6px; opacity: 0.8; }
.saloon-rule.bottom::before { bottom: 0; left: 0;   right: 0;   height: 1.5px; }
.saloon-rule.bottom::after  { top: 0;    left: 12%; right: 12%; height: 0.6px; opacity: 0.8; }
.saloon-mark.lg .saloon-name { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.saloon-mark.lg .saloon-sub  { font-size: 0.86rem; letter-spacing: 0.4em; }
.saloon-mark.lg .saloon-rule { height: 7px; }
.saloon-mark.lg .saloon-rule::before { height: 2.2px; }
.saloon-mark.lg .saloon-rule::after  { height: 0.9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.nav-links a {
  color: var(--ink-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--neon-red);
  border-radius: 4px;
  color: var(--ink) !important;
  background: rgba(255, 46, 77, 0.08);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover, .nav-cta.active {
  background: var(--neon-red);
  box-shadow: 0 0 18px var(--neon-red-glow);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 46, 77, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(255, 184, 77, 0.10) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.012) 3px,
      rgba(255, 255, 255, 0.012) 4px
    );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 184, 77, 0.08);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, transparent 0%, rgba(10, 9, 8, 0.45) 100%);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 380px; margin: 0 auto; width: 100%; }
}
.hero .lede { margin-top: 1.4rem; }
.hero-ornament {
  width: 220px;
  margin-bottom: 1.6rem;
  opacity: 0.85;
}
.hero-ornament .saloon-rule { height: 6px; }
.hero-ornament .saloon-rule::before { height: 1.8px; }
.hero-ornament .saloon-rule::after  { height: 0.8px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
.hero-trust {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-dim);
  background: rgba(245, 239, 228, 0.02);
}
.hero-trust strong { color: var(--ink); }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-amber);
  box-shadow: 0 0 10px var(--neon-amber-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.1rem; }
.btn-primary {
  background: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 0 rgba(255, 46, 77, 0);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px var(--neon-red-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--neon-amber);
  color: var(--neon-amber);
  box-shadow: 0 0 18px var(--neon-amber-glow);
}

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover {
  border-color: var(--neon-amber);
  transform: translateY(-2px);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--neon-amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step p { color: var(--ink-dim); font-size: 0.97rem; }

/* ---------- Why / Benefits ---------- */
.why {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.benefit {
  padding: 1.8rem 1.5rem;
  background: var(--bg);
  transition: background 0.2s ease;
}
.benefit:hover { background: var(--bg-elev-2); }
.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.benefit p { color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- Story ---------- */
.story { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story-copy p { color: var(--ink-dim); margin-bottom: 1.1rem; }
.story-copy .btn { margin-top: 0.5rem; }
.story-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 184, 77, 0.04) 12px 13px);
}
.photo-placeholder small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-top: 0.5rem;
}
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { aspect-ratio: 4 / 3; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255, 46, 77, 0.12) 0%, transparent 70%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
}
.big-cta {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 1.8rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-sub {
  margin-top: 1.4rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.cta-sub a {
  color: var(--neon-amber);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.cta-sub a:hover { border-bottom-color: var(--neon-amber); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: clamp(4rem, 9vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 46, 77, 0.14) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .headline { max-width: 18ch; }

/* ---------- Partnerships ---------- */
.partner-track.primary { background: var(--bg); }
.partner-track.secondary {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  text-align: center;
}
.partner-track.secondary .section-title { margin-bottom: 1rem; }
.partner-track.secondary .muted { margin-left: auto; margin-right: auto; }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 880px) { .partner-grid { grid-template-columns: 1fr; } }

.checklist {
  list-style: none;
  margin-bottom: 1.5rem;
}
.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--neon-amber);
  border-bottom: 2px solid var(--neon-amber);
  transform: rotate(-45deg);
}

.contact-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  justify-content: center;
}

/* ---------- Form ---------- */
.inquiry-form {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}
.inquiry-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inquiry-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
}
.inquiry-form input,
.inquiry-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 0;
  border-color: var(--neon-amber);
  box-shadow: 0 0 0 3px rgba(255, 184, 77, 0.18);
}
.inquiry-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .inquiry-form .row { grid-template-columns: 1fr; } }
.form-fallback {
  font-size: 0.85rem;
  color: var(--ink-dim);
  text-align: center;
}
.form-fallback a { color: var(--neon-amber); }
.form-success {
  padding: 1rem;
  border: 1px solid var(--neon-amber);
  border-radius: 4px;
  background: rgba(255, 184, 77, 0.08);
  color: var(--ink);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elev-2);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.8rem;
}
.footer-brand-display {
  width: 100%;
  max-width: 460px;
  padding: 0 1rem;
}
.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
}
.footer-contact a {
  color: var(--ink-dim);
  transition: color 0.15s ease;
}
.footer-contact a:hover { color: var(--neon-amber); }
.footer-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
