/* TheBAMcam.com — shared styles */
:root {
  --bg: #04090e;
  --bg-2: #08141e;
  --panel: #0b1c2b;
  --ink: #f5f7f9;
  --ink-dim: #b8c4ce;
  --blue: #03476B;
  --blue-deep: #022c44;
  --blue-lift: #0a5d8c;
  --gold: #B89D57;
  --gold-bright: #d3ba77;
  --gold-deep: #937c40;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Roboto Slab", "Georgia", serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); margin-bottom: .6em; }
h3 { font-size: 1.15rem; margin-bottom: .4em; }
p { margin-bottom: 1em; color: var(--ink-dim); }
a { color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* call banner — very top of every page */
.topbanner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: block; text-align: center; text-decoration: none;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #06121c; font-weight: 900; font-size: clamp(.95rem, 2.6vw, 1.1rem);
  letter-spacing: .02em; padding: 12px 16px;
  box-shadow: 0 2px 18px #b89d5744;
}
.topbanner:active { filter: brightness(.92); }

/* top bar */
.bar {
  position: fixed; top: 46px; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(#04090eee, #04090e00);
  backdrop-filter: blur(2px);
}
.bar .logo { font-family: "Roboto Slab", Georgia, serif; font-weight: 900; font-size: 1.05rem; letter-spacing: .04em; text-decoration: none; display: flex; align-items: center; gap: .3em; }
/* BAM = the bang */
.bar .logo em, .bang {
  font-style: normal; color: #fff; font-weight: 900; line-height: 1;
  font-size: 1.85em; letter-spacing: -.01em;
  background: linear-gradient(180deg, var(--blue-lift), var(--blue-deep));
  padding: .48em .55em; display: inline-block;
  transform: rotate(-5deg);
  clip-path: polygon(50% 0%, 59% 12%, 73% 4%, 76% 19%, 92% 16%, 87% 32%, 100% 38%, 91% 50%, 100% 62%, 87% 68%, 92% 84%, 76% 81%, 73% 96%, 59% 88%, 50% 100%, 41% 88%, 27% 96%, 24% 81%, 8% 84%, 13% 68%, 0% 62%, 9% 50%, 0% 38%, 13% 32%, 8% 16%, 24% 19%, 27% 4%, 41% 12%);
  text-shadow: 1px 2px 0 #021a29; box-shadow: inset 0 0 0 3px #b89d5766;
}
/* social links */
.social { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #ffffff2e; border-radius: 50%; color: var(--ink); }
.social a svg { display: block; }
.social a:hover { border-color: var(--gold); color: var(--gold-bright); }
.consent { font-size: .82rem; color: var(--ink-dim); line-height: 1.5; margin-top: 10px; }
.consentbox { display: flex !important; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.45; }
.consentbox input { margin-top: 3px; flex: none; accent-color: var(--gold); }
.hotspot .hp-consent { display: block; color: #b9b9c2; font-size: clamp(.72rem, 1.9vw, .85rem); max-width: 44em; margin-top: 14px; text-shadow: 0 1px 8px #000c; }
.bar nav { display: flex; gap: 8px; align-items: center; }
.call-now {
  background: var(--blue); color: #fff; text-decoration: none;
  border: 1px solid #b89d5788;
  font-weight: 800; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 4px 18px #03476b88; white-space: nowrap;
}
.call-now:active { transform: scale(.97); }
.skip-link { color: var(--ink-dim); font-size: .85rem; text-decoration: underline; padding: 10px 6px; }

/* content sections */
main.page { padding: 142px 0 40px; }
/* placeholder media cards (crashes / sponsors) */
.mediacard { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid #ffffff14; background: var(--bg-2); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--ink-dim); }
.mediacard .cam { font-size: 2rem; }
.mediacard .loc { font-weight: 700; color: var(--ink); }
.sponsor-slot { border: 2px dashed #ffffff22; border-radius: 14px; min-height: 110px; display: flex; align-items: center; justify-content: center; color: #8b8b95; font-weight: 700; }
.panel { background: var(--panel); border: 1px solid #ffffff14; border-radius: 14px; padding: 24px; margin: 18px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; border: 1px solid #ffffff2e; color: var(--ink);
}
.btn.primary { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-color: var(--gold); color: #06121c; }
.kicker { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .5em; }
.verify { outline: 1px dashed #e0b34c88; border-radius: 4px; padding: 0 4px; }

/* intake quiz */
.quiz { max-width: 560px; }
.quiz fieldset { border: 0; margin-bottom: 18px; }
.quiz legend { font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.quiz label { display: block; background: var(--bg-2); border: 1px solid #ffffff1c; border-radius: 10px; padding: 12px 14px; margin: 8px 0; cursor: pointer; }
.quiz label:has(input:checked) { border-color: var(--gold); background: #b89d571f; }
.quiz input[type=radio], .quiz input[type=checkbox] { margin-right: 10px; }
.quiz input[type=text], .quiz input[type=tel], .quiz input[type=email], .quiz input[type=date], .quiz textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #ffffff2e;
  background: var(--bg-2); color: var(--ink); font-size: 1rem;
  color-scheme: dark; /* dark-native date picker: fixes white-on-white calendar button */
}
.quiz input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .9; cursor: pointer; }
/* call-first choice on /request */
.pathchoice { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 22px 0 26px; }
.pathchoice .panel { margin: 0; }
.pathchoice .bigcall {
  display: block; text-align: center; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #06121c;
  text-decoration: none; font-weight: 900; font-size: 1.25rem;
  padding: 16px 20px; border-radius: 12px; box-shadow: 0 6px 26px #b89d5744;
}
.pathchoice .or { text-align: center; font-weight: 800; color: var(--ink-dim); align-self: center; }
.quiz .step { display: none; }
.quiz .step.active { display: block; }
.quiz .quiz-nav { display: flex; gap: 10px; margin-top: 14px; }

/* footer */
footer {
  margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid #ffffff1a;
  font-size: .85rem; color: #8b8b95;
}
footer a { color: #b9b9c2; }
footer .offices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 14px 0; }
footer .attr { margin-top: 14px; font-size: .78rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* real crash photo cards */
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 18px 0; }
.photocard { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid #ffffff14; background: var(--bg-2); }
.photocard img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.photocard:hover img { transform: scale(1.04); }
.photocard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .8rem; color: #d6d6dd; background: linear-gradient(180deg, #04090e00, #04090ed9); }
.inline-photo { float: right; width: min(300px, 42%); margin: 4px 0 12px 18px; border-radius: 14px; border: 1px solid #ffffff14; }
.banner-photo { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; border: 1px solid #ffffff14; margin: 18px 0; }
@media (max-width: 560px) { .inline-photo { float: none; width: 100%; margin: 12px 0; } }
