/* ============================================================
   BREWER'S MAESTRO BBQ — Design Tokens
   ============================================================ */
:root {
  --char:          #1A1512;   /* base background — warm near-black, not pure #111 */
  --charcoal:      #251E19;   /* raised section background */
  --charcoal-2:    #2E2620;   /* card/band background */
  --ember:         #D9641E;   /* primary accent — flame/spice */
  --ember-dark:    #A84A15;
  --ember-light:   #F0954F;
  --raspberry:     #A32148;   /* secondary accent — raspberry chipotle */
  --raspberry-dim: #6E1832;
  --bone:          #EFE6D8;   /* primary text on dark */
  --bone-dim:      #C9BEAF;
  --smoke:         #8C7F72;   /* muted secondary text */
  --line:          rgba(239, 230, 216, 0.14);
  --line-strong:   rgba(239, 230, 216, 0.24);

  --display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --body:    "Public Sans", "Segoe UI", system-ui, sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--char);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 600; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ember-light);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.35rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.is-scrolled {
  background: rgba(26, 21, 18, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
}
.brand-mark {
  height: 78px;
  width: auto;
  flex-shrink: 0;
  display: block;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), height 0.3s ease;
}
.brand:hover .brand-mark { transform: scale(1.05); }
.site-nav.is-scrolled .brand-mark { height: 56px; }
.footer-brand .brand-mark { height: 96px; }
.brand-text { display: flex; align-items: baseline; gap: 0.5rem; }
.brand span {
  color: var(--ember);
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 0.3rem 0;
  color: var(--bone-dim);
  transition: color 0.2s ease;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--ember-light);
  border-radius: 2px;
  transition: right 0.25s ease;
}
.nav-links a:hover::before { right: 0; }
.nav-links a:hover,
.nav-links a.active { color: var(--bone); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ember);
  border-radius: 2px;
}
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1.15rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: clamp(0.5rem, 3vw, 2.5rem);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { border-color: var(--ember); background: rgba(217, 100, 30, 0.1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bone);
  padding: 0.4rem;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-inner--home {
  position: relative;
  justify-content: flex-end;
  min-height: 130px;
}
.site-nav--home { padding-top: 2rem; }
.brand--center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}
.brand-mark--large { height: 120px; }
.brand-tagline {
  font-family: "Anton", var(--display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.brand .brand-subtitle {
  font-family: "Anton", var(--display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--bone);
}
/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-primary {
  background: var(--ember);
  color: #1A1512;
  box-shadow: 0 8px 20px -8px rgba(217,100,30,0.5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { background: var(--ember-light); box-shadow: 0 14px 28px -10px rgba(217,100,30,0.65); }
.btn-outline {
  border-color: var(--line-strong);
  color: var(--bone);
}
.btn-outline:hover { border-color: var(--ember); color: var(--ember-light); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,21,18,0.35) 0%, rgba(26,21,18,0.15) 30%, rgba(26,21,18,0.55) 68%, rgba(26,21,18,0.94) 100%),
    linear-gradient(90deg, rgba(26,21,18,0.55) 0%, rgba(26,21,18,0.05) 45%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) 5.5rem;
  max-width: 720px;
}
.hero-tagline { margin-bottom: 1.4rem; }
.hero-tagline .tagline-main {
  font-family: "Anton", var(--display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--bone);
  margin: 0;
}
.hero-tagline .tagline-est {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: var(--ember-light);
  text-transform: uppercase;
}
.hero-badge {
  display: inline-block;
  color: var(--ember-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero-kicker {
  display: block;
  color: var(--ember);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--bone-dim);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* stamp — "Slather it on for delicious" label on photography */
.stamp {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  background: rgba(26, 21, 18, 0.55);
  border: 1px solid rgba(239, 230, 216, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(3px);
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--bone);
  white-space: nowrap;
}
.stamp .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
}
.stamp--hero { bottom: 2rem; right: var(--pad); }
.stamp--tl { top: 1rem; left: 1rem; }
.stamp--br { bottom: 1rem; right: 1rem; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding: 6.5rem 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 3.2rem;
}
.section-head .kicker {
  color: var(--ember);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  display: block;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}
.section-head p {
  margin-top: 1.1rem;
  color: var(--bone-dim);
  font-size: 1.08rem;
  max-width: 56ch;
}
.on-charcoal { background: var(--charcoal); }

/* ============================================================
   Products — staggered rows (not identical cards)
   ============================================================ */
.product-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 3.5rem 0;
}
.product-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.product-row.flip .product-media { order: 2; }
.product-row.flip .product-copy { order: 1; }
.product-media { position: relative; overflow: hidden; border-radius: 4px; }
.product-media img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
  display: block;
}
.product-media:hover img {
  transform: scale(1.035);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.55), 0 0 0 1px rgba(239,230,216,0.06);
}
.product-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.tag-mild { background: rgba(217,100,30,0.16); color: var(--ember-light); }
.tag-raspberry { background: rgba(163,33,72,0.22); color: #E28AA3; }
.tag-hot { background: rgba(217,100,30,0.22); color: #FF8A50; }
.product-copy h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.product-copy p {
  color: var(--bone-dim);
  font-size: 1.08rem;
  max-width: 46ch;
}
.heat-meter {
  display: flex;
  gap: 0.35rem;
  margin-top: 1.4rem;
  align-items: center;
}
.heat-meter span {
  font-size: 0.82rem;
  color: var(--smoke);
  margin-right: 0.4rem;
}
.heat-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.heat-dot.filled { background: var(--ember); }

/* ============================================================
   Story bands — full-bleed image + text (Crafted With Fire etc.)
   ============================================================ */
.band-stack { padding: 1.5rem 0 3rem; }
.band {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  margin: 2.75rem var(--pad) 0;
  border-radius: 8px;
  overflow: hidden;
}
.band:first-child { margin-top: 0; }
.band-media { position: absolute; inset: 0; }
.band-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s cubic-bezier(.2,.6,.2,1);
}
.band:hover .band-media img { transform: scale(1.06); }
.band-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,21,18,0.92) 0%, rgba(26,21,18,0.72) 42%, rgba(26,21,18,0.25) 100%);
}
.band.reverse .band-media::after {
  background: linear-gradient(270deg, rgba(26,21,18,0.92) 0%, rgba(26,21,18,0.72) 42%, rgba(26,21,18,0.25) 100%);
}
.band-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 0 var(--pad);
}
.band.reverse .band-content { margin-left: auto; text-align: right; }
.band-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1.2rem;
  line-height: 1.14;
}
.band-content p {
  color: var(--bone-dim);
  font-size: 1.1rem;
}

