/* ==========================================================================
   THE FUNERAL HOME — styles
   ========================================================================== */

@font-face {
  font-family: "Tana";
  src: url("../assets/fonts/tana.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --bg-header: #070707;
  --line: #9a9a9a;
  --text: #f2f2f2;
  --muted: #8c8c8c;
  --dim: #5a5a5a;
  --pill-light: #f4f4f4;
  --pill-dark: #141414;

  --font-display: "Tana", "Apple Chancery", serif;

  --header-h: 60px;
  --gutter: clamp(16px, 3vw, 40px);

}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background photo layer (grayscale, darkened) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(11, 11, 11, .15), rgba(11, 11, 11, .45)),
    url("../assets/img/bg.webp") center / cover no-repeat,
    var(--bg);
  will-change: transform; /* own layer: no repaint on scroll */
}

/* Form controls don't inherit type by default */
input, textarea, select, button { font-family: inherit; text-transform: inherit; }

/* Forced caps: event titles + dates, CTAs, nav, section titles, contact page */
.event-info h2, .event-meta, .card-title, .card-meta, .ticket-title, .ph-title,
.btn, .about .cta, .nav a, .nav-toggle, .cart-toggle,
.section-title, body[data-page="contact"] main { text-transform: uppercase; }
/* What visitors type into the contact form keeps its own case */
body[data-page="contact"] :is(input, textarea) { text-transform: none; }

/* Home + Services pages: text can't be highlighted/selected */
body:is([data-page="home"], [data-page="events"]) { -webkit-user-select: none; user-select: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--bg-header);
}

/* Barbed wire in place of a bottom border, straddling the header edge */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -12px;
  height: 28px;
  background: url("../assets/img/barbed-wire.svg") repeat-x left center / auto 24px;
  pointer-events: none;
  z-index: 1;
}

/* Wordmark: typed name, top left, links home */
.logo {
  flex-shrink: 0;
  color: var(--text);
  font-size: clamp(17px, 1.75vw, 24px);
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 255, 255, .18);
}

.nav { display: flex; gap: clamp(20px, 3vw, 40px); }

.nav a {
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

/* Cart sits after the nav (desktop) or after Menu (mobile) */
.nav { margin-left: auto; }
.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: clamp(20px, 3vw, 40px);
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s;
}
.cart-toggle:hover, .cart-toggle[aria-expanded="true"] { color: var(--text); }
.cart-count:not(:empty) { color: var(--text); }

/* Cart = casket. Lid shut while the cart is closed, slid ajar while it's open
   (hover lifts it a crack). Lid and box share one outline, so shut looks solid. */
.casket { display: block; height: clamp(24px, 2.1vw, 30px); width: auto; overflow: visible; }
.casket path { stroke-linejoin: round; }
.casket-box { fill: #030303; stroke: currentColor; stroke-width: 1.5; }
.casket-lining { fill: none; stroke: currentColor; stroke-width: .75; opacity: .4; }
.casket-lid > :first-child { fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.casket-cross { fill: none; stroke: var(--bg-header); stroke-width: 1.7; }
.casket-lid {
  transform-box: view-box;
  transform-origin: 17px 1px;      /* hinge on the head's right corner */
  transition: transform .4s cubic-bezier(.3, .8, .25, 1.15);
}
.cart-toggle:hover .casket-lid { transform: rotate(5deg); }
.cart-toggle[aria-expanded="true"] .casket-lid { transform: translate(-4px, -1px) rotate(38deg); }
@media (prefers-reduced-motion: reduce) { .casket-lid { transition: none; } }

@media (max-width: 720px) {
  :root { --header-h: 52px; }
  .nav-toggle { display: block; margin-left: auto; }
  .cart-toggle { margin-left: 20px; font-size: 16px; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-header);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px var(--gutter); font-size: 18px; }
}

/* ---------- Layout ---------- */

main {
  min-height: calc(100svh - var(--header-h));
  padding: clamp(32px, 6vw, 72px) var(--gutter);
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 2.55vw, 34px);
  font-weight: normal;
  letter-spacing: .03em;
  margin: 0;
  line-height: 1;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: .06em;
  margin: 8px 0 clamp(28px, 4vw, 48px);
}

/* One-page sections: each fills roughly a screen */
.page-section + .page-section { margin-top: clamp(96px, 12vw, 180px); }

/* Events page: Past Services sits closer under Funeral Services */
body[data-page="events"] .page-section + .page-section { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: none;
  padding: .7em 1.8em .6em;
  font-size: clamp(16px, 1.65vw, 27px);
  letter-spacing: .05em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s;
}
/* Distressed fill: square slab with torn edges + punched holes (see assets/img/distress-mask.svg) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  mask: url("../assets/img/distress-mask.svg") center / 100% 100% no-repeat;
  transition: background .15s;
}
.btn--light { --btn-fill: #fff; color: #111; }
.btn--light:hover { --btn-fill: #fff; transform: translateY(-1px); }
.btn--dark  { --btn-fill: var(--pill-dark); color: var(--dim); cursor: default; }
.btn--block { width: 100%; }
/* Recap + Past Service: same hover as Get Tickets (fill fades up, lifts, trembles), kept dark.
   Past Service isn't a link, so it keeps the default cursor. */
