/*
 * Brandylion — shared brand layer for the ticketing storefront.
 *
 * Ported from the WordPress child theme (brandylion-child/style.css) so the
 * ticket pages and brandylion.bar read as one property: same tokens, same nav,
 * same footer, same type scale. Where the two disagree, WordPress wins — it is
 * the public face and the owner named it as the reference.
 *
 * Kept in ONE file on purpose. Four guest pages were each carrying their own
 * copy of the palette, and that is exactly how the storefront drifted from the
 * site in the first place. Page-specific styling still lives in the page.
 *
 * The house idiom, in three rules: corners are 2px, nothing casts a shadow,
 * and small text is uppercase and widely tracked.
 */

@font-face { font-family: 'Chocolatier'; src: url('/img/Chocolatier.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Josefin Slab'; src: url('/img/JosefinSlab-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Palette of record — the WordPress home page's values. */
  --ink: #2A1A1A;
  --ivory: #F4ECD8;
  --ivory-deep: #EFE4CC;
  --red: #aa1d22;
  --red-dark: #7d1518;
  --gold: #D4A95E;
  --gold-light: #E6C88A;
  --muted: #6B5A52;
  --blush: #DCA794;
  /* The site draws hairlines as ink at 12% over ivory; this is that, resolved,
     so a border reads the same on a white card as on the page ground. */
  --line: #DCD3C1;
  --field: #FBF6EA;

  --disp: 'Chocolatier', 'Bodoni Moda', 'Didot', Georgia, serif;
  --body: 'Josefin Slab', Georgia, serif;

  /* Photos carry the site's treatment rather than running raw. */
  --photo-filter: contrast(1.05) saturate(1.02) sepia(0.05);

  /* Aliases, so pages ported from the old palette keep working. */
  --cr: var(--ivory);
  --cr2: var(--ivory-deep);
  --cd: var(--red-dark);
  --gl: var(--gold-light);
  --dim: var(--muted);
  --bl: var(--blush);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  /* 17px, matching the site. The storefront was app-sized at 14-15px, which is
     what made a ticket page feel like a different property even in the same
     colours. */
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Type scale ────────────────────────────────────────────────────────────
   Fluid like the site's, so a heading grows with the viewport instead of
   sitting at a fixed app size. Display type is tracked slightly tight. */
.display-1 { font-family: var(--disp); font-size: clamp(34px, 6vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 0.75rem; text-wrap: balance; }
.display-2 { font-family: var(--disp); font-size: clamp(28px, 4.4vw, 44px); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5rem; text-wrap: balance; }
.display-3 { font-family: var(--disp); font-size: clamp(21px, 2.6vw, 27px); font-weight: 400; line-height: 1.2; margin: 0 0 0.4rem; }

/* The site labels a section with tracked small caps above the headline. */
.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.eyebrow-red { color: var(--red); }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Buttons carry the site's shape: 2px corners, tracked uppercase, 1px border. */
.btn {
  display: inline-block;
  padding: 0.95rem 1.7rem;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--red); color: var(--ivory); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: #B8923F; border-color: #B8923F; }

/* ── Nav ───────────────────────────────────────────────────────────────────
   Ported wholesale. A guest who arrives from the site keeps the navigation
   they came with, which is the whole point: previously they lost it at the
   moment they were asked to pay. Links stay absolute because they lead back
   to brandylion.bar. */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 236, 216, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 26, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: none; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 0;
}
.nav-links a:hover { color: var(--red); }
.nav-ig {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;   /* the one intentional pill on the site */
}
.nav-ig:hover { color: var(--red); border-color: var(--red); }
.bl-burger { display: none; }

@media (max-width: 899px) {
  .bl-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 30px; height: 30px; cursor: pointer; margin-left: auto;
  }
  .bl-burger span { display: block; height: 2px; width: 24px; background: var(--ink); transition: 0.2s; }
  .nav-ig { display: none; }
  .nav-links {
    display: none; flex-basis: 100%; flex-direction: column; gap: 0;
    margin-top: 0.75rem; border-top: 1px solid rgba(42, 26, 26, 0.1);
  }
  /* CSS-only menu: a hidden checkbox, exactly as the site does it. */
  .bl-nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(42, 26, 26, 0.08); }
  .nav-links li a { display: block; padding: 0.85rem 0; }
  .bl-nav-toggle:checked ~ .bl-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bl-nav-toggle:checked ~ .bl-burger span:nth-child(2) { opacity: 0; }
  .bl-nav-toggle:checked ~ .bl-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 900px) {
  .nav-logo img { height: 56px; }
  .nav-links { display: flex; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ivory);
  color: var(--ink);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(42, 26, 26, 0.1);
  margin-top: 3rem;
}
.footer-skyline { max-width: 1320px; margin: 0 auto 3rem; padding: 0 1rem; }
.footer-skyline img { display: block; width: 100%; height: auto; }
.footer-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--ink); margin-bottom: 0.75rem; }
.footer-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.footer-hours { list-style: none; font-size: 14px; line-height: 1.7; color: var(--ink); margin: 0; padding: 0; }
.footer-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid rgba(42, 26, 26, 0.08); padding: 0.3rem 0;
}
.footer-hours li span:first-child { font-weight: 600; color: var(--muted); width: 40px; }
.footer-social { list-style: none; font-size: 15px; line-height: 2; color: var(--ink); margin: 0; padding: 0; }
.footer-social a { color: var(--ink); }
.footer-social a:hover { color: var(--red); }
.footer-col p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-col p em { font-style: italic; color: var(--red); }
.footer-base {
  max-width: 1320px; margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(42, 26, 26, 0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 12px; color: var(--muted); letter-spacing: 0.06em;
}
.footer-base a { color: var(--muted); }
.footer-base a:hover { color: var(--red); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 0.9fr 1fr; gap: 3rem; }
}
