/* =====================================================
   Mariachi Salinas — Brand Stylesheet
   Palette: #ce423f (red) · #fedac1 (cream)
   Type:    Red Rose (titles, UPPERCASE) · Space Grotesk
   ===================================================== */

:root {
  --red:        #ce423f;
  --red-dark:   #a8332f;
  --cream:      #fedac1;
  --cream-soft: #fff1e3;
  --ink:        #1a0e0d;
  --ink-soft:   #3b2a28;
  --muted:      #6b5a58;
  --line:       rgba(26, 14, 13, 0.12);
  --line-light: rgba(254, 218, 193, 0.25);

  --shadow-sm: 0 2px 6px rgba(26, 14, 13, 0.08);
  --shadow-md: 0 10px 30px rgba(26, 14, 13, 0.12);
  --shadow-lg: 0 24px 60px rgba(26, 14, 13, 0.22);

  --radius: 14px;
  --radius-sm: 8px;

  --ff-title: "Red Rose", Georgia, serif;
  --ff-body:  "Space Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Offset in-page anchor jumps so the fixed header doesn't cover the
     section heading (About, Repertoire, Services, Gallery, Contact). */
  scroll-padding-top: var(--header-h);
}
/* Global paper texture — brand spec: place a paper texture over the
   cream color (#fedac1) with mix-blend-mode: multiply. We achieve this
   with background-blend-mode so the texture lives on a single layer
   without intercepting events or affecting child stacking. */
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("../assets/textures/texture1.jpg");
  background-size: 640px auto;
  background-repeat: repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* A thin cream wash to soften the blended texture so body copy stays
   highly legible without flattening the paper-grain feel. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--cream);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.section-title,
.hero-title {
  font-family: var(--ff-title);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--ink);
}
.hero-title { font-size: clamp(2.4rem, 6vw + 1rem, 5.5rem); }
.section-title { font-size: clamp(1.9rem, 3.2vw + 0.6rem, 3.2rem); }

h3, h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 .5em;
}

.eyebrow {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  text-align: center;
}
.btn--primary {
  background: var(--red);
  color: var(--cream);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost:hover { background: var(--cream); color: var(--red); }
.btn--full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 241, 227, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 241, 227, 0.98);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand-logo { height: 38px; width: auto; }

.primary-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: .35rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.lang-btn {
  background: transparent;
  border: 0;
  padding: .15rem .25rem;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-btn.is-active { color: var(--red); }
.lang-sep { color: var(--muted); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 24px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(26,14,13,.55) 0%, rgba(26,14,13,.78) 60%, rgba(26,14,13,.92) 100%),
    url("../assets/gallery/photo-3.png") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/textures/texture2.jpg") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  width: 280px; height: 280px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.hero-pattern--tl {
  top: 80px; left: -20px;
  background-image: url("../assets/patterns/border-corner-light.png");
}
.hero-pattern--br {
  bottom: 40px; right: -20px;
  background-image: url("../assets/patterns/border-corner-light.png");
  transform: rotate(180deg);
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: clamp(170px, 22vw, 260px);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.hero-eyebrow {
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cream);
  margin: 0 0 1rem;
  opacity: 0.85;
}
.hero-title { color: var(--cream); }
.hero-sub {
  max-width: 60ch;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1vw + .8rem, 1.2rem);
  color: var(--cream-soft);
  opacity: 0.92;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero-scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--cream);
  border-radius: 14px;
  opacity: .7;
}


/* ---------- Section base ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow { margin-left: auto; margin-right: auto; }
.section-head--light .section-title,
.section-head--light .section-lead { color: var(--cream); }
.section-head--light .eyebrow { color: var(--cream); }
.section-head--light .eyebrow::before { background: var(--cream); }

/* ---------- About ---------- */
/* Transparent: global body paper texture shows through. */
.section--about { background: transparent; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-media { position: relative; }
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/textures/texture1.jpg") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
}
.about-media::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 70%; height: 70%;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.about-mark {
  position: absolute;
  bottom: -28px; left: -28px;
  width: 110px;
  opacity: 0.85;
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.about-stats li { text-align: left; }
.about-stats strong {
  display: block;
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--red);
  line-height: 1;
}
.about-stats span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Repertoire ---------- */
.section--repertoire {
  background: var(--cream);
  background-image: url("../assets/patterns/triangle-pattern-dark.png");
  background-size: 360px;
  background-repeat: repeat;
  position: relative;
}
.section--repertoire::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(254,218,193,0.85) 50%, var(--cream) 100%);
  pointer-events: none;
}
.section--repertoire > .container { position: relative; z-index: 1; }
.rep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.rep-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
/* Organic "hand-stamped" frame using the imperfect-shape asset.
   Sits behind the card and bleeds past every edge so its irregular
   contour reads as an imperfect outline regardless of card size. */