.btn--dark.btn--recap, .btn--dark.btn--secondary { cursor: pointer; color: #b0b0b0; }
.btn--dark.btn--recap, .btn--dark.btn--past, .btn--dark.btn--secondary { transition: transform .15s, color .15s; }
.btn--dark.btn--recap:hover,
.btn--dark.btn--past:hover,
.btn--dark.btn--secondary:hover { --btn-fill: #262626; color: var(--text); transform: translateY(-1px); }
.btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Poster ---------- */

.poster {
  position: relative;
  aspect-ratio: 4 / 5.2;
  background: #151515;
  overflow: hidden;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }

/* Wireframe placeholder when no poster image is set */
.poster--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  border: 1px dashed #444;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), #2a2a2a 50%, transparent calc(50% + 1px)),
    linear-gradient(to top left,  transparent calc(50% - 1px), #2a2a2a 50%, transparent calc(50% + 1px)),
    #121212;
}
.poster--placeholder .ph-title {
  font-size: clamp(20px, 2.25vw, 33px);
  line-height: 1;
  background: #121212;
  padding: 4px 8px;
}
.poster--placeholder .ph-label {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dim);
  background: #121212;
  padding: 2px 6px;
}

/* ---------- Intro (large logo, first screen of the home page) ---------- */

.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: var(--gutter);
}
/* Background video (assets/video/hero.mp4). Hidden until it can play, so a
   missing file just leaves the photo background. */
.intro-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Greyscale with the whites pulled down to mid-grey (~#a0a0a0 at most) so
     nothing in the footage competes with the #eaeaea logo */
  filter: grayscale(1) contrast(.8) brightness(.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.intro.has-video .intro-video { opacity: 1; }
/* Vignette keeps the logo legible; the bottom fade melts the video into the
   site background so it hands off smoothly to the next section */
.intro.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(11, 11, 11, .6) 80%, var(--bg) 100%),
    radial-gradient(ellipse at center, rgba(11, 11, 11, .3), rgba(11, 11, 11, .7));
}
/* ...and the next section picks up from that dark edge, letting the photo
   background ease back in rather than starting with a hard line */
.intro.has-video + main {
  background: linear-gradient(to bottom, var(--bg), rgba(11, 11, 11, 0) min(40vh, 420px)) no-repeat;
}
/* Never show native controls (iOS draws a play button in Low Power Mode) */
.intro-video::-webkit-media-controls,
.intro-video::-webkit-media-controls-start-playback-button { display: none !important; }
/* Title: the brand logos in turn, timed and sized like the brand reel
   (BRANDING/TFH BRAND REEL.mp4): a new one every ~0.6s (main.js) with a quick
   dissolve, and the lettering about the same size from logo to logo. --w is
   each logo's width as a % of a 16:9 frame fitted to the hero (--u = 1% of
   that frame's width), times --scale to size them all up or down together. */
.intro-title {
  --scale: .85;
  --u: calc(min(1vw, (100svh - var(--header-h)) * .0178) * var(--scale));
  display: grid;
  place-items: center;
  margin: 0;
  color: #eaeaea;
  /* optical centre: sit a little above true centre, which reads as centred */
  translate: 0 calc((100svh - var(--header-h)) * -.05);
}
.intro-title .intro-logo {
  grid-area: 1 / 1;
  width: calc(var(--w, 34) * var(--u));
  max-width: 92vw;
  opacity: 0;
  transition: opacity .1s linear;   /* the reel's quick dissolve between logos */
}
.intro-title .intro-logo.is-shown { opacity: 1; }
.intro-logo.logo--type    { --w: 34; }
.intro-logo.logo--mansion { --w: 26; }
.intro-logo.logo--reaper  { --w: 35; }
.intro-logo.logo--lockup  { --w: 48; }
.intro-logo.logo--grave   { --w: 21; }
.intro-logo.logo--house   { --w: 33; }
.intro-logo.logo--skull   { --w: 38; }
.intro-logo.logo--buried  { --w: 34; }   /* not in the reel: sized to match its lettering */
.intro-logo.logo--hands   { --w: 38; }   /* not in the reel: sized to match its lettering */
/* Phones (portrait): a 16:9 frame would leave the logos tiny, so scale up */
@media (max-width: 720px) { .intro-title { --u: calc(2vw * var(--scale)); } }

/* ---------- Featured carousel (home) ---------- */

.feature {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 2 * clamp(32px, 6vw, 72px));
}

.feature-track { flex: 1; }