/* tint variants for photo bands — subtle color variation per section */
.band-media.tone-ember::after {
  background: linear-gradient(90deg, rgba(26,21,18,0.94) 0%, rgba(90,45,15,0.55) 42%, rgba(217,100,30,0.12) 100%);
}
.band.reverse .band-media.tone-ember::after {
  background: linear-gradient(270deg, rgba(26,21,18,0.94) 0%, rgba(90,45,15,0.55) 42%, rgba(217,100,30,0.12) 100%);
}
.band-media.tone-raspberry::after {
  background: linear-gradient(90deg, rgba(26,21,18,0.94) 0%, rgba(60,20,32,0.6) 42%, rgba(163,33,72,0.14) 100%);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  padding: 6rem 0;
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 25px 50px -15px rgba(0,0,0,0.5);
  transform: translateY(-6px);
}
.testimonial-card .mark {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.testimonial-card p.quote {
  font-family: var(--display);
  font-size: 1.14rem;
  line-height: 1.5;
  color: var(--bone);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.testimonial-card .attribution {
  font-size: 0.88rem;
  color: var(--smoke);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.testimonial-card .attribution strong { color: var(--bone-dim); font-weight: 600; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,100,30,0.14), transparent 60%),
    var(--charcoal);
  border-top: 1px solid var(--line);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: var(--bone-dim);
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: 1.08rem;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.2rem;
  background: var(--char);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { color: var(--smoke); margin-top: 0.8rem; max-width: 32ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--smoke);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ember-light); }
.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-col .contact-line svg {
  width: 15px; height: 15px;
  color: var(--ember);
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--smoke);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-wrap {
  padding-top: calc(6.5rem + 3rem);
  min-height: 100vh;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.contact-info p {
  color: var(--bone-dim);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 2.2rem;
}
.contact-detail {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: 1px solid var(--line); }
.contact-detail .icon {
  color: var(--ember);
  flex-shrink: 0;
  width: 20px;
  margin-top: 0.2rem;
}
.contact-detail strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-detail span { color: var(--smoke); font-size: 0.92rem; }

.form-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.form-card:focus-within {
  border-color: rgba(217,100,30,0.4);
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.6);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bone-dim);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--ember-light); margin-left: 0.15rem; }
.field input,
.field textarea {
  width: 100%;
  background: var(--char);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--bone);
  font-family: var(--body);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--smoke); }
.field input:focus,
.field textarea:focus { border-color: var(--ember); }
.field textarea { min-height: 130px; resize: vertical; }
.phone-field { display: grid; grid-template-columns: 108px 1fr; gap: 0.6rem; }

.field-error {
  color: #E8895B;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  display: none;
}
.field.has-error input,
.field.has-error textarea { border-color: #C1502B; }
.field.has-error .field-error { display: block; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--smoke);
  margin-top: 1rem;
  text-align: center;
}
.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(140, 168, 120, 0.14); color: #A9C99A; border: 1px solid rgba(140,168,120,0.3); }
.form-status.error { background: rgba(193, 80, 43, 0.14); color: #E8895B; border: 1px solid rgba(193,80,43,0.3); }

/* ============================================================
   Products page hero (smaller than home hero)
   ============================================================ */
.page-hero {
  padding: calc(6.5rem + 4.5rem) 0 3rem;
  max-width: 720px;
}
.page-hero .kicker {
  color: var(--ember);
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.page-hero p {
  color: var(--bone-dim);
  font-size: 1.1rem;
  max-width: 50ch;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-mark { height: 52px; }
  .site-nav.is-scrolled .brand-mark { height: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .product-row, .product-row.flip {
    grid-template-columns: 1fr;
  }
  .product-row .product-media, .product-row.flip .product-media { order: 1; }
  .product-row .product-copy, .product-row.flip .product-copy { order: 2; }
  .band { margin-left: 1rem; margin-right: 1rem; min-height: 60vh; }
  .band-content { max-width: 100%; }
  .band.reverse .band-content { margin-left: 0; text-align: left; }
  .band-text.align-right .band-text-inner { margin-left: 0; text-align: left; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stamp--hero { bottom: 1.2rem; right: var(--pad); }
}

@media (max-width: 540px) {
  .band { margin-left: 0.75rem; margin-right: 0.75rem; }
  .band-content, .band-text { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--char);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--pad);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  font-family: var(--display);
  font-size: 1.6rem;
}

/* ============================================================
   Custom cursor — soft dot + trailing ring (desktop only,
   calm 2D motion, no rotation/perspective)
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--ember-light);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(217,100,30,0.55);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.is-active {
  width: 54px; height: 54px;
  background: rgba(217,100,30,0.08);
  border-color: rgba(217,100,30,0.8);
}
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}

/* ============================================================
   Scroll reveal — gentle fade + rise, no 3D
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