.rep-card::before {
  content: "";
  position: absolute;
  inset: -14px -16px -16px -14px;
  z-index: -1;
  background: url("../assets/patterns/imperfect-shape-dark.png") center/100% 100% no-repeat;
  opacity: 0.22;
  mix-blend-mode: multiply;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.rep-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}
.rep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rep-card:hover::before { opacity: 0.42; transform: scale(1.02); }
.rep-card:hover::after  { transform: scaleX(1); }
.rep-card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--red);
}
.rep-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Services ---------- */
.section--services {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section--services::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/textures/texture3.jpg") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}
.section--services > .container { position: relative; z-index: 1; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.svc-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: rgba(254, 218, 193, 0.04);
  isolation: isolate;
  transition: background .25s ease, transform .25s ease;
}
/* Light imperfect-shape frame on the dark services backdrop. */
.svc-card::before {
  content: "";
  position: absolute;
  inset: -14px -16px -16px -14px;
  z-index: -1;
  background: url("../assets/patterns/imperfect-shape-light.png") center/100% 100% no-repeat;
  opacity: 0.18;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.svc-card:hover {
  background: rgba(206, 66, 63, 0.22);
  transform: translateY(-3px);
}
.svc-card:hover::before { opacity: 0.38; transform: scale(1.02); }
.svc-num {
  display: inline-block;
  font-family: var(--ff-title);
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: .75rem;
  letter-spacing: 0.04em;
}
.svc-card h3 { color: var(--cream); font-size: 1.2rem; }
.svc-card p { color: var(--cream-soft); opacity: .85; margin: 0; }

/* ---------- Gallery ---------- */
.section--gallery { background: transparent; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: .65rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: transform .25s ease;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .25s ease;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(206,66,63,0.45));
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--brand {
  background: var(--red);
  background-image: url("../assets/textures/texture1.jpg");
  background-size: cover;
  background-blend-mode: multiply;
}
.gallery-item--brand img {
  object-fit: contain;
  padding: 1.5rem;
}
.gallery-item--brand::after { display: none; }

/* ---------- Contact ---------- */
.section--contact {
  background: transparent;
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: "";
  position: absolute;
  bottom: -120px; right: -120px;
  width: 360px; height: 360px;
  background: url("../assets/patterns/imperfect-shape-dark.png") center/contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-copy p { color: var(--ink-soft); margin: 0 0 1.5rem; }
.contact-info {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .8rem;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: .15rem;
}
.contact-info a:hover { color: var(--red); }

.contact-form {
  background: var(--cream-soft);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(206,66,63,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }

/* Netlify honeypot — visually hidden but reachable for bots */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

#formSubmit[disabled] { opacity: 0.6; cursor: progress; }

.form-status {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1.5px solid transparent;
}
.form-status[data-state="sending"] {
  background: rgba(254, 218, 193, 0.55);
  border-color: var(--line);
  color: var(--ink-soft);
}
.form-status[data-state="success"] {
  background: rgba(60, 130, 70, 0.12);
  border-color: rgba(60, 130, 70, 0.4);
  color: #2d5a36;
}
.form-status[data-state="error"] {
  background: rgba(206, 66, 63, 0.12);
  border-color: var(--red);
  color: var(--red-dark);
}


/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { height: 42px; width: auto; margin-bottom: .8rem; }
.footer-brand p { color: var(--cream-soft); opacity: .8; margin: 0; }
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { color: var(--cream-soft); opacity: .85; }
.footer-col a:hover { color: var(--red); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(254, 218, 193, 0.15);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--cream-soft);
  opacity: 0.75;
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 5, 5, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(254, 218, 193, 0.12);
  color: var(--cream);
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.8rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------- Body scroll lock helper ---------- */
body.no-scroll { overflow: hidden; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet ≥ 640px */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .rep-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
  }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

/* Laptop ≥ 900px */
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .rep-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .svc-grid   { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
}

/* Desktop ≥ 1200px */
@media (min-width: 1200px) {
  .rep-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile ≤ 899px: collapse nav */
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream-soft);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
  }
  .primary-nav a::after { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