.feature-slide {
  display: none;
  grid-template-columns: minmax(0, 520px) minmax(0, 520px);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 0 clamp(48px, 8vw, 120px);
}
.feature-slide.is-active { display: grid; animation: fade .35s ease; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.event-info h2 {
  margin: 0;
  font-weight: normal;
  font-size: clamp(24px, 2.55vw, 36px);
  letter-spacing: .02em;
  line-height: 1;
}
.event-meta {
  font-size: clamp(15px, 1.5vw, 22px);
  margin: 8px 0 24px;
}
.event-desc {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.45;
  max-width: 22em;
  margin: 0 0 32px;
  white-space: pre-line;
}
.event-desc.is-placeholder { color: var(--muted); }

/* Carousel arrows: a torn black slab (same distress mask as .btn) with a ragged
   white edge and a rough-cut chevron (assets/img/arrow.svg), always visible over
   any poster. Hover flips it to the white Get Tickets slab and it trembles (fx.css). */
.carousel-btn {
  --arrow: #f2f2f2;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 56px; height: 56px;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 8, .88);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  z-index: 2;
  mask: url("../assets/img/distress-mask.svg") center / 100% 100% no-repeat;
  transition: background .15s;
}
/* ragged edge: the slab minus a slightly smaller slab */
.carousel-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #d6d6d6;
  mask:
    url("../assets/img/distress-mask.svg") center / 100% 100% no-repeat,
    url("../assets/img/distress-mask.svg") center / calc(100% - 7px) calc(100% - 7px) no-repeat;
  mask-composite: exclude;
  transition: opacity .15s;
}
.carousel-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52%; height: 52%;
  background: var(--arrow);
  mask: url("../assets/img/arrow.svg") center / contain no-repeat;
  transition: background .15s;
}
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
.carousel-btn--prev::after { scale: -1 1; translate: -2px 0; }
.carousel-btn--next::after { translate: 2px 0; }
.carousel-btn:hover { --arrow: #111; background: #fff; }
.carousel-btn:hover::before { opacity: 0; }
.carousel-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; mask: none; }

.carousel-dots {
  position: absolute;
  bottom: -28px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #444;
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] { background: var(--text); }

@media (max-width: 860px) {
  .feature-slide {
    grid-template-columns: minmax(0, 420px);
    padding: 0;
    text-align: center;
  }
  .carousel-btn { top: 200px; width: 46px; height: 46px; }
}

/* ---------- Event cards ---------- */

.event-card { display: flex; flex-direction: column; text-align: center; }
.event-card .poster { margin-bottom: 18px; }
.event-card.is-past .poster { filter: grayscale(1) brightness(.5); }
.event-card.is-past .card-title,
.event-card.is-past .card-meta { color: var(--muted); }

.card-title {
  font-size: clamp(17px, 1.45vw, 28px);
  letter-spacing: .03em;
  line-height: 1;
  margin: 0;
  font-weight: normal;
}
.card-meta { font-size: clamp(13px, 1vw, 18px); line-height: 1.1; margin: 6px 0 16px; }
.event-card .btn { font-size: clamp(16px, 1.75vw, 32px); }

/* ---------- Event detail ---------- */

.lineup {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.25;
}
.lineup li + li::before { content: "• "; color: var(--muted); }
.lineup li { display: inline; }
.lineup li + li { margin-left: 6px; }

.ticket-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.back-link {
  align-self: flex-start;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--text); }

/* ---------- About ---------- */

.about {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--header-h) - 2 * clamp(32px, 6vw, 72px));
}
.about h2 {
  font-weight: normal;
  font-size: clamp(27px, 2.7vw, 39px);
  margin: 0 0 32px;
  letter-spacing: .02em;
  line-height: 1;
}
/* Wide wordmark (about 7:1), so it runs wider than the 2:1 intro logo */
.about h2 img { width: clamp(200px, 24vw, 360px); height: auto; }
.about .lede {
  font-size: clamp(18px, 2.1vw, 33px);
  line-height: 1.32;
  margin: 0 0 40px;
}
.about .cta {
  display: inline-block;
  font-size: clamp(26px, 2.7vw, 39px);
  line-height: 1.1;
  letter-spacing: .02em;
  transition: opacity .15s;
}
.about a.cta:hover { opacity: .75; }

/* ---------- Contact — same square language as the ticket page ---------- */

.contact {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }

/* Large desktops: centre the page in the window instead of leaving space below */
@media (min-width: 1200px) {
  body[data-page="contact"] main { display: flex; flex-direction: column; justify-content: center; }
  .contact { width: 100%; align-items: center; }
  .contact-aside { position: static; }
}

.contact-title {
  margin: 0;
  font-weight: normal;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: .95;
  letter-spacing: .02em;
}
.contact-intro {
  margin: 24px 0 36px;
  max-width: 26em;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: #d6d6d6;
}

.contact-links { margin: 0; border-top: 1px solid #2a2a2a; }
.contact-links > div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 14px 0 12px;
  border-bottom: 1px solid #2a2a2a;
}
.contact-links dt {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--muted);
}
.contact-links dd {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
.contact-links a { transition: color .15s; }
.contact-links a:hover { color: var(--muted); }

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--muted);
}
.field-hint { color: var(--dim); letter-spacing: .06em; }
.field-hint::before { content: "— "; }

