/* ==========================================================
   מוסך מיקא - Dark & Gold theme
   ========================================================== */
:root {
  --bg: #121316;
  --bg-black: #050506;
  --panel: #1b1c20;
  --panel-2: #222328;
  --panel-3: #26272c;
  --line: #3a3b41;
  --text: #f4f4f5;
  --muted: #a7a8ae;
  --gold: #d6af5e;
  --gold-light: #f3d892;
  --gold-dark: #9c772c;
  --gold-grad: linear-gradient(180deg, #f5dc9a 0%, #d8b25c 45%, #a98030 100%);
  --gold-text-grad: linear-gradient(180deg, #f1d38a 0%, #d2a952 55%, #b48a3a 100%);
  --radius: 12px;
  --container: 1180px;
  --header-h: 88px;
}

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

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

body {
  margin: 0;
  font-family: "Heebo", "Assistant", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { display: none !important; }

.gold-text {
  color: var(--gold);
  background: var(--gold-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.white { color: #fff; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold-grad);
  color: #1d1606;
  border-color: #f2d58f55;
  box-shadow: 0 6px 22px rgba(214, 175, 94, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { box-shadow: 0 10px 30px rgba(214, 175, 94, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn-outline {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: #8e9096;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(214, 175, 94, .08); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: rgba(214, 175, 94, .1); }

.btn-sm { padding: 9px 22px; font-size: .95rem; }
.btn-lg { padding: 15px 36px; font-size: 1.2rem; min-width: 240px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 28, 32, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2b2c31;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: inline-grid;
  justify-items: center;
  line-height: 1;
  position: relative;
}
.logo-car { width: 150px; height: 30px; margin-bottom: -8px; }
.logo-text {
  font-size: 2.1rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.5px;
}
.logo-a {
  background: linear-gradient(180deg, #ffffff, #b9bcc2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-b {
  background: var(--gold-text-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-tag { font-size: .62rem; color: var(--muted); margin-top: 5px; letter-spacing: .3px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 1.1rem;
  color: #e5e5e7;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.btn-call svg { width: 17px; height: 17px; fill: currentColor; stroke: none; flex-shrink: 0; }

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0a0a0b;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0 50% 0 0; /* left half on desktop (RTL text on the right) */
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, #0a0a0b 0%, rgba(10, 10, 11, .55) 22%, rgba(10, 10, 11, 0) 50%),
    linear-gradient(to top, rgba(10, 10, 11, .5), transparent 30%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 80px; }
.hero-content { max-width: 560px; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero h1 .gold-text { display: block; }
.hero-lead {
  font-size: 1.15rem;
  color: #dcdcdf;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-eyebrow { font-size: 1.35rem; font-weight: 400; color: #eaeaec; margin-bottom: 2px; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }

/* ---------- Features ---------- */
.features { background: var(--panel-2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}
.feature-card {
  text-align: center;
  padding: 20px 16px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 175, 94, .7);
  background: linear-gradient(180deg, #1f2025, #19191d);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 24px rgba(214, 175, 94, .05);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 22px rgba(214, 175, 94, .18); }
.feature-icon { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--gold); }
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.8; }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.feature-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ---------- Services ---------- */
.services { background: var(--bg-black); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 740px;
  margin: 0 auto;
}
.service-card {
  background: linear-gradient(180deg, #23242a, #1a1b1f);
  border-radius: var(--radius);
  padding: 6px 6px 18px;
  text-align: center;
  border: 1px solid #2c2d33;
  transition: transform .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(214, 175, 94, .5); }
.service-img { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 14px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-icon {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(10, 10, 11, .8);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
}
.service-icon svg { width: 16px; height: 16px; }
.service-card h3 { color: var(--gold); font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; padding: 0 6px; }
.service-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; padding: 0 8px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--panel); }
.gallery-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}
.gallery-text .section-eyebrow { font-size: 1.6rem; }
.gallery-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 14px; }
.gallery-text p:last-child { color: var(--muted); font-size: 1.02rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  grid-column: span 2;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #2e2f35;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-ba { grid-column: span 3; }
.ba-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 11, .82);
  border: 1px solid #8e9096;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.ba-badge.ba-after { background: var(--gold-grad); border-color: #f2d58f; color: #1d1606; }

/* ---------- Contact ---------- */
.contact { background: var(--panel-2); }
.contact-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-text .section-eyebrow { font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.contact-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 12px; }
.contact-text p { color: var(--muted); margin-bottom: 26px; }
.contact-buttons { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-buttons .btn { min-width: 170px; }

.form-card {
  background: #1a1b1f;
  border: 1px solid rgba(214, 175, 94, .55);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
.form-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.quote-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; }
.quote-form input:not([type="file"]):not(.hp),
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: var(--panel-3);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form select { appearance: none; color: var(--muted); background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: 16px 50%, 21px 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.quote-form textarea { resize: vertical; min-height: 84px; }
.quote-form ::placeholder { color: #85868c; }
.quote-form input[type="tel"] { direction: rtl; text-align: right; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 175, 94, .15);
}

.file-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px dashed rgba(214, 175, 94, .55);
  border-radius: 8px;
  color: var(--gold-light);
  cursor: pointer;
  font-size: .95rem;
  background: rgba(214, 175, 94, .04);
  transition: background .2s;
}
.file-field:hover { background: rgba(214, 175, 94, .1); }
/* The native file input covers the whole button, so a tap hits it directly */
.file-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
.file-field.dragover { background: rgba(214, 175, 94, .16); border-style: solid; }
.file-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.file-previews:empty { display: none; }
.file-thumb { position: relative; }
.file-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(214, 175, 94, .5);
}
.file-thumb button {
  position: absolute;
  top: -6px; left: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0;
  background: #000;
  color: var(--gold-light);
  font-size: 15px;
  line-height: 22px;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--gold);
}
.file-field svg { width: 22px; height: 22px; flex-shrink: 0; }
.file-field:focus-within { outline: none; box-shadow: 0 0 0 3px rgba(214, 175, 94, .25); }

.quote-form .btn-gold { margin-top: 4px; padding: 13px; font-size: 1.1rem; }
/* Send progress (shown under the submit button while the form uploads) */
.send-progress { display: grid; gap: 8px; }
.send-progress[hidden] { display: none; }
.send-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #2a2b30;
  overflow: hidden;
}
.send-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold-grad);
  background-size: 200% 100%;
  transition: width .25s linear;
  animation: send-shimmer 1.2s linear infinite;
}
@keyframes send-shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.send-progress-text { display: flex; justify-content: space-between; font-size: .9rem; color: var(--gold-light); }
.send-progress-text span:last-child { color: var(--muted); }

.form-status { font-size: .9rem; color: var(--gold-light); min-height: 1em; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-black); padding-top: 48px; color: var(--muted); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
/* Higher specificity so the mobile ".container" padding reset doesn't remove this */
.site-footer .footer-inner { padding-bottom: 40px; }
.footer-col h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold-light); }

.footer-brand { display: grid; justify-items: center; gap: 18px; }
.logo-footer .logo-car { width: 130px; }
.logo-footer .logo-text { font-size: 1.9rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #2a2b30;
  color: #cfd0d4;
  transition: background .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--gold); color: #111; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }


.footer-bottom {
  border-top: 1px solid #1d1e22;
  padding: 18px 0;
  font-size: .88rem;
  text-align: center;
  color: #808187;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .92);
  display: grid; place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox-close {
  position: absolute; top: 16px; left: 20px;
  background: none; border: 0; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .gallery-inner { grid-template-columns: 1fr; gap: 28px; }
  .gallery-text { text-align: right; }
  .contact-inner { grid-template-columns: 280px 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .header-inner { gap: 16px; }
  .logo-car { width: 120px; height: 24px; margin-bottom: -6px; }
  .logo-text { font-size: 1.7rem; }
  .logo-tag { font-size: .55rem; }

  .main-nav { gap: 20px; }

  /* Hero: image becomes the full background */
  .hero { min-height: 560px; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 30% center; }
  .hero-media::after {
    background:
      linear-gradient(to left, rgba(10, 10, 11, .88) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .15) 100%),
      linear-gradient(to top, rgba(10, 10, 11, .85), transparent 40%);
  }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .eyebrow { font-size: 1.2rem; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 300px; }
  .btn-lg { min-width: 0; font-size: 1.12rem; padding: 13px 24px; }

  .section { padding: 52px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-inner { grid-template-columns: 1fr; }
  .form-card { justify-self: stretch; max-width: none; }
  .contact-buttons { flex-direction: row; flex-wrap: wrap; }

}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-actions { gap: 12px; }
  .header-actions .btn-sm { padding: 8px 16px; font-size: .9rem; }
  .logo-tag { display: none; }
  .main-nav { display: none; }

  .hero-ctas { max-width: none; }

  .features-grid { grid-template-columns: 1fr; max-width: 360px; }
  .feature-card h3 br { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item, .gallery-ba { grid-column: span 1; }
  .ba-badge { top: 8px; right: 8px; padding: 2px 12px; font-size: .85rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-buttons .btn { flex: 1; min-width: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-contact li { justify-content: center; }
}

@media (max-width: 400px) {
  .services-grid { gap: 10px; }
  .service-card h3 { font-size: .98rem; }
  .logo-text { font-size: 1.45rem; }
  .logo-car { width: 100px; }
}

/* ==========================================================
   Accessibility
   ========================================================== */
:focus-visible { outline: 3px solid #ffd400; outline-offset: 2px; }

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 200;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-legal a {
  padding: 6px 16px;
  border: 1px solid #3a3b41;
  border-radius: 999px;
  color: #c9cad0;
  font-size: .88rem;
  transition: border-color .2s, color .2s;
}
.footer-legal a:hover, .footer-legal a[aria-current="page"] { border-color: var(--gold); color: var(--gold-light); }

/* Floating accessibility widget */
.a11y-widget { position: fixed; left: 20px; bottom: 20px; z-index: 90; }
.a11y-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid #f5dc9a;
  background: var(--gold-grad);
  color: #1d1606;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.a11y-toggle:hover { transform: scale(1.07); }
.a11y-toggle svg { width: 32px; height: 32px; stroke-width: 2.2; }

.a11y-panel {
  position: absolute;
  left: 0;
  bottom: 68px;
  width: 300px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: #1b1c20;
  border: 1px solid rgba(214, 175, 94, .7);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  color: var(--text);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1.1rem; }
.a11y-close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.a11y-font {
  display: flex; justify-content: space-between; align-items: center;
  background: #26272c; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px;
}
.a11y-font div { display: flex; gap: 8px; }
.a11y-font button {
  min-width: 44px; height: 36px;
  border-radius: 8px; border: 1px solid var(--line);
  background: #1b1c20; color: var(--gold-light);
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.a11y-option {
  display: grid; justify-items: center; gap: 6px;
  padding: 12px 6px;
  background: #26272c; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .85rem; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.a11y-option svg { width: 24px; height: 24px; color: var(--gold); }
.a11y-option[aria-pressed="true"] { border-color: var(--gold); background: rgba(214, 175, 94, .16); }
.a11y-reset {
  width: 100%; padding: 10px;
  border-radius: 999px; border: 1px solid var(--gold);
  background: transparent; color: var(--gold-light);
  font-family: inherit; font-weight: 700; cursor: pointer; margin-bottom: 8px;
}
.a11y-statement { display: block; text-align: center; font-size: .9rem; color: var(--muted); text-decoration: underline; }

/* Accessibility modes (classes set on <html> by a11y.js) */
html.a11y-grayscale .site-header,
html.a11y-grayscale main,
html.a11y-grayscale .site-footer { filter: grayscale(1); }

html.a11y-links a { text-decoration: underline !important; outline: 2px dashed #ffd400; outline-offset: 2px; }

html.a11y-readable body,
html.a11y-readable body *:not(svg):not(path) { font-family: Arial, Helvetica, sans-serif !important; font-style: normal !important; letter-spacing: .02em; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 8-7 2-3 8z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-contrast body,
html.a11y-contrast body :is(header, main, footer, section, div, article, form, nav, ul, li, p, h1, h2, h3, h4, span, label, input, select, textarea) {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.a11y-contrast body :is(.gold-text, .logo-a, .logo-b, .eyebrow, .section-eyebrow) {
  -webkit-text-fill-color: currentColor !important;
  color: #ffd400 !important;
}
html.a11y-contrast body a, html.a11y-contrast body a * { color: #ffd400 !important; -webkit-text-fill-color: currentColor !important; }
html.a11y-contrast body :is(.btn, button) {
  background: #000 !important;
  color: #ffd400 !important;
  border: 2px solid #ffd400 !important;
  box-shadow: none !important;
}
html.a11y-contrast .hero-media::after { background: rgba(0, 0, 0, .75) !important; }
html.a11y-contrast ::placeholder { color: #ddd !important; }

/* ==========================================================
   Legal pages
   ========================================================== */
.legal { padding: 56px 0 72px; background: var(--panel); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content .section-eyebrow { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.legal-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: .92rem; margin-bottom: 32px; }
.legal-content h2 { color: var(--gold-light); font-size: 1.3rem; font-weight: 700; margin: 32px 0 10px; }
.legal-content p, .legal-content li { color: #d8d8db; line-height: 1.85; }
.legal-content p + p { margin-top: 10px; }
.legal-content ul { padding-inline-start: 22px; margin: 8px 0; }
.legal-content li { margin-bottom: 4px; }
.legal-content a:not(.btn) { color: var(--gold-light); text-decoration: underline; }
.legal-back { margin-top: 40px; }

@media (max-width: 600px) {
  .a11y-widget { left: 14px; bottom: 14px; }
  .footer-bottom { padding-bottom: 80px; }
  .a11y-toggle { width: 50px; height: 50px; }
  .a11y-panel { bottom: 62px; }
}

/* Legal pop-ups (footer links on the home page) */
.legal-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid rgba(214, 175, 94, .6);
  border-radius: 14px;
  background: #1b1c20;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.legal-modal[open] { display: flex; flex-direction: column; }
.legal-modal::backdrop { background: rgba(0, 0, 0, .75); }
.legal-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid #2e2f35;
}
.legal-modal-head h2 { font-size: 1.4rem; font-weight: 800; color: var(--gold-light); }
.legal-modal-close { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.legal-modal-body { overflow-y: auto; padding: 6px 22px 26px; }
.legal-modal-body .legal-updated { margin: 12px 0 8px; }
.legal-modal-body h2 { margin-top: 24px; font-size: 1.15rem; }
html:has(.legal-modal[open]) { overflow: hidden; }