.field input, .field textarea, .field select {
  width: 100%;
  font-size: 17px;
  color: var(--text);
  background-color: rgba(7, 7, 7, .6);
  border: 1px solid #4a4a4a;
  border-radius: 0;
  padding: 13px 14px 12px;
  transition: border-color .15s, background-color .15s;
}
.field select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  /* chevron */
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--bg); color: var(--text); }
.field textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #6a6a6a; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--text);
  background-color: rgba(7, 7, 7, .8);
}
.form .btn { margin-top: 8px; font-size: clamp(20px, 1.9vw, 28px); }

@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .contact-aside { position: static; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  /* Stack label over value so the email address gets the full row width */
  .contact-links > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; }
  .contact-links dd { letter-spacing: .01em; line-height: 1.2; }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  translate: -50% 20px;
  max-width: calc(100vw - 32px);
  background: var(--pill-light);
  color: #111;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, translate .2s;
  z-index: 50;
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

.empty { text-align: center; color: var(--muted); font-size: 18px; }

/* ---------- Hero slide: squared block ----------
   Text column matches the poster's height: title flush with the poster top,
   CTA flush with the poster bottom, button spans the column. */

#hero .feature-slide {
  /* poster capped so it (and the text beside it) fits the screen below the header */
  --col: min(500px, calc((100svh - var(--header-h) - 100px) / 1.3));
  grid-template-columns: minmax(0, var(--col)) minmax(0, var(--col));
  align-items: stretch;
}
#hero .feature-slide > a { display: block; align-self: start; }
#hero .event-info {
  --fit: 1;                      /* set by main.js so the text fills the poster's height */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#hero .event-info h2 {
  font-size: calc(clamp(30px, 3.3vw, 52px) * var(--fit));
  line-height: .85;              /* trims the font's top leading so caps sit on the poster's top edge */
  margin-top: -.04em;
}
#hero .event-meta { font-size: calc(clamp(18px, 1.9vw, 30px) * var(--fit)); margin: 12px 0 18px; }
#hero .event-desc {
  font-size: calc(clamp(13px, 1.1vw, 18px) * var(--fit));
  line-height: 1.28;
  max-width: none;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
#hero .event-info .btn {
  margin-top: auto;              /* pin to the poster's bottom edge */
  width: 100%;
  font-size: clamp(20px, 2vw, 32px);
}

@media (max-width: 860px) {
  #hero .feature-slide { grid-template-columns: minmax(0, 460px); }
  #hero .event-info h2 { line-height: 1; margin-top: 0; }
  #hero .event-info .btn { margin-top: 0; }
}

/* ---------- Brand logos (assets/img/logos/*.svg) ----------
   Used as masks over a flat fill, so each logo takes its colour from `color`
   (light on the hero, dark grey on the contact page). Silhouette logos keep
   their lettering cut out. */

.logo-mark {
  display: block;
  background: currentColor;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}
.logo--buried  { mask-image: url("../assets/img/logos/buried.svg");  aspect-ratio: 542 / 204.23; }
.logo--hands   { mask-image: url("../assets/img/logos/hands.svg");   aspect-ratio: 719.69 / 418.94; }
.logo--grave   { mask-image: url("../assets/img/logos/grave.svg");   aspect-ratio: 449.08 / 552.99; }
.logo--house   { mask-image: url("../assets/img/logos/house.svg");   aspect-ratio: 593.23 / 355.82; }
.logo--lockup  { mask-image: url("../assets/img/logos/lockup.svg");  aspect-ratio: 739.85 / 108.59; }
.logo--mansion { mask-image: url("../assets/img/logos/mansion.svg"); aspect-ratio: 485.87 / 496.96; }
.logo--reaper  { mask-image: url("../assets/img/logos/reaper.svg");  aspect-ratio: 642.89 / 602.93; }
.logo--skull   { mask-image: url("../assets/img/logos/skull.svg");   aspect-ratio: 794.63 / 236.3; }
.logo--type    { mask-image: url("../assets/img/logos/type.svg");    aspect-ratio: 518.12 / 268.65; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Contact background: logo collage ----------
   Near-black page with every logo in one dark grey, big and cropped at the
   edges. Fixed behind the page; fx.js drifts each one slowly. Placement: --x/--y
   (top-left, % of the window), --w (width), --r (tilt). */

body[data-page="contact"]::before { background: #101010; }

.logo-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: #262626;
  opacity: .55;          /* fades the whole collage back further into the page */
}
.logo-float {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  rotate: var(--r, 0deg);
  will-change: transform;
}
.logo-field .logo--reaper  { --x: -3%; --y: 8%;  --w: 37vw; --r: -3deg; }
.logo-field .logo--buried  { --x: 32%; --y: 6%;  --w: 22vw; --r: -10deg; }
.logo-field .logo--mansion { --x: 48%; --y: 16%; --w: 27vw; --r: 2deg; }
.logo-field .logo--type    { --x: 77%; --y: 9%;  --w: 30vw; --r: 5deg; }
.logo-field .logo--lockup  { --x: 1%;  --y: 74%; --w: 34vw; --r: -2deg; }
.logo-field .logo--grave   { --x: 38%; --y: 64%; --w: 17vw; --r: -1deg; }
.logo-field .logo--house   { --x: 63%; --y: 53%; --w: 40vw; --r: -2deg; }
.logo-field .logo--skull   { --x: -6%; --y: 86%; --w: 36vw; --r: 1deg; }

/* Phones: fewer per row, so bigger and stacked down the screen */
@media (max-width: 720px) {
  .logo-field .logo--buried  { --x: 18%;  --y: 7%;  --w: 66vw; --r: -8deg; }
  .logo-field .logo--reaper  { --x: -20%; --y: 21%; --w: 74vw; }
  .logo-field .logo--mansion { --x: 58%;  --y: 20%; --w: 56vw; }
  .logo-field .logo--type    { --x: -8%;  --y: 52%; --w: 62vw; --r: 4deg; }
  .logo-field .logo--grave   { --x: 62%;  --y: 49%; --w: 36vw; }
  .logo-field .logo--lockup  { --x: 4%;   --y: 74%; --w: 92vw; }
  .logo-field .logo--house   { --x: -16%; --y: 81%; --w: 70vw; }
  .logo-field .logo--skull   { --x: 54%;  --y: 84%; --w: 76vw; }
}

/* ---------- Reaper (About) ---------- */

.about, .contact { position: relative; isolation: isolate; }

.reaper {
  position: absolute;
  z-index: -1;
  left: calc(50% - 50vw - 2vw);       /* pinned to the page's left edge */
  bottom: -12%;
  width: auto;
  height: min(92%, 880px);
  max-width: none;
  pointer-events: none;
  user-select: none;
  /* pale + faded already baked into the image; fx.js drifts it slowly like it's hovering */
  will-change: transform;
}

@media (max-width: 860px) {
  .reaper { height: 60%; left: calc(50% - 50vw - 18vw); bottom: -6%; opacity: .7; }

  /* About: a screen tall, text centred, reaper clipped to the section behind it.
     The mask fades the reaper's lower half into the dark so the copy stays legible. */
  .about { min-height: calc(100svh - var(--header-h) - 2 * clamp(32px, 6vw, 72px)); overflow: clip; }
  .about .reaper {
    left: 50%;
    top: 50%;
    bottom: auto;
    height: 82%;
    translate: -58% -50%;
    opacity: .55;
    mask-image: linear-gradient(to bottom, #000 25%, transparent 85%);
  }
}

/* ---------- Events carousel: 4 / 3 / 2 / 1 per view ---------- */

/* Full page width (inside the gutter); arrows sit over the posters' edges */
.event-carousel {
  --per: 4;
  --gap: clamp(12px, 1vw, 20px);
  position: relative;
  max-width: 2000px;
  margin: 0 auto;
}
.event-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}
.event-track::-webkit-scrollbar { display: none; }
.event-track > .event-card { scroll-snap-align: start; }

.event-carousel .carousel-btn { top: 38%; }
.event-carousel .carousel-btn--prev { left: 12px; }
.event-carousel .carousel-btn--next { right: 12px; }
.event-carousel .carousel-btn[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.event-carousel.is-static .carousel-btn { display: none; }

@media (max-width: 1100px) { .event-carousel { --per: 3; } }
@media (max-width: 800px)  { .event-carousel { --per: 2; } .event-carousel .carousel-btn { width: 46px; height: 46px; } }
@media (max-width: 520px)  { .event-carousel { --per: 1; } }

/* Home Funeral Services: posters capped so the title, posters and buttons fit one screen below the header */
@media (min-width: 521px) {
  #events .event-carousel {
    max-width: min(2000px, calc(var(--per) * max(100svh - var(--header-h) - 360px, 320px) / 1.3 + (var(--per) - 1) * var(--gap)));
  }
}

/* ---------- Services page: stacked grid, 4 / 3 / 2 / 1 per row, date order ---------- */

.event-grid {
  --per: 4;
  --gap: clamp(12px, 1vw, 20px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* a lone upcoming card (or short last row) sits centred */
  gap: clamp(40px, 4.5vw, 72px) var(--gap);
  max-width: 2000px;
  margin: 0 auto;
}
.event-grid > .event-card { width: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }

@media (max-width: 1100px) { .event-grid { --per: 3; } }
@media (max-width: 800px)  { .event-grid { --per: 2; } }
@media (max-width: 520px)  { .event-grid { --per: 1; } }

@media (min-width: 861px) and (max-width: 1280px) {
  #hero .event-desc { font-size: calc(1.1vw * var(--fit)); line-height: 1.15; letter-spacing: 0; margin-bottom: 16px; }
  #hero .event-meta { margin-bottom: 12px; }
}

/* Hero: description hidden on mobile */
@media (max-width: 860px) {
  #hero .event-desc { display: none; }
  #hero .event-meta { margin-bottom: 24px; }
}

/* ---------- Ticket page (event.html) — mirrors the Shopify product page ---------- */

.ticket-page {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}
.ticket-media { position: sticky; top: calc(var(--header-h) + 32px); }
/* Event pages show the whole poster at its own shape (older posters aren't all
   4:5). Cards and the hero keep the uniform crop. */
#event-detail .poster:not(.poster--placeholder) { aspect-ratio: auto; background: none; }
#event-detail .poster img { display: block; height: auto; object-fit: contain; }
/* …and a tall one still fits the window beside the text, like the rest of a past page */
@media (min-width: 861px) {
  #event-detail.is-past .poster img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - var(--header-h) - 64px);
    margin: 0 auto;
  }
}

/* Past services are short (no ticket form): centre the block in the window
   and the text against the poster instead of leaving empty space below. */
main:has(> .ticket-page.is-past) { display: flex; flex-direction: column; justify-content: center; }
.ticket-page.is-past { width: 100%; align-items: center; }
.ticket-page.is-past .ticket-media { position: static; }

.ticket-info { display: flex; flex-direction: column; align-items: stretch; }

.eyebrow {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--muted);
}
.ticket-title {
  margin: 0;
  font-weight: normal;
  font-size: clamp(36px, 4vw, 60px);
  line-height: .95;
  letter-spacing: .02em;
}
.ticket-info .event-meta { font-size: clamp(17px, 1.5vw, 22px); margin: 10px 0 26px; }

.ticket-price {
  margin: 0;
  font-size: 22px;
  letter-spacing: .02em;
}
.ticket-fee {
  margin: 4px 0 26px;
  font-size: 15px;
  color: var(--muted);
}

.variant-picker { border: 0; padding: 0; margin: 0 0 22px; }
.variant-picker legend,
.qty-label {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--muted);
}
.pill { display: inline-block; margin: 0 8px 8px 0; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 10px 18px 8px;
  border: 1px solid #4a4a4a;
  font-size: 17px;
  letter-spacing: .04em;
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover span { border-color: var(--text); }
.pill input:checked + span { background: var(--text); color: #111; border-color: var(--text); }
.pill input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.pill.is-unavailable { cursor: not-allowed; }
.pill.is-unavailable span { color: var(--dim); text-decoration: line-through; border-color: #2a2a2a; }

.qty-field { margin-bottom: 26px; }
.stepper {
  display: inline-grid;
  grid-template-columns: 48px 60px 48px;
  height: 48px;
  border: 1px solid #4a4a4a;
}
.stepper button {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: background .15s;
}
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper input {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  text-align: center;
  font-size: 18px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: rgba(255, 255, 255, .06); }

#buy, #buy-now { font-size: clamp(20px, 1.9vw, 28px); }
#buy[disabled] { --btn-fill: var(--pill-dark); color: var(--dim); cursor: default; }
#buy-now { margin-top: 10px; }

.ticket-desc {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #2a2a2a;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  white-space: pre-line;
  color: #d6d6d6;
}
.ticket-info .lineup { margin-top: 36px; }

.share-link {
  align-self: flex-start;
  margin-top: 28px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: .08em;
  cursor: pointer;
}
.share-link:hover { color: var(--text); }

@media (max-width: 860px) {
  .ticket-page { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .ticket-media { position: static; }
}

/* ---------- Shop (shop.html) + product page (product.html) ---------- */

/* Product photos: 4:5 (Shopify images of other shapes are cropped to fit) */
.product-card .poster, .product-page .poster { aspect-ratio: 4 / 5; }
.product-price { margin-bottom: 26px; }

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.product-thumbs button {
  padding: 0;
  aspect-ratio: 4 / 5;
  background: #151515;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.product-thumbs button:hover { opacity: .85; }
.product-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--text); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }

#buy[hidden], #buy-now[hidden] { display: none; }

/* ---------- Gallery carousel (home) ---------- */

/* No sub-heading here, so the title carries the gap the sub-line usually adds */
#gallery .section-title { margin-bottom: clamp(28px, 4vw, 48px); }

.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #151515;
  scroll-snap-align: start;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.gallery-item img.fade-img { transition: opacity .5s, filter .3s, transform .4s; }
.gallery-item:hover img { filter: none; transform: scale(1.03); }
.gallery-carousel .carousel-btn { top: 50%; }

/* ---------- Privacy page (policy text comes from Shopify) ---------- */

.policy {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  letter-spacing: .03em;
  color: #c8c8c8;
  overflow-wrap: anywhere;
}
.policy :is(h1, h2, h3, h4) {
  margin: 2.2em 0 .6em;
  font-weight: normal;
  font-size: clamp(19px, 1.6vw, 24px);
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
}
.policy :is(h3, h4) { font-size: clamp(16px, 1.3vw, 19px); }
.policy p, .policy ul, .policy ol { margin: 0 0 1em; }
.policy ul, .policy ol { padding-left: 1.3em; }
.policy li + li { margin-top: .35em; }
.policy strong, .policy b { font-weight: normal; color: var(--text); }
.policy a { color: var(--text); transition: color .15s, text-shadow .15s; }
.policy a:hover, .policy a:focus-visible { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, .45); }
.policy > div > p:first-child { color: var(--muted); } /* "Last updated: …" */

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 48px);
  background: var(--bg-header);
}
/* Same barbed wire as the header, along the top edge */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -12px;
  height: 28px;
  background: url("../assets/img/barbed-wire.svg") repeat-x left center / auto 24px;
  pointer-events: none;
}
/* FAQ: collapsible questions above the links */
.footer-title {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-weight: normal;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .06em;
  color: var(--muted);
  text-align: center;
}
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid #2a2a2a; }
.faq-item { border-bottom: 1px solid #2a2a2a; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0 14px;
  font-size: clamp(16px, 1.3vw, 19px);
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Chevron: points down when closed, up when open */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin: 0 4px 4px 0;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
  transition: rotate .2s, margin .2s;
}
.faq-item[open] summary::after { rotate: -135deg; margin-bottom: -4px; }
.faq-item summary:hover { color: #fff; }
.faq-item p {
  margin: 0 0 18px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  letter-spacing: .03em;
  color: var(--muted);
}
.faq-item strong { font-weight: normal; color: var(--text); }
.faq-item a { color: #bdbdbd; overflow-wrap: anywhere; transition: color .15s, text-shadow .15s; }
.faq-item a:hover, .faq-item a:focus-visible { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, .45); }
/* Mausoleum under Other Questions: pale ink baked into the image, faded to sit with the muted copy */
.faq-art {
  display: block;
  width: clamp(120px, 12vw, 170px);
  height: auto;
  margin: 4px auto 22px;
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

.footer-links {
  margin-top: clamp(36px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(28px, 4vw, 56px);
}
.footer-links a {
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

/* ---------- Cart drawer (built by main.js, every page) ---------- */

/* Lock the page via body only: hiding overflow on <html> too would turn body
   (overflow-x: hidden) into its own scroller and the sticky header would slide
   away. The stable gutter stops the casket jumping as the scrollbar goes. */
html { scrollbar-gutter: stable; }
.cart-is-open body { overflow: hidden; }

/* Opens below the header (above the flashlight layer, below grain), so the
   casket stays in view, shows the lid open, and closes the cart again */
.cart { position: fixed; inset: var(--header-h) 0 0; z-index: 19; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .25s;
}
.cart-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-header);
  border-left: 1px solid #2a2a2a;
  translate: 100% 0;
  transition: translate .25s cubic-bezier(.4, 0, .2, 1);
}
.cart.is-open .cart-backdrop { opacity: 1; }
.cart.is-open .cart-panel { translate: 0 0; }

.cart-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid #2a2a2a;
}
.cart-title {
  margin: 0;
  font-weight: normal;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: .04em;
  text-shadow: 0 0 14px rgba(255, 255, 255, .18);
}
.cart-close, .cart-remove {
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .15s;
}
.cart-close { font-size: 16px; }
.cart-close:hover, .cart-remove:hover { color: var(--text); }

.cart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 24px var(--gutter);
}
.cart-empty { margin: 24px 0; text-align: center; color: var(--muted); font-size: 18px; }
.cart-shop { margin-top: 10px; }
/* Empty cart only: line art pinned to the bottom of the drawer. The file is pale
   lines on transparent; opacity sinks it to a dark grey on the panel. */
.cart-empty-art {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: auto auto 0;
  padding-top: 32px;
  opacity: .2;
  pointer-events: none;
  user-select: none;
}

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #2a2a2a;
}
.cart-line:first-child { padding-top: 0; }
.cart-thumb { aspect-ratio: 4 / 5.2; background: #151515; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { font-size: 18px; letter-spacing: .02em; line-height: 1.1; }
.cart-line-variant { margin: 4px 0 12px; font-size: 14px; color: var(--muted); letter-spacing: .03em; }
.cart-line-row { display: flex; align-items: center; gap: 16px; }
.cart-remove { font-size: 14px; }
.cart-line-total { margin: 0; font-size: 16px; white-space: nowrap; }

.stepper--sm { grid-template-columns: 34px 40px 34px; height: 34px; }
.stepper--sm button { font-size: 18px; }
.stepper--sm input { font-size: 16px; }
.stepper button:disabled { color: var(--dim); cursor: default; background: none; }

.cart-foot { margin-top: auto; padding-top: 24px; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 20px;
  letter-spacing: .03em;
}
.cart-fee-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cart-foot .btn { margin-top: 18px; font-size: clamp(20px, 1.9vw, 26px); }
.cart-foot .ticket-note { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .cart-backdrop, .cart-panel { transition: none; }
}

/* ---------- Ticket holders (Evey's per-ticket form, before checkout) ---------- */

.holders-is-open body { overflow: hidden; }
.holders {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  color: var(--text);
  background: var(--bg-header);
  border: 1px solid #2a2a2a;
}
.holders::backdrop { background: rgba(0, 0, 0, .75); }
.holders-form { display: flex; flex-direction: column; max-height: calc(100svh - 34px); }
.holders-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 24px;
  border-bottom: 1px solid #2a2a2a;
}
.holders-title {
  margin: 0;
  font-weight: normal;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 255, 255, .18);
}
.holders-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px 8px; }
.holders-intro { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.holders-event + .holders-event { margin-top: 28px; padding-top: 24px; border-top: 1px solid #2a2a2a; }
.holders-event-title { margin: 0; font-weight: normal; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; }
.holders-event-variant { margin: 4px 0 18px; color: var(--muted); font-size: 15px; letter-spacing: .03em; }
.holders-ticket { display: grid; gap: 16px; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.holders-ticket[hidden] { display: none; }
.holders-ticket legend { padding: 0; margin-bottom: 12px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.holders-heading { margin: 6px 0 0; font-size: 16px; letter-spacing: .06em; color: var(--text); }
.holders .field label, .holders-choice legend { font-size: 14px; margin-bottom: 8px; }
.holders-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.holders-choice legend { display: block; padding: 0; letter-spacing: .1em; color: var(--muted); }
.holders :is(input, select) { text-transform: none; }
.holders .field input:user-invalid, .holders .field select:user-invalid { border-color: #b04a4a; }
.holders-check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; cursor: pointer; }
.holders-check + .holders-check { margin-top: 8px; }
.holders-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #fff; }
.holders-same { margin: 0 0 18px; color: var(--muted); }
.holders-foot { flex: none; padding: 16px 24px 20px; border-top: 1px solid #2a2a2a; }
.holders-foot .btn { font-size: clamp(20px, 1.9vw, 26px); }
.holders-foot .ticket-note { text-align: center; margin-bottom: 0; }
.holders-error { margin: 0 0 12px; color: #e08a8a; font-size: 15px; text-align: center; }

@media (max-width: 600px) {
  .holders { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; border: 0; }
  .holders-form { height: 100%; max-height: 100svh; }
  .holders-head, .holders-body, .holders-foot { padding-left: 16px; padding-right: 16px; }
  .holders .field input { font-size: 19px; }
  .holders-event-title { font-size: 24px; }
  .holders-foot .btn { font-size: 23px; }
}

/* ---------- Mobile: smaller barbed wire, larger type ---------- */

@media (max-width: 720px) {
  .site-header::after { bottom: -8px; height: 18px; background-size: auto 16px; }
  .site-footer::before { top: -8px; height: 18px; background-size: auto 16px; }

  .logo { font-size: 19px; }
  .nav-toggle, .cart-toggle { font-size: 18px; }
  .nav a { font-size: 21px; }

  .section-title { font-size: 28px; }
  .section-sub { font-size: 18px; }
  .btn { font-size: 19px; }

  .event-info h2 { font-size: 28px; }
  .event-meta { font-size: 18px; }
  .event-desc { font-size: 18px; }
  .card-title { font-size: 21px; }
  .card-meta { font-size: 16px; }
  .event-card .btn { font-size: 19px; }
  .lineup { font-size: 18px; }
  .ticket-note { font-size: 16px; }
  .back-link { font-size: 19px; }

  #hero .event-info h2 { font-size: 36px; }
  #hero .event-meta { font-size: 19px; }
  #hero .event-info .btn { font-size: 23px; }

  .about h2 img { width: min(220px, calc(100vw - 2 * var(--gutter))); }
  .about .lede { font-size: 21px; }
  .about .cta { font-size: 30px; }

  .contact-title { font-size: 44px; }
  .contact-intro { font-size: 18px; }
  .contact-links dt { font-size: 16px; }
  .contact-links dd { font-size: 19px; }
  .field label { font-size: 17px; }
  .field input, .field textarea, .field select { font-size: 19px; }
  .form .btn { font-size: 23px; }

  .eyebrow { font-size: 17px; }
  .ticket-title { font-size: 40px; }
  .ticket-info .event-meta { font-size: 19px; }
  .ticket-price { font-size: 25px; }
  .ticket-fee, .qty-label { font-size: 17px; }
  .pill span { font-size: 19px; }
  .ticket-desc { font-size: 18px; }
  #buy, #buy-now { font-size: 23px; }
  .share-link { font-size: 20px; }

  .footer-title { font-size: 21px; }
  .faq-item summary { font-size: 19px; }
  .faq-item p { font-size: 17px; }
  .policy { font-size: 17px; }
  .footer-links a { font-size: 19px; }

  .empty, .cart-empty { font-size: 20px; }
  .cart-title { font-size: 23px; }
  .cart-close { font-size: 18px; }
  .cart-line-title { font-size: 20px; }
  .cart-line-variant, .cart-remove, .cart-fee-note { font-size: 16px; }
  .cart-line-total { font-size: 18px; }
  .cart-subtotal { font-size: 22px; }
  .cart-foot .btn { font-size: 23px; }
}
